/* ============================================================
   Pepper Crown — Design System
   ============================================================ */

:root {
    --ink: #17110D;
    --ink-2: #3E332C;
    --muted: #857468;
    --line: #F0E6DA;
    --cream: #FFF8EF;
    --cream-2: #FDF1E3;
    --paper: #FFFFFF;

    --brand: #D6402A;
    --brand-dk: #AF2E1B;
    --brand-lt: #FF7A55;
    --gold: #F5A524;
    --gold-lt: #FFD166;
    --green: #12855A;
    --teal: #0E9594;
    --plum: #8E2157;

    --grad-warm: linear-gradient(135deg, #D6402A 0%, #F5A524 100%);
    --grad-sun: linear-gradient(135deg, #FF6B00 0%, #FFD166 100%);
    --grad-deep: linear-gradient(140deg, #2B1206 0%, #6E2412 55%, #C2410C 100%);

    --r-xs: 10px;
    --r-sm: 16px;
    --r: 24px;
    --r-lg: 32px;
    --r-xl: 44px;

    --sh-sm: 0 2px 10px rgba(23, 17, 13, .06);
    --sh: 0 14px 38px rgba(23, 17, 13, .10);
    --sh-lg: 0 30px 70px rgba(23, 17, 13, .18);
    --sh-brand: 0 16px 34px rgba(214, 64, 42, .28);

    --display: 'Fraunces', Georgia, serif;
    --body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    --wrap: 1240px;
    --ease: cubic-bezier(.22, .7, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--body);
    color: var(--ink-2);
    background: var(--paper);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .25s var(--ease); }
button, input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--display);
    color: var(--ink);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -.015em;
}

.wrap, .container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    * { animation: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 26px; border-radius: 100px;
    background: var(--cream-2); color: var(--ink);
    font-weight: 700; font-size: .94rem; letter-spacing: -.01em;
    border: 2px solid transparent; cursor: pointer;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
    white-space: nowrap;
}
.btn-primary { background: var(--grad-warm); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 44px rgba(214, 64, 42, .38); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); background: #000; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(23, 17, 13, .18); }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; transform: translateY(-3px); }
.btn-ghost { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .34); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.btn-sm { padding: 10px 18px; font-size: .84rem; }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Announcement ---------- */
.announce {
    background: var(--ink); color: #F3E7DA;
    font-size: .8rem; font-weight: 500; letter-spacing: .01em;
    overflow: hidden; position: relative;
}
.announce-track { display: flex; gap: 44px; padding: 10px 0; white-space: nowrap; width: max-content; animation: slide 34s linear infinite; }
.announce-track span { display: inline-flex; align-items: center; gap: 10px; }
.announce-track b { color: var(--gold); font-weight: 700; }
.announce:hover .announce-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; }
.nav-bar {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
body.scrolled .nav-bar { box-shadow: 0 6px 30px rgba(23, 17, 13, .09); border-bottom-color: var(--line); }

.main-nav { display: flex; align-items: center; gap: 20px; padding: 14px 24px; max-width: var(--wrap); margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark { width: 44px; height: auto; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-family: var(--display); font-size: 1.42rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.logo-text em {
    font-style: normal; font-size: .58rem; font-weight: 700;
    letter-spacing: .26em; text-transform: uppercase; color: var(--brand); margin-top: 4px;
}

.nav-links { display: flex; list-style: none; gap: 4px; margin-left: auto; }
.nav-links a {
    display: block; padding: 9px 15px; border-radius: 100px;
    color: var(--ink-2); font-weight: 600; font-size: .92rem;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { background: var(--cream-2); color: var(--brand); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 6px; }
.cart-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--ink); color: #fff;
    padding: 11px 19px; border-radius: 100px;
    font-weight: 700; font-size: .88rem; position: relative;
    transition: transform .3s var(--ease), background .3s var(--ease);
}
.cart-btn:hover { transform: translateY(-2px); background: var(--brand); color: #fff; }
.cart-count {
    background: var(--gold); color: var(--ink); font-style: normal;
    min-width: 21px; height: 21px; padding: 0 6px; border-radius: 100px;
    display: grid; place-items: center; font-size: .72rem; font-weight: 800;
}
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 80px 0 96px; background: var(--cream); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.blob-1 { width: 460px; height: 460px; background: #FFC46B; top: -140px; left: -110px; animation: float1 16s ease-in-out infinite; }
.blob-2 { width: 400px; height: 400px; background: #FF8B6B; bottom: -160px; right: 8%; animation: float2 19s ease-in-out infinite; }
.blob-3 { width: 320px; height: 320px; background: #8ADFC0; top: 30%; right: 38%; opacity: .35; animation: float1 22s ease-in-out infinite reverse; }
@keyframes float1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(34px, 28px) scale(1.08); } }
@keyframes float2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-40px, -26px) scale(1.1); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.pill {
    display: inline-flex; align-items: center; gap: 9px;
    background: rgba(255, 255, 255, .8); backdrop-filter: blur(8px);
    border: 1px solid rgba(214, 64, 42, .18);
    color: var(--brand); padding: 8px 17px; border-radius: 100px;
    font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    margin-bottom: 22px;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(1.35); } }

.hero h1 { font-size: clamp(2.9rem, 6vw, 4.6rem); margin-bottom: 22px; }
.hero h1 .accent {
    background: var(--grad-warm); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; font-style: italic;
}
.hero-copy > p { font-size: 1.1rem; color: var(--muted); max-width: 480px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--display); font-size: 1.9rem; color: var(--ink); line-height: 1; }
.hero-stats div span { font-size: .82rem; color: var(--muted); font-weight: 600; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-frame {
    position: relative; border-radius: var(--r-xl); overflow: hidden;
    box-shadow: var(--sh-lg); background: var(--paper); padding: 14px; max-width: 440px;
    animation: bob 7s ease-in-out infinite;
}
.hero-frame img { border-radius: var(--r-lg); width: 100%; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.chip {
    position: absolute; z-index: 3;
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
    border-radius: 100px; padding: 11px 18px;
    box-shadow: var(--sh); font-size: .82rem; font-weight: 700; color: var(--ink);
    display: flex; align-items: center; gap: 9px; white-space: nowrap;
}
.chip i { font-style: normal; font-size: 1rem; }
.chip-1 { top: 8%; left: -22px; animation: bob 6s ease-in-out infinite .4s; }
.chip-2 { bottom: 16%; right: -18px; animation: bob 6.6s ease-in-out infinite .9s; }
.chip-3 { bottom: -14px; left: 12%; animation: bob 7.4s ease-in-out infinite 1.4s; }
.chip .stars { color: var(--gold); letter-spacing: -1px; }

/* ---------- Marquee strip ---------- */
.strip { background: var(--ink); color: #fff; padding: 20px 0; overflow: hidden; }
.strip-track { display: flex; gap: 54px; width: max-content; animation: slide 28s linear infinite; }
.strip-track span {
    font-family: var(--display); font-size: 1.5rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: 54px; white-space: nowrap; color: #fff;
}
.strip-track span::after { content: '✦'; color: var(--gold); font-size: 1rem; }

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-tint { background: var(--cream); }
.section-head { margin-bottom: 46px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.eyebrow {
    display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .2em;
    text-transform: uppercase; color: var(--brand); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.section-head p { color: var(--muted); margin-top: 12px; max-width: 560px; }
.link-arrow { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.link-arrow:hover { color: var(--brand); gap: 13px; }
.link-arrow span { transition: transform .3s var(--ease); }

/* ---------- Spice tile (used wherever no photo exists) ---------- */
.tile { position: relative; aspect-ratio: 1 / 1; overflow: hidden; display: grid; place-items: center; }
.tile::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 22%, rgba(255, 255, 255, .34), transparent 58%);
}
.tile .glyph { width: 54%; height: auto; color: rgba(255, 255, 255, .3); position: relative; z-index: 1; transition: transform .6s var(--ease); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-weight {
    position: absolute; z-index: 2; bottom: 12px; right: 12px;
    background: rgba(255, 255, 255, .92); color: var(--ink);
    font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 100px;
}

/* ---------- Category bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-card {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    min-height: 250px; display: flex; align-items: flex-end;
    color: #fff; box-shadow: var(--sh-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.cat-card:hover { transform: translateY(-7px); box-shadow: var(--sh-lg); color: #fff; }
.cat-card.wide { grid-column: span 2; }
.cat-card .cat-bg { position: absolute; inset: 0; }
.cat-card .cat-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 62%); }
.cat-card .glyph {
    position: absolute; right: -16px; top: -14px; width: 152px;
    color: rgba(255, 255, 255, .22); transition: transform .6s var(--ease);
}
.cat-card:hover .glyph { transform: rotate(18deg) scale(1.12); }
.cat-body { position: relative; z-index: 2; padding: 24px; width: 100%; }
.cat-body h3 { color: #fff; font-size: 1.34rem; margin-bottom: 4px; }
.cat-body span { font-size: .85rem; font-weight: 700; opacity: .92; display: inline-flex; align-items: center; gap: 7px; }
.cat-count { position: absolute; top: 18px; left: 18px; z-index: 2; background: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); border-radius: 100px; padding: 5px 13px; font-size: .74rem; font-weight: 700; }

/* ---------- Product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 24px; }
.p-card {
    background: var(--paper); border-radius: var(--r); overflow: hidden;
    border: 1px solid var(--line); position: relative;
    display: flex; flex-direction: column;
    transition: transform .42s var(--ease), box-shadow .42s var(--ease), border-color .42s var(--ease);
}
.p-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: transparent; }
.p-card:hover .tile .glyph { transform: rotate(14deg) scale(1.1); }
.p-card:hover .tile img { transform: scale(1.07); }
.p-card .tile img { transition: transform .7s var(--ease); }
.p-media { display: block; position: relative; }
.p-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.p-body h3 { font-size: 1.06rem; line-height: 1.28; margin-bottom: 7px; }
.p-body h3 a { color: var(--ink); }
.p-card:hover .p-body h3 a { color: var(--brand); }
.p-body > p { font-size: .84rem; color: var(--muted); line-height: 1.5; margin-bottom: 15px; }
.p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.price strong { font-family: var(--display); font-size: 1.3rem; color: var(--ink); font-weight: 700; }
.price del { color: var(--muted); font-size: .84rem; }
.price-lg strong { font-size: 2.5rem; }

.badge {
    position: absolute; top: 12px; left: 12px; z-index: 3;
    padding: 5px 13px; border-radius: 100px;
    font-size: .71rem; font-weight: 800; letter-spacing: .02em;
}
.badge.sale { background: var(--brand); color: #fff; }
.badge.pack { background: var(--gold); color: var(--ink); }
.badge.soft { background: rgba(255, 255, 255, .92); color: var(--ink); }

.add-btn {
    width: 42px; height: 42px; border-radius: 50%; border: 0; flex-shrink: 0;
    background: var(--ink); color: #fff; cursor: pointer;
    display: grid; place-items: center;
    transition: transform .3s var(--ease), background .3s var(--ease);
}
.add-btn:hover { background: var(--brand); transform: scale(1.12) rotate(90deg); }

/* ---------- Feature cards ---------- */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 22px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.feature .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 18px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 9px; }
.feature p { font-size: .9rem; color: var(--muted); }

/* ---------- Packages ---------- */
.grid-packs { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 24px; }
.pack-card {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    color: #fff; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end;
    box-shadow: var(--sh); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.pack-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); color: #fff; }
.pack-card .cat-bg { position: absolute; inset: 0; }
.pack-card .cat-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .68), rgba(0, 0, 0, .12) 68%); }
.pack-card .glyph { position: absolute; right: -22px; top: -10px; width: 168px; color: rgba(255, 255, 255, .2); }
.pack-body { position: relative; z-index: 2; padding: 26px; }
.pack-body h3 { color: #fff; font-size: 1.42rem; margin-bottom: 8px; }
.pack-body p { font-size: .88rem; opacity: .88; margin-bottom: 17px; }
.pack-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pack-price { display: flex; align-items: baseline; gap: 8px; }
.pack-price strong { font-family: var(--display); font-size: 1.75rem; color: #fff; }
.pack-price del { opacity: .7; font-size: .92rem; }

/* ---------- Testimonials ---------- */
.grid-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.quote:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.quote .stars { color: var(--gold); margin-bottom: 13px; letter-spacing: 1px; }
.quote p { font-size: .96rem; color: var(--ink-2); margin-bottom: 20px; }
.quote-by { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-family: var(--display); }
.quote-by strong { display: block; font-size: .9rem; color: var(--ink); }
.quote-by span { font-size: .78rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: var(--r-xl); overflow: hidden; padding: 72px 40px; text-align: center; background: var(--grad-deep); color: #fff; }
.cta-band::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(245, 165, 36, .28); filter: blur(70px); top: -160px; right: -80px; }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.cta-band p { opacity: .85; max-width: 520px; margin: 0 auto 30px; font-size: 1.03rem; }

/* ---------- Page header ---------- */
.page-head { background: var(--cream); padding: 56px 0 44px; position: relative; overflow: hidden; }
.page-head::before { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: #FFC46B; filter: blur(90px); opacity: .42; top: -180px; right: -60px; }
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); margin-bottom: 10px; }
.page-head p { color: var(--muted); max-width: 620px; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); font-weight: 600; }
.crumbs a:hover { color: var(--brand); }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 244px 1fr; gap: 44px; align-items: start; }
.side-card { background: var(--cream); border-radius: var(--r); padding: 24px; position: sticky; top: 96px; }
.side-card h3 { font-size: 1.1rem; margin-bottom: 15px; }
.cat-list { list-style: none; }
.cat-list a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 11px 15px; border-radius: 100px; color: var(--ink-2);
    font-weight: 600; font-size: .9rem; margin-bottom: 5px;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.cat-list a:hover, .cat-list a.active { background: var(--ink); color: #fff; }
.cat-list a.active .n, .cat-list a:hover .n { background: rgba(255, 255, 255, .2); color: #fff; }
.cat-list .n { background: rgba(23, 17, 13, .07); border-radius: 100px; padding: 2px 9px; font-size: .74rem; font-weight: 800; }

/* ---------- Product detail ---------- */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh); position: relative; }
.pd-info h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 14px 0 12px; }
.pd-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tag { background: var(--cream-2); color: var(--ink-2); font-size: .76rem; font-weight: 700; padding: 6px 14px; border-radius: 100px; }
.tag.ok { background: rgba(18, 133, 90, .1); color: var(--green); }
.pd-info > p { color: var(--muted); margin: 18px 0 26px; font-size: 1.02rem; }
.buy-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.qty { display: flex; align-items: center; background: var(--cream); border-radius: 100px; padding: 5px; }
.qty button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; font-size: 1.1rem; font-weight: 700; color: var(--ink); box-shadow: var(--sh-sm); transition: background .25s var(--ease), color .25s var(--ease); }
.qty button:hover { background: var(--ink); color: #fff; }
.qty input { width: 48px; text-align: center; border: 0; background: transparent; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.assure { list-style: none; display: grid; gap: 11px; padding-top: 24px; border-top: 1px solid var(--line); }
.assure li { display: flex; align-items: center; gap: 11px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.assure .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--cream-2); display: grid; place-items: center; font-size: .85rem; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-bottom: 15px; }
.prose p { color: var(--ink-2); margin-bottom: 15px; }

.pack-items { list-style: none; display: grid; gap: 12px; max-width: 640px; }
.pack-items li { display: flex; align-items: center; gap: 15px; padding: 13px 17px; background: var(--cream); border-radius: var(--r-sm); }
.pack-items li .mini { width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; }
.pack-items li .mini .glyph { width: 62%; color: rgba(255, 255, 255, .8); }
.pack-items li strong { font-weight: 700; color: var(--ink); font-size: .94rem; }
.pack-items li em { margin-left: auto; font-style: normal; font-weight: 800; color: var(--brand); font-size: .88rem; }

/* ---------- Cart & checkout ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 356px; gap: 40px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row .thumb { width: 84px; height: 84px; border-radius: var(--r-sm); overflow: hidden; }
.cart-row h4 { font-family: var(--body); font-weight: 700; font-size: .98rem; color: var(--ink); margin-bottom: 5px; }
.cart-row .unit { font-size: .84rem; color: var(--muted); }
.cart-right { display: flex; align-items: center; gap: 18px; }
.remove { color: var(--muted); font-size: .82rem; font-weight: 600; }
.remove:hover { color: var(--brand); }

.summary { background: var(--cream); border-radius: var(--r); padding: 28px; position: sticky; top: 96px; }
.summary h3 { font-size: 1.25rem; margin-bottom: 20px; }
.s-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: .93rem; }
.s-row.total { border-top: 2px solid rgba(23, 17, 13, .1); margin-top: 12px; padding-top: 16px; font-weight: 800; font-size: 1.18rem; color: var(--ink); }
.s-item { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: .87rem; color: var(--muted); }
.free-note { font-size: .8rem; color: var(--green); font-weight: 700; background: rgba(18, 133, 90, .1); padding: 9px 13px; border-radius: var(--r-xs); margin: 10px 0; }
.ship-bar { height: 7px; border-radius: 100px; background: rgba(23, 17, 13, .09); overflow: hidden; margin: 6px 0 12px; }
.ship-bar i { display: block; height: 100%; border-radius: 100px; background: var(--grad-warm); transition: width .6s var(--ease); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .82rem; color: var(--ink); }
.field input, .field textarea, .field select {
    padding: 13px 17px; border: 1.5px solid var(--line); border-radius: var(--r-xs);
    font-size: .94rem; background: var(--paper);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(214, 64, 42, .1); }
.pay-note { display: flex; align-items: center; gap: 13px; margin: 24px 0; padding: 17px 20px; background: var(--cream); border-radius: var(--r-sm); font-size: .92rem; }
.pay-note .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--paper); display: grid; place-items: center; font-size: 1.1rem; }

/* ---------- Success ---------- */
.success-box { max-width: 640px; margin: 0 auto; text-align: center; }
.tick { width: 86px; height: 86px; border-radius: 50%; background: var(--grad-warm); color: #fff; display: grid; place-items: center; font-size: 2.3rem; margin: 0 auto 26px; box-shadow: var(--sh-brand); animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(.5); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.order-box { background: var(--cream); border-radius: var(--r); padding: 26px; margin: 26px 0; text-align: left; display: grid; gap: 11px; }
.order-box div { display: flex; justify-content: space-between; gap: 14px; font-size: .93rem; }
.order-box div span:last-child { font-weight: 700; color: var(--ink); }

/* ---------- About / contact ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
    border-radius: var(--r); padding: 26px 22px; text-align: center; color: #fff;
    transition: transform .4s var(--ease);
}
.stat:hover { transform: translateY(-6px); }
.stat strong { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; margin-bottom: 6px; }
.stat span { font-size: .8rem; font-weight: 600; opacity: .92; }
.check-list { list-style: none; display: grid; gap: 13px; margin-top: 18px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: .96rem; }
.check-list .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--grad-warm); color: #fff; display: grid; place-items: center; font-size: .74rem; flex-shrink: 0; margin-top: 2px; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.contact-card { background: var(--cream); border-radius: var(--r); padding: 32px; }
.contact-list { list-style: none; display: grid; gap: 18px; margin: 22px 0; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-list .ic { width: 42px; height: 42px; border-radius: 13px; background: var(--paper); display: grid; place-items: center; font-size: 1.05rem; flex-shrink: 0; }
.contact-list strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 3px; }
.contact-list span { color: var(--ink); font-weight: 600; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; box-shadow: var(--sh-sm); }

/* ---------- Alerts / empty ---------- */
.alert { max-width: var(--wrap); margin: 18px auto; padding: 14px 20px; border-radius: var(--r-xs); font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 11px; }
.alert-success { background: rgba(18, 133, 90, .1); color: var(--green); }
.alert-error { background: rgba(214, 64, 42, .1); color: var(--brand-dk); }
.empty { text-align: center; padding: 72px 24px; }
.empty .ic { width: 84px; height: 84px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 22px; }
.empty h2 { font-size: 1.7rem; margin-bottom: 10px; }
.empty p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B7A99D; padding: 76px 0 0; margin-top: 92px; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(214, 64, 42, .22); filter: blur(110px); top: -240px; left: -120px; }
.site-footer .wrap { position: relative; z-index: 2; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 42px; padding-bottom: 52px; }
.footer-mark { width: 50px; height: auto; margin-bottom: 16px; }
.site-footer h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; font-family: var(--body); font-weight: 800; }
.site-footer p { font-size: .92rem; line-height: 1.7; }
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer a { color: #B7A99D; font-size: .92rem; }
.site-footer a:hover { color: var(--gold); }
.foot-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Admin ---------- */
.admin-body { background: #F6F4F1; min-height: 100vh; }
.admin-nav { background: var(--ink); color: #fff; padding: 16px 26px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.admin-nav strong { font-family: var(--display); font-size: 1.15rem; }
.admin-nav a { color: #B7A99D; margin-left: 18px; font-size: .9rem; font-weight: 600; }
.admin-nav a:hover { color: var(--gold); }
.admin-main { padding: 36px 24px; }
.admin-main h1 { font-size: 2rem; margin-bottom: 22px; }
.admin-main h2, .admin-main h3 { margin: 26px 0 14px; font-size: 1.3rem; }
.admin-login-box { max-width: 420px; margin: 90px auto; background: var(--paper); padding: 40px; border-radius: var(--r); box-shadow: var(--sh); }
.admin-login-mark { width: 62px; height: auto; margin: 0 auto 16px; }
.admin-login-box h1 { text-align: center; font-size: 1.5rem; margin-bottom: 24px; }
.admin-login-box .field { margin-bottom: 15px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 34px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--sh-sm); }
.admin-table th, .admin-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: .89rem; }
.admin-table th { background: var(--cream); font-weight: 800; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.admin-table tr:last-child td { border-bottom: 0; }
.status { padding: 4px 12px; border-radius: 100px; font-size: .73rem; font-weight: 800; }
.status-pending { background: #FFF1E0; color: #B45309; }
.status-confirmed { background: #E0EDFF; color: #1D4ED8; }
.status-shipped { background: #EAE6FF; color: #4F32C4; }
.status-delivered { background: rgba(18, 133, 90, .12); color: var(--green); }
.status-cancelled { background: rgba(214, 64, 42, .12); color: var(--brand-dk); }
.order-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 26px; }
.order-detail-grid > div { background: var(--paper); border-radius: var(--r-sm); padding: 24px; box-shadow: var(--sh-sm); }
.order-detail-grid p { font-size: .92rem; margin-bottom: 8px; }
.status-form { margin-top: 16px; display: flex; gap: 9px; align-items: flex-end; flex-wrap: wrap; }
.status-form select { padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-xs); }
.stat-card { background: var(--paper); border-radius: var(--r-sm); padding: 22px; box-shadow: var(--sh-sm); }
.stat-card strong { display: block; font-family: var(--display); font-size: 2.1rem; color: var(--ink); line-height: 1; margin-bottom: 5px; }
.stat-card span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.form-group label { font-weight: 700; font-size: .82rem; color: var(--ink); }
.form-group input, .form-group select, .form-group textarea {
    padding: 13px 17px; border: 1.5px solid var(--line); border-radius: var(--r-xs);
    font-size: .94rem; background: var(--paper);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(214, 64, 42, .1); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .cat-card.wide { grid-column: span 2; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .section { padding: 68px 0; }
    .hero { padding: 56px 0 72px; }
    .hero-grid, .pd-grid, .shop-layout, .cart-layout, .checkout-layout, .about-grid, .contact-layout, .order-detail-grid { grid-template-columns: 1fr; gap: 38px; }
    .hero-visual { order: -1; }
    .hero-frame { max-width: 340px; }
    .nav-toggle { display: flex; }
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--paper); flex-direction: column; padding: 18px;
        box-shadow: var(--sh); gap: 3px; border-top: 1px solid var(--line);
    }
    body.nav-open .nav-links { display: flex; animation: dropIn .3s var(--ease); }
    @keyframes dropIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
    .main-nav { position: relative; }
    .nav-actions { margin-left: auto; }
    .summary, .side-card { position: static; }
    .cta-band { padding: 52px 26px; }
}

@media (max-width: 620px) {
    .wrap, .container { padding: 0 18px; }
    .bento { grid-template-columns: 1fr; }
    .cat-card.wide { grid-column: span 1; }
    .grid-products { grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 14px; }
    .p-body { padding: 14px; }
    .p-body > p { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-stats { gap: 22px; }
    .cart-row { grid-template-columns: 64px 1fr; }
    .cart-row .thumb { width: 64px; height: 64px; }
    .cart-right { grid-column: 1 / -1; justify-content: space-between; }
    .strip-track span { font-size: 1.15rem; }
}


/* ---------- Seller / Farm page ---------- */
.farm-hero { position: relative; min-height: 420px; max-height: 560px; overflow: hidden; display: flex; align-items: flex-end; }
.farm-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.farm-hero-overlay { position: relative; z-index: 2; width: 100%; padding: 72px 0 56px; background: linear-gradient(to top, rgba(23,17,13,.82), rgba(23,17,13,.15) 70%, transparent); color: #fff; }
.farm-hero-overlay h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 14px; }
.farm-hero-overlay p { max-width: 520px; opacity: .88; font-size: 1.05rem; }

.seller-intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: center; }
.seller-photo { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); }
.seller-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.grower-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 28px; }
.grower-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.grower-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.grower-photo { position: relative; }
.grower-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.grower-tag { position: absolute; bottom: 14px; left: 14px; color: #fff; font-size: .72rem; font-weight: 800; padding: 6px 14px; border-radius: 100px; }
.grower-body { padding: 22px 24px 26px; }
.grower-body h3 { font-size: 1.25rem; margin-bottom: 4px; }
.grower-place { font-size: .82rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.grower-body blockquote { font-size: .92rem; color: var(--muted); font-style: italic; line-height: 1.6; border-left: 3px solid var(--gold); padding-left: 14px; margin: 0; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.video-card { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.video-card:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.video-card video { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; background: var(--ink); }
.video-poster { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.play-badge { position: absolute; inset: 0; display: grid; place-items: center; font-size: 2rem; color: #fff; background: rgba(23,17,13,.35); pointer-events: none; }
.video-caption { padding: 20px 22px 24px; }
.video-caption h3 { font-size: 1.1rem; margin-bottom: 8px; }
.video-caption p { font-size: .88rem; color: var(--muted); margin-bottom: 10px; }
.video-soon { font-size: .78rem; font-weight: 700; color: var(--brand); }

.farm-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.farm-gallery-item { border-radius: var(--r); overflow: hidden; margin: 0; aspect-ratio: 1; }
.farm-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.farm-gallery-item:hover img { transform: scale(1.06); }

@media (max-width: 900px) {
    .seller-intro-grid { grid-template-columns: 1fr; }
    .farm-gallery { grid-template-columns: repeat(2, 1fr); }
    .farm-hero { min-height: 340px; }
}

@media (max-width: 620px) {
    .farm-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
}
