/* ============================================================
   BOOKS CART MOBILE v1.0 — Oak Street Books
   Mobile optimization for Cart & Checkout pages.
   All overrides use @media (max-width: 768px).
   Desktop is NEVER affected.
   ============================================================ */

:root {
    --prb-accent: #0f9d8f;
    --prb-green: #0b7a70;
    --prb-dark: #1a1a2e;
    --prb-light-bg: #f8f9fa;
    --prb-bottom-bar-height: 60px;
}

@media (max-width: 768px) {
    body.woocommerce-cart .prb-m-qty {
        display: inline-flex !important;
        align-items: center !important;
        border: 2px solid rgba(15, 157, 143, 0.2) !important;
        border-radius: 999px !important;
        overflow: hidden !important;
        width: 112px !important;
        min-width: 112px !important;
        max-width: 112px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(15, 157, 143, 0.08) !important;
        margin: 10px 0 8px !important;
        flex: 0 0 112px !important;
    }

    body.woocommerce-cart .prb-m-qty__btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        color: #4fbfb2 !important;
        background: #fff !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        border: 0 !important;
        padding: 0 !important;
    }

    body.woocommerce-cart .prb-m-qty__btn:active {
        background: #fff3f7 !important;
    }

    body.woocommerce-cart .prb-m-qty__val {
        display: block !important;
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 38px !important;
        line-height: 38px !important;
        text-align: center !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #2b2b2b !important;
        border-left: 1px solid rgba(15, 157, 143, 0.2) !important;
        border-right: 1px solid rgba(15, 157, 143, 0.2) !important;
        background: #fff !important;
    }

    body.woocommerce-cart .wc-block-components-quantity-selector {
        display: inline-flex !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        width: 112px !important;
        max-width: 112px !important;
        min-width: 112px !important;
        height: 38px !important;
        max-height: 38px !important;
        min-height: 38px !important;
        border-radius: 999px !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
        flex: 0 0 112px !important;
        border: 2px solid #7fd1c7 !important;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(15, 157, 143, 0.08) !important;
        box-sizing: border-box !important;
        position: relative !important;
        transform: none !important;
    }

    body.woocommerce-cart .wc-block-components-quantity-selector__button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        aspect-ratio: auto !important;
        font-size: 0 !important;
        background: #fff !important;
        color: transparent !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-cart .wc-block-components-quantity-selector[data-prb-mobile-qty-hidden="1"] {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        min-width: 1px !important;
        min-height: 1px !important;
        max-width: 1px !important;
        max-height: 1px !important;
        opacity: 0 !important;
        overflow: hidden !important;
        clip-path: inset(50%) !important;
        pointer-events: none !important;
        border: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body.woocommerce-cart .wc-block-components-quantity-selector__button::before {
        display: block !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        color: #4fbfb2 !important;
    }

    body.woocommerce-cart .wc-block-components-quantity-selector__button--minus::before {
        content: "−" !important;
        transform: translateY(-1px);
    }

    body.woocommerce-cart .wc-block-components-quantity-selector__button--plus::before {
        content: "+" !important;
        transform: translateY(-1px);
    }

    body.woocommerce-cart .wc-block-components-quantity-selector__button:first-child {
        border-right: 0 !important;
    }

    body.woocommerce-cart .wc-block-components-quantity-selector__button:last-child {
        border-left: 0 !important;
    }

    body.woocommerce-cart .wc-block-components-quantity-selector__input {
        display: block !important;
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: #2b2b2b !important;
        text-align: center !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 38px !important;
        aspect-ratio: auto !important;
        box-sizing: border-box !important;
        border-left: 1px solid rgba(15, 157, 143, 0.45) !important;
        border-right: 1px solid rgba(15, 157, 143, 0.45) !important;
    }
}

/* ==========================================================================
   MOBILE PREVIEW PORT — CART
   Ported from mobile-preview-cart.php to match approved mobile design.
   ========================================================================== */
@media (max-width: 768px) {
    body.woocommerce-cart {
        background: #f7f7f8 !important;
        color: #333 !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart {
        padding: 12px 12px calc(var(--prb-bottom-bar-height) + env(safe-area-inset-bottom) + 16px) !important;
        margin: 0 !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-filled-cart-block,
    body.woocommerce-cart .wc-block-components-sidebar-layout {
        gap: 12px !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
    body.woocommerce-cart .wp-block-woocommerce-cart-totals-block,
    body.woocommerce-cart .wc-block-components-main,
    body.woocommerce-cart .wc-block-components-sidebar {
        background: #fff !important;
        border-radius: 14px !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
        overflow: hidden !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart-items-block,
    body.woocommerce-cart .wp-block-woocommerce-cart-totals-block {
        padding: 0 !important;
    }

    body.woocommerce-cart .wc-block-cart-items__header {
        display: flex !important;
        justify-content: space-between !important;
        padding: 14px 16px 10px !important;
        border-bottom: 1px solid #e5e7eb !important;
        background: #fff !important;
    }

    body.woocommerce-cart .wc-block-cart-items__header th {
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
        color: #6b7280 !important;
        border: 0 !important;
        padding: 0 !important;
    }

    body.woocommerce-cart .wc-block-cart-items__row {
        display: grid !important;
        grid-template-columns: 72px minmax(0, 1fr) auto !important;
        gap: 12px !important;
        padding: 14px 16px !important;
        border-bottom: 1px solid #f3f4f6 !important;
        align-items: start !important;
    }

    body.woocommerce-cart .wc-block-cart-items__row:last-child {
        border-bottom: 0 !important;
    }

    body.woocommerce-cart .wc-block-cart-item__image {
        width: 72px !important;
        flex: 0 0 72px !important;
    }

    body.woocommerce-cart .wc-block-cart-item__image img {
        width: 72px !important;
        border-radius: 8px !important;
        aspect-ratio: 3 / 4 !important;
        object-fit: cover !important;
        background: #f0f0f0 !important;
    }

    body.woocommerce-cart .wc-block-cart-item__product {
        min-width: 0 !important;
    }

    body.woocommerce-cart .wc-block-components-product-name {
        font-size: 13px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
        color: #111827 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 4px !important;
    }

    body.woocommerce-cart .wc-block-cart-item__prices,
    body.woocommerce-cart .wc-block-components-product-price {
        display: flex !important;
        align-items: baseline !important;
        gap: 6px !important;
        flex-wrap: wrap !important;
        margin-bottom: 4px !important;
    }

    body.woocommerce-cart .wc-block-components-product-price__regular,
    body.woocommerce-cart .price del,
    body.woocommerce-cart del {
        font-size: 12px !important;
        color: #9ca3af !important;
        text-decoration: line-through !important;
    }

    body.woocommerce-cart .wc-block-components-product-price__value,
    body.woocommerce-cart .price ins,
    body.woocommerce-cart ins,
    body.woocommerce-cart .amount {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #0f9d8f !important;
        text-decoration: none !important;
    }

    body.woocommerce-cart .wc-block-cart-item__prices .wc-block-components-product-badge,
    body.woocommerce-cart .sale,
    body.woocommerce-cart .save,
    body.woocommerce-cart [class*="save"] {
        display: inline-flex !important;
        align-items: center !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        color: #fff !important;
        background: #0f9d8f !important;
        border-radius: 4px !important;
        padding: 2px 6px !important;
        letter-spacing: 0.02em !important;
    }

    body.woocommerce-cart .prb-m-qty {
        display: inline-flex !important;
        align-items: center !important;
        border: 2px solid rgba(15, 157, 143, 0.2) !important;
        border-radius: 999px !important;
        overflow: hidden !important;
        height: 38px !important;
        width: auto !important;
        min-width: 112px !important;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(15, 157, 143, 0.08) !important;
        margin: 6px 0 0 !important;
        flex: 0 0 auto !important;
    }

    body.woocommerce-cart .prb-m-qty__btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        height: 38px !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        color: #0f9d8f !important;
        background: #fff !important;
        line-height: 1 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    body.woocommerce-cart .prb-m-qty__btn:active {
        background: #fef2f5 !important;
    }

    body.woocommerce-cart .prb-m-qty__val {
        width: 36px !important;
        text-align: center !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        color: #111827 !important;
        border-left: 1px solid rgba(15, 157, 143, 0.2) !important;
        border-right: 1px solid rgba(15, 157, 143, 0.2) !important;
        line-height: 38px !important;
        height: 38px !important;
        background: #fff !important;
    }

    body.woocommerce-cart .wc-block-cart-item__remove-link,
    body.woocommerce-cart .wc-block-cart-item__remove,
    body.woocommerce-cart .wc-block-components-product-metadata__description + .wc-block-cart-item__remove-link {
        font-size: 12px !important;
        color: #9ca3af !important;
        padding: 4px 0 !important;
        margin-top: 6px !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-heading-block,
    body.woocommerce-cart .wc-block-components-totals-wrapper h2 {
        font-size: 17px !important;
        font-weight: 800 !important;
        color: #111827 !important;
        margin: 0 0 14px !important;
        padding-bottom: 12px !important;
        border-bottom: 2px solid #e5e7eb !important;
    }

    body.woocommerce-cart .wc-block-components-totals-wrapper {
        padding: 18px 16px !important;
    }

    body.woocommerce-cart .wc-block-components-totals-item {
        padding: 8px 0 !important;
    }

    body.woocommerce-cart .wc-block-components-totals-item__label {
        font-size: 14px !important;
        color: #6b7280 !important;
    }

    body.woocommerce-cart .wc-block-components-totals-item__value {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #333 !important;
    }

    body.woocommerce-cart .wc-block-components-totals-footer-item {
        padding-top: 10px !important;
        margin-top: 8px !important;
    }

    body.woocommerce-cart .wc-block-components-totals-footer-item::before {
        content: "" !important;
        display: block !important;
        border-top: 2px solid #0f9d8f !important;
        margin-bottom: 10px !important;
    }

    body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #111827 !important;
    }

    body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
        font-size: 22px !important;
        font-weight: 800 !important;
        color: #0f9d8f !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout {
        margin: 16px 12px 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__paypal,
    body.woocommerce-cart .m-express__paypal-btn {
        width: 100% !important;
        min-height: 52px !important;
        border-radius: 10px !important;
        background: transparent !important;
        border: 0 !important;
        overflow: hidden !important;
        box-shadow: none !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__note,
    body.woocommerce-cart .m-express__note {
        text-align: center !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #111827 !important;
        line-height: 1.45 !important;
        margin: 0 !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__subnote,
    body.woocommerce-cart .m-express__subnote {
        display: block !important;
        font-size: 11px !important;
        font-weight: 400 !important;
        color: #6b7280 !important;
        margin-top: 1px !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__or,
    body.woocommerce-cart .m-or-divider {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 4px 0 !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__or-line,
    body.woocommerce-cart .m-or-divider__line {
        flex: 1 !important;
        height: 2px !important;
        background: #e5e7eb !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__or-text,
    body.woocommerce-cart .m-or-divider__text {
        font-size: 11px !important;
        font-weight: 700 !important;
        letter-spacing: 0.16em !important;
        color: #9ca3af !important;
        text-transform: uppercase !important;
    }

    body.woocommerce-cart .wc-block-cart__submit-button,
    body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button {
        min-height: 52px !important;
        border-radius: 10px !important;
        background: linear-gradient(135deg, #0f9d8f 0%, #7fd1c7 100%) !important;
        box-shadow: 0 4px 14px rgba(15, 157, 143, 0.3) !important;
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
        margin: 4px 12px 20px !important;
        width: calc(100% - 24px) !important;
    }
}

/* ==========================================================================
   HERO SEARCH BAR
   ========================================================================== */
.prb-hero-search {
    display: none;
}

/* ==========================================================================
   BOTTOM BAR (mobile only, shown by JS)
   ========================================================================== */
.prb-bottom-bar {
    display: none;
}

/* ==========================================================================
   SEARCH POPUP (mobile only, shown by JS)
   ========================================================================== */
.prb-search-popup {
    display: none;
    position: fixed;
    bottom: var(--prb-bottom-bar-height);
    left: 0;
    right: 0;
    background: #fff;
    z-index: 9999;
    padding: 10px 14px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.25s ease;
}
.prb-search-popup.is-open {
    transform: translateY(0);
}
.prb-search-popup__inner {
    display: flex;
    align-items: center;
    gap: 8px;
}
.prb-search-popup__input {
    flex: 1;
    padding: 10px 14px;
    border: 1.5px solid #e5e5e5;
    border-radius: 30px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
}
.prb-search-popup__input:focus {
    border-color: var(--prb-accent);
}
.prb-search-popup__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #e5e5e5;
    background: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   MOBILE-ONLY STYLES
   ========================================================================== */
@media (max-width: 768px) {

    /* --- Body padding for bottom bar --- */
    .woocommerce-cart,
    .woocommerce-checkout,
    .woocommerce-account,
    .page-id-70 {
        padding-bottom: calc(var(--prb-bottom-bar-height) + 8px) !important;
    }

    /* ====================================================================
       UNIFIED HEADER (same as homepage)
       Uses body-class prefix to beat theme's high-specificity rules
       e.g. body .books-header .books-header__row { display:flex!important }
       ==================================================================== */

    /* Hide the entire .books-header (logo/search/cart row container) */
    body.woocommerce-cart .books-header,
    body.woocommerce-checkout .books-header,
    body.woocommerce-account .books-header,
    body.page-id-70 .books-header {
        display: none !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
    }

    /* Also hide the row with specificity >= theme's body .books-header .books-header__row */
    body .books-header .books-header__row {
        display: none !important;
        height: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    /* Hide children with body prefix for specificity */
    body .books-header__center,
    body .books-header__left,
    body .books-header__right {
        display: none !important;
    }

    /* --- Nav bar: horizontal scrollable strip --- */
    body .books-nav-bar {
        display: block !important;
        padding: 0 !important;
        overflow: visible !important;
        margin: 0 !important;
        height: auto !important;
        max-height: none !important;
    }
    body .books-nav-bar .books-nav {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        height: auto !important;
    }
    body .books-nav__wrap {
        overflow: visible !important;
        height: auto !important;
        max-width: 100% !important;
    }
    body .books-nav__top {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        gap: 0 !important;
        justify-content: flex-start !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
    }
    body .books-nav__top::-webkit-scrollbar {
        display: none !important;
    }
    body .books-nav__item {
        flex-shrink: 0 !important;
    }
    body .books-nav__link {
        font-size: 11px !important;
        letter-spacing: 0.03em !important;
        padding: 8px 12px !important;
        white-space: nowrap !important;
    }

    /* Mega-menu arrow */
    body .books-nav__item--mega > .books-nav__link::after {
        content: '▾' !important;
        display: inline !important;
        margin-left: 3px !important;
        font-size: 10px !important;
        border: none !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
    }
    /* Mega-menu dropdown */
    body .books-mega {
        display: none !important;
        position: fixed !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 10000 !important;
        background: #fff !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
        padding: 16px !important;
        max-height: 60vh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    body .books-mega.is-open {
        display: block !important;
    }
    body .books-mega__grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 16px !important;
    }
    body .books-mega__col {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }
    body .books-mega__title {
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #1a1a2e !important;
        padding: 4px 0 !important;
        border-bottom: 1px solid #eee !important;
        margin-bottom: 2px !important;
        text-decoration: none !important;
    }
    body .books-mega__link {
        font-size: 12px !important;
        color: #555 !important;
        text-decoration: none !important;
        padding: 3px 0 !important;
        line-height: 1.4 !important;
    }
    .prb-mega-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.3);
        z-index: 9999;
    }
    .prb-mega-overlay.is-open {
        display: block;
    }

    /* --- Hide pink nav strip on cart + account login/register mobile pages --- */
    body.woocommerce-cart .books-nav-bar,
    body.woocommerce-checkout .books-nav-bar,
    body.page-id-70 .books-nav-bar,
    body.woocommerce-account:not(.logged-in) .books-nav-bar {
        display: none !important;
        height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* --- Topbar: compact --- */
    body.woocommerce-cart .books-topbar,
    body.woocommerce-checkout .books-topbar,
    body.woocommerce-account .books-topbar,
    body.page-id-70 .books-topbar {
        font-size: 10px !important;
        padding: 6px 12px !important;
    }

    /* --- Hero search bar --- */
    .prb-hero-search {
        display: block;
        padding: 8px 12px 6px;
        background: #fff;
        position: sticky;
        top: 0;
        z-index: 999;
    }
    .prb-hero-search__form {
        display: flex;
        align-items: center;
        background: #f5f5f5;
        border: 1.5px solid #e5e5e5;
        border-radius: 30px;
        overflow: hidden;
        transition: border-color 0.2s;
        gap: 0;
    }
    .prb-hero-search__form:focus-within {
        border-color: var(--prb-accent);
        background: #fff;
    }
    .prb-hero-search__icon {
        margin-left: 14px;
        flex-shrink: 0;
        color: #999;
    }
    .prb-hero-search__input {
        flex: 1;
        padding: 11px 8px 11px 10px;
        border: none;
        background: transparent;
        font-size: 14px;
        outline: none;
        color: #333;
        font-family: inherit;
    }
    .prb-hero-search__input::placeholder {
        color: #999;
    }
    .prb-hero-search__btn {
        padding: 8px 14px;
        background: none;
        border: none;
        color: #999;
        font-size: 14px;
        font-weight: 700;
        font-family: inherit;
        cursor: pointer;
        white-space: nowrap;
        transition: color 0.2s;
    }
    .prb-hero-search__form:focus-within .prb-hero-search__btn {
        color: var(--prb-accent);
    }

    /* ====================================================================
       REMOVE WHITESPACE: spacers + page title
       ==================================================================== */
    .woocommerce-cart .wp-block-spacer,
    .woocommerce-checkout .wp-block-spacer,
    .woocommerce-account .wp-block-spacer,
    .page-id-70 .wp-block-spacer {
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
    }
    .woocommerce-cart .wp-block-post-title,
    .woocommerce-checkout .wp-block-post-title,
    .woocommerce-account .wp-block-post-title,
    .page-id-70 .wp-block-post-title {
        display: none !important;
    }
    .woocommerce-cart main > .wp-block-group:first-child,
    .woocommerce-checkout main > .wp-block-group:first-child,
    .woocommerce-account main > .wp-block-group:first-child,
    .page-id-70 main > .wp-block-group:first-child {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* ====================================================================
       BOTTOM BAR
       ==================================================================== */
    .prb-bottom-bar {
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        background: #fff;
        border-top: 1px solid #eee;
        padding: 6px 0;
        height: var(--prb-bottom-bar-height);
        box-sizing: border-box;
    }
    .prb-bottom-bar__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        font-size: 10px;
        color: #666;
        text-decoration: none;
        border: none;
        background: none;
        cursor: pointer;
        font-family: inherit;
        -webkit-tap-highlight-color: transparent;
        padding: 4px 8px;
    }
    .prb-bottom-bar__item.is-active {
        color: var(--prb-accent);
    }
    .prb-bottom-bar__item svg {
        width: 22px;
        height: 22px;
    }

    /* ====================================================================
       CART PAGE OPTIMIZATION
       ==================================================================== */

    /* Full-width cart block */
    .wp-block-woocommerce-cart {
        padding: 0 12px !important;
        margin: 8px 0 !important;
    }

    /* Cart layout: stack items + totals vertically */
    .wp-block-woocommerce-filled-cart-block {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .wp-block-woocommerce-cart-items-block {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    .wp-block-woocommerce-cart-totals-block {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    /* Cart line items: compact */
    .wc-block-cart-items .wc-block-cart-items__row {
        padding: 12px 0 !important;
        gap: 10px !important;
    }

    .wc-block-cart-items .wc-block-cart-items__row img {
        width: 70px !important;
        height: auto !important;
        border-radius: 6px !important;
    }

    .wc-block-cart-item__product .wc-block-components-product-name {
        font-size: 13px !important;
        line-height: 1.4 !important;
        -webkit-line-clamp: 2 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .wc-block-cart-item__product .wc-block-components-product-metadata {
        font-size: 11px !important;
    }

    /* Quantity selector: mobile optimized */
    .wc-block-components-quantity-selector {
        width: 112px !important;
        max-width: 112px !important;
        min-width: 112px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        height: 38px !important;
        border-radius: 999px !important;
        aspect-ratio: auto !important;
        border: 2px solid #7fd1c7 !important;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(15, 157, 143, 0.08) !important;
        overflow: hidden !important;
        flex: 0 0 112px !important;
        display: inline-flex !important;
        align-items: stretch !important;
    }
    .wc-block-components-quantity-selector input {
        font-size: 15px !important;
        font-weight: 700 !important;
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 38px !important;
        line-height: 38px !important;
        padding: 0 !important;
        aspect-ratio: auto !important;
        color: #2b2b2b !important;
        border: 0 !important;
        border-left: 1px solid rgba(15, 157, 143, 0.45) !important;
        border-right: 1px solid rgba(15, 157, 143, 0.45) !important;
        background: #fff !important;
        box-sizing: border-box !important;
    }
    .wc-block-components-quantity-selector button {
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        font-size: 0 !important;
        color: transparent !important;
        background: #fff !important;
        border: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        aspect-ratio: auto !important;
    }
    .wc-block-components-quantity-selector button::before {
        display: block !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        color: #4fbfb2 !important;
    }
    .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--minus::before {
        content: "−" !important;
        transform: translateY(-1px);
    }
    .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--plus::before {
        content: "+" !important;
        transform: translateY(-1px);
    }
    .wc-block-components-quantity-selector button:first-child {
        border-right: 0 !important;
    }
    .wc-block-components-quantity-selector button:last-child {
        border-left: 0 !important;
    }

    /* Cart item price */
    .wc-block-cart-item__total .wc-block-components-product-price {
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    /* Order summary: clean look */
    .wc-block-components-totals-wrapper {
        padding: 8px 0 !important;
    }

    .wc-block-components-totals-item__label {
        font-size: 14px !important;
    }

    .wc-block-components-totals-item__value {
        font-size: 14px !important;
        font-weight: 600 !important;
    }

    /* Grand total bigger */
    .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
    .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
        font-size: 18px !important;
        font-weight: 700 !important;
    }

    /* Proceed to checkout button: full width, prominent */
    .wc-block-cart__submit-container .wc-block-cart__submit-button,
    .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button {
        width: 100% !important;
        padding: 14px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        background-color: var(--prb-accent) !important;
        color: #fff !important;
        border: none !important;
        letter-spacing: 0.5px !important;
    }

    /* Coupon form: compact */
    .wc-block-components-totals-coupon .wc-block-components-totals-coupon__input-wrapper {
        flex-wrap: wrap !important;
    }
    .wc-block-components-totals-coupon .wc-block-components-totals-coupon__input {
        font-size: 14px !important;
    }

    /* Empty cart recommendation area: mobile optimization */
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
        padding: 8px 0 0 !important;
    }

    body.woocommerce-cart .wc-block-cart__empty-cart__title {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin: 14px 0 8px !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > p {
        font-size: 13px !important;
        line-height: 1.6 !important;
        margin: 0 0 10px !important;
        color: rgba(0,0,0,0.65) !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block > .wp-block-heading:not(.wc-block-cart__empty-cart__title) {
        font-size: 15px !important;
        margin: 14px 0 8px !important;
        text-align: left !important;
        letter-spacing: 0.02em !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
        background: #fff !important;
        border: 1px solid rgba(0,0,0,0.08) !important;
        border-radius: 14px !important;
        padding: 8px !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link {
        text-decoration: none !important;
        color: #0f9d8f !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image {
        margin-bottom: 8px !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img {
        width: 100% !important;
        aspect-ratio: 3 / 4;
        object-fit: cover !important;
        border-radius: 10px !important;
        display: block !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
        font-size: 11px !important;
        line-height: 1.4 !important;
        min-height: 3.1em !important;
        margin: 0 0 6px !important;
        color: #0f9d8f !important;
        font-weight: 700 !important;
        -webkit-line-clamp: 2 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
        font-size: 13px !important;
        margin: 0 0 6px !important;
        font-weight: 700 !important;
        color: #0b5f5a !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price > .woocommerce-Price-amount,
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price > .amount,
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price ins,
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price ins .woocommerce-Price-amount,
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price ins .woocommerce-Price-currencySymbol {
        color: #0b5f5a !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price del,
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price del .woocommerce-Price-amount,
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price del .woocommerce-Price-currencySymbol,
    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price del bdi {
        color: #888 !important;
        opacity: 1 !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-rating {
        display: none !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-onsale {
        display: none !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
        margin-top: auto !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link {
        width: 100% !important;
        font-size: 11px !important;
        padding: 8px 10px !important;
        border-radius: 8px !important;
        text-align: center !important;
        font-weight: 700 !important;
    }

    /* ====================================================================
       CHECKOUT PAGE SPECIFIC
       ==================================================================== */
    .wc-block-checkout .wc-block-components-text-input input,
    .wc-block-checkout .wc-block-components-text-input textarea {
        font-size: 16px !important; /* prevent iOS zoom */
    }

    .wc-block-checkout__form {
        padding: 0 !important;
    }

    /* Stack checkout columns */
    .wp-block-woocommerce-checkout-fields-block,
    .wp-block-woocommerce-checkout-totals-block {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    /* ====================================================================
       FOOTER: hide site footer on mobile cart/checkout only
       ==================================================================== */
    body.woocommerce-cart .books-footer,
    body.woocommerce-checkout .books-footer,
    body.woocommerce-cart footer.wp-block-template-part,
    body.woocommerce-checkout footer.wp-block-template-part,
    body.woocommerce-cart .wp-site-blocks > footer,
    body.woocommerce-checkout .wp-site-blocks > footer {
        display: none !important;
    }

    /* ====================================================================
       CHAT WIDGET: push above bottom bar
       ==================================================================== */
    .books-chat-widget {
        bottom: calc(var(--prb-bottom-bar-height) + 12px) !important;
    }

    /* iOS zoom prevention */
input, textarea, select, button {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    :root {
        --prb-mobile-card-radius: 14px;
        --prb-mobile-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        --prb-mobile-border: #e5e7eb;
        --prb-mobile-text-muted: #9ca3af;
    }

    body.woocommerce-cart {
        background: #f7f7f8 !important;
    }

    body.woocommerce-cart .prb-hero-search {
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        background: #fff !important;
        padding: 10px 16px 8px !important;
        border-bottom: 1px solid var(--prb-mobile-border) !important;
        margin: 0 !important;
    }

    body.woocommerce-cart .prb-hero-search__form {
        display: flex !important;
        align-items: center !important;
        background: #f5f5f5 !important;
        border: 1.5px solid #e5e5e5 !important;
        border-radius: 30px !important;
        overflow: hidden !important;
    }

    body.woocommerce-cart .prb-hero-search__icon {
        margin-left: 14px !important;
        width: 18px !important;
        height: 18px !important;
        color: #999 !important;
        flex-shrink: 0 !important;
    }

    body.woocommerce-cart .prb-hero-search__input {
        flex: 1 !important;
        padding: 11px 8px 11px 10px !important;
        border: 0 !important;
        background: transparent !important;
        font-size: 14px !important;
        color: #333 !important;
    }

    body.woocommerce-cart .prb-hero-search__btn {
        padding: 8px 14px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #999 !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-cart,
    body.woocommerce-cart .wc-block-cart {
        padding: 14px 12px calc(var(--prb-bottom-bar-height) + env(safe-area-inset-bottom) + 16px) !important;
        gap: 12px !important;
    }

    body.woocommerce-cart .wc-block-components-sidebar-layout {
        gap: 12px !important;
    }

    body.woocommerce-cart .wc-block-cart-items,
    body.woocommerce-cart .wc-block-cart__sidebar,
    body.woocommerce-cart .wp-block-woocommerce-cart-order-summary-block,
    body.woocommerce-cart .wc-block-components-sidebar {
        background: #fff !important;
        border-radius: var(--prb-mobile-card-radius) !important;
        box-shadow: var(--prb-mobile-shadow) !important;
    }

    body.woocommerce-cart .wc-block-cart-items {
        padding: 6px 0 !important;
    }

    body.woocommerce-cart .wc-block-cart-items .wc-block-cart-items__header {
        padding: 14px 16px 10px !important;
        border-bottom: 1px solid var(--prb-mobile-border) !important;
    }

    body.woocommerce-cart .wc-block-cart-items__row {
        padding: 14px 16px !important;
        border-bottom: 1px solid #f3f4f6 !important;
        align-items: flex-start !important;
        grid-template-columns: 72px minmax(0, 1fr) auto !important;
        gap: 12px !important;
    }

    body.woocommerce-cart .wc-block-cart-item__image,
    body.woocommerce-cart .wc-block-cart-item__image img {
        width: 72px !important;
        height: auto !important;
        aspect-ratio: 3 / 4 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        object-fit: cover !important;
    }

    body.woocommerce-cart .wc-block-components-product-name {
        font-size: 13px !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
        color: #111827 !important;
        margin: 0 0 4px !important;
    }

    body.woocommerce-cart .wc-block-components-product-price {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    body.woocommerce-cart .wc-block-cart-item__prices {
        margin-bottom: 4px !important;
    }

    body.woocommerce-cart .prb-m-qty,
    body.woocommerce-cart .wc-block-components-quantity-selector {
        display: inline-flex !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        width: 112px !important;
        min-width: 112px !important;
        max-width: 112px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        margin: 10px 0 8px !important;
        border: 2px solid rgba(15, 157, 143, 0.85) !important;
        border-radius: 999px !important;
        background: #fff !important;
        overflow: hidden !important;
        aspect-ratio: auto !important;
        box-shadow: 0 2px 8px rgba(15, 157, 143, 0.08) !important;
    }

    body.woocommerce-cart .prb-m-qty__btn,
    body.woocommerce-cart .wc-block-components-quantity-selector__button {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff !important;
        color: #4fbfb2 !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        line-height: 1 !important;
        aspect-ratio: auto !important;
        flex: 0 0 38px !important;
        position: relative !important;
    }

    body.woocommerce-cart .prb-m-qty__btn--minus,
    body.woocommerce-cart .wc-block-components-quantity-selector__button--minus {
        border-right: 0 !important;
    }

    body.woocommerce-cart .prb-m-qty__btn--plus,
    body.woocommerce-cart .wc-block-components-quantity-selector__button--plus {
        border-left: 0 !important;
    }

    body.woocommerce-cart .prb-m-qty__val,
    body.woocommerce-cart .wc-block-components-quantity-selector__input {
        display: block !important;
        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-left: 1px solid rgba(15, 157, 143, 0.45) !important;
        border-right: 1px solid rgba(15, 157, 143, 0.45) !important;
        background: #fff !important;
        color: #2b2b2b !important;
        text-align: center !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 38px !important;
        flex: 0 0 36px !important;
    }

    body.woocommerce-cart .wc-block-cart-item__remove-link {
        display: inline-block !important;
        margin-top: 6px !important;
        font-size: 12px !important;
        color: #9ca3af !important;
    }

    body.woocommerce-cart .wc-block-components-sidebar {
        padding: 14px 16px 16px !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout {
        margin: 16px 0 0 !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
        gap: 10px !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__paypal,
    body.woocommerce-cart .m-express__paypal-btn {
        width: 100% !important;
        min-height: 50px !important;
        border-radius: 8px !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__note,
    body.woocommerce-cart .m-express__note {
        text-align: center !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.45 !important;
        color: #111827 !important;
        margin: 0 !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__subnote,
    body.woocommerce-cart .m-express__subnote {
        display: block !important;
        margin-top: 2px !important;
        font-size: 11px !important;
        font-weight: 400 !important;
        color: #6b7280 !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__or,
    body.woocommerce-cart .m-or-divider {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 4px 0 !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__or-line,
    body.woocommerce-cart .m-or-divider__line {
        flex: 1 !important;
        height: 2px !important;
        background: var(--prb-mobile-border) !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__or-text,
    body.woocommerce-cart .m-or-divider__text {
        font-size: 11px !important;
        font-weight: 800 !important;
        letter-spacing: 0.16em !important;
        color: var(--prb-mobile-text-muted) !important;
        text-transform: uppercase !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button,
    body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button {
        width: 100% !important;
        min-height: 52px !important;
        padding: 14px !important;
        border-radius: 10px !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        letter-spacing: 0.04em !important;
    }
}

@media (max-width: 768px) {
    body.woocommerce-cart .wp-block-woocommerce-cart-express-payment-block,
    body.woocommerce-cart [data-block-name="woocommerce/cart-express-payment-block"] {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
    }

    body.woocommerce-cart [data-prb-mobile-hidden="1"] {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
    }

    body.woocommerce-cart .wc-block-components-sidebar {
        padding: 12px 14px 14px !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout {
        margin: 12px 0 0 !important;
        gap: 6px !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__paypal,
    body.woocommerce-cart .m-express__paypal-btn {
        min-height: 48px !important;
        border-radius: 8px !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__paypal > div,
    body.woocommerce-cart .m-express__paypal-btn > div,
    body.woocommerce-cart .prb-cart-fast-checkout__paypal iframe,
    body.woocommerce-cart .m-express__paypal-btn iframe {
        width: 100% !important;
        border-radius: 8px !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__note,
    body.woocommerce-cart .m-express__note {
        margin: 4px 0 1px !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__subnote,
    body.woocommerce-cart .m-express__subnote {
        margin-top: 1px !important;
        font-size: 10.5px !important;
        line-height: 1.35 !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__or,
    body.woocommerce-cart .m-or-divider {
        gap: 10px !important;
        margin: 2px 0 4px !important;
    }

    body.woocommerce-cart .prb-cart-fast-checkout__or-line,
    body.woocommerce-cart .m-or-divider__line {
        height: 2px !important;
    }

    body.woocommerce-cart .wc-block-components-totals-item {
        padding: 8px 0 !important;
    }

    body.woocommerce-cart .wp-block-woocommerce-proceed-to-checkout-block .wc-block-cart__submit-button,
    body.woocommerce-cart .wc-block-cart__submit-container .wc-block-cart__submit-button {
        min-height: 50px !important;
        margin-top: 8px !important;
    }
}

/* ========================================================================== 
   FIREFOX ANDROID BOTTOM BAR GAP FIX
   Firefox can expose a blank strip under fixed bottom navigation while the
   browser chrome is resizing during scroll. Let the bar absorb the bottom
   safe area and reduce page bottom reserve to the same computed height.
   ========================================================================== */
@supports (-moz-appearance: none) {
    @media (max-width: 768px) {
        html,
        body {
            overscroll-behavior-y: none !important;
            background: #fff !important;
        }

        .woocommerce-cart,
        .woocommerce-checkout,
        .woocommerce-account,
        .page-id-70 {
            padding-bottom: calc(var(--prb-bottom-bar-height) + 8px) !important;
        }

        .prb-bottom-bar {
            bottom: 0 !important;
            left: 0 !important;
            right: 0 !important;
            height: var(--prb-bottom-bar-height) !important;
            min-height: var(--prb-bottom-bar-height) !important;
            max-height: var(--prb-bottom-bar-height) !important;
            padding: 6px 0 !important;
            box-sizing: border-box !important;
            background: #fff !important;
            transform: translateZ(0) !important;
            backface-visibility: hidden !important;
            will-change: transform !important;
        }
    }
}
