:root {
  --bg: #0a0a0f;
  --bg-2: #07070d;
  --card: #0f0f1a;
  --card-2: #141426;
  --mid: #1a0f2e;
  --ink: #f5f5f5;
  --ink-hi: #f0f0ff;
  --dim: #a78bfa;
  --text-dim: #9aa0ad;
  --red: #bf392b;
  --red-hi: #d9493a;
  --purple: #8b4cf2;
  --green: #3cff14;
  --orange: #f97316;
  --yellow: #facc15;
  --border: #2e1a4b;
  --radius: 10px;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-head: "Alfa Slab One", Georgia, serif;
  --tabbar-h: 68px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); background: var(--bg); color: var(--ink); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 400; line-height: 1.05; color: var(--ink-hi); text-wrap: balance; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 9vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 5.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.banner { background: var(--yellow); color: #0a0a0f; text-align: center; font-weight: 700; font-size: .84rem; padding: 7px 14px; }
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(10, 10, 15, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--purple); }
.brand span { font-family: var(--font-head); font-size: 1.02rem; line-height: 1; color: var(--ink-hi); }
.brand small { display: block; font-family: var(--font-body); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-top: 3px; font-weight: 700; }
.top-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--border); display: grid; place-items: center; position: relative; color: var(--ink); background: var(--card); }
.icon-btn svg { width: 20px; height: 20px; }
.badge-dot { position: absolute; top: -5px; right: -5px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; min-width: 19px; height: 19px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }
.desk-nav { display: none; }
.top-actions .btn { display: none; }
main { max-width: 1120px; margin: 0 auto; padding-bottom: calc(var(--tabbar-h) + 28px); min-height: 70vh; }
.view { animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--bg-2); border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(5, 1fr); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: #8b87a8; font-size: .72rem; font-weight: 600; }
.tabbar a svg { width: 23px; height: 23px; }
.tabbar a.active { color: var(--ink-hi); }
.tabbar a.active svg { color: var(--green); filter: drop-shadow(0 0 6px rgba(60, 255, 20, .55)); }
@media (min-width: 900px) {
  .desk-nav { display: flex; gap: 20px; font-size: .95rem; font-weight: 600; }
  .desk-nav a { text-decoration: none; color: var(--dim); padding: 6px 0; border-bottom: 2px solid transparent; }
  .desk-nav a.active { color: var(--ink-hi); border-color: var(--green); }
  .top-actions .btn { display: inline-flex; }
  .tabbar { display: none; }
  main { padding-bottom: 40px; }
}

.section { padding: 34px 18px; }
.kicker { display: flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green); font-weight: 700; margin-bottom: 10px; font-family: var(--font-head); }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--green); }
.lead { color: var(--dim); font-size: 1.06rem; margin-top: 12px; max-width: 62ch; }
.muted { color: var(--text-dim); font-size: .92rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 6px; font-weight: 700; text-decoration: none; transition: background .2s, box-shadow .2s, transform .1s; font-size: .98rem; }
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.btn-red:hover { background: var(--red-hi); box-shadow: 0 0 24px rgba(191, 57, 43, .5); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-ghost { border: 1.5px solid var(--dim); color: var(--ink-hi); }
.btn-dark { background: var(--card-2); border: 1px solid var(--border); color: var(--ink-hi); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 18px 6px; margin: 0 -18px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--border); background: var(--card); padding: 8px 15px; border-radius: 999px; font-size: .88rem; color: var(--dim); font-weight: 600; }
.chip.on { background: var(--red); border-color: var(--red); color: #fff; }
.price { font-family: var(--font-head); color: var(--ink-hi); font-size: 1.3rem; }
.tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 4px; background: var(--purple); color: #fff; }
.tag.red { background: var(--red); }
.tag.green { background: var(--green); color: #0a0a0f; }
.tag.yellow { background: var(--yellow); color: #0a0a0f; }
.tag.dim { background: #2b2b3c; color: #c9c9d6; }

/* hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 15, .35), rgba(26, 15, 46, .75) 50%, rgba(10, 10, 15, .97)); }
.hero .ghost { position: absolute; right: -10px; top: 26%; font-family: var(--font-head); font-size: 9rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(60, 255, 20, .28); z-index: 1; pointer-events: none; letter-spacing: .02em; }
.hero-inner { position: relative; z-index: 2; padding: 30px 18px; max-width: 760px; }
.hero p { color: var(--dim); font-size: 1.1rem; margin: 14px 0 22px; }
.hero .btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 900px) { .hero { min-height: 640px; } .hero-inner { padding: 60px 40px; } .hero .ghost { font-size: 16rem; } }

.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 18px; }
.quick a { text-decoration: none; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 6px 12px; display: grid; justify-items: center; gap: 7px; font-size: .78rem; font-weight: 700; color: var(--ink-hi); text-align: center; }
.quick a svg { width: 24px; height: 24px; color: var(--green); }

.feat { display: grid; gap: 12px; margin-top: 18px; }
.feat .card { padding: 18px; }
.feat h3 { color: var(--ink-hi); margin-bottom: 6px; font-size: 1.05rem; }
.feat .n { font-family: var(--font-head); color: var(--orange); font-size: .85rem; margin-bottom: 8px; display: block; }
@media (min-width: 700px) { .feat { grid-template-columns: repeat(3, 1fr); } }

.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--mid); padding: 14px 0; }
.marquee div { display: flex; gap: 28px; width: max-content; animation: scroll 40s linear infinite; font-family: var(--font-head); color: var(--dim); font-size: 1.05rem; white-space: nowrap; }
.marquee div span::after { content: "✦"; margin-left: 28px; color: var(--green); }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee div { animation: none; } }

.split { display: grid; gap: 22px; align-items: center; }
.split img { border-radius: 12px; width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--border); }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* products */
.page-head { padding: 26px 18px 6px; }
.search { position: relative; margin-top: 14px; }
.search input { width: 100%; padding: 12px 14px 12px 42px; border-radius: 8px; background: var(--card); border: 1px solid var(--border); color: var(--ink-hi); }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--dim); }
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 760px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .products { grid-template-columns: repeat(4, 1fr); } }
.product { overflow: hidden; display: flex; flex-direction: column; }
.product .img { aspect-ratio: 1; background: var(--card-2); position: relative; }
.product .img img { width: 100%; height: 100%; object-fit: cover; }
.product.oos .img img { filter: grayscale(.85) brightness(.6); }
.product .img .tags { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.product .body { padding: 11px 12px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.product h3 { font-size: .98rem; line-height: 1.15; }
.product p { font-size: .8rem; color: var(--text-dim); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; gap: 6px; }
.add { background: var(--red); color: #fff; border-radius: 6px; padding: 7px 12px; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.add.added { background: var(--purple); }
.add[disabled] { background: #2b2b3c; color: #8a8a99; }
select.mini { background: var(--card-2); border: 1px solid var(--border); border-radius: 6px; padding: 6px; font-size: .8rem; color: var(--ink-hi); width: 100%; }

/* peppers */
.heat { display: flex; gap: 3px; align-items: center; }
.heat i { width: 14px; height: 6px; border-radius: 3px; background: #2b2b3c; }
.heat i.on { background: linear-gradient(90deg, var(--yellow), var(--orange), var(--red)); }
.heat i.on:nth-child(5) { background: var(--red); box-shadow: 0 0 8px var(--red); }
.pep { display: grid; grid-template-columns: 112px 1fr; overflow: hidden; }
.pep .img { background: var(--card-2); }
.pep .img img { width: 100%; height: 100%; object-fit: cover; }
.pep.oos .img img { filter: grayscale(.8) brightness(.6); }
.pep .body { padding: 13px 14px; display: grid; gap: 6px; align-content: start; }
.pep h3 { font-size: 1.08rem; }
.pep .meta { font-size: .8rem; color: var(--dim); }
.pep p { font-size: .86rem; color: var(--text-dim); }
.pep .buy { display: flex; gap: 8px; margin-top: 4px; }
.pep .buy select { flex: 1; }
@media (min-width: 760px) { .pep-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .pep-list > * { margin: 0 !important; } .pep { grid-template-columns: 150px 1fr; } }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 14px; }
.scale button { padding: 10px 2px; border-radius: 6px; font-size: .74rem; font-weight: 700; color: #0a0a0f; opacity: .55; border: 2px solid transparent; }
.scale button.on { opacity: 1; border-color: #fff; }
.scale button:nth-child(1) { background: #b7f59a; } .scale button:nth-child(2) { background: var(--yellow); } .scale button:nth-child(3) { background: var(--orange); } .scale button:nth-child(4) { background: #ef4444; color: #fff; } .scale button:nth-child(5) { background: #7f1d1d; color: #fff; }

/* workshops */
.ws { overflow: hidden; }
.ws .img { aspect-ratio: 16/9; position: relative; }
.ws .img img { width: 100%; height: 100%; object-fit: cover; }
.ws .img .tag { position: absolute; top: 10px; left: 10px; }
.ws .body { padding: 16px; display: grid; gap: 8px; }
.ws .row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ws .date { color: var(--green); font-weight: 700; font-size: .85rem; }
.ws .take { font-size: .84rem; color: var(--orange); font-weight: 600; }

/* sheet */
.sheet-wrap { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .65); display: none; }
.sheet-wrap.open { display: block; animation: fi .2s; }
@keyframes fi { from { opacity: 0; } }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 90vh; overflow-y: auto; background: var(--bg); border-top: 1px solid var(--border); border-radius: 18px 18px 0 0; padding: 10px 18px calc(24px + env(safe-area-inset-bottom)); animation: up .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes up { from { transform: translateY(100%); } }
.sheet .grab { width: 44px; height: 5px; border-radius: 5px; background: var(--border); margin: 0 auto 14px; }
@media (min-width: 900px) { .sheet { left: auto; top: 0; width: 460px; max-height: none; border-radius: 0; border-left: 1px solid var(--border); animation: side .28s cubic-bezier(.2, .8, .2, 1); } @keyframes side { from { transform: translateX(100%); } } }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.cart-line img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.cart-line b { display: block; line-height: 1.2; font-size: .95rem; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); background: var(--card-2); font-weight: 700; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .85rem; font-weight: 700; color: var(--dim); }
.input { width: 100%; border: 1.5px solid var(--border); background: var(--card); border-radius: 8px; padding: 12px 13px; font-size: 1rem; color: var(--ink-hi); }
.input:focus { outline: none; border-color: var(--purple); }
textarea.input { min-height: 90px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt-grid { display: grid; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.opt { text-align: left; border: 1.5px solid var(--border); background: var(--card); border-radius: 10px; padding: 11px; display: grid; gap: 3px; }
.opt b { font-size: .92rem; color: var(--ink-hi); }
.opt small { color: var(--text-dim); font-size: .74rem; line-height: 1.3; }
.opt.on { border-color: var(--green); box-shadow: 0 0 0 3px rgba(60, 255, 20, .14); }
.opt[disabled] { opacity: .4; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--mid); border: 1px solid var(--border); margin: 10px 0; font-size: .92rem; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #2b2b3c; border-radius: 26px; transition: .2s; }
.switch span::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::before { transform: translateX(20px); }
.summary-list { display: grid; gap: 8px; font-size: .95rem; }
.summary-list div { display: flex; justify-content: space-between; gap: 12px; }
.summary-list div span:first-child { color: var(--text-dim); }
.summary-list div span:last-child { font-weight: 700; text-align: right; }
.success { text-align: center; padding: 34px 18px; }
.seal { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--green); display: grid; place-items: center; color: #0a0a0f; box-shadow: 0 0 40px rgba(60, 255, 20, .4); }
.seal svg { width: 40px; height: 40px; }

/* club */
.club-hero { padding: 30px 18px; background: radial-gradient(120% 90% at 100% 0%, rgba(139, 76, 242, .35), transparent 60%), radial-gradient(80% 80% at 0% 100%, rgba(191, 57, 43, .3), transparent 60%), var(--mid); border-bottom: 1px solid var(--border); }
.checks { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; color: var(--green); font-weight: 700; font-size: .9rem; }
.rewards-card { margin: 18px; padding: 22px; border-radius: 16px; background: linear-gradient(135deg, #2a0f4a 0%, #4a1230 60%, #7a1f17 100%); border: 1px solid #5b2d8f; box-shadow: 0 20px 40px -20px rgba(139, 76, 242, .6); }
.rewards-card small { letter-spacing: .18em; text-transform: uppercase; font-size: .7rem; color: var(--green); font-weight: 700; }
.rewards-card .bal { font-family: var(--font-head); font-size: 3rem; color: #fff; line-height: 1; margin: 6px 0; }
.bar { height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .12); overflow: hidden; margin-top: 12px; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--yellow), var(--orange), var(--red)); border-radius: 10px; }
.perks { display: grid; gap: 12px; }
.perks .card { padding: 16px; }
.perks h3 { color: var(--ink-hi); margin-bottom: 4px; }
@media (min-width: 760px) { .perks { grid-template-columns: repeat(2, 1fr); } }
.status { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 4px; background: #2b2b3c; color: #ddd; }
.status.new { background: var(--yellow); color: #0a0a0f; }
.status.confirmed, .status.completed, .status.shipped { background: var(--green); color: #0a0a0f; }
.status.cancelled { background: #555; }

/* more */
.menu-list { display: grid; gap: 10px; }
.menu-list a { display: flex; align-items: center; gap: 14px; padding: 15px 16px; text-decoration: none; }
.menu-list svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.menu-list b { display: block; color: var(--ink-hi); }
.menu-list small { color: var(--text-dim); font-size: .84rem; }
.menu-list .chev { margin-left: auto; color: var(--border); }
.farmer { overflow: hidden; }
.farmer img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.farmer .body { padding: 16px; }
.farmer .role { color: var(--green); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }
.farmer .fav { margin-top: 10px; color: var(--orange); font-weight: 700; font-size: .9rem; }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--border); margin-left: 8px; }
.timeline div { padding: 0 0 20px 20px; position: relative; }
.timeline div::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.timeline b { font-family: var(--font-head); color: var(--ink-hi); display: block; font-weight: 400; }
blockquote.q { font-family: var(--font-head); font-size: 1.4rem; color: var(--dim); border-left: 3px solid var(--green); padding-left: 14px; margin: 20px 0; line-height: 1.25; }
.faq details { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; color: var(--ink-hi); }
.faq p { margin-top: 8px; color: var(--text-dim); font-size: .93rem; }
.contact-row { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }
.contact-row .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--mid); display: grid; place-items: center; color: var(--green); flex: none; }
.contact-row .ico svg { width: 20px; height: 20px; }
.contact-row .acts { margin-left: auto; display: flex; gap: 6px; }
.contact-row .acts a { font-size: .8rem; font-weight: 700; text-decoration: none; padding: 7px 11px; border-radius: 6px; background: var(--red); color: #fff; }
footer.foot { background: var(--bg-2); border-top: 1px solid var(--border); padding: 30px 18px; text-align: center; font-size: .88rem; color: var(--text-dim); }
footer.foot .q { font-family: var(--font-head); color: var(--ink-hi); font-size: 1.15rem; margin-bottom: 8px; }
footer.foot a { color: var(--dim); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 20px); transform: translateX(-50%) translateY(20px); background: var(--purple); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: .9rem; font-weight: 700; opacity: 0; transition: .25s; z-index: 80; pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.err { color: #ff8a7a; font-size: .88rem; font-weight: 700; margin-top: 6px; }
.empty { text-align: center; padding: 26px 16px; color: var(--text-dim); }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.admin-stats .card { padding: 14px; text-align: center; }
.admin-stats b { font-family: var(--font-head); font-size: 1.9rem; color: var(--green); display: block; line-height: 1; font-weight: 400; }
.admin-stats small { font-size: .72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; }
.admin-rec { padding: 14px 16px; display: grid; gap: 6px; font-size: .9rem; }
.admin-rec .acts { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-rec .acts button { font-size: .78rem; font-weight: 700; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--border); background: var(--card-2); }
