:root {
  --cream: #f7f1e8;
  --cream-2: #fbf8f2;
  --paper: #fffdf8;
  --white: #ffffff;
  --green: #153f32;
  --green-2: #24624f;
  --green-3: #dbece3;
  --coral: #ee6b52;
  --coral-2: #ffe0d7;
  --gold: #f2c85b;
  --ink: #20312b;
  --muted: #6d7972;
  --line: #e5dccf;
  --success: #2f7d51;
  --danger: #b94a44;
  --shadow: 0 16px 42px rgba(32, 49, 43, .10);
  --soft-shadow: 0 8px 24px rgba(32, 49, 43, .07);
  --max: 1240px;
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(238, 107, 82, .06), transparent 30rem),
    linear-gradient(180deg, var(--cream-2), var(--cream));
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.48;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  z-index: -1;
  background-image: radial-gradient(rgba(21, 63, 50, .14) .6px, transparent .6px);
  background-size: 18px 18px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .6; }
:focus-visible { outline: 3px solid rgba(238, 107, 82, .42); outline-offset: 3px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--green);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--r-sm);
}
.skip-link:focus { transform: translateY(0); }

.top-strip {
  min-height: 36px;
  background: var(--green);
  color: var(--cream);
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 650;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 242, .96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 13px 22px;
  display: grid;
  grid-template-columns: auto auto minmax(280px, 1fr) auto;
  gap: 14px;
  align-items: center;
}
.brand { display: flex; gap: 10px; align-items: center; min-width: 190px; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--cream);
  background: var(--green);
  font-weight: 900;
  box-shadow: inset 0 -8px 16px rgba(0,0,0,.12);
}
.brand strong { display: block; font-size: 18px; line-height: 1; }
.brand small { display: block; color: var(--muted); margin-top: 3px; font-size: 12px; text-transform: lowercase; }
.category-button,
.primary,
.secondary,
.ghost,
.text-button {
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 18px;
  font-weight: 850;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.primary, .category-button { background: var(--green); color: var(--white); }
.secondary { background: var(--coral); color: var(--white); }
.ghost { background: var(--green-3); color: var(--green); }
.text-button { background: transparent; color: var(--green); padding-inline: 8px; }
.small { min-height: 34px; padding-inline: 13px; font-size: 13px; }
.primary:hover, .secondary:hover, .category-button:hover, .ghost:hover { transform: translateY(-1px); box-shadow: var(--soft-shadow); }
.primary:active, .secondary:active, .category-button:active, .ghost:active { transform: translateY(1px) scale(.99); }
.search {
  position: relative;
  display: flex;
  min-width: 0;
  background: var(--white);
  border: 2px solid var(--green);
  border-radius: 999px;
}
.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 18px;
}
.search button {
  margin: 3px;
  border: 0;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 18px;
  background: var(--coral);
  color: var(--white);
  font-weight: 850;
}
.suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 50;
}
.suggestions.is-open { display: grid; }
.suggestions a, .suggestions button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 0;
  background: transparent;
  border-radius: var(--r-sm);
  padding: 10px 12px;
  text-align: left;
}
.suggestions a:hover, .suggestions button:hover { background: var(--cream); }
.header-actions { display: flex; align-items: center; gap: 12px; font-size: 14px; white-space: nowrap; }
.header-actions a { color: var(--ink); }
.header-actions span {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  min-height: 21px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
}
.mega-menu {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px 14px;
  display: none;
  gap: 8px;
  flex-wrap: wrap;
}
.mega-menu.is-open { display: flex; }
.mega-menu a, .chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
}
.mega-menu a:hover, .chip:hover { border-color: var(--green-2); color: var(--green); }

#app { min-height: 70vh; }
.container { max-width: var(--max); margin: 0 auto; padding: 28px 22px 74px; }
.narrow { max-width: 840px; }
.page-kicker { color: var(--green-2); font-weight: 850; margin-bottom: 8px; }
.eyebrow {
  display: inline-flex;
  width: fit-content;
  color: var(--green-2);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-title,
.section-head h2,
.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.01em;
  line-height: 1.02;
  text-wrap: balance;
}
.page-title { font-size: clamp(34px, 5vw, 58px); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin: 58px 0 18px;
}
.section-head h2 { font-size: clamp(30px, 4vw, 50px); }
.section-head p, .muted { color: var(--muted); }
.lead { color: var(--muted); max-width: 680px; font-size: 18px; }

.hero {
  max-width: var(--max);
  margin: 22px auto 0;
  min-height: 520px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 26px;
  padding: 46px;
  color: var(--white);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #103f32, #1d5c48);
  box-shadow: 0 28px 90px rgba(21,63,50,.18);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 68%;
  background: url("./assets/hero-store.png") 66% center/cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14,55,44,.98) 0%, rgba(14,55,44,.82) 38%, rgba(14,55,44,.16) 62%, rgba(14,55,44,0) 100%),
    radial-gradient(circle at 78% 30%, rgba(255,255,255,.18), transparent 34%);
}
.hero-copy, .hero-stack { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  font-weight: 850;
  backdrop-filter: blur(10px);
}
.hero h1 { max-width: 740px; font-size: clamp(48px, 7vw, 82px); }
.hero p { max-width: 610px; color: rgba(255,255,255,.9); font-size: 19px; }
.hero-actions, .row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.hero-stack { display: grid; gap: 12px; }
.glass-card {
  background: rgba(255,253,248,.9);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.glass-card strong { display: block; color: var(--green); font-size: 23px; }
.service-strip {
  max-width: var(--max);
  margin: -22px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 22px;
}
.service-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow);
  padding: 14px 15px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}
.service-icon, .cat-icon, .round-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--green-3);
  color: var(--green);
  font-weight: 900;
}
.service-item b { display: block; }
.service-item span:last-child { color: var(--muted); font-size: 13px; }

.owner-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  gap: 22px;
  align-items: stretch;
  margin: 36px 0 8px;
  padding: 24px;
  border: 1px solid rgba(21,63,50,.14);
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 12%, rgba(238,107,82,.12), transparent 18rem),
    linear-gradient(135deg, rgba(255,253,248,.94), rgba(247,241,232,.82));
  box-shadow: var(--soft-shadow);
}
.owner-proof h2 {
  margin: 8px 0 10px;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.02;
  letter-spacing: -.015em;
}
.owner-proof p { max-width: 68ch; color: var(--muted); font-size: 17px; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.proof-grid div {
  min-height: 120px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(229,220,207,.8);
}
.proof-grid b { color: var(--green); font-size: 20px; }
.proof-grid span { color: var(--muted); font-size: 14px; }

.grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card,
.category-card,
.product-card,
.promo,
.panel,
.empty,
.brand-card,
.article-card,
.account-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 8px 22px rgba(32, 49, 43, .05);
}
.card, .panel, .empty, .brand-card, .article-card, .account-card { padding: 18px; }
.category-card {
  min-height: 136px;
  padding: 17px;
  display: grid;
  gap: 12px;
  align-content: start;
  position: relative;
  overflow: hidden;
}
.category-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 96px;
  height: 96px;
  border-radius: 999px;
  background: rgba(219,236,227,.78);
  transition: transform .2s ease;
}
.category-card:hover::after { transform: scale(1.18); }
.category-card b { font-size: 20px; }
.category-card span:last-child { color: var(--muted); }
.category-card em {
  width: fit-content;
  color: var(--green);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--green-3);
}
.category-card:hover, .product-card:hover, .brand-card:hover, .article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.category-card, .product-card, .brand-card, .article-card { transition: .2s ease; }
.brand-rail { display: flex; gap: 10px; overflow: auto; padding: 4px 0 12px; scrollbar-width: thin; }
.brand-pill { flex: 0 0 auto; min-width: 132px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font-weight: 850; }
.commerce-board {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  margin-top: 28px;
}
.promo {
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(251,248,242,.96), rgba(251,248,242,.58)), url("./assets/supplies.png") center/cover;
}
.promo-feature {
  min-height: 330px;
  display: grid;
  align-content: end;
}
.promo.dark { background: var(--green); color: var(--cream); }
.promo.dark .eyebrow, .promo.sale .eyebrow { color: rgba(255,255,255,.78); }
.promo.sale { background: linear-gradient(135deg, var(--coral), #f39a65); color: var(--white); }
.promo h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); }
.ops-card {
  grid-row: span 2;
  padding: 22px;
  border-radius: 24px;
  background: var(--green);
  color: var(--cream);
  box-shadow: 0 22px 60px rgba(21,63,50,.18);
}
.ops-card h3 { margin: 0 0 16px; font-size: 28px; }
.ops-card ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ops-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  color: rgba(255,253,248,.92);
  font-weight: 750;
}
.ops-card li span {
  color: var(--gold);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
}

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { padding: 12px; display: grid; gap: 9px; min-width: 0; position: relative; overflow: hidden; }
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(21,63,50,.035));
}
.product-card > * { position: relative; z-index: 1; }
.product-img {
  aspect-ratio: 1 / .88;
  border-radius: 12px;
  background: var(--cream) url("./assets/supplies.png") center/cover;
  border: 1px solid rgba(229,220,207,.7);
}
.product-meta, .rating, .stock, .caption { color: var(--muted); font-size: 13px; }
.product-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.product-meta span {
  max-width: 50%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-meta span:first-child {
  color: var(--green);
  font-weight: 900;
}
.product-title { min-height: 44px; font-weight: 900; line-height: 1.25; }
.badge {
  display: inline-block;
  margin: 0 4px 4px 0;
  background: var(--coral-2);
  color: var(--danger);
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 850;
}
.stock::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 6px;
}
.price-row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price { color: var(--green); font-size: 23px; font-weight: 950; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.old { color: var(--muted); text-decoration: line-through; }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; align-items: center; }
.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--green);
  display: inline-grid;
  place-items: center;
  font-weight: 900;
}
.icon-btn.active { background: var(--coral-2); border-color: var(--coral); color: var(--danger); }

.catalog-hero {
  min-height: 220px;
  margin-bottom: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(90deg, rgba(251,248,242,.97), rgba(251,248,242,.68)), url("./assets/hero-original.png") center/cover;
}
.catalog-layout { display: grid; grid-template-columns: 286px 1fr; gap: 24px; align-items: start; }
.filters { position: sticky; top: 116px; display: grid; gap: 14px; }
.filter-group { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; }
.filter-group h3 { margin: 0 0 10px; font-size: 15px; }
.filter-group label { display: flex; gap: 8px; align-items: center; margin: 8px 0; color: var(--muted); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.field, .toolbar select, .form-control {
  min-height: 44px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  padding: 10px 12px;
}
.toolbar select { width: auto; border-radius: 999px; }
.mobile-filter { display: none; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.pagination button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 13px; }
.pagination button.active { background: var(--green); color: var(--white); }

.product-page { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 34px; align-items: start; }
.gallery-main {
  aspect-ratio: 1 / .78;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--cream) url("./assets/supplies.png") center/cover;
}
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream) url("./assets/supplies.png") center/cover;
}
.thumbs button.active { border-color: var(--green); box-shadow: 0 0 0 3px rgba(21,63,50,.12); }
.buy-box {
  position: sticky;
  top: 116px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.variant-row, .mini-benefits { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.variant-row button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 13px; font-weight: 850; }
.variant-row button.active { background: var(--green); color: var(--white); border-color: var(--green); }
.mini-benefits span { flex: 1 1 130px; background: var(--cream); border-radius: 12px; padding: 10px; color: var(--green); font-weight: 800; font-size: 13px; }
.stepper { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); }
.stepper button { width: 40px; border: 0; background: var(--cream); font-weight: 900; }
.stepper span { min-width: 42px; display: grid; place-items: center; font-weight: 850; }
.tabs { display: grid; gap: 12px; margin-top: 24px; }
.tab { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; }
.accordion button { width: 100%; border: 0; background: transparent; text-align: left; font-weight: 900; display: flex; justify-content: space-between; padding: 4px 0; }
.accordion .content { color: var(--muted); padding-top: 8px; display: none; }
.accordion .is-open .content { display: block; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid label { display: grid; gap: 6px; color: var(--muted); }
textarea { min-height: 96px; resize: vertical; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.checkout-steps { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.checkout-steps button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 13px; font-weight: 850; }
.checkout-steps button.active { background: var(--green); color: var(--white); border-color: var(--green); }
.summary { background: var(--green); color: var(--cream); border-radius: 20px; padding: 18px; position: sticky; top: 116px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.cart-item { display: grid; grid-template-columns: 86px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 86px; aspect-ratio: 1; border-radius: 12px; background: var(--cream) url("./assets/supplies.png") center/cover; }
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.account-nav { display: grid; gap: 8px; }
.account-nav a { padding: 11px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 850; }
.account-nav a.active { background: var(--green); color: var(--white); border-color: var(--green); }
.timeline { display: grid; gap: 10px; }
.timeline li { list-style: none; display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--success); margin-top: 5px; }

.empty { text-align: center; padding: 46px 20px; }
.empty h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; }
.skeleton-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.skeleton { height: 320px; border-radius: var(--r-md); background: linear-gradient(90deg, var(--cream), var(--white), var(--cream)); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.mini-cart {
  position: fixed;
  top: 0;
  right: 0;
  width: min(440px, 100vw);
  height: 100vh;
  z-index: 70;
  transform: translateX(105%);
  transition: .25s ease;
  background: var(--cream-2);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 22px;
  overflow: auto;
}
.mini-cart.open { transform: translateX(0); }
.modal-root.open { position: fixed; inset: 0; z-index: 65; background: rgba(21, 63, 50, .38); display: grid; place-items: center; padding: 18px; }
.modal { width: min(780px, 100%); max-height: min(780px, 92vh); overflow: auto; background: var(--white); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 90; background: var(--green); color: var(--white); border-radius: 999px; padding: 13px 16px; box-shadow: var(--shadow); transform: translateY(80px); transition: .22s ease; }
.toast.show { transform: translateY(0); }
.cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 88;
  max-width: 520px;
  margin-left: auto;
  background: rgba(255,253,248,.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 10px 10px 16px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow);
}
.cookie p { margin: 0; font-size: 14px; }
.cookie[hidden] { display: none; }

.footer {
  background: var(--green);
  color: var(--cream);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 26px;
  padding: 42px max(22px, calc((100vw - var(--max)) / 2));
  padding-bottom: 56px;
}
.footer-service { grid-column: 1 / -1; border-bottom: 1px solid rgba(255,255,255,.16); padding-bottom: 18px; font-weight: 900; }
.footer a { display: block; color: var(--cream); opacity: .88; margin: 8px 0; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input { min-width: 0; border: 0; border-radius: 999px; padding: 10px 12px; }
.newsletter button { border: 0; border-radius: 999px; background: var(--coral); color: var(--white); font-weight: 850; padding: 0 12px; }
.bottom-nav { display: none; }
.bottom-badge { display: none; }
.sticky-cta { display: none; }

@media (max-width: 1020px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .category-button, .header-actions { display: none; }
  .search { grid-column: 1 / -1; }
  .hero {
    margin: 12px 12px 0;
    grid-template-columns: 1fr;
    padding: 30px;
    min-height: 470px;
    border-radius: 22px;
    align-items: end;
  }
  .hero::before { width: 100%; background-position: 62% center; opacity: .72; }
  .hero::after { background: linear-gradient(180deg, rgba(14,55,44,.24) 0%, rgba(14,55,44,.48) 34%, rgba(14,55,44,.96) 100%); }
  .hero-stack { display: none; }
  .service-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; padding-inline: 12px; }
  .owner-proof, .commerce-board { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-card { grid-row: auto; }
  .cols-3, .cols-4, .cols-5, .product-grid, .skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-layout, .product-page, .checkout-layout, .account-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .mobile-filter { display: inline-flex; }
  .buy-box, .summary { position: static; }
  .sticky-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 92px;
    z-index: 44;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    background: var(--green);
    color: var(--cream);
    border-radius: 18px;
    padding: 10px 10px 10px 14px;
    box-shadow: 0 20px 50px rgba(21,63,50,.22);
  }
  .sticky-cta div { min-width: 0; display: grid; gap: 2px; }
  .sticky-cta b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sticky-cta span { font-weight: 900; }
  .sticky-cta .secondary { background: var(--coral); border-color: var(--coral); color: var(--white); }
  .footer { grid-template-columns: 1fr 1fr; padding-bottom: 120px; }
  .bottom-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    background: rgba(255,253,248,.9);
    border: 1px solid rgba(21,63,50,.12);
    border-radius: 24px;
    padding: 7px;
    box-shadow: 0 18px 45px rgba(21,63,50,.18);
    backdrop-filter: blur(16px);
  }
  .bottom-nav a {
    position: relative;
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 3px;
    text-align: center;
    padding: 8px 2px 7px;
    border-radius: 18px;
    color: var(--green);
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    transition: transform .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
  }
  .bottom-nav a:active { transform: translateY(1px) scale(.98); }
  .bottom-nav a.is-active {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(21,63,50,.18);
  }
  .nav-icon {
    width: 28px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(21,63,50,.08);
    font-size: 17px;
    font-weight: 900;
  }
  .bottom-nav a.is-active .nav-icon {
    background: rgba(255,255,255,.16);
  }
  .bottom-badge {
    position: absolute;
    top: 2px;
    right: 12px;
    min-width: 16px;
    height: 16px;
    display: none;
    place-items: center;
    border-radius: 999px;
    background: var(--coral);
    color: var(--white);
    border: 2px solid var(--white);
    font-size: 9px;
    font-style: normal;
    font-weight: 900;
  }
  .bottom-badge.show { display: grid; }
}
@media (max-width: 620px) {
  .top-strip { min-height: 30px; font-size: 10px; gap: 8px; flex-wrap: nowrap; overflow: hidden; justify-content: flex-start; padding-inline: 12px; }
  .top-strip span { flex: 0 0 auto; }
  .header-inner { padding: 10px 12px; }
  .brand { min-width: 0; }
  .brand-copy small { display: none; }
  .brand-mark { width: 38px; height: 38px; }
  .search button { padding-inline: 13px; }
  .container { padding: 16px 12px 104px; display: flex; flex-direction: column; }
  .hero { padding: 22px; min-height: 430px; border-radius: 24px; align-items: end; }
  .hero::before { background-position: 58% top; opacity: .85; }
  .hero::after { background: linear-gradient(180deg, rgba(14,55,44,.08) 0%, rgba(14,55,44,.42) 38%, rgba(14,55,44,.95) 100%); }
  .hero-badge { margin-bottom: 10px; padding: 7px 10px; font-size: 12px; }
  .hero h1 { font-size: 36px; line-height: .94; max-width: 300px; text-wrap: balance; }
  .hero p { max-width: 300px; font-size: 14px; line-height: 1.45; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 8px; max-width: 260px; }
  .hero-actions .primary, .hero-actions .ghost { min-height: 44px; }
  .service-strip {
    grid-template-columns: repeat(4, minmax(142px, 1fr));
    overflow-x: auto;
    margin-top: -10px;
    padding: 0 12px 6px;
    scroll-snap-type: x proximity;
  }
  .service-item { min-width: 142px; scroll-snap-align: start; padding: 11px; border-radius: 18px; box-shadow: var(--soft-shadow); }
  .service-icon { width: 34px; height: 34px; border-radius: 12px; }
  .service-item span:last-child { font-size: 12px; }
  .owner-proof { order: 8; margin-top: 18px; }
  .owner-proof { padding: 18px; border-radius: 22px; }
  .owner-proof p { font-size: 15px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid div { min-height: auto; }
  .commerce-board { gap: 12px; }
  .promo, .promo-feature, .ops-card { min-height: auto; padding: 18px; border-radius: 20px; }
  .ops-card h3 { font-size: 24px; }
  .ops-card li { font-size: 14px; }
  .section-head { align-items: start; margin-top: 34px; }
  .section-head .chip { display: none; }
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .cols-5, .product-grid, .skeleton-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-card { min-height: 128px; padding: 14px; }
  .category-card span:last-child { display: none; }
  .product-card { padding: 9px; }
  .product-img { aspect-ratio: 1; }
  .product-title { font-size: 13px; min-height: 48px; }
  .rating { font-size: 12px; }
  .stock { font-size: 12px; }
  .price { font-size: 18px; }
  .card-actions { grid-template-columns: 1fr 38px; }
  .icon-btn { width: 38px; height: 38px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar select { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 66px 1fr; }
  .cart-thumb { width: 66px; }
  .cart-item .price-row { grid-column: 2; }
  .footer { grid-template-columns: 1fr; }
  .cookie {
    left: 12px;
    right: 12px;
    bottom: 90px;
    border-radius: 18px;
    align-items: center;
    padding: 11px;
    display: grid;
    grid-template-columns: 1fr auto;
  }
  .cookie p { font-size: 11px; line-height: 1.25; }
  .cookie .small { min-height: 34px; padding: 8px 12px; }
}
