/* ==========================================================================
   SANBONSAI — Корпоративный сайт-каталог (WordPress-ready Frontend)
   Токены, сетка, типографика и адаптив по макетам Figma (SBS_web)
   ========================================================================== */

@font-face {
  font-family: 'Albertus Nova';
  src: url('../fonts/AlbertusNova-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Albertus Nova';
  src: url('../fonts/AlbertusNova-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Root UI';
  src: url('../fonts/PTRootUI-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Root UI';
  src: url('../fonts/PTRootUI-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Root UI';
  src: url('../fonts/PTRootUI-Medium.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Root UI';
  src: url('../fonts/PTRootUI-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Serif';
  src: url('../fonts/PTSerif-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PT Serif';
  src: url('../fonts/PTSerif-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'PT Serif';
  src: url('../fonts/PTSerif-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-dark: #1f1e1c;
  --bg-darker: #161514;
  --bg-dark-card: #2b2926;
  --bg-cream: #faf4ea;
  --bg-cream-soft: #f4ecdf;
  --bg-cream-card: #fdf9f2;

  --text-on-dark: #faf4ea;
  --text-muted-dark: rgba(250, 244, 234, 0.68);
  --text-on-light: #1f1e1c;
  --text-muted-light: #5c5852;

  --btn-cream: #efe6d5;
  --btn-cream-hover: #f7c16d;
  --btn-dark: #302e2a;
  --btn-dark-hover: #a39f8e;

  --accent-green: #5f8e65;
  --accent-green-hover: #74a57a;
  --accent-emerald: #0b875b;
  --accent-terracotta: #dd4b30;
  --accent-terracotta-hover: #f27963;
  --accent-amber: #e26324;

  --border-light: #d9d0c1;
  --border-dark: rgba(250, 244, 234, 0.16);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container-max: 1320px;
  --gutter: clamp(16px, 3vw, 40px);

  --font-display: 'Albertus Nova', 'PT Serif', Georgia, serif;
  --font-serif: 'PT Serif', Georgia, serif;
  --font-sans: 'PT Root UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-dark);
  color: var(--text-on-light);
}

::selection {
  background-color: var(--btn-cream-hover);
  color: var(--bg-darker);
}

::-webkit-scrollbar {
  width: 10px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #4b4740;
  border-radius: 999px;
  border: 2px solid var(--bg-darker);
}
::-webkit-scrollbar-thumb:hover {
  background: #6c665c;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  background-color: var(--bg-cream);
  color: var(--text-on-light);
  overflow-x: clip;
}

body.theme-dark-page {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease-out), opacity 0.2s var(--ease-out);
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--btn-cream-hover);
  outline-offset: 3px;
}

.section-light :focus-visible,
.feedback-card :focus-visible,
.search-modal__dialog :focus-visible,
.cat-pills-bar :focus-visible,
.subcat-anchors :focus-visible {
  outline-color: var(--text-on-light);
}

.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.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;
}

/* ==========================================================================
   ТИПОГРАФИКА И КНОПКИ (по фрейму Button в Figma)
   ========================================================================== */

.h-section {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
}

.h-sub {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.12;
  text-transform: uppercase;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.24s var(--ease-out), color 0.24s var(--ease-out), transform 0.2s var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.24s var(--ease-out);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--cream {
  background-color: var(--btn-cream);
  color: var(--text-on-light);
}
.btn--cream:hover {
  background-color: var(--btn-cream-hover);
}

.btn--dark {
  background-color: var(--btn-dark);
  color: #ffffff;
}
.btn--dark:hover {
  background-color: var(--btn-dark-hover);
}

.btn--submit {
  width: 100%;
  min-height: 50px;
  border-radius: var(--radius-sm);
  background-color: var(--btn-dark);
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
}
.btn--submit:hover {
  background-color: var(--btn-dark-hover);
}

.btn--green {
  width: 100%;
  min-height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-green);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.btn--green:hover {
  background-color: var(--accent-green-hover);
}

/* ==========================================================================
   ВЕРХНЯЯ СТРОКА И ШАПКА САЙТА
   ========================================================================== */

.topbar {
  background-color: var(--bg-darker);
  color: rgba(250, 244, 234, 0.85);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 7px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: rgba(26, 25, 23, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--text-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s var(--ease-out);
}

.site-header--hero-overlay {
  background-color: rgba(26, 25, 23, 0.78);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #ffffff;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.brand-logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-logo__reg {
  font-size: 11px;
  font-weight: 600;
  vertical-align: super;
  margin-left: 1px;
  opacity: 0.85;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 40px);
}

.main-nav__link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: rgba(250, 244, 234, 0.88);
  padding-block: 6px;
}

.main-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background-color: var(--btn-cream-hover);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s var(--ease-out);
}

.main-nav__link:hover,
.main-nav__link.is-active {
  color: #ffffff;
}

.main-nav__link:hover::after,
.main-nav__link.is-active::after {
  transform: scaleX(1);
}

/* Выпадающее подменю каталога в шапке */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: -16px;
  width: 290px;
  background: #242220;
  border: 1px solid rgba(250, 244, 234, 0.14);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out), visibility 0.2s;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  color: rgba(250, 244, 234, 0.88);
}

.nav-dropdown__item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.72;
  transition: transform 0.18s var(--ease-out), opacity 0.18s var(--ease-out);
}

.nav-dropdown__item:hover {
  background: rgba(250, 244, 234, 0.09);
  color: var(--btn-cream-hover);
}

.nav-dropdown__item:hover svg {
  transform: translateX(3px);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  line-height: 0;
  border-radius: 50%;
  border: 1px solid rgba(250, 244, 234, 0.34);
  color: #ffffff;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.icon-btn svg {
  display: block;
  flex-shrink: 0;
}

.icon-btn:hover {
  background-color: rgba(250, 244, 234, 0.12);
  border-color: var(--btn-cream-hover);
}

.burger-btn {
  display: none;
}

/* Мобильное меню */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(16, 15, 14, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s var(--ease-out), visibility 0.26s;
}

.mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 90vw);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 22px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease-out);
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-dark);
}

.mobile-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-drawer__link {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  padding: 8px 0;
  border-bottom: 1px solid rgba(250, 244, 234, 0.08);
}

.mobile-drawer__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-drawer__cat {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(250, 244, 234, 0.08);
  font-size: 13px;
}

/* ==========================================================================
   ЖИВОЙ ПОИСК В ШАПКЕ (Search Overlay)
   ========================================================================== */

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: rgba(16, 15, 14, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 6vh, 64px) 16px 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease-out), visibility 0.22s;
}

.search-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.search-modal__dialog {
  width: min(760px, 100%);
  background: var(--bg-cream);
  color: var(--text-on-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: translateY(-10px);
  transition: transform 0.24s var(--ease-out);
}

.search-modal.is-open .search-modal__dialog {
  transform: translateY(0);
}

.search-modal__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-cream-card);
}

.search-modal__input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 17px;
  outline: none;
  color: var(--text-on-light);
}

.search-modal__close {
  width: 36px;
  height: 36px;
  padding: 0;
  line-height: 0;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--btn-cream);
  color: var(--text-on-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}

.search-modal__close svg {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}

.search-modal__close:hover {
  background: var(--btn-cream-hover);
}

.search-modal__quick {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-cream-soft);
  font-size: 12.5px;
}

.search-chip {
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 12.5px;
  transition: background-color 0.18s;
}
.search-chip:hover {
  background: var(--btn-cream-hover);
  border-color: var(--btn-cream-hover);
}

.search-modal__results {
  max-height: min(60vh, 460px);
  overflow-y: auto;
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-cream-card);
  border: 1px solid rgba(217, 208, 193, 0.65);
  transition: border-color 0.18s, transform 0.18s;
}
.search-item:hover {
  border-color: var(--accent-amber);
  transform: translateX(2px);
}

.search-item__img {
  width: 58px;
  height: 58px;
  border-radius: 9px;
  object-fit: cover;
  background: #eae2d3;
}

.search-item__title {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.15;
  margin: 0 0 3px;
}

.search-item__meta {
  font-size: 12.5px;
  color: var(--text-muted-light);
}

/* ==========================================================================
   ПЕРВЫЙ ЭКРАН ГЛАВНОЙ (HERO: Курсор-маска на ПК / Слайдер на мобильных)
   ========================================================================== */

.hero {
  position: relative;
  background: radial-gradient(circle at 50% 35%, #2b1d17 0%, #191513 68%, #12100f 100%);
  overflow: hidden;
}

.hero__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 980;
  max-height: 760px;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  user-select: none;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s var(--ease-out);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide__base,
.hero-slide__reveal {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Двухслойный рендер: темный контурный силуэт (1.jpg) + полноцветный светлый слой (2.jpg) под курсор-маской */
.hero--spotlight .hero-slide--mask .hero-slide__reveal {
  --spot-x: 52%;
  --spot-y: 54%;
  --spot-r: clamp(190px, 21vw, 310px);
  will-change: mask-image, -webkit-mask-image;
  -webkit-mask-image: radial-gradient(
    circle var(--spot-r) at var(--spot-x) var(--spot-y),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.86) 46%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: radial-gradient(
    circle var(--spot-r) at var(--spot-x) var(--spot-y),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.86) 46%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero__controls {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 16px;
  z-index: 5;
  max-width: var(--container-max);
  margin-inline: auto;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  pointer-events: none;
}

@media (min-width: 901px) {
  .hero-slide--mobile-only {
    display: none;
  }
}

.hero__dots {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  background: rgba(22, 21, 20, 0.62);
  backdrop-filter: blur(8px);
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(250, 244, 234, 0.38);
  padding: 0;
  transition: width 0.25s var(--ease-out), background-color 0.25s;
}

.hero__dot.is-active {
  width: 24px;
  border-radius: 999px;
  background: var(--btn-cream-hover);
}

/* Бегущая строка под главным баннером */
.marquee {
  background: var(--bg-cream);
  color: var(--text-on-light);
  border-block: 1px solid var(--border-light);
  overflow: hidden;
  padding-block: 11px;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__item:hover {
  color: var(--accent-terracotta);
}

@keyframes marquee-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* ==========================================================================
   ФИРМЕННЫЕ ГЛАЗКИ МАСКОТА SANBONSAI
   ========================================================================== */

.mascot-eyes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.mascot-eye {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #faf4ea;
  border: 2px solid #1f1e1c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mascot-eyes--sm .mascot-eye {
  width: 18px;
  height: 18px;
  border-width: 1.5px;
}

.mascot-pupil {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #1f1e1c;
  position: relative;
  transition: transform 0.08s linear;
}

.mascot-pupil::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
}

.mascot-eyes--sm .mascot-pupil {
  width: 8px;
  height: 8px;
}
.mascot-eyes--sm .mascot-pupil::after {
  top: 1.5px;
  left: 1.5px;
  width: 2px;
  height: 2px;
}

/* ==========================================================================
   БЛОК «ХИТЫ ПРОДАЖ» (статика 3 на ПК / свайп на мобильных)
   ========================================================================== */

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  padding-block: clamp(48px, 6vw, 84px);
}

.section-light {
  background-color: var(--bg-cream);
  color: var(--text-on-light);
  padding-block: clamp(44px, 5.5vw, 76px);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(24px, 3vw, 38px);
}

.hits-slider {
  position: relative;
}

.hits-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hit-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hit-card__media {
  position: relative;
  aspect-ratio: 1 / 1.03;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #2b2926;
}

.hit-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.hit-card:hover .hit-card__media img {
  transform: scale(1.04);
}

.badge-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  background: var(--bg-cream);
  color: var(--text-on-light);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.badge-pill--muted {
  background: rgba(31, 30, 28, 0.84);
  color: #faf4ea;
  border: 1px solid rgba(250, 244, 234, 0.24);
  backdrop-filter: blur(6px);
}

.badge-oval-vegan {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 8px 18px;
  border-radius: 50%;
  background: var(--accent-terracotta);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transform: rotate(-14deg);
  box-shadow: 0 6px 16px rgba(221, 75, 48, 0.32);
}

.hit-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted-dark);
}

.hit-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 400;
  margin: 0;
}

.hit-card__actions {
  margin-top: 2px;
}

.hits-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.hits-dots__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(250, 244, 234, 0.28);
  padding: 0;
  transition: width 0.22s var(--ease-out), background-color 0.22s;
}
.hits-dots__dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--btn-cream-hover);
}

/* ==========================================================================
   БЕНТО-СЕТКА 7 КАТЕГОРИЙ НА ГЛАВНОЙ (точная раскладка Figma)
   ========================================================================== */

.bento-catalog {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.bento-row {
  display: grid;
  gap: 22px;
}

.bento-row--1 {
  grid-template-columns: 0.9fr 1.1fr;
}

.bento-row--2 {
  grid-template-columns: 1.08fr 0.92fr;
}

.bento-row--3 {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
}

.bento-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cat-bento-card {
  position: relative;
  display: grid;
  grid-template-columns: 44% 56%;
  background: var(--bg-cream);
  color: var(--text-on-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 276px;
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s var(--ease-out);
}

.cat-bento-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
}

.cat-bento-card--tall {
  grid-template-columns: 1fr;
  grid-template-rows: 310px 1fr;
  height: 100%;
}

.cat-bento-card__media {
  position: relative;
  overflow: hidden;
  background: #2b2622;
}

.cat-bento-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.cat-bento-card:hover .cat-bento-card__media img {
  transform: scale(1.05);
}

.cat-bento-card__body {
  padding: clamp(20px, 2.4vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.cat-bento-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.12;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.cat-bento-card__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--text-muted-light);
}

.cat-bento-card__cta {
  align-self: flex-end;
}

/* ==========================================================================
   БЛОК «ПРОИЗВОДСТВО» И СЧЁТЧИКИ
   ========================================================================== */

.production-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.production-lead {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.24;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.production-text {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--text-muted-dark);
  max-width: 52ch;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-item {
  border-left: 1px solid rgba(250, 244, 234, 0.28);
  padding-left: 16px;
}

.stat-item__num {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}

.stat-item__label {
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--text-muted-dark);
}

.production-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7.4;
  background: #2b2926;
}

.production-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   СКВОЗНОЙ БЛОК «ГДЕ КУПИТЬ» (10 федеральных сетей в монохромном SVG)
   ========================================================================== */

.retailers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.retailer-tile {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(250, 244, 234, 0.05);
  border: 1px solid rgba(250, 244, 234, 0.12);
  cursor: default;
  transition: background-color 0.24s var(--ease-out), border-color 0.24s, transform 0.24s var(--ease-out);
}

.retailer-tile--link {
  cursor: pointer;
}

.section-light .retailer-tile {
  background: var(--bg-cream-card);
  border-color: var(--border-light);
}

.retailer-tile:hover {
  border-color: rgba(250, 244, 234, 0.34);
  background: rgba(250, 244, 234, 0.09);
}

.retailer-tile--link:hover {
  transform: translateY(-2px);
  border-color: var(--btn-cream-hover);
}

.section-light .retailer-tile:hover {
  background: #ffffff;
  border-color: #bfb5a4;
}

.section-light .retailer-tile--link:hover {
  border-color: var(--accent-amber);
}

.retailer-logo-img {
  display: block;
  width: 100%;
  max-width: 156px;
  height: 38px;
  object-fit: contain;
  opacity: 0.84;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}

.section-dark .retailer-logo-img {
  filter: brightness(0) invert(1);
  opacity: 0.86;
}

.section-light .retailer-logo-img {
  filter: none;
  opacity: 0.82;
}

.retailer-tile:hover .retailer-logo-img {
  opacity: 1;
}

.retailer-tile--link:hover .retailer-logo-img {
  transform: scale(1.04);
}

/* ==========================================================================
   СКВОЗНАЯ ФОРМА ОБРАТНОЙ СВЯЗИ (точная карточка из Figma)
   ========================================================================== */

.feedback-wrap {
  padding-block: clamp(28px, 4.5vw, 56px);
}

.feedback-card {
  background: var(--bg-cream);
  color: var(--text-on-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.section-dark .feedback-card {
  border-color: transparent;
}

.feedback-copy__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.feedback-copy__sub {
  margin: 0 0 22px;
  font-size: 15px;
  color: var(--text-muted-light);
  max-width: 34ch;
}

.feedback-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip {
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-cream-card);
  font-size: 12.5px;
  color: var(--text-muted-light);
  transition: all 0.18s;
}

.topic-chip.is-active,
.topic-chip:hover {
  background: var(--btn-dark);
  border-color: var(--btn-dark);
  color: #ffffff;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field__label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-on-light);
}

.field__input,
.field__textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 9px;
  border: 1px solid #aba396;
  background: transparent;
  font-size: 14px;
  color: var(--text-on-light);
  transition: border-color 0.18s, background-color 0.18s;
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: #968f83;
}

.field__input:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--text-on-light);
  background: #ffffff;
}

.field.has-error .field__input,
.field.has-error .field__textarea {
  border-color: var(--accent-terracotta);
  background: rgba(221, 75, 48, 0.04);
}

.field__error {
  font-size: 12px;
  color: var(--accent-terracotta);
  min-height: 16px;
  display: none;
}

.field.has-error .field__error {
  display: block;
}

.field__textarea {
  min-height: 112px;
  resize: vertical;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted-light);
  cursor: pointer;
}

.consent-row input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--btn-dark);
  flex-shrink: 0;
}

.consent-row a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  display: none;
  padding: 13px 16px;
  border-radius: 10px;
  background: rgba(95, 142, 101, 0.14);
  border: 1px solid var(--accent-green);
  color: #244728;
  font-size: 13.5px;
  font-weight: 500;
}

.form-status.is-visible {
  display: block;
}

/* ==========================================================================
   СТРАНИЦЫ КАТЕГОРИЙ КАТАЛОГА (Навигация, Промо-лендинги, Подкатегории)
   ========================================================================== */

.cat-hero {
  position: relative;
  min-height: clamp(220px, 26vw, 340px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #231915;
  color: #ffffff;
}

.cat-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68);
}

.cat-hero--bright .cat-hero__bg {
  filter: none;
}

.cat-hero--art {
  min-height: clamp(190px, 31vw, 440px);
}

@media (max-width: 640px) {
  .cat-hero--art {
    min-height: 0;
    aspect-ratio: 16 / 6.6;
  }
}

.cat-hero__content {
  position: relative;
  z-index: 2;
  padding: 36px var(--gutter);
  max-width: 880px;
}

.cat-hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 54px);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

/* Полоса переключения всех 7 категорий под баннером */
.cat-pills-bar {
  background: var(--bg-cream);
  padding-top: 26px;
  padding-bottom: 10px;
}

.cat-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.cat-pills::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--text-on-light);
  background: var(--btn-dark);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s var(--ease-out);
}

.cat-pill--light {
  background: transparent;
  color: var(--text-on-light);
  border-color: rgba(31, 30, 28, 0.35);
}

.cat-pill:hover,
.cat-pill.is-active {
  background: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: #ffffff;
}

/* Быстрые якоря подкатегорий (Соусы / HoReCa / Лапша) */
.subcat-anchors {
  position: sticky;
  top: 74px;
  z-index: 40;
  background: rgba(250, 244, 234, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding-block: 10px;
}

.subcat-anchors__list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subcat-anchors__list::-webkit-scrollbar {
  display: none;
}

.subcat-anchor {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-cream-soft);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-muted-light);
}
.subcat-anchor:hover {
  background: var(--btn-cream-hover);
  color: var(--text-on-light);
}

/* Сетка карточек товаров внутри категории */
.subcat-block {
  padding-block: clamp(28px, 3.6vw, 46px);
  scroll-margin-top: 132px;
}

.subcat-block + .subcat-block {
  border-top: 1px solid rgba(217, 208, 193, 0.7);
}

.subcat-block__head {
  max-width: 660px;
  margin-bottom: 26px;
}

.subcat-block__desc {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--text-muted-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 22px;
}

.products-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prod-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prod-card__media {
  position: relative;
  aspect-ratio: 1 / 1.08;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ece5d8;
}

.prod-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s var(--ease-out);
}

.prod-card:hover .prod-card__media img {
  transform: scale(1.045);
}

.prod-card--soon .prod-card__media img {
  filter: blur(5px) saturate(0.55) opacity(0.62);
  transform: scale(1.06);
}

.badge-soon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: var(--btn-cream-hover);
  color: var(--text-on-light);
  font-size: 12px;
  font-weight: 700;
}

.prod-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted-light);
}

.prod-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.18;
  font-weight: 400;
  margin: 0;
  color: var(--text-on-light);
  transition: color 0.18s;
}

.prod-card:hover .prod-card__title {
  color: var(--accent-terracotta);
}

/* Промо-блоки для Ланч-боксов и Чипсов Нори */
.promo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-block: 24px;
  background: #efe6d6;
}

.promo-split--emerald {
  background: var(--accent-emerald);
  color: #ffffff;
}

.promo-split--mint {
  background: #e9f0e6;
}

.promo-split--pink {
  background: #fbd9e0;
}

.promo-split__media {
  min-height: 340px;
  background: #d8cebe;
}

.promo-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-split__body {
  padding: clamp(28px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.promo-usp-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.promo-usp-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.promo-usp-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   КАРТОЧКА ТОВАРА (Product Single)
   ========================================================================== */

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-block: 22px 18px;
  font-size: 12.5px;
  color: var(--text-muted-light);
}

.breadcrumbs a:hover {
  color: var(--accent-terracotta);
}

.product-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
  padding-bottom: 36px;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-gallery__stage {
  position: relative;
  aspect-ratio: 1 / 1.04;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ece4d6;
  touch-action: pan-y;
}

.product-gallery__slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.36s var(--ease-out);
}

.product-gallery__slide {
  min-width: 100%;
  height: 100%;
}

.product-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.product-gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(31, 30, 28, 0.32);
  padding: 0;
}
.product-gallery__dot.is-active {
  background: var(--text-on-light);
  transform: scale(1.25);
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-gallery__thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: #ece4d6;
  opacity: 0.72;
  transition: opacity 0.18s, border-color 0.18s;
}
.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
  opacity: 1;
  border-color: var(--text-on-light);
}
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 16px;
}

.product-info__desc {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.58;
  color: var(--text-muted-light);
  max-width: 56ch;
}

.product-spec-group {
  margin-bottom: 18px;
}

.product-spec-group__label {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-on-light);
}

.product-spec-list {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-muted-light);
}

.product-spec-val {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-muted-light);
}

.product-barcode {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.product-draft-note {
  margin: 0 0 20px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-cream-soft);
  border-left: 3px solid var(--accent-amber);
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--text-on-light);
}

.volume-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.volume-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--text-on-light);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  color: var(--text-on-light);
  transition: all 0.18s;
}

.volume-pill.is-active,
.volume-pill:hover {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #ffffff;
}

/* Таблица КБЖУ в карточке соусов */
.kbzhu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.kbzhu-item {
  border-left: 1px solid var(--border-light);
  padding-left: 12px;
}
.kbzhu-item:first-child {
  border-left: none;
  padding-left: 0;
}

.kbzhu-item__val {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
}

.kbzhu-item__lbl {
  font-size: 12px;
  color: var(--text-muted-light);
  line-height: 1.3;
}

/* 3 иллюстрированные иконки преимуществ под карточкой ланч-бокса */
.product-usp-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0;
  margin-block: 10px 24px;
  border-block: 1px solid var(--border-light);
}

.product-usp-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-usp-card svg {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.product-usp-card__text {
  font-size: 13.5px;
  line-height: 1.38;
  color: var(--text-muted-light);
}

/* ==========================================================================
   СТРАНИЦА «О КОМПАНИИ» (Таймлайн 2004–2025 и Контакты)
   ========================================================================== */

.timeline-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.timeline-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.timeline-card {
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(250, 244, 234, 0.18);
  background: rgba(250, 244, 234, 0.03);
}

.timeline-card__year {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.timeline-card__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--text-muted-dark);
}

.contacts-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.catalog-dl-box {
  background: #35332e;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  max-width: 440px;
  margin-block: 22px;
}

.catalog-dl-box__title {
  font-family: var(--font-display);
  font-size: 24px;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.catalog-dl-box__sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 22px;
}

/* ==========================================================================
   ФУТЕР САЙТА
   ========================================================================== */

.site-footer {
  background-color: var(--bg-darker);
  color: var(--text-on-dark);
  padding-block: clamp(44px, 5vw, 68px) 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__top {
  margin-bottom: 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 244, 234, 0.52);
  margin: 0 0 14px;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: rgba(250, 244, 234, 0.85);
}

.footer-list a:hover {
  color: var(--btn-cream-hover);
}

.footer-catalog-card {
  background: rgba(250, 244, 234, 0.1);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.footer-catalog-card__text {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  color: rgba(250, 244, 234, 0.88);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 22px;
  font-size: 12.5px;
  color: rgba(250, 244, 234, 0.54);
}

.site-footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer__bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   ПОЛИТИКА 152-ФЗ (.privacy-doc) И ПЛАШКА COOKIE (.cookie-banner)
   ========================================================================== */

[hidden] {
  display: none !important;
}

.privacy-doc {
  max-width: 860px;
}

.privacy-doc__meta {
  background: var(--bg-cream-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted-light);
}

.privacy-doc h2 {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 32px 0 12px;
  color: var(--text-on-light);
}

.privacy-doc p,
.privacy-doc li {
  font-size: 15px;
  line-height: 1.64;
  color: var(--text-on-light);
}

.privacy-doc p {
  margin: 0 0 12px;
}

.privacy-doc ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.privacy-doc li {
  margin-bottom: 6px;
}

.privacy-doc a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 110;
  max-width: 820px;
  margin-inline: auto;
  background: rgba(25, 24, 22, 0.96);
  color: var(--text-on-dark);
  border: 1px solid rgba(250, 244, 234, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cookie-banner__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(250, 244, 234, 0.86);
}

.cookie-banner__text a {
  color: var(--btn-cream-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__btn {
  flex-shrink: 0;
  min-height: 38px;
  padding: 8px 20px;
  font-size: 13px;
}

/* ==========================================================================
   АДАПТИВНОСТЬ (Планшеты 1024px и Смартфоны 360–768px)
   ========================================================================== */

@media (max-width: 1080px) {
  .bento-row--1,
  .bento-row--2,
  .bento-row--3 {
    grid-template-columns: 1fr;
  }

  .cat-bento-card--tall {
    grid-template-columns: 44% 56%;
    grid-template-rows: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .retailers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .timeline-grid,
  .production-grid,
  .contacts-split,
  .product-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .header-cta-desktop {
    display: none;
  }

  .burger-btn {
    display: inline-flex;
  }

  /* На мобильных Первый экран работает как слайдер / автоанимация */
  .hero__stage {
    aspect-ratio: auto;
    min-height: clamp(250px, 60vw, 420px);
  }

  .hero__controls {
    display: flex;
  }

  /* На мобильных Хиты продаж превращаются в горизонтальный свайп-слайдер (по ТЗ!) */
  .hits-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .hits-track::-webkit-scrollbar {
    display: none;
  }

  .hit-card {
    flex: 0 0 min(82vw, 330px);
    scroll-snap-align: start;
  }

  .hits-dots {
    display: flex;
  }

  .feedback-card,
  .promo-split,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .feedback-copy {
    order: -1;
  }

  .product-usp-strip {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    min-height: 64px;
  }

  .cat-bento-card,
  .cat-bento-card--tall {
    grid-template-columns: 1fr;
    grid-template-rows: 210px auto;
  }

  .products-grid,
  .products-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .prod-card__title {
    font-size: 17px;
  }

  .retailers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .timeline-cards,
  .form-row-2,
  .kbzhu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kbzhu-item:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }

  .hero__controls {
    bottom: 10px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 12px;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
