:root {
  --ink: #1b2d28;
  --green: #1b5e20;
  --leaf: #2e7d32;
  --gold: #febd04;
  --line: #edefec;
  --card: #e6e9e4;
  --muted: #66756c;
  color: var(--ink);
  background: #fff;
  font-family: Urbanist, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }

.ticker { position: relative; overflow: hidden; height: 42px; display: flex; align-items: center; color: #fff; background: var(--green); }
.ticker:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--leaf) 0 62%, var(--gold)); }
.ticker-track { display: flex; align-items: center; flex-shrink: 0; width: max-content; height: 100%; animation: run 34s linear infinite; font-size: 13px; font-weight: 800; letter-spacing: .03em; white-space: nowrap; }
.ticker-track span, .ticker-track i { flex-shrink: 0; white-space: nowrap; }
.ticker-track span { padding: 0 8px; }
.ticker-track i { margin: 0 14px; color: var(--gold); font-style: normal; }
@keyframes run { to { transform: translateX(-50%); } }

.bar { display: grid; grid-template-columns: 210px minmax(240px, 675px) auto; align-items: center; justify-content: space-between; gap: 22px; padding: 14px 32px; background: #fff; position: sticky; top: 0; z-index: 30; }
.logo img { height: 74px; width: auto; display: block; }
.search { display: flex; height: 50px; border: 1.5px solid #e2e5e1; border-radius: 4px; overflow: hidden; background: #fff; }
.search:focus-within { border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(46, 125, 50, .14); }
.search input { flex: 1; border: 0; outline: 0; padding: 0 16px; }
.search button { border: 0; background: var(--leaf); color: #fff; padding: 0 22px; font-weight: 900; letter-spacing: .06em; cursor: pointer; }
.tools { display: flex; gap: 18px; }
.tools a { text-decoration: none; font-size: 12px; font-weight: 900; letter-spacing: .04em; display: grid; justify-items: center; gap: 2px; }
.tools b { min-width: 18px; height: 18px; border-radius: 99px; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 11px; }
.burger, .navtog { display: none; }

.nav { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.03); font-size: 14px; font-weight: 800; }
.item { position: static; }
.item > a { display: flex; align-items: center; height: 56px; padding: 0 10px; text-decoration: none; white-space: nowrap; }
.subtog { display: none; }
.item.hot > a { height: 34px; padding: 0 14px; border-radius: 999px; background: var(--gold); color: #1b2d28; }
.mega { display: none; position: absolute; z-index: 40; left: 50%; top: 100%; width: min(760px, calc(100vw - 32px)); transform: translateX(-50%); padding: 18px 22px; border: 1px solid var(--line); background: #fff; box-shadow: 0 22px 44px rgba(0,0,0,.13); grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.item:hover .mega, .item:focus-within .mega { display: grid; }
.mega a { text-decoration: none; padding: 7px 0; font-weight: 700; color: #24362d; }
.mega a:hover { color: var(--leaf); }

.hero { position: relative; height: clamp(400px, 35.714vw, 1000px); overflow: hidden; background: #fff; }
.hero-track { display: flex; height: 100%; width: 100%; transition: transform .45s ease; }
.slide { flex: 0 0 100%; height: 100%; display: block; }
.slide picture { display: block; width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.arrow { position: absolute; top: 50%; z-index: 2; width: 45px; height: 45px; border: 0; border-radius: 50%; transform: translateY(-50%); background: rgba(255,255,255,.92); color: #17351d; font-size: 32px; line-height: 1; cursor: pointer; }
.prev { left: 18px; }
.next { right: 18px; }
.dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 7px; }
.dot { width: 9px; height: 9px; border: 0; border-radius: 99px; background: rgba(255,255,255,.75); cursor: pointer; padding: 0; }
.dot.on { width: 28px; background: #ffc400; }

.benefits { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px max(20px, calc((100% - 1312px) / 2)); border-bottom: 1px solid #edf0ed; }
.benefit { display: flex; align-items: center; gap: 14px; min-width: 180px; }
.benefit img { width: 40px; height: 40px; object-fit: contain; background: #edf6ee; border-radius: 5px; padding: 4px; }
.benefit strong { display: block; font-size: 15px; }
.benefit span { color: var(--muted); font-size: 13px; }

.wrap { max-width: 1312px; margin: 0 auto; padding: 34px 32px 10px; }
.head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.head h1, .head h2, .page-title h1 { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: -.03em; }
.head p, .lead { margin: 6px 0 0; color: var(--muted); }
.head a, .text-link { color: var(--green); font-weight: 900; text-decoration: none; }

.pcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--card); border-radius: 4px; background: #fff; box-shadow: 0 2px 8px rgba(32,58,36,.07); }
.pcard .pic { display: block; background: #f7f8f6; }
.pcard img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pcard .info { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px; }
.pcard strong { font-size: 15px; line-height: 1.3; min-height: 38px; text-decoration: none; }
.pcard em { color: var(--muted); font-style: normal; font-size: 13px; }
.price { color: var(--green); font-weight: 900; font-size: 18px; }
.pcard button, .btn { margin-top: auto; height: 40px; border: 0; border-radius: 3px; background: var(--leaf); color: #fff; font-weight: 900; cursor: pointer; }
.btn { display: inline-grid; place-items: center; padding: 0 18px; text-decoration: none; height: 46px; border-radius: 8px; }

.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ccard { position: relative; display: block; min-height: 210px; aspect-ratio: 1 / 1.08; overflow: hidden; border-radius: 6px; color: #fff; text-decoration: none; background: #d9d5ca; box-shadow: 0 5px 12px rgba(25,42,31,.16); }
.ccard img { width: 100%; height: 100%; object-fit: cover; }
.ccard span { position: absolute; left: 14px; right: 14px; bottom: 14px; font-size: 22px; font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,.5); }

.ribbon { margin: 28px 0; overflow: hidden; background: var(--gold); transform: rotate(-1deg); }
.ribbon-track { display: flex; align-items: center; width: max-content; padding: 14px 0; animation: run 30s linear infinite; font-size: 22px; font-weight: 900; white-space: nowrap; }
.ribbon-track span, .ribbon i { flex-shrink: 0; white-space: nowrap; }
.ribbon i { margin: 0 26px; color: var(--green); font-style: normal; }

.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.promos a { display: block; overflow: hidden; border-radius: 8px; background: #f3efe4; }
.promos img { width: 100%; height: 240px; object-fit: cover; display: block; }

.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.reason { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #fbfdf9; }
.reason b { display: block; margin-bottom: 6px; color: var(--green); font-size: 18px; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.review { padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.stars { color: #e0a100; letter-spacing: 2px; }

.news { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 10px 32px 28px; padding: 22px 24px; border-radius: 10px; background: #f3efe4; }
.news form { display: flex; gap: 8px; }
.news input { height: 46px; border: 1px solid #ddd6c6; border-radius: 6px; padding: 0 12px; min-width: 260px; }

.site-foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; padding: 36px 32px 22px; border-top: 1px solid var(--line); color: #2b3a30; }
.site-foot a { display: block; text-decoration: none; padding: 4px 0; }
.site-foot h3 { margin: 0 0 8px; font-size: 15px; }
.foot-logo { height: 64px; width: auto; }
.fine { padding: 0 32px 28px; color: var(--muted); font-size: 13px; }
.wa { position: fixed; z-index: 70; right: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; text-decoration: none; font-size: 11px; font-weight: 900; text-align: center; line-height: 1.1; box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.cookie { position: fixed; z-index: 60; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px; max-width: 420px; padding: 12px 14px; border-radius: 10px; background: #10281c; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.cookie button { background: var(--gold); color: #1b2d28; border: 0; border-radius: 6px; padding: 8px 12px; font-weight: 900; cursor: pointer; }

.page-title { padding: 28px 32px 0; max-width: 1312px; margin: 0 auto; }
.subs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.subs a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: #fff; font-weight: 800; font-size: 13px; }
.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; max-width: 1180px; margin: 0 auto; padding: 28px 32px 48px; }
.gallery { display: grid; gap: 10px; align-content: start; min-width: 0; }
.stage { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #f7f8f6; }
.frames { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.frames::-webkit-scrollbar { display: none; }
.frames img { flex: 0 0 100%; width: 100%; aspect-ratio: 1; object-fit: contain; scroll-snap-align: start; }
.garrow { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; border: 0; border-radius: 50%; transform: translateY(-50%); background: rgba(255,255,255,.92); color: #17351d; font-size: 28px; cursor: pointer; }
.garrow.prev { left: 12px; }
.garrow.next { right: 12px; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; }
.thumbs button { flex: 0 0 74px; padding: 0; border: 1px solid #e6e9e4; border-radius: 6px; background: #fff; cursor: pointer; scroll-snap-align: start; }
.thumbs button.on { border-color: var(--leaf); box-shadow: 0 0 0 1px var(--leaf); }
.thumbs img { width: 74px; height: 74px; object-fit: contain; display: block; }
.crumbs { color: var(--muted); font-size: 13px; }
.crumbs a { color: var(--green); font-weight: 800; }
.options { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.options a { border: 1px solid #dfe7e0; border-radius: 999px; padding: 8px 12px; text-decoration: none; font-weight: 800; }
.options .on { background: var(--green); color: #fff; border-color: var(--green); }
.detail { line-height: 1.6; color: #314038; }
.cart-page { max-width: 1180px; margin: 0 auto; padding: 28px 32px 56px; }
.cart-page h1 { margin: 0 0 16px; font-size: 32px; font-weight: 900; letter-spacing: -.03em; }
.cart-page h1 span { margin-left: 8px; color: var(--muted); font-size: 16px; font-weight: 700; }
.note { display: inline-flex; margin: 0 0 14px; padding: 8px 12px; border-radius: 8px; background: #e7f5ea; color: var(--green); font-weight: 800; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); gap: 28px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #edf0ed; }
.cart-line img { width: 104px; height: 104px; object-fit: contain; background: #f7f8f6; border: 1px solid #edf0ed; border-radius: 8px; }
.cart-line .name { display: block; font-weight: 800; text-decoration: none; line-height: 1.3; }
.gram { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.stepper { display: inline-flex; align-items: center; margin-top: 12px; overflow: hidden; border: 1px solid #dfe7e0; border-radius: 8px; }
.stepper button { width: 34px; height: 34px; border: 0; background: #fff; cursor: pointer; font-size: 18px; }
.stepper button:disabled { color: #c5cdc7; cursor: default; }
.stepper b { min-width: 28px; text-align: center; }
.line-end { text-align: right; }
.line-end strong { display: block; color: var(--green); font-size: 18px; }
.line-end button { margin-top: 8px; border: 0; background: none; color: #8a948c; font-weight: 800; text-decoration: underline; cursor: pointer; }
.checkout-card { position: sticky; top: 92px; padding: 20px; border: 1px solid #e6e9e4; border-radius: 12px; background: #fff; box-shadow: 0 10px 28px rgba(16,40,28,.06); }
.checkout-card h2 { margin: 0 0 14px; font-size: 20px; }
.checkout-card label { display: grid; gap: 6px; margin: 0 0 12px; font-size: 13px; font-weight: 800; }
.checkout-card input, .checkout-card textarea { width: 100%; border: 1.5px solid #e2e5e1; border-radius: 8px; padding: 12px; font-weight: 600; background: #fff; }
.checkout-card textarea { min-height: 88px; resize: vertical; }
.checkout-card input:focus, .checkout-card textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(46,125,50,.14); }
.sum { display: grid; gap: 8px; margin: 4px 0 14px; padding-top: 12px; border-top: 1px solid #edf0ed; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .due { margin-top: 4px; color: var(--green); font-size: 18px; font-weight: 900; }
.checkout-card .btn { width: 100%; height: 52px; border-radius: 8px; font-size: 16px; }
.hint { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.empty-cart { padding: 28px 0; }
.order-lines { margin: 0 0 12px; padding-left: 18px; }
.qty { display: flex; gap: 8px; align-items: center; margin: 12px 0; }
.qty input { width: 80px; height: 46px; border: 1px solid #dfe7e0; border-radius: 8px; padding: 0 10px; }
.product form .btn { width: 100%; }

.sheet { width: 100%; border-collapse: collapse; background: #fff; }
.sheet th, .sheet td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.sheet img { width: 72px; height: 72px; object-fit: contain; background: #f7f8f6; }
.narrow { max-width: 640px; margin: 0 auto; padding: 28px 32px 48px; }
.narrow label, .form label { display: grid; gap: 6px; margin: 12px 0; font-weight: 800; }
.narrow input, .narrow textarea, .form input, .form textarea, .form select { width: 100%; border: 1px solid #dfe7e0; border-radius: 8px; padding: 10px 12px; }
.ok { background: #e7f5ea; padding: 10px 12px; border-radius: 8px; }
.bad { background: #fdecec; padding: 10px 12px; border-radius: 8px; }
.cart-actions { display: flex; gap: 8px; }
.cart-actions input { width: 64px; height: 36px; }

.desk { background: #eef2ee; }
.shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { background: #10281c; color: #e7f0e8; padding: 18px 12px 28px; display: flex; flex-direction: column; gap: 4px; }
.side .brand { color: #fff; text-decoration: none; font-weight: 900; font-size: 20px; padding: 8px 10px 16px; }
.side .brand small { display: block; color: #9dbaa4; font-size: 12px; font-weight: 700; }
.side a.navlink { color: #d7e6da; text-decoration: none; padding: 10px 12px; border-radius: 8px; font-weight: 800; }
.side a.on, .side a.navlink:hover { background: var(--green); color: #fff; }
.side .out { margin-top: auto; color: #f3d0d0; }
.work-top { display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.work-top input { flex: 1; height: 42px; border: 1px solid #dfe7e0; border-radius: 8px; padding: 0 12px; }
.work { padding: 18px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.stat { background: #fff; border-radius: 10px; padding: 14px; border: 1px solid #e4ebe4; }
.stat b { display: block; font-size: 22px; margin-top: 4px; }
.stat span { color: var(--muted); font-size: 13px; font-weight: 700; }
.panel-card { background: #fff; border: 1px solid #e4ebe4; border-radius: 10px; padding: 14px; margin-bottom: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.filters a, .status button { border: 1px solid #d7e0d8; background: #fff; border-radius: 999px; padding: 6px 10px; text-decoration: none; font-weight: 800; font-size: 12px; cursor: pointer; }
.filters a.on { background: var(--green); color: #fff; }
.status { display: flex; flex-wrap: wrap; gap: 4px; }
.status button.on { background: var(--green); color: #fff; border-color: var(--green); }
.status button.red.on, .status button.red:hover { background: #b42318; color: #fff; }
.mini { width: 120px; height: 68px; object-fit: cover; border-radius: 6px; background: #eee; }
.row-form { display: grid; grid-template-columns: 1.2fr .8fr auto auto; gap: 8px; align-items: center; margin: 8px 0; }
.login { max-width: 420px; margin: 10vh auto; background: #fff; padding: 28px; border-radius: 14px; box-shadow: 0 10px 30px rgba(16,40,28,.08); }
.login h1 { margin-top: 0; }
.login label { display: grid; gap: 6px; margin: 14px 0; font-weight: 800; }
.login input { width: 100%; height: 46px; border: 1px solid #d7e0d8; border-radius: 8px; padding: 0 12px; }
.login .btn { width: 100%; }

@media (max-width: 980px) {
  .ticker { height: 34px; }
  .ticker-track { font-size: 11px; letter-spacing: .02em; }
  .bar { grid-template-columns: auto 1fr auto auto; grid-template-areas: "logo spacer tools burger" "search search search search"; gap: 8px 10px; padding: 8px 12px; }
  .logo { grid-area: logo; }
  .logo img { height: 40px; }
  .tools { grid-area: tools; gap: 12px; }
  .tools a { font-size: 10px; }
  .burger { grid-area: burger; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
  .search { grid-area: search; height: 42px; min-width: 0; }
  .search input { min-width: 0; font-size: 16px; }
  .search button { padding: 0 14px; }
  .navtog { position: absolute; opacity: 0; pointer-events: none; }
  .nav { display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 0 12px 12px; border-bottom: 1px solid var(--line); box-shadow: none; }
  .navtog:checked ~ .nav { display: flex; }
  .item { display: grid; grid-template-columns: 1fr auto; align-items: center; border-bottom: 1px solid var(--line); }
  .item > a, .item.hot > a { height: auto; padding: 12px 0; background: transparent; border-radius: 0; }
  .subtog { display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; color: var(--green); font-size: 18px; cursor: pointer; }
  .subtog:before { content: "+"; }
  .item.open .subtog:before { content: "–"; }
  .mega, .item:hover .mega { position: static; transform: none; width: auto; box-shadow: none; display: none; padding: 0 0 8px; border: 0; }
  .item.open > .mega { display: grid; }
  .pcards, .ccards, .reasons, .reviews, .stats { grid-template-columns: 1fr 1fr; }
  .product, .promos, .news, .site-foot, .shell, .cart-layout { display: grid; grid-template-columns: 1fr; }
  .checkout-card { position: static; }
  .cart-line { grid-template-columns: 84px minmax(0, 1fr); }
  .line-end { grid-column: 2; text-align: left; }
  .benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 0; overflow: visible; padding: 14px 12px; }
  .benefit { min-width: 0; }
  .news { margin: 16px 12px 24px; align-items: stretch; }
  .news form { display: grid; grid-template-columns: 1fr auto; width: 100%; }
  .news input { min-width: 0; width: 100%; font-size: 16px; }
  .promos img { height: 180px; }
  .row-form { grid-template-columns: 1fr; }
  .side { flex-direction: row; flex-wrap: wrap; }
  .side .out { margin-top: 0; }
}

@media (max-width: 640px) {
  .hero, .hero-track, .slide, .slide picture { height: auto; }
  .slide img { height: auto; aspect-ratio: 1080 / 1350; object-fit: cover; }
  .arrow { width: 34px; height: 34px; font-size: 24px; }
  .prev { left: 8px; }
  .next { right: 8px; }
  .wrap { padding: 18px 12px 6px; }
  .head { align-items: center; }
  .head h1, .head h2, .page-title h1 { font-size: 20px; }
  .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .ccards { grid-template-columns: 1fr 1fr; gap: 8px; }
  .reasons, .reviews { grid-template-columns: 1fr; }
  .pcard .info { gap: 2px; padding: 6px; }
  .pcard strong { min-height: 28px; font-size: 11px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pcard em { font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pcard .price { font-size: 12px; }
  .pcard form { width: 100%; }
  .pcard button { width: 100%; height: 28px; padding: 0 2px; font-size: 11px; white-space: nowrap; }
  .ccard { min-height: 0; aspect-ratio: 1 / 1.12; }
  .ccard span { left: 8px; right: 8px; bottom: 8px; font-size: 15px; }
  .ribbon { margin: 18px 0; }
  .ribbon-track { padding: 8px 0; font-size: 15px; }
  .page-title { padding: 16px 12px 0; }
  .product, .cart-page, .narrow { padding: 16px 12px 36px; gap: 16px; }
  .cart-page h1 { font-size: 24px; }
  .cart-line { gap: 10px; }
  .cart-line img { width: 72px; height: 72px; }
  .site-foot { gap: 16px; padding: 22px 16px 12px; }
  .site-foot img { height: 42px; width: auto; }
  .fine { padding: 0 16px 72px; }
  .cookie { position: static; left: auto; right: auto; bottom: auto; max-width: none; width: auto; margin: 0; border-radius: 0; gap: 8px; padding: 10px 12px; font-size: 12px; box-shadow: none; }
  .wa { width: 48px; height: 48px; right: 8px; bottom: 10px; font-size: 9px; }
  .benefit strong { font-size: 13px; }
  .benefit span { font-size: 12px; }
}
