/* ============================================================================
   FASHLAB STUDIO — LUXURY LAYER
   ----------------------------------------------------------------------------
   Loaded LAST, after style.css / premium.css / dynamic.css.

   Strict light theme: ivory, warm white, soft beige, champagne, subtle blush.
   Deep charcoal / warm grey text. No dark backgrounds anywhere.

   This file only ADDS or overrides presentation. No template or business
   logic lives here — every price, product and policy still comes from MySQL.
   ========================================================================== */

/* ============================================================
   0. TOKENS
   ============================================================ */

:root {
    --lx-ivory:        #fbf9f5;
    --lx-warm:         #faf8f8;
    --lx-beige:        #f7f3f4;
    --lx-champagne:    #882038;
    --lx-champagne-d:  #5b1525;
    --lx-champagne-l:  #f0e6e8;
    --lx-blush:        #faf7f8;
    --lx-grey:         #f5f1f2;

    --lx-ink:          #211d1a;   /* deep charcoal, never pure black */
    --lx-text:         #33302c;
    --lx-text-2:       #6f6862;
    --lx-text-3:       #968e86;

    --lx-line:         #ece4e6;
    --lx-line-2:       #e3d9db;

    --lx-glass:        rgba(255, 253, 249, .78);
    --lx-glass-line:   rgba(136, 32, 56, .28);

    --lx-shadow-1: 0 2px 10px rgba(91, 21, 37, .05);
    --lx-shadow-2: 0 14px 34px rgba(91, 21, 37, .09);
    --lx-shadow-3: 0 28px 70px rgba(91, 21, 37, .14);

    --lx-serif: "Playfair Display", Georgia, serif;
    --lx-sans:  "DM Sans", system-ui, -apple-system, sans-serif;

    --lx-ease: cubic-bezier(.16, 1, .3, 1);
    --lx-radius: 14px;
    --lx-radius-lg: 22px;
}

/* ============================================================
   1. ANNOUNCEMENT BAR — rotating messages
   ============================================================ */

.announcement-bar {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #3d0f1a 0%, #5a1424 50%, #3d0f1a 100%);
    color: var(--lx-ink);
    border-bottom: 1px solid var(--lx-champagne-l);
}

.announcement-track {
    position: relative;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-msg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 44px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--lx-ink);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .6s var(--lx-ease), transform .6s var(--lx-ease);
    text-align: center;
    pointer-events: none;
}

.announcement-msg.is-active {
    opacity: 1;
    transform: translateY(0);
}

.announcement-bar::before,
.announcement-bar::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 26px;
    height: 1px;
    background: var(--lx-champagne);
    opacity: .6;
}
.announcement-bar::before { left: 22px; }
.announcement-bar::after  { right: 22px; }

@media (max-width: 640px) {
    .announcement-msg { font-size: 10px; letter-spacing: .12em; padding: 0 26px; }
    .announcement-bar::before, .announcement-bar::after { width: 14px; }
}

/* ============================================================
   2. HEADER / NAV polish
   ============================================================ */

.site-header {
    background: rgba(251, 249, 245, .9) !important;
    border-bottom: 1px solid rgba(243, 238, 239, .8);
}

.nav-actions .search-trigger {
    background: none;
    border: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--lx-ink);
    cursor: pointer;
    border-radius: 50%;
    transition: background .25s var(--lx-ease), color .25s var(--lx-ease);
    padding: 0;
}
.nav-actions .search-trigger:hover {
    background: var(--lx-beige);
    color: var(--lx-champagne-d);
}

/* Mega menu — soft glass surface */
.nav-dropdown.mega .nav-dropdown-menu,
.nav-dropdown-menu {
    background: rgba(255, 253, 249, .96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--lx-line) !important;
    border-radius: var(--lx-radius) !important;
    box-shadow: var(--lx-shadow-2) !important;
}

.mega-group-label { color: var(--lx-champagne-d) !important; border-color: var(--lx-line) !important; }
.mega-column a:hover { color: var(--lx-ink) !important; background: linear-gradient(90deg, #faf7f8, #f8f3f4) !important; }
.nav-dropdown-menu a:hover { color: var(--lx-ink) !important; }
.nav-dropdown-toggle:hover { color: var(--lx-champagne-d) !important; }
.nav-dropdown-toggle::after { background: var(--lx-champagne) !important; }

.site-nav > a:hover, .site-nav > a.active { color: var(--lx-ink); }
.site-nav > a::after { background: var(--lx-champagne); }

/* ============================================================
   3. SEARCH OVERLAY
   ============================================================ */

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(247, 243, 244, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(60px, 12vh, 140px) 20px 40px;
    opacity: 0;
    transition: opacity .3s var(--lx-ease);
}
.search-overlay[hidden] { display: none; }
.search-overlay.is-open { opacity: 1; }

.search-overlay-panel {
    width: min(720px, 100%);
    background: #fffdfa;
    border: 1px solid var(--lx-line);
    border-radius: var(--lx-radius-lg);
    box-shadow: var(--lx-shadow-3);
    overflow: hidden;
    transform: translateY(-14px) scale(.985);
    transition: transform .35s var(--lx-ease);
    display: flex;
    flex-direction: column;
    max-height: min(76vh, 640px);
}
.search-overlay.is-open .search-overlay-panel { transform: none; }

.search-overlay-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--lx-line);
}
.search-overlay-head > i { color: var(--lx-champagne-d); font-size: 16px; }
.search-overlay-head input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    font-family: var(--lx-sans);
    font-size: 17px;
    color: var(--lx-ink);
    letter-spacing: .01em;
}
.search-overlay-head input::placeholder { color: var(--lx-text-3); }
.search-close {
    border: 0;
    background: var(--lx-beige);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: var(--lx-text-2);
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
}
.search-close:hover { background: var(--lx-champagne-l); color: var(--lx-ink); transform: rotate(90deg); }

.search-overlay-body {
    overflow-y: auto;
    padding: 10px 12px;
    flex: 1;
    min-height: 90px;
}
.search-hint {
    color: var(--lx-text-3);
    font-size: 13.5px;
    text-align: center;
    padding: 28px 14px;
    margin: 0;
    line-height: 1.7;
}

.search-result {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--lx-text);
    transition: background .18s ease, transform .18s ease;
    animation: lxResultIn .3s var(--lx-ease) both;
}
@keyframes lxResultIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.search-result:hover { background: var(--lx-warm); transform: translateX(4px); }

.search-result img {
    width: 52px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--lx-beige);
}
.search-result .sr-info { flex: 1; min-width: 0; }
.search-result .sr-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--lx-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result .sr-cat {
    display: block;
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--lx-champagne-d);
    margin-top: 3px;
}
.search-result .sr-price { font-size: 13.5px; font-weight: 700; color: var(--lx-ink); white-space: nowrap; }
.search-result .sr-price s { display: block; font-weight: 400; font-size: 11.5px; color: var(--lx-text-3); }

.search-section-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--lx-text-3);
    padding: 12px 12px 6px;
    margin: 0;
}

.search-overlay-foot {
    border-top: 1px solid var(--lx-line);
    padding: 14px 22px;
    background: var(--lx-ivory);
}
.search-view-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lx-champagne-d);
    text-decoration: none;
    transition: gap .25s var(--lx-ease), color .2s;
}
.search-view-all:hover { gap: 15px; color: var(--lx-ink); }

.search-skeleton {
    height: 74px;
    border-radius: 10px;
    margin: 6px 4px;
    background: linear-gradient(100deg, var(--lx-beige) 30%, #fbf8f9 50%, var(--lx-beige) 70%);
    background-size: 220% 100%;
    animation: lxShimmer 1.2s infinite linear;
}
@keyframes lxShimmer { from { background-position: 200% 0; } to { background-position: -20% 0; } }

/* ============================================================
   4. HERO — 3D fashion experience
   ============================================================ */

.lx-hero {
    position: relative;
    background:
        radial-gradient(60% 90% at 78% 18%, rgba(240, 230, 232, .55) 0%, transparent 60%),
        radial-gradient(50% 70% at 12% 85%, rgba(250, 247, 248, .9) 0%, transparent 65%),
        linear-gradient(165deg, #fdfcf9 0%, var(--lx-ivory) 45%, var(--lx-warm) 100%);
    overflow: hidden;
    min-height: clamp(620px, calc(100vh - 118px), 880px);
    display: flex;
    align-items: center;
    padding: clamp(40px, 6vh, 80px) 0;
}

/* Particle canvas — champagne dust across the whole hero */
.lx-hero-particles {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Scroll progress — thin champagne line */
.lx-scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 620;
    pointer-events: none;
    background: linear-gradient(90deg, var(--lx-champagne), #882038);
    transform: scaleX(0);
    transform-origin: 0 50%;
    will-change: transform;
}

/* Category cards — 3D depth, floating label, arrow glide */
.category-card { perspective: 1200px; }
.category-image img {
    transition: transform .65s var(--lx-ease);
    will-change: transform;
}
.category-card:hover .category-image img { transform: scale(1.08); }
.category-content h3 {
    display: inline-block;
    transition: transform .5s var(--lx-ease);
}
.category-card:hover .category-content h3 { transform: translateY(-3px); }
.category-content span i {
    display: inline-block;
    transition: transform .4s var(--lx-ease);
}
.category-card:hover .category-content span i { transform: translateX(6px); }

/* Three.js hero scene — silk, glass, floating cards (above the fold) */
.lx-hero-3d {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 1.4s ease;
}
.lx-hero-3d.is-live { opacity: 1; }

.lx-hero-inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: center;
    width: 100%;
}

/* --- left: editorial copy --- */
.lx-hero-copy { max-width: 620px; }

.lx-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: var(--lx-champagne-d);
    margin-bottom: clamp(16px, 2.4vh, 26px);
    animation: lxFadeUp .9s var(--lx-ease) both;
}
.lx-hero-eyebrow::before {
    content: "";
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, var(--lx-champagne), transparent);
}

/* Editorial campaign line (admin hero slide title) above the H1 */
.lx-hero-campaign {
    font-family: var(--lx-serif);
    font-style: italic;
    font-size: clamp(17px, 1.6vw, 23px);
    color: var(--lx-champagne-d);
    letter-spacing: .03em;
    margin: 0 0 clamp(10px, 1.4vh, 16px);
    animation: lxFadeUp .9s .05s var(--lx-ease) both;
}

.lx-hero-title {
    font-family: var(--lx-serif);
    font-weight: 500;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.07;
    letter-spacing: -.015em;
    color: var(--lx-ink);
    margin: 0 0 clamp(16px, 2.4vh, 26px);
    text-transform: uppercase;
    animation: lxFadeUp .9s .1s var(--lx-ease) both;
}
.lx-hero-title .line-2 {
    display: block;
    font-style: italic;
    font-weight: 400;
    text-transform: none;
    background: linear-gradient(100deg, var(--lx-champagne-d) 10%, #882038 55%, var(--lx-champagne-d) 95%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: .08em;
}

.lx-hero-sub {
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.75;
    color: var(--lx-text-2);
    max-width: 460px;
    margin: 0 0 clamp(24px, 3.4vh, 38px);
    animation: lxFadeUp .9s .2s var(--lx-ease) both;
}

.lx-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    animation: lxFadeUp .9s .3s var(--lx-ease) both;
}

/* Magnetic editorial buttons */
.lx-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    font-family: var(--lx-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    overflow: hidden;
    transition: transform .35s var(--lx-ease), box-shadow .35s var(--lx-ease),
                background .3s, color .3s, border-color .3s;
    will-change: transform;
}
.lx-btn-primary {
    background: linear-gradient(135deg, #5e0b27 0%, #3f0719 100%);
    color: #fdf9f2;
    box-shadow: 0 12px 30px rgba(33, 29, 26, .22);
}
.lx-btn-primary::after {
    content: "";
    position: absolute;
    top: 0; left: -80%;
    width: 55%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(240, 230, 232, .35), transparent);
    transform: skewX(-20deg);
    transition: left .6s var(--lx-ease);
}
.lx-btn-primary:hover::after { left: 130%; }
.lx-btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(33, 29, 26, .28); }

.lx-btn-ghost {
    background: rgba(255, 253, 249, .7);
    border-color: var(--lx-line-2);
    color: var(--lx-ink);
    backdrop-filter: blur(6px);
}
.lx-btn-ghost:hover {
    transform: translateY(-3px);
    border-color: var(--lx-champagne);
    background: #fffdfa;
    box-shadow: var(--lx-shadow-2);
}

.lx-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: clamp(26px, 4vh, 44px);
    animation: lxFadeUp .9s .42s var(--lx-ease) both;
}
.lx-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    letter-spacing: .06em;
    color: var(--lx-text-2);
}
.lx-hero-trust i { color: var(--lx-champagne-d); font-size: 13px; }

@keyframes lxFadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}

/* --- right: 3D stage --- */
.lx-hero-stage {
    position: relative;
    height: clamp(420px, 62vh, 640px);
    perspective: 1400px;
    transform-style: preserve-3d;
}

/* flowing silk / fabric canvas behind the product */
.lx-fabric-canvas {
    position: absolute;
    inset: -6% -10%;
    width: 120%;
    height: 112%;
    z-index: 1;
    pointer-events: none;
    opacity: .9;
}

/* Main framed hero image with layered 3D frames */
.lx-hero-frame {
    position: absolute;
    z-index: 3;
    left: 12%;
    top: 6%;
    width: 72%;
    height: 84%;
    border-radius: 180px 180px 22px 22px;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: rotateY(-9deg) rotateX(3deg) translateZ(30px);
    box-shadow: var(--lx-shadow-3), 0 0 0 1px rgba(255, 255, 255, .7) inset;
    transition: transform .9s var(--lx-ease);
    background: var(--lx-beige);
}
.lx-hero-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(160deg, rgba(240, 230, 232, .9), rgba(255, 255, 255, .2) 40%, rgba(136, 32, 56, .55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
    pointer-events: none;
}
.lx-hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 1.4s var(--lx-ease);
}
.lx-hero-stage:hover .lx-hero-frame img { transform: scale(1.09); }

/* thin floating outline frame behind for depth */
.lx-hero-frame-ghost {
    position: absolute;
    z-index: 2;
    left: 6%;
    top: 1%;
    width: 82%;
    height: 92%;
    border-radius: 190px 190px 26px 26px;
    border: 1px solid rgba(136, 32, 56, .55);
    transform: rotateY(-9deg) rotateX(3deg) translateZ(-40px);
    animation: lxDrift 9s ease-in-out infinite alternate;
}
@keyframes lxDrift {
    from { transform: rotateY(-9deg) rotateX(3deg) translateZ(-40px) translateY(0); }
    to   { transform: rotateY(-6deg) rotateX(1deg) translateZ(-40px) translateY(-14px); }
}

/* Floating glass product cards around the hero */
.lx-float-card {
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(250px, 62%);
    padding: 12px 14px;
    background: var(--lx-glass);
    backdrop-filter: blur(14px) saturate(1.3);
    -webkit-backdrop-filter: blur(14px) saturate(1.3);
    border: 1px solid rgba(255, 255, 255, .85);
    outline: 1px solid var(--lx-glass-line);
    outline-offset: -5px;
    border-radius: 16px;
    box-shadow: var(--lx-shadow-2);
    text-decoration: none;
    color: var(--lx-ink);
    transform-style: preserve-3d;
    animation: lxBob 7s ease-in-out infinite;
    transition: box-shadow .35s var(--lx-ease), outline-color .3s;
    will-change: transform;
}
.lx-float-card:hover { box-shadow: var(--lx-shadow-3); outline-color: var(--lx-champagne); }

.lx-float-card--a { left: -4%; top: 12%; animation-delay: 0s; }
.lx-float-card--b { right: -3%; top: 40%; animation-delay: -2.4s; }
.lx-float-card--c { left: 4%; bottom: 4%; animation-delay: -4.6s; }

@keyframes lxBob {
    0%, 100% { transform: translate3d(0, 0, 46px) rotateY(6deg) rotateX(2deg); }
    50%      { transform: translate3d(0, -13px, 62px) rotateY(3deg) rotateX(-1deg); }
}

.lx-float-card img {
    width: 54px;
    height: 66px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--lx-beige);
}
.lx-float-card .fc-body { min-width: 0; }
.lx-float-card .fc-cat {
    display: block;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lx-champagne-d);
    margin-bottom: 3px;
}
.lx-float-card .fc-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--lx-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.lx-float-card .fc-price {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--lx-text-2);
    margin-top: 3px;
}
.lx-float-card .fc-price s { font-weight: 400; color: var(--lx-text-3); margin-right: 5px; }

/* scroll cue */
.lx-hero-cue {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--lx-text-3);
    text-decoration: none;
}
.lx-hero-cue span {
    width: 1px;
    height: 42px;
    background: linear-gradient(var(--lx-champagne), transparent);
    position: relative;
    overflow: hidden;
}
.lx-hero-cue span::after {
    content: "";
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--lx-ink);
    animation: lxCue 1.8s ease-in-out infinite;
}
@keyframes lxCue { 0% { top: -50%; } 100% { top: 110%; } }

@media (max-width: 991px) {
    .lx-hero-inner { grid-template-columns: 1fr; gap: 34px; }
    .lx-hero-copy { max-width: none; text-align: center; margin: 0 auto; }
    .lx-hero-eyebrow { justify-content: center; }
    .lx-hero-eyebrow::after {
        content: "";
        width: 44px;
        height: 1px;
        background: linear-gradient(270deg, var(--lx-champagne), transparent);
    }
    .lx-hero-sub { margin-left: auto; margin-right: auto; }
    .lx-hero-cta, .lx-hero-trust { justify-content: center; }
    .lx-hero-stage { height: clamp(380px, 58vw, 520px); max-width: 560px; margin: 0 auto; width: 100%; }
    .lx-hero-cue { display: none; }
}
@media (max-width: 575px) {
    .lx-float-card { width: min(210px, 66%); padding: 9px 11px; gap: 9px; }
    .lx-float-card img { width: 42px; height: 52px; }
    .lx-float-card .fc-name { font-size: 12px; }
    .lx-float-card--a { left: -2%; top: 6%; }
    .lx-float-card--b { right: -2%; top: 44%; }
    .lx-float-card--c { display: none; }
    .lx-hero-frame { left: 10%; width: 78%; top: 4%; height: 80%; }
    .lx-btn { padding: 14px 26px; font-size: 11px; }
}

/* ============================================================
   5. PRODUCT CARDS — subtle 3D tilt + elevation
   ============================================================ */

.product-card {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform .5s var(--lx-ease), box-shadow .5s var(--lx-ease);
}
.product-card .product-thumb { transform-style: preserve-3d; }
.product-card .product-thumb img,
.product-card .product-thumb .img-alt {
    transition: transform .7s var(--lx-ease), opacity .5s ease;
    will-change: transform;
}
.product-card:hover .product-thumb img { transform: translateZ(24px) scale(1.045); }
.product-card:hover { box-shadow: var(--lx-shadow-2); border-color: var(--lx-champagne-l); }

/* image crossfade: .img-alt is rendered by PHP and revealed on hover
   (rules live in premium.css — kept here only for stacking context) */
.product-card .img-alt { z-index: 1; }

/* soft champagne image elevation on hover */
.product-card:hover .product-thumb { box-shadow: inset 0 -30px 40px -30px rgba(33, 29, 26, .18); }

.product-badge { letter-spacing: .1em; }
.product-badge.featured { background: var(--lx-champagne-d); }
.product-badge.trending { background: #5b1525; }

/* ============================================================
   6. SECTION EDITORIAL POLISH
   ============================================================ */

.section-padding { padding-top: clamp(58px, 8vw, 110px); padding-bottom: clamp(58px, 8vw, 110px); }

.section-label { color: var(--lx-champagne-d) !important; }
.section-heading h2 { color: var(--lx-ink); }

/* thin rules flanking centered headings */
.section-heading:not(.left) { position: relative; }
.section-heading:not(.left) h2::after {
    background: linear-gradient(90deg, transparent, var(--lx-champagne), transparent) !important;
    width: min(240px, 46%) !important;
}

.text-link { color: var(--lx-champagne-d); letter-spacing: .12em; }
.text-link:hover { color: var(--lx-ink); }

/* Category cards — editorial depth */
.category-card {
    border: 1px solid var(--lx-line);
    border-radius: var(--lx-radius);
    overflow: hidden;
    background: #fffdfa;
    transform-style: preserve-3d;
    transition: transform .55s var(--lx-ease), box-shadow .55s var(--lx-ease), border-color .4s;
}
.category-card:hover {
    transform: translateY(-8px) translateZ(18px);
    box-shadow: var(--lx-shadow-3);
    border-color: var(--lx-champagne-l);
}
.category-card .category-image { height: clamp(220px, 26vw, 300px); }
.category-card .category-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(33, 29, 26, .48) 100%);
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}
.category-card:hover .category-image::after { opacity: 1; }
.category-card .category-content h3 { font-family: var(--lx-serif); color: var(--lx-ink); }
.category-card .category-content span { color: var(--lx-champagne-d); letter-spacing: .12em; }
.category-card .category-content span i { transition: transform .35s var(--lx-ease); }
.category-card:hover .category-content span i { transform: translateX(6px); }

/* Why-us / feature cards with Lottie */
.feature-card {
    position: relative;
    background: #fffdfa;
    border: 1px solid var(--lx-line);
    border-radius: var(--lx-radius);
    padding: clamp(26px, 3vw, 38px) clamp(20px, 2.4vw, 32px);
    overflow: hidden;
    transition: transform .5s var(--lx-ease), box-shadow .5s var(--lx-ease), border-color .4s;
}
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(70% 60% at 50% 0%, rgba(240, 230, 232, .5), transparent 70%);
    opacity: 0;
    transition: opacity .5s ease;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--lx-shadow-2);
    border-color: var(--lx-champagne-l);
}
.feature-card:hover::before { opacity: 1; }
.feature-card > * { position: relative; }

.lx-lottie {
    width: 62px;
    height: 62px;
    margin-bottom: 18px;
    transition: transform .5s var(--lx-ease);
}
.feature-card:hover .lx-lottie { transform: scale(1.12) translateY(-3px); }
.lx-lottie svg { width: 100%; height: 100%; display: block; }

.feature-card h3 { font-family: var(--lx-serif); font-size: 21px; color: var(--lx-ink); margin-bottom: 10px; }
.feature-card p { font-size: 14px; line-height: 1.7; color: var(--lx-text-2); margin: 0; }

/* ============================================================
   7. "MADE FOR MOMENTS" — editorial parallax feature
   ============================================================ */

.featured-section {
    background: linear-gradient(135deg, var(--lx-ivory) 0%, var(--lx-warm) 100%) !important;
    position: relative;
}
.featured-image {
    position: relative;
    overflow: hidden;
    will-change: transform;
}
.featured-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(200deg, rgba(240, 230, 232, .25), transparent 45%);
    pointer-events: none;
}
.featured-content .section-label { color: var(--lx-champagne-d) !important; }
.featured-content h2 { color: var(--lx-ink); }
.featured-content p { color: var(--lx-text-2); }

/* ============================================================
   8. THE FASHLAB EXPERIENCE — signature 3D section
   ============================================================ */

.lx-experience {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(45% 65% at 20% 30%, rgba(250, 247, 248, .95), transparent 70%),
        radial-gradient(55% 75% at 82% 70%, rgba(240, 230, 232, .55), transparent 70%),
        linear-gradient(180deg, #fdfcf9, var(--lx-ivory));
    border-top: 1px solid var(--lx-line);
    border-bottom: 1px solid var(--lx-line);
    padding: clamp(70px, 10vw, 130px) 0;
    text-align: center;
}

.lx-exp-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: .96;
}

.lx-exp-inner {
    position: relative;
    z-index: 2;
    max-width: 660px;
    margin: 0 auto;
    padding: 0 20px;
    pointer-events: none;
}
.lx-exp-inner .section-label { color: var(--lx-champagne-d) !important; }
.lx-exp-inner h2 {
    font-family: var(--lx-serif);
    font-weight: 500;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1.12;
    color: var(--lx-ink);
    margin: 0 0 18px;
}
.lx-exp-inner h2 em {
    font-style: italic;
    background: linear-gradient(100deg, var(--lx-champagne-d), #882038, var(--lx-champagne-d));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lx-exp-inner p {
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.8;
    color: var(--lx-text-2);
    margin: 0 auto 30px;
    max-width: 520px;
}
.lx-exp-inner .lx-btn { pointer-events: auto; }

/* Three.js fallback / loading state (graceful degradation) */
.lx-exp-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(30% 50% at 50% 50%, rgba(240, 230, 232, .5), transparent 70%);
    display: grid;
    place-items: center;
    opacity: .8;
}
.lx-exp-fallback .ring {
    width: min(420px, 70vw);
    height: min(420px, 70vw);
    border: 1px dashed rgba(136, 32, 56, .5);
    border-radius: 50%;
    animation: lxSpin 46s linear infinite;
}
@keyframes lxSpin { to { transform: rotate(360deg); } }

/* ============================================================
   9. SALE EDIT
   ============================================================ */

.sale-section { position: relative; }
.sale-section .section-label { color: #a9573f !important; }

/* ============================================================
   10. TESTIMONIALS — elegant slider
   ============================================================ */

.reviews-section { background: linear-gradient(180deg, var(--lx-ivory), #fdfcf9); }

.review-card {
    background: #fffdfa;
    border: 1px solid var(--lx-line);
    border-radius: var(--lx-radius);
    padding: clamp(24px, 3vw, 36px);
    position: relative;
    overflow: hidden;
    transition: transform .5s var(--lx-ease), box-shadow .5s var(--lx-ease), border-color .4s;
}
.review-card::before {
    content: "\201C";
    position: absolute;
    top: -14px;
    right: 18px;
    font-family: var(--lx-serif);
    font-size: 110px;
    line-height: 1;
    color: rgba(136, 32, 56, .16);
    pointer-events: none;
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--lx-shadow-2); border-color: var(--lx-champagne-l); }
.review-card p { color: var(--lx-text); font-size: 15px; line-height: 1.8; position: relative; }
.review-stars { color: var(--lx-champagne-d) !important; letter-spacing: 3px; }
.review-card .author-avatar {
    background: linear-gradient(135deg, var(--lx-champagne), var(--lx-champagne-d));
    color: #fff;
}
.review-card strong { color: var(--lx-ink); }
.review-card span { color: var(--lx-text-3); font-size: 12px; letter-spacing: .06em; }

/* ============================================================
   11. GALLERY — editorial grid with depth
   ============================================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 1.4vw, 18px);
}
.gallery-grid img {
    border-radius: var(--lx-radius);
    height: clamp(220px, 24vw, 330px);
    object-fit: cover;
    border: 1px solid var(--lx-line);
    transition: transform .7s var(--lx-ease), box-shadow .7s var(--lx-ease), filter .5s;
    position: relative;
}
.gallery-grid img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--lx-shadow-3);
    filter: saturate(1.06);
    z-index: 2;
}
@media (max-width: 767px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-cta { text-align: center; margin-top: clamp(26px, 4vw, 44px); }
.gallery-cta .lx-btn i { font-size: 16px; }

/* ============================================================
   12. NEWSLETTER — light champagne card with soft motion
   ============================================================ */

.newsletter-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(50% 120% at 88% 10%, rgba(240, 230, 232, .75), transparent 60%),
        radial-gradient(40% 100% at 8% 90%, rgba(250, 247, 248, .9), transparent 65%),
        linear-gradient(120deg, var(--lx-warm), var(--lx-ivory)) !important;
    border-top: 1px solid var(--lx-line);
    color: var(--lx-text);
    padding: clamp(56px, 7vw, 90px) 0;
}
.newsletter-section::after {
    /* soft ribbon sweep */
    content: "";
    position: absolute;
    right: -8%;
    top: -40%;
    width: 46%;
    height: 180%;
    background: linear-gradient(160deg, transparent 30%, rgba(136, 32, 56, .14) 50%, transparent 70%);
    transform: rotate(14deg);
    pointer-events: none;
}
.newsletter-section .section-label { color: var(--lx-champagne-d) !important; }
.newsletter-content h2 { color: var(--lx-ink) !important; font-family: var(--lx-serif); }
.newsletter-content p { color: var(--lx-text-2) !important; }

.newsletter-form { position: relative; z-index: 2; }
.newsletter-form input {
    background: #fffdfa !important;
    border: 1px solid var(--lx-line-2) !important;
    color: var(--lx-ink) !important;
    border-radius: 999px !important;
    padding: 15px 24px !important;
}
.newsletter-form input:focus { border-color: var(--lx-champagne) !important; }
.newsletter-form button {
    background: linear-gradient(135deg, #5e0b27, #3f0719) !important;
    color: #fdf9f2 !important;
    border-radius: 999px !important;
    padding: 15px 34px !important;
    font-weight: 700;
    letter-spacing: .14em;
    transition: transform .3s var(--lx-ease), box-shadow .3s;
}
.newsletter-form button:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(33, 29, 26, .22); }
.newsletter-success { color: var(--lx-champagne-d) !important; font-weight: 600; }

/* ============================================================
   13. FOOTER — light editorial (no dark backgrounds)
   ============================================================ */

.site-footer {
    background: linear-gradient(180deg, var(--lx-warm) 0%, var(--lx-beige) 100%) !important;
    color: var(--lx-text-2) !important;
    border-top: 1px solid var(--lx-line-2);
}
.site-footer h3 { color: var(--lx-ink) !important; }
.site-footer .footer-logo {
    font-family: var(--lx-serif);
    font-size: 26px;
    letter-spacing: .04em;
    color: var(--lx-ink) !important;
}
.site-footer .footer-brand > p { color: var(--lx-text-2); }
.site-footer .footer-column a { color: var(--lx-text-2); transition: color .22s, transform .22s, padding-left .22s; }
.site-footer .footer-column a:hover { color: var(--lx-champagne-d); padding-left: 5px; }
.footer-bottom {
    border-top: 1px solid var(--lx-line-2) !important;
    background: transparent !important;
    color: var(--lx-text-3) !important;
}
.footer-bottom p { color: var(--lx-text-3); }
.social-links a {
    background: #fffdfa !important;
    border: 1px solid var(--lx-line-2) !important;
    color: var(--lx-ink) !important;
    transition: transform .3s var(--lx-ease), background .3s, border-color .3s, color .3s;
}
.social-links a:hover { transform: translateY(-4px); border-color: var(--lx-champagne); color: var(--lx-champagne-d) !important; }
.social-links a.s-whatsapp:hover { background: var(--whatsapp) !important; border-color: var(--whatsapp); color: #fff !important; }

/* trust bar above footer — light */
.trust-bar { background: #fffdfa !important; border-top: 1px solid var(--lx-line); border-bottom: 1px solid var(--lx-line); }
.trust-bar h4 { color: var(--lx-ink); }
.trust-bar p { color: var(--lx-text-2); }
.trust-bar i { color: var(--lx-champagne-d) !important; }
.trust-grid .trust-item .lx-lottie { width: 44px; height: 44px; margin-bottom: 0; }

/* trust strip (homepage) */
.trust-strip { background: var(--lx-warm) !important; border-color: var(--lx-line) !important; }
.trust-strip .trust-item i { color: var(--lx-champagne-d) !important; }
.trust-strip strong { color: var(--lx-ink); }
.trust-strip span { color: var(--lx-text-2); }

/* floating WhatsApp — refined pill */
.wa-float {
    background: linear-gradient(135deg, #2fbf5f, #1fa64e) !important;
    box-shadow: 0 12px 30px rgba(31, 166, 78, .32) !important;
    border: 0 !important;
}

/* ============================================================
   14. PRODUCT DETAIL — zoom, lightbox, accordions, WhatsApp
   ============================================================ */

.product-main-image {
    border-radius: var(--lx-radius);
    border: 1px solid var(--lx-line);
    overflow: hidden;
    background: var(--lx-beige);
    cursor: zoom-in;
}
.product-main-image img {
    transition: transform .5s var(--lx-ease);
    transform-origin: center;
}
.product-main-image.is-zooming img { transform: scale(1.9); will-change: transform; }

.product-thumbnails .product-thumb {
    border-radius: 10px;
    border: 1px solid var(--lx-line);
    overflow: hidden;
    transition: border-color .25s, transform .25s;
}
.product-thumbnails .product-thumb:hover { transform: translateY(-3px); }
.product-thumbnails .product-thumb.active { border-color: var(--lx-champagne); }

.product-information .product-title { font-family: var(--lx-serif); color: var(--lx-ink); }
.product-category { color: var(--lx-champagne-d) !important; letter-spacing: .16em; }

/* fullscreen lightbox */
.lx-lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    background: rgba(250, 248, 248, .96);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    padding: 30px;
    opacity: 0;
    transition: opacity .3s var(--lx-ease);
}
.lx-lightbox[hidden] { display: none; }
.lx-lightbox.is-open { opacity: 1; }
.lx-lightbox img {
    max-width: min(1080px, 94vw);
    max-height: 76vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--lx-shadow-3);
    background: #fff;
}
.lx-lightbox-thumbs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.lx-lightbox-thumbs button {
    width: 54px; height: 66px;
    border-radius: 8px;
    border: 2px solid transparent;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    background: var(--lx-beige);
    opacity: .65;
    transition: opacity .2s, border-color .2s, transform .2s;
}
.lx-lightbox-thumbs button img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; max-height: none; }
.lx-lightbox-thumbs button.active, .lx-lightbox-thumbs button:hover { opacity: 1; border-color: var(--lx-champagne); transform: translateY(-3px); }
.lx-lightbox-close {
    position: absolute;
    top: 22px; right: 26px;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--lx-line-2);
    background: #fffdfa;
    font-size: 24px;
    color: var(--lx-ink);
    cursor: pointer;
    transition: transform .25s, background .25s;
}
.lx-lightbox-close:hover { transform: rotate(90deg); background: var(--lx-beige); }

/* accordions (product tabs become stacked panels) */
.product-tabs { display: flex; flex-direction: column; gap: 10px; }
.product-tab {
    width: 100%;
    text-align: left;
    background: #fffdfa;
    border: 1px solid var(--lx-line);
    border-radius: 12px;
    padding: 17px 22px;
    font-family: var(--lx-serif);
    font-size: 17px;
    color: var(--lx-ink);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color .3s, background .3s, box-shadow .3s;
}
.product-tab::after {
    content: "+";
    font-family: var(--lx-sans);
    font-size: 20px;
    color: var(--lx-champagne-d);
    transition: transform .35s var(--lx-ease);
}
.product-tab.active { border-color: var(--lx-champagne); box-shadow: var(--lx-shadow-1); }
.product-tab.active::after { transform: rotate(45deg); }
.product-tab:hover { background: var(--lx-warm); }

.product-tab-content {
    display: none;
    background: #fffdfa;
    border: 1px solid var(--lx-line);
    border-radius: 12px;
    padding: clamp(20px, 3vw, 30px);
    animation: lxAcc .4s var(--lx-ease);
}
.product-tab-content.active { display: block; }
@keyframes lxAcc { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* WhatsApp order button */
.btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    border-radius: 999px;
    border: 1px solid #bfe5cc;
    background: #f2fbf5;
    color: #177a3f;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .25s, transform .3s var(--lx-ease), box-shadow .3s;
}
.btn-wa:hover { background: #e7f7ee; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31, 166, 78, .18); }
.btn-wa i { font-size: 17px; }

/* sticky mobile buy bar */
.lx-mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 350;
    display: none;
    align-items: center;
    gap: 12px;
    padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 249, .96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--lx-line-2);
    box-shadow: 0 -8px 30px rgba(91, 21, 37, .1);
    transform: translateY(110%);
    transition: transform .4s var(--lx-ease);
}
.lx-mobile-bar.is-on { transform: none; }
.lx-mobile-bar .mb-price { flex: 1; min-width: 0; }
.lx-mobile-bar .mb-price strong { display: block; font-size: 15px; color: var(--lx-ink); }
.lx-mobile-bar .mb-price span { font-size: 11px; color: var(--lx-text-3); letter-spacing: .08em; text-transform: uppercase; }
.lx-mobile-bar .mb-add {
    flex: 0 0 auto;
    padding: 13px 26px;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, #5e0b27, #3f0719);
    color: #fdf9f2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
}
@media (max-width: 767px) {
    .lx-mobile-bar { display: flex; }
    body.has-lx-bar { padding-bottom: 74px; }
}

/* ============================================================
   15. SCROLL REVEALS
   ============================================================ */

.lx-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .9s var(--lx-ease), transform .9s var(--lx-ease);
    transition-delay: var(--lx-delay, 0ms);
}
.lx-reveal.is-visible { opacity: 1; transform: none; }

.lx-reveal--left  { transform: translateX(-44px); }
.lx-reveal--right { transform: translateX(44px); }
.lx-reveal--zoom  { transform: scale(.94); }

.lx-reveal--left.is-visible,
.lx-reveal--right.is-visible,
.lx-reveal--zoom.is-visible { transform: none; }

/* ============================================================
   16. SKELETONS / LOADING STATES
   ============================================================ */

.product-card .product-thumb {
    background: linear-gradient(100deg, var(--lx-beige) 30%, #fbf8f9 50%, var(--lx-beige) 70%);
    background-size: 220% 100%;
    animation: lxShimmer 1.4s infinite linear;
}
.product-card .product-thumb img { background: transparent; }
.product-card.loaded .product-thumb { animation: none; }

.drawer-empty .lx-lottie,
.wishlist-empty .lx-lottie,
.shop-empty .lx-lottie,
.empty-cart .lx-lottie,
.empty-checkout .lx-lottie {
    width: 92px;
    height: 92px;
    margin: 0 auto 16px;
}

/* ============================================================
   17. FILTER BOTTOM SHEET (mobile)
   ============================================================ */

@media (max-width: 991px) {
    .filter-sidebar {
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0;
        width: 100% !important;
        max-width: none !important;
        height: min(82vh, 640px);
        border-radius: 22px 22px 0 0;
        transform: translateY(105%) !important;
        transition: transform .38s var(--lx-ease) !important;
        padding: 14px 22px 30px !important;
        box-shadow: 0 -18px 50px rgba(91, 21, 37, .22) !important;
    }
    .filter-sidebar::before {
        content: "";
        display: block;
        width: 44px;
        height: 4px;
        border-radius: 4px;
        background: var(--lx-line-2);
        margin: 0 auto 12px;
    }
    .filter-sidebar.open { transform: translateY(0) !important; }
    .filter-toggle {
        background: #fffdfa;
        border: 1px solid var(--lx-line-2);
        border-radius: 999px;
        padding: 9px 18px;
        font-weight: 600;
    }
    /* horizontal category scroll on small screens */
    .category-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 14px;
        padding-bottom: 12px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .category-grid::-webkit-scrollbar { display: none; }
    .category-grid .category-card {
        flex: 0 0 min(74vw, 300px);
        scroll-snap-align: start;
    }
}

/* ============================================================
   18. CURSOR GLOW (desktop only, subtle)
   ============================================================ */

.lx-cursor {
    position: fixed;
    z-index: 999;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(136, 32, 56, .38), rgba(136, 32, 56, 0) 70%);
    transform: translate(-50%, -50%);
    transition: width .3s var(--lx-ease), height .3s var(--lx-ease), opacity .3s;
    opacity: 0;
    mix-blend-mode: multiply;
}
.lx-cursor.is-on { opacity: 1; }
.lx-cursor.is-hot { width: 54px; height: 54px; }
@media (hover: none), (max-width: 991px), (prefers-reduced-motion: reduce) {
    .lx-cursor { display: none !important; }
}

/* ============================================================
   19. GLOBAL LIGHT-THEME GUARDS + REDUCED MOTION
   ============================================================ */

/* Never allow dark surfaces to creep back in on key pages */
.shop-hero {
    background:
        linear-gradient(90deg, rgba(251, 249, 245, .94), rgba(251, 249, 245, .55)),
        url("https://images.unsplash.com/photo-1551488831-00ddcb6c6bd3?auto=format&fit=crop&w=1800&q=85") center 38% / cover no-repeat !important;
    color: var(--lx-ink) !important;
}
.shop-hero h1 { color: var(--lx-ink); }
.shop-hero p { color: var(--lx-text-2); }

/* hero-section kept for pages still using it — force light editorial look */
.hero-section:not(.lx-hero) {
    background:
        radial-gradient(55% 80% at 80% 20%, rgba(240, 230, 232, .5), transparent 60%),
        linear-gradient(165deg, #fdfcf9, var(--lx-warm)) !important;
    color: var(--lx-ink);
}
.hero-section:not(.lx-hero) .hero-overlay { display: none; }
.hero-section:not(.lx-hero) h1 { color: var(--lx-ink); }
.hero-section:not(.lx-hero) .hero-eyebrow { color: var(--lx-champagne-d); }
.hero-section:not(.lx-hero) .hero-description { color: var(--lx-text-2); }
.hero-section:not(.lx-hero) .hero-scroll-cue { color: var(--lx-text-3); }
.hero-section:not(.lx-hero) .hero-buttons .btn-primary {
    background: linear-gradient(135deg, #5e0b27, #3f0719);
    color: #fdf9f2;
    border-color: transparent;
}
.hero-section:not(.lx-hero) .hero-buttons .btn-outline {
    color: var(--lx-ink);
    border-color: var(--lx-line-2);
    background: rgba(255, 253, 249, .7);
}

/* product card skeleton cleanup once images load */
@media (prefers-reduced-motion: reduce) {
    .lx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .lx-float-card, .lx-hero-frame-ghost { animation: none !important; }
    .announcement-msg { transition: none; }
    .lx-hero-particles, .lx-fabric-canvas, .lx-exp-canvas, .lx-hero-3d { display: none; }
}

/* ============================================================
   20. SHOP / COLLECTIONS — filter chips + sort polish
   ============================================================ */

.sort-select {
    border-radius: 999px;
    border: 1px solid var(--lx-line-2);
    background: #fffdfa;
    padding: 9px 18px;
    font-size: 13.5px;
    color: var(--lx-ink);
    transition: border-color .25s;
}
.sort-select:focus { border-color: var(--lx-champagne); outline: none; }

.search-box {
    border-radius: 999px;
    border: 1px solid var(--lx-line-2);
    background: #fffdfa;
    transition: border-color .25s, box-shadow .25s;
}
.search-box:focus-within { border-color: var(--lx-champagne); box-shadow: 0 0 0 4px rgba(136, 32, 56, .14); }

.filter-group h3 { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--lx-champagne-d); }
.filter-option span { color: var(--lx-text); }
.clear-filters { border-radius: 999px; }

.collection-card { border-radius: var(--lx-radius); overflow: hidden; }
.collection-card:hover { border-color: var(--lx-champagne-l); }

/* Quick-view modal premium surface — subtle 3D entrance */
.qv-modal { border: 1px solid var(--lx-line); border-radius: var(--lx-radius-lg) !important; box-shadow: var(--lx-shadow-3); }
.qv-overlay.show .qv-modal {
    animation: lx-qv-in .55s var(--lx-ease) both;
    transform-style: preserve-3d;
}
@keyframes lx-qv-in {
    from {
        opacity: 0;
        transform: perspective(1200px) translateY(28px) rotateX(7deg) scale(.97);
    }
    to {
        opacity: 1;
        transform: perspective(1200px) translateY(0) rotateX(0) scale(1);
    }
}
@media (prefers-reduced-motion: reduce) {
    .qv-overlay.show .qv-modal { animation: none; }
}
.qv-gallery { background: linear-gradient(160deg, var(--lx-ivory), var(--lx-warm)) !important; }
.qv-title { font-family: var(--lx-serif); color: var(--lx-ink); }
.qv-eyebrow { color: var(--lx-champagne-d) !important; }
.qv-add { border-radius: 999px; }

/* Cart drawer — light champagne */
.cart-drawer { background: #fffdfa; border-left: 1px solid var(--lx-line); }
.cart-drawer-head h2 { font-family: var(--lx-serif); color: var(--lx-ink); }
.drawer-summary { background: var(--lx-ivory) !important; border-top-color: var(--lx-line) !important; }
.drawer-progress-bar span { background: linear-gradient(90deg, var(--lx-champagne), var(--lx-champagne-l)) !important; }

/* Pagination */
.page-link { border-radius: 999px; }
.page-link.active { background: #5e0b27; border-color: #5e0b27; }
.page-link:hover { border-color: var(--lx-champagne); color: var(--lx-champagne-d); }

/* Lottie inline SVG containers inside trust bar / empty states */
.lx-lottie-inline {
    display: inline-flex;
    width: 34px;
    height: 34px;
    vertical-align: middle;
    margin-right: 4px;
}

/* ============================================================
   20. SHARE BUTTON + SIZE GUIDE MODAL
   ============================================================ */

.product-information .product-share {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    letter-spacing: .14em;
}
.product-information .product-share span { letter-spacing: .14em; }
.product-information .product-share.is-copied {
    border-color: var(--lx-champagne);
    color: var(--lx-champagne-d);
}

.lx-sizeguide {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(59, 43, 38, .38);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}
.lx-sizeguide.is-open,
.lx-sizeguide:target { display: flex; }

.lx-sizeguide-card {
    position: relative;
    width: min(640px, 100%);
    max-height: min(84vh, 720px);
    overflow-y: auto;
    background: #fffdfa;
    border: 1px solid var(--lx-line);
    border-radius: 18px;
    padding: 34px 32px 28px;
    box-shadow: 0 30px 80px rgba(91, 21, 37, .25);
    animation: lxGuideIn .32s var(--lx-ease);
}
@keyframes lxGuideIn {
    from { opacity: 0; transform: translateY(18px) scale(.985); }
    to   { opacity: 1; transform: none; }
}
.lx-sizeguide-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--lx-line-2);
    background: #fff;
    color: var(--lx-ink);
    cursor: pointer;
    font-size: 15px;
    transition: background .25s var(--lx-ease), transform .25s var(--lx-ease);
}
.lx-sizeguide-close:hover { background: var(--lx-ivory); transform: rotate(90deg); }
.lx-sizeguide-card h3 {
    font-family: var(--lx-serif);
    font-size: 26px;
    margin: 6px 0 8px;
    color: var(--lx-ink);
}
.lx-sizeguide-desc { color: var(--lx-text-2); font-size: 14.5px; margin-bottom: 18px; }
.lx-sizeguide-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lx-sizeguide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 480px;
}
.lx-sizeguide-table th,
.lx-sizeguide-table td {
    padding: 11px 12px;
    text-align: center;
    border-bottom: 1px solid var(--lx-line);
}
.lx-sizeguide-table thead th {
    background: var(--lx-ivory);
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--lx-text-2);
    font-weight: 600;
}
.lx-sizeguide-table tbody th { color: var(--lx-ink); font-weight: 600; }
.lx-sizeguide-table tbody tr:hover { background: #fbf9fa; }
.lx-sizeguide-note {
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--lx-text-2);
    line-height: 1.6;
}

/* ============================================================
   21. SHOP BY FABRIC / OCCASION chips + category link polish
   ============================================================ */

.fabric-groups { display: grid; gap: 26px; }
.fabric-group h3 {
    font-family: var(--lx-serif);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: .04em;
    color: var(--lx-text-2);
    margin-bottom: 14px;
}
.fabric-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.fabric-chip {
    display: inline-flex;
    align-items: center;
    padding: 11px 22px;
    border: 1px solid var(--lx-line-2);
    border-radius: 999px;
    background: #fffdfa;
    color: var(--lx-ink);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-decoration: none;
    transition: border-color .25s var(--lx-ease), transform .25s var(--lx-ease), background .25s var(--lx-ease), box-shadow .25s var(--lx-ease), color .25s var(--lx-ease);
}
.fabric-chip:hover,
.fabric-chip:focus-visible {
    border-color: var(--lx-champagne);
    background: var(--lx-ivory);
    color: var(--lx-champagne-d);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(91, 21, 37, .08);
}

/* product category chip is now a real internal link */
.product-category { text-decoration: none; }
.product-category:hover { text-decoration: underline; }

@media (max-width: 767px) {
    .fabric-strip {
        flex-wrap: nowrap;
        overflow-x: auto;
        margin: 0 -20px;
        padding: 0 20px 8px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .fabric-strip::-webkit-scrollbar { display: none; }
    .fabric-chip { flex: 0 0 auto; }
}

/* ================================================================
   STYLE JOURNAL — editorial pages (journal.php / journal-article.php)
   ================================================================ */
.lx-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 12.5px;
    color: var(--lx-text-2);
    padding-top: 22px;
    min-width: 0;
}
.lx-breadcrumb a { color: var(--lx-text-2); text-decoration: none; transition: color .2s ease; }
.lx-breadcrumb a:hover { color: var(--lx-champagne-d); }
.lx-breadcrumb i { font-size: 9px; color: var(--lx-champagne); }
.lx-breadcrumb > span {
    color: var(--lx-ink);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 46ch;
}

.lx-journal-hero { text-align: center; padding: clamp(26px, 5vh, 52px) 0 clamp(8px, 2vh, 18px); }
.lx-journal-hero h1 {
    font-family: var(--lx-serif);
    font-weight: 600;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.12;
    color: var(--lx-ink);
    max-width: 20ch;
    margin: 10px auto 0;
}
.lx-journal-hero p { max-width: 640px; margin: 14px auto 0; color: var(--lx-text-2); line-height: 1.65; }

.lx-journal-cats .container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 4px 0 14px;
}
.lx-chip {
    padding: 8px 18px;
    border: 1px solid var(--lx-line);
    border-radius: 999px;
    font-size: 13px;
    color: var(--lx-text-2);
    background: #fff;
    text-decoration: none;
    transition: border-color .3s var(--lx-ease), color .3s var(--lx-ease), transform .3s var(--lx-ease), background .3s ease;
}
.lx-chip:hover { border-color: var(--lx-champagne); color: var(--lx-champagne-d); transform: translateY(-2px); }
.lx-chip.is-active { background: #5e0b27; border-color: #5e0b27; color: var(--lx-ivory); }

.lx-journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 26px;
}
.lx-journal-card {
    background: #fff;
    border: 1px solid var(--lx-line);
    border-radius: var(--lx-radius-lg);
    overflow: hidden;
    transition: transform .5s var(--lx-ease), box-shadow .5s var(--lx-ease), border-color .4s ease;
}
.lx-journal-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lx-shadow-2);
    border-color: var(--lx-champagne-l);
}
.lj-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(150deg, var(--lx-ivory), #f6f0f2); }
.lj-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--lx-ease); display: block; }
.lx-journal-card:hover .lj-media img { transform: scale(1.06); }
.lj-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 34px;
    color: var(--lx-champagne);
}
.lj-body { padding: 20px 22px 24px; }
.lj-cat {
    display: inline-block;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--lx-champagne-d);
    margin-bottom: 10px;
    text-decoration: none;
}
.lj-cat:hover { text-decoration: underline; }
.lj-body h2, .lj-body h3 {
    font-family: var(--lx-serif);
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 8px;
}
.lj-body h2 a, .lj-body h3 a { color: var(--lx-ink); text-decoration: none; transition: color .25s ease; }
.lj-body h2 a:hover, .lj-body h3 a:hover { color: var(--lx-champagne-d); }
.lj-body p { color: var(--lx-text-2); font-size: 14.5px; line-height: 1.62; margin: 0; }
.lj-meta { display: flex; gap: 8px; font-size: 12px; color: var(--lx-text-2); margin-top: 14px; }

.lx-journal-empty { text-align: center; padding: 64px 20px; color: var(--lx-text-2); }
.lx-journal-empty i { font-size: 34px; color: var(--lx-champagne); display: block; margin-bottom: 14px; }
.lx-journal-empty p { margin-bottom: 20px; font-size: 16px; }

.lx-journal-cta { text-align: center; padding-bottom: clamp(40px, 7vh, 80px); }
.lx-journal-cta p { font-family: var(--lx-serif); font-size: clamp(20px, 2.4vw, 26px); color: var(--lx-ink); margin: 0 0 16px; }

/* --- article page --- */
.lx-article-wrap { max-width: 780px; }
.lx-article-head h1 {
    font-family: var(--lx-serif);
    font-weight: 600;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.14;
    color: var(--lx-ink);
    margin: 10px 0 14px;
}
.lx-article-lead { font-size: 17.5px; color: var(--lx-text-2); line-height: 1.65; margin: 0; }
.lx-article-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--lx-text-2); margin-top: 16px; }
.lx-article-image { margin: 28px 0; border-radius: var(--lx-radius-lg); overflow: hidden; box-shadow: var(--lx-shadow-2); }
.lx-article-image img { width: 100%; display: block; }
.lx-article-content { font-size: 16.5px; line-height: 1.8; color: var(--lx-text); }
.lx-article-content p { margin: 0 0 18px; }
.lx-article-content h2 { font-family: var(--lx-serif); font-weight: 600; font-size: 27px; color: var(--lx-ink); margin: 36px 0 14px; line-height: 1.25; }
.lx-article-content h3 { font-family: var(--lx-serif); font-weight: 600; font-size: 21px; color: var(--lx-ink); margin: 28px 0 10px; }
.lx-article-content ul, .lx-article-content ol { margin: 0 0 20px; padding-left: 22px; }
.lx-article-content li { margin-bottom: 9px; }
.lx-article-content a { color: var(--lx-champagne-d); text-decoration: underline; text-underline-offset: 3px; }
.lx-article-content strong { color: var(--lx-ink); }
.lx-article-content blockquote {
    margin: 26px 0;
    padding: 18px 24px;
    border-left: 3px solid var(--lx-champagne);
    background: var(--lx-ivory);
    border-radius: 0 var(--lx-radius) var(--lx-radius) 0;
    font-family: var(--lx-serif);
    font-size: 18px;
    color: var(--lx-ink);
}
.lx-article-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(140deg, #fdfbf7, #f8f4f5);
    border: 1px solid var(--lx-line);
    border-radius: var(--lx-radius-lg);
    padding: 28px 30px;
    margin: 42px 0 0;
}
.lx-article-cta h2 { font-family: var(--lx-serif); font-weight: 600; font-size: 24px; color: var(--lx-ink); margin: 6px 0 0; }
.lx-article-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.lx-article-related { margin-top: 44px; }
.lx-article-related > h2 { font-family: var(--lx-serif); font-weight: 600; font-size: 26px; color: var(--lx-ink); margin: 0 0 18px; }
.lx-article-back { margin-top: 32px; font-size: 14.5px; }
.lx-article-back a { color: var(--lx-champagne-d); text-decoration: none; }
.lx-article-back a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .lx-journal-grid { grid-template-columns: 1fr; }
    .lx-article-cta { text-align: center; justify-content: center; }
    .lx-breadcrumb > span { max-width: 24ch; }
}

/* Footer link icons — every link gets a glyph, matched by destination */
.site-footer .footer-column a { display: flex; align-items: center; gap: 10px; }
.site-footer .footer-column a::before {
    content: "\f054"; /* chevron-right fallback */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    width: 14px;
    text-align: center;
    color: var(--lx-champagne);
    flex: 0 0 auto;
}
.site-footer .footer-column a[href*="new"]::before         { content: "\f005"; }
.site-footer .footer-column a[href*="best"]::before        { content: "\f091"; }
.site-footer .footer-column a[href*="unstitched"]::before  { content: "\f0c4"; }
.site-footer .footer-column a[href*="stitched"]:not([href*="unstitched"])::before { content: "\f553"; }
.site-footer .footer-column a[href*="collection"]::before  { content: "\f5fd"; }
.site-footer .footer-column a[href*="sale"]::before        { content: "\f02b"; }
.site-footer .footer-column a[href*="contact"]::before     { content: "\f0e0"; }
.site-footer .footer-column a[href*="about"]::before       { content: "\f02d"; }
.site-footer .footer-column a[href*="track"]::before       { content: "\f48b"; }
.site-footer .footer-column a[href*="privacy"]::before     { content: "\f3ed"; }
.site-footer .footer-column a[href*="wa.me"]::before,
.site-footer .footer-column a[href*="whatsapp"]::before {
    content: "\f232";
    font-family: "Font Awesome 6 Brands";
    font-weight: 400;
    font-size: 13px;
}

/* ============================================================
   FOOTER — minimal: white ground, quiet type, hairline rules
   ============================================================ */

.site-footer {
    background: #fff !important;
    border-top: 1px solid var(--lx-line);
    padding-top: 72px !important;
}
.site-footer .footer-grid { gap: 48px; padding-bottom: 56px; }
.site-footer .footer-logo { font-size: 22px; letter-spacing: .02em; }
.site-footer .footer-brand > p { font-size: 13.5px; line-height: 1.8; max-width: 260px; margin-top: 14px; }
.site-footer h3 {
    font-family: inherit;
    font-size: 11px !important;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--lx-text-3) !important;
    margin-bottom: 22px !important;
}
.site-footer .footer-column a {
    font-size: 14px;
    padding: 6px 0;
    color: var(--lx-ink);
}
.site-footer .footer-column a:hover { padding-left: 0; color: var(--lx-champagne-d); }
.site-footer .footer-column a::before { color: var(--lx-text-3); font-size: 10px; transition: color .22s; }
.site-footer .footer-column a:hover::before { color: var(--lx-champagne-d); }

.social-links { margin-top: 24px; gap: 8px; }
.social-links a {
    width: 36px !important;
    height: 36px !important;
    font-size: 14px;
    background: transparent !important;
}
.social-links a:hover { transform: none; }

.footer-bottom { border-top-color: var(--lx-line) !important; padding: 22px 0 !important; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { font-size: 12px; letter-spacing: .02em; margin: 0; }
@media (max-width: 640px) {
    .site-footer { padding-top: 52px !important; }
    .footer-bottom .container { justify-content: center; text-align: center; }
}

/* ============================================================
   MOBILE NAV — full-width drawer, collapsible dropdowns
   ============================================================ */
@media (max-width: 991px) {
    .site-nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        background: #fff;
        padding: 6px 0 14px;
        border-top: 1px solid var(--lx-line);
        box-shadow: 0 18px 40px rgba(91, 21, 37, .08);
    }
    .site-nav > a,
    .site-nav .nav-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 15px 20px !important;
        font-size: 13px;
        letter-spacing: .14em;
        text-transform: uppercase;
        color: var(--lx-ink);
        background: none;
        border: 0;
        border-bottom: 1px solid var(--lx-line);
        text-align: left;
    }
    .site-nav .nav-dropdown { width: 100%; }
    .site-nav .nav-dropdown-toggle::after { display: none; }
    .site-nav .nav-dropdown-toggle i {
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: var(--lx-blush);
        color: var(--lx-champagne-d);
        font-size: 11px;
        transition: transform .3s ease, background .3s ease;
    }
    .site-nav .nav-dropdown.open .nav-dropdown-toggle i {
        transform: rotate(180deg);
        background: var(--lx-champagne-d);
        color: #fff;
    }

    /* Collapsed by default; only the tapped dropdown opens */
    .site-nav .nav-dropdown .nav-dropdown-menu,
    .site-nav .nav-dropdown.mega .nav-dropdown-menu {
        display: none !important;
        position: static !important;
        transform: none !important;
        min-width: 0 !important;
        max-width: none !important;
        width: 100%;
        margin: 0 !important;
        padding: 4px 0 10px !important;
        border: 0 !important;
        border-bottom: 1px solid var(--lx-line) !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: #fcfafa !important;
        backdrop-filter: none;
        opacity: 1 !important;
        visibility: visible !important;
    }
    .site-nav .nav-dropdown.open .nav-dropdown-menu { display: block !important; }

    .site-nav .mega-column { margin: 0; padding: 6px 0; }
    .site-nav .mega-group-label {
        padding: 12px 32px 6px !important;
        margin: 0 !important;
        border: 0 !important;
        font-size: 10.5px;
        letter-spacing: .18em;
    }
    .site-nav .nav-dropdown-menu a,
    .site-nav .mega-column a {
        display: block;
        padding: 10px 32px !important;
        font-size: 14px;
        letter-spacing: 0 !important;
        text-transform: none;
        border: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* ============================================================
   PRODUCT CARD — premium layout (overrides earlier card rules)
   Image on top, quiet details below, Add to Cart in normal flow
   so it never covers the name or price.
   ============================================================ */

.product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(94, 11, 39, .06);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(33, 29, 26, .04);
    transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, border-color .45s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 149, 30, .35);
    box-shadow: 0 22px 44px -18px rgba(60, 20, 30, .28);
}
.product-card .product-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; }

/* image: full-bleed, gentle zoom + second photo on hover */
.product-card .product-thumb {
    aspect-ratio: 3 / 4;
    border-radius: 0;
    background: #f6f1ee;
    animation: none;
}
.product-card .product-thumb > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: none;
    transition: transform 1.1s cubic-bezier(.2, .7, .2, 1), opacity .6s ease;
}
.product-card:hover .product-thumb > img { transform: scale(1.06); }
.product-card .product-thumb::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 38%;
    background: linear-gradient(to top, rgba(20, 10, 14, .18), transparent);
    opacity: 0;
    transition: opacity .45s ease;
    pointer-events: none;
    z-index: 2;
}
.product-card:hover .product-thumb::after { opacity: 1; }
.product-card:hover .product-thumb { box-shadow: none; }

/* badges (Sale / New) */
.product-card .product-badges { position: absolute; top: 12px; left: 12px; z-index: 5; display: flex; flex-direction: column; gap: 6px; }
.product-card .product-badge { position: static; padding: 5px 10px; font-size: 9.5px; letter-spacing: .14em; border-radius: 99px; }

/* icon buttons: quick view + wishlist, frosted glass */
.product-card .product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}
.product-card .quick-view-btn,
.product-card .wishlist-toggle {
    position: static;
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 50%;
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #2a1f22;
    font-size: 14px;
    box-shadow: 0 4px 14px rgba(33, 29, 26, .12);
    cursor: pointer;
    transition: transform .25s ease, color .25s ease, background .25s ease;
}
.product-card .quick-view-btn:hover,
.product-card .wishlist-toggle:hover { transform: scale(1.1); background: #fff; color: var(--primary, #5e0b27); }
.product-card .wishlist-toggle.active { color: #b4232f; background: #fff; }

/* desktop: quick view slides in on hover, wishlist always visible */
@media (hover: hover) and (min-width: 781px) {
    .product-card .quick-view-btn { opacity: 0; transform: translateX(8px); }
    .product-card:hover .quick-view-btn { opacity: 1; transform: none; }
    .product-card .quick-view-btn:hover { transform: scale(1.1); }
}

/* category pill on the image duplicates .p-cat — keep only the out-of-stock pill */
.product-card .product-tag:not(.out-of-stock) { display: none; }

/* details */
.product-card .product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 16px 12px;
}
.product-card .product-info .p-cat {
    order: 0;
    margin: 0;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #a8897a;
}
.product-card .product-info .p-name {
    margin: 0;
    min-height: 2.7em;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #1f1a1c;
    transition: color .25s ease;
}
.product-card:hover .product-info .p-name { color: var(--primary, #5e0b27); }
.product-card .p-rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #8a7a70; }
.product-card .p-stars { display: inline-flex; gap: 1px; color: #c8951e; font-size: 11.5px; }
.product-card .p-rating.is-empty .p-stars { color: #d9cdc7; }
.product-card .p-rating.is-empty .p-rating-count { color: #b3a49c; }
.product-card .product-info .p-price {
    margin-top: auto;
    padding-top: 4px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--primary, #5e0b27);
}
.product-card .product-info .p-price .old-price { font-size: 13px; font-weight: 500; color: #a99a92; }

/* Add to Cart: outlined, fills with brand colour on hover */
.product-card .mini-cart-btn {
    position: static;
    opacity: 1;
    transform: none;
    width: auto;
    min-height: 44px;
    margin: 0 16px 16px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1.5px solid #1f1a1c;
    border-radius: 999px;
    background: transparent;
    color: #1f1a1c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.product-card .mini-cart-btn i { font-size: 13px; }
.product-card .mini-cart-btn:hover:not(:disabled),
.product-card:hover .mini-cart-btn:not(:disabled) {
    background: var(--primary, #5e0b27);
    border-color: var(--primary, #5e0b27);
    color: #fff;
}
.product-card .mini-cart-btn:disabled { border-color: #d6ccc7; color: #a99a92; background: #f7f3f1; cursor: not-allowed; }

@media (max-width: 780px) {
    .product-card { border-radius: 14px; }
    .product-card:hover { transform: none; box-shadow: 0 1px 2px rgba(33, 29, 26, .04); }
    .product-card:hover .product-thumb > img { transform: none; }
    .product-card .product-actions { top: 8px; right: 8px; gap: 6px; }
    .product-card .quick-view-btn,
    .product-card .wishlist-toggle { width: 32px; height: 32px; font-size: 12.5px; }
    .product-card .product-badges { top: 8px; left: 8px; }
    .product-card .product-info { padding: 11px 11px 8px; gap: 4px; }
    .product-card .product-info .p-cat { font-size: 8.5px; letter-spacing: .12em; }
    .product-card .product-info .p-name { font-size: 13.5px; line-height: 1.3; }
    .product-card .p-rating { font-size: 10.5px; gap: 4px; }
    .product-card .p-stars { font-size: 10px; }
    .product-card .product-info .p-price { font-size: 14.5px; }
    .product-card .mini-cart-btn { min-height: 38px; margin: 0 11px 11px; gap: 6px; font-size: 9.5px; letter-spacing: .1em; }
    .product-card .mini-cart-btn i { font-size: 11px; }
    /* no hover on touch — keep the button calm, fill it on tap */
    .product-card:hover .mini-cart-btn:not(:disabled) { background: transparent; color: #1f1a1c; border-color: #1f1a1c; }
    .product-card .mini-cart-btn:active:not(:disabled) { background: var(--primary, #5e0b27); border-color: var(--primary, #5e0b27); color: #fff; }
}

@media (max-width: 360px) {
    .product-card .mini-cart-btn span { display: none; }
}

/* ============================================================
   PRODUCT REVIEWS — summary, star picker, review cards
   ============================================================ */

.product-rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.product-rating .stars { color: #c8951e; display: inline-flex; gap: 2px; font-size: 14px; }
.product-rating .rating-link { font-size: 13px; color: var(--text-muted, #8a7a70); text-decoration: underline; text-underline-offset: 3px; }
.product-rating .rating-link:hover { color: var(--primary, #5e0b27); }

#tab-reviews .stars { color: #c8951e; display: inline-flex; gap: 2px; }

.rv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.rv-head h3 { margin: 0 0 4px; }
.rv-head p { margin: 0; color: var(--text-muted, #8a7a70); font-size: 13.5px; }
.rv-write-btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }

.rv-summary {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 36px;
    align-items: center;
    padding: 26px 30px;
    margin-bottom: 26px;
    background: #fdfaf7;
    border: 1px solid #f1ebe8;
    border-radius: 16px;
}
.rv-score { text-align: center; border-right: 1px solid #f1ebe8; padding-right: 30px; }
.rv-score strong { display: block; font-family: "Playfair Display", Georgia, serif; font-size: 54px; line-height: 1; color: #2a1f22; }
.rv-score .stars { margin: 10px 0 6px; font-size: 17px; }
.rv-score span { display: block; font-size: 13px; color: var(--text-muted, #8a7a70); }
.rv-bars { display: flex; flex-direction: column; gap: 9px; }
.rv-bar { display: grid; grid-template-columns: 44px 1fr 32px; align-items: center; gap: 12px; font-size: 13px; color: #6b5f57; }
.rv-bar > span i { color: #c8951e; font-size: 11px; }
.rv-bar em { font-style: normal; text-align: right; color: var(--text-muted, #8a7a70); }
.rv-bar-track { height: 8px; background: #efe8e5; border-radius: 99px; overflow: hidden; }
.rv-bar-track span { display: block; height: 100%; background: linear-gradient(90deg, #c8951e, #e0b14a); border-radius: 99px; }

/* form: collapsed until "Write a Review" */
.rv-form {
    display: none;
    margin-bottom: 28px;
    padding: 26px 28px;
    background: #fff;
    border: 1px solid #ece4e1;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(33, 29, 26, .06);
    scroll-margin-top: 110px;
}
.rv-form.is-open { display: block; animation: rvIn .3s ease; }
@keyframes rvIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rv-form h4 { font-family: "Playfair Display", Georgia, serif; font-size: 20px; margin: 0 0 4px; }
.rv-form-note { margin: 0 0 18px; font-size: 13px; color: var(--text-muted, #8a7a70); }
.rv-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rv-form .form-group { margin-bottom: 16px; }
.rv-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #3b2b26; }
.rv-form input[type=text],
.rv-form input[type=email],
.rv-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5dcd8;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-size: 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.rv-form input:focus,
.rv-form textarea:focus { outline: none; border-color: var(--primary, #5e0b27); box-shadow: 0 0 0 3px rgba(94, 11, 39, .1); }
.rv-form-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* clickable star picker (radios in reverse order so ~ selects lower stars) */
.rv-stars-input { border: 0; padding: 0; margin: 0 0 18px; }
.rv-stars-input legend { padding: 0; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: #3b2b26; }
.rv-stars-pick { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rv-stars-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-stars-pick label { margin: 0; font-size: 28px; color: #e2d9d5; cursor: pointer; transition: color .15s ease, transform .15s ease; }
.rv-stars-pick label:hover,
.rv-stars-pick label:hover ~ label,
.rv-stars-pick input:checked ~ label { color: #c8951e; }
.rv-stars-pick label:hover { transform: scale(1.12); }
.rv-stars-pick input:focus-visible + label { outline: 2px solid var(--primary, #5e0b27); outline-offset: 2px; border-radius: 4px; }

/* review cards */
.rv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rv-card { padding: 20px 22px; background: #fff; border: 1px solid #f1ebe8; border-radius: 14px; }
.rv-card.is-featured { border-color: #e9d6a8; background: linear-gradient(180deg, #fffaf0, #fff); }
.rv-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.rv-avatar { flex: 0 0 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--primary, #5e0b27); color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 17px; }
.rv-who { flex: 1; min-width: 0; }
.rv-who strong { display: block; font-size: 14px; color: #2a1f22; }
.rv-verified { display: inline-flex; align-items: center; gap: 4px; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: #2f7a4a; }
.rv-card time { font-size: 12px; color: var(--text-muted, #8a7a70); white-space: nowrap; }
.rv-card .stars { font-size: 13px; margin-bottom: 6px; }
.rv-card h4 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: #2a1f22; }
.rv-card p { margin: 0; font-size: 14px; line-height: 1.65; color: #5f534c; word-wrap: break-word; }

.rv-empty { text-align: center; padding: 36px 16px; color: var(--text-muted, #8a7a70); border: 1px dashed #e5dcd8; border-radius: 14px; }
.rv-empty i { font-size: 30px; color: #d5c6c0; margin-bottom: 10px; }
.rv-empty p { margin: 0; font-size: 14px; }

@media (max-width: 780px) {
    .rv-head { flex-direction: column; align-items: stretch; }
    .rv-write-btn { justify-content: center; width: 100%; }
    .rv-summary { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
    .rv-score { border-right: 0; padding-right: 0; border-bottom: 1px solid #f1ebe8; padding-bottom: 16px; }
    .rv-score strong { font-size: 44px; }
    .rv-form { padding: 20px 16px; }
    .rv-form .form-row { grid-template-columns: 1fr; gap: 0; }
    .rv-form-actions .btn { flex: 1; }
    .rv-list { grid-template-columns: 1fr; }
    .rv-card { padding: 16px; }
}

.product-rating .rating-none { font-size: 13px; color: var(--text-muted, #8a7a70); }
.product-rating .rating-write {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px; margin-left: 4px;
    border: 1px solid rgba(94, 11, 39, .25); border-radius: 999px;
    font-size: 12px; font-weight: 600; letter-spacing: .04em;
    color: var(--primary, #5e0b27); background: #fff;
    transition: background .25s ease, color .25s ease;
}
.product-rating .rating-write:hover { background: var(--primary, #5e0b27); color: #fff; }
