/* ============ Tokens ============ */
:root {
  --ink: #14211a;
  --ink-2: #33453b;
  --muted: #64756b;
  --muted-2: #8a978f;
  --paper: #f6f7f3;
  --card: #ffffff;
  --line: #e7ebe4;
  --line-2: #dfe6de;

  --brand: #1a9e50;
  --brand-600: #15803d;
  --brand-700: #116932;
  --brand-950: #062a14;
  --brand-100: #ddf3e5;
  --brand-50: #eef9f1;

  --amber: #f59e0b;
  --amber-600: #d97706;
  --red: #e02424;

  --radius: 16px;
  --radius-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(20, 33, 26, .05), 0 2px 8px rgba(20, 33, 26, .05);
  --shadow-md: 0 6px 22px rgba(20, 33, 26, .09);
  --shadow-lg: 0 20px 50px rgba(20, 33, 26, .16);

  --font-display: "Onest", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --header-h: 64px;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; font-weight: 700; line-height: 1.12; }
p { margin: 0; }
svg { display: block; }
[hidden] { display: none !important; }

::selection { background: var(--brand-100); color: var(--brand-700); }

/* ============ Announce ============ */
.announce {
  background: var(--brand-950);
  color: #c8ecd6;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 8px 16px;
}

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 243, .88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); }
.brand-mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  color: var(--brand);
  border-radius: 10px;
}
.brand-mark svg { width: 34px; height: 34px; }
.brand-word { font-weight: 800; font-size: 21px; letter-spacing: -.02em; }

.nav { display: flex; gap: 6px; margin-left: 8px; }
.nav a {
  padding: 9px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-2);
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--brand-50); color: var(--brand-700); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  color: var(--ink);
  transition: background .15s;
}
.icon-btn:hover { background: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }

.lang-toggle {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 12px;
  border-radius: 11px;
  background: var(--card);
  border: 1px solid var(--line-2);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--muted-2);
}
.lang-toggle span.active { color: var(--brand-700); }
.lang-toggle i { width: 1px; height: 14px; background: var(--line-2); }

.cart-btn {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  height: 40px;
  padding: 0 15px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: background .15s, transform .1s;
}
.cart-btn:hover { background: var(--brand-600); }
.cart-btn:active { transform: scale(.97); }
.cart-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 19px; height: 19px;
  padding: 0 5px;
  display: grid; place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 10px;
  border: 2px solid var(--paper);
}

.menu-btn { display: none; }
.menu-btn svg { width: 22px; height: 22px; }

.search-bar {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-bar svg { width: 20px; height: 20px; color: var(--muted-2); position: absolute; }
.search-bar { position: relative; }
.search-bar input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 40px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: var(--card);
  font-size: 15px;
  outline: none;
}
.search-bar input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.search-bar svg { left: 38px; top: 50%; transform: translateY(-50%); }

/* ============ Hero ============ */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { padding-bottom: 8px; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-100);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.02;
  color: var(--ink);
}
.hero-sub {
  margin-top: 18px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
}

.hero-search {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 480px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 6px 6px 6px 16px;
  box-shadow: var(--shadow-sm);
}
.hero-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.hero-search svg { width: 20px; height: 20px; color: var(--muted-2); flex: none; }
.hero-search input { flex: 1; border: none; outline: none; font-size: 15px; background: transparent; min-width: 0; }
.hero-search button {
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  transition: background .15s;
}
.hero-search button:hover { background: var(--brand-600); }

.hero-chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line-2);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: all .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-50); }

.hero-visual { position: relative; }
.hero-img {
  width: 100%;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  border-radius: 24px;
}
.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-card-a { left: -18px; bottom: 40px; }
.hero-card-b { right: -14px; top: 34px; }
.hc-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.hc-value { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--ink); }
.hero-card-b .hc-value { color: var(--brand-700); }

/* ============ Sections ============ */
.section { max-width: 1240px; margin: 0 auto; padding: 48px 24px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.02em; }
.section-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }
.link-arrow {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ============ Category grid ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  transition: transform .18s, box-shadow .18s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 30, 15, 0) 30%, rgba(6, 30, 15, .72) 100%);
}
.cat-card .cat-name {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cat-card .cat-count { font-size: 12.5px; font-weight: 500; opacity: .85; }
.cat-card.big { grid-column: span 2; grid-row: span 2; }

/* ============ Specials scroll ============ */
.specials-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.specials-scroll > * { scroll-snap-align: start; }

/* ============ Product cards ============ */
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s, transform .18s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 8px;
}
.product-badge.sale { background: var(--red); color: #fff; }
.product-badge.hit { background: var(--brand); color: #fff; }
.product-badge.new { background: var(--amber); color: #3a2600; }
.product-add {
  position: absolute;
  right: 12px; bottom: 12px;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--card);
  color: var(--brand-700);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(6px);
  transition: all .18s;
}
.product-card:hover .product-add { opacity: 1; transform: translateY(0); }
.product-add:hover { background: var(--brand); color: #fff; }
.product-add svg { width: 19px; height: 19px; }

.product-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-cat { font-size: 12px; font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; }
.product-name { font-family: var(--font-display); font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.product-unit { font-size: 13px; color: var(--muted); }
.product-price-row { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.product-price { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--ink); }
.product-price.old { font-size: 14px; font-weight: 600; color: var(--muted-2); text-decoration: line-through; }

/* ============ Catalog toolbar ============ */
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-chip {
  padding: 9px 15px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line-2);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: all .15s;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand-700); }
.filter-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.sort {
  height: 42px;
  padding: 0 14px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  outline: none;
  cursor: pointer;
}
.sort:focus { border-color: var(--brand); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state h3 { font-size: 20px; color: var(--ink); margin-bottom: 6px; }

/* ============ Brands ============ */
.brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.brand-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 220px;
}
.brand-card img { width: 100%; height: 100%; object-fit: cover; }
.brand-body { padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.brand-body h3 { font-size: 22px; font-weight: 800; }
.brand-body p { color: var(--muted); line-height: 1.6; font-size: 15px; }

/* ============ Recipes ============ */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.recipe-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow .18s, transform .18s;
}
.recipe-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.recipe-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.recipe-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.recipe-tag { font-size: 12px; font-weight: 700; color: var(--brand-700); }
.recipe-body h3 { font-size: 18px; font-weight: 700; }
.recipe-body p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ============ Advantages ============ */
.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.adv-item {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 18px;
  padding: 26px;
}
.adv-item svg { width: 28px; height: 28px; color: var(--brand-700); margin-bottom: 14px; }
.adv-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.adv-item p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ============ Newsletter ============ */
.newsletter { background: var(--brand-950); }
.newsletter-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px;
  text-align: center;
  color: #fff;
}
.newsletter-inner h2 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.newsletter-inner p { color: #b9d6c4; margin-top: 10px; font-size: 15.5px; }
.news-form {
  margin: 26px auto 0;
  display: flex;
  gap: 8px;
  max-width: 460px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  padding: 6px;
}
.news-form input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 15px;
  min-width: 0;
}
.news-form input::placeholder { color: #8fb39c; }
.news-form button {
  height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  background: #fff;
  color: var(--brand-950);
  font-weight: 800;
  font-size: 14px;
  transition: opacity .15s;
}
.news-form button:hover { opacity: .9; }
.news-note { color: #8fe0ab !important; font-weight: 700; }

/* ============ Footer ============ */
.footer { background: #0d1712; color: #cfd9d2; }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand .brand-word { color: #fff; font-size: 24px; }
.footer-brand p { color: #82958a; margin-top: 12px; font-size: 14.5px; max-width: 240px; line-height: 1.55; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #6f8377; margin-bottom: 2px; }
.footer-col a { font-size: 14.5px; color: #cfd9d2; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  color: #6f8377;
  font-size: 13px;
}

/* ============ Cart drawer ============ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 22, 14, .42);
  z-index: 90;
  opacity: 0;
  transition: opacity .2s;
}
.overlay.show { opacity: 1; }
.cart {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: 400px;
  max-width: 92vw;
  background: var(--card);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart.open { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}
.cart-head h2 { font-size: 20px; font-weight: 800; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-empty { padding: 60px 22px; text-align: center; color: var(--muted); font-size: 15px; }
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-item-name { font-weight: 700; font-size: 14.5px; }
.cart-item-price { font-family: var(--font-display); font-weight: 800; font-size: 15px; }
.qty { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.qty button {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 800;
  font-size: 15px;
  display: grid; place-items: center;
  transition: background .15s;
}
.qty button:hover { background: var(--brand-100); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; font-size: 14px; }
.cart-item-remove { color: var(--muted-2); align-self: flex-start; margin-top: 10px; }
.cart-item-remove svg { width: 18px; height: 18px; }
.cart-item-remove:hover { color: var(--red); }

.cart-foot { padding: 18px 22px; border-top: 1px solid var(--line); }
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cart-total > span:first-child { font-weight: 700; font-size: 15px; color: var(--muted); }
.cart-total-value { font-family: var(--font-display); font-weight: 800; font-size: 24px; }
.checkout-btn {
  width: 100%;
  height: 50px;
  border-radius: 13px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  transition: background .15s;
}
.checkout-btn:hover { background: var(--brand-600); }
.cart-hint { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--muted-2); }

/* ============ Checkout ============ */
.checkout {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  width: 560px;
  max-width: 94vw;
  max-height: 90vh;
  background: var(--card);
  z-index: 100;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .25s cubic-bezier(.22, 1, .36, 1);
}
.checkout.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.checkout-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
}
.checkout-head h2 { font-size: 20px; font-weight: 800; }
.checkout-body { overflow-y: auto; padding: 20px 24px 24px; }

.checkout-summary {
  border: 1px solid var(--line); border-radius: 14px;
  padding: 6px 14px; margin-bottom: 18px;
  max-height: 170px; overflow-y: auto;
}
.cs-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.cs-item:last-child { border-bottom: 0; }
.cs-item img { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; flex: none; }
.cs-name { flex: 1; font-size: 13.5px; font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-qty { font-size: 13px; color: var(--muted); font-weight: 700; }
.cs-price { font-family: var(--font-display); font-weight: 800; font-size: 14px; }

.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  height: 46px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 11px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  background: var(--card); transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 58px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100);
}
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }
.radio {
  flex: 1; min-width: 130px;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 11px;
  cursor: pointer; font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: border-color .15s, background .15s;
}
.radio input { accent-color: var(--brand); width: 16px; height: 16px; }
.radio:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }

.checkout-totals {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px; border-radius: 14px; background: var(--paper);
  margin-top: 4px;
}
.ct-row { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.ct-row span:last-child { color: var(--ink); font-weight: 700; }
.ct-row.grand { font-size: 17px; font-weight: 800; color: var(--ink); padding-top: 10px; border-top: 1px solid var(--line); }
.ct-row.grand span:last-child { font-family: var(--font-display); font-size: 20px; }
.ct-row.free span:last-child { color: var(--brand-700); }

.checkout-submit {
  width: 100%; height: 52px; border-radius: 13px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 15px;
  transition: background .15s;
}
.checkout-submit:hover { background: var(--brand-600); }
.checkout-submit:disabled { opacity: .6; cursor: default; }
.checkout-error { color: var(--red); font-size: 13.5px; font-weight: 600; text-align: center; margin: 0; }

.checkout-success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 12px; padding: 26px 8px 8px;
}
.checkout-success svg { width: 60px; height: 60px; color: var(--brand); }
.checkout-success h3 { font-size: 22px; font-weight: 800; }
.checkout-success p { color: var(--muted); font-size: 15px; }
.checkout-success .checkout-submit { margin-top: 12px; }

/* ============ Toast ============ */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  z-index: 120;
  opacity: 0;
  transition: all .25s;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-card { grid-template-columns: 1fr; }
  .brand-card img { aspect-ratio: 16 / 8; }
  .hero { gap: 32px; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; }
  .menu-btn:hover { background: var(--line); }
  .nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 10px 24px 18px;
    gap: 2px;
    margin: 0;
  }
  .nav.mobile-open a { padding: 13px 8px; border-radius: 10px; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .hero-visual { order: -1; max-width: 560px; }
  .hero-card-a { left: 8px; }
  .hero-card-b { right: 8px; }
  .hero-title { font-size: clamp(34px, 8vw, 50px); }
}

@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: 10px; }
  .cat-card { padding: 12px; }
  .cat-card .cat-name { font-size: 14px; }
  .recipe-grid { grid-template-columns: 1fr; }
  .advantages { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .announce { font-size: 12px; }
  .section { padding: 36px 16px; }
  .hero { padding: 28px 16px 24px; }
  .product-add { opacity: 1; transform: none; width: 36px; height: 36px; }
  .header-inner { padding: 0 16px; }
  .brand-word { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
