/* Add these to existing content */
:root {
    --rose: #7D2135;
    --rose-hover: #6A1B2C;
    --rose-tint: #F7EDEF;
    --cream: #FAFAFA;
    --white: #FFFFFF;
    --charcoal: #1A1A1A;
    --charcoal-mid: #3D3D3D;
    --charcoal-soft: #6B6B6B;
    --border: #E5E5E5;
    --gold: #C9A96E;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Outfit', system-ui, sans-serif;
    --r-sm: 6px;
    --r-md: 12px;
    --r-lg: 20px;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 28px rgba(0,0,0,0.09);
    --shadow-lg: 0 12px 44px rgba(0,0,0,0.14);
    --ease: 0.24s ease;
    --p-ink: #0f0f0f; /* primary text — near-black */
    --p-ink-soft: #1a1a1a; /* dark headings */
    --p-text: #2a2a2a; /* body text */
    --p-mute: #6b7280; /* muted */
    --p-mute-soft: #9ca3af; /* even softer */
    --p-line: #e8e8e8; /* borders */
    --p-line-soft: #f0f0f0; /* very soft borders */
    --p-surface: #ffffff;
    --p-surface-soft: #fafafa;
    --p-accent: #1a1a1a; /* CTAs — premium black */
    --p-accent-hover: #2d2d2d;
    --p-sale: #c1272d; /* sale red — used sparingly */
    --p-success: #2d7a3d;
    --p-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --p-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --p-shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --p-radius-sm: 4px;
    --p-radius-md: 6px;
    --p-radius-lg: 10px;
    --p-ease: cubic-bezier(0.4, 0, 0.2, 1);
    /* Legacy aliases for compatibility with existing partials */
    --luxury-primary: var(--p-accent);
    --luxury-primary-dark: var(--p-accent-hover);
    --luxury-dark: var(--p-ink);
    --luxury-gray: var(--p-mute);
    --luxury-light: var(--p-surface-soft);
    --luxury-white: var(--p-surface);
    --luxury-gold: #b8945c;
    --luxury-gradient: linear-gradient(135deg, var(--p-accent) 0%, #000 100%);
    --shadow-soft: var(--p-shadow-sm);
    --shadow-medium: var(--p-shadow-md);
    --shadow-strong: var(--p-shadow-lg);
    --shadow-luxury: var(--p-shadow-lg);
    --transition: all 0.3s var(--p-ease);
}




.card {
    transition: transform 0.2s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

footer a {
    text-decoration: none;
}

    footer a:hover {
        text-decoration: underline;
    }

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
/* ═══════════════════════════════════════════════════════════════
   CART SIDEBAR  —  Luxury Edition
   Uses global tokens: --rose, --gold, --cream, --charcoal,
   --charcoal-soft, --border, --serif, --sans, --ease, --white
   ═══════════════════════════════════════════════════════════════ */

/* ── Container ──────────────────────────────────────────────── */
.cart-sidebar {
    position: fixed;
    top: 102px;
    right: 0;
    width: 420px;
    height: calc(100vh - 102px);
    z-index: 1040;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}

.cart-sidebar.collapsed {
    transform: translateX(100%);
}

.cart-sidebar * {
    pointer-events: auto;
}

/* ── Toggle Tab ─────────────────────────────────────────────── */
.cart-sidebar-toggle {
    position: fixed;
    left: -46px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--charcoal, #1A1A1A);
    color: #fff;
    border: none;
    border-radius: 50% 0 0 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: -3px 0 18px rgba(0,0,0,.22);
    z-index: 1051;
    transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cart-sidebar-toggle:hover {
    background: var(--rose, #7D2135);
    box-shadow: -4px 2px 22px rgba(125,33,53,.32);
}

.cart-sidebar:not(.collapsed) .cart-sidebar-toggle {
    right: 420px;
    top: 20px;
    transform: translateY(0);
}



/* ── Count Badge ────────────────────────────────────────────── */
.cart-sidebar-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--rose, #7D2135);
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    border: 2px solid #fff;
}

/* ── Panel ──────────────────────────────────────────────────── */
.cart-sidebar-panel {
    width: 100%;
    height: 100%;
    background: var(--white, #fff);
    box-shadow: -8px 0 40px rgba(0,0,0,.12);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border, #E5E5E5);
}

/* ── Header ─────────────────────────────────────────────────── */
.cart-sidebar-header {
    background: var(--cream, #FAFAFA);
    border-bottom: 1px solid var(--border, #E5E5E5);
    padding: 1.4rem 1.5rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
}

.cart-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cart-header-title {
    font-family: var(--serif, 'Cormorant Garamond', serif);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--charcoal, #1A1A1A);
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.cart-header-count {
    font-family: var(--sans, 'Outfit', sans-serif);
    font-size: 0.72rem;
    color: var(--charcoal-soft, #6B6B6B);
    letter-spacing: 0.04em;
}

.cart-close-btn {
    background: transparent;
    border: none;
    color: var(--charcoal-soft, #6B6B6B);
    font-size: 1rem;
    cursor: pointer;
    padding: 0.15rem;
    line-height: 1;
    transition: color 0.2s;
    margin-top: 0.15rem;
}

.cart-close-btn:hover {
    color: var(--charcoal, #1A1A1A);
}

/* ── Body ───────────────────────────────────────────────────── */
.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 0 1.25rem;
}

.cart-sidebar-body::-webkit-scrollbar { width: 3px; }
.cart-sidebar-body::-webkit-scrollbar-track { background: transparent; }
.cart-sidebar-body::-webkit-scrollbar-thumb {
    background: var(--border, #E5E5E5);
    border-radius: 2px;
}

/* ── Empty State ────────────────────────────────────────────── */
.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}

.cart-empty-state i {
    font-size: 2.4rem;
    color: var(--gold, #C9A96E);
    margin-bottom: 0.75rem;
    opacity: 0.65;
}

.cart-empty-state p {
    font-family: var(--sans, 'Outfit', sans-serif);
    font-size: 0.85rem;
    color: var(--charcoal-soft, #6B6B6B);
    margin: 0;
}

/* ── Item Row ───────────────────────────────────────────────── */
.sidebar-cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border, #E5E5E5);
    transition: opacity 0.2s;
}

.sidebar-cart-item:last-child {
    border-bottom: none;
}

/* ── Image ──────────────────────────────────────────────────── */
.sidebar-item-img-wrap {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    border-radius: 3px;
    overflow: hidden;
    background: var(--cream, #FAFAFA);
    border: 1px solid var(--border, #E5E5E5);
    position: relative;
}

.sidebar-cart-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-item-low-stock {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(125,33,53,.82);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    text-align: center;
    padding: 2px 3px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Item Body ──────────────────────────────────────────────── */
.sidebar-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.sidebar-cart-item-brand {
    font-family: var(--sans, 'Outfit', sans-serif);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--gold, #C9A96E);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin: 0;
}

.sidebar-cart-item-title {
    font-family: var(--serif, 'Cormorant Garamond', serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--charcoal, #1A1A1A);
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-item-variant {
    font-family: var(--sans, 'Outfit', sans-serif);
    font-size: 0.68rem;
    color: var(--charcoal-soft, #6B6B6B);
    margin: 0;
    letter-spacing: 0.02em;
}

/* ── Controls Row ───────────────────────────────────────────── */
.sidebar-item-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.3rem;
    gap: 0.5rem;
}

/* ── Quantity Stepper ───────────────────────────────────────── */
.sidebar-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border, #E5E5E5);
    border-radius: 2px;
}

.sidebar-qty-btn {
    background: transparent;
    border: none;
    color: var(--charcoal-soft, #6B6B6B);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
}

.sidebar-qty-btn:hover {
    background: var(--charcoal, #1A1A1A);
    color: #fff;
}

.sidebar-qty-val {
    font-family: var(--sans, 'Outfit', sans-serif);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--charcoal, #1A1A1A);
    min-width: 26px;
    text-align: center;
    border-left: 1px solid var(--border, #E5E5E5);
    border-right: 1px solid var(--border, #E5E5E5);
    line-height: 26px;
    padding: 0 2px;
}

/* ── Line Price ─────────────────────────────────────────────── */
.sidebar-item-price {
    font-family: var(--sans, 'Outfit', sans-serif);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal, #1A1A1A);
    white-space: nowrap;
}

/* ── Remove Link ────────────────────────────────────────────── */
.sidebar-remove-btn {
    background: transparent;
    border: none;
    color: var(--charcoal-soft, #6B6B6B);
    font-family: var(--sans, 'Outfit', sans-serif);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: transparent;
    transition: color 0.2s, text-decoration-color 0.2s;
    align-self: flex-start;
    margin-top: 0.1rem;
}

.sidebar-remove-btn:hover {
    color: var(--rose, #7D2135);
    text-decoration-color: var(--rose, #7D2135);
}

/* ── Footer ─────────────────────────────────────────────────── */
.cart-sidebar-footer {
    background: var(--white, #fff);
    border-top: 1px solid var(--border, #E5E5E5);
    padding: 1.2rem 1.5rem 1.5rem;
    flex-shrink: 0;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border, #E5E5E5);
}

.cart-total-label {
    font-family: var(--serif, 'Cormorant Garamond', serif);
    font-size: 1.05rem;
    color: var(--charcoal, #1A1A1A);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.cart-total-amount {
    font-family: var(--serif, 'Cormorant Garamond', serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--charcoal, #1A1A1A);
}

.cart-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.btn-cart-view {
    display: block;
    width: 100%;
    padding: 0.65rem 1rem;
    text-align: center;
    background: transparent;
    border: 1px solid var(--charcoal, #1A1A1A);
    color: var(--charcoal, #1A1A1A);
    font-family: var(--sans, 'Outfit', sans-serif);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.25s, color 0.25s;
}

.btn-cart-view:hover {
    background: var(--charcoal, #1A1A1A);
    color: #fff;
}

.btn-cart-checkout {
    display: block;
    width: 100%;
    padding: 0.72rem 1rem;
    text-align: center;
    background: var(--charcoal, #1A1A1A);
    color: #fff;
    font-family: var(--sans, 'Outfit', sans-serif);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    transition: background 0.25s;
}

.btn-cart-checkout:hover {
    background: var(--rose, #7D2135);
    color: #fff;
}

/* ── Toast ──────────────────────────────────────────────────── */
.toast-notification {
    top: 70px;
    right: 10px;
    left: 10px;
    min-width: auto;
    max-width: none;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
    .cart-sidebar {
        width: 100%;
        top: 60px;
        height: calc(100vh - 60px);
    }

    .cart-sidebar.collapsed {
        transform: translateX(100%);
    }

    .cart-sidebar-toggle {
        left: -50px;
        width: 50px;
        height: 50px;
        border-radius: 12px 0 0 12px;
    }

    .cart-sidebar:not(.collapsed) .cart-sidebar-toggle {
        right: 100%;
    }
}

@media (max-width: 576px) {
    .cart-sidebar-header,
    .cart-sidebar-footer {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    .cart-sidebar-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 400px) {
    .cart-sidebar { width: 100%; }
}

























:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --accent-gradient: linear-gradient(to bottom, #f7dfa5, #f0c14b);
    --danger-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-color: #10b981;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.filter-card {
    border-radius: 16px !important;
    overflow: hidden;
    background: white;
}

.filter-header {
    background: var(--primary-gradient);
    color: white;
    padding: 20px;
    font-weight: 600;
}

.filter-body {
    padding: 20px;
}

.filter-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

    .filter-section:last-of-type {
        border-bottom: none;
    }

.filter-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 12px;
    display: block;
}

.filter-scroll-modern {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 8px;
}

    .filter-scroll-modern::-webkit-scrollbar {
        width: 4px;
    }

    .filter-scroll-modern::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #667eea, #764ba2);
        border-radius: 10px;
    }

.form-check-modern {
    display: flex;
    align-items: center;
}

.form-check-label-modern {
    display: flex;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    padding: 6px 0;
    font-size: 0.9rem;
    transition: color 0.2s;
}

    .form-check-label-modern:hover {
        color: #667eea;
    }

.count-badge {
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
}

.price-display-modern {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #667eea;
    font-size: 0.95rem;
}

.form-range-modern {
    height: 6px;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 10px;
}

    .form-range-modern::-webkit-slider-thumb {
        width: 18px;
        height: 18px;
        background: white;
        border: 3px solid #667eea;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    }

.form-select-modern {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

    .form-select-modern:focus {
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.btn-clear-filters {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: var(--shadow-soft);
}

    .btn-clear-filters:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-medium);
        color: white;
    }

.products-header h2 {
    font-weight: 700;
    color: #1f2937;
    font-size: 2rem;
}

.product-count-badge {
    background: var(--primary-gradient);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
}

.product-card-modern {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    border: 1px solid #f3f4f6;
}

    .product-card-modern:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-strong);
        border-color: #e5e7eb;
    }

/*.product-image-modern {
    position: relative;
    height: 220px;
    background: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .product-image-modern img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 15px;
        transition: transform 0.4s;
    }

.product-card-modern:hover .product-image-modern img {
    transform: scale(1.08);
}*/

.product-badge {
    position: absolute;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.95);
    color: white;
    top: 12px;
    right: 12px;
}

.badge-warning {
    background: rgba(251, 191, 36, 0.95);
    color: #78350f;
    top: 12px;
    right: 12px;
}

.badge-discount {
    background: var(--danger-gradient);
    color: white;
    top: 12px;
    left: 12px;
}

.product-card-body {
    padding: 16px;
}

.product-title-modern {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    height: 5.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    color: #1f2937;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.product-link {
    text-decoration: none !important;
}

    .product-link:hover .product-title-modern {
        color: #dc2626;
    }

.product-brand-modern {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 8px;
}

.product-rating-modern {
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-left: 4px;
}

.product-price-modern {
    display: flex;
    align-items: center;
    gap: 8px;
}

.old-price {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #dc2626;
}

.product-actions-modern {
    margin-bottom: 12px;
}

.options-text {
    display: block;
    text-align: center;
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 6px;
}



.btn-see-options-modern {
    background: transparent;
    border: 1.5px solid #111827;
    color: #111827;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px; /* Slightly increased side padding to look balanced with fit-content */
    border-radius: 50px;
    text-decoration: none;
    /* CRITICAL FIXES: Forces button to shrink wrap around the text */
    display: inline-block;
    margin: 0 auto; /* Optional: Centers the button perfectly inside its parent container if needed */

    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

    .btn-see-options-modern:hover {
        background-color: #f3f4f6 !important;
        color: #111827 !important;
        border-color: #111827 !important;
        transform: translateY(-1px);
    }

.btn-out-stock-modern {
    background: #e5e7eb;
    color: #9ca3af;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
}

.product-quick-actions {
    display: flex;
    gap: 8px;
}

.quick-action-btn {
    flex: 1;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 8px;
    border-radius: 8px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

    .quick-action-btn:hover {
        background: #667eea;
        color: white;
        border-color: #667eea;
    }

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-modern {
    text-align: center;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: #f9fafb;
    border-radius: 16px;
}

    .empty-state i {
        font-size: 5rem;
        color: #d1d5db;
        margin-bottom: 20px;
    }

@@media (max-width: 1399px) {
    .product-image-modern {
        height: 200px;
    }
}

@@media (max-width: 991px) {
    .product-image-modern {
        height: 220px;
    }
}

@@media (max-width: 576px) {
    .product-image-modern {
        height: 200px;
    }

    .current-price {
        font-size: 1.1rem;
    }
}

.quantity-controls {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #f9fafb;
    border-radius: 10px;
    padding: 10px 15px;
    border: 2px solid #e5e7eb;
    width: 100%;
}

.quantity-btn {
    background: white;
    border: 1px solid #d1d5db;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 8px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: bold;
    color: #374151;
    flex-shrink: 0;
    padding: 0;
}

    .quantity-btn:hover {
        background: #667eea;
        color: white;
        border-color: #667eea;
        transform: scale(1.05);
    }

    .quantity-btn i {
        font-size: 14px;
        line-height: 1;
    }

.quantity-display {
    flex: 1;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1f2937;
    min-width: 30px;
    padding: 0 5px;
}

.in-cart-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex !important;
    align-items: center;
    gap: 3px;
    margin-left: auto; /* Push to right */
    white-space: nowrap;
}

    .in-cart-badge i {
        font-size: 10px;
    }

/* Update price container to use flexbox */
.product-price-modern {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    margin-bottom: 16px !important; /* Add more space before controls */
}




/* price bar custom css */


/* Single Bar Slider */
.single-range-slider {
    position: relative;
    height: 40px;
    margin: 20px 0;
    padding: 15px 0;
}

/* The Bar */
.slider-bar {
    position: relative;
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 10px;
}

/* Purple Fill */
.slider-bar-fill {
    position: absolute;
    height: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    left: 0;
    width: 100%;
}

/* Handles */
.slider-handle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid #667eea;
    border-radius: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease;
    z-index: 10;
}

    .slider-handle:hover {
        transform: translate(-50%, -50%) scale(1.2);
    }

    .slider-handle:active {
        cursor: grabbing;
        transform: translate(-50%, -50%) scale(1.15);
    }

.price-display-modern {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    color: #667eea;
}


























.btn-luxury-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    width: 100%;
    background: var(--charcoal);
    color: #fff !important;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.65rem 0.85rem;
    border-radius: var(--r-sm);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--ease);
}

    .btn-luxury-add-cart:hover {
        background: var(--rose);
    }

.btn-luxury-add-cart-disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--border);
    color: var(--charcoal-soft) !important;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.65rem 0.85rem;
    border-radius: var(--r-sm);
    border: none;
    cursor: not-allowed;
}

/* ── Size filter chips (PLP sidebar) ── */
.size-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.25rem 0; }

.size-chip-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.4rem; padding: 0.3rem 0.65rem;
    border: 1.5px solid var(--border, #e2e2e2);
    border-radius: 4px;
    background: #fff;
    color: var(--charcoal, #1C1C1C);
    font-size: 0.8rem; font-weight: 500;
    cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.size-chip-btn:hover { border-color: var(--rose, #7D2135); }
.size-chip-btn.active {
    border-color: var(--rose, #7D2135);
    background: var(--rose, #7D2135);
    color: #fff;
}

/* ── PLP card color swatch row ── */
.pc-color-swatches { display: flex; gap: 0.25rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.pc-color-dot {
    display: inline-block;
    width: 14px; height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgba(0,0,0,0.12);
    flex-shrink: 0;
}
.pc-price-from { font-size: 0.7rem; color: var(--charcoal-soft, #6b6b6b); margin-right: 2px; }

/* ── Family Variant Selector (PDP) ── */
.fv-selector { margin-bottom: 1.25rem; }

.fv-group { margin-bottom: 1rem; }

.fv-label {
    display: block;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em;
    text-transform: uppercase; color: var(--charcoal-soft, #555);
    margin-bottom: 0.5rem;
}
.fv-selected-val { font-weight: 700; color: var(--charcoal, #1C1C1C); text-transform: none; }

.fv-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.fv-chip {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border: 1.5px solid var(--border, #e2e2e2);
    border-radius: 6px;
    background: #fff;
    color: var(--charcoal, #1C1C1C);
    font-size: 0.82rem; font-weight: 500;
    cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.fv-chip:hover:not(:disabled) { border-color: var(--rose, #7D2135); }
.fv-chip.active {
    border-color: var(--rose, #7D2135);
    background: var(--rose, #7D2135);
    color: #fff;
}
.fv-chip.fv-chip-disabled, .fv-chip:disabled {
    opacity: 0.35; cursor: not-allowed; pointer-events: none;
}

.fv-color-dot {
    width: 14px; height: 14px; border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.14);
    flex-shrink: 0;
}

.fv-hint {
    font-size: 0.78rem; color: var(--charcoal-soft, #777);
    margin-top: 0.35rem; margin-bottom: 0;
}

/* ── Cart Quantity Widget (cw-*) ────────────────────────────────────────────── */
/* align-items:stretch so every child fills container height — fixes border gaps */
.cw-stepper {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--charcoal, #1A1A1A);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    max-height:34px;
}
.cw-step-btn {
    background: transparent;
    border: none;
    width: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--charcoal, #1A1A1A);
    transition: background .15s;
    flex-shrink: 0;
}
.cw-step-btn:hover:not(:disabled) { background: #f5f5f5; }
.cw-step-btn:disabled { opacity: .38; cursor: not-allowed; }
.cw-qty {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--sans, 'Outfit', system-ui, sans-serif);
    border-left: 1.5px solid var(--charcoal, #1A1A1A);
    border-right: 1.5px solid var(--charcoal, #1A1A1A);
    padding: 0 6px;
    color: var(--charcoal, #1A1A1A);
}

/* PLP — full width, height matches .pc-btn (0.68rem top+bottom padding + font) */
.pc-cart-widget { width: 100%; }
.pc-cart-widget .cw-stepper   { width: 100%; border-radius: var(--r-sm, 4px); }
.pc-cart-widget .cw-step-btn  { padding: 0.68rem 0; font-size: 0.85rem; }
.pc-cart-widget .cw-qty       { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }

/* PDP — fills flex row like .btn-cart-add (height: 48px, flex: 1) */
#pdp-cart-widget              { flex: 1; min-width: 0; }
#pdp-cart-widget .cw-add-wrap { display: flex; }
#pdp-cart-widget .cw-stepper  { width: 100%; height: 48px; border-radius: var(--r-md, 8px); }
#pdp-cart-widget .cw-step-btn { width: 48px; font-size: 1.1rem; }
#pdp-cart-widget .cw-qty      { font-size: 1rem; font-weight: 700; }

/* Quick View — full width, height matches .qv-btn (padding: 14px) */
.qv-cart-widget { width: 100%; }
.qv-cart-widget .cw-stepper   { width: 100%; border-radius: 6px; border-color: #0f0f0f; }
.qv-cart-widget .cw-step-btn  { padding: 14px 0; font-size: 1rem; }
.qv-cart-widget .cw-qty       {
    font-size: 1rem; font-weight: 600;
    border-left-color: #0f0f0f; border-right-color: #0f0f0f;
}

/* Spinner shown while AJAX add is in-flight */
.cw-spin {
    display: block;
    width: 13px; height: 13px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: cw-spin .65s linear infinite;
    flex-shrink: 0;
}
@keyframes cw-spin { to { transform: rotate(360deg); } }

/* Mobile: match .pc-btn responsive sizing */
@media (max-width: 479.98px) {
    .pc-cart-widget .cw-step-btn { padding: 0.58rem 0; }
    .pc-cart-widget .cw-qty      { font-size: 0.65rem; }
}
