/* Изи + — design tokens */
:root {
  --bg: #131310;
  --surface: #1E1E19;
  --fg: #F6F5EF;
  --muted: #A9A79B;
  --border: #33332B;
  --accent: #FFD400;
  --accent-on: #131310;
  --white: #FFFFFF;
  --font-display: 'Unbounded', 'Arial Black', sans-serif;
  --font-body: 'Golos Text', 'Helvetica Neue', sans-serif;
  --radius: 4px;
  --space-section: 96px;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 20px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(34px, 7vw, 78px); }
h2 { font-size: clamp(26px, 4vw, 46px); }
h3 { font-size: clamp(18px, 2.4vw, 24px); }

p { margin: 0 0 1em; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(19, 19, 16, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-block: 10px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 30px; height: 30px;
  background: var(--accent);
  color: var(--accent-on);
  display: grid; place-items: center;
  font-size: 15px;
  border-radius: var(--radius);
  flex: none;
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-size: 15px;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover { color: var(--fg); border-bottom-color: var(--accent); }

@media (max-width: 760px) {
  .nav { display: none; }
  .head-cta { margin-left: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--accent-on);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}

.btn.ghost:hover { border-color: var(--fg); color: var(--fg); }

.btn.small { min-height: 40px; padding: 9px 16px; font-size: 13px; }

.btn[aria-disabled="true"] {
  background: transparent;
  color: var(--muted);
  border-color: var(--border);
  cursor: default;
  pointer-events: none;
}

/* ---------- Hero ---------- */
.hero {
  padding-block: 72px 88px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.25fr 0.75fr; gap: 64px; }
}

.hero h1 { margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }

.hero-lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  max-width: 46ch;
}

/* ---------- Stats strip ---------- */
.hero-stats {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 22px 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 860px) {
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.stat-n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat-t {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
  max-width: 24ch;
}

/* ценник-бирка в герое */
.price-tag {
  background: var(--accent);
  color: var(--accent-on);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  position: relative;
  transform: rotate(-1.6deg);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.45);
}

.price-tag::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
}

.price-tag-inner { margin-top: 22px; }

.price-tag-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.75;
}

.price-tag-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.1;
  margin: 6px 0 12px;
}

.price-tag-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 6vw, 58px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.price-tag-foot {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  border-top: 2px solid rgba(19, 19, 16, 0.25);
  padding-top: 10px;
}

/* ---------- Section base ---------- */
.section { padding-block: var(--space-section); }
.section + .section { border-top: 1px solid var(--border); }

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 48px; }
}

.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }

.kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- Магазины ---------- */
.shop-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  grid-template-columns: 1fr;
}

@media (min-width: 860px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }

.shop {
  background: var(--bg);
  padding: 28px 24px 32px;
}

.shop h3 { margin-bottom: 6px; }

.shop-meta {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.shop ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.shop li {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.shop li span:last-child {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.shop-link { margin-top: 18px; align-self: flex-start; }

/* фото в карточке позиции (страницы разделов) */
.shop-media {
  margin: -28px -24px 20px;
  aspect-ratio: 4 / 3;
  background: #E9E8E3;
  overflow: hidden;
}

.shop-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.shop:hover .shop-media img { transform: scale(1.04); }

@media (max-width: 860px) {
  .shop-media { margin: -28px -24px 18px; }
}

/* ---------- Афиша ---------- */
.poster-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) { .poster-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .poster-grid { grid-template-columns: repeat(3, 1fr); } }

.poster {
  background: var(--white);
  color: #16160F;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.poster:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.poster-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #E9E8E3;
  overflow: hidden;
}

.poster-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.poster-flag {
  position: absolute;
  top: 0; left: 0;
  background: var(--accent);
  color: var(--accent-on);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  border-bottom-right-radius: var(--radius);
}

.poster-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.poster-cat {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6C6A5E;
  font-weight: 700;
}

.poster-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  margin: 2px 0 8px;
}

.poster-note { font-size: 14px; color: #6C6A5E; margin: 0 0 14px; }

.poster-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  border-top: 2px solid #16160F;
  padding-top: 12px;
}

.poster-price b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.poster-price em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  background: var(--accent);
  padding: 3px 8px;
  border-radius: var(--radius);
}

.poster-cta {
  margin-top: 14px;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #16160F;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.poster-cta:hover { background: var(--accent); }

/* ---------- Шаги ---------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--border); }

.step {
  display: grid;
  gap: 6px 32px;
  grid-template-columns: 1fr;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 760px) {
  .step { grid-template-columns: 96px 1fr 1fr; align-items: baseline; }
}

.step-n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  color: var(--accent);
}

.step h3 { font-size: 20px; }
.step p { margin: 0; color: var(--muted); }

/* ---------- App / CTA ---------- */
.app-band {
  background: var(--accent);
  color: var(--accent-on);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 860px) {
  .app-band {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    padding: 52px 48px;
    gap: 40px;
  }
  .app-band h2 { font-size: clamp(26px, 3.2vw, 40px); }
}

.app-band h2 { margin-bottom: 10px; }
.app-band p { margin: 0; max-width: 50ch; font-weight: 500; }

.app-band .btn {
  background: var(--accent-on);
  border-color: var(--accent-on);
  color: var(--accent);
}

.app-band .btn.ghost {
  background: transparent;
  border-color: rgba(19, 19, 16, 0.35);
  color: var(--accent-on);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
}

@media (max-width: 859px) {
  .app-actions .btn { flex: 1 1 100%; }
}

.app-universal {
  flex-basis: 100%;
  font-size: 14px;
  color: var(--accent-on);
  opacity: 0.8;
  text-decoration: underline;
}

/* ---------- SEO-текст ---------- */
.seo-cols {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) { .seo-cols { grid-template-columns: 1fr 1fr; gap: 56px; } }

.seo-cols h3 { margin-bottom: 12px; }
.seo-cols p { color: var(--muted); font-size: 16px; }

/* ---------- Footer ---------- */
.site-foot {
  border-top: 1px solid var(--border);
  padding-block: 48px;
  background: #0E0E0C;
}

.foot-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }

.foot-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--accent);
}

.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: var(--fg); text-decoration: underline; }
.foot-col p { color: var(--muted); font-size: 15px; margin: 0; }

.foot-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Мобильная закреплённая CTA ---------- */
.app-dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: none;
  gap: 12px;
  align-items: center;
  background: rgba(19, 19, 16, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 10px 10px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.app-dock span {
  font-size: 13px;
  line-height: 1.25;
  color: var(--muted);
}

.app-dock .btn { margin-left: auto; flex: none; }

@media (max-width: 760px) {
  .app-dock { display: flex; }
  body { padding-bottom: 88px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .poster:hover { transform: none; }
}

@media (max-width: 400px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 16px; }
  .hero { padding-block: 48px 56px; }
  .section { padding-block: 56px; }
}

/* ---------- Рыболовный каталог ---------- */
.cat-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.cat-search { flex: 1 1 260px; min-width: 0; }

.cat-search input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.cat-search input::placeholder { color: var(--muted); }

.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.cat-tab {
  min-height: 40px;
  padding: 8px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.cat-tab:hover { border-color: var(--accent); }

.cat-tab[aria-selected="true"] {
  background: var(--accent);
  color: var(--accent-on);
  border-color: var(--accent);
  font-weight: 700;
}

.cat-tab-n { opacity: 0.65; font-size: 12px; }

.cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}

.cat-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px 108px;
  gap: 12px;
  align-items: baseline;
  padding: 11px 2px;
  border-bottom: 1px solid var(--border);
}

.cat-name { font-size: 15px; line-height: 1.35; min-width: 0; }

.cat-stock { font-size: 13px; color: var(--muted); text-align: right; }

.cat-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  text-align: right;
  white-space: nowrap;
}

.cat-row.is-extra { display: none; }

.cat-panel.show-all .cat-row.is-extra { display: grid; }

.cat-empty { padding: 24px 0; color: var(--muted); }

.cat-more {
  margin-top: 18px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .cat-row { grid-template-columns: minmax(0, 1fr) 96px; }
  .cat-stock { display: none; }
}

/* ---------- Афиша топ-5 ---------- */
.top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}

.top-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.top-media { aspect-ratio: 4 / 3; overflow: hidden; background: #191916; }
.top-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.top-card:hover .top-media img { transform: scale(1.04); }

.top-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }

.top-cat {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.top-body h3 { font-size: 17px; line-height: 1.25; margin: 0; }

.top-prices { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.top-our { font-size: 14px; color: var(--muted); }
.top-our b {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--accent);
  margin-left: 4px;
}
.top-ozon { font-size: 13px; color: var(--muted); }

.top-note { font-size: 12px; color: var(--muted); margin: 0; }

.top-card .poster-cta { margin-top: auto; }

/* ---------- Баннер топ-5 на главной ---------- */
.banner-top5 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}

.banner-top5-text h2 { margin: 8px 0 12px; font-size: clamp(26px, 3.4vw, 40px); }
.banner-top5-text p { margin: 0 0 20px; color: var(--muted); max-width: 46ch; }

.banner-top5-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.banner-top5-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.banner-top5-list li:last-child { border-bottom: 0; }
.banner-top5-list span { font-size: 15px; }
.banner-top5-list b {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--accent);
}
.banner-top5-list em {
  grid-column: 1 / -1;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .banner-top5 { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 22px; }
}

/* ================= АПГРЕЙД: цветовые акценты разделов ================= */
:root {
  --acc-stroy: #E8552D;
  --acc-kanc: #17A398;
  --acc-igr: #D93A8C;
  --acc-ryb: #2E86DE;
}

body[data-shop="stroy"] { --shop-accent: var(--acc-stroy); }
body[data-shop="kanc"] { --shop-accent: var(--acc-kanc); }
body[data-shop="igr"] { --shop-accent: var(--acc-igr); }
body[data-shop="ryb"] { --shop-accent: var(--acc-ryb); }
body { --shop-accent: var(--accent); }

/* Цветные плашки и кнопки-выборы */
.kicker {
  color: var(--shop-accent);
}
.kicker::before {
  background: var(--shop-accent);
}

.shop {
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.shop::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--shop-accent);
  opacity: 0.85;
}
.shop:hover {
  transform: translateY(-4px);
  border-color: var(--shop-accent);
}
.shop-grid .shop:nth-child(1) { --shop-accent: var(--acc-stroy); }
.shop-grid .shop:nth-child(2) { --shop-accent: var(--acc-kanc); }
.shop-grid .shop:nth-child(3) { --shop-accent: var(--acc-igr); }
.shop-grid .shop:nth-child(4) { --shop-accent: var(--acc-ryb); }
.shop h3 { color: var(--shop-accent); }

/* Цветные флажки афиши */
.poster-flag {
  background: var(--shop-accent);
  color: #12120F;
}

/* Вкладки каталога берут цвет раздела */
.cat-tab[aria-selected="true"] {
  background: var(--shop-accent);
  border-color: var(--shop-accent);
}
.cat-tab:hover { border-color: var(--shop-accent); }

/* Цена в каталоге */
.cat-price { color: var(--shop-accent); }

/* ================= АПГРЕЙД: переключатель «Цена дня» ================= */
.tag-switch {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.tag-switch button {
  min-height: 40px;
  min-width: 44px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tag-switch button:hover { border-color: var(--accent); color: var(--accent); }
.tag-switch button[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}

.price-tag {
  transition: transform 0.2s ease;
}
.price-tag.swapped { animation: tag-pop 0.28s ease; }
@keyframes tag-pop {
  0% { transform: scale(0.97) rotate(-0.4deg); }
  100% { transform: scale(1) rotate(0); }
}

/* ================= АПГРЕЙД: подбор по задаче ================= */
.pick {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.pick-buttons { display: flex; flex-direction: column; gap: 10px; }

.pick-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  text-align: left;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pick-btn .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}
.pick-btn:hover { border-color: var(--accent); }
.pick-btn[aria-pressed="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-on);
}
.pick-btn[aria-pressed="true"] .dot { background: var(--accent-on); }

.pick-panel { min-width: 0; }
.pick-panel h3 { font-size: 22px; margin-bottom: 6px; }
.pick-panel > p { color: var(--muted); margin-bottom: 18px; }

.pick-list { list-style: none; margin: 0 0 20px; padding: 0; }
.pick-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.pick-list li:last-child { border-bottom: 0; }
.pick-list span { font-size: 15px; line-height: 1.35; }
.pick-list b {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--accent);
  white-space: nowrap;
}
.pick-list em {
  grid-column: 1 / -1;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
}

.pick-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .pick { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
  .pick-buttons { flex-direction: row; flex-wrap: wrap; }
  .pick-btn { width: auto; font-size: 14px; }
}

/* ================= АПГРЕЙД: «Новинки» лента ================= */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.chips a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 14px;
  text-decoration: none;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.chips a:hover { border-color: var(--accent); color: var(--accent); }
.chips a b { font-family: var(--font-display); font-size: 14px; color: var(--accent); }

/* ================= СВЕТЛАЯ ТЁПЛАЯ ТЕМА ================= */
:root {
  --bg: #F7F3E9;
  --surface: #FFFFFF;
  --fg: #1B1815;
  --muted: #6B6557;
  --border: #E2DBC9;
  --accent: #FFD400;
  --accent-on: #1B1815;
}

body { background: var(--bg); }

.site-head { background: rgba(247, 243, 233, 0.94); }
.hero::before {
  background-image:
    linear-gradient(to right, rgba(27, 24, 21, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(27, 24, 21, 0.045) 1px, transparent 1px);
}
.price-tag { box-shadow: 10px 10px 0 rgba(27, 24, 21, 0.16); }
.poster:hover { box-shadow: 0 14px 30px rgba(27, 24, 21, 0.16); }
.site-foot { background: #FFFFFF; }
.top-media { background: #EDE7D9; }
.app-dock { background: rgba(255, 255, 255, 0.96); box-shadow: 0 16px 40px rgba(27, 24, 21, 0.18); }
.shop { background: var(--surface); }
.section:nth-of-type(even) { background: #FDFBF5; }
.shop-grid { background: var(--border); }
.cat-search input, .cat-tab { background: var(--surface); }
.top-card, .banner-top5, .pick { background: var(--surface); }
.price-tag::before { background: var(--surface); }
.app-band { box-shadow: 0 18px 40px rgba(27, 24, 21, 0.14); }

/* ================= Пожелания покупателей ================= */
.wish-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 16px 32px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-on);
  border: 2px solid var(--accent);
  box-shadow: 0 14px 30px rgba(27, 24, 21, 0.22);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(17px, 2vw, 21px);
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wish-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(27, 24, 21, 0.26); }
.wish-cta .w-ico {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-on);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 17px;
  font-weight: 900;
}
@media (max-width: 560px) { .wish-cta { width: 100%; } }

.wish-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 20px;
  padding: 34px;
}
@media (max-width: 900px) { .wish-band { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 22px; } }
.wish-band h2 { font-size: clamp(24px, 3.2vw, 38px); margin-bottom: 12px; }
.wish-band p { color: var(--muted); max-width: 48ch; }

.wish-form { display: grid; gap: 14px; }
.wish-form label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.wish-form input, .wish-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--fg);
  background: #FCFAF4;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
}
.wish-form textarea { min-height: 110px; resize: vertical; }
.wish-form input:focus, .wish-form textarea:focus { border-color: var(--accent); }
.wish-form .consent { font-size: 13px; color: var(--muted); text-transform: none; letter-spacing: 0; font-weight: 400; }
.wish-form .consent a { color: var(--fg); }
.wish-form .btn { width: 100%; }
.wish-done {
  display: none;
  padding: 18px;
  border-radius: 12px;
  background: #F1F7E6;
  border: 1px solid #BFD79A;
  color: #2C4A12;
  font-weight: 700;
}
.wish-form.sent { display: none; }
.wish-done.show { display: block; }

/* ================= Баннер для бизнеса и доставки ================= */
.biz-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  background: var(--accent);
  color: var(--accent-on);
  border-radius: 20px;
  padding: 34px;
}
@media (max-width: 900px) { .biz-band { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 22px; } }
.biz-band h2 { font-size: clamp(24px, 3.2vw, 38px); margin-bottom: 12px; }
.biz-band p { margin: 0 0 10px; max-width: 46ch; font-weight: 500; }
.biz-list { list-style: none; margin: 0; padding: 0; }
.biz-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(27, 24, 21, 0.18);
  font-weight: 500;
}
.biz-list li:last-child { border-bottom: 0; }
.biz-list b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.biz-list .tick {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-on);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 14px;
  font-weight: 900;
}

.delivery-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  padding: 18px 22px;
  margin-top: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: 12px;
  font-size: 15px;
}
.delivery-line b { font-family: var(--font-display); font-weight: 700; }

/* ---------- Контраст тёмного текста на светлом фоне ---------- */
:root { --accent-ink: #8A5E00; }
body { --shop-accent: var(--accent-ink); }

.hero h1 span,
.stat-n,
.top-our b,
.pick-list b,
.banner-top5-list b,
.chips a b,
.tag-switch button:hover { color: var(--accent-ink); }

/* ---------- Адрес магазина + Яндекс.Карты ---------- */
.addr-band {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
}
.addr-left { display: flex; gap: 14px; align-items: flex-start; }
.addr-pin {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-on);
  display: grid; place-items: center;
  font-size: 22px;
  box-shadow: 0 6px 18px rgba(0,0,0,.10);
}
.addr-kicker {
  display: block;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 2px;
}
.addr-text { font-size: 18px; font-weight: 800; line-height: 1.3; }
.addr-hint { font-size: 13px; color: var(--muted); margin-top: 3px; }
.addr-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn.map {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--accent-on);
  border: 1px solid var(--accent); border-radius: 12px;
  padding: 12px 18px; font-weight: 800; text-decoration: none;
}
.btn.map:hover { filter: brightness(.96); transform: translateY(-1px); }
.shop-addr {
  margin: 10px 0 12px;
  font-size: 13.5px; color: var(--muted);
  display: flex; gap: 6px; align-items: flex-start;
}
.shop-addr b { color: var(--fg); }
.shop-addr a { color: var(--shop-accent, var(--accent-ink)); font-weight: 700; }
@media (max-width: 640px) {
  .addr-band { padding: 16px; }
  .addr-text { font-size: 16px; }
  .btn.map { width: 100%; justify-content: center; }
}

/* === Премиальные карточки «Топ-5» (единый стиль Изи +) === */
.top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 18px;
}
.top-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(27, 24, 21, .07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.top-card:hover {
  transform: translateY(-4px);
  border-color: #D8D0BC;
  box-shadow: 0 18px 42px rgba(27, 24, 21, .13);
}
.top-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(158deg, #FFFDF7 0%, #F4ECDC 58%, #EDE2CC 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.top-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}
.top-card:hover .top-media img { transform: scale(1.06); }
.top-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #1B1815;
  color: #FFD400;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.top-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(27, 24, 21, .07);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #1B1815;
}
.top-logo {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  background: #fff;
  border-radius: 10px;
  padding: 5px 9px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .14);
  line-height: 0;
}
.top-logo img { height: 22px; width: auto; display: block; }
.top-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.top-body h3 { font-size: 16px; line-height: 1.3; margin: 0; min-height: 2.6em; }
.top-prices { display: flex; flex-direction: column; gap: 7px; }
.top-our {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.top-our b {
  background: #FFD400;
  color: #131310;
  font-size: 21px;
  line-height: 1.15;
  padding: 4px 11px;
  border-radius: 11px;
  white-space: nowrap;
}
.top-ozon { font-size: 12.5px; color: var(--muted); }
.top-ozon s { color: #8A8574; }
.top-note {
  font-size: 11.5px;
  color: var(--muted);
  margin: 0;
  border-left: 3px solid var(--shop-accent, #E2DBC9);
  padding-left: 9px;
}
.top-card .poster-cta {
  margin-top: auto;
  justify-content: center;
  background: #1B1815;
  color: #FFD400;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px;
  transition: background .2s ease;
}
.top-card .poster-cta:hover { background: #000; color: #FFD400; }
@media (max-width: 720px) {
  .top-body h3 { min-height: 0; }
  .top-our b { font-size: 19px; }
}

/* Сетка топ-5: первая карточка крупная */
.top-grid { grid-template-columns: repeat(4, 1fr); }
.top-card:first-child { grid-column: span 2; grid-row: span 2; }
.top-card:first-child .top-media { aspect-ratio: auto; flex: 1; padding: 20px; }
.top-card:first-child .top-body { flex: 1.2; padding: 22px 22px 24px; justify-content: center; }
.top-card:first-child .top-body h3 { font-size: 20px; min-height: 0; }
.top-card:first-child .top-our b { font-size: 26px; }
@media (max-width: 1000px) {
  .top-grid { grid-template-columns: repeat(2, 1fr); }
  .top-card:first-child { grid-column: span 2; grid-row: auto; flex-direction: column; }
  .top-card:first-child .top-media { aspect-ratio: 4 / 3; flex: none; }
  .top-card:first-child .top-body { padding: 16px 16px 18px; }
  .top-card:first-child .top-body h3 { font-size: 17px; }
}
@media (max-width: 600px) {
  .top-grid { grid-template-columns: 1fr; }
  .top-card:first-child { grid-column: span 1; }
}
