/* ============================================================
   PURELUXURY — MOBILE-FIRST RESPONSIVE FIXES v2
   Loaded LAST. Uses HIGH specificity to win over functions.php inline.
   ============================================================ */

/* ============================================================
   0. HEADER ICONS — UNIVERSAL RESET (desktop + mobile)
   FIX: search button was rendering as 82×44 rectangle because of
   inherited button padding/border. We override at all sizes.
   ============================================================ */
.pl-header__icon,
button.pl-header__icon,
a.pl-header__icon,
.pl-header__icon.pl-search-toggle,
button#pl-search-toggle,
button.pl-search-toggle,
.pl-header__icons .pl-header__icon {
    width: 40px !important;
    height: 40px !important;
    padding: 8px !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    min-width: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    line-height: 1 !important;
    cursor: pointer;
    color: #fff !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    position: relative;
}

.pl-header__icon:hover,
button.pl-header__icon:hover,
a.pl-header__icon:hover {
    color: #C9A84C !important;
    background: transparent !important;
    border: none !important;
}

.pl-header__icon svg,
button.pl-header__icon svg,
a.pl-header__icon svg,
.pl-search-toggle svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

.pl-header__cart-count {
    position: absolute !important;
    top: 2px !important;
    right: 2px !important;
    background: #C9A84C !important;
    color: #000 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    min-width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    border-radius: 8px !important;
    padding: 0 4px !important;
    text-align: center !important;
}

/* ============================================================
   GLOBAL — prevent horizontal scroll, better touch targets
   NOTE: removed overflow-x:hidden on body — it breaks position:sticky
   ============================================================ */
html { overflow-x: hidden; max-width: 100vw; }
body { overflow-x: hidden; max-width: 100vw; position: relative; }

@media (max-width: 1024px) {
    img, video, iframe { max-width: 100% !important; height: auto; }
    *, *::before, *::after { box-sizing: border-box; }
}

/* ============================================================
   1. HEADER — MOBILE LAYOUT (force hamburger to appear)
   FIX: desktop CSS has higher specificity (button#pl-mobile-toggle)
   so we match or exceed it to win the cascade battle.
   ============================================================ */
@media (max-width: 768px) {
    /* Hide the 180px ::before spacer on mobile (it's for centering logo on desktop) */
    .pl-header__inner::before { display: none !important; content: none !important; }

    /* Header compact */
    .pl-header__inner {
        height: 56px !important;
        padding: 0 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        position: relative !important;
    }

    /* Hide desktop nav */
    .pl-header__nav,
    .pl-header__nav--left,
    .pl-header__nav--right,
    nav.pl-header__nav { display: none !important; }

    /* FORCE hamburger to show — match desktop specificity */
    .pl-header__hamburger,
    button.pl-header__hamburger,
    #pl-mobile-toggle,
    button#pl-mobile-toggle,
    .pl-header__hamburger#pl-mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        width: 40px !important;
        height: 40px !important;
        padding: 8px !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        position: static !important;
        flex-shrink: 0 !important;
        cursor: pointer !important;
        box-shadow: none !important;
        outline: none !important;
        order: 0 !important;
    }

    .pl-header__hamburger span,
    #pl-mobile-toggle span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: #C9A84C !important;
        margin: 0 !important;
        border-radius: 1px !important;
        transition: all 0.3s ease;
    }

    /* Logo centered between hamburger and icons */
    .pl-header__logo {
        flex: 1 1 auto !important;
        text-align: center !important;
        padding: 0 !important;
        margin: 0 !important;
        order: 1 !important;
        min-width: 0 !important;
        position: static !important;
        left: auto !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .pl-logo-link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
        white-space: nowrap !important;
    }

    .pl-logo-word { font-size: 15px !important; letter-spacing: 2.5px !important; line-height: 1 !important; }
    .pl-logo-crown svg { width: 14px !important; height: 14px !important; }

    /* Icons compact group on right */
    .pl-header__icons {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 4px !important;
        width: auto !important;
        flex-shrink: 0 !important;
        order: 2 !important;
        position: static !important;
    }
    .pl-header__icons .pl-header__icon,
    .pl-header__icons button,
    .pl-header__icons a {
        width: 36px !important;
        height: 36px !important;
        padding: 8px !important;
    }
    .pl-header__icons svg { width: 18px !important; height: 18px !important; }

    /* Announcement bar smaller */
    .pl-announcement-bar, .pl-announcement {
        font-size: 9.5px !important;
        padding: 6px 8px !important;
        letter-spacing: 1px !important;
        text-align: center !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 400px) {
    .pl-header__inner { padding: 0 8px !important; height: 52px !important; }
    .pl-logo-word { font-size: 13px !important; letter-spacing: 2px !important; }
    .pl-logo-crown svg { width: 12px !important; height: 12px !important; }
    .pl-logo-link { gap: 4px !important; }
    .pl-header__icons .pl-header__icon { width: 32px !important; height: 32px !important; padding: 6px !important; }
    .pl-header__icons svg { width: 16px !important; height: 16px !important; }
    .pl-header__hamburger, #pl-mobile-toggle { width: 36px !important; height: 36px !important; padding: 6px !important; }
}

/* ============================================================
   2. MOBILE MENU OVERLAY
   ============================================================ */
@media (max-width: 768px) {
    .pl-mobile-menu {
        width: 86vw !important;
        max-width: 360px !important;
        background: #0a0a0a !important;
    }
    .pl-mobile-menu__header { padding: 18px 22px !important; border-bottom: 1px solid rgba(201,168,76,0.15) !important; }
    .pl-mobile-menu__title { font-size: 14px !important; letter-spacing: 3px !important; color: #C9A84C !important; }
    .pl-mobile-menu__close { font-size: 22px !important; padding: 6px 10px !important; }
    .pl-mobile-menu__nav .pl-nav__list,
    .pl-mobile-menu__nav .pl-mobile-nav-list {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .pl-mobile-menu__nav li {
        list-style: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    .pl-mobile-menu__nav li a {
        padding: 16px 22px !important;
        font-size: 14px !important;
        letter-spacing: 1.5px !important;
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
        min-height: 50px !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
    }
    .pl-mobile-menu__nav li a:hover { color: #C9A84C !important; }
}

/* ============================================================
   3. HERO / HOMEPAGE
   ============================================================ */
@media (max-width: 768px) {
    .pl-hero {
        min-height: 65vh !important;
        max-height: 80vh;
    }
    .pl-hero__title,
    .pl-hero h1.pl-hero__title {
        font-size: 2.4rem !important;
        line-height: 1.05 !important;
        letter-spacing: 3px !important;
        padding: 0 18px !important;
        margin: 0 0 12px !important;
    }
    .pl-hero__subtitle {
        font-size: 0.78rem !important;
        letter-spacing: 2.5px !important;
        padding: 0 22px !important;
        line-height: 1.5 !important;
        margin: 0 0 24px !important;
    }
    .pl-hero__cta, .pl-btn--gold {
        padding: 13px 30px !important;
        font-size: 11px !important;
        letter-spacing: 2.5px !important;
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .pl-hero__scroll { display: none !important; }

    /* Section titles */
    .pl-section__title, .pl-section-title, .pl-shop-banner__title {
        font-size: 1.4rem !important;
        letter-spacing: 2.5px !important;
        padding: 0 14px !important;
    }
    .pl-section__subtitle, .pl-shop-banner__desc {
        font-size: 0.7rem !important;
        letter-spacing: 2px !important;
        padding: 0 18px !important;
    }
    .pl-section-divider, .pl-divider, hr.pl-divider {
        margin: 12px auto !important;
    }

    /* Brands grid */
    .pl-brands, .pl-brand-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
        padding: 0 14px !important;
    }
    .pl-brand__img, .pl-brands img {
        width: 68px !important;
        height: 68px !important;
    }
    .pl-brand__name { font-size: 9px !important; letter-spacing: 1px !important; margin-top: 6px !important; }

    /* Categories grid */
    .pl-categories, .pl-category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 14px !important;
    }
    .pl-category__title { font-size: 0.92rem !important; letter-spacing: 1.5px !important; bottom: 12px !important; left: 12px !important; }

    /* Trust badges */
    .pl-trust, .pl-trust-row {
        flex-direction: column !important;
        gap: 22px !important;
        padding: 40px 22px !important;
        align-items: center !important;
    }
    .pl-trust__item, .pl-trust-item { width: 100% !important; }

    /* Newsletter */
    .pl-newsletter, .pl-newsletter-section { padding: 40px 18px !important; }
    .pl-newsletter__form {
        flex-direction: column !important;
        border: none !important;
        max-width: 100% !important;
        gap: 10px !important;
    }
    .pl-newsletter__input {
        border: 1px solid rgba(255,255,255,0.18) !important;
        border-radius: 4px !important;
        padding: 14px 18px !important;
        width: 100% !important;
        font-size: 16px !important;
    }
    .pl-newsletter__btn, .pl-newsletter button {
        border-radius: 4px !important;
        padding: 14px 30px !important;
        width: 100% !important;
        font-size: 12px !important;
        letter-spacing: 2.5px !important;
        min-height: 50px !important;
    }

    /* Featured products carousel */
    .pl-carousel-wrapper { padding: 18px 12px !important; }
    .pl-carousel { gap: 12px !important; }
    .pl-carousel__item {
        flex: 0 0 calc((100% - 12px) / 2) !important;
        min-width: calc((100% - 12px) / 2) !important;
        max-width: calc((100% - 12px) / 2) !important;
    }
    .pl-carousel-arrow {
        width: 32px !important;
        height: 32px !important;
    }
    .pl-carousel-arrow svg { width: 14px !important; height: 14px !important; }

    /* Product cards everywhere */
    ul.products, .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 12px !important;
    }
    ul.products li.product { width: 100% !important; margin: 0 !important; padding: 0 !important; }
    .woocommerce-loop-product__title, .pl-product__title {
        font-size: 12px !important;
        line-height: 1.4 !important;
        min-height: 32px !important;
    }
    .woocommerce-loop-product__title { padding: 8px 4px !important; }
    ul.products li.product .price, .pl-product .price {
        font-size: 13px !important;
    }
    ul.products li.product .button, .add_to_cart_button {
        font-size: 10.5px !important;
        padding: 10px 8px !important;
        letter-spacing: 1.5px !important;
        min-height: 40px !important;
    }
}

@media (max-width: 480px) {
    .pl-hero__title { font-size: 1.8rem !important; letter-spacing: 2px !important; }
    .pl-hero__subtitle { font-size: 0.7rem !important; }
    .pl-brand__img, .pl-brands img { width: 58px !important; height: 58px !important; }
    .pl-brands { gap: 10px !important; }
    .pl-section__title { font-size: 1.2rem !important; }
}

@media (max-width: 400px) {
    .pl-hero__title { font-size: 1.5rem !important; }
    .pl-categories { grid-template-columns: 1fr !important; }
    .pl-category { aspect-ratio: 16/8 !important; }
    .pl-brand__img, .pl-brands img { width: 50px !important; height: 50px !important; }
}

/* ============================================================
   4. SHOP PAGE / BRAND PAGE
   ============================================================ */
@media (max-width: 1024px) {
    /* Brand page: collapse sidebar to top accordion */
    body.is-brand-page .pl-brand-page,
    body.is-brand-page .pl-shop-layout,
    body.is-brand-page .pl-content-grid {
        grid-template-columns: 1fr !important;
        display: block !important;
    }
    body.is-brand-page .pl-brand-sidebar,
    body.is-brand-page .pl-shop-filters,
    body.is-brand-page aside {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 16px !important;
        position: static !important;
    }
}

@media (max-width: 768px) {
    /* Brand hero compact */
    body.is-brand-page .pl-brand-hero,
    body.is-brand-page .pl-brand-header {
        min-height: 180px !important;
        padding: 24px 16px !important;
    }
    body.is-brand-page .pl-brand-hero h1,
    body.is-brand-page .pl-brand-title {
        font-size: 1.5rem !important;
        letter-spacing: 2.5px !important;
    }

    /* Filter sidebar — make collapsible accordion */
    body.is-brand-page .pl-shop-filters,
    body.is-brand-page .pl-brand-sidebar {
        background: #0e0e0e !important;
        border: 1px solid rgba(255,255,255,0.06) !important;
        border-radius: 6px !important;
        padding: 0 !important;
        margin: 0 12px 16px !important;
        max-height: 50px !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease;
    }
    body.is-brand-page .pl-shop-filters.is-open,
    body.is-brand-page .pl-brand-sidebar.is-open {
        max-height: 800px !important;
    }
    body.is-brand-page .pl-filter-toggle,
    body.is-brand-page .pl-shop-filters > h3:first-child,
    body.is-brand-page .pl-shop-filters > .pl-filter-title {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 14px 18px !important;
        cursor: pointer !important;
        margin: 0 !important;
        font-size: 13px !important;
        letter-spacing: 2px !important;
        color: #C9A84C !important;
        text-transform: uppercase !important;
    }
    body.is-brand-page .pl-shop-filters > h3:first-child::after,
    body.is-brand-page .pl-filter-toggle::after {
        content: '+';
        font-size: 18px;
        font-weight: 300;
    }

    /* Sort dropdown */
    .woocommerce-ordering, .pl-shop-toolbar {
        width: 100% !important;
        margin: 0 12px 14px !important;
        padding: 0 !important;
    }
    .woocommerce-ordering select {
        width: 100% !important;
        padding: 12px 14px !important;
        font-size: 14px !important;
        background: #0e0e0e !important;
        color: #fff !important;
        border: 1px solid rgba(255,255,255,0.15) !important;
        border-radius: 4px !important;
    }

    /* Shop banner sections (BAGS, SHOES, etc.) */
    .pl-shop-banner { height: 160px !important; min-height: 160px !important; }
    .pl-shop-banner__title { font-size: 1.4rem !important; letter-spacing: 3px !important; }
    .pl-shop-banner__desc { font-size: 10px !important; }
    .pl-shop-category { padding-bottom: 24px !important; }
}

@media (max-width: 480px) {
    .pl-carousel__item {
        flex: 0 0 calc((100% - 12px) / 2) !important;
    }
    .pl-shop-banner { height: 140px !important; min-height: 140px !important; }
    .pl-shop-banner__title { font-size: 1.2rem !important; letter-spacing: 2.5px !important; }
    .pl-shop-banner__desc { display: none !important; }
}

/* ============================================================
   5. PRODUCT PAGE
   ============================================================ */
@media (max-width: 1024px) {
    .pl-product-container { padding: 24px 14px 50px !important; max-width: 100% !important; }

    .single-product div.product,
    .single-product .pl-product-top {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        display: block !important;
    }
    .single-product .pl-product-top { display: block !important; }
    .single-product .pl-product-top .summary,
    .single-product div.product .summary {
        position: static !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 16px 0 0 !important;
        width: 100% !important;
        margin-top: 22px !important;
    }
    .single-product .woocommerce-product-gallery {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    .single-product .related ul.products,
    .single-product .upsells ul.products {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 768px) {
    .pl-product-container { padding: 16px 10px 36px !important; }

    .single-product .product_title {
        font-size: 1.3rem !important;
        line-height: 1.25 !important;
        letter-spacing: 0.3px !important;
        margin: 0 0 10px !important;
    }
    .single-product .price {
        font-size: 1.45rem !important;
        margin: 0 0 18px !important;
    }
    .single-product .price del { font-size: 0.9rem !important; }

    .single-product .woocommerce-product-details__short-description {
        font-size: 13px !important;
        padding: 4px 0 4px 14px !important;
        margin: 0 0 18px !important;
        line-height: 1.7 !important;
    }

    /* Variations */
    .single-product .variations {
        margin: 0 0 18px !important;
        width: 100% !important;
        border: none !important;
    }
    .single-product .variations select {
        padding: 13px 14px !important;
        font-size: 16px !important;
        width: 100% !important;
    }
    .single-product .variations label {
        font-size: 10.5px !important;
        letter-spacing: 1.5px !important;
        margin: 0 0 6px !important;
    }

    /* Add to cart row stack */
    .single-product form.cart {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        align-items: stretch !important;
    }
    .single-product .quantity {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    .single-product .quantity .qty,
    .single-product .quantity input[type="number"] {
        width: 100% !important;
        max-width: 200px !important;
        height: 50px !important;
        font-size: 16px !important;
        text-align: center !important;
    }
    .single-product .single_add_to_cart_button {
        width: 100% !important;
        padding: 16px !important;
        font-size: 13px !important;
        letter-spacing: 2.5px !important;
        min-height: 54px !important;
        height: 54px !important;
    }

    /* Trust badges */
    .single-product .pl-product-trust {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px 16px !important;
        padding: 18px 0 0 !important;
        margin-top: 20px !important;
    }
    .single-product .pl-trust-item,
    .single-product .pl-product-trust > div {
        font-size: 11px !important;
        gap: 8px !important;
        flex: none !important;
    }
    .single-product .pl-trust-item svg,
    .single-product .pl-product-trust svg { width: 16px !important; height: 16px !important; }

    /* Tabs */
    .single-product .woocommerce-tabs { margin-top: 40px !important; padding-top: 24px !important; }
    .single-product .woocommerce-tabs ul.tabs {
        flex-wrap: wrap !important;
        gap: 0 !important;
    }
    .single-product .woocommerce-tabs ul.tabs li a {
        padding: 12px 16px !important;
        font-size: 11px !important;
        letter-spacing: 1.5px !important;
    }

    /* Related */
    .single-product .related.products,
    .single-product .upsells.products {
        margin-top: 40px !important;
        padding-top: 24px !important;
    }
    .single-product .related ul.products,
    .single-product .upsells ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .single-product .related > h2 {
        font-size: 1.3rem !important;
        margin-bottom: 20px !important;
    }

    /* Gallery thumbnails */
    .woocommerce-product-gallery .flex-control-thumbs li {
        width: calc((100% - 32px) / 5) !important;
    }
}

@media (max-width: 480px) {
    .single-product .product_title { font-size: 1.15rem !important; }
    .single-product .price { font-size: 1.3rem !important; }
    .woocommerce-product-gallery .flex-control-thumbs li {
        width: calc((100% - 24px) / 4) !important;
    }
}

/* ============================================================
   6. CART PAGE
   ============================================================ */
@media (max-width: 768px) {
    .woocommerce-cart .pl-cart-container,
    .woocommerce-cart .woocommerce,
    .woocommerce-cart main { padding: 16px 12px !important; }

    /* Cart product item — fix the broken trash icon overlap */
    .woocommerce-cart-form table.cart {
        display: block !important;
        width: 100% !important;
    }
    .woocommerce-cart-form table.cart thead { display: none !important; }
    .woocommerce-cart-form table.cart tbody,
    .woocommerce-cart-form table.cart tfoot {
        display: block !important;
        width: 100% !important;
    }
    .woocommerce-cart-form table.cart tr.cart_item {
        display: grid !important;
        grid-template-columns: 70px 1fr 28px;
        grid-template-rows: auto auto auto;
        gap: 6px 12px;
        padding: 16px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
        position: relative;
        margin: 0 !important;
    }
    .woocommerce-cart-form table.cart .product-remove {
        grid-column: 3;
        grid-row: 1;
        text-align: center !important;
        padding: 0 !important;
        border: none !important;
    }
    .woocommerce-cart-form table.cart .product-remove a.remove {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 24px !important;
        height: 24px !important;
        border: 1px solid rgba(255,255,255,0.2) !important;
        border-radius: 50% !important;
        color: rgba(255,255,255,0.5) !important;
        font-size: 14px !important;
        line-height: 22px !important;
        background: transparent !important;
    }
    .woocommerce-cart-form table.cart .product-thumbnail {
        grid-column: 1;
        grid-row: 1 / span 3;
        padding: 0 !important;
        border: none !important;
    }
    .woocommerce-cart-form table.cart .product-thumbnail img {
        width: 70px !important;
        height: 70px !important;
        object-fit: cover !important;
        border-radius: 4px !important;
    }
    .woocommerce-cart-form table.cart .product-name {
        grid-column: 2;
        grid-row: 1;
        padding: 0 !important;
        border: none !important;
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        word-break: break-word;
    }
    .woocommerce-cart-form table.cart .product-name a {
        color: #fff !important;
        text-decoration: none !important;
    }
    .woocommerce-cart-form table.cart .product-quantity {
        grid-column: 2;
        grid-row: 2;
        padding: 4px 0 !important;
        border: none !important;
    }
    .woocommerce-cart-form table.cart .product-quantity .quantity {
        display: inline-flex !important;
        align-items: center;
        gap: 0;
    }
    .woocommerce-cart-form table.cart .product-quantity input.qty {
        width: 56px !important;
        height: 36px !important;
        font-size: 14px !important;
        padding: 4px !important;
        text-align: center !important;
    }
    .woocommerce-cart-form table.cart .product-subtotal {
        grid-column: 2;
        grid-row: 3;
        padding: 0 !important;
        border: none !important;
        font-size: 14px !important;
        color: #C9A84C !important;
        font-weight: 600 !important;
    }

    /* Hide product-price column on mobile - it's redundant with subtotal */
    .woocommerce-cart-form table.cart .product-price {
        display: none !important;
    }

    /* Coupon / actions row */
    .woocommerce-cart-form .actions {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        padding: 18px 0 !important;
    }
    .coupon {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .coupon input, .coupon button { width: 100% !important; }

    /* Cart totals */
    .cart-collaterals { padding: 0 !important; width: 100% !important; }
    .cart-collaterals .cart_totals {
        width: 100% !important;
        padding: 22px 18px !important;
        margin-top: 18px !important;
    }
    .cart_totals h2 { font-size: 1.1rem !important; }
    .cart_totals .checkout-button {
        width: 100% !important;
        padding: 16px !important;
        font-size: 13px !important;
        letter-spacing: 2.5px !important;
        min-height: 54px !important;
    }
}

/* ============================================================
   7. CHECKOUT PAGE
   ============================================================ */
@media (max-width: 1024px) {
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout #order_review,
    .woocommerce-checkout .woocommerce-billing-fields,
    .woocommerce-checkout .woocommerce-shipping-fields,
    .woocommerce-checkout .woocommerce-additional-fields,
    .woocommerce-checkout .col2-set,
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        width: 100% !important;
        float: none !important;
    }
    .woocommerce-checkout .col2-set { display: block !important; }
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 { margin-bottom: 22px !important; }
}

@media (max-width: 768px) {
    .woocommerce-checkout main,
    .woocommerce-checkout .pl-checkout-container,
    .woocommerce-checkout .woocommerce { padding: 14px 10px !important; }

    .woocommerce-checkout h1.entry-title,
    .woocommerce-checkout .pl-page-hero__title { font-size: 1.5rem !important; }
    .woocommerce-checkout h3 {
        font-size: 1.05rem !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 12px !important;
    }

    .woocommerce-checkout form .form-row {
        width: 100% !important;
        float: none !important;
        margin: 0 0 12px !important;
        padding: 0 !important;
    }
    .woocommerce-checkout form .form-row label {
        font-size: 11px !important;
        letter-spacing: 1.5px !important;
        margin: 0 0 5px !important;
    }
    .woocommerce-checkout form input[type="text"],
    .woocommerce-checkout form input[type="email"],
    .woocommerce-checkout form input[type="tel"],
    .woocommerce-checkout form input[type="password"],
    .woocommerce-checkout form input[type="number"],
    .woocommerce-checkout form select,
    .woocommerce-checkout form textarea {
        padding: 13px 14px !important;
        font-size: 16px !important;
        width: 100% !important;
        border-radius: 4px !important;
        min-height: 48px !important;
    }

    .select2-container .select2-selection {
        height: 48px !important;
        padding: 8px 12px !important;
    }
    .select2-container .select2-selection__rendered {
        font-size: 16px !important;
        line-height: 30px !important;
    }

    #order_review {
        padding: 18px !important;
        margin-top: 22px;
    }
    table.shop_table { font-size: 13px !important; }
    table.shop_table th, table.shop_table td {
        padding: 10px 8px !important;
    }

    #place_order, .checkout-button {
        width: 100% !important;
        padding: 18px !important;
        font-size: 13px !important;
        letter-spacing: 2.5px !important;
        min-height: 56px !important;
        height: 56px !important;
    }

    .woocommerce-form-coupon-toggle,
    .woocommerce-info {
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
}

/* ============================================================
   8. CART DRAWER MOBILE
   ============================================================ */
@media (max-width: 768px) {
    .pl-cart-drawer__panel { max-width: 100% !important; }
    .pl-cart-drawer__header { padding: 18px !important; }
    .pl-cart-drawer__title { font-size: 12px !important; letter-spacing: 2px !important; }
    .pl-cart-drawer__close { width: 36px !important; height: 36px !important; font-size: 18px !important; }

    .pl-cart-drawer__body .woocommerce-mini-cart-item,
    .pl-cart-drawer__body .cart_list > li {
        padding: 14px 44px 14px 16px !important;
    }
    .pl-cart-drawer__body img {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        max-width: 60px !important;
    }
    .pl-cart-drawer__body .pl-cart-item__title {
        font-size: 12.5px !important;
        line-height: 1.4 !important;
    }
    .pl-cart-drawer__body .quantity {
        padding-left: 74px !important;
        font-size: 11.5px !important;
    }
    .pl-cart-drawer__body .remove {
        top: 12px !important;
        right: 12px !important;
        width: 26px !important;
        height: 26px !important;
    }
    .pl-cart-drawer__body .woocommerce-mini-cart__total,
    .pl-cart-drawer__body .total {
        padding: 18px !important;
        font-size: 12px !important;
    }
    .pl-cart-drawer__body .woocommerce-mini-cart__total .amount { font-size: 16px !important; }
    .pl-cart-drawer__body .woocommerce-mini-cart__buttons {
        padding: 14px 18px 20px !important;
    }
    .pl-cart-drawer__body .woocommerce-mini-cart__buttons a {
        padding: 15px 18px !important;
        font-size: 11.5px !important;
        letter-spacing: 2.5px !important;
        min-height: 48px !important;
    }
}

/* ============================================================
   9. STATIC PAGES (About, Contact, FAQ, Shipping)
   FIX: remove HUGE empty gaps between hero and content
   ============================================================ */
@media (max-width: 768px) {
    /* Page hero very compact */
    .pl-page-hero {
        padding: 22px 14px 14px !important;
        min-height: 0 !important;
    }
    .pl-page-hero__title {
        font-size: 1.5rem !important;
        letter-spacing: 2.5px !important;
        margin: 0 0 8px !important;
    }
    .pl-page-hero__subtitle {
        font-size: 0.72rem !important;
        letter-spacing: 2px !important;
        margin: 0 !important;
    }

    /* Page content tight */
    .pl-page-content,
    .pl-page-container,
    .pl-section-container,
    main.pl-main {
        padding: 14px 14px 30px !important;
    }

    /* CONTACT page: tighten everything */
    body.page-template-template-contact .pl-page-hero { padding-bottom: 0 !important; }
    body.page-template-template-contact .pl-page-content { padding-top: 10px !important; padding-bottom: 30px !important; }
    body.page-template-template-contact .pl-contact-grid {
        margin: 8px 0 !important;
        padding: 0 !important;
        height: auto !important;
    }
    body.page-template-template-contact .pl-contact-grid:empty { display: none !important; }
    body.page-template-template-contact .pl-contact-form {
        margin: 14px 0 0 !important;
        padding: 22px 16px !important;
    }
    .pl-contact-form .pl-form-row,
    .pl-contact-form > div { flex-direction: column !important; gap: 12px !important; }
    .pl-contact-form input, .pl-contact-form textarea {
        width: 100% !important;
        padding: 13px 14px !important;
        font-size: 16px !important;
        min-height: 48px !important;
    }
    .pl-contact-form textarea { min-height: 100px !important; }
    .pl-contact-form label {
        font-size: 10.5px !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 4px !important;
    }
    .pl-contact-form button[type="submit"] {
        width: 100% !important;
        padding: 16px !important;
        font-size: 12px !important;
        letter-spacing: 2.5px !important;
        min-height: 50px !important;
    }

    /* FAQ page */
    body.page-template-template-faq .pl-page-hero { padding-bottom: 0 !important; }
    body.page-template-template-faq .pl-faq-section,
    body.page-template-template-faq .pl-faq-wrapper,
    body.page-template-template-faq .pl-page-content { padding-top: 10px !important; }
    .pl-faq-section h2,
    .pl-faq-category-title {
        font-size: 1rem !important;
        letter-spacing: 2px !important;
        padding: 14px !important;
        margin: 16px 0 0 !important;
    }
    .pl-faq-item, .pl-faq__item, details.pl-faq-item {
        padding: 14px 16px !important;
    }
    .pl-faq-item summary,
    .pl-faq-item .pl-faq-question,
    .pl-faq__question {
        font-size: 13px !important;
        padding-right: 28px !important;
        line-height: 1.4 !important;
    }
    .pl-faq-item .pl-faq-answer,
    .pl-faq__answer {
        font-size: 13px !important;
        line-height: 1.7 !important;
        padding-top: 10px !important;
    }

    /* ABOUT page */
    body.page-template-template-about .pl-page-hero { padding-bottom: 0 !important; }
    body.page-template-template-about .pl-page-content { padding-top: 10px !important; }
    body.page-template-template-about .pl-about-section { padding: 16px 0 !important; }
    body.page-template-template-about .pl-about-section h2 { font-size: 1.15rem !important; }
    body.page-template-template-about .pl-about-section p {
        font-size: 13.5px !important;
        line-height: 1.7 !important;
    }

    /* SHIPPING page */
    body.page-template-template-shipping .pl-page-hero { padding-bottom: 0 !important; }
    body.page-template-template-shipping .pl-shipping-zones,
    body.page-template-template-shipping .pl-shipping-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

/* ============================================================
   10. THANK YOU PAGE
   ============================================================ */
@media (max-width: 600px) {
    .pl-thankyou { padding: 22px 12px 50px !important; }
    .pl-thankyou__hero { padding: 32px 18px !important; }
    .pl-thankyou__title { font-size: 1.25rem !important; }
    .pl-thankyou__sub { font-size: 13px !important; line-height: 1.6 !important; }
    .pl-thankyou__overview {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 14px !important;
    }
    .pl-thankyou__actions { flex-direction: column !important; gap: 10px !important; }
    .pl-thankyou__btn { width: 100% !important; }
}

/* ============================================================
   11. FOOTER
   ============================================================ */
@media (max-width: 768px) {
    .pl-footer__widgets { padding: 32px 16px 22px !important; }
    .pl-footer__grid {
        grid-template-columns: 1fr !important;
        gap: 26px !important;
        text-align: left !important;
    }
    .pl-footer-title, .widget-title {
        font-size: 13px !important;
        letter-spacing: 2px !important;
        margin-bottom: 12px !important;
    }
    .pl-footer__links li a {
        font-size: 13px !important;
        padding: 6px 0 !important;
        display: inline-block !important;
        min-height: 32px !important;
    }
    .pl-footer__social {
        display: flex !important;
        gap: 12px !important;
    }
    .pl-footer__social-link {
        width: 38px !important;
        height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        border-radius: 50% !important;
        color: #fff !important;
    }
    .pl-footer__newsletter {
        flex-direction: column !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .pl-footer__newsletter input,
    .pl-footer__newsletter button {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
        border-radius: 4px !important;
        min-height: 46px !important;
    }
    .pl-footer__bottom { padding: 14px !important; }
    .pl-footer__bottom p { font-size: 11px !important; line-height: 1.6 !important; }
}

/* ============================================================
   12. MY ACCOUNT
   ============================================================ */
@media (max-width: 768px) {
    .woocommerce-MyAccount-navigation,
    .woocommerce-MyAccount-content {
        width: 100% !important;
        float: none !important;
    }
    .woocommerce-MyAccount-navigation { margin-bottom: 16px !important; }
    .woocommerce-MyAccount-navigation ul li a {
        padding: 13px 16px !important;
        font-size: 13px !important;
        min-height: 46px !important;
    }
}

/* ============================================================
   13. TYPOGRAPHY (general)
   ============================================================ */
@media (max-width: 768px) {
    body { font-size: 14px !important; }
    p { line-height: 1.65 !important; }
    h1 { font-size: 1.75rem !important; line-height: 1.2 !important; }
    h2 { font-size: 1.35rem !important; line-height: 1.3 !important; }
    h3 { font-size: 1.15rem !important; line-height: 1.4 !important; }
    h4 { font-size: 1rem !important; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.45rem !important; }
    h2 { font-size: 1.2rem !important; }
    body { font-size: 13.5px !important; }
}


/* ============================================================
   14. SHOP CAROUSEL — Mobile horizontal scroll without arrows
   FIX: parent collapsed to 121px due to arrow buttons taking space
   ============================================================ */
@media (max-width: 768px) {
    .pl-carousel-wrapper {
        padding: 0 !important;
        display: block !important;
        position: relative !important;
        overflow: visible !important;
    }

    /* Hide arrows on mobile — touch swipe instead */
    .pl-carousel-arrow,
    .pl-carousel__arrow,
    .pl-carousel-nav,
    button.pl-carousel-arrow,
    .pl-carousel-prev,
    .pl-carousel-next {
        display: none !important;
    }

    .pl-carousel,
    .pl-carousel__track,
    .pl-products-carousel {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 8px 14px 16px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }
    .pl-carousel::-webkit-scrollbar,
    .pl-carousel__track::-webkit-scrollbar,
    .pl-products-carousel::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }

    .pl-carousel__item,
    .pl-carousel li {
        flex: 0 0 calc(50vw - 22px) !important;
        min-width: calc(50vw - 22px) !important;
        max-width: calc(50vw - 22px) !important;
        scroll-snap-align: start !important;
        margin: 0 !important;
    }

    .pl-carousel__item .pl-product__title,
    .pl-carousel__item h3,
    .pl-carousel li .woocommerce-loop-product__title {
        font-size: 12px !important;
        line-height: 1.35 !important;
        padding: 8px 4px 4px !important;
        margin: 0 !important;
        min-height: 32px !important;
        white-space: normal !important;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .pl-carousel__item .price,
    .pl-carousel li .price {
        font-size: 12.5px !important;
        padding: 0 4px 8px !important;
        margin: 0 !important;
    }
}

@media (max-width: 480px) {
    .pl-carousel__item,
    .pl-carousel li {
        flex: 0 0 calc(65vw - 22px) !important;
        min-width: calc(65vw - 22px) !important;
        max-width: calc(65vw - 22px) !important;
    }
}

/* ============================================================
   15. CONTACT PAGE — Force tight layout on mobile
   FIX: pl-contact-grid contained empty separators — hide them
   ============================================================ */
@media (max-width: 768px) {
    body.page-template-template-contact .pl-page-hero {
        padding: 22px 14px 8px !important;
    }
    body.page-template-template-contact .pl-page-content {
        padding: 8px 14px 30px !important;
    }
    /* The .pl-contact-grid holds the gold divider/intro — make compact */
    body.page-template-template-contact .pl-contact-grid {
        margin: 0 !important;
        padding: 8px 0 !important;
        min-height: 0 !important;
        max-height: 60px !important;
    }
    body.page-template-template-contact .pl-contact-grid:empty,
    body.page-template-template-contact .pl-contact-info:empty { display: none !important; }
    body.page-template-template-contact .pl-contact-form,
    body.page-template-template-contact form {
        margin: 8px 0 0 !important;
        padding: 20px 16px !important;
        background: #0e0e0e !important;
        border-radius: 6px !important;
    }
}

/* ============================================================
   16. SALE BADGE — keep inside card on mobile
   ============================================================ */
@media (max-width: 768px) {
    .pl-product .pl-product__badge,
    .pl-product .onsale,
    .woocommerce ul.products li.product .onsale,
    ul.products li.product .onsale,
    span.onsale {
        font-size: 10px !important;
        padding: 4px 10px !important;
        letter-spacing: 1.5px !important;
        top: 8px !important;
        left: 8px !important;
        right: auto !important;
        position: absolute !important;
        z-index: 3;
        min-height: 0 !important;
        min-width: 0 !important;
    }
}

/* ============================================================
   17. FOOTER NEWSLETTER — Don't overflow on small screens
   ============================================================ */
@media (max-width: 768px) {
    .pl-footer__newsletter,
    footer form {
        max-width: 100% !important;
    }
    .pl-footer__col,
    .pl-footer__column {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ============================================================
   18. FAQ ITEMS — ensure visibility on render
   ============================================================ */
@media (max-width: 768px) {
    .pl-faq-section,
    .pl-faq-wrapper { padding: 0 !important; margin: 0 !important; }
    .pl-faq-section__title,
    .pl-faq-section h3 {
        margin: 18px 14px 10px !important;
        padding: 0 !important;
        font-size: 12px !important;
        letter-spacing: 2px !important;
        color: #C9A84C !important;
        text-transform: uppercase !important;
    }
    .pl-faq-item,
    .pl-faq__item {
        margin: 0 14px 8px !important;
        padding: 0 !important;
        background: #0e0e0e !important;
        border: 1px solid rgba(255,255,255,0.06) !important;
        border-radius: 6px !important;
        overflow: hidden !important;
    }
    .pl-faq-question,
    .pl-faq__question {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 18px !important;
        cursor: pointer !important;
        gap: 10px !important;
        min-height: 56px !important;
    }
    .pl-faq-question__text {
        font-size: 13px !important;
        line-height: 1.4 !important;
        color: #fff !important;
        flex: 1 1 auto;
    }
    .pl-faq-question__icon {
        font-size: 18px !important;
        color: #C9A84C !important;
        flex-shrink: 0;
    }
    .pl-faq-answer,
    .pl-faq__answer {
        padding: 0 18px 16px !important;
        font-size: 13px !important;
        line-height: 1.7 !important;
        color: rgba(255,255,255,0.75) !important;
    }
}


/* ============================================================
   19. FAQ ITEMS - force opacity:1 (animation was stuck at 0)
   ============================================================ */
.pl-faq-item,
.pl-faq__item,
.pl-faq-question,
.pl-faq-answer,
.pl-faq-section {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
}

/* But keep collapse-state transitions when user clicks */
.pl-faq-item .pl-faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 18px !important;
    transition: max-height 0.3s ease, padding 0.3s ease !important;
}
.pl-faq-item.is-open .pl-faq-answer,
.pl-faq-item[open] .pl-faq-answer,
.pl-faq-item.active .pl-faq-answer {
    max-height: 600px !important;
    padding: 0 18px 16px !important;
}

/* Rotation icon */
.pl-faq-item.is-open .pl-faq-question__icon,
.pl-faq-item[open] .pl-faq-question__icon,
.pl-faq-item.active .pl-faq-question__icon {
    transform: rotate(45deg);
}
.pl-faq-question__icon {
    transition: transform 0.25s ease !important;
}


/* ============================================================
   20. BRAND PAGE — FORCE FLEX COLUMN + GRID 2 COLS
   The actual DOM uses .pl-brand-layout (flex) and .pl-brand-grid
   (5-col grid). My earlier selectors missed these.
   ============================================================ */
@media (max-width: 1024px) {
    .pl-brand-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    .pl-brand-main {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
    }
    .pl-brand-sidebar,
    body.is-brand-page aside {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        position: static !important;
        order: -1 !important;
    }
    .pl-brand-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
        padding: 0 12px !important;
    }
}

@media (max-width: 768px) {
    .pl-brand-banner,
    .pl-brand-hero {
        min-height: 200px !important;
        padding: 24px 16px !important;
    }
    .pl-brand-banner__content,
    .pl-brand-header {
        max-width: 100% !important;
        gap: 8px !important;
    }
    .pl-brand-header__icon {
        width: 64px !important;
        height: 64px !important;
    }
    .pl-brand-header__icon img,
    .pl-brand-header__icon svg { width: 40px !important; height: 40px !important; }
    .pl-brand-header__title { font-size: 1.4rem !important; letter-spacing: 2px !important; }
    .pl-brand-header__count { font-size: 11px !important; letter-spacing: 1.5px !important; }

    /* Topbar: filter button + count + sort */
    .pl-brand-topbar {
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 12px !important;
        height: auto !important;
    }
    .pl-brand-topbar__left {
        flex: 1 1 60% !important;
        gap: 10px !important;
        align-items: center !important;
    }
    .pl-brand-topbar__filter-btn {
        flex: 0 0 auto !important;
        padding: 10px 14px !important;
        font-size: 12px !important;
        height: 40px !important;
        min-height: 40px !important;
        letter-spacing: 1.5px !important;
        width: auto !important;
    }
    .pl-brand-topbar__count {
        font-size: 11px !important;
        letter-spacing: 1px !important;
        width: auto !important;
        height: auto !important;
        line-height: 1.3 !important;
    }
    .pl-brand-topbar__right,
    .pl-brand-topbar__sort {
        flex: 1 1 100% !important;
        width: 100% !important;
        order: 2 !important;
    }
    .pl-brand-topbar select,
    .pl-brand-topbar__sort select {
        width: 100% !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
        height: 42px !important;
        background: #0e0e0e !important;
        border: 1px solid rgba(255,255,255,0.15) !important;
        color: #fff !important;
        border-radius: 4px !important;
    }

    /* Brand products grid: 2 cols */
    .pl-brand-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 10px !important;
    }
    .pl-brand-product {
        width: 100% !important;
    }
    .pl-brand-product__link {
        display: block !important;
        width: 100% !important;
    }
    .pl-brand-product__img {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        overflow: hidden !important;
        background: #0e0e0e !important;
    }
    .pl-brand-product__img img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    .pl-brand-product__title,
    .pl-brand-product__name {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
        padding: 6px 4px 2px !important;
        margin: 0 !important;
        min-height: 30px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .pl-brand-product__price,
    .pl-brand-product .price {
        font-size: 12px !important;
        padding: 0 4px 8px !important;
        color: #C9A84C !important;
        font-weight: 600 !important;
    }

    /* Filter sidebar: collapsible accordion */
    .pl-brand-sidebar,
    body.is-brand-page aside {
        background: #0e0e0e !important;
        border: 1px solid rgba(201,168,76,0.1) !important;
        border-radius: 6px !important;
        margin: 0 12px 12px !important;
        padding: 16px !important;
        max-height: 50vh !important;
        overflow-y: auto !important;
    }
    .pl-brand-sidebar h3,
    .pl-brand-sidebar__title {
        font-size: 12px !important;
        letter-spacing: 2px !important;
        margin: 0 0 12px !important;
        color: #C9A84C !important;
    }
    .pl-brand-sidebar label,
    .pl-brand-sidebar li {
        font-size: 13px !important;
        padding: 6px 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        min-height: 32px !important;
    }

    /* Pagination */
    .pl-pagination,
    .page-numbers,
    nav.woocommerce-pagination ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 20px 12px !important;
        margin: 0 !important;
        list-style: none !important;
    }
    .pl-pagination .page-link,
    .pl-pagination a,
    .pl-pagination button,
    .page-numbers li a,
    .page-numbers li span,
    nav.woocommerce-pagination ul li a,
    nav.woocommerce-pagination ul li span {
        min-width: 36px !important;
        height: 36px !important;
        padding: 0 10px !important;
        font-size: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid rgba(201,168,76,0.3) !important;
        color: #C9A84C !important;
        border-radius: 4px !important;
        text-decoration: none !important;
    }
    .pl-pagination .page-link.active,
    .pl-pagination .current,
    .page-numbers .current {
        background: #C9A84C !important;
        color: #000 !important;
    }
}

@media (max-width: 480px) {
    .pl-brand-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 8px !important;
    }
    .pl-brand-product__title { font-size: 11px !important; }
}

@media (max-width: 380px) {
    .pl-brand-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
}

/* ============================================================
   21. CART DRAWER — FIX FOOTER STICKY (subtotal + buttons)
   On mobile, drawer body was scrolling but footer was getting
   pushed offscreen. Force footer to be visible always.
   ============================================================ */
.pl-cart-drawer__panel {
    display: flex !important;
    flex-direction: column !important;
}
.pl-cart-drawer__body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
}
.pl-cart-drawer__body > .widget_shopping_cart_content {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
}
.pl-cart-drawer__body .cart_list,
.pl-cart-drawer__body .product_list_widget,
.pl-cart-drawer__body ul.cart_list {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Total + buttons stick to bottom of drawer */
.pl-cart-drawer__body .woocommerce-mini-cart__total,
.pl-cart-drawer__body .total,
.pl-cart-drawer__body .woocommerce-mini-cart__buttons,
.pl-cart-drawer__body .buttons {
    flex-shrink: 0 !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 2 !important;
}
.pl-cart-drawer__body .woocommerce-mini-cart__total,
.pl-cart-drawer__body .total {
    margin-top: auto !important;
}

/* ============================================================
   22. CART DRAWER + MOBILE MENU — prevent simultaneous opening
   ============================================================ */
body.pl-cart-drawer-open .pl-mobile-menu { display: none !important; }
.pl-mobile-menu.active ~ .pl-cart-drawer { z-index: 99 !important; }


/* ============================================================
   23. BRAND PAGE — BULLETPROOF FIX
   pureluxury.css has .pl-brand-page .pl-brand-layout (specificity 0,2,0)
   We use higher specificity (0,3,0) + !important to win.
   ============================================================ */
@media (max-width: 1024px) {
    body.is-brand-page .pl-brand-page .pl-brand-layout,
    body .pl-brand-page .pl-brand-layout,
    html body .pl-brand-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 14px !important;
        width: 100% !important;
        align-items: stretch !important;
    }

    body.is-brand-page .pl-brand-page .pl-brand-main,
    body .pl-brand-page .pl-brand-main,
    html body .pl-brand-main {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        order: 1 !important;
    }

    body.is-brand-page .pl-brand-page .pl-brand-sidebar,
    body .pl-brand-page .pl-brand-sidebar,
    html body .pl-brand-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        position: static !important;
        order: 0 !important;
    }

    body.is-brand-page .pl-brand-page .pl-brand-grid,
    body .pl-brand-page .pl-brand-grid,
    html body .pl-brand-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 10px !important;
    }
}

@media (max-width: 768px) {
    body.is-brand-page .pl-brand-page .pl-brand-grid,
    body .pl-brand-page .pl-brand-grid,
    html body .pl-brand-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 0 10px !important;
    }
}


/* ============================================================
   24. FINAL POLISH (after exhaustive 3-viewport audit)
   ============================================================ */

/* Save badge in cart - keep inside card bounds */
.save, .pl-save, span.save-badge {
    position: relative !important;
    display: inline-block !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
}

/* Sale badge (S) — ensure full visibility on cards */
.onsale, span.onsale, .pl-product .onsale,
.pl-brand-product .pl-brand-product__badge,
.pl-brand-product__sale-badge {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
    z-index: 5 !important;
    font-size: 9px !important;
    padding: 3px 8px !important;
    letter-spacing: 1px !important;
    line-height: 1 !important;
    min-height: 0 !important;
    min-width: 0 !important;
    border-radius: 2px !important;
    background: #C9A84C !important;
    color: #000 !important;
    text-transform: uppercase;
    font-weight: 700;
    white-space: nowrap;
}

/* Tablet category grid consistency 2 cols */
@media (min-width: 481px) and (max-width: 1023px) {
    .pl-categories,
    .pl-category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 14px !important;
    }
    .pl-category {
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
    }
}

/* Mobile category grid 2 cols (was 1 sometimes) */
@media (max-width: 480px) {
    .pl-categories,
    .pl-category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .pl-category {
        aspect-ratio: 1 / 1 !important;
    }
}

/* Title truncation: cleaner ellipsis on cards */
.pl-brand-product__title,
.pl-brand-product__name,
.woocommerce-loop-product__title,
.pl-product__title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
    hyphens: auto;
}


/* ============================================================
   25. MY ACCOUNT — better spacing on mobile (was too compact)
   ============================================================ */
.woocommerce-account .pl-page-content,
.woocommerce-account main,
.woocommerce-account .woocommerce {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 40px 24px !important;
}

@media (max-width: 1024px) {
    .woocommerce-account .pl-page-content,
    .woocommerce-account main,
    .woocommerce-account .woocommerce {
        padding: 30px 20px !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation { margin-bottom: 24px !important; }
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul li {
        flex: 1 1 calc(50% - 4px) !important;
        min-width: 0 !important;
        list-style: none !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        display: block !important;
        padding: 14px 18px !important;
        font-size: 13px !important;
        background: #0e0e0e !important;
        border: 1px solid rgba(201,168,76,0.2) !important;
        border-radius: 4px !important;
        text-align: center !important;
        letter-spacing: 1.5px !important;
        text-transform: uppercase !important;
        color: rgba(255,255,255,0.8) !important;
        text-decoration: none !important;
        min-height: 48px !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
    .woocommerce-account .woocommerce-MyAccount-navigation ul li.current a {
        background: #C9A84C !important;
        color: #000 !important;
        border-color: #C9A84C !important;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 22px !important;
        background: #0a0a0a !important;
        border: 1px solid rgba(255,255,255,0.05) !important;
        border-radius: 6px !important;
    }
    .woocommerce-account .woocommerce-MyAccount-content h2,
    .woocommerce-account .woocommerce-MyAccount-content h3 {
        font-size: 1.2rem !important;
        margin-bottom: 14px !important;
    }
    .woocommerce-account .woocommerce-MyAccount-content p {
        font-size: 13.5px !important;
        line-height: 1.7 !important;
    }
    /* Login/register forms */
    .woocommerce-account .woocommerce-form-login,
    .woocommerce-account .woocommerce-form-register {
        max-width: 100% !important;
        padding: 28px 22px !important;
        margin: 0 auto !important;
    }
    .woocommerce-account form input,
    .woocommerce-account form button {
        font-size: 16px !important;
        padding: 13px 14px !important;
        width: 100% !important;
        min-height: 48px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce-account .woocommerce-MyAccount-navigation ul li {
        flex: 1 1 100% !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        padding: 13px 16px !important;
    }
    .woocommerce-account .pl-page-content { padding: 20px 14px !important; }
}

/* ============================================================
   26. PLACE ORDER BUTTON + CHECKOUT MOBILE PADDING
   ============================================================ */
@media (max-width: 768px) {
    .woocommerce-checkout main,
    .woocommerce-checkout .pl-page-content,
    .woocommerce-checkout .woocommerce {
        padding: 26px 20px !important;
        max-width: 100% !important;
    }
    .woocommerce-checkout #order_review {
        padding: 24px 22px !important;
        margin-top: 28px !important;
        background: #0e0e0e !important;
        border-radius: 6px !important;
        border: 1px solid rgba(255,255,255,0.05) !important;
    }
    #place_order,
    .woocommerce-checkout #place_order,
    .checkout-button,
    a.checkout-button {
        width: 100% !important;
        padding: 22px 24px !important;
        font-size: 14px !important;
        letter-spacing: 3px !important;
        min-height: 62px !important;
        height: 62px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        background: linear-gradient(135deg, #C9A84C 0%, #B8973F 100%) !important;
        color: #000 !important;
        border: none !important;
        border-radius: 6px !important;
        margin-top: 20px !important;
        box-shadow: 0 6px 20px rgba(201,168,76,0.3) !important;
    }
}

/* ============================================================
   27. BRAND PAGE MOBILE FILTER SIDEBAR — proper slide-in overlay
   ============================================================ */
@media (max-width: 1024px) {
    /* Sidebar hidden by default, fixed overlay */
    body.is-brand-page #plb-sidebar,
    body.is-brand-page .pl-brand-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 86vw !important;
        max-width: 340px !important;
        height: 100vh !important;
        z-index: 99998 !important;
        background: #0a0a0a !important;
        border-right: 1px solid rgba(201,168,76,0.25) !important;
        box-shadow: 8px 0 40px rgba(0,0,0,0.6) !important;
        transform: translateX(-100%) !important;
        transition: transform 0.35s cubic-bezier(0.4,0,0.2,1) !important;
        padding: 70px 24px 30px !important;
        overflow-y: auto !important;
        margin: 0 !important;
        flex: none !important;
        order: 0 !important;
    }
    /* Open state */
    body.is-brand-page #plb-sidebar.pl-brand-sidebar--open,
    body.is-brand-page .pl-brand-sidebar.pl-brand-sidebar--open,
    body.is-brand-page #plb-sidebar.is-open,
    body.is-brand-page .pl-brand-sidebar.is-open {
        transform: translateX(0) !important;
    }
    /* Close button inside sidebar */
    body.is-brand-page .pl-brand-sidebar::before {
        content: '✕ CLOSE';
        position: absolute;
        top: 18px;
        right: 22px;
        color: #C9A84C;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        cursor: pointer;
        padding: 8px 14px;
        border: 1px solid rgba(201,168,76,0.3);
        border-radius: 4px;
        background: rgba(0,0,0,0.4);
        pointer-events: auto;
        z-index: 2;
    }
    /* Backdrop when sidebar open */
    body.is-brand-page .pl-brand-sidebar.pl-brand-sidebar--open::after,
    body.is-brand-page #plb-sidebar.pl-brand-sidebar--open::after {
        content: '';
        position: fixed;
        top: 0; left: 86vw;
        right: 0; bottom: 0;
        background: rgba(0,0,0,0.6);
        backdrop-filter: blur(2px);
        z-index: -1;
        pointer-events: auto;
    }
    /* When sidebar open, lock body scroll */
    body.is-brand-page.sidebar-open { overflow: hidden !important; }
}

/* ============================================================
   28. GENERIC: prevent over-compact mobile pages
   Ensure decent breathing room
   ============================================================ */
@media (max-width: 768px) {
    main,
    .pl-main,
    .pl-page-container,
    .pl-page-content {
        min-height: 50vh !important;
    }
    /* All page content has decent vertical padding */
    .pl-section,
    section.pl-section {
        padding: 36px 0 !important;
    }
    /* Forms more breathable */
    form input + button,
    form button[type="submit"] { margin-top: 14px !important; }

    /* Generic compact page-content fix */
    .pl-content-wrapper,
    .page-content-wrapper {
        padding: 24px 18px !important;
    }
}


/* ============================================================
   29. PRODUCT GALLERY THUMB SWITCH (CSS-only fallback)
   flexslider was leaving all slides stacked. We hide all
   and show only the one with .flex-active-slide class.
   Companion JS in functions.php toggles the class on thumb click.
   ============================================================ */



/* === GALLERY THUMB SWITCH (v2 - JS-driven) === */
/* Only style the active thumbnail border; visibility handled by JS */
.flex-control-thumbs li img.flex-active,
.flex-control-thumbs li.pl-active img {
    box-shadow: 0 0 0 2px #C9A84C !important;
    opacity: 1 !important;
    border-radius: 4px;
}

/* ============================================================
   FINAL POLISH — wider spacing on mobile so things breathe
   ============================================================ */

/* Hero / page sections should breathe more on all viewports */
.pl-section { padding-top: 80px !important; padding-bottom: 80px !important; }
@media (max-width: 1024px) {
    .pl-section { padding-top: 60px !important; padding-bottom: 60px !important; }
}
@media (max-width: 600px) {
    .pl-section { padding-top: 48px !important; padding-bottom: 48px !important; padding-left: 16px !important; padding-right: 16px !important; }
}

/* Products section title margin */
.pl-section__header { margin-bottom: 40px !important; }
@media (max-width: 600px) {
    .pl-section__header { margin-bottom: 28px !important; }
}

/* ====== MOBILE CART PAGE — wider, less cramped ====== */
@media (max-width: 768px) {
    .woocommerce-cart main,
    .woocommerce-cart .pl-cart-container,
    .woocommerce-cart .woocommerce { padding: 28px 18px 48px !important; }

    .woocommerce-cart .page-title,
    .woocommerce-cart h1 { font-size: 2rem !important; margin-bottom: 28px !important; }

    .woocommerce-cart-form table.cart tr.cart_item {
        padding: 22px 0 !important;
        gap: 8px 14px !important;
    }
    .woocommerce-cart-form .product-name a { font-size: 14px !important; line-height: 1.4 !important; }
    .woocommerce-cart-form .product-price,
    .woocommerce-cart-form .product-subtotal { font-size: 14px !important; }
    /* Cart totals section: bigger padding */
    .cart_totals, .pl-cart-totals { padding: 22px !important; margin-top: 22px !important; }
    .cart_totals h2 { font-size: 1.3rem !important; margin-bottom: 18px !important; }
    .checkout-button, .wc-proceed-to-checkout .button {
        padding: 18px !important; font-size: 13px !important; min-height: 56px !important;
        letter-spacing: 2.5px !important; margin-top: 18px !important;
    }
}

/* ====== MOBILE CHECKOUT — more padding, larger fields ====== */
@media (max-width: 768px) {
    .woocommerce-checkout main,
    .woocommerce-checkout .pl-checkout-container,
    .woocommerce-checkout form.checkout { padding: 28px 18px 60px !important; }

    .woocommerce-checkout h1,
    .woocommerce-checkout .page-title { font-size: 2rem !important; margin-bottom: 28px !important; }

    .woocommerce-checkout h3 { font-size: 1.25rem !important; margin: 18px 0 18px !important; letter-spacing: 1.5px !important; }

    .woocommerce-checkout .form-row { margin: 0 0 22px !important; padding: 0 !important; }
    .woocommerce-checkout .form-row label { font-size: 11px !important; letter-spacing: 2px !important; margin-bottom: 10px !important; display: block !important; }
    .woocommerce-checkout .form-row input[type="text"],
    .woocommerce-checkout .form-row input[type="email"],
    .woocommerce-checkout .form-row input[type="tel"],
    .woocommerce-checkout .form-row select,
    .woocommerce-checkout .form-row textarea,
    .woocommerce-checkout .select2-selection {
        padding: 16px 16px !important;
        font-size: 16px !important;
        min-height: 52px !important;
        line-height: 1.4 !important;
    }
    .woocommerce-checkout .select2-selection { height: 52px !important; }
    .woocommerce-checkout .select2-selection__rendered { line-height: 50px !important; padding: 0 16px !important; }

    /* Coupon collapsible card */
    .woocommerce-form-coupon-toggle,
    .woocommerce-info {
        padding: 18px 22px !important;
        font-size: 14px !important;
        margin-bottom: 28px !important;
        line-height: 1.5 !important;
    }

    /* Order review block */
    #order_review_heading { font-size: 1.3rem !important; margin: 36px 0 18px !important; }
    #order_review { padding: 22px !important; }

    /* Place order button */
    #place_order, .woocommerce-checkout #place_order {
        width: 100% !important;
        padding: 20px !important;
        font-size: 14px !important;
        letter-spacing: 3px !important;
        min-height: 60px !important;
        margin-top: 22px !important;
    }
}

/* ====== MOBILE THANK-YOU PAGE — bigger card, more breathing ====== */
@media (max-width: 768px) {
    .woocommerce-order .pl-thankyou-container,
    .woocommerce-order main { padding: 36px 16px 60px !important; }

    .pl-thankyou-card,
    .woocommerce-order-received .woocommerce-thankyou-order-received,
    .woocommerce-order-overview {
        padding: 32px 22px !important;
        margin: 0 auto !important;
    }
    .woocommerce-order .pl-thankyou-card h1,
    .woocommerce-thankyou-order-received h1,
    .woocommerce-order h1 { font-size: 1.7rem !important; line-height: 1.25 !important; margin-bottom: 18px !important; }
    .woocommerce-order p { font-size: 14px !important; line-height: 1.65 !important; margin-bottom: 14px !important; }

    .woocommerce-order-overview { padding: 18px 12px !important; }
    .woocommerce-order-overview li {
        padding: 14px 8px !important;
        font-size: 12px !important;
        letter-spacing: 1.5px !important;
    }
    .woocommerce-order-overview li strong { font-size: 14px !important; margin-top: 6px !important; }
}

/* ====== HOMEPAGE View All Bags button — give it room ====== */
.pl-products-section + .pl-products-section { margin-top: 0 !important; }
.pl-products-section .ui-button,
.pl-products-section a[href*="/brand/"] {
    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Featured Bags products grid + "View All" — ensure gap */
.pl-products-section .woocommerce ul.products + p,
.pl-products-section .woocommerce + p { margin-top: 56px !important; }
@media (max-width: 600px) {
    .pl-products-section .woocommerce ul.products + p,
    .pl-products-section .woocommerce + p { margin-top: 40px !important; }
}

/* ============================================================
   AUDIT FIXES — Round 2
   ============================================================ */

/* 1. Shop By Category tiles — lighten default overlay so images are visible */
.pl-category::after {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.08) 60%,
        rgba(0, 0, 0, 0) 100%) !important;
}
.pl-category:hover::after {
    background: linear-gradient(to top,
        rgba(201, 168, 76, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0) 100%) !important;
}
/* Category image: don't dim by default */
.pl-category img {
    opacity: 1 !important;
    filter: brightness(1) !important;
}

/* 2. Best Sellers / products carousel — also brighter by default */
.pl-products-section .woocommerce ul.products li.product .pl-product-card,
.pl-products-section .woocommerce ul.products li.product img {
    opacity: 1 !important;
    filter: brightness(1) !important;
}

/* 3. Reduce homepage section excess padding so there's no giant void */
.pl-hero + .pl-section { padding-top: 60px !important; }
@media (max-width: 768px) {
    .pl-hero + .pl-section { padding-top: 40px !important; }
}

/* 4. Product page: first gallery image MUST render above the fold immediately */
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 5 !important;
}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* Force first slide img to load eagerly via CSS hint (no lazy by default) */
.woocommerce-product-gallery img[loading="lazy"] {
    /* keep lazy for non-first */
}

/* 5. Product page: above-the-fold reserve space so no black flash */
.pl-product-top .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery {
    background: #0f0f0f;
    min-height: 400px;
}

/* 6. Tidio chat widget — push it away from form CTA buttons on mobile */
@media (max-width: 768px) {
    #tidio-chat iframe,
    iframe[id*="tidio"] {
        bottom: 84px !important;
    }
}


/* ============================================================
   CART PAGE (WC BLOCKS) — fix remove button rendering
   ============================================================ */

/* Reset the gold-bordered box that's wrapping the trash icon */
.wc-block-cart-item__remove-link,
button.wc-block-cart-item__remove-link {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 6px !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    margin: 0 0 0 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    color: rgba(255,255,255,0.5) !important;
    transition: color 0.2s, background 0.2s !important;
}

.wc-block-cart-item__remove-link:hover {
    color: #C9A84C !important;
    background: rgba(201,168,76,0.08) !important;
}

.wc-block-cart-item__remove-link svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
    color: inherit !important;
}

/* Hide the redundant "remove" text/label if any */
.wc-block-cart-item__remove-link span {
    display: none !important;
}

/* Make the quantity + remove a clean inline row */
.wc-block-cart-item__quantity,
.wc-block-cart-item__product-quantity {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Style the quantity selector to match dark theme */
.wc-block-components-quantity-selector {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    height: 36px !important;
}

.wc-block-components-quantity-selector__button {
    background: transparent !important;
    border: none !important;
    color: rgba(255,255,255,0.7) !important;
    width: 32px !important;
    height: 34px !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: color 0.2s !important;
}

.wc-block-components-quantity-selector__button:hover {
    color: #C9A84C !important;
    background: rgba(201,168,76,0.08) !important;
}

.wc-block-components-quantity-selector__input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    width: 40px !important;
    text-align: center !important;
    font-size: 14px !important;
    height: 34px !important;
    padding: 0 !important;
}

/* Sale badge in cart — keep golden, but properly positioned */
.wc-block-cart-item__total .wc-block-components-sale-badge {
    background: rgba(201,168,76,0.15) !important;
    color: #C9A84C !important;
    border: 1px solid rgba(201,168,76,0.4) !important;
    padding: 3px 10px !important;
    font-size: 11px !important;
    letter-spacing: 0.8px !important;
    border-radius: 3px !important;
    margin-top: 6px !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

/* MOBILE cart - stack rows nicely */
@media (max-width: 768px) {
    .wc-block-cart-items__row {
        display: grid !important;
        grid-template-columns: 80px 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 12px 14px !important;
        padding: 18px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    }
    .wc-block-cart-item__image {
        grid-row: 1 / 3 !important;
    }
    .wc-block-cart-item__product {
        grid-column: 2 !important;
    }
    .wc-block-cart-item__total {
        grid-column: 2 !important;
        text-align: right !important;
    }
    .wc-block-cart-item__remove-link {
        width: 32px !important;
        min-width: 32px !important;
        height: 32px !important;
    }
}

