:root {
  --bg: #fffaf5;
  --surface: #ffffff;
  --text: #1f2421;
  --muted: #5f6b66;
  --primary: #2f6b4f;
  --primary-dark: #24543e;
  --accent: #f2a65a;
  --line: #ece4da;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(31, 36, 33, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: var(--primary); }
img { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.center { text-align: center; }
.section { padding: 64px 0; }

.topbar { background: var(--primary); color: #fff; text-align: center; font-size: .85rem; padding: 8px 16px; }

.header { position: sticky; top: 0; z-index: 20; background: rgba(255, 250, 245, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--text); margin: 0; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--text); }
.cart-btn { position: relative; border: 0; background: var(--surface); border-radius: 999px; padding: 8px 14px; font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow); }
.badge { background: var(--accent); color: #fff; border-radius: 999px; font-size: .75rem; padding: 1px 7px; font-weight: 700; }

.btn { display: inline-block; border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; transition: transform .1s, background .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn.small { padding: 8px 14px; font-size: .85rem; margin-top: 8px; }
.btn.full { width: 100%; }

.hero { padding: 56px 0 40px; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }
.rating-line { color: var(--accent); margin-top: 16px; }
.rating-line strong { color: var(--text); }
.hero-visual { font-size: clamp(5rem, 14vw, 9rem); text-align: center; background: linear-gradient(135deg, #fde6cf, #d9efe3); border-radius: 32px; aspect-ratio: 1; display: grid; place-items: center; }

.usp { background: var(--surface); border-block: 1px solid var(--line); padding: 24px 0; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.usp-grid div { display: flex; flex-direction: column; }
.usp-grid span { font-size: 1.6rem; }
.usp-grid small { color: var(--muted); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 600; color: var(--muted); }
.chip.active { background: var(--text); color: #fff; border-color: var(--text); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform .2s; }
.card:hover { transform: translateY(-3px); }
.card-img { aspect-ratio: 1; display: grid; place-items: center; font-size: 4.5rem; position: relative; }
.tag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 1.05rem; margin: 0; }
.stars { color: var(--accent); font-size: .9rem; }
.stars span { color: var(--muted); }
.price { font-weight: 800; font-size: 1.15rem; }
.price s { color: var(--muted); font-weight: 400; font-size: .9rem; margin-left: 6px; }
.card .btn { margin-top: auto; padding: 10px; }
.price-note { color: var(--muted); font-size: .85rem; margin-top: 16px; }

.story { background: #eef6f1; }
.story-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: center; }
.story-visual { font-size: 7rem; text-align: center; }
.checks { list-style: none; padding: 0; }
.checks li::before { content: "✓ "; color: var(--primary); font-weight: 800; }

.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.reviews blockquote { margin: 0; background: var(--surface); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }
.reviews p { color: var(--accent); margin: 0 0 8px; }
.reviews cite { display: block; margin-top: 12px; color: var(--muted); font-style: normal; font-size: .9rem; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }

.newsletter { background: var(--text); color: #fff; }
.newsletter a { color: var(--accent); }
.nl-form { display: flex; gap: 8px; margin: 20px 0 10px; }
.nl-form input { flex: 1; padding: 14px 18px; border-radius: 999px; border: 0; font-size: 1rem; min-width: 0; }

.footer { background: #161a18; color: #c9d1cd; padding: 48px 0 24px; }
.footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid div { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.footer a { color: #c9d1cd; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer strong { color: #fff; }
.footer .btn-outline { color: #fff; border-color: #fff; }
.pay { font-size: .85rem; }
.copy { font-size: .8rem; margin-top: 32px; opacity: .7; }

/* Drawer */
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: var(--surface); z-index: 50; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.icon-btn { border: 0; background: none; font-size: 1.3rem; cursor: pointer; }
.shipping-progress { padding: 14px 20px; background: #eef6f1; font-size: .9rem; }
.shipping-progress p { margin: 0 0 6px; }
.bar { height: 8px; background: #d4e6dc; border-radius: 999px; overflow: hidden; }
.bar div { height: 100%; background: var(--primary); width: 0; transition: width .3s; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 56px; height: 56px; border-radius: 10px; display: grid; place-items: center; font-size: 1.8rem; }
.qty { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.empty { color: var(--muted); text-align: center; padding: 40px 0; }
.drawer-foot { padding: 20px; border-top: 1px solid var(--line); }
.drawer-foot small { display: block; color: var(--muted); margin-bottom: 12px; }
.sum { display: flex; justify-content: space-between; font-size: 1.1rem; }
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.show { opacity: 1; pointer-events: auto; }

/* Dialog */
.dialog { border: 0; border-radius: 18px; padding: 0; width: min(760px, 100% - 32px); box-shadow: var(--shadow); }
.dialog::backdrop { background: rgba(0, 0, 0, .45); }
.dialog-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.dialog-body label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.dialog-body input { padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 1rem; }
.row { display: flex; gap: 8px; justify-content: flex-end; }
.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd-img { font-size: 7rem; display: grid; place-items: center; min-height: 300px; }
.pd-info { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.pd-info ul { padding-left: 18px; margin: 0; }
.pd-meta { font-size: .85rem; color: var(--muted); }
.pd-close { position: absolute; top: 10px; right: 14px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--text); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 60; transition: transform .3s; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 800px) {
  .nav { display: none; }
  .hero-inner, .story-inner, .pd { grid-template-columns: 1fr; }
  .hero-visual { max-width: 280px; margin-inline: auto; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .pd-img { min-height: 200px; }
  .section { padding: 48px 0; }
}
