/**
 * سبد خرید جذاب - استایل‌های کامل با انیمیشن‌های روان
 */


/* ========================
   پایه و ریست
======================== */

.jazeb-cart-widget {
    position: relative;
    display: inline-block;
    direction: rtl;
}

.jazeb-cart-widget * {
    box-sizing: border-box;
}


/* ========================
   دکمه سبد خرید
======================== */

.jazeb-cart-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
    background: transparent;
    padding: 0;
}

.jazeb-cart-button:hover {
    transform: translateY(-2px);
}

.jazeb-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.jazeb-cart-icon i,
.jazeb-cart-icon svg {
    transition: all 0.3s ease;
}

.jazeb-cart-button:hover .jazeb-cart-icon {
    transform: scale(1.08);
}


/* ========================
   شمارنده محصولات
======================== */

.jazeb-cart-count {
    --jazeb-count-x: 0px;
    --jazeb-count-y: 0px;
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
    z-index: 4;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
    pointer-events: none;
    box-sizing: border-box;
}

/* موقعیت‌های شمارنده دکمه سبد خرید */
/* بالا چپ (پیش‌فرض) */
.jazeb-cart-count,
.jazeb-cart-count.pos-top-left,
[class*="jazeb-count-pos-top-left"] .jazeb-cart-count {
    top: 0;
    left: 0;
    right: auto;
    bottom: auto;
    transform: translate(calc(-50% + var(--jazeb-count-x, 0px)), calc(-50% + var(--jazeb-count-y, 0px)));
}

/* بالا راست */
.jazeb-cart-count.pos-top-right,
[class*="jazeb-count-pos-top-right"] .jazeb-cart-count {
    top: 0;
    right: 0;
    left: auto;
    bottom: auto;
    transform: translate(calc(50% + var(--jazeb-count-x, 0px)), calc(-50% + var(--jazeb-count-y, 0px)));
}

/* پایین چپ */
.jazeb-cart-count.pos-bottom-left,
[class*="jazeb-count-pos-bottom-left"] .jazeb-cart-count {
    bottom: 0;
    left: 0;
    top: auto;
    right: auto;
    transform: translate(calc(-50% + var(--jazeb-count-x, 0px)), calc(50% + var(--jazeb-count-y, 0px)));
}

/* پایین راست */
.jazeb-cart-count.pos-bottom-right,
[class*="jazeb-count-pos-bottom-right"] .jazeb-cart-count {
    bottom: 0;
    right: 0;
    top: auto;
    left: auto;
    transform: translate(calc(50% + var(--jazeb-count-x, 0px)), calc(50% + var(--jazeb-count-y, 0px)));
}

/* مرکز / وسط آیکون */
.jazeb-cart-count.pos-center,
[class*="jazeb-count-pos-center"] .jazeb-cart-count {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    transform: translate(calc(-50% + var(--jazeb-count-x, 0px)), calc(-50% + var(--jazeb-count-y, 0px)));
}

/* پاسخگویی تبلت و موبایل برای کلاس‌های المنتور */
@media (max-width: 1024px) {
    [class*="jazeb-count-pos-tablet-top-left"] .jazeb-cart-count {
        top: 0; left: 0; right: auto; bottom: auto;
        transform: translate(calc(-50% + var(--jazeb-count-x, 0px)), calc(-50% + var(--jazeb-count-y, 0px)));
    }
    [class*="jazeb-count-pos-tablet-top-right"] .jazeb-cart-count {
        top: 0; right: 0; left: auto; bottom: auto;
        transform: translate(calc(50% + var(--jazeb-count-x, 0px)), calc(-50% + var(--jazeb-count-y, 0px)));
    }
    [class*="jazeb-count-pos-tablet-bottom-left"] .jazeb-cart-count {
        bottom: 0; left: 0; top: auto; right: auto;
        transform: translate(calc(-50% + var(--jazeb-count-x, 0px)), calc(50% + var(--jazeb-count-y, 0px)));
    }
    [class*="jazeb-count-pos-tablet-bottom-right"] .jazeb-cart-count {
        bottom: 0; right: 0; top: auto; left: auto;
        transform: translate(calc(50% + var(--jazeb-count-x, 0px)), calc(50% + var(--jazeb-count-y, 0px)));
    }
    [class*="jazeb-count-pos-tablet-center"] .jazeb-cart-count {
        top: 50%; left: 50%; right: auto; bottom: auto;
        transform: translate(calc(-50% + var(--jazeb-count-x, 0px)), calc(-50% + var(--jazeb-count-y, 0px)));
    }
}

@media (max-width: 767px) {
    [class*="jazeb-count-pos-mobile-top-left"] .jazeb-cart-count {
        top: 0; left: 0; right: auto; bottom: auto;
        transform: translate(calc(-50% + var(--jazeb-count-x, 0px)), calc(-50% + var(--jazeb-count-y, 0px)));
    }
    [class*="jazeb-count-pos-mobile-top-right"] .jazeb-cart-count {
        top: 0; right: 0; left: auto; bottom: auto;
        transform: translate(calc(50% + var(--jazeb-count-x, 0px)), calc(-50% + var(--jazeb-count-y, 0px)));
    }
    [class*="jazeb-count-pos-mobile-bottom-left"] .jazeb-cart-count {
        bottom: 0; left: 0; top: auto; right: auto;
        transform: translate(calc(-50% + var(--jazeb-count-x, 0px)), calc(50% + var(--jazeb-count-y, 0px)));
    }
    [class*="jazeb-count-pos-mobile-bottom-right"] .jazeb-cart-count {
        bottom: 0; right: 0; top: auto; left: auto;
        transform: translate(calc(50% + var(--jazeb-count-x, 0px)), calc(50% + var(--jazeb-count-y, 0px)));
    }
    [class*="jazeb-count-pos-mobile-center"] .jazeb-cart-count {
        top: 50%; left: 50%; right: auto; bottom: auto;
        transform: translate(calc(-50% + var(--jazeb-count-x, 0px)), calc(-50% + var(--jazeb-count-y, 0px)));
    }
}

/* انیمیشن تغییر تعداد (استفاده از scale مستقل جهت حفظ ترنسفورم موقعیت) */

.jazeb-cart-count.updated {
    animation: jazeb-bounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes jazeb-bounce {
    0%,
    100% {
        scale: 1;
    }
    25% {
        scale: 1.35;
    }
    50% {
        scale: 0.9;
    }
    75% {
        scale: 1.15;
    }
}


/* ========================
   قیمت کل سبد و موقعیت نماد واحد پول
======================== */

.jazeb-cart-price {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

/* تعیین نمایش نماد واحد پول در سمت چپ */
.jazeb-currency-pos-left .jazeb-cart-price,
.jazeb-currency-pos-left.jazeb-cart-price,
.jazeb-currency-pos-left .jazeb-cart-total-value,
.jazeb-currency-pos-left.jazeb-cart-total-value {
    direction: ltr !important;
}

.jazeb-currency-pos-left .jazeb-cart-price .woocommerce-Price-amount,
.jazeb-currency-pos-left.jazeb-cart-price .woocommerce-Price-amount,
.jazeb-currency-pos-left .jazeb-cart-price .woocommerce-Price-amount bdi,
.jazeb-currency-pos-left.jazeb-cart-price .woocommerce-Price-amount bdi,
.jazeb-currency-pos-left .jazeb-cart-total-value .woocommerce-Price-amount,
.jazeb-currency-pos-left.jazeb-cart-total-value .woocommerce-Price-amount,
.jazeb-currency-pos-left .jazeb-cart-total-value .woocommerce-Price-amount bdi,
.jazeb-currency-pos-left.jazeb-cart-total-value .woocommerce-Price-amount bdi {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: center !important;
    direction: ltr !important;
    gap: 4px;
}

.jazeb-currency-pos-left .jazeb-cart-price .woocommerce-Price-currencySymbol,
.jazeb-currency-pos-left.jazeb-cart-price .woocommerce-Price-currencySymbol,
.jazeb-currency-pos-left .jazeb-cart-total-value .woocommerce-Price-currencySymbol,
.jazeb-currency-pos-left.jazeb-cart-total-value .woocommerce-Price-currencySymbol {
    order: -1 !important;
}

/* تعیین نمایش نماد واحد پول در سمت راست */
.jazeb-currency-pos-right .jazeb-cart-price,
.jazeb-currency-pos-right.jazeb-cart-price,
.jazeb-currency-pos-right .jazeb-cart-total-value,
.jazeb-currency-pos-right.jazeb-cart-total-value {
    direction: ltr !important;
}

.jazeb-currency-pos-right .jazeb-cart-price .woocommerce-Price-amount,
.jazeb-currency-pos-right.jazeb-cart-price .woocommerce-Price-amount,
.jazeb-currency-pos-right .jazeb-cart-price .woocommerce-Price-amount bdi,
.jazeb-currency-pos-right.jazeb-cart-price .woocommerce-Price-amount bdi,
.jazeb-currency-pos-right .jazeb-cart-total-value .woocommerce-Price-amount,
.jazeb-currency-pos-right.jazeb-cart-total-value .woocommerce-Price-amount,
.jazeb-currency-pos-right .jazeb-cart-total-value .woocommerce-Price-amount bdi,
.jazeb-currency-pos-right.jazeb-cart-total-value .woocommerce-Price-amount bdi {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: center !important;
    direction: ltr !important;
    gap: 4px;
}

.jazeb-currency-pos-right .jazeb-cart-price .woocommerce-Price-currencySymbol,
.jazeb-currency-pos-right.jazeb-cart-price .woocommerce-Price-currencySymbol,
.jazeb-currency-pos-right .jazeb-cart-total-value .woocommerce-Price-currencySymbol,
.jazeb-currency-pos-right.jazeb-cart-total-value .woocommerce-Price-currencySymbol {
    order: 2 !important;
}


/* استایل پایه برای متن سبد خالی */

.jazeb-cart-total.empty {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
}

.jazeb-cart-total-value.jazeb-cart-total.empty {
    display: block;
}


/* ========================
   نمایش شناور
======================== */

.jazeb-cart-button.floating {
    position: fixed;
    z-index: 9999;
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.16), 0 4px 10px -2px rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.jazeb-cart-button.floating:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 32px -4px rgba(0, 0, 0, 0.22), 0 6px 14px -2px rgba(0, 0, 0, 0.1);
}

.jazeb-cart-button.floating.position-top-left {
    top: 20px;
    left: 20px;
}

.jazeb-cart-button.floating.position-top-right {
    top: 20px;
    right: 20px;
}

.jazeb-cart-button.floating.position-bottom-left {
    bottom: 20px;
    left: 20px;
}

.jazeb-cart-button.floating.position-bottom-right {
    bottom: 20px;
    right: 20px;
}


/* موقعیت dropdown برای دکمه شناور - فقط برای حالت dropdown عادی */

.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown:not(.cart-style-popup):not(.cart-style-slide-right):not(.cart-style-slide-left) {
    position: fixed;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 9998;
    max-height: 80vh;
    height: auto;
}


/* موقعیت dropdown بر اساس موقعیت دکمه - فقط برای حالت dropdown عادی */

.jazeb-cart-widget.floating-mode .jazeb-cart-button.position-top-left~.jazeb-cart-dropdown:not(.cart-style-popup):not(.cart-style-slide-right):not(.cart-style-slide-left) {
    top: 90px;
    left: 20px;
    max-height: calc(100vh - 110px);
}

.jazeb-cart-widget.floating-mode .jazeb-cart-button.position-top-right~.jazeb-cart-dropdown:not(.cart-style-popup):not(.cart-style-slide-right):not(.cart-style-slide-left) {
    top: 90px;
    right: 20px;
    max-height: calc(100vh - 110px);
}

.jazeb-cart-widget.floating-mode .jazeb-cart-button.position-bottom-left~.jazeb-cart-dropdown:not(.cart-style-popup):not(.cart-style-slide-right):not(.cart-style-slide-left) {
    bottom: 90px;
    left: 20px;
    max-height: calc(100vh - 110px);
}

.jazeb-cart-widget.floating-mode .jazeb-cart-button.position-bottom-right~.jazeb-cart-dropdown:not(.cart-style-popup):not(.cart-style-slide-right):not(.cart-style-slide-left) {
    bottom: 90px;
    right: 20px;
    max-height: calc(100vh - 110px);
}

/* ========================================================
   متن دکمه سبد خرید (کنار آیکون)
======================================================== */
.jazeb-cart-button .jazeb-cart-text {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

/* مخفی کردن متن در حالت شناور و نمایش قیمت زیر آیکون */

.jazeb-cart-button.floating .jazeb-cart-text {
    display: none;
}

.jazeb-cart-button.floating .jazeb-cart-price {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
}


/* تنظیم لایه‌بندی عمودی برای آیکون و قیمت */

.jazeb-cart-button.floating {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 50px;
    min-height: 50px;
}


/* مجموع مبلغ زیر دکمه */

.jazeb-cart-total-below {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
}

.jazeb-cart-total-below .jazeb-cart-total-value {
    color: #333;
    font-weight: 700;
}


/* تنظیم شمارنده در حالت شناور */

.jazeb-cart-button.floating .jazeb-cart-count {
    z-index: 5;
}


/* ========================
   محتوای سبد خرید
======================== */

.jazeb-cart-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.12), 0 0 1px 1px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -10px, 0);
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999990 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 120px);
}

.jazeb-cart-dropdown:not(.active) {
    contain: paint;
    pointer-events: none;
}

.jazeb-cart-dropdown.active {
    visibility: visible;
    pointer-events: auto;
    z-index: 999990 !important;
}

.jazeb-cart-dropdown.show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    z-index: 999990 !important;
}


/* حالت Popup */

.jazeb-cart-dropdown.cart-style-popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.95);
    max-height: 90vh;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.2), 0 0 1px 1px rgba(0, 0, 0, 0.05);
    z-index: 999990 !important;
}

.jazeb-cart-dropdown.cart-style-popup.show {
    transform: translate(-50%, -50%) scale(1);
    z-index: 999990 !important;
}


/* حالت Popup در حالت شناور - اولویت بالاتر برای تنظیم ارتفاع */

.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    bottom: auto !important;
    max-height: 90vh;
    height: auto;
    z-index: 999990 !important;
}


/* ========================================================
   حالت‌های اسلاید از راست و چپ (Side Cart - Right & Left)
   همراه با پشتیبانی از موقعیت عمودی: بالا (Top)، وسط (Center)، پایین (Bottom) و تمام قد (Full Height)
======================================================== */

.jazeb-cart-dropdown.cart-style-slide-right {
    position: fixed !important;
    top: 0;
    left: auto !important;
    right: 0;
    bottom: 0;
    border-radius: 0;
    transform: translate3d(100%, 0, 0);
    max-height: 100vh;
    height: 100vh;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.12);
    z-index: 999990 !important;
}

.jazeb-cart-dropdown.cart-style-slide-right.show {
    transform: translate3d(0, 0, 0);
    z-index: 999990 !important;
}

.jazeb-cart-dropdown.cart-style-slide-left {
    position: fixed !important;
    top: 0;
    left: 0;
    right: auto !important;
    bottom: 0;
    border-radius: 0;
    transform: translate3d(-100%, 0, 0);
    max-height: 100vh;
    height: 100vh;
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.12);
    z-index: 999990 !important;
}

.jazeb-cart-dropdown.cart-style-slide-left.show {
    transform: translate3d(0, 0, 0);
    z-index: 999990 !important;
}

/* حالت شناور - پیش‌فرض تمام قد */
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-right:not(.jazeb-side-pos-top):not(.jazeb-side-pos-center):not(.jazeb-side-pos-bottom) {
    position: fixed !important;
    top: 0 !important;
    left: auto !important;
    right: 0;
    bottom: 0 !important;
    max-height: 100vh;
    height: 100vh;
    z-index: 999990 !important;
}

.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-left:not(.jazeb-side-pos-top):not(.jazeb-side-pos-center):not(.jazeb-side-pos-bottom) {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: auto !important;
    bottom: 0 !important;
    max-height: 100vh;
    height: 100vh;
    z-index: 999990 !important;
}

/* --- 1. موقعیت عمودی: بالا (Top) --- */
.jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-top,
.jazeb-side-pos-top .jazeb-cart-dropdown.cart-style-slide-right,
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-top,
.jazeb-cart-widget.floating-mode.jazeb-side-pos-top .jazeb-cart-dropdown.cart-style-slide-right {
    top: 20px !important;
    bottom: auto !important;
    height: auto !important;
    max-height: calc(100vh - 40px);
    border-radius: 20px 0 0 20px;
    transform: translate3d(calc(100% + 40px), 0, 0);
}

.jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-top.show,
.jazeb-side-pos-top .jazeb-cart-dropdown.cart-style-slide-right.show,
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-top.show,
.jazeb-cart-widget.floating-mode.jazeb-side-pos-top .jazeb-cart-dropdown.cart-style-slide-right.show {
    transform: translate3d(0, 0, 0);
}

.jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-top,
.jazeb-side-pos-top .jazeb-cart-dropdown.cart-style-slide-left,
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-top,
.jazeb-cart-widget.floating-mode.jazeb-side-pos-top .jazeb-cart-dropdown.cart-style-slide-left {
    top: 20px !important;
    bottom: auto !important;
    height: auto !important;
    max-height: calc(100vh - 40px);
    border-radius: 0 20px 20px 0;
    transform: translate3d(calc(-100% - 40px), 0, 0);
}

.jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-top.show,
.jazeb-side-pos-top .jazeb-cart-dropdown.cart-style-slide-left.show,
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-top.show,
.jazeb-cart-widget.floating-mode.jazeb-side-pos-top .jazeb-cart-dropdown.cart-style-slide-left.show {
    transform: translate3d(0, 0, 0);
}

/* --- 2. موقعیت عمودی: وسط / مرکز (Center / Middle) --- */
.jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-center,
.jazeb-side-pos-center .jazeb-cart-dropdown.cart-style-slide-right,
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-center,
.jazeb-cart-widget.floating-mode.jazeb-side-pos-center .jazeb-cart-dropdown.cart-style-slide-right {
    top: 50% !important;
    bottom: auto !important;
    height: auto !important;
    max-height: calc(100vh - 40px);
    border-radius: 20px 0 0 20px;
    transform: translate3d(calc(100% + 40px), -50%, 0);
}

.jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-center.show,
.jazeb-side-pos-center .jazeb-cart-dropdown.cart-style-slide-right.show,
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-center.show,
.jazeb-cart-widget.floating-mode.jazeb-side-pos-center .jazeb-cart-dropdown.cart-style-slide-right.show {
    transform: translate3d(0, -50%, 0);
}

.jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-center,
.jazeb-side-pos-center .jazeb-cart-dropdown.cart-style-slide-left,
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-center,
.jazeb-cart-widget.floating-mode.jazeb-side-pos-center .jazeb-cart-dropdown.cart-style-slide-left {
    top: 50% !important;
    bottom: auto !important;
    height: auto !important;
    max-height: calc(100vh - 40px);
    border-radius: 0 20px 20px 0;
    transform: translate3d(calc(-100% - 40px), -50%, 0);
}

.jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-center.show,
.jazeb-side-pos-center .jazeb-cart-dropdown.cart-style-slide-left.show,
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-center.show,
.jazeb-cart-widget.floating-mode.jazeb-side-pos-center .jazeb-cart-dropdown.cart-style-slide-left.show {
    transform: translate3d(0, -50%, 0);
}

/* --- 3. موقعیت عمودی: پایین (Bottom) --- */
.jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-bottom,
.jazeb-side-pos-bottom .jazeb-cart-dropdown.cart-style-slide-right,
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-bottom,
.jazeb-cart-widget.floating-mode.jazeb-side-pos-bottom .jazeb-cart-dropdown.cart-style-slide-right {
    top: auto !important;
    bottom: 20px !important;
    height: auto !important;
    max-height: calc(100vh - 40px);
    border-radius: 20px 0 0 20px;
    transform: translate3d(calc(100% + 40px), 0, 0);
}

.jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-bottom.show,
.jazeb-side-pos-bottom .jazeb-cart-dropdown.cart-style-slide-right.show,
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-bottom.show,
.jazeb-cart-widget.floating-mode.jazeb-side-pos-bottom .jazeb-cart-dropdown.cart-style-slide-right.show {
    transform: translate3d(0, 0, 0);
}

.jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-bottom,
.jazeb-side-pos-bottom .jazeb-cart-dropdown.cart-style-slide-left,
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-bottom,
.jazeb-cart-widget.floating-mode.jazeb-side-pos-bottom .jazeb-cart-dropdown.cart-style-slide-left {
    top: auto !important;
    bottom: 20px !important;
    height: auto !important;
    max-height: calc(100vh - 40px);
    border-radius: 0 20px 20px 0;
    transform: translate3d(calc(-100% - 40px), 0, 0);
}

.jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-bottom.show,
.jazeb-side-pos-bottom .jazeb-cart-dropdown.cart-style-slide-left.show,
.jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-bottom.show,
.jazeb-cart-widget.floating-mode.jazeb-side-pos-bottom .jazeb-cart-dropdown.cart-style-slide-left.show {
    transform: translate3d(0, 0, 0);
}


/* ========================
   اورلی (Overlay - پس‌زمینه تیره و بلور)
   باید همیشه در لایه زیرین پنجره سبد خرید قرار گیرد
======================== */

.jazeb-cart-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
    z-index: 999980 !important;
}

.jazeb-cart-overlay.active {
    visibility: visible;
}

.jazeb-cart-overlay.show {
    opacity: 1;
    pointer-events: auto;
}


/* ========================
   هدر سبد
======================== */

.jazeb-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #f1f5f9;
    flex-shrink: 0;
    background: #ffffff;
    position: relative;
    z-index: 2;
    gap: 15px;
}

.jazeb-cart-title-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.jazeb-cart-title {
    display: inline-flex;
    align-items: center;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.jazeb-header-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}


/* ========================
   دکمه‌های هدر (بستن و بروزرسانی)
======================== */

.jazeb-icon-svg {
    display: inline-block;
    vertical-align: middle;
    width: 1em;
    height: 1em;
    stroke: currentColor;
    fill: none !important;
    stroke-width: 2.2;
    flex-shrink: 0;
    pointer-events: none;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.jazeb-cart-header-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.jazeb-cart-close,
.jazeb-cart-refresh,
.jazeb-cart-clear {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    flex-shrink: 0;
    color: #64748b;
    padding: 0 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.jazeb-cart-close .button-text,
.jazeb-cart-refresh .button-text,
.jazeb-cart-clear .button-text {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.jazeb-cart-close .jazeb-icon-svg,
.jazeb-cart-refresh .jazeb-icon-svg,
.jazeb-cart-clear .jazeb-icon-svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.2;
}

.jazeb-cart-close i,
.jazeb-cart-refresh i,
.jazeb-cart-clear i {
    font-size: 15px;
    line-height: 1;
}

.jazeb-cart-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.15);
}

.jazeb-cart-refresh:hover {
    background: #e0e7ff;
    color: #6366f1;
    border-color: #c7d2fe;
    transform: translateY(-1px) rotate(180deg);
    box-shadow: 0 3px 8px rgba(99, 102, 241, 0.15);
}

.jazeb-cart-clear:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(239, 68, 68, 0.15);
}

.jazeb-cart-refresh.refreshing {
    animation: jazeb-spin 0.8s linear infinite;
}

.jazeb-cart-clear:disabled {
    cursor: progress;
    opacity: .72;
}

.jazeb-cart-clear.clearing {
    animation: jazeb-pulse 0.8s ease infinite;
}


/* ========================
   آیتم‌های سبد
======================== */

.jazeb-cart-items {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
    flex: 1 1 auto;
    min-height: 0 !important;
}

.jazeb-cart-items::-webkit-scrollbar {
    width: 6px;
}

.jazeb-cart-items::-webkit-scrollbar-track {
    background: transparent;
}

.jazeb-cart-items::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.jazeb-cart-items::-webkit-scrollbar-thumb:hover {
    background: #999;
}


/* ==========================================================================
   طراحی پیشرفته، مدرن و جذاب سبد خرید خالی (Empty Cart State Redesign)
   ========================================================================== */

@keyframes jazebEmptyFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes jazebGlowPulse {
    0%, 100% {
        transform: scale(0.96);
        opacity: 0.65;
    }
    50% {
        transform: scale(1.12);
        opacity: 1;
    }
}

.jazeb-cart-empty {
    text-align: center;
    padding: 36px 20px 28px;
    margin: 6px;
    color: #64748b;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex: 1 1 auto;
    min-height: 240px;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jazeb-cart-empty.has-floating-anim .jazeb-cart-empty-visual {
    animation: jazebEmptyFloat 3.6s ease-in-out infinite;
}

/* ۱. بخش بصری: آیکون، هاله و تصویر */
.jazeb-cart-empty-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.jazeb-cart-empty-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
}

.jazeb-cart-empty-icon-glow {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.22) 0%, rgba(99, 102, 241, 0) 70%);
    filter: blur(10px);
    pointer-events: none;
    animation: jazebGlowPulse 3.2s ease-in-out infinite;
}

.jazeb-cart-empty-icon-box {
    width: 84px;
    height: 84px;
    border-radius: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.06) 100%);
    border: 1.5px solid rgba(99, 102, 241, 0.18);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
    color: var(--jazeb-cart-primary, #6366f1);
    font-size: 36px;
    transition: all 0.3s ease;
}

.jazeb-cart-empty-icon-box i {
    font-size: 36px;
    line-height: 1;
    color: var(--jazeb-cart-primary, #6366f1);
}

.jazeb-cart-empty-icon-box svg {
    width: 38px;
    height: 38px;
    stroke: currentColor;
    display: block;
}

.jazeb-cart-empty-image {
    max-width: 170px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.07));
}

/* ۲. بخش محتوا: عنوان و زیرعنوان */
.jazeb-cart-empty-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    width: 100%;
}

.jazeb-cart-empty-title,
.jazeb-cart-empty h4 {
    font-size: 17px;
    font-weight: 850;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.45;
    letter-spacing: -0.2px;
}

.jazeb-cart-empty-subtitle,
.jazeb-cart-empty p {
    font-size: 13.5px;
    font-weight: 500;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
    max-width: 320px;
    text-align: center;
}

/* ۳. دکمه رفتن به فروشگاه (Call To Action) */
.jazeb-cart-empty-action {
    margin-top: 4px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.jazeb-cart-empty-button,
.jazeb-empty-shop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--jazeb-cart-primary, #6366f1) 0%, #4f46e5 100%);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 750;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.32);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    line-height: 1.4;
}

.jazeb-cart-empty-button:hover,
.jazeb-empty-shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(99, 102, 241, 0.42);
    color: #ffffff !important;
}

.jazeb-cart-empty-button.icon-align-left {
    flex-direction: row-reverse;
}

.jazeb-empty-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

.jazeb-empty-btn-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    display: block;
}

/* ========================
   آیتم محصول - ساختار 3 سطری
======================== */

.jazeb-cart-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.25s ease;
    border-radius: 10px;
}

.jazeb-cart-item:last-child {
    border-bottom: none;
}

.jazeb-cart-item:hover {
    background: #f8fafc;
}


/* انیمیشن حذف */

.jazeb-cart-item.removing {
    opacity: 0.3;
    transform: translateX(20px);
    transition: all 0.3s ease;
}


/* سطر اول: فقط عنوان محصول */

.cart-item-title-row {
    display: block;
    width: 100%;
}

.jazeb-cart-item-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s ease;
    margin: 0;
}

.jazeb-cart-item-title:hover {
    color: #6366f1;
}


/* سطر دوم: تصویر (راست) + متغیرها (وسط) + حذف (چپ) */

.cart-item-middle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.jazeb-cart-item-image-wrapper {
    flex-shrink: 0;
}

.jazeb-cart-item-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.jazeb-cart-item-variations-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 20px;
}

.jazeb-cart-item-variations-wrapper:empty,
.jazeb-cart-item.is-simple-product .jazeb-cart-item-variations-wrapper {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.jazeb-cart-item-variations {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jazeb-cart-item-variations .variation-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.jazeb-cart-item-variations dt {
    font-weight: 600;
    color: #64748b;
    margin: 0;
}

.jazeb-cart-item-variations dd {
    margin: 0;
    color: #334155;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.jazeb-cart-item-remove-wrapper {
    flex-shrink: 0;
}

.jazeb-remove-item {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fee2e2;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 13px;
}

.jazeb-remove-item:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: scale(1.1) rotate(90deg);
}


/* سطر سوم: تعداد (راست) + قیمت (چپ) */

.cart-item-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}


/* ========================
   کنترل تعداد (+/-)
======================== */

.jazeb-cart-item-quantity {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 3px 6px;
}

.quantity-btn {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 14px;
    color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.quantity-btn:hover {
    background: #6366f1;
    border-color: #6366f1;
    color: #ffffff;
    transform: scale(1.1);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-input {
    width: 38px;
    height: 26px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}


/* ========================
   قیمت محصول
======================== */

.jazeb-cart-item-price {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}


/* ========================
   فوتر سبد
======================== */

.jazeb-cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.jazeb-cart-total {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 15px;
}

.jazeb-cart-total-label {
    font-weight: 600;
    color: #475569;
}

:where(.jazeb-cart-total-amount) {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum";
}

.jazeb-cart-buttons {
    display: flex;
    gap: 12px;
}

.jazeb-cart-button-view,
.jazeb-cart-button-checkout {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

:where(.jazeb-cart-button-view) {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

:where(.jazeb-cart-button-view:hover) {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

:where(.jazeb-cart-button-checkout) {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

:where(.jazeb-cart-button-checkout:hover) {
    background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.jazeb-cart-button-checkout.jazeb-is-navigating,
.jazeb-cart-button-view.jazeb-is-navigating {
    opacity: 0.82;
    cursor: wait;
    pointer-events: none;
}


/* ========================
   لودینگ اورلی
======================== */

.jazeb-cart-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
    animation: jazeb-fadeIn 0.2s ease;
}

.jazeb-cart-loading {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: jazeb-spin 0.8s linear infinite;
}

@keyframes jazeb-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/* ========================
   تولتیپ
======================== */

.jazeb-cart-tooltip {
    position: fixed;
    padding: 8px 12px;
    background: #333;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99999;
    pointer-events: none;
}

.jazeb-cart-tooltip.show {
    opacity: 1;
    visibility: visible;
}

.jazeb-cart-tooltip.jazeb-tooltip-success {
    background: #28a745;
}

.jazeb-cart-tooltip.jazeb-tooltip-error {
    background: #dc3545;
}

.jazeb-cart-tooltip.jazeb-tooltip-warning {
    background: #ffc107;
    color: #333;
}


/* ========================
   نوتیفیکیشن
======================== */

.jazeb-cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
    min-width: 250px;
    border-left: 4px solid #0073aa;
}

.jazeb-cart-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.jazeb-cart-notification.jazeb-notification-success {
    border-left-color: #28a745;
    color: #28a745;
}

.jazeb-cart-notification.jazeb-notification-error {
    border-left-color: #dc3545;
    color: #dc3545;
}

.jazeb-cart-notification.jazeb-notification-warning {
    border-left-color: #ffc107;
    color: #f57c00;
}


/* ========================
   ریسپانسیو
======================== */

@media (max-width: 768px) {
    .jazeb-cart-dropdown {
        min-width: 320px;
        max-width: calc(100vw - 40px);
    }
    .jazeb-cart-dropdown.cart-style-slide-right:not(.jazeb-side-pos-top):not(.jazeb-side-pos-center):not(.jazeb-side-pos-bottom),
    .jazeb-cart-dropdown.cart-style-slide-left:not(.jazeb-side-pos-top):not(.jazeb-side-pos-center):not(.jazeb-side-pos-bottom) {
        min-width: 100vw;
        max-width: 100vw;
        max-height: 100vh;
        height: 100vh;
    }
    .jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-top,
    .jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-center,
    .jazeb-cart-dropdown.cart-style-slide-right.jazeb-side-pos-bottom,
    .jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-top,
    .jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-center,
    .jazeb-cart-dropdown.cart-style-slide-left.jazeb-side-pos-bottom {
        min-width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        left: 12px !important;
        right: 12px !important;
        border-radius: 16px !important;
    }
    .jazeb-cart-dropdown.cart-style-popup {
        max-width: calc(100vw - 40px);
        max-height: 90vh;
        height: auto;
    }
    .jazeb-cart-button.floating {
        width: 50px;
        height: 50px;
    }
    /* تنظیم موقعیت dropdown در موبایل برای floating - فقط برای dropdown عادی */
    .jazeb-cart-widget.floating-mode .jazeb-cart-dropdown:not(.cart-style-popup):not(.cart-style-slide-right):not(.cart-style-slide-left) {
        left: 10px !important;
        right: 10px !important;
        top: auto !important;
        bottom: 80px !important;
        max-width: calc(100vw - 20px);
        max-height: calc(100vh - 100px);
        min-width: auto;
        height: auto;
    }
    /* تنظیم popup در موبایل - حالت شناور */
    .jazeb-cart-widget.floating-mode .jazeb-cart-dropdown.cart-style-popup {
        max-width: calc(100vw - 20px);
        max-height: 90vh;
        height: auto;
    }
    .jazeb-cart-buttons {
        flex-direction: column;
    }
    /* تنظیم هدر سبد خرید در موبایل */
    .jazeb-cart-header {
        padding: 15px;
        gap: 10px;
    }
    .jazeb-cart-title {
        font-size: 16px;
    }
    .jazeb-header-count {
        font-size: 13px;
    }
    .jazeb-cart-header-buttons {
        gap: 5px;
    }
    .jazeb-cart-close,
    .jazeb-cart-refresh,
    .jazeb-cart-clear {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }
    .jazeb-cart-close .button-text,
    .jazeb-cart-refresh .button-text,
    .jazeb-cart-clear .button-text {
        display: none;
    }
}


/* ========================
   موبایل کوچک (زیر 480px)
======================== */

@media (max-width: 480px) {
    .jazeb-cart-header {
        padding: 12px;
        gap: 8px;
    }
    .jazeb-cart-title {
        font-size: 14px;
    }
    .jazeb-header-count {
        font-size: 12px;
    }
    .jazeb-cart-header-buttons {
        gap: 5px;
    }
    .jazeb-cart-close,
    .jazeb-cart-refresh,
    .jazeb-cart-clear {
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 13px;
    }
}


/* ========================
   انیمیشن‌های اضافی
======================== */

@keyframes jazeb-fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jazeb-cart-item {
    animation: jazeb-fadeIn 0.3s ease;
}


/* پالس برای دکمه شناور */

@keyframes jazeb-pulse {
    0%,
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 6px 20px rgba(0, 115, 170, 0.4);
    }
}

.jazeb-cart-button.floating:hover {
    animation: jazeb-pulse 2s infinite;
}

/* ========================
   Modern polish layer
======================== */

.jazeb-cart-widget {
    --jazeb-cart-primary: #6d5dfc;
    --jazeb-cart-primary-dark: #5142e8;
    --jazeb-cart-text: #15182f;
    --jazeb-cart-muted: #858aa3;
    --jazeb-cart-soft: #f6f7ff;
    --jazeb-cart-border: rgba(222, 225, 241, .95);
}

.jazeb-cart-button:not(.floating) {
    min-height: 48px;
    padding: 10px 15px;
    border: 1px solid rgba(222, 225, 241, .95);
    border-radius: 16px;
    color: var(--jazeb-cart-text);
    box-shadow: 0 12px 30px rgba(26, 30, 72, .08);
}

.jazeb-cart-button:not(.floating):hover {
    border-color: color-mix(in srgb, var(--jazeb-cart-primary) 34%, var(--jazeb-cart-border));
    box-shadow: 0 18px 42px rgba(26, 30, 72, .13);
}

.jazeb-cart-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--jazeb-cart-primary) 10%, #fff);
    color: var(--jazeb-cart-primary);
}

.jazeb-cart-count {
    min-width: 21px;
    height: 21px;
    border: 2px solid #fff;
    background: #ff2d72;
    color: #fff;
    box-shadow: 0 8px 18px rgba(255, 45, 114, .28);
}

.jazeb-cart-dropdown {
    border: 1px solid var(--jazeb-cart-border);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.99), rgba(249,250,255,.98));
    box-shadow: 0 26px 70px rgba(16, 20, 54, .16);
    backdrop-filter: blur(18px);
}

.jazeb-cart-dropdown.cart-style-slide-right:not(.jazeb-side-pos-top):not(.jazeb-side-pos-center):not(.jazeb-side-pos-bottom),
.jazeb-cart-dropdown.cart-style-slide-left:not(.jazeb-side-pos-top):not(.jazeb-side-pos-center):not(.jazeb-side-pos-bottom) {
    border-radius: 0;
}

.jazeb-cart-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--jazeb-cart-border);
    background: linear-gradient(135deg, #fff, #f8f9ff);
}

.jazeb-cart-title {
    color: var(--jazeb-cart-text);
    font-weight: 900;
    letter-spacing: -.02em;
}

.jazeb-cart-close,
.jazeb-cart-refresh,
.jazeb-cart-clear {
    border: 1px solid rgba(226, 228, 242, .9);
    background: #fff;
    color: #64748b;
    box-shadow: 0 2px 6px rgba(28, 32, 70, .04);
}

.jazeb-cart-items {
    padding: 14px;
    scrollbar-color: color-mix(in srgb, var(--jazeb-cart-primary) 38%, #d7dbea) transparent;
}

.jazeb-cart-item {
    gap: 12px;
    margin-bottom: 12px;
    padding: 14px;
    border: 1px solid rgba(226, 228, 242, .84);
    border-radius: 20px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 12px 30px rgba(24, 29, 65, .06);
}

.jazeb-cart-item:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(226, 228, 242, .84);
}

.jazeb-cart-item:hover {
    background: #fff;
    border-color: color-mix(in srgb, var(--jazeb-cart-primary) 22%, var(--jazeb-cart-border));
    transform: translateY(-2px);
}

.jazeb-cart-item-title {
    color: var(--jazeb-cart-text);
    font-weight: 850;
}

.jazeb-cart-item-title:hover {
    color: var(--jazeb-cart-primary);
}

.cart-item-middle-row {
    align-items: center;
}

.jazeb-cart-item-image-wrapper a,
.jazeb-cart-item-image-wrapper {
    display: block;
}

.jazeb-cart-item-image,
.jazeb-cart-item-image-wrapper img {
    width: 72px;
    height: 72px;
    border: 1px solid rgba(226, 228, 242, .95);
    border-radius: 18px;
    background: var(--jazeb-cart-soft);
    box-shadow: 0 10px 24px rgba(24, 29, 65, .10);
}

.jazeb-cart-item-variations-wrapper {
    justify-content: flex-start;
}

.jazeb-cart-item-variations dd {
    border: 1px solid rgba(226, 228, 242, .9);
    border-radius: 999px;
    background: var(--jazeb-cart-soft);
    color: var(--jazeb-cart-text);
    font-weight: 700;
}

.jazeb-remove-item {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 45, 114, .18);
    border-radius: 10px;
    background: rgba(255, 45, 114, .08);
    color: #ff2d72;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    box-shadow: 0 1px 3px rgba(255, 45, 114, 0.08);
}

.jazeb-remove-item:hover {
    background: #ff2d72;
    border-color: #ff2d72;
    color: #fff;
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 10px rgba(255, 45, 114, 0.25);
}

.jazeb-remove-item .jazeb-icon-svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none !important;
    stroke-width: 2.2;
}

.jazeb-cart-item-quantity {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    overflow: hidden;
    padding: 3px;
    border: 1px solid rgba(226, 228, 242, .95);
    border-radius: 12px;
    background: #f7f8ff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.quantity-btn {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: var(--jazeb-cart-primary, #6366f1);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.quantity-btn:hover {
    background: var(--jazeb-cart-primary, #6366f1);
    color: #fff;
    transform: none;
}

.quantity-btn .jazeb-icon-svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none !important;
    stroke-width: 2.5;
}

.quantity-btn:disabled,
.quantity-btn.is-max {
    opacity: .42;
    cursor: not-allowed;
    background: #eef0f7;
    color: #a8adbf;
    box-shadow: none;
}

.quantity-btn.is-min {
    color: #ff2d72;
}

.quantity-input {
    color: var(--jazeb-cart-primary);
    font-weight: 900;
}

.jazeb-cart-item-price {
    color: var(--jazeb-cart-primary);
    font-size: 15px;
    font-weight: 900;
}

.jazeb-cart-footer {
    padding: 16px;
    border-top: 1px solid var(--jazeb-cart-border);
    background: linear-gradient(135deg, #fff, #f7f8ff);
}

:where(.jazeb-cart-total) {
    padding: 12px 14px;
    border: 1px solid rgba(226, 228, 242, .9);
    border-radius: 16px;
    background: #fff;
}

:where(.jazeb-cart-total-label) {
    color: var(--jazeb-cart-muted);
}

:where(.jazeb-cart-total-amount) {
    color: var(--jazeb-cart-primary);
}

.jazeb-cart-button-view,
.jazeb-cart-button-checkout {
    border-radius: 15px;
    font-weight: 850;
}

:where(.jazeb-cart-button-view) {
    border: 1px solid rgba(226, 228, 242, .95);
    background: #fff;
    color: var(--jazeb-cart-text);
}

:where(.jazeb-cart-button-checkout) {
    background-color: var(--jazeb-cart-primary);
    color: #fff;
    box-shadow: 0 12px 26px color-mix(in srgb, var(--jazeb-cart-primary) 28%, transparent);
}

:where(.jazeb-cart-button-view:hover),
:where(.jazeb-cart-button-checkout:hover) {
    transform: translateY(-2px);
}

:where(.jazeb-cart-empty) {
    margin: 6px;
    border-radius: 20px;
}

.jazeb-cart-loading-overlay {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(6px);
}

.jazeb-cart-loading {
    border-color: #eef0ff;
    border-top-color: var(--jazeb-cart-primary);
}

@media (max-width: 768px) {
    .jazeb-cart-dropdown {
        border-radius: 22px;
    }

    .jazeb-cart-items {
        padding: 12px;
    }

    .jazeb-cart-item {
        padding: 12px;
        border-radius: 18px;
    }

    .cart-item-middle-row {
        gap: 10px;
    }

    .jazeb-cart-item-image,
    .jazeb-cart-item-image-wrapper img {
        width: 62px;
        height: 62px;
        border-radius: 16px;
    }

    .cart-item-bottom-row {
        gap: 10px;
    }

    .jazeb-cart-item-price {
        font-size: 13px;
    }
}

.jazeb-cart-clear:disabled {
    cursor: progress;
    opacity: .72;
}

.jazeb-cart-clear.clearing i,
.jazeb-cart-clear.clearing .jazeb-icon-svg {
    animation: jazeb-bounce .7s ease infinite;
}

/* ========================================================
   قفل اسکرول بدنه هنگام باز بودن دراور یا مودال
======================================================== */
body.jazeb-cart-body-locked {
    overflow: hidden !important;
    touch-action: none;
}

/* ========================================================
   سبک‌های نمایش جدید: Bottom Sheet (پایین صفحه) و تمام‌صفحه
======================================================== */

/* دستگیره سوایپ Bottom Sheet */
.jazeb-sheet-handle {
    width: 46px;
    height: 5px;
    border-radius: 999px;
    background: #cbd5e1;
    margin: 10px auto 4px auto;
    cursor: grab;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.jazeb-sheet-handle:hover,
.jazeb-sheet-handle:active {
    background: #94a3b8;
    cursor: grabbing;
    transform: scaleX(1.15);
}

/* هنگام باز بودن سبد خرید، کانتینر سبد روی سایر عناصر صفحه اولویت یابد */
.jazeb-cart-widget.cart-open {
    z-index: 999985 !important;
}

/* استایل Slide Bottom (Bottom Sheet) */
.jazeb-cart-dropdown.cart-style-slide-bottom {
    position: fixed !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: 620px !important;
    margin: 0 auto;
    max-height: 85vh;
    height: auto;
    border-radius: 28px 28px 0 0;
    transform: translateY(100%);
    box-shadow: 0 -16px 50px rgba(15, 23, 42, 0.22);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 999990 !important;
}

.jazeb-cart-dropdown.cart-style-slide-bottom.show {
    transform: translateY(0);
    z-index: 999990 !important;
}

/* استایل Full Screen (تمام‌صفحه متمرکز) */
.jazeb-cart-dropdown.cart-style-full-screen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    z-index: 999990 !important;
}

.jazeb-cart-dropdown.cart-style-full-screen.show {
    transform: scale(1);
    opacity: 1;
    z-index: 999990 !important;
}

/* پس‌زمینه تیره و بلور (Overlay) - تضمین لایه زیرین */
.jazeb-cart-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s;
    z-index: 999980 !important;
}

.jazeb-cart-overlay.active {
    visibility: visible;
}

.jazeb-cart-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* ========================================================
   نوار هوشمند و متحرک ارسال رایگان (Free Shipping Bar)
======================================================== */
.jazeb-free-shipping-bar {
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.jazeb-shipping-message {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    line-height: 1.4;
}

.jazeb-shipping-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 15px;
    flex-shrink: 0;
}

.jazeb-shipping-remaining {
    color: #ef4444;
    font-weight: 800;
}

.jazeb-shipping-progress-track {
    width: 100%;
    height: 7px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.jazeb-shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #10b981);
    border-radius: 999px;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.jazeb-shipping-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.45), rgba(255,255,255,0));
    animation: jazeb-shipping-shimmer 2.2s infinite;
}

@keyframes jazeb-shipping-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.jazeb-free-shipping-bar.is-reached {
    background: #ecfdf5;
    border-bottom-color: #a7f3d0;
}

.jazeb-free-shipping-bar.is-reached .jazeb-shipping-message {
    color: #065f46;
}

.jazeb-free-shipping-bar.is-reached .jazeb-shipping-icon {
    color: #059669;
}

.jazeb-free-shipping-bar.is-reached .jazeb-shipping-progress-fill {
    background: linear-gradient(90deg, #10b981, #059669);
}

/* ========================================================
   بخش کوپن تخفیف در سبد خرید (AJAX Coupon)
======================================================== */
.jazeb-cart-coupon-section {
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #fafbfc;
    flex-shrink: 0;
}

.jazeb-coupon-input-group,
.jazeb-coupon-form {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.jazeb-coupon-input-wrap {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.jazeb-coupon-icon {
    position: absolute;
    right: 12px;
    color: #94a3b8;
    font-size: 13px;
    pointer-events: none;
}

.jazeb-coupon-code-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    height: 40px !important;
    padding: 8px 14px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    background: #fff !important;
    color: #1e293b !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    direction: ltr;
    text-align: right;
    box-sizing: border-box !important;
}

.jazeb-coupon-code-input:focus {
    outline: none !important;
    border-color: var(--jazeb-cart-primary, #6366f1) !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

.jazeb-apply-coupon-btn {
    flex: 0 0 auto !important;
    height: 40px !important;
    padding: 0 18px !important;
    background: var(--jazeb-cart-primary, #6366f1) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.15);
}

.jazeb-apply-coupon-btn:hover {
    background: #4f46e5 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.25);
}

.jazeb-apply-coupon-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.jazeb-apply-coupon-btn .btn-spinner {
    display: none;
    animation: jazeb-spin 0.8s linear infinite;
}

.jazeb-applied-coupons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.jazeb-applied-coupon-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: #e0e7ff;
    color: #4338ca;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.jazeb-remove-coupon-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    font-size: 11px;
    transition: transform 0.15s;
}

.jazeb-remove-coupon-btn:hover {
    transform: scale(1.25);
}

/* ========================================================
   بخش تفکیک و خلاصه سفارش (Order Summary Breakdown)
======================================================== */
.jazeb-cart-summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
}

.jazeb-cart-summary-breakdown .jazeb-cart-total {
    margin-bottom: 0;
}

.jazeb-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

.jazeb-cart-summary-row.jazeb-cart-discount-row {
    color: #ef4444;
    font-weight: 700;
}

.jazeb-cart-summary-row .summary-val {
    font-weight: 700;
    color: #1e293b;
    font-variant-numeric: tabular-nums;
}

.jazeb-cart-summary-row.jazeb-cart-discount-row .summary-val {
    color: #ef4444;
}

/* ========================================================
   نشان‌های اعتماد و اطمینان خرید (Trust Badges)
======================================================== */
.jazeb-cart-trust-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    width: 100%;
}

.jazeb-trust-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    background-color: transparent;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.jazeb-trust-badge-item:hover {
    transform: translateY(-1px);
}

.jazeb-trust-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
    border-radius: 50%;
    background-color: rgba(16, 185, 129, 0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.jazeb-trust-badge-icon i {
    color: #10b981;
    font-size: 13px;
    transition: color 0.25s ease;
}

.jazeb-trust-badge-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    color: #10b981;
    transition: all 0.25s ease;
}

.jazeb-trust-badge-item:hover .jazeb-trust-badge-icon {
    background-color: rgba(16, 185, 129, 0.18);
    transform: scale(1.05);
}

.jazeb-trust-badge-text {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.2;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.jazeb-trust-badge-item:hover .jazeb-trust-badge-text {
    color: #1e293b;
}

/* جهت عمودی (روی هم) */
.jazeb-cart-trust-badges.jazeb-trust-badges--dir-column .jazeb-trust-badge-item {
    flex-direction: column;
    text-align: center;
    gap: 4px;
}

/* پریست کارت‌های مجزا (Boxed Cards) */
.jazeb-cart-trust-badges.jazeb-trust-badges--preset-cards .jazeb-trust-badge-item {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    flex: 1 1 auto;
    justify-content: center;
}

.jazeb-cart-trust-badges.jazeb-trust-badges--preset-cards .jazeb-trust-badge-item:hover {
    background-color: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* پریست مینیمال تمیز (Clean Minimal) */
.jazeb-cart-trust-badges.jazeb-trust-badges--preset-minimal {
    border-top: none;
    padding-top: 6px;
    margin-top: 10px;
}

.jazeb-cart-trust-badges.jazeb-trust-badges--preset-minimal .jazeb-trust-badge-icon {
    background-color: transparent;
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
}

.jazeb-cart-trust-badges.jazeb-trust-badges--preset-minimal .jazeb-trust-badge-item {
    padding: 2px 4px;
}

/* پریست کپسولی مدرن (Pill Capsule) */
.jazeb-cart-trust-badges.jazeb-trust-badges--preset-pill .jazeb-trust-badge-item {
    background-color: #f1f5f9;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 5px 12px;
}

.jazeb-cart-trust-badges.jazeb-trust-badges--preset-pill .jazeb-trust-badge-item:hover {
    background-color: #e2e8f0;
    border-color: #cbd5e1;
}

/* دارک مود / پریست لوکس تیره برای نشان‌های اعتماد */
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-trust-badges {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-trust-badge-text {
    color: #94a3b8;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-trust-badge-item:hover .jazeb-trust-badge-text {
    color: #f1f5f9;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-trust-badge-icon {
    background-color: rgba(16, 185, 129, 0.15);
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-trust-badges.jazeb-trust-badges--preset-cards .jazeb-trust-badge-item {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-trust-badges.jazeb-trust-badges--preset-cards .jazeb-trust-badge-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-trust-badges.jazeb-trust-badges--preset-pill .jazeb-trust-badge-item {
    background-color: rgba(255, 255, 255, 0.06);
}

/* ========================================================
   بج‌های تخفیف و وضعیت موجودی محصول
======================================================== */
.jazeb-item-discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    background: #fee2e2;
    color: #ef4444;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    margin-right: 6px;
    vertical-align: middle;
}

.jazeb-item-stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 7px;
    background: #fef3c7;
    color: #b45309;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    margin-right: 6px;
    vertical-align: middle;
}

/* ========================================================
   قالب‌های طراحی از پیش تعریف‌شده (Design Presets)
======================================================== */

/* پریست شیشه‌ای مات (Glassmorphism) */
.jazeb-cart-widget.jazeb-cart-preset-glassmorphism .jazeb-cart-dropdown {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(25px) saturate(190%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(190%) !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.jazeb-cart-widget.jazeb-cart-preset-glassmorphism .jazeb-cart-header,
.jazeb-cart-widget.jazeb-cart-preset-glassmorphism .jazeb-cart-footer,
.jazeb-cart-widget.jazeb-cart-preset-glassmorphism .jazeb-free-shipping-bar,
.jazeb-cart-widget.jazeb-cart-preset-glassmorphism .jazeb-cart-coupon-section {
    background: transparent !important;
    backdrop-filter: blur(8px) !important;
}

.jazeb-cart-widget.jazeb-cart-preset-glassmorphism .jazeb-cart-item {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
}

/* پریست استایل دیجی‌کالا (Digikala) */
.jazeb-cart-widget.jazeb-cart-preset-digikala {
    --jazeb-cart-primary: #ef394e;
    --jazeb-cart-primary-dark: #d32f2f;
}

.jazeb-cart-widget.jazeb-cart-preset-digikala .jazeb-cart-dropdown {
    border-radius: 16px;
    border-color: #e0e0e2;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}

.jazeb-cart-widget.jazeb-cart-preset-digikala .jazeb-cart-count {
    background: #ef394e;
}

.jazeb-cart-widget.jazeb-cart-preset-digikala :where(.jazeb-cart-button-checkout) {
    background: #ef394e !important;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(239, 57, 78, 0.32);
}

.jazeb-cart-widget.jazeb-cart-preset-digikala .jazeb-cart-item {
    border-radius: 12px;
    border: 1px solid #f0f0f1;
}

/* پریست دارک لوکس (Dark Luxury) */
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-dropdown {
    background: #111318 !important;
    border: 1px solid #232733 !important;
    color: #f1f5f9;
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.65) !important;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-header,
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-footer,
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-free-shipping-bar,
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-coupon-section {
    background: #181b24 !important;
    border-color: #262b3a !important;
    color: #f1f5f9;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-title,
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-item-title,
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-item-price,
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-shipping-message,
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-total-amount {
    color: #f8fafc !important;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-header-count {
    color: #94a3b8;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-item {
    background: #1a1e28 !important;
    border-color: #272c3b !important;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-item:hover {
    background: #212634 !important;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-close,
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-refresh {
    background: #232733;
    border-color: #333a4d;
    color: #e2e8f0;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .quantity-btn {
    background: #2a3040;
    color: #e2e8f0;
    border-color: #3b4359;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .quantity-input {
    color: #f8fafc;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-coupon-code-input {
    background: #232837;
    border-color: #384259;
    color: #f8fafc;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-empty {
    background: linear-gradient(180deg, #1e2433 0%, #171b26 100%);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-empty-title {
    color: #f8fafc;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-empty-subtitle {
    color: #94a3b8;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-empty-icon-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(168, 85, 247, 0.12) 100%);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* پریست مینیمال تمیز (Minimal) */
.jazeb-cart-widget.jazeb-cart-preset-minimal .jazeb-cart-dropdown {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.jazeb-cart-widget.jazeb-cart-preset-minimal .jazeb-cart-item {
    border: none;
    border-bottom: 1px solid #f3f4f6;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.jazeb-cart-widget.jazeb-cart-preset-minimal .jazeb-cart-header,
.jazeb-cart-widget.jazeb-cart-preset-minimal .jazeb-cart-footer {
    background: #fff;
}

/* پریست درخشش گرادینت (Gradient Glow) */
.jazeb-cart-widget.jazeb-cart-preset-gradient-glow .jazeb-cart-dropdown {
    border: 2px solid transparent;
    background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, #6366f1, #ec4899, #f59e0b);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.22);
}

/* ========================================================
   طرح‌بندی آیتم‌ها (Item Layout Variations)
======================================================== */

/* 1. طرح کارت تفکیک‌شده مدرن (Card Layout) */
:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .jazeb-cart-item,
.jazeb-cart-item.layout-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(226, 228, 242, 0.9);
    box-shadow: 0 8px 24px rgba(24, 29, 65, 0.05);
    transition: all 0.25s ease;
}

:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .jazeb-cart-item:hover,
.jazeb-cart-item.layout-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(24, 29, 65, 0.09);
    border-color: color-mix(in srgb, var(--jazeb-cart-primary, #6366f1) 25%, rgba(226, 228, 242, 0.9));
}

:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .cart-item-title-row,
.jazeb-cart-item.layout-card .cart-item-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .cart-item-middle-row,
.jazeb-cart-item.layout-card .cart-item-middle-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .cart-item-bottom-row,
.jazeb-cart-item.layout-card .cart-item-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(226, 228, 242, 0.8);
}


/* 2. طرح فشرده و متراکم (Compact Layout) */
:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .jazeb-cart-item,
.jazeb-cart-item.layout-compact {
    display: flex;
    flex-direction: column;
    padding: 10px 12px;
    margin-bottom: 8px;
    gap: 6px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(226, 228, 242, 0.7);
    box-shadow: 0 2px 8px rgba(24, 29, 65, 0.03);
    transition: all 0.2s ease;
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .jazeb-cart-item:hover,
.jazeb-cart-item.layout-compact:hover {
    border-color: color-mix(in srgb, var(--jazeb-cart-primary, #6366f1) 20%, rgba(226, 228, 242, 0.7));
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .cart-item-title-row,
.jazeb-cart-item.layout-compact .cart-item-title-row {
    margin-bottom: 4px;
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .jazeb-cart-item-title,
.jazeb-cart-item.layout-compact .jazeb-cart-item-title {
    font-size: 13px;
    font-weight: 750;
    line-height: 1.35;
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .cart-item-middle-row,
.jazeb-cart-item.layout-compact .cart-item-middle-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .jazeb-cart-item-image,
:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .jazeb-cart-item-image-wrapper img,
.jazeb-cart-item.layout-compact .jazeb-cart-item-image,
.jazeb-cart-item.layout-compact .jazeb-cart-item-image-wrapper img {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .jazeb-remove-item,
.jazeb-cart-item.layout-compact .jazeb-remove-item {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 11px;
    border-radius: 8px;
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .cart-item-bottom-row,
.jazeb-cart-item.layout-compact .cart-item-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid rgba(226, 228, 242, 0.5);
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .jazeb-cart-item-quantity,
.jazeb-cart-item.layout-compact .jazeb-cart-item-quantity {
    padding: 2px;
    border-radius: 10px;
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .quantity-btn,
.jazeb-cart-item.layout-compact .quantity-btn {
    width: 24px;
    height: 24px;
    font-size: 11px;
    border-radius: 8px;
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .quantity-input,
.jazeb-cart-item.layout-compact .quantity-input {
    width: 32px;
    font-size: 12px;
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .jazeb-cart-item-price,
.jazeb-cart-item.layout-compact .jazeb-cart-item-price {
    font-size: 13px;
}


/* 3. طرح افقی و یکپارچه (Horizontal Row Layout) */
:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item,
.jazeb-cart-item.layout-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 6px;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(226, 228, 242, 0.85);
    box-shadow: 0 4px 16px rgba(24, 29, 65, 0.04);
    transition: all 0.25s ease;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item:hover,
.jazeb-cart-item.layout-row:hover {
    border-color: color-mix(in srgb, var(--jazeb-cart-primary, #6366f1) 25%, rgba(226, 228, 242, 0.85));
    box-shadow: 0 8px 24px rgba(24, 29, 65, 0.08);
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .cart-item-middle-row,
.jazeb-cart-item.layout-row .cart-item-middle-row {
    display: contents;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item-image-wrapper,
.jazeb-cart-item.layout-row .jazeb-cart-item-image-wrapper {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: center;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item-image,
:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item-image-wrapper img,
.jazeb-cart-item.layout-row .jazeb-cart-item-image,
.jazeb-cart-item.layout-row .jazeb-cart-item-image-wrapper img {
    width: 68px;
    height: 68px;
    min-width: 68px;
    border-radius: 14px;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .cart-item-title-row,
.jazeb-cart-item.layout-row .cart-item-title-row {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item-title,
.jazeb-cart-item.layout-row .jazeb-cart-item-title {
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.35;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item-remove-wrapper,
.jazeb-cart-item.layout-row .jazeb-cart-item-remove-wrapper {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item-variations-wrapper,
.jazeb-cart-item.layout-row .jazeb-cart-item-variations-wrapper {
    grid-column: 2 / span 2;
    grid-row: 2;
    margin: 0;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .cart-item-bottom-row,
.jazeb-cart-item.layout-row .cart-item-bottom-row {
    grid-column: 2 / span 2;
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding-top: 4px;
    border-top: none;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item-price,
.jazeb-cart-item.layout-row .jazeb-cart-item-price {
    font-size: 14px;
    font-weight: 850;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item-quantity,
.jazeb-cart-item.layout-row .jazeb-cart-item-quantity {
    padding: 2px 4px;
    border-radius: 12px;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .quantity-btn,
.jazeb-cart-item.layout-row .quantity-btn {
    width: 26px;
    height: 26px;
    border-radius: 8px;
}


/* 4. طرح مینیمال باریک (Minimal / Clean Layout) */
:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-cart-item,
.jazeb-cart-item.layout-minimal {
    display: flex;
    flex-direction: column;
    padding: 12px 6px;
    margin-bottom: 0;
    border: none;
    border-bottom: 1px solid rgba(226, 228, 242, 0.75);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: background 0.2s ease;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-cart-item:last-child,
.jazeb-cart-item.layout-minimal:last-child {
    border-bottom: none;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-cart-item:hover,
.jazeb-cart-item.layout-minimal:hover {
    background: rgba(248, 250, 252, 0.6);
    transform: none;
    box-shadow: none;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .cart-item-title-row,
.jazeb-cart-item.layout-minimal .cart-item-title-row {
    margin-bottom: 6px;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-cart-item-title,
.jazeb-cart-item.layout-minimal .jazeb-cart-item-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #334155;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .cart-item-middle-row,
.jazeb-cart-item.layout-minimal .cart-item-middle-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-cart-item-image,
:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-cart-item-image-wrapper img,
.jazeb-cart-item.layout-minimal .jazeb-cart-item-image,
.jazeb-cart-item.layout-minimal .jazeb-cart-item-image-wrapper img {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 10px;
    border: 1px solid rgba(226, 228, 242, 0.6);
    box-shadow: none;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-remove-item,
.jazeb-cart-item.layout-minimal .jazeb-remove-item {
    background: transparent;
    border: none;
    color: #94a3b8;
    width: 28px;
    height: 28px;
    min-width: 28px;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-remove-item:hover,
.jazeb-cart-item.layout-minimal .jazeb-remove-item:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .cart-item-bottom-row,
.jazeb-cart-item.layout-minimal .cart-item-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: none;
    padding-top: 0;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-cart-item-quantity,
.jazeb-cart-item.layout-minimal .jazeb-cart-item-quantity {
    background: #ffffff;
    border: 1px solid rgba(226, 228, 242, 0.8);
    box-shadow: none;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-cart-item-price,
.jazeb-cart-item.layout-minimal .jazeb-cart-item-price {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

/* ========================================================
   دیالوگ تایید خالی کردن سبد خرید (Clear Cart Confirm Dialog)
======================================================== */
.jazeb-cart-confirm-overlay {
    position: absolute;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: inherit;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.jazeb-cart-confirm-overlay.is-active {
    display: flex;
    opacity: 1;
}

.jazeb-cart-confirm-overlay.is-closing {
    opacity: 0;
    pointer-events: none;
}

.jazeb-cart-confirm-box {
    position: relative;
    width: 100%;
    max-width: 320px;
    max-height: 90%;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px 20px;
    text-align: center;
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(226, 232, 240, 0.8);
    box-sizing: border-box;
    transform: scale(0.92) translateY(8px);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.jazeb-cart-confirm-overlay.is-active .jazeb-cart-confirm-box {
    transform: scale(1) translateY(0);
}

.jazeb-cart-confirm-overlay.is-closing .jazeb-cart-confirm-box {
    transform: scale(0.92) translateY(8px);
}

/* دکمه ضربدر بستن در گوشه */
.jazeb-cart-confirm-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #94a3b8;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    z-index: 2;
}

.jazeb-cart-confirm-close:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.jazeb-cart-confirm-close .jazeb-icon-svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none !important;
}

/* نشان آیکون هشدار */
.jazeb-cart-confirm-icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
}

.jazeb-cart-confirm-icon-badge {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #fee2e2;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.08);
    transition: transform 0.3s ease;
}

.jazeb-cart-confirm-box:hover .jazeb-cart-confirm-icon-badge {
    transform: scale(1.06);
}

.jazeb-cart-confirm-icon-badge i {
    font-size: 26px;
    line-height: 1;
}

.jazeb-cart-confirm-icon-badge .jazeb-icon-svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    fill: none !important;
    stroke-width: 2;
}

/* عنوان دیالوگ */
.jazeb-cart-confirm-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

/* توضیحات دیالوگ */
.jazeb-cart-confirm-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 20px;
    word-break: break-word;
}

/* کانتینر اکشن‌ها و دکمه‌ها */
.jazeb-cart-confirm-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.jazeb-cart-confirm-btn-cancel,
.jazeb-cart-confirm-btn-submit {
    flex: 1 1 0;
    min-width: 0;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    box-sizing: border-box;
}

.jazeb-cart-confirm-btn-cancel {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.jazeb-cart-confirm-btn-cancel:hover {
    background-color: #e2e8f0;
    color: #1e293b;
    transform: translateY(-1px);
}

.jazeb-cart-confirm-btn-submit {
    background-color: #ef4444;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.jazeb-cart-confirm-btn-submit:hover {
    background-color: #dc2626;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

.jazeb-cart-confirm-btn-submit:disabled,
.jazeb-cart-confirm-btn-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.jazeb-cart-confirm-btn-submit .btn-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.jazeb-cart-confirm-btn-submit .btn-spinner .jazeb-icon-svg {
    animation: jazeb-spin 0.8s linear infinite;
    stroke: currentColor;
    fill: none !important;
}

@keyframes jazeb-badge-bounce {
    0% { transform: scale(0.6) rotate(-10deg); opacity: 0; }
    50% { transform: scale(1.15) rotate(4deg); }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.jazeb-cart-confirm-overlay.is-active .jazeb-cart-confirm-icon-badge {
    animation: jazeb-badge-bounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

/* هماهنگی با پریست‌های اختصاصی */
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-confirm-overlay {
    background-color: rgba(10, 14, 23, 0.82);
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-confirm-box {
    background: #1e2433;
    border: 1px solid #2e374d;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-confirm-title {
    color: #f8fafc;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-confirm-desc {
    color: #94a3b8;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-confirm-btn-cancel {
    background-color: #272f42;
    color: #cbd5e1;
    border-color: #3b4661;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-confirm-btn-cancel:hover {
    background-color: #323c54;
    color: #ffffff;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-confirm-close {
    color: #64748b;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-confirm-close:hover {
    color: #f8fafc;
    background: #2a3348;
}

.jazeb-cart-widget.jazeb-cart-preset-glassmorphism .jazeb-cart-confirm-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ریسپانسیو در صفحات کوچک */
@media (max-width: 480px) {
    .jazeb-cart-confirm-box {
        padding: 20px 16px 16px;
        max-width: 290px;
    }

    .jazeb-cart-confirm-actions {
        gap: 8px;
    }

    .jazeb-cart-confirm-btn-cancel,
    .jazeb-cart-confirm-btn-submit {
        height: 38px;
        font-size: 12px;
        padding: 0 10px;
    }
}

/* حالت پیش‌نمایش در ویرایشگر المنتور */
.jazeb-cart-confirm-overlay.is-preview {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: absolute !important;
}
.jazeb-cart-confirm-overlay.is-preview .jazeb-cart-confirm-box {
    transform: scale(1) translateY(0) !important;
}


/* ==========================================================================
   محصولات ساده - حذف فاصله بین عنوان و بخش قیمت و فیلد تعداد
   (Simple Products - Tight layout with zero void between title & price/field)
   ========================================================================== */

/* مخفی‌سازی کامل محفظه متغیرها در محصولات ساده و موارد خالی */
.jazeb-cart-item.is-simple-product .jazeb-cart-item-variations-wrapper,
.jazeb-cart-item-variations-wrapper:empty {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* 1. طرح کارت (Card Layout) برای محصولات ساده */
:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .jazeb-cart-item.is-simple-product,
.jazeb-cart-item.layout-card.is-simple-product {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    grid-template-rows: auto auto !important;
    column-gap: 14px !important;
    row-gap: 8px !important;
    align-items: center !important;
    padding: 14px 16px !important;
}

:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .jazeb-cart-item.is-simple-product .cart-item-middle-row,
.jazeb-cart-item.layout-card.is-simple-product .cart-item-middle-row {
    display: contents !important;
    margin: 0 !important;
    gap: 0 !important;
}

:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .jazeb-cart-item.is-simple-product .jazeb-cart-item-image-wrapper,
.jazeb-cart-item.layout-card.is-simple-product .jazeb-cart-item-image-wrapper {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    align-self: center !important;
    margin: 0 !important;
}

:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .jazeb-cart-item.is-simple-product .cart-item-title-row,
.jazeb-cart-item.layout-card.is-simple-product .cart-item-title-row {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin-bottom: 0 !important;
    gap: 8px !important;
}

:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .jazeb-cart-item.is-simple-product .jazeb-cart-item-remove-wrapper,
.jazeb-cart-item.layout-card.is-simple-product .jazeb-cart-item-remove-wrapper {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    margin: 0 !important;
}

:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .jazeb-cart-item.is-simple-product .cart-item-bottom-row,
.jazeb-cart-item.layout-card.is-simple-product .cart-item-bottom-row {
    grid-column: 2 / span 2 !important;
    grid-row: 2 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
    gap: 10px !important;
}

/* حالت بدون تصویر در محصولات ساده در طرح کارت */
:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .jazeb-cart-item.is-simple-product.has-no-image,
.jazeb-cart-item.layout-card.is-simple-product.has-no-image {
    grid-template-columns: 1fr auto !important;
}
:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .jazeb-cart-item.is-simple-product.has-no-image .cart-item-title-row,
.jazeb-cart-item.layout-card.is-simple-product.has-no-image .cart-item-title-row {
    grid-column: 1 !important;
}
:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .jazeb-cart-item.is-simple-product.has-no-image .jazeb-cart-item-remove-wrapper,
.jazeb-cart-item.layout-card.is-simple-product.has-no-image .jazeb-cart-item-remove-wrapper {
    grid-column: 2 !important;
}
:is(.jazeb-layout-card, [class*="jazeb-layout-card"]) .jazeb-cart-item.is-simple-product.has-no-image .cart-item-bottom-row,
.jazeb-cart-item.layout-card.is-simple-product.has-no-image .cart-item-bottom-row {
    grid-column: 1 / span 2 !important;
}

/* 2. طرح سطری / افقی (Row Layout) برای محصولات ساده */
:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item.is-simple-product,
.jazeb-cart-item.layout-row.is-simple-product {
    grid-template-rows: auto auto !important;
    row-gap: 8px !important;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item.is-simple-product .jazeb-cart-item-image-wrapper,
.jazeb-cart-item.layout-row.is-simple-product .jazeb-cart-item-image-wrapper {
    grid-row: 1 / span 2 !important;
}

:is(.jazeb-layout-row, [class*="jazeb-layout-row"]) .jazeb-cart-item.is-simple-product .cart-item-bottom-row,
.jazeb-cart-item.layout-row.is-simple-product .cart-item-bottom-row {
    grid-row: 2 !important;
    margin: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}

/* 3. طرح فشرده (Compact Layout) برای محصولات ساده */
:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .jazeb-cart-item.is-simple-product,
.jazeb-cart-item.layout-compact.is-simple-product {
    gap: 4px !important;
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .jazeb-cart-item.is-simple-product .cart-item-title-row,
.jazeb-cart-item.layout-compact.is-simple-product .cart-item-title-row {
    margin-bottom: 2px !important;
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .jazeb-cart-item.is-simple-product .cart-item-middle-row,
.jazeb-cart-item.layout-compact.is-simple-product .cart-item-middle-row {
    margin-bottom: 2px !important;
}

:is(.jazeb-layout-compact, [class*="jazeb-layout-compact"]) .jazeb-cart-item.is-simple-product .cart-item-bottom-row,
.jazeb-cart-item.layout-compact.is-simple-product .cart-item-bottom-row {
    padding-top: 4px !important;
}

/* 4. طرح مینیمال (Minimal Layout) برای محصولات ساده */
:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-cart-item.is-simple-product .cart-item-title-row,
.jazeb-cart-item.layout-minimal.is-simple-product .cart-item-title-row {
    margin-bottom: 2px !important;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-cart-item.is-simple-product .cart-item-middle-row,
.jazeb-cart-item.layout-minimal.is-simple-product .cart-item-middle-row {
    margin-bottom: 2px !important;
}

:is(.jazeb-layout-minimal, [class*="jazeb-layout-minimal"]) .jazeb-cart-item.is-simple-product .cart-item-bottom-row,
.jazeb-cart-item.layout-minimal.is-simple-product .cart-item-bottom-row {
    padding-top: 4px !important;
}

/* ==========================================================================
   دکمه حذف - تضمین وضوح، نمایش کامل و عدم ناپدید شدن آیکون در تمام شرایط
   ========================================================================== */

.jazeb-remove-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.jazeb-remove-item svg,
.jazeb-remove-item .jazeb-icon-svg {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;
    display: inline-block !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2.5 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    vertical-align: middle !important;
    pointer-events: none !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.jazeb-remove-item i {
    display: inline-block !important;
    font-size: 13px !important;
    line-height: 1 !important;
    color: currentColor !important;
    vertical-align: middle !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.jazeb-remove-item img {
    display: inline-block !important;
    width: 14px !important;
    height: 14px !important;
    vertical-align: middle !important;
}

.jazeb-remove-item:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}

.jazeb-remove-item:hover svg,
.jazeb-remove-item:hover .jazeb-icon-svg {
    stroke: #ffffff !important;
}

.jazeb-remove-item:hover i {
    color: #ffffff !important;
}


/* ==========================================================================
   چیدمان هوشمند فوتر سبد خرید: جمع کل و دکمه‌های عملیات
   (Smart Cart Footer Actions: Two-Buttons Stacked vs Single-Button Inline)
   ========================================================================== */

.jazeb-cart-footer-actions {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

/* ۱. حالت دو دکمه: جمع کل در بالای هر دو دکمه */
.jazeb-cart-footer-actions.has-two-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0;
}

.jazeb-cart-footer-actions.has-two-buttons .jazeb-cart-summary-breakdown {
    width: 100%;
}

.jazeb-cart-footer-actions.has-two-buttons .jazeb-cart-buttons {
    width: 100%;
    display: flex;
    gap: 12px;
}

/* ۲. حالت تک دکمه (یکی از دکمه‌ها مخفی است): جمع کل کنار دکمه */
.jazeb-cart-footer-actions.has-one-button,
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child) {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.jazeb-cart-footer-actions.has-one-button .jazeb-cart-summary-breakdown,
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child) .jazeb-cart-summary-breakdown {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    flex: 1 1 auto;
    min-width: 0;
}

.jazeb-cart-footer-actions.has-one-button .jazeb-cart-total,
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child) .jazeb-cart-total {
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    white-space: nowrap !important;
}

.jazeb-cart-footer-actions.has-one-button .jazeb-cart-total-label,
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child) .jazeb-cart-total-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.3;
}

.jazeb-cart-footer-actions.has-one-button .jazeb-cart-total-amount,
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child) .jazeb-cart-total-amount {
    font-size: 16.5px;
    font-weight: 850;
    color: #0f172a;
    line-height: 1.3;
}

.jazeb-cart-footer-actions.has-one-button .jazeb-cart-buttons,
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child) .jazeb-cart-buttons {
    flex: 0 0 auto;
    width: auto;
    min-width: 130px;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.jazeb-cart-footer-actions.has-one-button .jazeb-cart-buttons a,
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child) .jazeb-cart-buttons a {
    width: 100%;
    white-space: nowrap;
    padding: 11px 20px;
    font-size: 13.5px;
    box-sizing: border-box;
}

/* جهت قرارگیری تک دکمه و جمع کل */
.jazeb-cart-footer-actions.has-one-button.dir-reverse,
.jazeb-cart-footer-actions.has-one-button[style*="row-reverse"],
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child)[style*="row-reverse"] {
    flex-direction: row-reverse !important;
}

.jazeb-cart-footer-actions.has-one-button.dir-reverse .jazeb-cart-total,
.jazeb-cart-footer-actions.has-one-button[style*="row-reverse"] .jazeb-cart-total,
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child)[style*="row-reverse"] .jazeb-cart-total {
    justify-content: flex-end !important;
    align-items: baseline !important;
    text-align: left !important;
}

.jazeb-cart-footer-actions.has-one-button.dir-column,
.jazeb-cart-footer-actions.has-one-button[style*="column"],
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child)[style*="column"] {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
}

.jazeb-cart-footer-actions.has-one-button.dir-column .jazeb-cart-buttons,
.jazeb-cart-footer-actions.has-one-button[style*="column"] .jazeb-cart-buttons,
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child)[style*="column"] .jazeb-cart-buttons {
    width: 100% !important;
}

.jazeb-cart-footer-actions.has-one-button.dir-column-reverse,
.jazeb-cart-footer-actions.has-one-button[style*="column-reverse"],
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child)[style*="column-reverse"] {
    flex-direction: column-reverse !important;
    align-items: stretch !important;
    gap: 12px !important;
}

.jazeb-cart-footer-actions.has-one-button.dir-column-reverse .jazeb-cart-buttons,
.jazeb-cart-footer-actions.has-one-button[style*="column-reverse"] .jazeb-cart-buttons,
.jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child)[style*="column-reverse"] .jazeb-cart-buttons {
    width: 100% !important;
}

/* سازگاری با پریست دارک لوکس */
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-footer-actions.has-one-button .jazeb-cart-total-label,
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child) .jazeb-cart-total-label {
    color: #94a3b8 !important;
}

.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-footer-actions.has-one-button .jazeb-cart-total-amount,
.jazeb-cart-widget.jazeb-cart-preset-dark-luxury .jazeb-cart-footer-actions:has(.jazeb-cart-buttons > a:only-child) .jazeb-cart-total-amount {
    color: #f8fafc !important;
}


