:root {
    --warm-white:   #FAFAF8;
    --cream:        #F4F0EA;
    --nude:         #EAE2D8;
    --taupe:        #C4B5A5;
    --text-dark:    #1C1B19;
    --text-muted:   #8C8880;
    --card-bg:      #F2EEE8;
    --border:       #E8E2DA;
    --accent:       #2A2A28;
    --radius-sm:    16px;
    --radius-md:    24px;
    --radius-lg:    32px;
    --radius-xl:    40px;
    --transition:   all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    background: var(--warm-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ─── HEADER ─── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 250, 248, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: 0.12em;
    color: var(--text-dark);
    flex-shrink: 0;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    transition: var(--transition);
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-dark);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-dark);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.icon-btn:hover {
    background: var(--cream);
}

/* ─── HAMBURGER ─── */

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--text-dark);
    transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ─── MOBILE NAV ─── */

.mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--warm-white);
    border-top: 1px solid var(--border);
    padding: 16px 24px 24px;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-nav.open {
    max-height: 400px;
}

.mobile-nav-link {
    font-family: 'Jost', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s ease;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: var(--text-dark);
}

/* ─── MAIN CONTENT ─── */

.main-content {
    padding-top: 68px;
}

/* ─── HERO SLIDER ─── */

.hero-section {
    margin-top: 40px;
    position: relative;
    max-width: 1400px;
    width: 96%;
    height: 350px;
    border-radius: 46px;
    overflow: hidden;
    margin-bottom: 56px;
    margin: 20px auto 56px;
}

.hero-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.hero-track {
    display: flex;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    touch-action: pan-y;
}

.hero-slide {
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

    min-width: 100%;
    position: relative;
    height: 88vh;
    max-height: 700px;
    min-height: 480px;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 8s ease;
}

.hero-slide.active img {
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

.hero-content {
    position: absolute;
    bottom: 250px;
    left: 56px;
    color: #fff;
    max-width: 520px;
}

.hero-eyebrow {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.52rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    opacity: 0.8;
    margin-bottom: 16px;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(1.6rem, 3.5vw, 2.7rem);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 22px;
}

.hero-title em {
    font-style: italic;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 12px 28px;
    border-radius: 100px;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.32);
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-hero-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: rgba(255, 255, 255, 0.85);
    padding: 12px 28px;
    border-radius: 100px;
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-hero-outline .arrow {
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-hero-outline:hover .arrow {
    transform: translateX(4px);
}

/* ─── SLIDE DOTS ─── */

.hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 6px;
    height: 6px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
    border: none;
}

.hero-dot.active {
    width: 24px;
    background: rgba(255, 255, 255, 0.95);
}

/* ─── HERO NAV ARROWS ─── */

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.32);
}

.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* ─── SECTION WRAPPER ─── */

.section-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ─── CATEGORY TABS ─── */

.categories-section {
    margin-bottom: 40px;
}

.categories-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}

.category-tab {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--text-muted);
    padding: 12px 20px 16px;
    position: relative;
    transition: color 0.3s ease;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.category-tab sup {
    font-size: 0.58rem;
    font-weight: 400;
    color: var(--taupe);
    vertical-align: super;
}

.category-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--text-dark);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-tab.active {
    color: var(--text-dark);
}

.category-tab.active::after {
    transform: scaleX(1);
}

.category-tab:hover {
    color: var(--text-dark);
}

/* ─── SECTION HEADING ─── */

.section-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.01em;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.section-heading span {
    font-style: italic;
    color: var(--taupe);
}

/* ─── PRODUCTS GRID ─── */

.products-section {
    margin-bottom: 80px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

/* ─── PRODUCT CARD ─── */

.product-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(28, 27, 25, 0.1);
}

.product-img-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: var(--nude);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-img-wrap img {
    transform: scale(1.06);
}

.product-info {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.product-brand {
    font-family: 'Jost', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--taupe);
}

.product-name {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.82rem;
    color: var(--text-dark);
    line-height: 1.4;
    margin-top: 2px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
}

.product-price {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 1.15rem;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.btn-add {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--text-dark);
    border: none;
    color: var(--warm-white);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    line-height: 1;
}

.btn-add:hover {
    background: var(--taupe);
    transform: rotate(90deg) scale(1.1);
}

/* ─── BADGE ─── */

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-family: 'Jost', sans-serif;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    background: rgba(28, 27, 25, 0.82);
    color: var(--warm-white);
    backdrop-filter: blur(4px);
}

/* ─── PAGE HERO (inner pages) ─── */

.page-hero {
    background: var(--cream);
    border-radius: var(--radius-xl);
    margin: 24px 40px 56px;
    padding: 64px 56px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--nude);
    opacity: 0.6;
}

.page-hero-label {
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--taupe);
    margin-bottom: 16px;
}

.page-hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.08;
    color: var(--text-dark);
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.page-hero-title em {
    font-style: italic;
    color: var(--taupe);
}

/* ─── FILTER BAR ─── */

.filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: 100px;
    font-family: 'Jost', sans-serif;
    font-size: 0.76rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--text-dark);
    color: var(--warm-white);
    border-color: var(--text-dark);
}

/* ─── FOOTER ─── */

.site-footer {
    background: var(--cream);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: 64px 0 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 56px;
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.footer-brand {
    flex: 1;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: 0.12em;
    color: var(--text-dark);
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.82rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.footer-col a {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--text-dark);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-bottom p {
    font-family: 'Jost', sans-serif;
    font-size: 0.72rem;
    font-weight: 300;
    color: var(--taupe);
    letter-spacing: 0.06em;
}

/* ─── UTILITY ─── */

.tag-new {
    background: #2A2A28;
    color: #fff;
}

.tag-bestseller {
    background: var(--taupe);
    color: #fff;
}

.hamburger {
        display: none !important;
    }

    .mobile-nav {
        max-height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        opacity: 0 !important;
        transition: max-height 0.4s ease, opacity 0.3s ease !important;
    }

    .mobile-nav.open {
        max-height: 400px !important;
        opacity: 1 !important;
        padding: 0 !important;
    }

    @media (max-width: 768px) {

        .main-nav {
            display: none !important;
        }

        .header-icons {
            display: none !important;
        }

        .hamburger {
            display: flex !important;
            flex-direction: column !important;
            justify-content: center !important;
            align-items: center !important;
            gap: 5px !important;
            width: 44px !important;
            height: 44px !important;
            background: none !important;
            border: none !important;
            cursor: pointer !important;
            padding: 10px !important;
            z-index: 99999 !important;
            position: relative !important;
            -webkit-tap-highlight-color: transparent !important;
            touch-action: manipulation !important;
        }

        .hamburger span {
            display: block !important;
            width: 22px !important;
            height: 2px !important;
            background: #1C1B19 !important;
            border-radius: 2px !important;
            pointer-events: none !important;
        }

        .header-inner {
            padding: 0 20px !important;
            height: 58px !important;
        }

        .main-content {
            padding-top: 58px !important;
        }

        .mobile-nav {
            display: block !important;
            background: #FAFAF8 !important;
            border-top: 1px solid #E8E2DA !important;
        }

        .mobile-nav a {
            display: block !important;
            padding: 14px 24px !important;
            font-family: 'Jost', sans-serif !important;
            font-size: 0.9rem !important;
            color: #8C8880 !important;
            border-bottom: 1px solid #E8E2DA !important;
            text-decoration: none !important;
        }

        .mobile-nav a:last-child {
            border-bottom: none !important;
        }

        .products-grid {
            grid-template-columns: repeat(2, 1fr) !important;
        }

        .section-wrapper {
            padding: 0 14px !important;
        }

        .page-hero {
            margin: 10px 14px 28px !important;
            padding: 32px 22px !important;
        }

        .hero-slide {
            height: 55vh !important;
        }

        .hero-arrow {
            display: none !important;
        }

        .filter-bar {
            flex-wrap: nowrap !important;
            overflow-x: auto !important;
        }

        .filter-btn {
            white-space: nowrap !important;
            flex-shrink: 0 !important;
        }

        .footer-inner {
            flex-direction: column !important;
            padding: 0 20px 36px !important;
        }
    }