/* ── Variables ──────────────────────────────────────────────────────────────── */
:root {
    --bg:            #FAFAF8;
    --surface:       #F0EBE3;
    --surface-2:     #E8E1D8;
    --border:        #DDD5C8;
    --border-light:  #EAE4DC;
    --accent:        #B8956A;
    --accent-dark:   #9A7850;
    --accent-light:  #D4B896;
    --text:          #1A1A18;
    --text-muted:    #6B6258;
    --text-light:    #9E9389;
    --white:         #FFFFFF;
    --success:       #4A7C59;
    --error:         #9B3535;
    --warning:       #8B6914;
    --info:          #2A5A8B;

    --font-heading:  'Cormorant Garamond', Georgia, serif;
    --font-body:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  16px;
    --radius-xl:  24px;

    --shadow-sm:  0 1px 4px rgba(0,0,0,.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,.09);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.12);

    --transition: .3s cubic-bezier(.4,0,.2,1);
    --header-h:   72px;
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ── Layout ─────────────────────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }
.section--lg { padding: 120px 0; }
.section--dark { background: var(--text); color: var(--white); }
.section--surface { background: var(--surface); }

/* ── Typography ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; }
.eyebrow {
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: .75rem;
}
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--text-muted); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .875rem 2rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .03em;
    transition: var(--transition);
    white-space: nowrap;
    cursor: pointer;
}
.btn--primary {
    background: var(--text);
    color: var(--white);
}
.btn--primary:hover { background: #333; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--accent {
    background: var(--accent);
    color: var(--white);
}
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn--outline:hover { border-color: var(--text); }
.btn--outline-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,.4);
}
.btn--outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--sm { padding: .6rem 1.25rem; font-size: .82rem; }
.btn--lg { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ── Header ──────────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-h);
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    background: rgba(250,250,248,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border-light);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: .08em;
    color: var(--text);
}
.logo.white { color: var(--white); }
.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-link {
    font-size: .875rem;
    font-weight: 400;
    letter-spacing: .04em;
    color: var(--text-muted);
    transition: color var(--transition);
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 100%;
    height: 1px;
    background: var(--accent);
    transition: right var(--transition);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-action {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    transition: color var(--transition);
}
.header-action:hover { color: var(--text); }
.cart-badge {
    position: absolute;
    top: -6px; right: -8px;
    background: var(--accent);
    color: var(--white);
    font-size: .65rem;
    font-weight: 600;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition);
}
.cart-badge.hidden { display: none; }
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.mobile-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text);
    transition: var(--transition);
}

/* ── Hero ────────────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--text);
    color: var(--white);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1a18 0%, #2e2a24 50%, #1a1a18 100%);
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 60%, rgba(184,149,106,.15) 0%, transparent 60%);
}
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .03;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,.5) 40px, rgba(255,255,255,.5) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,.5) 40px, rgba(255,255,255,.5) 41px);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
}
.hero-eyebrow {
    color: var(--accent-light);
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .8s .2s forwards;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .9s .4s forwards;
}
.hero h1 em {
    font-style: italic;
    color: var(--accent-light);
}
.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,.65);
    max-width: 480px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .9s .6s forwards;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp .9s .8s forwards;
}
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,.4);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s 1.5s forwards;
}
.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
    animation: scrollLine 2s 1.5s ease-in-out infinite;
}

/* ── Feature strip ───────────────────────────────────────────────────────────── */
.features-strip {
    background: var(--surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: 32px 0;
}
.features-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.strip-feature {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .5rem;
}
.strip-feature-icon {
    flex-shrink: 0;
    color: var(--accent);
}
.strip-feature-text strong {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text);
}
.strip-feature-text span {
    font-size: .8rem;
    color: var(--text-muted);
}

/* ── Products grid ───────────────────────────────────────────────────────────── */
.section-header {
    margin-bottom: 3rem;
}
.section-header.centered { text-align: center; max-width: 540px; margin-left: auto; margin-right: auto; }
.section-header h2 { margin-bottom: .75rem; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}
.product-card.visible {
    animation: fadeUp .6s forwards;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--surface);
    position: relative;
}
.product-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--accent);
    color: var(--white);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .3rem .6rem;
    border-radius: var(--radius-sm);
}
.product-badge--sale { background: var(--error); }
.product-card-body { padding: 1.25rem; }
.product-card-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    margin-bottom: .375rem;
    color: var(--text);
}
.product-card-desc {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}
.product-price {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
}
.product-price .original {
    font-size: .85rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: .375rem;
}

/* ── About / Story ───────────────────────────────────────────────────────────── */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-image {
    aspect-ratio: 4/5;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.about-content h2 { margin-bottom: 1.25rem; }
.about-content p { color: var(--text-muted); margin-bottom: 1.25rem; }
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}
.about-stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--accent);
}
.about-stat-label { font-size: .8rem; color: var(--text-muted); }

/* ── Testimonials ────────────────────────────────────────────────────────────── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}
.testimonial-stars { color: var(--accent); margin-bottom: 1rem; font-size: 1rem; }
.testimonial-text { color: var(--text-muted); font-size: .9rem; line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--surface-2);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent);
}
.testimonial-name { font-size: .875rem; font-weight: 500; }
.testimonial-location { font-size: .75rem; color: var(--text-light); }

/* ── CTA Banner ──────────────────────────────────────────────────────────────── */
.cta-banner {
    background: var(--text);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.6); margin-bottom: 2rem; }

/* ── Newsletter ──────────────────────────────────────────────────────────────── */
.newsletter-form {
    display: flex;
    gap: .5rem;
    max-width: 440px;
    margin: 0 auto;
}
.newsletter-form .form-input {
    flex: 1;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.2);
    color: var(--white);
}
.newsletter-form .form-input::placeholder { color: rgba(255,255,255,.4); }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer {
    background: #13120F;
    color: rgba(255,255,255,.7);
    padding-top: 60px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { color: var(--white); font-size: 1.4rem; margin-bottom: .75rem; display: block; }
.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.4); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 {
    color: var(--white);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}
.footer-col a {
    display: block;
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    margin-bottom: .5rem;
    transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    padding: 1.25rem 0;
}
.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.3); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,.6); }

/* ── Forms ───────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-label {
    display: block;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: .4rem;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .75rem 1rem;
    font-size: .9rem;
    color: var(--text);
    transition: border-color var(--transition);
    outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(184,149,106,.1);
}
.form-input.error { border-color: var(--error); }
.form-error { font-size: .78rem; color: var(--error); margin-top: .3rem; }
.form-textarea { resize: vertical; min-height: 100px; }

/* ── Alerts ──────────────────────────────────────────────────────────────────── */
.alert {
    padding: .875rem 1.125rem;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    margin-bottom: 1.25rem;
    border-left: 3px solid;
}
.alert--success { background: #f0faf4; color: #2d6b43; border-color: #4A7C59; }
.alert--error   { background: #fdf1f1; color: #7a2a2a; border-color: #9B3535; }
.alert--info    { background: #f0f5fb; color: #1e4a73; border-color: #2A5A8B; }

/* ── Shop page ───────────────────────────────────────────────────────────────── */
.page-hero {
    background: var(--surface);
    padding: calc(var(--header-h) + 48px) 0 48px;
    border-bottom: 1px solid var(--border-light);
}
.page-hero h1 { margin-bottom: .5rem; }
.shop-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    padding-top: 3rem;
    padding-bottom: 4rem;
}
.shop-filters h3 {
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
    font-family: var(--font-body);
}
.shop-filters h3:first-child { margin-top: 0; }
.filter-option {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .875rem;
    color: var(--text-muted);
    padding: .35rem 0;
    cursor: pointer;
    transition: color var(--transition);
}
.filter-option:hover, .filter-option.active { color: var(--text); }
.filter-option input { accent-color: var(--accent); }
.shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.shop-count { font-size: .875rem; color: var(--text-muted); }

/* ── Product detail ──────────────────────────────────────────────────────────── */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: calc(var(--header-h) + 40px) 0 80px;
}
.product-gallery-main {
    aspect-ratio: 1;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs {
    display: flex;
    gap: .75rem;
    margin-top: .75rem;
}
.gallery-thumb {
    width: 72px; height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color var(--transition);
    background: var(--surface);
}
.gallery-thumb.active { border-color: var(--accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info h1 { margin-bottom: .75rem; }
.product-info-price {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 1.5rem;
}
.variant-group { margin-bottom: 1.25rem; }
.variant-label {
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: .5rem;
}
.variant-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-btn {
    padding: .4rem .875rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: .82rem;
    transition: var(--transition);
    cursor: pointer;
    background: var(--white);
    color: var(--text);
}
.variant-btn:hover { border-color: var(--text); }
.variant-btn.active { background: var(--text); color: var(--white); border-color: var(--text); }
.variant-btn:disabled { opacity: .4; cursor: not-allowed; }
.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
    margin-bottom: 1.25rem;
}
.qty-btn {
    width: 40px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: background var(--transition), color var(--transition);
}
.qty-btn:hover { background: var(--surface); color: var(--text); }
.qty-input {
    width: 52px; height: 44px;
    border: none;
    border-left: 1.5px solid var(--border);
    border-right: 1.5px solid var(--border);
    text-align: center;
    font-size: .9rem;
    font-weight: 500;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-tabs {
    margin-top: 2rem;
    border-top: 1px solid var(--border);
}
.tab-nav { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.tab-btn {
    padding: 1rem 1.5rem;
    font-size: .875rem;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    margin-bottom: -1px;
}
.tab-btn.active { color: var(--text); border-bottom-color: var(--text); }
.tab-content { display: none; font-size: .9rem; color: var(--text-muted); line-height: 1.8; }
.tab-content.active { display: block; }

/* ── Cart ────────────────────────────────────────────────────────────────────── */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 3rem;
    padding-bottom: 4rem;
}
.cart-items { }
.cart-item {
    display: grid;
    grid-template-columns: 88px 1fr auto;
    gap: 1.25rem;
    align-items: start;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
}
.cart-item-image {
    width: 88px; height: 88px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface);
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: .25rem; }
.cart-item-variant { font-size: .8rem; color: var(--text-muted); margin-bottom: .75rem; }
.cart-item-remove {
    font-size: .78rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color var(--transition);
}
.cart-item-remove:hover { color: var(--error); }
.cart-summary {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    height: fit-content;
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
}
.cart-summary h3 { font-size: 1.2rem; margin-bottom: 1.5rem; }
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    padding: .5rem 0;
    color: var(--text-muted);
}
.summary-row.total {
    border-top: 1px solid var(--border);
    margin-top: .5rem;
    padding-top: 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
}
.free-shipping-note {
    text-align: center;
    font-size: .78rem;
    color: var(--success);
    margin-top: .75rem;
    font-weight: 500;
}

/* ── Checkout ─────────────────────────────────────────────────────────────────── */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    padding-bottom: 4rem;
}
.checkout-section {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}
.checkout-section-title {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
}
.payment-tabs { display: flex; gap: .75rem; margin-bottom: 1.5rem; }
.payment-tab {
    flex: 1;
    padding: .75rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: .85rem;
    font-weight: 500;
    color: var(--text-muted);
}
.payment-tab.active { border-color: var(--accent); color: var(--accent); background: rgba(184,149,106,.05); }
.payment-panel { display: none; }
.payment-panel.active { display: block; }
#stripe-payment-element { margin-bottom: 1.25rem; }
.order-summary-product {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: .75rem 0;
    border-bottom: 1px solid var(--border-light);
}
.order-summary-product:last-child { border-bottom: none; }
.order-summary-img {
    width: 56px; height: 56px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--surface);
    position: relative;
    flex-shrink: 0;
}
.order-summary-img img { width: 100%; height: 100%; object-fit: cover; }
.order-summary-qty {
    position: absolute;
    top: -6px; right: -6px;
    background: var(--text);
    color: var(--white);
    font-size: .65rem;
    font-weight: 600;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.order-summary-name { font-size: .875rem; font-weight: 500; flex: 1; }
.order-summary-price { font-size: .875rem; font-weight: 500; }

/* ── Account ─────────────────────────────────────────────────────────────────── */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 40px) 24px 60px;
}
.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}
.auth-card-title { font-size: 1.8rem; margin-bottom: .5rem; }
.auth-card-sub { font-size: .875rem; color: var(--text-muted); margin-bottom: 2rem; }
.auth-divider { text-align: center; font-size: .8rem; color: var(--text-light); margin: 1.25rem 0; position: relative; }
.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; right: 0;
    height: 1px;
    background: var(--border);
    z-index: 0;
}
.auth-divider span { background: var(--white); position: relative; z-index: 1; padding: 0 .75rem; }
.auth-switch { text-align: center; font-size: .875rem; color: var(--text-muted); margin-top: 1.5rem; }
.auth-switch a { color: var(--accent); font-weight: 500; }

/* ── Account dashboard ───────────────────────────────────────────────────────── */
.account-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    padding: calc(var(--header-h) + 40px) 0 80px;
}
.account-nav a {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .625rem .75rem;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    color: var(--text-muted);
    transition: var(--transition);
    margin-bottom: .25rem;
}
.account-nav a:hover, .account-nav a.active {
    background: var(--surface);
    color: var(--text);
}
.account-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}
.account-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}
.order-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    font-size: .875rem;
}
.order-row:last-child { border-bottom: none; }
.order-status {
    display: inline-flex;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.status--paid, .status--delivered { background: #e6f4ec; color: #2d6b43; }
.status--pending, .status--processing { background: #fdf5e6; color: #7a5a00; }
.status--shipped { background: #e8f0fb; color: #1e4a73; }
.status--cancelled, .status--refunded { background: #fdf1f1; color: #7a2a2a; }

/* ── Admin ───────────────────────────────────────────────────────────────────── */
.admin-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: var(--text);
    color: rgba(255,255,255,.8);
    padding: 1.5rem;
}
.admin-sidebar .logo { color: var(--white); margin-bottom: 2rem; display: block; }
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .625rem .75rem;
    border-radius: var(--radius-sm);
    font-size: .875rem;
    color: rgba(255,255,255,.6);
    margin-bottom: .25rem;
    transition: var(--transition);
}
.admin-nav-link:hover, .admin-nav-link.active {
    background: rgba(255,255,255,.08);
    color: var(--white);
}
.admin-content { padding: 2rem; background: var(--bg); }
.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}
.admin-header h1 { font-size: 1.5rem; }
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.admin-stat {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-light);
}
.admin-stat-value { font-size: 1.75rem; font-family: var(--font-heading); font-weight: 300; }
.admin-stat-label { font-size: .78rem; color: var(--text-muted); margin-top: .25rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.data-table th {
    text-align: left;
    padding: .75rem 1rem;
    background: var(--surface);
    font-weight: 500;
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}
.data-table td {
    padding: .875rem 1rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    vertical-align: middle;
}
.data-table tr:hover td { background: var(--surface); }

/* ── Placeholders & utils ────────────────────────────────────────────────────── */
.placeholder-img {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    background: var(--surface);
    color: var(--border);
}
.divider { height: 1px; background: var(--border-light); margin: 2rem 0; }
.tag {
    display: inline-block;
    background: var(--surface);
    color: var(--text-muted);
    font-size: .72rem;
    font-weight: 500;
    padding: .2rem .6rem;
    border-radius: 999px;
}
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}
.empty-state svg { margin: 0 auto 1.25rem; opacity: .3; }
.empty-state h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; font-size: .8rem; color: var(--text-light); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb-sep { opacity: .5; }
.pt-header { padding-top: calc(var(--header-h) + 48px); }

/* ── Animations ──────────────────────────────────────────────────────────────── */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Responsive ──────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .about-split  { gap: 3rem; }
    .shop-layout  { grid-template-columns: 180px 1fr; }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        background: rgba(250,250,248,.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%);
        transition: transform var(--transition);
    }
    .main-nav.open { transform: translateY(0); }
    .mobile-toggle { display: flex; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .about-split { grid-template-columns: 1fr; gap: 2rem; }
    .about-image { aspect-ratio: 16/9; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .features-strip-inner { grid-template-columns: repeat(2, 1fr); }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .product-detail { grid-template-columns: 1fr; gap: 2rem; }
    .account-layout { grid-template-columns: 1fr; }
    .shop-layout { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer-nav { grid-template-columns: repeat(2, 1fr); }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { display: none; }
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .features-strip-inner { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .footer-nav { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; gap: 1rem; }
    .footer-bottom .container { flex-direction: column; gap: .75rem; text-align: center; }
}
