/* =========================================================================
   THE WOODEN SHOPPEE — style.css
   Premium furniture e-commerce homepage
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ---------- Design Tokens ---------- */
:root {
    --wood-deep: #151312;        /* Premium Velvet Black */
    --wood: #D4AF37;             /* Metallic Royal Gold */
    --wood-light: #C5A028;       /* Metallic Royal Gold */
    --gold: #D4AF37;             /* Metallic Royal Gold */
    --gold-soft: #DFC998;        /* Elegant Soft Gold */
    --ink: #0D0C0B;              /* Rich Obsidian Black */
    --ink-soft: #3D3531;         /* Deep Charcoal Wood */
    --muted: #8E837D;            /* Warm Muted Taupe */
    --cream: #FAF7F2;            /* Luxurious Ivory Cream (Main Background) */
    --cream-alt: #F4ECE1;        /* Warm Royal Champagne (Section Background) */
    --sand: #E3D8C3;             /* Champagne Gold Sand */
    --line: #E6DCC9;             /* Fine Golden-tinted Line Border */
    --white: #FFFFFF;            /* Card Background (Pure White) */

    --font-display: 'Fraunces', serif;
    --font-body: 'Manrope', sans-serif;

    --container: 1280px;
    --radius-sm: 6px;
    --radius-md: 14px;
    --radius-lg: 28px;

    --ease: cubic-bezier(.22, .61, .36, 1);
    --shadow-soft: 0 20px 50px -20px rgba(13, 12, 11, 0.18);
    --shadow-card: 0 10px 30px -12px rgba(13, 12, 11, 0.16);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------- Typography helpers ---------- */
.eyebrow {
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--wood-light);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.eyebrow::before {
    content: '';
    width: 26px;
    height: 1px;
    background: var(--wood-light);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    color: var(--ink);
    letter-spacing: -.01em;
}

.section-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--wood);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.section-sub {
    font-size: 15.5px;
    color: var(--muted);
    max-width: 440px;
    margin-top: 14px;
    line-height: 1.6;
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger>* {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal-stagger.in-view>* {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.in-view>*:nth-child(1) {
    transition-delay: .05s;
}

.reveal-stagger.in-view>*:nth-child(2) {
    transition-delay: .14s;
}

.reveal-stagger.in-view>*:nth-child(3) {
    transition-delay: .23s;
}

.reveal-stagger.in-view>*:nth-child(4) {
    transition-delay: .32s;
}

.reveal-stagger.in-view>*:nth-child(5) {
    transition-delay: .41s;
}

.reveal-stagger.in-view>*:nth-child(6) {
    transition-delay: .5s;
}

/* ---------- Buttons ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 30px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
    overflow: hidden;
    isolation: isolate;
    transition: color .45s var(--ease), border-color .45s var(--ease), transform .3s var(--ease);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:hover::before {
    transform: scaleX(1);
}

.btn-primary {
    background: var(--ink);
    color: var(--cream);
}

.btn-primary::before {
    background: var(--wood);
}

.btn-light {
    background: var(--cream);
    color: var(--ink);
    border: 1px solid var(--line);
}

.btn-light::before {
    background: var(--ink);
}

.btn-light:hover {
    color: var(--cream);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .55);
}

.btn-outline::before {
    background: var(--white);
}

.btn-outline:hover {
    color: var(--ink);
}

.btn-outline-dark {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}

.btn-outline-dark::before {
    background: var(--ink);
}

.btn-outline-dark:hover {
    color: var(--cream);
}

.btn-arrow {
    transition: transform .4s var(--ease);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ---------- Wood-ring badge (signature element) ---------- */
.wood-ring {
    --size: 118px;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        repeating-radial-gradient(circle at 50% 50%,
            var(--sand) 0px, var(--cream-alt) 3px, var(--sand) 6px, var(--gold-soft) 9px);
    box-shadow: var(--shadow-soft);
    animation: spin-slow 26s linear infinite;
}

.wood-ring::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: var(--ink);
}

.wood-ring .wood-ring-text {
    position: relative;
    z-index: 2;
    color: var(--cream);
    text-align: center;
    font-family: var(--font-display);
    animation: spin-slow-rev 26s linear infinite;
}

.wood-ring .wood-ring-text b {
    display: block;
    font-size: 26px;
    font-weight: 600;
    line-height: 1;
}

.wood-ring .wood-ring-text span {
    display: block;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-top: 4px;
    color: var(--gold-soft);
}

@keyframes spin-slow {
    to {
        transform: rotate(360deg);
    }
}

@keyframes spin-slow-rev {
    to {
        transform: rotate(-360deg);
    }
}

/* ---------- Jaali lattice texture (signature motif) ---------- */
.jaali-bg {
    position: relative;
}

.jaali-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, transparent 46%, rgba(107, 74, 52, .14) 46%, rgba(107, 74, 52, .14) 48%, transparent 48%),
        linear-gradient(-45deg, transparent 46%, rgba(107, 74, 52, .14) 46%, rgba(107, 74, 52, .14) 48%, transparent 48%);
    background-size: 42px 42px;
    pointer-events: none;
    opacity: .5;
}

/* =========================================================================
   HEADER
   ========================================================================= */
.topbar {
    background: var(--ink);
    color: var(--cream-alt);
    text-align: center;
    font-size: 12.5px;
    letter-spacing: .08em;
    padding: 9px 12px;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
}

.topbar span {
    opacity: .9;
}

.topbar strong {
    color: var(--gold-soft);
    font-weight: 700;
}

header.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(250, 247, 242, .92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: padding .35s var(--ease), box-shadow .35s var(--ease);
}

header.site-header.scrolled {
    box-shadow: 0 8px 30px -18px rgba(32, 31, 29, .35);
}

.nav-wrap-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    max-width: var(--container);
    margin: 0 auto;
    transition: padding .35s var(--ease);
}

header.site-header.scrolled .nav-wrap-top {
    padding: 10px 32px;
}

/* ---------- Header Offers Marquee ---------- */
.header-offers-marquee {
    flex: 1;
    margin: 0 30px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    background: #1b1918;
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 500;
    max-width: 750px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.header-offers-marquee .marquee-content {
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    animation: header-marquee-scroll 18s linear infinite;
}

.header-offers-marquee:hover .marquee-content {
    animation-play-state: paused;
}

.header-offers-marquee a.offer-link-item {
    color: #fff;
    text-decoration: none;
}

.header-offers-marquee a.offer-link-item:hover {
    color: var(--gold);
}

.header-offers-marquee .offer-separator {
    color: var(--gold);
    font-weight: bold;
    margin: 0 5px;
}

@keyframes header-marquee-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.nav-wrap-bottom {
    border-top: 1px solid var(--line);
    padding: 2px 32px;
    background: rgba(250, 247, 242, 0.95);
    transition: padding .35s var(--ease);
}

header.site-header.scrolled .nav-wrap-bottom {
    padding: 0px 32px;
}

.categories-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    max-width: var(--container);
    margin: 0 auto;
}

.categories-nav .nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.categories-nav .nav-item>a {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: .02em;
    position: relative;
    padding: 10px 0;
    white-space: nowrap;
    text-transform: uppercase;
}

.categories-nav .nav-item>a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width .35s var(--ease);
}

.categories-nav .nav-item>a:hover {
    color: var(--gold);
}

.categories-nav .nav-item>a:hover::after {
    width: 100%;
}

.categories-nav .chevron-icon {
    transition: transform 0.3s var(--ease);
}

.categories-nav .nav-item:hover .chevron-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu styling */
.categories-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 200px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--line);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    z-index: 1000;
}

.categories-nav .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.categories-nav .dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    text-transform: none;
    letter-spacing: 0;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
}

.categories-nav .dropdown-menu a:hover {
    background: var(--cream);
    color: var(--wood);
    padding-left: 24px;
}

.categories-nav .dropdown-menu a::after {
    display: none;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand img {
    height: 46px;
    width: 46px;
    object-fit: contain;
    transition: height .35s var(--ease);
}

header.site-header.scrolled .brand img {
    height: 38px;
}

.brand-text {
    font-family: var(--font-display);
    line-height: 1.05;
}

.brand-text b {
    display: block;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: .01em;
    white-space: nowrap;
}

.brand-text span {
    display: block;
    font-size: 10px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--wood-light);
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.main-nav a {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
    letter-spacing: .02em;
    position: relative;
    padding: 6px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width .35s var(--ease);
}

.main-nav a:hover {
    color: var(--gold);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav .has-drop {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav .has-drop svg {
    width: 11px;
    height: 11px;
    transition: transform .3s var(--ease);
}

.main-nav .has-drop:hover svg {
    transform: rotate(180deg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-icon-btn {
    position: relative;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: transform .3s var(--ease), color .3s var(--ease);
}

.nav-icon-btn:hover {
    transform: translateY(-2px);
    color: var(--wood);
}

.nav-icon-btn svg {
    width: 20px;
    height: 20px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -9px;
    background: var(--gold);
    color: var(--ink);
    font-size: 10px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-count {
    position: absolute;
    top: -8px;
    right: -9px;
    background: var(--gold);
    color: var(--ink);
    font-size: 10px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: none;
    width: 26px;
    height: 18px;
    position: relative;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--ink);
    transition: all .35s var(--ease);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================================
   HERO — full-width banner, half-screen height (slider)
   ========================================================================= */
.hero-banner {
    position: relative;
    width: 100%;
    height: 58vh;
    min-height: 440px;
    max-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-banner .promo-slide img {
    transform: scale(1);
}

.hero-banner .promo-slide.active img {
    animation: kenburns 9s ease-in-out forwards;
}

@keyframes kenburns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.08);
    }
}

.hero-banner .promo-content {
    padding: 0 0 0 6%;
    max-width: 600px;
}

.hero-banner .promo-discount {
    top: 32px;
    right: 6%;
}

.hero-banner .promo-nav {
    bottom: 32px;
    right: 6%;
}

.hero-banner .promo-dots {
    bottom: 36px;
    left: 6%;
}

/* ---------- Stats strip (sits under hero banner) ---------- */
.stats-strip {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
}

.stats-strip-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 38px 0;
}

.stats-strip .hero-stat {
    padding: 0 52px;
    text-align: center;
    border-right: 1px solid var(--line);
}

.stats-strip .hero-stat:last-child {
    border-right: none;
}

.hero-stat b {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--ink);
    display: block;
}

.hero-stat span {
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: .04em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .stats-strip-inner {
        padding: 22px 4px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
    }
    
    .stats-strip .hero-stat {
        padding: 0 4px;
        border-right: 1px solid var(--line);
    }
    
    .stats-strip .hero-stat:last-child {
        border-right: none;
    }
    
    .hero-stat b {
        font-size: 20px;
    }
    
    .hero-stat span {
        font-size: 9px;
        letter-spacing: 0.01em;
    }
}

/* =========================================================================
   MARQUEE TRUST BAR
   ========================================================================= */
.trust-bar {
    background: var(--ink);
    color: var(--cream-alt);
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 26s linear infinite;
    gap: 0;
}

.trust-bar:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 46px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .03em;
    white-space: nowrap;
}

.marquee-item svg {
    width: 20px;
    height: 20px;
    color: var(--gold-soft);
    flex-shrink: 0;
}

.marquee-item::after {
    content: '◆';
    margin-left: 46px;
    color: var(--wood-light);
    font-size: 8px;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =========================================================================
   CATEGORY SECTION
   ========================================================================= */
.section {
    padding: 110px 0;
}

.section-tight {
    padding: 90px 0;
}

.section-alt {
    background: var(--cream-alt);
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.cat-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1/1;
    isolation: isolate;
    box-shadow: 0 1px 2px rgba(32, 31, 29, .05);
    transition: box-shadow .45s var(--ease), transform .45s var(--ease);
}

.cat-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-7px);
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease);
}

.cat-card:hover img {
    transform: scale(1.1);
}

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(32, 31, 29, .05) 0%, rgba(32, 31, 29, .15) 45%, rgba(32, 31, 29, .88) 100%);
    z-index: 1;
    transition: background .45s var(--ease);
}

.cat-card::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: calc(var(--radius-md) - 6px);
    z-index: 2;
    pointer-events: none;
    transition: border-color .45s var(--ease);
}

.cat-card:hover::after {
    border-color: rgba(255, 255, 255, .35);
}

.cat-ribbon {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    background: var(--cream);
    color: var(--ink);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 6px 12px 6px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cat-ribbon::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.cat-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.cat-info h3 {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -.01em;
}

.cat-explore {
    display: block;
    font-family: var(--font-body);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--gold-soft);
    margin-top: 7px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.cat-card:hover .cat-explore {
    opacity: 1;
    transform: translateY(0);
}

.cat-info .cat-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease);
    flex-shrink: 0;
}

.cat-card:hover .cat-arrow {
    background: var(--gold);
    transform: rotate(45deg);
    border-color: var(--gold);
}

.cat-card:hover .cat-arrow svg {
    color: var(--ink);
}

/* =========================================================================
   PRODUCT / FEATURED SECTION
   ========================================================================= */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-tab {
    padding: 11px 22px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--ink-soft);
    background: var(--cream);
    transition: all .35s var(--ease);
}

.filter-tab:hover {
    border-color: var(--wood-light);
    color: var(--ink);
}

.filter-tab.active {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

.product-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(272px, 1fr);
    gap: 24px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.product-rail::-webkit-scrollbar {
    display: none;
}

.product-rail>.product-card {
    scroll-snap-align: start;
}

/* ---------- Static 4-column product grid (Featured / Sofa collection) ---------- */
.product-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.section-footer-cta {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

@media (max-width:1100px) {
    .product-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width:768px) {
    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .product-info {
        padding: 12px;
    }
    .product-info h4 {
        font-size: 14.5px;
        margin-top: 4px;
    }
    .price-row {
        margin-top: 8px;
        gap: 6px;
    }
    .price-row .now {
        font-size: 15.5px;
    }
    .price-row .old {
        font-size: 11px;
    }
    .rating {
        margin-top: 6px;
        gap: 4px;
    }
    .rating .stars {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
    .rating span {
        font-size: 10px;
    }
    .product-card .wishlist-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width:480px) {
    .product-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .container {
        padding: 0 12px;
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
    transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-6px);
    border-color: transparent;
}

.product-media {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--cream-alt);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.product-card:hover .product-media img {
    transform: scale(1.08);
}

.product-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: var(--ink);
    color: var(--cream);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    padding: 5px 11px;
    border-radius: 999px;
}

.product-tag.new {
    background: var(--gold);
    color: var(--ink);
}

.wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(251, 247, 241, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    opacity: 0;
    transform: translateY(-6px);
    transition: all .35s var(--ease);
}

.product-card:hover .wishlist-btn {
    opacity: 1;
    transform: translateY(0);
}

.wishlist-btn svg {
    width: 16px;
    height: 16px;
    transition: fill 0.3s;
}

.wishlist-btn.active {
    background: var(--gold);
    color: var(--white);
    opacity: 1;
    transform: translateY(0);
}

.wishlist-btn.active svg {
    fill: currentColor;
}

.quick-add {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -50px;
    z-index: 2;
    background: var(--ink);
    color: var(--cream);
    text-align: center;
    padding: 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: bottom .4s var(--ease), background .3s var(--ease);
}

.product-card:hover .quick-add {
    bottom: 12px;
}

.quick-add:hover {
    background: var(--wood);
}

.product-info {
    padding: 18px 18px 20px;
}

.product-info .p-cat {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--wood-light);
    font-weight: 700;
}

.product-info h4 {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 500;
    margin-top: 6px;
    line-height: 1.35;
}

.rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
}

.rating .stars {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 1.5px;
}

.rating span {
    font-size: 12px;
    color: var(--muted);
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin-top: 12px;
}

.price-row .now {
    font-family: var(--font-display);
    font-size: 18.5px;
    font-weight: 600;
    color: var(--ink);
}

.price-row .old {
    font-size: 13px;
    color: var(--muted);
    text-decoration: line-through;
}

.rail-nav {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 28px;
}

.rail-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: all .35s var(--ease);
}

.rail-btn:hover {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

.rail-btn svg {
    width: 18px;
    height: 18px;
}

/* =========================================================================
   CATEGORY SHOWCASE BAND (faded artwork header + overlapping product grid)
   ========================================================================= */
.category-showcase {
    background: var(--cream-alt);
    padding-bottom: 100px;
}

.category-band {
    position: relative;
    padding: 76px 0 190px;
    text-align: center;
    overflow: hidden;
}

.category-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(250, 247, 242, 0) 40%, var(--cream-alt) 95%);
    z-index: 2;
    pointer-events: none;
}

.category-band-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .18;
    mix-blend-mode: normal;
    pointer-events: none;
    z-index: 1;
}

.category-band-content {
    position: relative;
    z-index: 2;
}

.category-band .eyebrow {
    justify-content: center;
}

.category-band .eyebrow::before {
    display: none;
}

.category-band h2 {
    margin-top: 14px;
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: clamp(30px, 4vw, 46px);
}

.category-showcase .product-grid-4 {
    position: relative;
    z-index: 3;
    margin-top: -150px;
}

.category-showcase .container {
    position: relative;
}

/* =========================================================================
   VIDEO REELS SECTION
   ========================================================================= */
.reels-section {
    padding: 90px 0 100px;
    background-color: #F8F4EC;
    /* Soft warm cozy beige background */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg stroke='%23e4d7c6' stroke-width='0.75' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'%3E%3C!-- Chair --%3E%3Cpath d='M25 30h14v14H25V30zm0 14v14m14-14v14M25 30V16h14v14M27 16h10'/%3E%3C!-- Lamp --%3E%3Cpath d='M95 20h14l-3-8h-8l-3 8zm7 0v20m-4 0h8M102 12V8'/%3E%3C!-- Sofa --%3E%3Cpath d='M20 90h28v10H20V90zm0 5h28M20 85v5m28-5v5M23 85h22m-22 0v-7h22v7'/%3E%3C!-- Table --%3E%3Cpath d='M90 92h26v3H90v-3zm3 3v12m20-12v12'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    position: relative;
}

.reel-track-wrap {
    overflow: hidden;
    margin-top: 8px;
    position: relative;
    width: 100%;
}

.reel-nav {
    display: none;
    /* Hide navigation arrows for the smooth infinite marquee flow */
}

.reel-track {
    display: flex;
    gap: 22px;
    width: max-content;
    padding: 10px 0 24px;
    animation: marquee-reels 38s linear infinite;
}

.reel-track-wrap:hover .reel-track {
    animation-play-state: paused;
    /* Pause scrolling when hovering a card */
}

.reel-card {
    position: relative;
    flex: 0 0 220px;
    aspect-ratio: 9/16;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--ink);
    box-shadow: var(--shadow-card);
    isolation: isolate;
}

@keyframes marquee-reels {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.reel-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(20, 18, 16, 0) 0%, rgba(20, 18, 16, .85) 100%);
    z-index: 1;
    pointer-events: none;
}

.reel-caption {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    color: var(--white);
}

.reel-caption strong {
    display: block;
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 500;
}

.reel-caption span {
    font-size: 11.5px;
    color: rgba(255, 255, 255, .75);
}

.reel-mute {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(20, 18, 16, .45);
    backdrop-filter: blur(4px);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s var(--ease), transform .3s var(--ease);
}

.reel-mute:hover {
    background: rgba(20, 18, 16, .7);
    transform: scale(1.06);
}

.reel-mute svg {
    width: 16px;
    height: 16px;
}

.reel-live-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--gold);
    color: var(--ink);
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reel-live-tag::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ink);
    animation: pulse-dot 1.6s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .25;
    }
}

.promo-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
    margin: 0 32px;
    max-width: calc(var(--container) - 64px);
    margin-inline: auto;
}

.promo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s var(--ease);
    display: flex;
    align-items: center;
}

.promo-slide.active {
    opacity: 1;
}

.promo-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.promo-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 12, 11, .78) 0%, rgba(13, 12, 11, .45) 48%, rgba(13, 12, 11, .08) 75%);
    z-index: 2;
}

.promo-content {
    position: relative;
    z-index: 3;
    padding: 60px;
    max-width: 560px;
}

.promo-content .eyebrow {
    color: var(--gold-soft);
}

.promo-content .eyebrow::before {
    background: var(--gold-soft);
}

.promo-content h2 {
    font-family: var(--font-display);
    color: var(--white);
    font-size: clamp(32px, 4.4vw, 52px);
    font-weight: 500;
    line-height: 1.1;
    margin-top: 18px;
}

.promo-content h2 em {
    font-style: italic;
    color: var(--gold-soft);
    font-weight: 400;
}

.promo-content p {
    color: rgba(255, 255, 255, .82);
    margin-top: 18px;
    font-size: 15.5px;
    max-width: 420px;
    line-height: 1.65;
}

.promo-content .btn {
    margin-top: 32px;
}

.promo-discount {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 3;
}

.promo-nav {
    position: absolute;
    z-index: 3;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
}

.promo-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .5);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s var(--ease);
}

.promo-nav button:hover {
    background: var(--white);
    color: var(--ink);
}

.promo-dots {
    position: absolute;
    z-index: 3;
    bottom: 44px;
    left: 60px;
    display: flex;
    gap: 8px;
}

.promo-dots span {
    width: 26px;
    height: 3px;
    background: rgba(255, 255, 255, .35);
    border-radius: 2px;
    transition: background .3s var(--ease);
}

.promo-dots span.active {
    background: var(--gold-soft);
}

/* =========================================================================
   CRAFT PROCESS
   ========================================================================= */
.craft-wrap {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.craft-visual {
    position: relative;
}

.craft-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.craft-img-main img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.craft-ring {
    position: absolute;
    bottom: -30px;
    left: -30px;
}

.process-list {
    display: flex;
    flex-direction: column;
}

.process-item {
    display: flex;
    gap: 26px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
}

.process-item:first-child {
    padding-top: 0;
}

.process-num {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
    border: 1px solid var(--sand);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.process-text h4 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 6px;
}

.process-text p {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 420px;
}

/* =========================================================================
   TESTIMONIALS
   ========================================================================= */
.testi-track-wrap {
    overflow: hidden;
}

.testi-track {
    display: flex;
    gap: 22px;
    width: max-content;
    animation: marquee-testi 40s linear infinite;
}

.testi-track-wrap:hover .testi-track {
    animation-play-state: paused;
}

@keyframes marquee-testi {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.testi-card {
    width: 320px;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 26px;
    border: 1px solid var(--line);
    flex-shrink: 0;
}

.testi-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testi-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
}

.testi-name svg {
    width: 14px;
    height: 14px;
    color: #3B9C6B;
}

.testi-role {
    font-size: 12px;
    color: var(--muted);
}

.testi-stars {
    color: var(--gold);
    font-size: 12.5px;
    letter-spacing: 1.5px;
    margin: 14px 0 10px;
}

.testi-text {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.65;
}

/* =========================================================================
   NEWSLETTER
   ========================================================================= */
.newsletter {
    position: relative;
    background: #111111;
    border-radius: var(--radius-lg);
    padding: 70px 60px;
    overflow: hidden;
    max-width: calc(var(--container) - 64px);
    margin: 0 auto;
    text-align: center;
}

.newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(185, 135, 63, .18), transparent 55%),
        radial-gradient(circle at 85% 80%, rgba(185, 135, 63, .12), transparent 50%);
}

.newsletter-inner {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
}

.newsletter h2 {
    font-family: var(--font-display);
    color: #FAF0D9;
    font-size: clamp(26px, 3.4vw, 38px);
    font-weight: 500;
}

.newsletter h2 em {
    color: var(--gold-soft);
    font-style: italic;
    font-weight: 400;
}

.newsletter p {
    color: rgba(251, 247, 241, .7);
    margin-top: 14px;
    font-size: 15px;
}

.news-form {
    display: flex;
    gap: 10px;
    margin-top: 32px;
    max-width: 420px;
    margin-inline: auto;
}

.news-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .06);
    color: #ffffff;
    font-size: 14px;
}

.news-form input::placeholder {
    color: rgba(251, 247, 241, .5);
}

.news-form input:focus {
    outline: none;
    border-color: var(--gold-soft);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
footer.site-footer {
    background: var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 90px 0 0;
    margin-top: 110px;
    position: relative;
    color: var(--cream);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand {
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-alt);
    transition: all .3s var(--ease);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
}

.footer-social svg {
    width: 16px;
    height: 16px;
}

.footer-col h5 {
    font-family: var(--font-display);
    font-size: 16.5px;
    font-weight: 500;
    margin-bottom: 22px;
    color: var(--gold);
}

.footer-col ul li {
    margin-bottom: 13px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    transition: color .3s var(--ease), padding-left .3s var(--ease);
}

.footer-col ul li a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 14px;
    align-items: flex-start;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 26px 0;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-bottom p {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
}

.dev-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.03);
    padding: 7px 16px;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s var(--ease);
}

.dev-credit:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.06);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.12);
}

.dev-credit a {
    color: var(--gold) !important;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    padding-right: 12px;
    transition: color 0.3s;
}

.dev-credit a:hover {
    color: var(--white) !important;
}

.dev-credit a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 52%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--gold);
    animation: devPulse 1.8s infinite;
}

@keyframes devPulse {
    0% { transform: translateY(-50%) scale(1); opacity: 0.6; }
    50% { transform: translateY(-50%) scale(1.6); opacity: 1; }
    100% { transform: translateY(-50%) scale(1); opacity: 0.6; }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 18px;
    }
}

.pay-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pay-icons span {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .03em;
    color: var(--ink);
    background: var(--white);
}

/* ---------- Floating action buttons ---------- */
.float-actions {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.fab {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px -10px rgba(32, 31, 29, .4);
    transition: transform .3s var(--ease);
}

.fab:hover {
    transform: translateY(-4px) scale(1.05);
}

.fab-whatsapp {
    background: #25D366;
    color: var(--white);
}

.fab-whatsapp svg {
    width: 26px;
    height: 26px;
}

.fab-top {
    width: 44px;
    height: 44px;
    background: var(--ink);
    color: var(--cream);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.fab-top.show {
    opacity: 1;
    pointer-events: auto;
}

.fab-top svg {
    width: 18px;
    height: 18px;
}

/* ---------- Mobile nav drawer ---------- */
.mobile-drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 84vw);
    background: var(--cream);
    z-index: 400;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    padding: 30px 26px;
    overflow-y: auto;
    box-shadow: -20px 0 50px rgba(0, 0, 0, .15);
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-close {
    margin-left: auto;
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
}

.mobile-drawer nav {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
}

.mobile-drawer nav a {
    padding: 16px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-display);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(32, 31, 29, .45);
    z-index: 399;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s var(--ease);
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width:1100px) {
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .craft-wrap {
        grid-template-columns: 1fr;
    }

    .craft-img-main img {
        height: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .category-band {
        padding: 64px 0 130px;
    }

    .category-showcase .product-grid-4 {
        margin-top: -100px;
    }
}

@media (max-width:940px) {

    .nav-wrap-bottom,
    .header-offers-marquee,
    .nav-actions .nav-icon-btn.desktop-only {
        display: none !important;
    }

    .hamburger {
        display: block;
    }

    .hero-banner {
        height: 64vh;
        min-height: 400px;
    }

    .stats-strip .hero-stat {
        padding: 0 26px;
    }
}

@media (max-width:640px) {
    .container {
        padding: 0 15px;
    }

    .nav-wrap-top {
        padding: 14px 15px;
        gap: 8px;
    }
    
    header.site-header.scrolled .nav-wrap-top {
        padding: 10px 15px;
    }

    .brand img {
        height: 32px;
    }
    
    .brand-text b {
        font-size: 13px;
    }
    
    .brand-text span {
        font-size: 7.5px;
    }
    
    .nav-actions {
        gap: 15px;
    }

    .profile-dropdown-menu {
        right: -80px;
        min-width: 200px;
        max-width: calc(100vw - 40px);
    }
    
    .profile-dropdown-links a, .profile-dropdown-links .logout-btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    .section {
        padding: 70px 0;
    }

    .cat-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .hero-banner {
        height: 40vh;
        min-height: 300px;
        padding: 0;
    }

    .hero-banner .promo-content {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        max-width: 290px;
        padding: 0 0 0 24px;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 0;
        z-index: 3;
    }

    .hero-banner .promo-content .eyebrow {
        font-size: 8.5px !important;
        letter-spacing: .12em;
        margin-bottom: 4px;
    }

    .hero-banner .promo-content h2 {
        font-size: 21px !important;
        line-height: 1.2;
        margin-top: 4px !important;
        color: #fff;
    }

    .hero-banner .promo-content p {
        display: block !important;
        font-size: 11px !important;
        line-height: 1.45;
        margin-top: 8px !important;
        color: rgba(255, 255, 255, 0.85);
        max-width: 250px;
    }

    .hero-banner .promo-content .btn {
        margin-top: 14px !important;
        padding: 9px 18px !important;
        font-size: 9.5px !important;
        letter-spacing: .04em;
    }

    .hero-banner .promo-nav,
    .hero-banner .promo-dots {
        display: none;
    }

    .hero-banner .promo-discount {
        top: 20px;
        right: 20px;
    }

    .hero-banner .promo-discount .wood-ring {
        --size: 80px;
    }

    .stats-strip .hero-stat {
        border-right: none;
        padding: 10px 18px;
    }

    .promo-banner {
        margin: 0 20px;
        min-height: 480px;
    }

    .promo-content {
        padding: 34px;
    }

    .promo-discount .wood-ring {
        --size: 88px;
    }

    .newsletter {
        margin: 0 20px;
        padding: 50px 26px;
        max-width: none;
    }

    .news-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .category-band {
        padding: 48px 0 80px;
    }

    .category-band-bg {
        width: 78%;
    }

    .category-showcase .product-grid-4 {
        margin-top: -58px;
    }

    .reel-track {
        padding: 6px 20px 20px;
        grid-auto-columns: min(200px, 72vw);
    }
}

/* =========================================================================
   PREMIUM MOBILE DRAWER & MOBILE MARQUEE
   ========================================================================= */

/* Desktop / Mobile Toggle for marquee */
.desktop-only-marquee {
    display: flex;
}

.mobile-only-marquee {
    display: none;
}

@media (max-width: 940px) {
    .desktop-only-marquee {
        display: none !important;
    }

    .mobile-only-marquee {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background: #1b1918;
        color: #ffffff;
        padding: 8px 16px;
        font-size: 11px;
        font-weight: 500;
        overflow: hidden;
        white-space: nowrap;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        justify-content: center;
        align-items: center;
    }

    .mobile-only-marquee .marquee-content {
        display: flex;
        align-items: center;
        gap: 15px;
        white-space: nowrap;
        animation: header-marquee-scroll 18s linear infinite;
    }

    .mobile-only-marquee a.offer-link-item {
        color: #fff;
        text-decoration: none;
    }

    .mobile-only-marquee .offer-separator {
        color: var(--gold);
        font-weight: bold;
        margin: 0 5px;
    }
}

/* Premium Mobile Drawer Header & Logo */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 15px;
}

.drawer-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--ink);
}

.drawer-brand img {
    height: 38px;
    width: auto;
    margin-right: 10px;
}

.drawer-brand .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.drawer-brand .brand-text b {
    font-size: 14px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
}

.drawer-brand .brand-text span {
    font-size: 8.5px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--clay);
    margin-top: 1px;
}

.mobile-drawer-close {
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--ink);
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.mobile-drawer-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.mobile-drawer-close svg {
    width: 22px;
    height: 22px;
}

/* Premium Mobile Drawer Nav Layout */
.mobile-drawer nav {
    margin-top: 10px !important;
}

.drawer-nav-link,
.drawer-collapse-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 12px 16px 4px !important;
    border-bottom: 1px solid var(--line) !important;
    font-size: 14.5px !important;
    font-weight: 600 !important;
    font-family: var(--font-display) !important;
    color: var(--ink) !important;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
}

.drawer-collapse-btn svg {
    transition: transform 0.3s var(--ease);
}

.drawer-nav-item.active .drawer-collapse-btn svg {
    transform: rotate(180deg);
}

/* Accordion Collapsible Content */
.drawer-collapse-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease), padding 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 4px;
    padding: 0 10px;
}

.drawer-nav-item.active .drawer-collapse-content {
    max-height: 250px;
    /* arbitrary height to fit items */
    padding: 8px 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.drawer-collapse-content a {
    padding: 10px 14px !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: var(--clay) !important;
    border-bottom: none !important;
    text-decoration: none;
    transition: color 0.25s;
}

.drawer-collapse-content a:hover {
    color: var(--ink) !important;
}

/* =========================================================================
   POLICY / DOCUMENT PAGES (PREMIUM STYLING)
   ========================================================================= */
.policy-hero {
    background: var(--cream-alt);
    border-bottom: 1px solid var(--line);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.policy-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, rgba(250, 247, 242, 0) 70%);
    pointer-events: none;
}

.policy-hero .eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
}

.policy-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 46px);
    color: var(--ink);
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
}

.policy-hero .last-updated {
    font-size: 12px;
    color: var(--muted);
    font-style: italic;
}

.policy-container {
    padding: 80px 0 100px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
}

.policy-sidebar {
    position: sticky;
    top: 100px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
}

.policy-sidebar h4 {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--ink);
    margin-bottom: 18px;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}

.policy-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.policy-nav-link {
    font-size: 13.5px;
    color: var(--ink-soft);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.policy-nav-link::before {
    content: '◆';
    font-size: 8px;
    color: transparent;
    transition: color 0.3s;
}

.policy-nav-link:hover,
.policy-nav-link.active {
    color: var(--gold);
    padding-left: 4px;
}

.policy-nav-link:hover::before,
.policy-nav-link.active::before {
    color: var(--gold);
}

.policy-content {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: 0 4px 20px rgba(78, 54, 41, 0.02);
}

.policy-section {
    margin-bottom: 44px;
    scroll-margin-top: 120px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--ink);
    margin-bottom: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-section h2 span {
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    background: var(--cream-alt);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.policy-section p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 18px;
}

.policy-section ul {
    margin-bottom: 18px;
    padding-left: 20px;
}

.policy-section ul li {
    list-style-type: none;
    position: relative;
    padding-left: 18px;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.7;
    margin-bottom: 10px;
}

.policy-section ul li::before {
    content: '•';
    color: var(--gold);
    font-size: 18px;
    position: absolute;
    left: 0;
    top: -2px;
}

.policy-callout {
    background: var(--cream-alt);
    border-left: 4px solid var(--gold);
    padding: 20px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 24px 0;
}

.policy-callout p {
    margin-bottom: 0;
    font-style: italic;
    font-weight: 500;
    font-size: 14.5px;
    color: var(--ink);
}

@media (max-width: 940px) {
    .policy-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 20px;
    }
    
    .policy-sidebar {
        position: static;
    }
    
    .policy-content {
        padding: 30px 20px;
    }
}

/* ---------- Premium Glassmorphic Toast Notification ---------- */
.custom-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 350px;
    width: calc(100% - 48px);
}

.custom-toast {
    background: rgba(21, 19, 18, 0.95); /* Velvet Black */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.4); /* Gold Border */
    color: var(--cream); /* Ivory Cream text */
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.custom-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.custom-toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-toast.success .custom-toast-icon {
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold);
}

.custom-toast.error .custom-toast-icon {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
}

.custom-toast-message {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    font-family: var(--font-body);
}

.custom-toast-close {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 18px;
    margin-left: auto;
    padding: 0 0 0 10px;
    line-height: 1;
    transition: color 0.2s ease;
}

.custom-toast-close:hover {
    color: var(--gold);
}

/* Profile Dropdown Styles */
.profile-dropdown-wrap {
    position: relative;
    display: inline-block;
}
.profile-dropdown-menu {
    position: absolute;
    top: 130%;
    right: -10px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    border: 1px solid var(--line);
}
.profile-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.profile-dropdown-header {
    padding: 15px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    border-radius: 8px 8px 0 0;
}
.profile-dropdown-header strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
    margin-bottom: 3px;
}
.profile-dropdown-header span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}
.profile-dropdown-links {
    padding: 10px 0;
}
.profile-dropdown-links a, .profile-dropdown-links .logout-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 600;
    transition: background 0.2s;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}
.profile-dropdown-links a:hover, .profile-dropdown-links .logout-btn:hover {
    background: var(--cream-alt);
    color: var(--gold);
}
.profile-dropdown-links .material-symbols-outlined {
    font-size: 18px;
    margin-right: 10px;
    color: var(--muted);
}
.profile-dropdown-links a:hover .material-symbols-outlined, 
.profile-dropdown-links .logout-btn:hover .material-symbols-outlined {
    color: var(--gold);
}