:root {
  --g: #17a34a;
  --g2: #4ade80;
  --g3: #dcfce7;
  --ink: #0f1410;
  --muted: #5c675f;
  --line: #e4e8e4;
  --bg: #f3f6f3;
  --paper: #ffffff;
  --forest: #062012;
  --sans: "IBM Plex Sans", "Noto Sans", system-ui, sans-serif;
  --disp: "Sora", "IBM Plex Sans", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 1180px;
  --r: 18px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(var(--max), calc(100% - 36px)); margin-inline: auto; }
.mono { font-family: var(--mono); }

.announce {
  background: var(--forest);
  color: #bbf7d0;
  text-align: center;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 9px 16px;
  font-family: var(--mono);
}
.dot-sep { opacity: .45; margin: 0 6px; }
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(243,246,243,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand img { height: 44px; width: auto; }
.brand.mini img { height: 36px; }
.nav { display: flex; gap: 22px; margin-right: auto; font-size: 14px; font-weight: 500; }
.nav a { color: var(--muted); }
.nav a:hover, .nav a.is-on { color: var(--ink); }
.bar-end { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.ghost-link { font-size: 13px; color: var(--muted); font-weight: 500; }
.bag { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.dot { position: absolute; top: -4px; right: -4px; background: var(--g); color: #fff; min-width: 18px; height: 18px; border-radius: 99px; font-size: 10px; font-weight: 600; display: grid; place-items: center; padding: 0 4px; font-family: var(--mono); }
.only-m { display: none; background: none; border: 0; width: 36px; height: 36px; }
.only-m span { display: block; height: 2px; background: var(--ink); margin: 6px 4px; }

.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: #f4faf5; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,32,18,.88) 8%, rgba(6,32,18,.55) 58%, rgba(6,32,18,.28)); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; padding: 88px 0 56px; }
.kicker { color: var(--g); font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; }
.kicker.light { color: var(--g2); }
h1, h2 { font-family: var(--disp); letter-spacing: -0.035em; line-height: 1.05; font-weight: 600; }
h1 { font-size: clamp(34px, 5.4vw, 62px); margin: 12px 0 16px; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
.lede { font-size: 18px; color: #cfe7d6; max-width: 48ch; margin-bottom: 22px; }
.section .lede, .about .lede, .center .lede { color: var(--muted); }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero-panel { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(18px); border-radius: 22px; padding: 28px; }
.hero-panel img { height: 42px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.hero-panel li { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #d7eadc; }
.hero-panel li span { font-family: var(--mono); color: #fff; }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; cursor: pointer; background: none; font-size: 14px; }
.btn-g { background: var(--g); color: #fff; }
.btn-g:hover { background: #15803d; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); }
.section .btn-ghost, .panel .btn-ghost, .login-box .btn-ghost, .cta .btn-ghost { border-color: var(--ink); color: var(--ink); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.text-link { font-weight: 600; color: var(--g); }

.metrics { background: #fff; border-bottom: 1px solid var(--line); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 0; }
.metrics-grid div { padding: 4px 18px; border-left: 1px solid var(--line); }
.metrics-grid div:first-child { border-left: 0; padding-left: 0; }
.metrics-grid strong { display: block; font-size: 15px; }
.metrics-grid span { color: var(--muted); font-size: 13px; }

.section { padding: 72px 0 28px; }
.section.tight { padding-top: 28px; padding-bottom: 72px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 26px; }
.eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat { position: relative; min-height: 280px; border-radius: var(--r); overflow: hidden; color: #fff; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover img { transform: scale(1.06); }
.cat::after { content:""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,32,18,.82), rgba(6,32,18,.1)); }
.cat div { position: relative; z-index: 1; padding: 22px; margin-top: auto; display: flex; flex-direction: column; gap: 6px; height: 100%; justify-content: flex-end; }
.cat strong { font-family: var(--disp); font-size: 28px; }
.cat span { color: #d7eadc; font-size: 14px; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,20,16,.08); }
.card-img { position: relative; aspect-ratio: 4/3; background: #e8eee8; display: block; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 12px; top: 12px; background: var(--forest); color: #bbf7d0; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; font-weight: 500; padding: 5px 8px; border-radius: 999px; }
.tag-r { left: auto; right: 12px; background: #fff; color: var(--ink); }
.card-body { padding: 14px 16px 16px; }
.card-body h3 { font-size: 16px; font-family: var(--sans); letter-spacing: 0; line-height: 1.3; font-weight: 600; margin: 4px 0 10px; }
.card-foot { display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.price { display: flex; gap: 8px; align-items: baseline; }
.price s { color: var(--muted); font-weight: 400; }
.price.lg { font-size: 26px; margin: 10px 0 16px; font-family: var(--disp); }
.stock { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.stock.low { color: #b45309; }
.muted { color: var(--muted); }
.sm { font-size: 13px; }

.band { background: var(--forest); color: #ecfdf3; padding: 72px 0; margin-top: 24px; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.band p { color: #b7d4c0; margin-top: 12px; max-width: 48ch; }
.ticks { list-style: none; }
.ticks li { padding: 12px 0 12px 22px; position: relative; border-bottom: 1px solid #134e2c; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--g2); }

.cta { padding: 28px 0 80px; }
.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; }
.cta-box p { color: var(--muted); margin-top: 8px; max-width: 52ch; }

.foot { border-top: 1px solid var(--line); padding: 48px 0 20px; background: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.brand-foot { height: 40px; width: auto; margin-bottom: 12px; }
.foot h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.foot a, .foot p { display: block; color: var(--muted); font-size: 14px; margin-top: 7px; }
.legal { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; font-family: var(--mono); }
.db-chip { margin-top: 14px; display: inline-block; background: var(--g3); color: #14532d; padding: 4px 8px; border-radius: 999px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.chip.on, .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.pdp-img { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.pdp-img img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0; }
.meta-row li { background: var(--g3); padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; font-family: var(--mono); }
.qty { width: 76px; height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 10px; background: #fff; }
.specs { width: 100%; border-collapse: collapse; margin-top: 28px; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs th { color: var(--muted); font-weight: 500; width: 38%; font-family: var(--mono); font-size: 12px; }

.cart-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; margin-top: 20px; }
.cart-line { display: grid; grid-template-columns: 104px 1fr auto; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px; margin-bottom: 10px; }
.cart-line img { width: 104px; height: 80px; object-fit: cover; border-radius: 10px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.sum { display: flex; justify-content: space-between; padding: 8px 0; }
.sum.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-size: 18px; font-family: var(--disp); }
.linkish { background: none; border: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: 13px; }

.form { display: grid; gap: 12px; }
.form label, fieldset label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
.form input, .form select, .form textarea { height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; background: #fff; }
.form textarea { height: auto; padding: 10px 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #fff; }
.pay-opt { display: flex; flex-direction: column; gap: 2px; font-weight: 600; padding: 8px 0; }
.pay-opt small { font-weight: 400; color: var(--muted); }

.flash { margin: 12px auto; width: min(var(--max), calc(100% - 36px)); padding: 11px 14px; border-radius: 12px; }
.flash--ok { background: var(--g3); color: #14532d; }
.flash--err { background: #fee2e2; color: #991b1b; }
.center { text-align: center; padding: 80px 16px; }
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-bottom: 80px; }
.about img { background: #fff; padding: 48px; border-radius: 24px; border: 1px solid var(--line); }

.admin { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.aside { background: var(--forest); color: #ecfdf3; padding: 22px 16px; display: flex; flex-direction: column; gap: 16px; }
.aside nav { display: grid; gap: 8px; }
.aside a { color: #bbf7d0; }
.admin-main { padding: 28px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 28px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.stat span { color: var(--muted); font-size: 13px; }
.stat strong { display: block; font-size: 26px; font-family: var(--disp); }
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: var(--mono); }
.thumb { width: 56px; height: 40px; object-fit: cover; border-radius: 6px; }
.st { font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #e5e7eb; text-transform: capitalize; }
.st-new { background: #fef3c7; }
.st-confirmed { background: #dbeafe; }
.st-packed, .st-shipped { background: #dcfce7; }
.st-delivered { background: #bbf7d0; }
.st-cancelled { background: #fee2e2; }
.two-admin { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 16px 0; }
.check { display: flex !important; flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
.login-body { min-height: 100vh; display: grid; place-items: center; background: var(--bg); }
.login-box { width: min(380px, calc(100% - 24px)); display: grid; gap: 12px; }
.login-box img { height: 48px; width: auto; }
.login-box h1 { font-size: 28px; }

@media (max-width: 960px) {
  .hero-grid, .prod-grid, .cat-grid, .pdp, .cart-layout, .band-grid, .foot-grid, .about, .admin, .stats, .two, .two-admin, .metrics-grid, .cta-box { grid-template-columns: 1fr; }
  .metrics-grid div { border-left: 0; padding: 12px 0; border-top: 1px solid var(--line); }
  .nav { display: none; }
  .nav.open { display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 76px; background: #fff; padding: 16px 20px 20px; border-bottom: 1px solid var(--line); }
  .only-m { display: block; }
  .hide-m { display: none; }
  .bar { position: relative; }
  .admin { display: block; }
  .aside { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .hero { min-height: auto; }
  .hero-grid { padding: 48px 0 36px; }
}
