.elementor-998 .elementor-element.elementor-element-150dbfec{--display:flex;--z-index:1.0E+23;}.elementor-998 .elementor-element.elementor-element-6e2736be{--display:flex;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-998 .elementor-element.elementor-element-74bd12e{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}/* Start custom CSS for container, class: .elementor-element-150dbfec *//* ==========================================
   MC Floating Cart
   Product + Total + Buttons
   ========================================== */

.mc-floating-cart {
    position: fixed !important;

    left: 50% !important;
    bottom: 18px !important;

    width: min(520px, calc(100% - 30px)) !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    gap: 10px !important;

    padding: 12px 14px !important;

    box-sizing: border-box !important;

    background: rgba(255, 255, 255, 0.97) !important;

    border: 1px solid #e7e7e7 !important;
    border-radius: 15px !important;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;

    /* =========================
       مخفی بودن اولیه
       ========================= */

    opacity: 0 !important;
    visibility: hidden !important;

    transform:
        translateX(-50%)
        translateY(120px) !important;

    transition:
        transform 0.35s ease,
        opacity 0.35s ease,
        visibility 0.35s ease !important;

    z-index: 99999 !important;

    direction: rtl !important;
}


/* ==========================================
   نمایش کارت
   ========================================== */

.mc-floating-cart.mc-cart-visible {
    opacity: 1 !important;
    visibility: visible !important;

    transform:
        translateX(-50%)
        translateY(0) !important;
}


/* ==========================================
   محصولات
   ========================================== */

.mc-cart-products {
    width: 100% !important;

    display: flex !important;
    flex-direction: column !important;

    gap: 7px !important;

    overflow: hidden !important;

    padding: 0 !important;

    margin: 0 !important;
}


/* هر محصول */

.mc-cart-product {
    width: 100% !important;
    max-width: none !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;

    gap: 10px !important;

    padding: 7px 8px !important;

    background: #f8f8f8 !important;

    border-radius: 9px !important;

    direction: rtl !important;

    flex-shrink: 0 !important;
}


/* ==========================================
   عکس محصول
   ========================================== */

.mc-cart-product-image {
    width: 48px !important;
    height: 48px !important;

    flex: 0 0 48px !important;

    border-radius: 7px !important;

    overflow: hidden !important;
}


.mc-cart-product-image img {
    width: 100% !important;
    height: 100% !important;

    object-fit: cover !important;

    display: block !important;
}


/* ==========================================
   اطلاعات محصول
   ========================================== */

.mc-cart-product-info {
    min-width: 0 !important;

    flex: 1 !important;

    display: flex !important;
    flex-direction: column !important;

    gap: 3px !important;
}


/* نام محصول */

.mc-cart-product-name {
    font-size: 12px !important;
    font-weight: 600 !important;

    color: #222 !important;

    white-space: nowrap !important;

    overflow: hidden !important;

    text-overflow: ellipsis !important;
}


/* قیمت محصول */

.mc-cart-product-price {
    font-size: 11px !important;
    font-weight: 500 !important;

    color: #777 !important;

    white-space: nowrap !important;
}


/* ==========================================
   قیمت کل
   ========================================== */

.mc-cart-total {
    width: 100% !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 9px 4px 2px !important;

    margin: 0 !important;

    border-top: 1px solid #eeeeee !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    color: #111 !important;

    direction: rtl !important;
}


/* ==========================================
   دکمه ها
   ========================================== */

.mc-cart-buttons {
    width: 100% !important;

    display: flex !important;
    align-items: center !important;

    gap: 7px !important;

    margin-top: 2px !important;
}


.mc-continue-btn,
.mc-checkout-btn {
    flex: 1 !important;
}


.mc-continue-btn .elementor-button,
.mc-checkout-btn .elementor-button {
    width: 100% !important;

    box-sizing: border-box !important;

    border: 0 !important;

    border-radius: 9px !important;

    padding: 9px 10px !important;

    font-size: 12px !important;

    font-weight: 600 !important;

    white-space: nowrap !important;
}


.mc-continue-btn .elementor-button {
    background: #f2f2f2 !important;
    color: #222 !important;
}


.mc-checkout-btn .elementor-button {
    background: #111 !important;
    color: #fff !important;
}


.mc-continue-btn .elementor-button:hover {
    background: #e7e7e7 !important;
}


.mc-checkout-btn .elementor-button:hover {
    opacity: 0.88 !important;

    transform: translateY(-1px) !important;
}


/* ==========================================
   موبایل
   ========================================== */

@media (max-width: 767px) {

    .mc-floating-cart {
        width: calc(100% - 16px) !important;

        bottom: 8px !important;

        padding: 9px !important;

        border-radius: 13px !important;

        gap: 7px !important;
    }


    .mc-cart-product {
        padding: 6px 7px !important;
    }


    .mc-cart-product-image {
        width: 42px !important;
        height: 42px !important;

        flex-basis: 42px !important;
    }


    .mc-cart-product-name {
        font-size: 11px !important;
    }


    .mc-cart-product-price {
        font-size: 10px !important;
    }


    .mc-cart-total {
        font-size: 13px !important;
    }


    .mc-cart-buttons {
        gap: 6px !important;
    }


    .mc-continue-btn .elementor-button,
    .mc-checkout-btn .elementor-button {
        padding: 8px 5px !important;

        font-size: 11px !important;
    }
}/* End custom CSS */