/* Восстановлено из архива tobolskobed.ru — стиль оригинала: Nunito, #e31c26, #f5f5f5 */
:root {
  --primary: #e31c26;
  --primary-dark: #c01520;
  --primary-rgb: 227 28 38;
  --bg: #f5f5f5;
  --card: #ffffff;
  --text: #1c1c1c;
  --muted: #8a8a8a;
  --border: #ececec;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow: 0 6px 24px rgb(0 0 0 / .07);
  --header-h: 5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 4rem); }
body {
  margin: 0;
  font-family: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--card);
  box-shadow: 0 1px 0 var(--border);
  height: var(--header-h);
}
.header__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.brand__logo {
  width: 46px; height: 46px; object-fit: cover;
  border-radius: 50%; box-shadow: var(--shadow);
  flex: none;
}
.brand__name {
  font-size: 1.45rem; font-weight: 800; letter-spacing: .3px; white-space: nowrap;
}
.header__info { display: flex; align-items: center; gap: 1.75rem; }
.info-block { display: flex; flex-direction: column; line-height: 1.25; }
.info-block__label { font-size: .72rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.info-block__value { font-weight: 700; font-size: .95rem; }
.info-block__value--phone { color: var(--primary); font-size: 1.02rem; white-space: nowrap; }
.info-block--city { border-left: 1px solid var(--border); padding-left: 1.75rem; }
.info-block--city .info-block__value { font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 420px;
  display: flex; align-items: center;
  background: #2b2320 url('../img/glavnyibanner1652426962.webp') center 35% / cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / .72) 0%, rgb(0 0 0 / .45) 55%, rgb(0 0 0 / .15) 100%);
}
.hero__content { position: relative; padding-top: 3rem; padding-bottom: 3rem; }
.hero__title {
  margin: 0 0 .5rem;
  color: #fff; font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800; line-height: 1.12; max-width: 620px;
}
.hero__subtitle {
  margin: 0 0 1.5rem; color: rgb(255 255 255 / .92);
  font-size: clamp(1rem, 2vw, 1.2rem); max-width: 540px;
}
.hero__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  background: rgb(255 255 255 / .14); color: #fff;
  border: 1px solid rgb(255 255 255 / .35);
  padding: .35rem .85rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600; backdrop-filter: blur(4px);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .8rem 1.7rem;
  border-radius: var(--radius); font-weight: 700; font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer; border: none;
}
.btn:active { transform: scale(.97); }
.btn--primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 8px 20px rgb(var(--primary-rgb) / .35);
}
.btn--primary:hover { background: var(--primary-dark); }
.btn--ghost {
  background: rgb(255 255 255 / .12); color: #fff;
  border: 1px solid rgb(255 255 255 / .5);
}
.btn--ghost:hover { background: rgb(255 255 255 / .22); }

/* ---------- Menu nav ---------- */
.menu-nav {
  position: sticky; top: var(--header-h); z-index: 90;
  background: rgb(245 245 245 / .96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: .7rem 0;
}
.menu-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.menu-nav__tabs { display: flex; gap: .5rem; flex-wrap: wrap; }
.tab {
  padding: .55rem 1.2rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border);
  font-weight: 700; font-size: .95rem; color: var(--text);
  cursor: pointer; transition: all .15s ease; white-space: nowrap;
}
.tab:hover { border-color: rgb(var(--primary-rgb) / .5); }
.tab--active {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 6px 16px rgb(var(--primary-rgb) / .3);
}
.menu-nav__search input {
  width: 230px; max-width: 100%;
  padding: .6rem 1rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--card);
  font: inherit; font-size: .95rem; outline: none;
  transition: border-color .15s ease;
}
.menu-nav__search input:focus { border-color: var(--primary); }

/* ---------- Sections & cards ---------- */
.main { padding: 2rem 1rem 3rem; }
.cat-section { margin-bottom: 2.75rem; }
.cat-section__title {
  font-size: 1.6rem; font-weight: 800; margin: 0 0 1.2rem;
}
.cat-section__title small { color: var(--muted); font-weight: 600; font-size: 1rem; margin-left: .5rem; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1.1rem;
}
.product-card {
  background: var(--card); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgb(0 0 0 / .12); }
.product-card__imgwrap { aspect-ratio: 4 / 3; overflow: hidden; background: #efe9e4; }
.product-card__imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 0 0 .35rem; }
.product-card__desc {
  color: var(--muted); font-size: .85rem; margin: 0 0 .75rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.product-card__weight { color: var(--muted); font-size: .82rem; font-weight: 600; white-space: nowrap; }
.product-card__price {
  color: var(--primary); font-weight: 800; font-size: 1.12rem; white-space: nowrap;
}
.product-card__price small { font-size: .85rem; font-weight: 700; }
.empty-note {
  padding: 2.5rem 1rem; text-align: center; color: var(--muted);
  font-size: 1.05rem; width: 100%;
}
.noscript-note { background: #fff3cd; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600; }

/* ---------- Delivery ---------- */
.delivery { background: var(--card); padding: 3rem 0; }
.section-title { font-size: 1.7rem; font-weight: 800; margin: 0 0 1.2rem; }
.delivery__modes { display: flex; gap: .6rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.mode {
  padding: .5rem 1.2rem; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--border);
  font-weight: 700; font-size: .92rem; color: var(--muted);
}
.mode--active { background: var(--primary); color: #fff; border-color: var(--primary); }
.delivery__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}
.zone-card {
  background: var(--bg); border-radius: var(--radius-md); padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
}
.zone-card__name { font-weight: 800; margin-bottom: .55rem; min-height: 2.6em; }
.zone-card__row { display: flex; justify-content: space-between; font-size: .9rem; padding: .18rem 0; }
.zone-card__row span:first-child { color: var(--muted); }
.zone-card__row span:last-child { font-weight: 700; }
.delivery__note { margin: 1.4rem 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- About ---------- */
.about { padding: 3rem 0; }
.about__inner { display: flex; justify-content: center; }
.about__card {
  background: var(--card); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 2rem 2.2rem; max-width: 720px; width: 100%;
}
.about__text { margin: 0 0 1.1rem; }
.about__list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.about__list li { padding: .3rem 0; }

/* ---------- Footer ---------- */
.footer { background: #221d1b; color: rgb(255 255 255 / .85); padding: 1.4rem 0; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .95rem;
}
.footer a { color: #fff; font-weight: 700; }

/* ---------- Mobile ---------- */
@media not (min-width: 64rem) {
  .header { height: 3.5rem; --header-h: 3.5rem; }
  .brand__logo { width: 36px; height: 36px; }
  .brand__name { font-size: 1.15rem; }
  .header__info { gap: .9rem; }
  .info-block--city { display: none; }
  .info-block__label { font-size: .62rem; }
  .info-block__value { font-size: .8rem; }
  .info-block__value--phone { font-size: .9rem; }
  .hero { min-height: 340px; }
  .menu-nav__inner { justify-content: center; }
  .menu-nav__tabs { justify-content: center; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .7rem; }
  .product-card__desc { display: none; }
  .about__card { padding: 1.4rem 1.2rem; }
}
@media (max-width: 480px) {
  .info-block:first-child { display: none; }
}
