:root {
  --green: #2f6b3a; --green-d: #1f4d29; --leaf: #e8f1e4; --cream: #faf7f0; --card: #ffffff;
  --honey: #c9921b; --ink: #23301f; --muted: #6b7566; --line: #e3ded1; --red: #b3392b;
  --radius: 14px; --shadow: 0 2px 10px rgba(35, 48, 31, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; margin: 0 0 .5em; color: var(--green-d); }
a { color: var(--green); }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* top bar */
.announce { background: var(--green-d); color: #fff; text-align: center; font-size: 14px; padding: 6px 12px; }
header.site { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; gap: 16px; padding: 12px 0; flex-wrap: wrap; }
.logo { font: 700 22px Georgia, serif; color: var(--green-d); text-decoration: none; display: flex; align-items: center; gap: 8px; }
nav.main { display: flex; gap: 18px; flex: 1; flex-wrap: wrap; }
nav.main a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 4px 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a.on { border-color: var(--honey); }
.search { display: flex; }
.search input { border: 1px solid var(--line); border-right: 0; border-radius: 999px 0 0 999px; padding: 8px 14px; width: 170px; font: inherit; }
.search button { border: 1px solid var(--green); background: var(--green); color: #fff; border-radius: 0 999px 999px 0; padding: 8px 14px; cursor: pointer; }
.cartlink { text-decoration: none; background: var(--leaf); color: var(--green-d); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.cartlink b { background: var(--honey); color: #fff; border-radius: 999px; padding: 1px 8px; margin-left: 6px; font-size: 13px; }

/* hero */
.hero { background: linear-gradient(120deg, #dcebd5, #f3ead0); border-radius: 22px; padding: 44px 32px; margin: 22px 0; display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: center; }
.hero h1 { font-size: clamp(28px, 4.5vw, 46px); }
.hero p { font-size: 18px; color: #3c4a38; max-width: 520px; }
.hero .art { font-size: clamp(80px, 14vw, 150px); text-align: center; line-height: 1; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .12)); }
.btn { display: inline-block; background: var(--green); color: #fff; border: 0; border-radius: 999px; padding: 11px 24px; font: 600 16px inherit; font-family: inherit; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--green-d); }
.btn.alt { background: #fff; color: var(--green-d); border: 1px solid var(--green); }
.btn.small { padding: 7px 16px; font-size: 14px; }
.btn[disabled] { background: #b9c2b4; cursor: not-allowed; }
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 26px 0; }
.perk { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.perk b { display: block; color: var(--green-d); }

/* sections + product grid */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; margin: 30px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); font-size: 14px; }
.chip.on { background: var(--green); color: #fff; border-color: var(--green); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.card .pic { display: grid; place-items: center; height: 170px; background: linear-gradient(135deg, #eef5ea, #f7efd9); font-size: 74px; text-decoration: none; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .info { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .cat { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card h3 { font: 600 17px system-ui, sans-serif; margin: 0; color: var(--ink); }
.card h3 a { color: inherit; text-decoration: none; }
.price { font-weight: 700; color: var(--green-d); font-size: 18px; }
.price s { color: var(--muted); font-weight: 400; font-size: 14px; margin-left: 6px; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--honey); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.badge.out { background: #777; }
.card .buy { margin-top: auto; padding-top: 8px; }

/* product page */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 26px 0; }
.pdp .big { background: linear-gradient(135deg, #eef5ea, #f7efd9); border-radius: 20px; min-height: 340px; display: grid; place-items: center; font-size: 150px; overflow: hidden; }
.pdp .big img { width: 100%; height: 100%; object-fit: cover; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { border: 0; background: none; width: 34px; height: 34px; font-size: 18px; cursor: pointer; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }

/* cart + checkout + forms */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.two { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; align-items: start; margin: 22px 0; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line .th { font-size: 34px; width: 56px; height: 56px; display: grid; place-items: center; background: var(--leaf); border-radius: 12px; overflow: hidden; }
.line .th img { width: 100%; height: 100%; object-fit: cover; }
.rowsum { display: flex; justify-content: space-between; padding: 6px 0; }
.rowsum.total { font-weight: 700; font-size: 19px; border-top: 2px solid var(--line); margin-top: 6px; padding-top: 12px; }
label { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 4px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--leaf); border-color: var(--green); }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.radio { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 8px 0; cursor: pointer; background: #fff; font-weight: 400; }
.radio input { width: auto; margin-top: 4px; }
.err { background: #fbe9e6; color: var(--red); border: 1px solid #f0c3bc; padding: 10px 14px; border-radius: 10px; margin: 12px 0; }
.ok { background: #e6f3e2; color: var(--green-d); border: 1px solid #bfdcb7; padding: 10px 14px; border-radius: 10px; margin: 12px 0; }
.hp { position: absolute; left: -9999px; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.step { flex: 1; min-width: 90px; text-align: center; padding: 8px 4px; border-radius: 10px; background: #eee9da; color: var(--muted); font-size: 13px; font-weight: 600; }
.step.done { background: var(--green); color: #fff; }
.step.cur { background: var(--honey); color: #fff; }
.muted { color: var(--muted); }
.center { text-align: center; }

footer.site { background: var(--green-d); color: #dfead9; margin-top: 50px; padding: 36px 0 20px; }
footer.site a { color: #fff; }
.fcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
footer.site h4 { color: #fff; margin: 0 0 8px; font-family: Georgia, serif; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: 4px 0; }
.copy { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 22px; padding-top: 14px; font-size: 13px; }
.wa { position: fixed; right: 16px; bottom: 16px; background: #25d366; color: #fff; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); z-index: 30; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 20px; border-radius: 999px; z-index: 40; font-size: 15px; }

@media (max-width: 800px) {
  .hero, .pdp, .two { grid-template-columns: 1fr; }
  .hero { padding: 28px 20px; }
  .search input { width: 120px; }
  nav.main { order: 3; flex-basis: 100%; gap: 14px; }
}
