:root {
  --green-900: #1f3a14;
  --green-800: #2c4f1d;
  --green-700: #3f6b2a;
  --green-500: #6f9f3a;
  --green-300: #b6d77a;
  --green-100: #e6f0d8;
  --cream: #faf8f2;
  --clay: #e9e1d3;
  --ink: #23301c;
  --muted: #5d6b55;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 58, 20, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; margin: 0 0 .5em; color: var(--green-900); }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); letter-spacing: -.02em; }
h1 em { font-style: italic; color: var(--green-500); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--green-700); }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(250, 248, 242, .85); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(63, 107, 42, .08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-900); font-size: 1.75rem; font-family: "Fraunces", serif; font-weight: 500; letter-spacing: -.01em; }
.footer .logo { font-size: 1.5rem; }
.logo b { color: var(--green-500); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--green-700); }

/* buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; background: var(--green-700); color: #fff !important; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; font: inherit; font-weight: 600; transition: transform .15s, background .15s; }
.btn:hover { background: var(--green-800); transform: translateY(-1px); }
.btn-small { padding: 9px 18px; font-size: .9rem; white-space: nowrap; }
.btn-ghost { background: transparent; color: var(--green-700) !important; box-shadow: inset 0 0 0 2px var(--green-300); }
.btn-ghost:hover { background: var(--green-100); }
.btn-light { background: var(--green-300); color: var(--green-900) !important; }
.btn-light:hover { background: #c9e3a5; }

/* hero */
.hero { padding: 72px 0 56px; background: radial-gradient(1000px 500px at 85% 20%, var(--green-100), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--green-500); margin-bottom: .8em; }
.eyebrow-light { color: var(--green-300); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: .95rem; font-weight: 500; }
.trust li { display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }
.bowl { width: 100%; max-width: 440px; display: block; margin-inline: auto; }
.leaf { animation: float 6s ease-in-out infinite; transform-origin: center; }
.leaf2 { animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px) rotate(2deg); } }

/* sections */
.section { padding: 88px 0; }
.section-tint { background: var(--green-100); }
.section-dark { background: var(--green-800); color: #e6f0d8; }
.section-dark h2 { color: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.fact { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.fact b { display: block; font-family: "Fraunces", serif; font-size: 1.7rem; color: var(--green-700); }
.fact span { color: var(--muted); font-size: .92rem; }

/* steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.steps p { color: var(--muted); margin: 0; font-size: .97rem; }
.num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green-700); color: #fff; font-weight: 700; margin-bottom: 14px; }
.tip { margin-top: 28px; padding: 18px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .6); border-left: 4px solid var(--green-500); color: var(--muted); }
.tip b { color: var(--green-900); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card p { color: var(--muted); margin: 0; }
.card .tag { color: var(--green-500); font-weight: 600; font-size: .9rem; margin-bottom: .7em; }
.swatch { width: 56px; height: 56px; border-radius: 50%; background: var(--c); margin-bottom: 18px; box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .12); }
.note { margin-top: 28px; color: var(--muted); font-size: .95rem; }

/* signup */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.signup p { color: #cfe0bb; }
.form { display: flex; flex-wrap: wrap; gap: 10px; }
.form input { flex: 1 1 240px; padding: 14px 20px; border-radius: 999px; border: 0; font: inherit; background: #fff; color: var(--ink); }
.form input:focus { outline: 3px solid var(--green-300); }
.form-msg { width: 100%; margin: 4px 0 0; min-height: 1.4em; font-weight: 600; color: #fff !important; }
.form-legal { width: 100%; font-size: .82rem; margin: 0; opacity: .75; }

/* faq */
.faq { max-width: 820px; }
.faq details { background: #fff; border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--green-900); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--green-500); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* footer */
.footer { padding: 48px 0 28px; border-top: 1px solid rgba(63, 107, 42, .1); background: #f4f2ea; }
.footer p { margin: 0; }

/* shop */
.bar { background: var(--green-800); color: #e6f0d8; text-align: center; font-size: .85rem; padding: 8px 16px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.page-top { padding-top: 40px; }
.h1-page { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.more { font-weight: 600; text-decoration: none; white-space: nowrap; margin-bottom: 1.2em; }
.cart-link { position: relative; display: inline-flex; color: var(--green-900) !important; }
.cart-count { position: absolute; top: -8px; right: -10px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--green-500); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.tag { color: var(--green-500); font-weight: 600; font-size: .9rem; margin-bottom: .7em; }
.grid-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.pc-img { display: grid; place-items: center; background: #f1f6e8; padding: 18px; }
.pc-img .tin { width: 100%; height: auto; max-width: 200px; }
.pc-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 a { text-decoration: none; color: inherit; }
.pc-body .muted { flex: 1; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; gap: 10px; }
.price { white-space: nowrap; font-family: "Fraunces", serif; font-size: 1.35rem; color: var(--green-800); font-weight: 700; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.pd-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.pd-img { background: #f1f6e8; border-radius: var(--radius); display: grid; place-items: center; padding: 24px; }
.pd-img .tin { width: 100%; height: auto; max-width: 420px; }
.pd-weight { color: var(--muted); margin-top: -.3em; }
.pd-price { font-family: "Fraunces", serif; font-size: 2rem; color: var(--green-800); font-weight: 700; }
.buy { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--green-300); overflow: hidden; }
.qty button { width: 44px; height: 48px; border: 0; background: transparent; font-size: 1.3rem; color: var(--green-800); cursor: pointer; }
.qty input { width: 44px; border: 0; text-align: center; font: inherit; font-weight: 700; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.specs { margin: 0 0 20px; border-top: 1px solid rgba(63, 107, 42, .12); }
.specs div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(63, 107, 42, .12); }
.specs dt { color: var(--muted); font-size: .92rem; }
.specs dd { margin: 0; font-weight: 500; }
.howto { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--green-100), #f4f9ec); border-radius: var(--radius); padding: 24px; }
.howto::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(111, 159, 58, .1); }
.howto-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.howto-head h2 { font-size: 1.25rem; margin: 0; }
.howto-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--green-700); box-shadow: var(--shadow); flex: none; }
.howto-chips { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(88px, 1fr)); gap: 10px; position: relative; z-index: 1; }
.howto-chips li { background: #fff; border-radius: 12px; padding: 12px 10px; text-align: center; box-shadow: 0 2px 8px rgba(31, 58, 20, .05); }
.howto-chips b { display: block; font-family: "Fraunces", serif; font-size: 1.2rem; color: var(--green-800); line-height: 1.2; }
.howto-chips span { font-size: .78rem; color: var(--muted); }
.howto p { margin: 0; color: var(--ink); position: relative; z-index: 1; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--green-900); color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); opacity: 0; transition: .25s; z-index: 50; font-weight: 600; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.toast a { color: var(--green-300); margin-left: 8px; }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 16px; align-items: center; background: #fff; padding: 14px; border-radius: 14px; box-shadow: var(--shadow); }
.cart-item .tin { width: 72px; height: 72px; }
.cart-item h3 { font-size: 1.05rem; margin: 0; }
.cart-item h3 a { color: inherit; text-decoration: none; }
.cart-item .remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .85rem; text-decoration: underline; padding: 0; }
.line-total { font-weight: 700; min-width: 90px; text-align: right; }
.summary { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: sticky; top: 90px; }
.summary h2 { font-size: 1.3rem; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; color: var(--muted); }
.sum-row.total { border-top: 1px solid rgba(63, 107, 42, .15); margin-top: 8px; padding-top: 14px; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.ship-hint { background: var(--green-100); border-radius: 10px; padding: 10px 12px; font-size: .88rem; color: var(--green-900); margin: 10px 0; }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 16px; }
.empty { background: #fff; border-radius: var(--radius); padding: 40px; text-align: center; box-shadow: var(--shadow); grid-column: 1 / -1; }

.checkout-form fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.checkout-form legend { font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--green-900); margin-bottom: 12px; }
.checkout-form label { display: block; font-size: .9rem; font-weight: 600; color: var(--green-900); margin-bottom: 14px; }
.checkout-form input:not([type=checkbox]), .checkout-form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border-radius: 10px; border: 1.5px solid #d6e2c6; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
.checkout-form input:focus, .checkout-form textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px var(--green-100); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; color: var(--muted) !important; }
.check input { margin-top: 4px; accent-color: var(--green-700); width: 18px; height: 18px; flex: none; }
.form-error { color: #b03a2e; font-weight: 600; min-height: 1.4em; margin-top: 10px; }
#pay-root { max-width: 760px; margin: 0 auto; }
#pay-root iframe { width: 100%; border: 0; min-height: 600px; }
.mock-pay { background: #fff7e0; border: 2px dashed #e0b84a; border-radius: var(--radius); padding: 28px; text-align: center; }
.mock-pay .btn { margin: 6px; }
.status-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; font-size: 2rem; color: #fff; }
.status-ok { background: var(--green-500); }
.status-bad { background: #c0533f; }
.status-wait { background: #c9a43a; }

.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal p { color: var(--muted); }

.admin-form { max-width: 420px; margin-bottom: 24px; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); font-size: .9rem; }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid #eef3e6; vertical-align: top; }
.admin-table th { background: var(--green-100); color: var(--green-900); }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; }
.badge-paid { background: #dcefc6; color: #2c4f1d; }
.badge-pending { background: #fbefc9; color: #7a5a00; }
.badge-failed { background: #f6d5cf; color: #8a2b1c; }
.table-wrap { overflow-x: auto; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 32px; padding-bottom: 24px; }
.footer-grid h4 { margin: 0 0 10px; font-size: .9rem; color: var(--green-900); }
.footer-grid a:not(.logo) { display: block; text-decoration: none; color: var(--muted); font-size: .9rem; padding: 3px 0; }
.footer-grid a:hover { color: var(--green-700); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(63, 107, 42, .1); padding-top: 18px; color: var(--muted); font-size: .85rem; }

@media (max-width: 900px) {
  .hero-grid, .two-col, .signup, .pd-grid, .cart-layout, .checkout-layout, .footer-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .hero-art { order: -1; }
  .bowl { max-width: 300px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .nav-links a:not(.btn):not(.cart-link) { display: none; }
  .nav-inner { height: 70px; }
  .logo { font-size: 1.45rem; }
  .logo svg { width: 38px; height: 38px; }
  .section { padding: 64px 0; }
}
@media (max-width: 520px) {
  .steps, .facts, .row2 { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 56px 1fr; }
  .cart-item .tin { width: 56px; height: 56px; }
  .cart-item .qty, .cart-item .line-total { grid-column: 2; justify-self: start; }
  .line-total { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .leaf { animation: none; }
  html { scroll-behavior: auto; }
}
