html,
body {
    overflow-x: hidden;
}

/* ============================================================
   SHOP.CSS — Aura & Earth
   Scope: Shop page layout, header, meta bar, filter pills,
          custom sort dropdown, grid/list view toggle,
          pagination, no-results state, loading skeleton,
          active filter badge, quick-view modal
   Depends on: global.css, index.css (base .product-card)
   ============================================================ */


/* ============================================================
   1. SHOP SECTION WRAPPER
   ============================================================ */
.shop-section {
    padding: 0px 5% 100px;
    background: var(--bg-luxe);
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
}


/* ============================================================
   2. SHOP HEADER
   ============================================================ */
.shop-header {
    text-align: center;
    margin: 10px 0 60px;
}

.shop-main-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 15px;
    letter-spacing: 1px;
    display: inline-block;
    position: relative;
}

.shop-main-heading::after {
    content: '✧';
    font-size: 1.8rem;
    color: var(--accent);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.heading-main {
    display: block;
}

.heading-accent {
    background: linear-gradient(90deg, var(--accent), #5a3e63);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.shop-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 750px;
    margin: 25px auto 0;
    line-height: 1.6;
}

/* ── 1. Outer container ─────────────────────────────────────── */
.immersive-banner {
    position: relative;
    width: 100vw;
    /* Bleed beyond .shop-container's padding */
    margin-left: calc(-5vw);
    /* mirror .shop-section's 5% side padding */
    max-width: none;

    height: clamp(480px, 65vh, 760px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    /* Breathing room before the meta/filter bar */
    margin-bottom: 56px;
    border-radius: 0;
    /* Full-bleed feel */
}

/* ── 2. Background image layer ──────────────────────────────── */
.ib-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.06);
    /* slight zoom-out room for potential parallax / hover */
    transition: transform 10s ease;
    /* very slow drift on load — purely aesthetic */
    animation: ibDrift 14s ease-in-out infinite alternate;
}

@keyframes ibDrift {
    from {
        transform: scale(1.06) translateY(0px);
    }

    to {
        transform: scale(1.09) translateY(-12px);
    }
}

/* ── 3. Overlay ─────────────────────────────────────────────── */
.ib-overlay {
    position: absolute;
    inset: 0;
    /* Deep vignette: lighter top so text pops; darker bottom for arrow */
    background: linear-gradient(170deg,
            rgba(10, 6, 14, 0.55) 0%,
            rgba(10, 6, 14, 0.72) 50%,
            rgba(10, 6, 14, 0.88) 100%);
}

/* ── 4. Film-grain texture (CSS-only, no image needed) ──────── */
.ib-grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
}

/* ── 5. Text content block ──────────────────────────────────── */
.ib-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;

    /* Fade + rise in on load */
    animation: ibContentReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ibContentReveal {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Eyebrow label */
.ib-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.65rem, 1.2vw, 0.8rem);
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 18px;
}

/* Main headline */
.ib-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.2rem, 8vw, 7rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.05;
    color: #ffffff;
    letter-spacing: -0.01em;

    /* Faint text-shadow for legibility depth */
    text-shadow:
        0 2px 40px rgba(10, 6, 14, 0.5),
        0 0 80px rgba(122, 92, 133, 0.25);

    margin-bottom: 22px;
}

/* Subline */
.ib-subline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.85rem, 1.6vw, 1.05rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
}

/* ── 6. Bouncing scroll arrow ───────────────────────────────── */
.ib-scroll-arrow {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;

    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;

    /* Circular ghost button feel */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.06);

    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;

    /* Bounce animation */
    animation: ibArrowBounce 2.2s ease-in-out infinite;
    animation-delay: 1.4s;
    /* waits for content to settle */
}

.ib-scroll-arrow:hover {
    color: #ffffff;
    border-color: rgba(179, 147, 189, 0.6);
    background: rgba(122, 92, 133, 0.22);
}

@keyframes ibArrowBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.55;
    }

    50% {
        transform: translateX(-50%) translateY(9px);
        opacity: 0.9;
    }
}

/* ── 7. Responsive tweaks ───────────────────────────────────── */
@media (max-width: 768px) {
    .immersive-banner {
        height: clamp(360px, 55vh, 520px);
        /* Undo the 5vw bleed on mobile — match .shop-section's 5% padding */
        margin-left: calc(-5%);
    }

    .ib-headline {
        font-size: clamp(2.6rem, 11vw, 4rem);
    }
}

@media (max-width: 480px) {
    .immersive-banner {
        height: 70vh;
        margin-left: calc(-4%);
        /* match .navbar's 4% on mobile */
    }
}

/* ── 8. Reduced-motion respect ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .ib-bg {
        animation: none;
    }

    .ib-content {
        animation: none;
    }

    .ib-scroll-arrow {
        animation: none;
    }
}

/* ============================================================
   3. META BAR (Showing count + View Toggle)
   ============================================================ */
.shop-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #666;
}

.active-filter-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.active-filter-badge {
    background: rgba(122, 92, 133, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(122, 92, 133, 0.3);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.95rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.clear-filter-btn {
    font-size: 1.2rem;
    color: #e74c3c;
    transition: all 0.3s;
    padding: 0 8px;
}

.clear-filter-btn:hover {
    color: #c0392b;
    transform: scale(1.2);
}

/* View toggle (Grid / List) */
.view-toggle {
    display: flex;
    gap: 10px;
}

.view-btn {
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.view-btn:hover:not(.active) {
    border-color: var(--accent-light);
    color: var(--accent);
}

.view-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}


/* ============================================================
   4. FILTER PILLS (Horizontal Scrollable)
   ============================================================ */
.shop-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group.scrollable {
    display: flex;
    gap: 14px;
    padding-bottom: 12px;
    /* FIX: pills scroll horizontally on mobile instead of wrapping */
    /* overflow-x: auto; */
    -webkit-overflow-scrolling: touch;
    flex-wrap: wrap;
    scrollbar-width: thin;
    scrollbar-color: rgba(122, 92, 133, 0.3) transparent;
}

.filter-group.scrollable::-webkit-scrollbar {
    height: 6px;
}

.filter-group.scrollable::-webkit-scrollbar-track {
    background: transparent;
}

.filter-group.scrollable::-webkit-scrollbar-thumb {
    background: rgba(122, 92, 133, 0.4);
    border-radius: 10px;
}

.filter-group.scrollable::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

.filter-btn {
    position: relative;
    overflow: hidden;
    padding: 14px 28px;
    background: rgba(253, 250, 246, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(122, 92, 133, 0.25);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    color: var(--text-main);
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Ripple on click */
.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(122, 92, 133, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.filter-btn:active::before {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.filter-btn:hover {
    background: rgba(253, 250, 246, 0.98);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(122, 92, 133, 0.25);
    transform: translateY(-3px);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(122, 92, 133, 0.45);
    transform: translateY(-2px);
}


/* ============================================================
   5. CUSTOM SORT DROPDOWN
   ============================================================ */
.sort-group {
    position: relative;
    min-width: 260px;
}

.custom-dropdown {
    position: relative;
}

.dropdown-selected {
    padding: 14px 20px 14px 24px;
    background: rgba(253, 250, 246, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(122, 92, 133, 0.25);
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.35s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.dropdown-selected:hover {
    background: rgba(253, 250, 246, 0.98);
    border-color: var(--accent);
    box-shadow: 0 12px 35px rgba(122, 92, 133, 0.28);
    transform: translateY(-3px);
}

.dropdown-selected i {
    transition: transform 0.3s ease;
}

.custom-dropdown.open .dropdown-selected i {
    transform: rotate(180deg);
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 12px;
    background: rgba(253, 250, 246, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(122, 92, 133, 0.2);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    list-style: none;
    padding: 12px 0;
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.custom-dropdown.open .dropdown-list {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-list li {
    padding: 14px 24px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.2s ease;
}

.dropdown-list li:hover {
    background: rgba(122, 92, 133, 0.15);
    color: var(--accent);
    padding-left: 32px;
}


/* ============================================================
   6. PRODUCTS GRID
   ============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
}


/* ============================================================
   7. LIST VIEW OVERRIDES
   ============================================================ */
.products-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* In list view, card becomes a horizontal row */
.products-grid.list-view .product-card {
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 25px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    transform: none;
    /* disable the index.css lift on hover for list */
}

.products-grid.list-view .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(122, 92, 133, 0.14);
}

.products-grid.list-view .product-image-box {
    width: 200px;
    flex-shrink: 0;
    border-radius: 14px;
}

.products-grid.list-view .product-info {
    text-align: left;
    padding-top: 0;
    flex: 1;
}


/* ============================================================
   8. PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.pagination button,
.page-btn {
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.pagination button:hover:not(:disabled),
.page-btn:hover:not(:disabled) {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.pagination button.active,
.page-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.page-dots {
    font-size: 1.2rem;
    color: #999;
    padding: 0 10px;
    font-weight: 600;
}

.prev-btn,
.next-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}


/* ============================================================
   9. NO RESULTS STATE
   ============================================================ */
.no-results {
    text-align: center;
    padding: 100px 20px;
}

.no-results i {
    font-size: 5rem;
    color: #ddd;
    margin-bottom: 30px;
    display: block;
}

.no-results h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
}

.no-results p {
    color: #999;
    margin-bottom: 20px;
}

.btn-reset {
    padding: 14px 40px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.btn-reset:hover {
    background: #5a3e63;
    transform: translateY(-2px);
}


/* ============================================================
   10. LOADING SKELETON
   ============================================================ */
.loading-skeleton {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
}

.skeleton-card {
    height: 420px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 20px;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}


/* ============================================================
   11. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .shop-main-heading {
        font-size: 2.4rem;
    }

    .shop-subtitle {
        font-size: 1rem;
    }

    .shop-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        font-size: 0.95rem;
    }

    .filter-group.scrollable {
        padding: 0 0 12px;
    }

    .filter-btn {
        padding: 12px 22px;
        font-size: 0.95rem;
    }

    .sort-group {
        min-width: 100%;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .products-grid.list-view .product-card {
        flex-direction: column;
        gap: 16px;
    }

    .products-grid.list-view .product-image-box {
        width: 100%;
    }

    .products-grid.list-view .product-info {
        text-align: center;
    }

    .pagination {
        gap: 6px;
    }

    .page-btn {
        width: 36px;
        height: 36px;
        padding: 0;
        font-size: 0.9rem;
    }

    .page-dots {
        font-size: 1rem;
        padding: 0 6px;
    }
}


/* ============================================================
   12. MOBILE — 480px & below
   ============================================================ */
@media (max-width: 480px) {
    .shop-section {
        padding: 30px 4% 60px;
    }

    .shop-header {
        margin: 0 0 40px;
    }

    .shop-main-heading {
        font-size: 1.9rem;
        letter-spacing: 0.5px;
    }

    .shop-main-heading::after {
        bottom: -22px;
        font-size: 1.1rem;
    }

    .shop-subtitle {
        font-size: 0.9rem;
        margin-top: 20px;
    }

    .shop-meta {
        font-size: 0.875rem;
        gap: 10px;
    }

    .shop-filters {
        margin-bottom: 36px;
        gap: 14px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    /* 1-column grid on small phones */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .view-btn {
        padding: 9px 14px;
        font-size: 0.85rem;
    }

    .pagination {
        gap: 4px;
        margin-top: 28px;
    }

    .page-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .page-dots {
        padding: 0 4px;
        font-size: 0.9rem;
    }

    .no-results {
        padding: 60px 16px;
    }

    .no-results i {
        font-size: 3.5rem;
    }

    .no-results h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 360px) {
    .shop-main-heading {
        font-size: 1.65rem;
    }

    .shop-section {
        padding: 24px 3.5% 50px;
    }

    .products-grid {
        gap: 12px;
    }

    .filter-btn {
        padding: 9px 16px;
        font-size: 0.8rem;
    }
}

/* ============================================================
   DRAWER ADDON — append to the bottom of shop.css
   (or to a new file: css/drawer.css — link after shop.css)
   ============================================================ */


/* ── Drawer Trigger Button ─────────────────────────────────── */
.drawer-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: rgba(253, 250, 246, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(122, 92, 133, 0.35);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 16px rgba(122, 92, 133, 0.10);
    white-space: nowrap;
}

.drawer-open-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(122, 92, 133, 0.35);
    transform: translateY(-3px);
}

/* Active indicator dot when drawer filters are applied */
.drawer-open-btn.has-active-filters::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    margin-left: 2px;
    display: inline-block;
    animation: pulse-dot 1.5s ease infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}


/* ── Overlay ───────────────────────────────────────────────── */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 24, 0.45);
    backdrop-filter: blur(3px);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.38s ease;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}


/* ── Drawer Panel ──────────────────────────────────────────── */
.filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(400px, 92vw);
    height: 100dvh;
    /* dynamic viewport height for mobile */
    background: var(--bg-luxe, #fdfaf6);
    border-right: 1px solid rgba(122, 92, 133, 0.15);
    box-shadow: 8px 0 48px rgba(20, 12, 24, 0.18);
    z-index: 1100;
    display: flex;
    flex-direction: column;
    overflow: hidden;

    /* Slide-in animation */
    transform: translateX(-105%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
    will-change: transform;
}

.filter-drawer.open {
    transform: translateX(0);
}


/* ── Drawer Header ─────────────────────────────────────────── */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 28px 22px;
    border-bottom: 1px solid rgba(122, 92, 133, 0.12);
    flex-shrink: 0;
    background: var(--bg-luxe, #fdfaf6);
}

.drawer-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-icon {
    font-size: 1.3rem;
    color: var(--accent, #7a5c85);
    opacity: 0.75;
}

.drawer-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    letter-spacing: 0.5px;
}

.drawer-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(122, 92, 133, 0.2);
    border-radius: 50%;
    background: transparent;
    color: var(--text-main);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.drawer-close:hover {
    background: var(--accent, #7a5c85);
    color: #fff;
    border-color: var(--accent, #7a5c85);
    transform: rotate(90deg);
}


/* ── Drawer Body (scrollable) ──────────────────────────────── */
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
    scrollbar-width: thin;
    scrollbar-color: rgba(122, 92, 133, 0.3) transparent;
}

.drawer-body::-webkit-scrollbar {
    width: 4px;
}

.drawer-body::-webkit-scrollbar-track {
    background: transparent;
}

.drawer-body::-webkit-scrollbar-thumb {
    background: rgba(122, 92, 133, 0.35);
    border-radius: 10px;
}


/* ── Section titles ────────────────────────────────────────── */
.drawer-section {
    margin-bottom: 8px;
}

.drawer-section-title {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--accent, #7a5c85);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.drawer-section-title i {
    font-size: 0.85rem;
    opacity: 0.8;
}

.drawer-divider {
    height: 1px;
    background: rgba(122, 92, 133, 0.1);
    margin: 20px 0 22px;
}


/* ── Chips ─────────────────────────────────────────────────── */
.drawer-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.drawer-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border: 1.5px solid rgba(122, 92, 133, 0.22);
    border-radius: 50px;
    background: rgba(253, 250, 246, 0.7);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
}

.drawer-chip:hover {
    border-color: var(--accent, #7a5c85);
    background: rgba(122, 92, 133, 0.06);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(122, 92, 133, 0.14);
}

.drawer-chip.selected,
.drawer-chip[aria-pressed="true"] {
    background: var(--accent, #7a5c85);
    color: #fff;
    border-color: var(--accent, #7a5c85);
    box-shadow: 0 4px 16px rgba(122, 92, 133, 0.4);
}

.chip-icon {
    font-size: 1rem;
    line-height: 1;
}

.chip-swatch {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}


/* ── Price Range Slider ────────────────────────────────────── */
.drawer-price-wrap {
    padding: 4px 0 8px;
}

.price-range-track {
    position: relative;
    height: 36px;
    display: flex;
    align-items: center;
}

/* Stack both range inputs on top of each other */
.drawer-range {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    width: 100%;
    height: 4px;
    background: transparent;
    pointer-events: none;
    outline: none;
}

.drawer-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent, #7a5c85);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(122, 92, 133, 0.4);
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.2s ease;
}

.drawer-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.drawer-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent, #7a5c85);
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(122, 92, 133, 0.4);
    cursor: pointer;
    pointer-events: auto;
}

/* Track fill rendered via JS-driven background on #drawerPriceMin */
#drawerPriceMin {
    background: linear-gradient(to right,
            rgba(122, 92, 133, 0.15) var(--min-pct, 0%),
            var(--accent, #7a5c85) var(--min-pct, 0%),
            var(--accent, #7a5c85) var(--max-pct, 100%),
            rgba(122, 92, 133, 0.15) var(--max-pct, 100%));
}

.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
}

.price-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent, #7a5c85);
    background: rgba(122, 92, 133, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    min-width: 60px;
    text-align: center;
}


/* ── Selection Summary ─────────────────────────────────────── */
.drawer-summary {
    margin-top: 20px;
    padding: 14px 18px;
    background: rgba(122, 92, 133, 0.06);
    border: 1px solid rgba(122, 92, 133, 0.18);
    border-radius: 14px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.summary-label {
    font-weight: 700;
    color: var(--accent, #7a5c85);
    margin-right: 6px;
}

.summary-text {
    color: var(--text-main);
}


/* ── Drawer Footer ─────────────────────────────────────────── */
.drawer-footer {
    display: flex;
    gap: 12px;
    padding: 20px 28px 24px;
    border-top: 1px solid rgba(122, 92, 133, 0.12);
    flex-shrink: 0;
    background: var(--bg-luxe, #fdfaf6);
}

.drawer-btn-clear {
    flex: 0 0 auto;
    padding: 14px 22px;
    border: 1.5px solid rgba(122, 92, 133, 0.3);
    border-radius: 50px;
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.drawer-btn-clear:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.drawer-btn-apply {
    flex: 1;
    padding: 14px 24px;
    background: var(--accent, #7a5c85);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 6px 24px rgba(122, 92, 133, 0.35);
    letter-spacing: 0.3px;
}

.drawer-btn-apply:hover {
    background: #5a3e63;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(122, 92, 133, 0.45);
}

.match-count {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.82rem;
    font-weight: 800;
}


/* ── Focus-visible ring (accessibility) ────────────────────── */
.drawer-chip:focus-visible,
.drawer-close:focus-visible,
.drawer-btn-clear:focus-visible,
.drawer-btn-apply:focus-visible,
.drawer-open-btn:focus-visible {
    outline: 2px solid var(--accent, #7a5c85);
    outline-offset: 3px;
}


/* ── Dark theme ────────────────────────────────────────────── */
.dark-theme .filter-drawer,
.dark-theme .drawer-header,
.dark-theme .drawer-footer {
    background: #1a1025;
    border-color: rgba(122, 92, 133, 0.25);
}

.dark-theme .drawer-chip {
    background: rgba(30, 18, 40, 0.9);
    border-color: rgba(122, 92, 133, 0.35);
    color: #e8dff0;
}

.dark-theme .drawer-chip:hover {
    background: rgba(122, 92, 133, 0.15);
}

.dark-theme .drawer-open-btn {
    background: rgba(30, 18, 40, 0.85);
    color: #e8dff0;
}

.dark-theme .drawer-summary {
    background: rgba(122, 92, 133, 0.1);
}

.dark-theme .price-label {
    color: #c8a8d8;
    background: rgba(122, 92, 133, 0.15);
}


/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 480px) {
    .filter-drawer {
        width: 95vw;
    }

    .drawer-header {
        padding: 20px 20px 18px;
    }

    .drawer-body {
        padding: 20px 20px;
    }

    .drawer-footer {
        padding: 16px 20px 20px;
    }

    .drawer-title {
        font-size: 1.4rem;
    }

    .drawer-btn-apply {
        font-size: 0.88rem;
    }
}

/* ══════════════════════════════════════════════════════
   SKELETON LOADERS
══════════════════════════════════════════════════════ */
.skeleton-card {
    pointer-events: none;
    cursor: default;
}

.skeleton-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    background: #e8e2da;
}

.skeleton-body {
    padding: 12px 4px 4px;
}

.skeleton-line {
    height: 13px;
    border-radius: 6px;
    background: #e8e2da;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: -400px 0;
    }

    100% {
        background-position: 400px 0;
    }
}

.skeleton-pulse {
    background: linear-gradient(90deg, #ede7df 25%, #f5f0eb 50%, #ede7df 75%);
    background-size: 800px 100%;
    animation: skeleton-shimmer 1.6s infinite linear;
}

/* ══════════════════════════════════════════════════════
   SOLD OUT BADGE & BUTTON STATE
══════════════════════════════════════════════════════ */
.sold-out-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(30, 24, 18, 0.72);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 4px;
    z-index: 3;
}

.btn-floating-cart.btn-sold-out,
.btn-floating-cart:disabled {
    background: #c8bfb5 !important;
    color: #fff !important;
    cursor: not-allowed !important;
    opacity: 0.7;
}

/* ══════════════════════════════════════════════════════
   CART UTILITY CARD (Pincode + Coupon merged)
══════════════════════════════════════════════════════ */
.cart-utility-card {
    padding: 0;
    overflow: hidden;
}

.cart-utility-section {
    padding: 18px 20px;
}

.cart-utility-divider {
    height: 1px;
    background: rgba(110, 148, 114, 0.15);
    margin: 0 20px;
}

.cart-pincode-row {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.cart-pincode-feedback {
    margin-top: 10px;
    font-size: 0.85rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 20px;
}

.cart-pincode-feedback.success {
    color: #2e7d50;
}

.cart-pincode-feedback.error {
    color: #c0392b;
}

.cart-pincode-feedback i {
    flex-shrink: 0;
}

/* ============================================================
   SKELETON LOADERS
   ============================================================ */
.skeleton-card {
    pointer-events: none;
    cursor: default;
    border-radius: 16px;
    overflow: hidden;
    background: var(--card-bg, #faf8f5);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.skeleton-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px 12px 0 0;
    background: #e8e2da;
}

.skeleton-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skeleton-line {
    height: 14px;
    border-radius: 8px;
    background: #e8e2da;
}

@keyframes skeletonPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

.skeleton-pulse {
    animation: skeletonPulse 1.6s ease-in-out infinite;
}

/* ============================================================
   PRODUCT CARD STAGGERED REVEAL (Improvement #1)
   Applied when JS removes skeletons and renders real cards.
   ============================================================ */
@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

#productsGrid .product-card {
    animation: cardReveal 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Stagger: first 12 cards get a cascading delay */
#productsGrid .product-card:nth-child(1) {
    animation-delay: 0.03s;
}

#productsGrid .product-card:nth-child(2) {
    animation-delay: 0.07s;
}

#productsGrid .product-card:nth-child(3) {
    animation-delay: 0.11s;
}

#productsGrid .product-card:nth-child(4) {
    animation-delay: 0.15s;
}

#productsGrid .product-card:nth-child(5) {
    animation-delay: 0.19s;
}

#productsGrid .product-card:nth-child(6) {
    animation-delay: 0.23s;
}

#productsGrid .product-card:nth-child(7) {
    animation-delay: 0.27s;
}

#productsGrid .product-card:nth-child(8) {
    animation-delay: 0.31s;
}

#productsGrid .product-card:nth-child(9) {
    animation-delay: 0.35s;
}

#productsGrid .product-card:nth-child(10) {
    animation-delay: 0.39s;
}

#productsGrid .product-card:nth-child(11) {
    animation-delay: 0.43s;
}

#productsGrid .product-card:nth-child(12) {
    animation-delay: 0.47s;
}

/* ============================================================
   SOLD OUT BADGE (if not already in shop.css)
   ============================================================ */
.sold-out-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(58, 50, 40, 0.82);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 3;
    pointer-events: none;
}

.btn-sold-out {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    background: #a09488 !important;
}

/* ============================================================
   SHOP PAGE ADDITIONS — append to the bottom of shop.css
   ─────────────────────────────────────────────────────────
   Adds:
   1.  .shop-card-actions  — premium two-button hover tray
   2.  .shop-card-view-btn — "View Details" glass link
   3.  .shop-card-bag-btn  — "Add to Bag" filled button
   4.  .shop-card-stone    — muted stone sub-label under name
   5.  #noResults          — no-results empty state
   6.  #pagination         — pagination row
   ============================================================ */


/* ── 1. CARD HOVER ACTION TRAY ───────────────────────────────
   Sits below .product-image-box, inside .product-card.
   Slides up from below on card hover. Two side-by-side CTAs.
   IMPORTANT: placed OUTSIDE .product-image-box so it is not
   clipped by that element's overflow:hidden.
   ─────────────────────────────────────────────────────────── */
.product-card {
    position: relative;
    /* ensure tray is positioned relative to card */
}

.shop-card-actions {
    display: flex;
    gap: 8px;
    padding: 0 14px 14px;
    /* Hidden below card — slides up into view on hover */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition:
        max-height 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.26s ease,
        transform 0.30s cubic-bezier(0.22, 1, 0.36, 1);
    /* On mobile (no hover), always show tray */
}

.product-card:hover .shop-card-actions {
    max-height: 56px;
    opacity: 1;
    transform: translateY(0);
}

/* Touch devices: always visible (hover never fires) */
@media (hover: none) {
    .shop-card-actions {
        max-height: 56px;
        opacity: 1;
        transform: translateY(0);
        padding-bottom: 14px;
    }
}


/* ── 2. VIEW DETAILS LINK ─────────────────────────────────── */
.shop-card-view-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
    background: transparent;
    border: 1.5px solid rgba(122, 92, 133, 0.30);
    border-radius: 50px;
    color: var(--accent, #7a5c85);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.shop-card-view-btn:hover {
    background: rgba(122, 92, 133, 0.07);
    border-color: var(--accent, #7a5c85);
    color: var(--accent, #7a5c85);
    box-shadow: 0 4px 14px rgba(122, 92, 133, 0.15);
}

.shop-card-view-btn i {
    font-size: 0.75rem;
    flex-shrink: 0;
}


/* ── 3. ADD TO BAG BUTTON ─────────────────────────────────── */
.shop-card-bag-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 0;
    background: var(--accent, #7a5c85);
    border: 1.5px solid var(--accent, #7a5c85);
    border-radius: 50px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 6px 18px rgba(122, 92, 133, 0.28);
    transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.shop-card-bag-btn:hover:not(:disabled) {
    background: #5a3e63;
    border-color: #5a3e63;
    box-shadow: 0 10px 28px rgba(122, 92, 133, 0.42);
    transform: translateY(-1px);
}

.shop-card-bag-btn:active:not(:disabled) {
    transform: translateY(0);
    transition-duration: 0.08s;
}

.shop-card-bag-btn:disabled,
.shop-card-bag-btn.btn-sold-out {
    background: rgba(160, 148, 136, 0.50) !important;
    border-color: transparent !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: 0.75;
    transform: none !important;
}

.shop-card-bag-btn i {
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Dark mode */
body.dark-theme .shop-card-view-btn {
    border-color: rgba(179, 147, 189, 0.28);
    color: var(--accent-light, #b393bd);
}

body.dark-theme .shop-card-view-btn:hover {
    background: rgba(179, 147, 189, 0.08);
    border-color: var(--accent-light, #b393bd);
    color: var(--accent-light, #b393bd);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .shop-card-actions,
    .shop-card-bag-btn,
    .shop-card-view-btn {
        transition: none;
    }

    .product-card:hover .shop-card-actions {
        transition: none;
    }
}


/* ── 4. STONE SUB-LABEL ───────────────────────────────────── */
/* Renders the crystal type (e.g. "Amethyst") beneath the name */
.shop-card-stone {
    font-size: 0.72rem;
    color: #aaa;
    text-transform: capitalize;
    letter-spacing: 0.2px;
    margin: 2px 0 5px;
    min-height: 15px;
    /* preserve layout when field is empty */
    line-height: 1;
}

body.dark-theme .shop-card-stone {
    color: #6b6b6b;
}


/* ── 5. NO RESULTS STATE ─────────────────────────────────── */
.shop-no-results {
    text-align: center;
    padding: 80px 24px 100px;
    grid-column: 1 / -1;
    /* span full grid when grid is still active */
}

.shop-no-results-glyph {
    font-size: 3.5rem;
    color: var(--accent-light, #b393bd);
    opacity: 0.4;
    margin-bottom: 24px;
    line-height: 1;
    display: block;
}

.shop-no-results h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.shop-no-results p {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 32px;
    line-height: 1.6;
}

.shop-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 36px;
    background: var(--accent, #7a5c85);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 8px 24px rgba(122, 92, 133, 0.30);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.shop-reset-btn:hover {
    background: #5a3e63;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(122, 92, 133, 0.42);
}

@media (max-width: 480px) {
    .shop-no-results {
        padding: 56px 16px 64px;
    }

    .shop-no-results h3 {
        font-size: 1.55rem;
    }
}


/* ── 6. PAGINATION ────────────────────────────────────────── */
/* #pagination is a <nav> element built by updateShopView(). It
   injects .page-btn elements (already styled in shop.css).
   These wrapper styles position the nav and handle spacing. */
.shop-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    flex-wrap: wrap;
}

/* Increase specificity for page buttons inside this nav so
   they match the brand precisely without touching global rules */
.shop-pagination .page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    background: var(--white, #fff);
    border: 1.5px solid rgba(0, 0, 0, 0.09);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
}

.shop-pagination .page-btn:hover:not(:disabled) {
    background: var(--accent, #7a5c85);
    color: #fff;
    border-color: var(--accent, #7a5c85);
    box-shadow: 0 6px 18px rgba(122, 92, 133, 0.28);
    transform: translateY(-1px);
}

.shop-pagination .page-btn.active {
    background: var(--accent, #7a5c85);
    color: #fff;
    border-color: var(--accent, #7a5c85);
    box-shadow: 0 6px 18px rgba(122, 92, 133, 0.28);
}

.shop-pagination .page-btn:disabled {
    opacity: 0.32;
    cursor: not-allowed;
    transform: none;
}

.shop-pagination .prev-btn,
.shop-pagination .next-btn {
    width: 42px;
    min-width: 42px;
    padding: 0;
}

.shop-pagination .page-dots {
    font-size: 1.1rem;
    color: #bbb;
    padding: 0 4px;
    user-select: none;
    pointer-events: none;
}

body.dark-theme .shop-pagination .page-btn {
    background: #2a2420;
    border-color: rgba(255, 255, 255, 0.08);
    color: #d4cec8;
}

body.dark-theme .shop-pagination .page-btn:hover:not(:disabled),
body.dark-theme .shop-pagination .page-btn.active {
    background: var(--accent, #7a5c85);
    color: #fff;
    border-color: var(--accent, #7a5c85);
}

@media (max-width: 480px) {
    .shop-pagination {
        gap: 5px;
        margin-top: 36px;
    }

    .shop-pagination .page-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
}

/* ============================================================
   PHASE 4 — PREMIUM SHOP UPGRADES
   Aura & Earth | Luxury Crystal Brand
   ─────────────────────────────────────────────────────────
   1. Energy Match Section
   2. Slide-Out Mini Cart Drawer
   3. FOMO Badges
   4. Quick View Modal
   ============================================================ */

/* ─────────────────────────────────────────────────────────────
   SHARED TOKENS (extend your existing CSS variables)
───────────────────────────────────────────────────────────── */
:root {
    --aura-gold: #c9a96e;
    --aura-gold-light: #e8d5ad;
    --aura-gold-dark: #9a7840;
    --aura-deep: #1a1410;
    --aura-stone: #3a3228;
    --aura-mist: #f5f0eb;
    --aura-mist-mid: #ede7df;
    --aura-sage: #6e9472;
    --aura-rose: #c47a8e;
    --fomo-red: #c0392b;
    --fomo-amber: #d68910;

    --drawer-width: 420px;
    --modal-radius: 20px;
    --transition-silk: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ═══════════════════════════════════════════════════════════
   2. SLIDE-OUT MINI CART DRAWER
═══════════════════════════════════════════════════════════ */

/* Overlay */
.mini-cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 10, 6, 0.55);
    z-index: 8000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.mini-cart-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

/* Drawer */
.mini-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(var(--drawer-width), 100%);
    max-width: 100vw;
    /* removed duplicate */
    background: linear-gradient(170deg, #1e1812 0%, #16110d 100%);
    border-left: 1px solid rgba(201, 169, 110, 0.2);
    z-index: 8001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.45s var(--transition-silk);
    box-shadow: none;
    /* ← KEY FIX: no shadow when hidden */
}

.mini-cart-drawer.is-open {
    transform: translateX(0);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
    /* ← only paints when visible */
}

/* Drawer top accent */
.mini-cart-drawer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--aura-gold), transparent);
}

/* Header */
.mini-cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    flex-shrink: 0;
}

.mini-cart-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-cart-glyph {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.12);
    border: 1px solid rgba(201, 169, 110, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--aura-gold);
    font-size: 0.9rem;
}

.mini-cart-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f0e8d8;
    margin: 0;
}

.mini-cart-count-badge {
    background: var(--aura-gold);
    color: var(--aura-deep);
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.mini-cart-close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(245, 237, 224, 0.7);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.mini-cart-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

/* Newly added item highlight */
.mini-cart-added-flash {
    margin: 0;
    padding: 12px 24px;
    background: rgba(110, 148, 114, 0.12);
    border-bottom: 1px solid rgba(110, 148, 114, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #a8d5ad;
    flex-shrink: 0;
    animation: flashIn 0.4s var(--transition-silk) both;
}

@keyframes flashIn {
    from {
        opacity: 0;
        height: 0;
        padding-block: 0;
    }

    to {
        opacity: 1;
    }
}

.mini-cart-added-flash i {
    color: var(--aura-sage);
}

/* Items list */
.mini-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 169, 110, 0.2) transparent;
}

.mini-cart-items::-webkit-scrollbar {
    width: 4px;
}

.mini-cart-items::-webkit-scrollbar-track {
    background: transparent;
}

.mini-cart-items::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 110, 0.25);
    border-radius: 999px;
}

.mini-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.2s;
    animation: cartItemSlide 0.4s var(--transition-silk) both;
}

@keyframes cartItemSlide {
    from {
        opacity: 0;
        transform: translateX(16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mini-cart-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.mini-cart-item-img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(201, 169, 110, 0.2);
    flex-shrink: 0;
}

.mini-cart-item-img-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mini-cart-item-info {
    flex: 1;
    min-width: 0;
}

.mini-cart-item-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #f0e8d8;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-cart-item-meta {
    font-size: 0.73rem;
    color: rgba(245, 237, 224, 0.4);
    margin: 0 0 8px;
}

.mini-cart-item-price {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--aura-gold);
}

.mini-cart-item-remove {
    background: none;
    border: none;
    color: rgba(245, 237, 224, 0.3);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
    flex-shrink: 0;
    margin-top: 2px;
}

.mini-cart-item-remove:hover {
    color: #e74c3c;
}

/* Empty state */
.mini-cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    text-align: center;
    gap: 12px;
}

.mini-cart-empty-glyph {
    font-size: 2.5rem;
    opacity: 0.4;
    margin-bottom: 4px;
}

.mini-cart-empty p {
    color: rgba(245, 237, 224, 0.5);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.mini-cart-footer {
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding: 20px 24px 24px;
    background: rgba(0, 0, 0, 0.2);
}

.mini-cart-subtotal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.mini-cart-subtotal-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(245, 237, 224, 0.5);
    font-weight: 500;
}

.mini-cart-subtotal-value {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #f0e8d8;
}

.mini-cart-shipping-note {
    font-size: 0.73rem;
    color: var(--aura-sage);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.mini-cart-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mini-cart-checkout-btn {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, var(--aura-gold-dark) 0%, var(--aura-gold) 100%);
    color: var(--aura-deep);
    border: none;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-family: inherit;
}

.mini-cart-checkout-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.mini-cart-view-bag-btn {
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    color: rgba(245, 237, 224, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
    display: block;
}

.mini-cart-view-bag-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(245, 237, 224, 0.9);
}


/* ═══════════════════════════════════════════════════════════
   3. FOMO BADGES (overlaid on product card images)
═══════════════════════════════════════════════════════════ */

/* Wrapper must be position:relative — add this to .product-card
   or wherever the product card image container is */
.product-card .product-image-box {
    position: relative;
    overflow: hidden;
    /* restored — keeps image contained + border-radius intact */
}

.fomo-badge {
    position: absolute;
    top: 40px;
    /* sits below the existing .badge-tag chip */
    left: 10px;
    z-index: 6;
    /* above sold-out-badge (z:3) and badge-tag */
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    pointer-events: none;
    animation: fomoIn 0.4s var(--transition-silk) both;
    white-space: nowrap;
}

@keyframes fomoIn {
    from {
        opacity: 0;
        transform: scale(0.75);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fomo-badge--low-stock {
    background: rgba(192, 57, 43, 0.92);
    color: #fff;
    box-shadow: 0 2px 10px rgba(192, 57, 43, 0.4);
    backdrop-filter: blur(4px);
}

.fomo-badge--very-low {
    background: rgba(214, 137, 16, 0.92);
    color: #fff;
    box-shadow: 0 2px 10px rgba(214, 137, 16, 0.4);
    backdrop-filter: blur(4px);
}

.fomo-badge--bestseller {
    background: rgba(201, 169, 110, 0.92);
    color: var(--aura-deep);
    box-shadow: 0 2px 10px rgba(201, 169, 110, 0.35);
    backdrop-filter: blur(4px);
}

.fomo-badge .fomo-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.8;
    animation: fomoPulse 1.4s ease-in-out infinite;
}

@keyframes fomoPulse {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(0.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* When multiple badges appear, stack them */
.fomo-badge+.fomo-badge {
    top: 76px;
    /* 40px base + ~36px badge height */
}


/* ═══════════════════════════════════════════════════════════
   4. QUICK VIEW MODAL
═══════════════════════════════════════════════════════════ */

/* Hover trigger button on product cards */
.quick-view-trigger {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    z-index: 5;
    background: rgba(26, 20, 16, 0.88);
    border: 1px solid rgba(201, 169, 110, 0.5);
    color: var(--aura-gold);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.3s var(--transition-silk), background 0.2s;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    font-family: inherit;
}

.product-card:hover .quick-view-trigger,
.product-card:focus-within .quick-view-trigger {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.quick-view-trigger:hover {
    background: rgba(201, 169, 110, 0.2);
    border-color: var(--aura-gold);
}

/* Modal overlay */
.qv-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 6, 3, 0.7);
    z-index: 9000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.qv-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

/* Modal box */
.qv-modal {
    background: linear-gradient(150deg, #1f1810 0%, #17120d 100%);
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: var(--modal-radius);
    width: 100%;
    max-width: 820px;
    max-height: 90dvh;
    overflow: hidden;
    display: flex;
    position: relative;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s var(--transition-silk);
}

.qv-overlay.is-open .qv-modal {
    transform: scale(1) translateY(0);
}

/* Gold top accent line */
.qv-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--aura-gold), transparent);
}

/* Close button */
.qv-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: rgba(245, 237, 224, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}

.qv-close:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

/* Left: image column */
.qv-image-col {
    width: 42%;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.qv-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.qv-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: rgba(201, 169, 110, 0.04);
}

/* Subtle gradient overlay on image */
.qv-image-col::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(23, 18, 13, 0.5) 0%, transparent 40%);
    pointer-events: none;
}

/* Right: details column */
.qv-details-col {
    flex: 1;
    padding: 36px 32px 32px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(201, 169, 110, 0.15) transparent;
}

.qv-details-col::-webkit-scrollbar {
    width: 3px;
}

.qv-details-col::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 110, 0.2);
    border-radius: 99px;
}

.qv-eyebrow {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--aura-gold);
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.qv-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: #f5ede0;
    line-height: 1.25;
    margin: 0 0 16px;
}

.qv-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
}

.qv-price {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--aura-gold);
}

.qv-price-original {
    font-size: 1rem;
    color: rgba(245, 237, 224, 0.35);
    text-decoration: line-through;
}

.qv-sale-pill {
    background: rgba(196, 122, 142, 0.2);
    color: var(--aura-rose);
    border: 1px solid rgba(196, 122, 142, 0.3);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    letter-spacing: 0.06em;
}

.qv-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 0 0 20px;
}

.qv-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(245, 237, 224, 0.6);
    margin: 0 0 24px;
}

.qv-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    margin-bottom: 28px;
}

.qv-meta-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.qv-meta-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(245, 237, 224, 0.35);
    font-weight: 600;
}

.qv-meta-value {
    font-size: 0.82rem;
    color: rgba(245, 237, 224, 0.75);
    font-weight: 500;
}

.qv-actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qv-add-btn {
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, var(--aura-gold-dark) 0%, var(--aura-gold) 100%);
    color: var(--aura-deep);
    border: none;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}

.qv-add-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.qv-add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.qv-add-btn.added {
    background: linear-gradient(135deg, #4a7c50 0%, var(--aura-sage) 100%);
    color: #fff;
}

.qv-view-btn {
    width: 100%;
    padding: 12px 24px;
    background: transparent;
    color: rgba(245, 237, 224, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    text-align: center;
    font-family: inherit;
    display: block;
    letter-spacing: 0.03em;
}

.qv-view-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(245, 237, 224, 0.9);
}

/* Mobile responsive modal */
@media (max-width: 640px) {
    .qv-modal {
        flex-direction: column;
        max-height: 95dvh;
        border-radius: 20px 20px 0 0;
        align-self: flex-end;
        margin: 0;
        max-width: 100%;
    }

    .qv-overlay {
        align-items: flex-end;
        padding: 0;
    }

    .qv-image-col {
        width: 100%;
        height: 260px;
        flex-shrink: 0;
    }

    .qv-image-col::after {
        background: linear-gradient(0deg, rgba(23, 18, 13, 0.6) 0%, transparent 40%);
    }

    .qv-details-col {
        padding: 24px 24px 28px;
    }

    .qv-modal {
        transform: translateY(40px) scale(0.98);
    }

    .qv-overlay.is-open .qv-modal {
        transform: translateY(0) scale(1);
    }
}

/* ══════════════════════════════════════════════════════════════
   FEATURE 1 — STICKY ADD-TO-BAG BAR
   Slides up from bottom when .pdp-cta-group leaves the viewport.
   Works on all screen sizes (JS handles the .visible toggle).
══════════════════════════════════════════════════════════════ */

.pdp-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 7000;
    background: rgba(253, 250, 246, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(122, 92, 133, 0.12);
    padding: 12px 5%;
    /* Hidden below viewport until .visible is toggled */
    transform: translateY(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    /* No box-shadow — avoids the same overflow bug as the drawer */
}

.pdp-sticky-bar.visible {
    transform: translateY(0);
}

body.dark-theme .pdp-sticky-bar {
    background: rgba(22, 17, 13, 0.97);
    border-top-color: rgba(201, 169, 110, 0.12);
}

.pdp-sticky-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pdp-sticky-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    /* allows text-overflow to work */
}

.pdp-sticky-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 360px;
}

.pdp-sticky-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--accent, #7a5c85);
}

.pdp-sticky-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.pdp-sticky-cart-btn {
    padding: 11px 22px;
    background: var(--accent, #7a5c85);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background 0.2s, transform 0.2s;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

.pdp-sticky-cart-btn:hover {
    background: #5a3e63;
    transform: translateY(-1px);
}

.pdp-sticky-buy-btn {
    padding: 11px 22px;
    background: transparent;
    color: var(--accent, #7a5c85);
    border: 1.5px solid var(--accent, #7a5c85);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    font-family: 'Montserrat', sans-serif;
    white-space: nowrap;
}

.pdp-sticky-buy-btn:hover {
    background: var(--accent, #7a5c85);
    color: #fff;
    transform: translateY(-1px);
}

body.dark-theme .pdp-sticky-name {
    color: #f0e8d8;
}

body.dark-theme .pdp-sticky-price {
    color: var(--accent-light, #b393bd);
}

body.dark-theme .pdp-sticky-buy-btn {
    color: var(--accent-light, #b393bd);
    border-color: var(--accent-light, #b393bd);
}

body.dark-theme .pdp-sticky-buy-btn:hover {
    background: var(--accent-light, #b393bd);
    color: #1a1410;
}

@media (max-width: 520px) {
    .pdp-sticky-name {
        max-width: 140px;
        font-size: 0.82rem;
    }

    .pdp-sticky-price {
        font-size: 0.78rem;
    }

    .pdp-sticky-cart-btn,
    .pdp-sticky-buy-btn {
        padding: 10px 14px;
        font-size: 0.72rem;
    }
}


/* ══════════════════════════════════════════════════════════════
   FEATURE 2 — CRYSTAL CLEANSING GUIDE SECTION
══════════════════════════════════════════════════════════════ */

.pdp-cleansing-section {
    padding: 80px 5%;
    background: linear-gradient(180deg, var(--bg-luxe, #fdfaf6) 0%, #f5ede0 100%);
}

body.dark-theme .pdp-cleansing-section {
    background: linear-gradient(180deg, #161210 0%, #1e1610 100%);
}

.pdp-cleansing-container {
    max-width: 1100px;
    margin: 0 auto;
}

.pdp-cleansing-header {
    text-align: center;
    margin-bottom: 52px;
}

.pdp-cleansing-eyebrow {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent, #7a5c85);
    font-weight: 700;
    margin-bottom: 10px;
}

.pdp-cleansing-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 10px;
}

.pdp-cleansing-subtitle {
    font-size: 0.95rem;
    color: #999;
    margin: 0;
}

.pdp-cleansing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .pdp-cleansing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .pdp-cleansing-section {
        padding: 52px 5%;
    }

    .pdp-cleansing-grid {
        grid-template-columns: 1fr;
    }

    .pdp-cleansing-header {
        margin-bottom: 36px;
    }
}

.pdp-cleanse-card {
    background: #fff;
    border: 1px solid rgba(122, 92, 133, 0.1);
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s ease;
}

/* Accent line on top — hidden until hover */
.pdp-cleanse-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent, #7a5c85), transparent);
    opacity: 0;
    transition: opacity 0.28s ease;
}

.pdp-cleanse-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(122, 92, 133, 0.12);
}

.pdp-cleanse-card:hover::before {
    opacity: 1;
}

/* Warning variant — amber accent */
.pdp-cleanse-card--warning {
    border-color: rgba(214, 137, 16, 0.18);
}

.pdp-cleanse-card--warning::before {
    background: linear-gradient(90deg, #d68910, transparent);
}

.pdp-cleanse-card--warning .pdp-cleanse-icon-wrap {
    background: rgba(214, 137, 16, 0.1);
    color: #d68910;
}

.pdp-cleanse-card--warning .pdp-cleanse-freq {
    color: #b45309;
    background: rgba(214, 137, 16, 0.1);
}

.pdp-cleanse-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(122, 92, 133, 0.08);
    color: var(--accent, #7a5c85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pdp-cleanse-card h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.pdp-cleanse-card p {
    font-size: 0.83rem;
    color: #777;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.pdp-cleanse-freq {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent, #7a5c85);
    background: rgba(122, 92, 133, 0.08);
    padding: 3px 10px;
    border-radius: 999px;
}

body.dark-theme .pdp-cleanse-card {
    background: #1e1812;
    border-color: rgba(201, 169, 110, 0.1);
}

body.dark-theme .pdp-cleanse-card h4 {
    color: #f0e8d8;
}

body.dark-theme .pdp-cleanse-card p {
    color: #9a9088;
}


/* ══════════════════════════════════════════════════════════════
   FEATURE 3 — PREMIUM GIFT MODE TOGGLE
   Placed below the Buy Now button, inside .pdp-details-inner
══════════════════════════════════════════════════════════════ */

.pdp-gift-mode {
    margin-top: 14px;
    border-radius: 14px;
    border: 1.5px solid rgba(122, 92, 133, 0.18);
    overflow: hidden;
    transition: border-color 0.25s ease;
}

/* Highlight border when panel is open — uses :has() for modern browsers */
.pdp-gift-mode:has(#pdpGiftPanel[aria-hidden="false"]) {
    border-color: rgba(122, 92, 133, 0.45);
}

.pdp-gift-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: rgba(122, 92, 133, 0.04);
    border: none;
    cursor: pointer;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s ease;
}

.pdp-gift-toggle:hover {
    background: rgba(122, 92, 133, 0.09);
}

.pdp-gift-toggle-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pdp-gift-icon {
    font-size: 1.15rem;
    line-height: 1;
}

.pdp-gift-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

.pdp-gift-toggle-pill {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent, #7a5c85);
    background: rgba(122, 92, 133, 0.1);
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease;
}

.pdp-gift-toggle[aria-expanded="true"] .pdp-gift-toggle-pill {
    background: var(--accent, #7a5c85);
    color: #fff;
}

/* ── Panel slide-down using CSS grid trick (no max-height jank) */
.pdp-gift-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdp-gift-panel[aria-hidden="false"] {
    grid-template-rows: 1fr;
}

.pdp-gift-panel-inner {
    overflow: hidden;
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: padding 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.pdp-gift-panel[aria-hidden="false"] .pdp-gift-panel-inner {
    padding: 18px 18px 20px;
}

/* ── Textarea note field */
.pdp-gift-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.pdp-gift-field-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 7px;
}

.pdp-gift-field-label i {
    color: var(--accent, #7a5c85);
    font-size: 0.78rem;
}

.pdp-gift-textarea {
    width: 100%;
    resize: vertical;
    min-height: 82px;
    padding: 12px 14px;
    border: 1.5px solid rgba(122, 92, 133, 0.2);
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--text-main);
    background: var(--bg-body, #fff);
    line-height: 1.65;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pdp-gift-textarea:focus {
    outline: none;
    border-color: var(--accent, #7a5c85);
    box-shadow: 0 0 0 3px rgba(122, 92, 133, 0.1);
}

.pdp-gift-char-count {
    font-size: 0.7rem;
    color: #bbb;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ── Velvet packaging checkbox row */
.pdp-gift-checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(122, 92, 133, 0.04);
    border-radius: 12px;
    border: 1.5px solid rgba(122, 92, 133, 0.12);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.pdp-gift-checkbox-row:hover {
    border-color: rgba(122, 92, 133, 0.3);
    background: rgba(122, 92, 133, 0.07);
}

/* Custom checkbox */
.pdp-gift-check-wrap {
    position: relative;
    flex-shrink: 0;
}

.pdp-gift-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.pdp-gift-checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(122, 92, 133, 0.3);
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    color: transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.pdp-gift-checkbox:checked+.pdp-gift-checkmark {
    background: var(--accent, #7a5c85);
    border-color: var(--accent, #7a5c85);
    color: #fff;
}

.pdp-gift-check-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pdp-gift-check-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.pdp-gift-check-desc {
    font-size: 0.73rem;
    color: #999;
    line-height: 1.4;
}

.pdp-gift-check-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent, #7a5c85);
    white-space: nowrap;
}

/* Dark theme overrides */
body.dark-theme .pdp-gift-toggle {
    background: rgba(201, 169, 110, 0.04);
}

body.dark-theme .pdp-gift-toggle:hover {
    background: rgba(201, 169, 110, 0.08);
}

body.dark-theme .pdp-gift-label {
    color: #f0e8d8;
}

body.dark-theme .pdp-gift-toggle-pill {
    color: var(--accent-light, #b393bd);
    background: rgba(179, 147, 189, 0.12);
}

body.dark-theme .pdp-gift-toggle[aria-expanded="true"] .pdp-gift-toggle-pill {
    background: var(--accent, #7a5c85);
    color: #fff;
}

body.dark-theme .pdp-gift-textarea {
    background: #1e1812;
    border-color: rgba(201, 169, 110, 0.15);
    color: #f0e8d8;
}

body.dark-theme .pdp-gift-textarea:focus {
    border-color: var(--accent, #7a5c85);
}

body.dark-theme .pdp-gift-checkbox-row {
    background: rgba(201, 169, 110, 0.03);
    border-color: rgba(201, 169, 110, 0.12);
}

body.dark-theme .pdp-gift-checkmark {
    background: #1e1812;
    border-color: rgba(201, 169, 110, 0.2);
}

body.dark-theme .pdp-gift-check-title {
    color: #f0e8d8;
}

body.dark-theme .pdp-gift-check-desc {
    color: #7a7068;
}

body.dark-theme .pdp-gift-check-price {
    color: var(--aura-gold, #c9a96e);
}

body.dark-theme .pdp-gift-field-label {
    color: #f0e8d8;
}

/* ============================================================
   LIVE ENERGY PULSE — Social Proof Toast
   Append to css/shop.css  OR  css/global.css for site-wide use
   ============================================================ */

/* ── Mount point (fixed anchor, bottom-right) ─────────────── */
#energyPulseMount {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

/* ── Toast card ───────────────────────────────────────────── */
.ep-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 11px;

    /* Glassmorphism */
    background: rgba(253, 250, 246, 0.78);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.60);
    box-shadow:
        0 8px 32px rgba(61, 37, 69, 0.13),
        0 2px 8px rgba(0, 0, 0, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.70);

    border-radius: 14px;
    padding: 12px 16px 12px 13px;
    max-width: 300px;
    min-width: 240px;

    /* Enter state — off-screen right, invisible */
    opacity: 0;
    transform: translateX(calc(100% + 32px));
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Slide-in */
.ep-toast.ep-enter {
    animation-name: epSlideIn;
    animation-duration: 0.52s;
}

/* Slide-out */
.ep-toast.ep-exit {
    animation-name: epSlideOut;
    animation-duration: 0.40s;
    animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45);
}

@keyframes epSlideIn {
    from {
        opacity: 0;
        transform: translateX(calc(100% + 32px));
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes epSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(calc(100% + 32px));
    }
}

/* ── Sparkle icon ─────────────────────────────────────────── */
.ep-toast__icon {
    font-size: 1.35rem;
    line-height: 1;
    flex-shrink: 0;
    animation: epIconPulse 2.2s ease-in-out infinite;
    filter: drop-shadow(0 1px 4px rgba(122, 92, 133, 0.30));
}

@keyframes epIconPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.18) rotate(12deg);
        opacity: 0.8;
    }
}

/* ── Text block ───────────────────────────────────────────── */
.ep-toast__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ep-toast__eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.60rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-light, #b393bd);
    line-height: 1;
}

.ep-toast__message {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-main, #2d241e);
    line-height: 1.4;
}

.ep-toast__message strong {
    font-weight: 700;
    color: var(--accent, #7a5c85);
}

/* ── Thin accent bar on left edge ─────────────────────────── */
.ep-toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18%;
    height: 64%;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #b393bd, #7a5c85);
    opacity: 0.7;
}

/* ep-toast needs position:relative for the ::before to work */
.ep-toast {
    position: relative;
}

/* ── Dark mode ────────────────────────────────────────────── */
body.dark-theme .ep-toast {
    background: rgba(28, 16, 36, 0.82);
    border-color: rgba(179, 147, 189, 0.18);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.38),
        0 2px 8px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.dark-theme .ep-toast__message {
    color: #f0eaf5;
}

/* ── Mobile: shift up to clear any floating buttons ───────── */
@media (max-width: 480px) {
    #energyPulseMount {
        bottom: 80px;
        right: 14px;
    }

    .ep-toast {
        max-width: 260px;
        min-width: 210px;
    }
}

/* ── Reduced motion: skip slide, just fade ────────────────── */
@media (prefers-reduced-motion: reduce) {
    @keyframes epSlideIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes epSlideOut {
        from {
            opacity: 1;
        }

        to {
            opacity: 0;
        }
    }

    .ep-toast__icon {
        animation: none;
    }
}

/* ============================================================ */

/* ============================================================
   CINEMATIC SPOTLIGHT HERO
   Append to the bottom of shop.css
   ============================================================ */


/* ── 1. Outer wrapper ──────────────────────────────────────── */
.csh-wrapper {
    position: relative;
    width: 100%;
    /* Bleed outside .shop-section's padding */
    margin: -50px -5% 80px;
    width: calc(100% + 10%);
    height: clamp(520px, 88vh, 820px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* ── 2. Video ──────────────────────────────────────────────── */
.csh-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Slight cool desaturation so crystals pop */
    filter: saturate(0.55) brightness(0.72);
}


/* ── 3. Overlay ────────────────────────────────────────────── */
.csh-overlay {
    position: absolute;
    inset: 0;
    /* Multi-stop: deep vignette + bottom fade into page bg */
    background:
        linear-gradient(160deg,
            rgba(10, 5, 15, 0.68) 0%,
            rgba(20, 10, 28, 0.52) 45%,
            rgba(30, 16, 40, 0.72) 100%),
        linear-gradient(to bottom,
            transparent 55%,
            rgba(253, 250, 246, 0.92) 100%);
    pointer-events: none;
}


/* ── 4. Foreground layout ──────────────────────────────────── */
.csh-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1300px;
    padding: 0 6%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}


/* ── 5. Left label stack ───────────────────────────────────── */
.csh-label-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-self: start;
}

.csh-label-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(195, 165, 210, 0.85);
}

.csh-label-edition {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-style: italic;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.2;
    max-width: 200px;
}


/* ── 6. Glassmorphism Spotlight Card ───────────────────────── */
.csh-spotlight-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;

    /* Glass */
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    box-shadow:
        0 24px 64px rgba(0, 0, 0, 0.38),
        0 4px 16px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06);

    width: clamp(280px, 28vw, 380px);
    padding: 0 36px 40px;
    overflow: visible;

    /* Entrance */
    animation: cshCardReveal 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cshCardReveal {
    from {
        opacity: 0;
        transform: translateY(32px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* ── 7. Floating Crystal Image ─────────────────────────────── */
.csh-crystal-wrap {
    position: relative;
    margin-top: -60px;
    /* lifts the image above the card top edge */
    margin-bottom: 24px;
    width: 190px;
    height: 190px;
    flex-shrink: 0;
}

.csh-crystal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 16px 48px rgba(0, 0, 0, 0.45),
        0 0 0 8px rgba(255, 255, 255, 0.05);
    animation: cshFloat 5s ease-in-out infinite;
}

.csh-crystal-glow {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(179, 147, 189, 0.28) 0%, transparent 70%);
    animation: cshGlow 5s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes cshFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes cshGlow {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}


/* ── 8. Card body ──────────────────────────────────────────── */
.csh-card-body {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.csh-card-kicker {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(195, 165, 210, 0.80);
}

.csh-card-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
    margin: 0;
    /* Subtle shimmer on heading */
    background: linear-gradient(135deg, #fff 40%, rgba(195, 165, 210, 0.80) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.csh-card-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.80rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    max-width: 240px;
    margin-top: 2px;
}


/* ── 9. CTA Button ─────────────────────────────────────────── */
.csh-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 8px;
    padding: 13px 28px;
    background: linear-gradient(135deg, rgba(122, 92, 133, 0.85), rgba(90, 62, 99, 0.90));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50px;
    color: #f5eeff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow:
        0 8px 24px rgba(122, 92, 133, 0.40),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    transition:
        transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.28s ease,
        background 0.28s ease;
}

.csh-card-btn:hover {
    transform: translateY(-3px) scale(1.03);
    background: linear-gradient(135deg, rgba(145, 110, 158, 0.92), rgba(105, 72, 118, 0.96));
    box-shadow:
        0 14px 36px rgba(122, 92, 133, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.csh-card-btn i {
    transition: transform 0.24s ease;
}

.csh-card-btn:hover i {
    transform: translateX(4px);
}


/* ── 10. Right: scroll hint ────────────────────────────────── */
.csh-scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    justify-self: end;
    animation: cshScrollFade 2.4s ease-in-out infinite;
}

.csh-scroll-hint__line {
    display: block;
    width: 1px;
    height: 52px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.45));
}

.csh-scroll-hint__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
    writing-mode: vertical-rl;
}

@keyframes cshScrollFade {

    0%,
    100% {
        opacity: 0.4;
        transform: translateY(0);
    }

    50% {
        opacity: 0.9;
        transform: translateY(6px);
    }
}


/* ── 11. Dark mode (the hero already dark; keep glass intact) ─ */
body.dark-theme .csh-overlay {
    background:
        linear-gradient(160deg,
            rgba(5, 2, 10, 0.80) 0%,
            rgba(12, 6, 18, 0.62) 45%,
            rgba(18, 8, 26, 0.82) 100%),
        linear-gradient(to bottom,
            transparent 50%,
            rgba(18, 10, 24, 0.96) 100%);
}


/* ── 12. Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
    .csh-content {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0 5%;
        gap: 24px;
    }

    .csh-label-stack {
        justify-self: center;
        text-align: center;
    }

    .csh-label-edition {
        max-width: 100%;
    }

    .csh-scroll-hint {
        display: none;
    }

    .csh-wrapper {
        height: clamp(600px, 92vh, 760px);
        margin: -50px -5% 60px;
    }
}

@media (max-width: 520px) {
    .csh-wrapper {
        margin: -50px -5% 48px;
        height: clamp(580px, 95vh, 720px);
    }

    .csh-spotlight-card {
        width: 88vw;
        padding: 0 24px 32px;
        border-radius: 22px;
    }

    .csh-crystal-wrap {
        width: 150px;
        height: 150px;
        margin-top: -50px;
    }

    .csh-card-desc {
        font-size: 0.76rem;
        max-width: 100%;
    }
}

/* ── Reduced motion ────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    .csh-crystal-img,
    .csh-crystal-glow,
    .csh-scroll-hint,
    .csh-spotlight-card {
        animation: none;
    }

    .csh-spotlight-card {
        opacity: 1;
        transform: none;
    }
}

/* ============================================================ */


/* ============================================================
   AURA HERO — Minimalist CSS Gradient Animation
   Append to the bottom of shop.css
   ============================================================ */

/* ── Bleed wrapper ─────────────────────────────────────────── */
.aura-hero {
    /* Bleed past .shop-section's 5% padding so gradient goes edge-to-edge */
    margin: -50px -5% 72px;
    width: calc(100% + 10%);

    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 8% 90px;

    position: relative;
    overflow: hidden;

    /* The animated aura gradient — 400% width lets it travel */
    background: linear-gradient(135deg,
            #f7e8f0,
            /* Rose Quartz blush      */
            #ede8f6,
            /* Amethyst lavender       */
            #e8f2ec,
            /* Sage green              */
            #f0eaf7,
            /* pale violet             */
            #fce8f1
            /* back to soft rose       */
        );
    background-size: 400% 400%;
    animation: auraShift 14s ease-in-out infinite;
}

/* Breathing gradient keyframes */
@keyframes auraShift {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 50% 0%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 50% 100%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Radial vignette so edges don't feel clipped */
.aura-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 70% at 50% 50%,
            transparent 45%,
            rgba(253, 250, 246, 0.55) 100%);
    pointer-events: none;
}

/* ── Inner content ─────────────────────────────────────────── */
.aura-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    max-width: 760px;
}

/* ── Kicker line ───────────────────────────────────────────── */
.aura-hero__kicker {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent-light, #b393bd);
    opacity: 0;
    animation: auraFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

/* ── Main headline ─────────────────────────────────────────── */
.aura-hero__heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.4rem, 7vw, 6.4rem);
    font-weight: 600;
    line-height: 1.0;
    letter-spacing: -0.02em;
    color: var(--text-main, #2d241e);
    margin: 0;
    opacity: 0;
    animation: auraFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.38s forwards;
}

/* ── CTA Button ────────────────────────────────────────────── */
.aura-hero__btn {
    display: inline-block;
    margin-top: 4px;
    padding: 14px 36px;
    border: 1.5px solid var(--text-main, #2d241e);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-main, #2d241e);
    text-decoration: none;
    background: transparent;
    transition:
        background 0.28s ease,
        color 0.28s ease,
        transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    animation: auraFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.56s forwards;
}

.aura-hero__btn:hover {
    background: var(--text-main, #2d241e);
    color: var(--bg-body, #fdfaf6);
    transform: translateY(-2px);
}

/* ── Shared entrance animation ─────────────────────────────── */
@keyframes auraFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Dark mode ─────────────────────────────────────────────── */
body.dark-theme .aura-hero {
    background: linear-gradient(135deg,
            #1e0f24,
            #160d2a,
            #0f1a18,
            #1a0f22,
            #200d1e);
    background-size: 400% 400%;
    animation: auraShift 14s ease-in-out infinite;
}

body.dark-theme .aura-hero__heading {
    color: #f0eaf5;
}

body.dark-theme .aura-hero__btn {
    border-color: rgba(240, 234, 245, 0.70);
    color: #f0eaf5;
}

body.dark-theme .aura-hero__btn:hover {
    background: rgba(240, 234, 245, 0.10);
    color: #fff;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 600px) {
    .aura-hero {
        min-height: 44vh;
        padding: 80px 6% 72px;
        margin-bottom: 52px;
    }
}

/* ── Reduced motion: freeze the gradient, keep fades ──────── */
@media (prefers-reduced-motion: reduce) {
    .aura-hero {
        animation: none;
        background-position: 0% 50%;
    }
}

/* ============================================================ */

/* ============================================================
   MYSTICAL PARALLAX PORTAL HERO
   Append to the bottom of shop.css
   ============================================================ */


/* ── 1. Section shell ──────────────────────────────────────── */
.portal-hero {
    /* Bleed past .shop-section's 5% padding */
    margin: -50px -5% 80px;
    width: calc(100% + 10%);

    min-height: 86vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;

    background: #0d0910;
    /* near-black with a violet undertone */
    position: relative;
    overflow: hidden;
    padding: 0 7%;
    gap: 60px;
}


/* ── 2. Ambient particles ──────────────────────────────────── */
.portal-hero__ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.ph-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(179, 147, 189, 0.60) 0%, transparent 70%);
    animation: phDrift linear infinite;
    opacity: 0;
}

.ph-particle--1 {
    width: 320px;
    height: 320px;
    top: -80px;
    left: -60px;
    animation-duration: 22s;
    animation-delay: 0s;
}

.ph-particle--2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 5%;
    animation-duration: 28s;
    animation-delay: -8s;
}

.ph-particle--3 {
    width: 160px;
    height: 160px;
    bottom: -40px;
    left: 30%;
    animation-duration: 18s;
    animation-delay: -5s;
}

.ph-particle--4 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 18%;
    animation-duration: 24s;
    animation-delay: -12s;
}

.ph-particle--5 {
    width: 240px;
    height: 240px;
    bottom: 10%;
    right: -40px;
    animation-duration: 30s;
    animation-delay: -3s;
}

@keyframes phDrift {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.85);
    }

    15% {
        opacity: 0.55;
    }

    85% {
        opacity: 0.40;
    }

    100% {
        opacity: 0;
        transform: translateY(-40px) scale(1.1);
    }
}


/* ── 3. Copy column ────────────────────────────────────────── */
.portal-hero__copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
}

.ph-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(179, 147, 189, 0.72);
    opacity: 0;
    animation: phFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.ph-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #f5f0fa;
    margin: 0;
    opacity: 0;
    animation: phFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.48s forwards;
}

.ph-headline em {
    font-style: italic;
    /* Warm violet shimmer on the italic */
    background: linear-gradient(135deg, #e8d5f0 30%, #b393bd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ph-body {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(245, 240, 250, 0.52);
    max-width: 320px;
    opacity: 0;
    animation: phFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.64s forwards;
}

.ph-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 1px solid rgba(245, 240, 250, 0.28);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f5f0fa;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        background 0.30s ease,
        border-color 0.30s ease,
        transform 0.30s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 0;
    animation: phFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.80s forwards;
}

.ph-cta:hover {
    background: rgba(179, 147, 189, 0.18);
    border-color: rgba(179, 147, 189, 0.55);
    transform: translateY(-2px);
}

.ph-cta__arrow {
    font-size: 1rem;
    transition: transform 0.22s ease;
    display: inline-block;
}

.ph-cta:hover .ph-cta__arrow {
    transform: translate(2px, -2px);
}


/* ── 4. Portal wrap ────────────────────────────────────────── */
.portal-hero__portal-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    opacity: 0;
    animation: phFadeUp 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}


/* ── 5. The Arch ───────────────────────────────────────────── */
.portal-arch {
    position: relative;
    width: clamp(240px, 28vw, 360px);
    aspect-ratio: 3 / 4.2;
    border-radius: 50% 50% 8px 8px / 44% 44% 8px 8px;
    overflow: hidden;
    cursor: crosshair;
    /* custom cursor handled by JS */

    /* Arch border as box-shadow so it sits above content */
    box-shadow:
        0 0 0 1.5px rgba(179, 147, 189, 0.35),
        0 0 0 6px rgba(179, 147, 189, 0.05),
        0 32px 80px rgba(0, 0, 0, 0.65),
        0 8px 24px rgba(0, 0, 0, 0.40);

    /* Subtle entrance scale */
    transform-origin: center bottom;
}


/* ── 6. Scene background layer (moves WITH mouse) ──────────── */
.portal-scene {
    position: absolute;
    inset: -12%;
    /* oversized so parallax shift never shows edges */
    will-change: transform;
    /* JS drives transform via CSS custom props */
    transform: translate(calc(var(--px, 0) * 1px),
            calc(var(--py, 0) * 1px));
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.portal-scene__bg {
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 60% at 50% 30%, #3b1f4e 0%, #1a0d24 55%, #08050e 100%);
}


/* ── 7. Crystal layer (moves AGAINST mouse) ────────────────── */
.portal-crystal-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transform: translate(calc(var(--cx, 0) * 1px),
            calc(var(--cy, 0) * 1px));
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.portal-crystal {
    width: 78%;
    height: 78%;
    object-fit: cover;
    border-radius: 50%;
    filter: brightness(0.92) saturate(1.25);
    /* Slow idle float */
    animation: phCrystalFloat 7s ease-in-out infinite;
}

.portal-crystal__glow {
    position: absolute;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(179, 147, 189, 0.32) 0%, transparent 68%);
    animation: phGlowPulse 7s ease-in-out infinite;
    pointer-events: none;
    mix-blend-mode: screen;
}

@keyframes phCrystalFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-9px) scale(1.02);
    }
}

@keyframes phGlowPulse {

    0%,
    100% {
        opacity: 0.55;
        transform: scale(1);
    }

    50% {
        opacity: 0.90;
        transform: scale(1.14);
    }
}


/* ── 8. Arch rim & shimmer overlays ────────────────────────── */
.portal-arch__rim {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    /* Inset ring that overlays everything inside — gives arch its frame */
    box-shadow: inset 0 0 0 1.5px rgba(179, 147, 189, 0.28);
    pointer-events: none;
    z-index: 4;
}

.portal-arch__shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            transparent 35%,
            rgba(255, 255, 255, 0.045) 50%,
            transparent 65%);
    background-size: 300% 100%;
    animation: phShimmer 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
}

@keyframes phShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -100% 0;
    }
}


/* ── 9. Arch label ─────────────────────────────────────────── */
.portal-arch__label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: rgba(179, 147, 189, 0.60);
    display: flex;
    align-items: center;
    gap: 8px;
}

.portal-arch__label-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(179, 147, 189, 0.70);
    animation: phDotPulse 2s ease-in-out infinite;
}

@keyframes phDotPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.70;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
    }
}


/* ── 10. Shared entrance animation ────────────────────────── */
@keyframes phFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ── 11. Responsive ────────────────────────────────────────── */
@media (max-width: 900px) {
    .portal-hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 80px 7% 72px;
        min-height: auto;
        gap: 48px;
    }

    .portal-hero__copy {
        align-items: center;
        order: 2;
    }

    .ph-body {
        max-width: 100%;
    }

    .portal-hero__portal-wrap {
        order: 1;
    }

    .portal-arch {
        width: clamp(200px, 55vw, 280px);
    }
}

@media (max-width: 520px) {
    .portal-hero {
        padding: 64px 5% 60px;
    }
}


/* ── 12. Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    .portal-crystal,
    .portal-crystal__glow,
    .portal-arch__shimmer,
    .ph-particle,
    .portal-arch__label-dot {
        animation: none;
    }

    .portal-scene,
    .portal-crystal-layer {
        transition: none;
    }
}

/* ============================================================ */
#drawerPriceMin {
    z-index: 1;
}

#drawerPriceMax {
    z-index: 2;
}

#drawerPriceMin:hover,
#drawerPriceMin:active {
    z-index: 3;
}