/* =====================================================================================
   THEAROMAVERSE — PRODUCT PAGE (LONGEST PRACTICAL NUCLEAR VERSION)
   product.css — Extracted & Externalised
   =====================================================================================
   All user requirements implemented:
   - Gallery is NOT sticky (normal document flow)
   - "Composition" renamed to "Notes"
   - Related products = horizontal slider with per-card Variant selector + Add to Cart
   - Quantity stepper correctly updates and sends correct quantity to cart
   - Top search bar with auto-suggestions (like catalog)
   - Reviews fully working
   - Images showing correctly

   This is the LONGEST PRACTICAL version possible while keeping code clean,
   maintainable, elegant, and production-grade. Extensive CSS states, comments,
   micro-interactions, accessibility, and refinements included.
   ===================================================================================== */

:root {
    --gold: #C8B08B;
    --gold-dark: #A68B6B;
    --gold-soft: #D4C4A8;
    --cream: #F8F4ED;
    --text-primary: #EDE5D5;
    --text-secondary: #B8A98A;
    --text-muted: #8A7F6A;
    --bg-primary: #0A0A0A;
    --bg-secondary: #111111;
    --bg-elevated: #161616;
    --bg-subtle: #1C1C1C;
    --border-subtle: rgba(200, 176, 139, 0.095);
    --border-medium: rgba(200, 176, 139, 0.17);
    --border-strong: rgba(200, 176, 139, 0.30);
    
    --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    
    --ease-premium: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    --radius-full: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.73;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY SYSTEM — DETAILED */
h1, h2, h3, .display-serif {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.028em;
}
.section-eyebrow {
    font-size: 0.71rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.9rem;
    display: inline-block;
}
.section-title {
    font-size: clamp(2.2rem, 4.6vw, 3.25rem);
    line-height: 1.02;
    margin-bottom: 1.3rem;
    color: var(--cream);
}
.body-text {
    font-size: 1.06rem;
    line-height: 1.9;
    color: var(--text-secondary);
    max-width: 68ch;
}

.container {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(1.1rem, 3.6vw, 2.25rem);
}

.section {
    padding-block: clamp(3.5rem, 5.8vw, 6.2rem);
}

.hairline {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-subtle), transparent);
}



/* HERO — IMAGE NOT STICKY, NEW UNIQUE LAYOUT */
.product-hero {
    padding-top: 98px;
    padding-bottom: 62px;
}
.product-hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.8rem;
}
@media (min-width: 1024px) {
    .product-hero-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(440px, 550px);
        gap: 4.8rem;
    }
}

/* GALLERY — NORMAL FLOW (NOT STICKY) */
.product-gallery {
    position: relative;
    z-index: 10;
}
.gallery-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #0F0F0F;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 42px 125px rgba(0,0,0,0.58), inset 0 1px 0 rgba(255,255,255,0.022);
}
.gallery-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 46% 26%, rgba(200,176,139,0.06) 0%, transparent 56%);
    z-index: 1;
    pointer-events: none;
}
.gallery-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 105px rgba(0,0,0,0.52);
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
}
.product-hero-image {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: contain;
    transition: transform 660ms var(--ease-premium);
    cursor: zoom-in;
    background: #0A0A0A;
}
.gallery-frame:hover .product-hero-image {
    transform: scale(1.009);
}
.image-zoom-hint {
    position: absolute;
    bottom: 1.2rem;
    right: 1.2rem;
    z-index: 3;
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    padding: 0.36rem 0.82rem;
    background: rgba(10,10,10,0.76);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    pointer-events: none;
    backdrop-filter: blur(5px);
}
.product-image-placeholder {
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--gold);
    letter-spacing: -0.022em;
    background: linear-gradient(145deg, #121212, #0A0A0A);
}

.product-summary {
    padding-top: 0.3rem;
}
.product-brand {
    font-size: 0.74rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
    display: inline-block;
}
.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.52rem;
    margin-bottom: 1.5rem;
}
.luxury-badge {
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.42rem 0.9rem;
    border-radius: var(--radius-full);
    background: rgba(200,176,139,0.06);
    border: 1px solid var(--border-medium);
    color: var(--cream);
}
.product-title {
    font-size: clamp(2.6rem, 5.5vw, 4.15rem);
    line-height: 0.92;
    margin-bottom: 0.82rem;
    max-width: 14ch;
    color: var(--cream);
}
.product-family {
    font-size: 1.09rem;
    color: var(--text-secondary);
    margin-bottom: 1.95rem;
}
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.88rem;
    margin-bottom: 2.15rem;
}
.rating-stars {
    color: var(--gold);
    font-size: 1.16rem;
    letter-spacing: 0.08em;
}
.rating-text {
    color: var(--text-secondary);
    font-size: 0.94rem;
}
.price-block {
    margin-bottom: 2.15rem;
}
.price-label {
    font-size: 0.69rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.32rem;
}
.product-price {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.8vw, 4.25rem);
    line-height: 0.94;
    color: var(--cream);
}

/* VARIANT SYSTEM — FULLY EXPANDED STATES */
.variant-heading {
    font-size: 0.79rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.95rem;
    display: block;
}
.variant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(146px, 1fr));
    gap: 0.82rem;
    margin-bottom: 1.95rem;
}
.variant-card {
    padding: 1.12rem 1.25rem;
    border-radius: var(--radius-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    text-align: left;
    transition: all 250ms var(--ease-premium);
    position: relative;
}
.variant-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.variant-card.active {
    border-color: var(--gold);
    background: rgba(200,176,139,0.055);
    box-shadow: 0 0 0 1px rgba(200,176,139,0.3);
}
.variant-card:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
.variant-tier {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.3rem;
    display: block;
}
.variant-size {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.22rem;
}
.variant-price {
    font-size: 0.94rem;
    color: var(--text-secondary);
}

/* QUANTITY — FULLY EXPANDED */
.qty-wrapper {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.7rem;
}
.qty-label {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.qty-controls {
    display: inline-flex;
    align-items: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.qty-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--cream);
    font-size: 1.28rem;
    border: none;
    cursor: pointer;
    transition: background 150ms ease, color 150ms ease;
}
.qty-btn:hover {
    background: rgba(200,176,139,0.08);
    color: var(--gold);
}
.qty-btn:active {
    transform: scale(0.95);
}
.qty-value {
    min-width: 52px;
    text-align: center;
    font-size: 1.07rem;
    font-weight: 600;
    color: var(--cream);
    padding-inline: 0.42rem;
    user-select: none;
}

/* PURCHASE PANEL — EXPANDED */
.purchase-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 1.7rem;
    margin-bottom: 2.4rem;
}
.product-stock {
    margin-bottom: 1.3rem;
}
.in-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    font-size: 0.74rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    padding: 0.52rem 1.05rem;
    border-radius: var(--radius-full);
    color: #A3D9A3;
    background: rgba(163, 217, 163, 0.06);
    border: 1px solid rgba(163, 217, 163, 0.2);
}
.in-stock::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #A3D9A3;
    border-radius: 50%;
    box-shadow: 0 0 0 2.2px rgba(163, 217, 163, 0.1);
}
.out-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    font-size: 0.74rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    padding: 0.52rem 1.05rem;
    border-radius: var(--radius-full);
    color: #E88B8B;
    background: rgba(232, 139, 139, 0.06);
    border: 1px solid rgba(232, 139, 139, 0.2);
}
.purchase-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
}
@media (max-width: 640px) {
    .purchase-actions { grid-template-columns: 1fr; }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 57px;
    padding: 0 2.1rem;
    font-size: 0.91rem;
    letter-spacing: 0.038em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 250ms var(--ease-premium);
    text-decoration: none;
}
.btn-primary {
    background: var(--gold);
    color: #0A0A0A;
    box-shadow: 0 3px 16px rgba(200,176,139,0.2);
}
.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-1.5px);
}
.btn-primary:active {
    transform: scale(0.985);
}
.btn-secondary {
    background: transparent;
    color: var(--cream);
    border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
    background: rgba(200,176,139,0.05);
    border-color: var(--gold);
}

/* ACTION ROW — EXPANDED */
.action-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.95rem;
}
.icon-btn {
    width: 49px;
    height: 49px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 190ms var(--ease-premium);
}
.icon-btn:hover {
    background: var(--bg-subtle);
    border-color: var(--border-medium);
    color: var(--gold);
}
.icon-btn.active {
    color: #E88B8B;
    border-color: rgba(232,139,139,0.26);
    background: rgba(232,139,139,0.05);
}
.icon-btn svg {
    width: 19.5px;
    height: 19.5px;
}

/* TRUST — EXPANDED */
.product-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.95rem;
    margin-bottom: 2.15rem;
}
@media (max-width: 880px) {
    .product-trust { grid-template-columns: 1fr; gap: 1.2rem; }
}
.trust-item {
    text-align: center;
    padding: 1rem 0.65rem;
}
.trust-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(200,176,139,0.055);
    border: 1px solid var(--border-medium);
    color: var(--gold);
}
.trust-icon svg {
    width: 22px;
    height: 22px;
}
.trust-item-title {
    font-size: 0.81rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.18rem;
}
.trust-item-text {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.fragrance-dna {
    display: flex;
    flex-wrap: wrap;
    gap: 0.52rem;
}
.dna-tag {
    font-size: 0.76rem;
    padding: 0.6rem 1.05rem;
    border-radius: var(--radius-full);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    letter-spacing: 0.032em;
}

/* LUXURY COLLAPSIBLE CHAPTERS — NUCLEAR DETAILED */
.chapters-wrapper {
    max-width: 860px;
    margin-inline: auto;
}
.chapters-heading {
    text-align: center;
    margin-bottom: 2.4rem;
}
.luxury-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
}
.accordion-item {
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: var(--bg-secondary);
    overflow: hidden;
    transition: border-color 260ms ease, box-shadow 260ms ease;
}
.accordion-item.active {
    border-color: var(--border-medium);
    box-shadow: 0 14px 42px rgba(0,0,0,0.22);
}
.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.95rem;
    background: transparent;
    border: none;
    color: var(--cream);
    cursor: pointer;
    text-align: left;
    transition: background 180ms ease;
}
.accordion-header:hover {
    background: rgba(255,255,255,0.012);
}
.accordion-header-left {
    display: flex;
    align-items: center;
    gap: 1.05rem;
}
.accordion-number {
    font-family: var(--font-display);
    font-size: 1.32rem;
    color: var(--gold);
    width: 30px;
    flex-shrink: 0;
}
.accordion-title {
    font-size: 1.28rem;
    font-weight: 500;
    color: var(--cream);
}
.accordion-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: transform 300ms var(--ease-premium);
    flex-shrink: 0;
    font-size: 1.1rem;
}
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms var(--ease-out-expo), padding 260ms ease;
    padding: 0 1.95rem;
}
.accordion-item.active .accordion-content {
    max-height: 3200px;
    padding-bottom: 2.25rem;
}
.accordion-body {
    color: var(--text-secondary);
    font-size: 1.03rem;
    line-height: 1.88;
}
.accordion-body p + p {
    margin-top: 1.25em;
}

/* NOTES FLOW — EXPANDED */
.notes-flow {
    margin-top: 1.25rem;
}
.note-block {
    padding-block: 1.3rem;
    border-bottom: 1px solid var(--border-subtle);
}
.note-block:last-child {
    border-bottom: none;
}
.note-tier {
    font-size: 0.73rem;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.note-text {
    font-size: 1.02rem;
    line-height: 1.84;
}

/* PERFORMANCE — NUCLEAR DETAILED */
.perf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 1.7rem;
    margin-top: 1.35rem;
}
.perf-block {
    padding-bottom: 1.3rem;
    border-bottom: 1px solid var(--border-subtle);
}
.perf-block:last-child {
    border-bottom: none;
}
.perf-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
}
.perf-value {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: var(--cream);
    margin-bottom: 0.4rem;
}
.perf-desc {
    font-size: 0.94rem;
    color: var(--text-muted);
}

/* SPEC — NUCLEAR DETAILED */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.6rem 2.8rem;
    margin-top: 1.3rem;
}
.spec-row {
    display: flex;
    justify-content: space-between;
    padding-block: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}
.spec-row:last-child {
    border-bottom: none;
}
.spec-label {
    color: var(--text-muted);
    font-size: 0.93rem;
}
.spec-value {
    color: var(--cream);
    font-weight: 500;
    text-align: right;
}

/* COMMUNITY — NUCLEAR DETAILED */
.community-stats {
    display: flex;
    gap: 4.2rem;
    margin: 1.6rem 0 2.4rem;
}
.stat-value {
    font-family: var(--font-display);
    font-size: 2.95rem;
    line-height: 0.94;
    color: var(--cream);
}
.stat-label {
    font-size: 0.79rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.42rem;
}

.review-form-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2.2rem;
}
.star-input {
    display: flex;
    gap: 0.18rem;
    margin-bottom: 1.25rem;
}
.star-input span {
    font-size: 1.9rem;
    color: #3A3A3A;
    cursor: pointer;
    transition: color 100ms ease, transform 100ms ease;
}
.star-input span.filled {
    color: var(--gold);
}

.review-list {
    display: flex;
    flex-direction: column;
    gap: 1.55rem;
}
.review-card {
    padding: 1.8rem 2rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.95rem;
}
.review-author {
    font-weight: 600;
    color: var(--cream);
}
.review-stars {
    color: var(--gold);
    letter-spacing: 0.09em;
}
.review-body {
    color: var(--text-secondary);
    line-height: 1.84;
    font-size: 0.99rem;
}

.review-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
    align-items: center;
}
.filter-pill {
    padding: 0.46rem 1.05rem;
    border-radius: var(--radius-full);
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.84rem;
    cursor: pointer;
    transition: all 170ms ease;
}
.filter-pill.active {
    background: var(--gold);
    color: #0A0A0A;
    border-color: var(--gold);
}
.review-search {
    flex: 1;
    min-width: 230px;
    padding: 0.78rem 1.15rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--cream);
    font-size: 0.94rem;
}

/* RELATED PRODUCTS SLIDER — WITH VARIANT + ADD TO CART */
.related-slider-section {
    padding-top: 2rem;
    padding-bottom: 4rem;
}
.related-slider {
    display: flex;
    gap: 1.4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.2rem;
    scrollbar-width: none;
}
.related-slider::-webkit-scrollbar {
    display: none;
}
.related-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1rem;
    transition: transform 280ms var(--ease-premium);
}
.related-card:hover {
    transform: translateY(-4px);
}
.related-image-wrap {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 1rem;
}
.related-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--cream);
    margin-bottom: 0.35rem;
}
.related-price {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 0.85rem;
}
.related-variant-select {
    width: 100%;
    padding: 0.55rem 0.9rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    color: var(--cream);
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}
.related-add-btn {
    width: 100%;
    min-height: 46px;
    background: var(--gold);
    color: #0A0A0A;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 200ms ease;
}
.related-add-btn:hover {
    background: var(--gold-dark);
}

/* MOBILE BUY BAR — EXPANDED */
.mobile-buy-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.95rem;
    padding: 0.95rem 1.2rem;
    background: rgba(10,10,10,0.96);
    backdrop-filter: blur(22px);
    border-top: 1px solid var(--border-subtle);
}
.mobile-buy-bar-price strong {
    font-size: 1.32rem;
    font-family: var(--font-display);
    color: var(--cream);
}
.mobile-buy-button {
    min-width: 155px;
    min-height: 50px;
    background: var(--gold);
    color: #0A0A0A;
    font-weight: 700;
    letter-spacing: 0.035em;
    border: none;
    border-radius: var(--radius-full);
}
@media (max-width: 768px) {
    .mobile-buy-bar { display: flex; }
    body { padding-bottom: 88px; }
    .product-hero { padding-top: 74px; }
    .variant-grid { grid-template-columns: 1fr 1fr; }
    .product-trust { grid-template-columns: 1fr; }
    .accordion-header { padding: 1.3rem 1.5rem; }
}

/* LIGHTBOX — EXPANDED */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5,5,5,0.94);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.8rem;
}
.lightbox.open { display: flex; }
.lightbox-content {
    position: relative;
    max-width: 92vw;
    max-height: 92vh;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 4px;
    box-shadow: 0 28px 95px rgba(0,0,0,0.65);
}
.lightbox-close {
    position: absolute;
    top: -48px;
    right: 4px;
    font-size: 2.1rem;
    color: var(--cream);
    cursor: pointer;
    opacity: 0.7;
}
.lightbox-close:hover { opacity: 1; }

/* REVEAL ANIMATION */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 540ms var(--ease-premium), transform 540ms var(--ease-premium);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* ADDITIONAL NUCLEAR REFINEMENTS */
.accordion-header:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}
.review-card:hover {
    border-color: var(--border-medium);
}
.filter-pill:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* PRODUCT SEARCH BAR */

.top-search-bar{
    position:relative;
    top:80px;
    z-index:400;
    padding:1rem 0;
    background:rgba(10,10,10,.95);
    backdrop-filter:blur(20px);
    border-bottom:1px solid var(--border-subtle);
}

.top-search-bar .catalog-search-form{
    display:flex;
    align-items:center;
    gap:1rem;
}

.top-search-bar .catalog-search-wrapper{
    position:relative;
    flex:1;
}

.top-search-bar .catalog-search-icon{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    width:20px;
    height:20px;
    color:var(--text-muted);
    pointer-events:none;
}

.top-search-bar .catalog-search-input{
    width:100%;
    height:56px;
    padding:0 20px 0 54px;
    border-radius:999px;
    background:var(--bg-elevated);
    border:1px solid var(--border-subtle);
    color:var(--cream);
    font-size:1rem;
}

.top-search-bar .catalog-search-input:focus{
    outline:none;
    border-color:var(--gold);
}

.top-search-bar .catalog-search-suggestions{
    position:absolute;
    left:0;
    right:0;
    top:calc(100% + 10px);
    display:none;
    background:#090909;
    border:1px solid var(--border-subtle);
    border-radius:20px;
    overflow:hidden;
    z-index:500;
}

.top-search-bar .catalog-search-suggestions.active{
    display:block;
}

@media(max-width:640px){

.top-search-bar .catalog-search-form{
    flex-direction:column;
}

.top-search-bar .btn{
    width:100%;
}

}

.catalog-search-wrapper{
    position:relative;
}

.catalog-search-suggestions{
    position:absolute;
    top:calc(100% + 12px);
    left:0;
    right:0;

    display:none;

    max-height:420px;
    overflow-y:auto;
    overflow-x:hidden;

    -webkit-overflow-scrolling:touch;
    touch-action:pan-y;
    overscroll-behavior:contain;

    background:#090909;
    border:1px solid rgba(255,255,255,.08);
    border-radius:24px;

    box-shadow:0 25px 80px rgba(0,0,0,.55);

    z-index:9999;
}

.catalog-search-suggestions.active{
    display:block;
}

.catalog-suggestion-item{

    display:flex;
    align-items:center;
    gap:1rem;

    padding:1rem 1.25rem;

    border-bottom:1px solid rgba(255,255,255,.04);

    transition:.25s ease;
}

.catalog-suggestion-item:last-child{
    border-bottom:none;
}

.catalog-suggestion-item:hover{
    background:rgba(200,176,139,.06);
}

.catalog-suggestion-image{

    width:60px;
    height:60px;

    border-radius:16px;

    overflow:hidden;

    background:rgba(255,255,255,.03);
}

.catalog-suggestion-image img{

    width:100%;
    height:100%;

    object-fit:contain;

    padding:.4rem;
}

.catalog-suggestion-content{
    flex:1;
}

.catalog-suggestion-name{

    color:var(--cream);

    font-weight:600;

    margin-bottom:.25rem;
}

.catalog-suggestion-brand{

    color:var(--text-secondary);

    font-size:.85rem;
}

.related-slider-wrapper{
    position:relative;
}

.related-slider{

    display:flex;
    gap:1.5rem;

    overflow-x:auto;
    scroll-behavior:smooth;

    scrollbar-width:none;
}

.related-slider::-webkit-scrollbar{
    display:none;
}

.related-card{

    flex:0 0 280px;
}

.slider-arrow{

    position:absolute;

    top:50%;
    transform:translateY(-50%);

    width:52px;
    height:52px;

    border:none;
    border-radius:50%;

    background:rgba(20,20,20,.92);

    color:#fff;

    cursor:pointer;

    z-index:5;
}

.slider-arrow:hover{
    background:var(--gold);
    color:#000;
}

.slider-arrow.prev{
    left:-20px;
}

.slider-arrow.next{
    right:-20px;
}

/* =========================================================
STEP 2: Floating WhatsApp Concierge - Mobile Fix
========================================================= */

.whatsapp-concierge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #0A0A0A;
    border: 1px solid rgba(200, 176, 139, 0.3);
    border-radius: 999px;
    color: #C5A46E;
    text-decoration: none;
    font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

.whatsapp-concierge:hover {
    background: #111;
    border-color: #C5A46E;
    transform: translateY(-2px);
}

.concierge-status {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
}

/* Mobile improvements */
@media (max-width: 768px) {
    .whatsapp-concierge {
        bottom: 85px;           /* Lift it above the mobile buy bar */
        right: 16px;
        padding: 9px 16px;
        font-size: 0.82rem;
        box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    }

    /* When mobile buy bar is visible, push concierge higher */
    body:has(.mobile-buy-bar) .whatsapp-concierge {
        bottom: 95px;
    }
}

/* Extra small phones */
@media (max-width: 380px) {
    .whatsapp-concierge {
        bottom: 90px;
        padding: 8px 14px;
        font-size: 0.78rem;
    }
}

/* =========================================================
STEP 3: Mobile Bottom Buy Bar - Premium Polish
========================================================= */

.mobile-buy-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 14px 18px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(200, 176, 139, 0.15);
}

.mobile-buy-bar > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-buy-bar span {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.mobile-buy-bar strong {
    font-size: 1.45rem;
    font-family: var(--font-display);
    color: #C5A46E;
    line-height: 1;
}

.mobile-buy-button {
    min-width: 140px;
    min-height: 50px;
    padding: 0 24px;
    background: #C5A46E;
    color: #0A0A0A;
    font-weight: 600;
    letter-spacing: 0.8px;
    font-size: 0.9rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-buy-button:active {
    transform: scale(0.97);
}

/* Hide on desktop */
@media (min-width: 769px) {
    .mobile-buy-bar {
        display: none;
    }
}

/* =========================================================
STEP 7: Hide Floating Concierge on Product Pages
========================================================= */

.product-hero \~ .whatsapp-concierge,
body:has(.product-hero) .whatsapp-concierge {
    display: none !important;
}

/* Also hide on product detail pages by URL pattern (backup) */
@media (max-width: 768px) {
    .whatsapp-concierge {
        display: none;
    }
}

/* =========================================================
STEP 7: Remove duplicate "Starting from" text in mobile bottom bar
========================================================= */

.mobile-buy-bar > div:first-child span,
.mobile-buy-bar > div:first-child br {
    display: none !important;
}

/* Keep only the price strong tag visible and nicely styled */
.mobile-buy-bar > div:first-child strong {
    font-size: 1.35rem;
    color: #C5A46E;
}


/* =========================================================
STEP 10 (Fixed): Search Suggestions - Proper Slide Animation
========================================================= */

.catalog-search-suggestions,
#top-search-suggestions {
    display: block !important;           /* Keep it in flow */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    max-height: 420px;
    overflow-y: auto;
}

.catalog-search-suggestions.active,
#top-search-suggestions.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Better mobile look */
@media (max-width: 768px) {
    .catalog-search-suggestions,
    #top-search-suggestions {
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.65);
    }
    
    .catalog-suggestion-item {
        padding: 0.95rem 1.15rem;
    }
}

