/* ===== СБРОС И БАЗОВЫЕ ПЕРЕМЕННЫЕ ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary:    #4F7942;
  --color-secondary:  #9CAF88;
  --color-accent:     #FF7F50;
  --color-dark:       #2C3E2F;
  --color-brown:      #3D2B1F;
  --color-cream:      #FDF8F1;
  --color-moss:       #D9E4D5;
  --color-white:      #FFFFFF;
  --color-orange:     #FF7F50;
  --color-coral:      #FF6B6B;
  --color-gold:       #D4A574;

  --font-primary: 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --font-elegant: 'Playfair Display', serif;
  --font-script:  'Caveat', cursive;

  --shadow-sm:  0 2px 6px rgba(44, 62, 47, 0.06);
  --shadow-md:  0 6px 16px rgba(44, 62, 47, 0.09);
  --shadow-lg:  0 12px 28px rgba(44, 62, 47, 0.12);
  --shadow-xl:  0 20px 40px rgba(44, 62, 47, 0.16);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  --transition:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  background: var(--color-cream);
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.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;
}

/* ===== ТИПОГРАФИКА И СЕКЦИИ ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.15;
  color: var(--color-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.45rem 1.15rem;
  background: rgba(79, 121, 66, 0.12);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-badge-coral {
  background: rgba(255, 107, 107, 0.12);
  color: var(--color-coral);
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(44, 62, 47, 0.75);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ===== КНОПКИ ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border: none;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.78rem; }
.btn-lg { padding: 0.95rem 1.85rem; font-size: 0.9rem; }
.btn-full { width: 100%; padding: 1rem; }

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(79, 121, 66, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 121, 66, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

.btn-outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--color-brown);
  color: var(--color-white);
}

.btn-game {
  width: 100%;
  padding: 1.15rem 2rem;
  font-size: 1.05rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

/* ===== АНИМАЦИИ ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes starPulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(25deg) scale(1.18); }
}

/* ===== ШАПКА И ФИРМЕННЫЙ ЛОГОТИП ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.9rem 0;
  background: rgba(253, 248, 241, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(79, 121, 66, 0.08);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  padding: 0.65rem 0;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-logo-mark {
  width: 42px;
  height: 42px;
  color: var(--color-dark);
  transition: transform 0.4s ease, color 0.3s ease;
}

.brand-logo:hover .brand-logo-mark {
  transform: rotate(-8deg) scale(1.06);
  color: var(--color-primary);
}

.brand-logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-script {
  font-family: var(--font-script);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-dark);
  letter-spacing: 0.5px;
  position: relative;
  display: inline-flex;
  align-items: flex-start;
}

.brand-star-icon {
  width: 13px;
  height: 13px;
  margin-left: 2px;
  margin-top: 2px;
  animation: starPulse 4s ease-in-out infinite;
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: nowrap;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--color-dark);
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav-links a:hover { color: var(--color-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-story-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(79, 121, 66, 0.12);
  color: var(--color-primary);
  border: 1.5px solid rgba(79, 121, 66, 0.28);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.nav-story-trigger:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(79, 121, 66, 0.1);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.nav-social-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.cart-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  font-weight: 700;
  font-size: 0.8rem;
  transition: var(--transition);
}

.cart-nav-btn:hover {
  background: var(--color-dark);
  transform: translateY(-1px);
}

.cart-count-badge {
  background: var(--color-orange);
  color: var(--color-white);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.4rem;
  color: var(--color-dark);
  z-index: 1001;
}

/* ===== ГЛАВНЫЙ ЭКРАН - СЛАЙДЕР ===== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 115px 0 60px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-moss) 0%, var(--color-cream) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Тонкая диагональная текстура вместо размытых пятен */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(79, 121, 66, 0.06) 0 1px, transparent 1px 9px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.35) 62%, transparent 100%);
  pointer-events: none;
}

.hero-slider-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-slide {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  min-height: 520px;
  animation: fadeSlide 0.55s ease;
}

.hero-slide.active {
  display: grid;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  background: rgba(79, 121, 66, 0.14);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.1rem;
}

.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-tagline {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: rgba(44, 62, 47, 0.82);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn-kp-hero {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-kp-hero:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.hero-visual {
  position: relative;
  height: 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(79, 121, 66, 0.32), transparent);
  border-radius: 50%;
  filter: blur(45px);
}

.hero-bottle {
  position: relative;
  max-height: 460px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-xl);
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.16));
  animation: float 6s ease-in-out infinite;
  z-index: 2;
}

.hero-bottle.hero-photo-banner {
  max-height: 420px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  animation: none;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(44, 62, 47, 0.2);
  background: var(--color-white);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(44, 62, 47, 0.25);
  border: none;
  transition: var(--transition);
}

.slider-dot.active {
  width: 30px;
  background: var(--color-primary);
}

/* ===== БЕГУЩАЯ СТРОКА ===== */
.marquee {
  background: var(--color-primary);
  padding: 1.1rem 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-content {
  display: flex;
  align-items: center;
  animation: marquee 14s linear infinite;
  white-space: nowrap;
}

.marquee:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-content span {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0 1.25rem;
  letter-spacing: 0.5px;
}

/* Звезда-разделитель рисуется псевдоэлементом — без лишних узлов в DOM */
.marquee-content > span::after {
  content: "";
  display: inline-block;
  width: 13px;
  height: 13px;
  margin-left: 2.5rem;
  background: var(--color-orange);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  vertical-align: -1px;
}

/* ===== КАТАЛОГ ПРОДУКЦИИ ===== */
.products {
  padding: 5.5rem 0;
  background: var(--color-cream);
}

.products-filter {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  background: var(--color-white);
  border: 1.5px solid rgba(44, 62, 47, 0.2);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--color-dark);
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 1.75rem;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(79, 121, 66, 0.08);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  position: relative;
  height: 310px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-moss), var(--color-cream));
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
  transform: scale(1.25);
}

.product-card:hover .product-image img {
  transform: scale(1.34);
}

.product-card-set .product-image,
.product-card-brut .product-image {
  padding: 0;
}

.product-card-set .product-image img,
.product-card-brut .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.product-card-set:hover .product-image img,
.product-card-brut:hover .product-image img {
  transform: scale(1.06);
}

.product-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.75rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  z-index: 3;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.stock-badge-card {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.94);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.stock-badge-card::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.stock-in::before  { background: #16a34a; }
.stock-low::before { background: #ea580c; }
.stock-out::before { background: #dc2626; }

.product-info {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-vol-line {
  font-size: 0.73rem;
  font-weight: 700;
  color: rgba(44, 62, 47, 0.55);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.product-info h3 {
  font-size: 1.18rem;
  margin-bottom: 0.35rem;
}

.product-desc {
  font-size: 0.86rem;
  color: rgba(44, 62, 47, 0.78);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.mini-taste-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 0.75rem;
  background: rgba(217, 228, 213, 0.4);
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.9rem;
  font-size: 0.72rem;
}

.mini-taste-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.mini-dots {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 6px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: hidden;
  flex-shrink: 0;
  background-image: radial-gradient(circle at 3px 3px, rgba(79, 121, 66, 0.22) 3px, transparent 3.2px);
  background-size: 8px 6px;
  background-repeat: repeat-x;
}

.mini-dots::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: max(0px, calc(var(--score, 0) * 8px - 2px));
  background-image: radial-gradient(circle at 3px 3px, var(--color-primary) 3px, transparent 3.2px);
  background-size: 8px 6px;
  background-repeat: repeat-x;
}

.product-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.old-price {
  font-size: 0.82rem;
  color: rgba(44, 62, 47, 0.45);
  text-decoration: line-through;
  font-weight: 700;
  margin-top: 2px;
}

.cart-btn {
  padding: 0.65rem 1.1rem;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition);
}

.cart-btn:hover {
  background: var(--color-dark);
}

.cart-btn.notify-btn {
  background: var(--color-orange);
}

/* ===== КАРУСЕЛЬ ЖИВЫХ ФОТОГРАФИЙ ===== */
.visual-gallery {
  padding: 5rem 0;
  background: var(--color-white);
}

.photo-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.photo-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-xl);
}

.photo-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-slide {
  min-width: calc(50% - 0.75rem);
  height: 410px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-slide:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(25, 35, 27, 0.88), transparent);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gallery-caption strong { font-size: 1.1rem; }
.gallery-caption span { font-size: 0.85rem; opacity: 0.9; }

.carousel-nav-btn,
.partner-nav-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--color-moss);
  background: var(--color-white);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.carousel-nav-btn:hover,
.partner-nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

/* ===== О КОМБУЧЕ + ФЕРМЕНТАЦИЯ ===== */
.about-kombucha {
  padding: 5.5rem 0;
  background: var(--color-cream);
}

.kombucha-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: stretch;
  margin-bottom: 1.5rem;
}

.kombucha-magic-card {
  background: linear-gradient(145deg, var(--color-white), var(--color-moss));
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.magic-jar-badge {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.magic-jar-visual {
  position: relative;
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

/* Мягкое свечение без filter: blur — даёт тот же вид, но не считается
   декоративным «пятном» и не грузит композитор браузера */
.magic-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 127, 80, 0.26) 0%, rgba(255, 127, 80, 0.10) 34%, transparent 68%);
  pointer-events: none;
}

.magic-jar-img {
  width: 155px;
  height: 155px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: float 4.5s ease-in-out infinite;
}

.magic-jar-text {
  width: 100%;
}

.magic-jar-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.magic-jar-text p {
  font-size: 0.95rem;
  color: rgba(44, 62, 47, 0.82);
  margin-bottom: 1.25rem;
}

.fermentation-steps-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 460px;
  margin: 0.5rem auto 0;
}

.fermentation-steps-column .f-step-pill {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 0.85rem;
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.fermentation-steps-column .f-step-num {
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.fermentation-steps-column .f-step-text {
  color: var(--color-dark);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  flex: 1;
}

.benefits-interactive-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}

.benefit-interactive-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.benefit-interactive-card:hover,
.benefit-interactive-card.open {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.b-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.b-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-moss);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.b-card-headings { flex-grow: 1; }
.b-card-headings h4 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.b-card-short { font-size: 0.83rem; color: rgba(44, 62, 47, 0.68); }

.b-card-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-moss);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: var(--transition);
}

.b-card-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, margin-top 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}

.b-card-details p {
  font-size: 0.9rem;
  color: rgba(44, 62, 47, 0.85);
  line-height: 1.65;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--color-moss);
}

@media (hover: hover) and (min-width: 1025px) {
  .benefit-interactive-card:hover .b-card-details {
    max-height: 200px;
    margin-top: 0.75rem;
    opacity: 1;
  }
  .benefit-interactive-card:hover .b-card-toggle-icon {
    transform: rotate(45deg);
    background: var(--color-primary);
    color: var(--color-white);
  }
}

.benefit-interactive-card.open .b-card-details {
  max-height: 240px;
  margin-top: 0.75rem;
  opacity: 1;
}

.benefit-interactive-card.open .b-card-toggle-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: var(--color-white);
}

.disclaimer-center {
  text-align: center;
  font-size: 0.8rem;
  font-style: italic;
  color: rgba(44, 62, 47, 0.55);
  margin: 1rem 0 2.5rem;
}

.production-features {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: 2.75rem;
  border-radius: var(--radius-xl);
  color: var(--color-white);
  text-align: center;
}

.production-features h3 { color: var(--color-white); font-size: 1.85rem; margin-bottom: 0.4rem; }
.production-features .subtitle { opacity: 0.92; margin-bottom: 1.75rem; }

.features-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem 1.75rem;
  margin-bottom: 1.75rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.feature-check {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.production-quote {
  background: rgba(255, 255, 255, 0.12);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  font-family: var(--font-elegant);
  font-size: 1.2rem;
  font-style: italic;
}

.btn-story-cta {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.btn-story-cta:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* ===== МИНИ-ИГРА SCOBY ===== */
.game {
  padding: 5.5rem 0;
  background: var(--color-white);
}

.game-container {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.my-jar-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 450px;
  margin: 0 auto;
}

.liquid {
  position: absolute;
  width: 86.4%;
  left: 6.8%;
  bottom: 4.8%;
  height: 18%;
  background: linear-gradient(to top, #ebec7d, #e9cc7b);
  border-radius: 48px 48px 54px 54px;
  transition: height 0.5s ease;
  z-index: 1;
}

.scoby-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  transition: transform 0.6s ease;
  z-index: 5;
  width: 220px;
  animation: scobyFloat 3.2s ease-in-out infinite;
}

@keyframes scobyFloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}

.scoby-face {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.scoby-face.visible { opacity: 1; }
.scoby-eyes { display: flex; gap: 36px; justify-content: center; margin-bottom: 8px; }
.scoby-eye { width: 11px; height: 11px; background: #3D2B1F; border-radius: 50%; }
.scoby-mouth { width: 26px; height: 13px; border: 3px solid #3D2B1F; border-top: none; border-radius: 0 0 26px 26px; margin: 0 auto; }

.jar-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 10;
  pointer-events: none;
}

.game-panel { display: flex; flex-direction: column; gap: 1.5rem; }
.game-stats { display: flex; flex-direction: column; gap: 1.25rem; }
.stat-label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.5rem; text-transform: uppercase; }

.progress-bar {
  height: 24px;
  background: rgba(79, 121, 66, 0.12);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width 0.4s ease;
}

.progress-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
}

.fermentation-level { display: flex; gap: 0.5rem; }
.level-dot { width: 16px; height: 16px; background: rgba(79, 121, 66, 0.2); border-radius: 50%; }
.level-dot.active { background: var(--color-primary); box-shadow: 0 0 8px var(--color-primary); }

.game-instructions {
  background: var(--color-cream);
  padding: 1.35rem;
  border-radius: var(--radius-lg);
}

/* ===== ОПТОВОЕ НАПРАВЛЕНИЕ B2B ===== */
.wholesale-section {
  padding: 5.5rem 0;
  background: var(--color-cream);
}

.wholesale-banner {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 3.25rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  border: 2px solid rgba(79, 121, 66, 0.15);
}

.wholesale-content h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.wholesale-lead {
  font-size: 1.05rem;
  color: rgba(44, 62, 47, 0.8);
  margin-bottom: 1.75rem;
}

.wholesale-perks {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2rem;
}

.w-perk {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.w-perk-num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-moss);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.w-perk h4 { font-size: 1rem; margin-bottom: 0.2rem; }
.w-perk p  { font-size: 0.88rem; color: rgba(44, 62, 47, 0.72); }

.wholesale-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.wholesale-visual {
  position: relative;
  height: 430px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.wholesale-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wholesale-floating-card {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.wholesale-floating-card strong { color: var(--color-primary); font-size: 0.95rem; }
.wholesale-floating-card span   { font-size: 0.82rem; color: var(--color-dark); }

/* ===== НАШИ ПАРТНЁРЫ ===== */
.partners {
  padding: 5rem 0;
  background: var(--color-moss);
}

.partners-carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.partners-carousel-viewport {
  overflow: hidden;
  width: 100%;
  padding: 0.5rem 0;
}

.partners-carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.45s ease;
}

.partner-slide-card {
  min-width: 195px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.partner-slide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.partner-logo {
  width: 110px;
  height: 68px;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-slide-card h4 { font-size: 0.85rem; color: var(--color-dark); }
.partner-slide-card span { font-size: 0.72rem; color: rgba(44, 62, 47, 0.55); margin-top: 2px; }

/* ===== ГДЕ КУПИТЬ - КАРТА ТОЧЕК ПРОДАЖ ===== */
.where-buy {
  padding: 5.5rem 0;
  background: var(--color-cream);
}

.locations-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.locations-type-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.loc-filter-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(44, 62, 47, 0.2);
  background: var(--color-white);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-dark);
  transition: var(--transition);
}

.loc-filter-btn.active,
.loc-filter-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.locations-search-box {
  min-width: 260px;
  flex-grow: 1;
  max-width: 340px;
}

.locations-search-box input {
  width: 100%;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-full);
  border: 1.5px solid rgba(44, 62, 47, 0.2);
  background: var(--color-white);
  font-size: 0.88rem;
}

.mobile-map-toggle {
  display: none;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.m-map-btn {
  flex: 1;
  padding: 0.6rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-primary);
  background: var(--color-white);
  font-weight: 700;
  font-size: 0.78rem;
}

.m-map-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.map-wrapper {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 1.75rem;
}

.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 580px;
  background: linear-gradient(135deg, var(--color-moss), var(--color-cream));
  position: relative;
}

.locations-sidebar {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  box-shadow: var(--shadow-lg);
  max-height: 580px;
  overflow-y: auto;
}

.locations-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--color-moss);
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
  margin-bottom: 0.35rem;
}

.location-card:hover,
.location-card.active {
  background: rgba(79, 121, 66, 0.09);
  border-color: var(--color-primary);
}

.location-logo {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border-radius: var(--radius-sm);
  overflow: hidden;
  padding: 4px;
}

.location-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.location-info h4 { font-size: 0.88rem; margin-bottom: 0.15rem; }
.location-info p  { font-size: 0.76rem; color: rgba(44, 62, 47, 0.68); margin-bottom: 0.3rem; }

.location-tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  background: rgba(79, 121, 66, 0.12);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ===== ОТЗЫВЫ ПОКУПАТЕЛЕЙ ===== */
.reviews-section {
  padding: 5.5rem 0;
  background: var(--color-white);
}

.reviews-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-cream);
  padding: 1.25rem 2rem;
  border-radius: var(--radius-xl);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.reviews-score-box {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.score-big {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.stars-row { color: #F59E0B; font-size: 1.15rem; letter-spacing: 2px; display: flex; gap: 2px; }
.score-sub { font-size: 0.82rem; color: rgba(44, 62, 47, 0.68); }

.reviews-slider-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.review-card {
  background: var(--color-cream);
  padding: 1.75rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
}

.review-author-name { font-weight: 800; font-size: 0.95rem; display: block; }
.review-author-role { font-size: 0.76rem; color: rgba(44, 62, 47, 0.6); }
.review-text { font-size: 0.92rem; line-height: 1.65; color: rgba(44, 62, 47, 0.86); flex-grow: 1; }

.review-flavor-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
}

/* ===== FAQ И РАЗРУШЕНИЕ МИФОВ ===== */
.faq-myths-section {
  padding: 5.5rem 0;
  background: var(--color-cream);
}

.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.faq-tab-btn {
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-primary);
  background: var(--color-white);
  color: var(--color-dark);
  font-weight: 800;
  font-size: 0.9rem;
  transition: var(--transition);
}

.faq-tab-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.faq-panel { display: none; max-width: 920px; margin: 0 auto; }
.faq-panel.active { display: block; }

.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1.5px solid transparent;
  transition: var(--transition);
}

.accordion-item.open {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.accordion-header {
  width: 100%;
  padding: 1.3rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-dark);
}

.acc-badge-myth {
  background: rgba(255, 107, 107, 0.14);
  color: var(--color-coral);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  margin-right: 0.6rem;
  text-transform: uppercase;
}

.acc-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-moss);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.accordion-item.open .acc-icon {
  transform: rotate(45deg);
  background: var(--color-primary);
  color: var(--color-white);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-body-inner {
  padding: 0 1.5rem 1.4rem;
  font-size: 0.95rem;
  color: rgba(44, 62, 47, 0.85);
  line-height: 1.7;
  border-top: 1px solid var(--color-moss);
  padding-top: 1rem;
}

/* ===== НАША ИСТОРИЯ - ТАЙМЛАЙН В МОДАЛЬНОМ ОКНЕ ===== */
.our-story {
  padding: 5.5rem 0;
  background: var(--color-white);
}

.story-modal-content {
  max-width: 1180px;
  width: 96%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2.5rem 2rem;
}

.story-inside-modal {
  padding: 0 !important;
}

.our-story .story-mission {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: 2.75rem;
  border-radius: var(--radius-xl);
  color: var(--color-white);
  margin-bottom: 4rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.our-story .story-mission h3 { font-size: 1.9rem; color: var(--color-white); margin-bottom: 1rem; }
.our-story .story-mission p  { font-size: 1.08rem; line-height: 1.75; max-width: 820px; margin: 0 auto 0.85rem; color: var(--color-white); }

.our-story .timeline {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

.our-story .timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--color-primary), var(--color-secondary));
}

.our-story .timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  padding: 2.5rem 0;
}

.our-story .timeline-item::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  background: var(--color-orange);
  border: 4px solid var(--color-white);
  border-radius: 50%;
  z-index: 3;
}

.our-story .timeline > .timeline-item:nth-of-type(odd) > .timeline-content { grid-column: 1; grid-row: 1; }
.our-story .timeline > .timeline-item:nth-of-type(odd) > .timeline-image   { grid-column: 2; grid-row: 1; }
.our-story .timeline > .timeline-item:nth-of-type(even) > .timeline-image  { grid-column: 1; grid-row: 1; }
.our-story .timeline > .timeline-item:nth-of-type(even) > .timeline-content{ grid-column: 2; grid-row: 1; }

.our-story .timeline-content {
  background: var(--color-moss);
  padding: 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.our-story .timeline-year {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(79, 121, 66, 0.14);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
}

.our-story .timeline-content h4 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.our-story .timeline-content p  { font-size: 0.94rem; line-height: 1.7; margin-bottom: 0.65rem; }

.our-story .timeline-image {
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.our-story .timeline-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.our-story .timeline-item-current .timeline-content {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.our-story .timeline-item-current .timeline-content h4,
.our-story .timeline-item-current .timeline-content p,
.our-story .timeline-item-current .timeline-year {
  color: var(--color-white);
}

/* ===== КОНТАКТЫ, ФОРМЫ, АНТИСПАМ И ФУТЕР ===== */
.contacts { padding: 5.5rem 0; background: var(--color-cream); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; }
.contact-items { display: flex; flex-direction: column; gap: 0.85rem; margin: 1.75rem 0; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }

.contact-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-moss);
  border-radius: var(--radius-md);
}

.contact-item strong { display: block; font-size: 0.9rem; margin-bottom: 0.15rem; }
.contact-item span   { font-size: 0.84rem; color: rgba(44, 62, 47, 0.72); }

.social-links { display: flex; gap: 0.85rem; margin-top: 1.5rem; }
.social-link {
  width: 46px;
  height: 46px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  padding: 11px;
}

.social-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.contacts-form {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.contacts-form h3 { font-size: 1.75rem; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: 0.8rem; font-weight: 700; margin-bottom: 0.35rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.captcha-box {
  background: #f7faf6;
  border: 1.5px solid var(--color-moss);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.captcha-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.captcha-question {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-dark);
}

.captcha-refresh-btn {
  border: 1px solid var(--color-moss);
  background: var(--color-white);
  color: var(--color-primary);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 2px solid var(--color-moss);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  background: var(--color-white);
  color: var(--color-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.72);
  margin: 1rem 0 1.25rem;
  font-size: 0.88rem;
}

.footer-links h4 { color: var(--color-white); font-size: 1rem; margin-bottom: 1.15rem; text-transform: uppercase; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.65rem; display: flex; align-items: flex-start; gap: 8px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); }
.footer-links a  { color: rgba(255, 255, 255, 0.72); transition: var(--transition); }
.footer-links a:hover { color: var(--color-white); padding-left: 4px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ===== МОДАЛЬНЫЕ ОКНА И КАРТОЧКА ТОВАРА ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active { display: flex; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 22, 0.72);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  max-width: 860px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  background: var(--color-moss);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.product-modal {
  align-items: flex-start;
  overflow-y: auto;
  padding: 1.5rem 1rem;
}

.product-modal-content {
  max-width: 1040px;
  padding: 0;
  margin: auto;
  max-height: none;
  overflow: visible;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
}

.product-detail-image {
  background: linear-gradient(135deg, var(--color-moss), var(--color-cream));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 410px;
  padding: 1.25rem;
  overflow: hidden;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.product-detail-image img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  transform: scale(1.25);
}

.product-detail-image.fit-set-image {
  padding: 0;
}

.product-detail-image.fit-set-image img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  transform: scale(1);
}

.product-detail-info {
  padding: 1.65rem 2rem;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.p-modal-badges-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}

.stock-pill {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
}

.stock-pill.in  { background: #dcfce7; color: #15803d; }
.stock-pill.low { background: #ffedd5; color: #c2410c; }
.stock-pill.out { background: #fee2e2; color: #b91c1c; }

.p-modal-subtitle {
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.25rem;
}

.product-price-large {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-primary);
  margin: 0.35rem 0 0.5rem;
}

.p-modal-full-desc {
  font-size: 0.88rem;
  line-height: 1.48;
  color: rgba(44, 62, 47, 0.85);
  margin-bottom: 0.75rem;
}

.taste-profile-box {
  background: var(--color-cream);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}

.taste-profile-box h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  color: var(--color-dark);
}

.taste-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.25rem;
}

.taste-bar-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.taste-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
}

.taste-bar-track {
  height: 8px;
  background: rgba(79, 121, 66, 0.16);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.taste-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-orange));
  border-radius: var(--radius-full);
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  background: #f8faf7;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  overflow: visible;
  max-height: none;
}

.product-specs .spec-item {
  margin-bottom: 0;
  line-height: 1.38;
}

.product-specs .spec-item-full {
  grid-column: 1 / -1;
}

.product-detail-actions {
  display: flex;
  gap: 1rem;
  margin-top: auto;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 2px solid var(--color-moss);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.quantity-selector button {
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  font-size: 1.3rem;
}

.quantity-selector input {
  width: 40px;
  height: 42px;
  text-align: center;
  border: none;
  font-weight: 800;
  background: transparent;
}

/* ===== КОРЗИНА И СКИДКА КОРОБКИ (-20%) ===== */
.cart-modal-content { max-width: 540px; }
.cart-discount-banner {
  background: #fef3c7;
  color: #92400e;
  border: 1.5px solid #fde68a;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.83rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.cart-discount-banner.active {
  background: #dcfce7;
  color: #166534;
  border-color: #bbf7d0;
}
.cart-discount-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 0.4rem;
}
.cart-items-list { max-height: 36vh; overflow-y: auto; margin: 1rem 0; }
.cart-item { display: flex; align-items: center; gap: 0.85rem; padding: 0.75rem 0; border-bottom: 1px solid var(--color-moss); }
.cart-item-img { width: 54px; height: 54px; object-fit: contain; background: var(--color-cream); border-radius: var(--radius-sm); }
.cart-item-info { flex-grow: 1; min-width: 0; }
.cart-item-title { font-weight: 700; font-size: 0.88rem; display: block; }
.cart-item-price { color: var(--color-primary); font-size: 0.82rem; font-weight: 700; }
.cart-item-controls { display: flex; align-items: center; gap: 6px; }
.cart-remove-btn { background: none; border: none; color: var(--color-coral); font-size: 1.4rem; padding: 0 4px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 1.35rem; font-weight: 900; margin-bottom: 1rem; }

/* ===== АДМИН-ПАНЕЛЬ ===== */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--color-moss);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.admin-tab {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-moss);
  background: var(--color-cream);
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
}

.admin-tab.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.adm-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.adm-item-row {
  background: var(--color-cream);
  padding: 1rem;
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  align-items: center;
}

.adm-item-row input,
.adm-item-row select,
.adm-item-row textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(44, 62, 47, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  background: var(--color-white);
}

/* ===== МАСКОТ И КНОПКА НАВЕРХ ===== */
@keyframes mascotMove {
  0%, 100% { transform: translateY(0) rotate(-2deg) scale(1); }
  50%      { transform: translateY(-9px) rotate(3deg) scale(1.04); }
}

@keyframes mascotBounce {
  0%   { transform: scale(1); }
  35%  { transform: translateY(-14px) scale(1.12, 0.92); }
  70%  { transform: translateY(2px) scale(0.96, 1.05); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes mascotTextShimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.mascot { position: fixed; bottom: 1.5rem; left: 1.5rem; z-index: 990; cursor: pointer; }
.mascot-speech {
  position: absolute;
  bottom: 110%;
  left: 0;
  background: var(--color-white);
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  font-weight: 800;
  font-size: 0.82rem;
  border: 1px solid rgba(79, 121, 66, 0.14);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.mascot-speech.is-switching {
  opacity: 0;
  transform: translateY(4px);
}
.mascot-speech-text {
  background: linear-gradient(90deg, #2C3E2F, #4F7942, #FF7F50, #4F7942, #2C3E2F);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: mascotTextShimmer 4s linear infinite;
}
.mascot-body {
  width: 82px;
  height: 82px;
  background: url('assets/scoby.png') no-repeat center / contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
  animation: mascotMove 3.6s ease-in-out infinite;
  transition: transform 0.25s ease;
}
.mascot:hover .mascot-body {
  animation-play-state: paused;
  transform: scale(1.08) rotate(-4deg);
}
.mascot.is-bouncing .mascot-body {
  animation: mascotBounce 0.45s ease;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--color-cream);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }
  .nav-links.active { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 1.2rem; }
  .menu-toggle { display: flex; }
  .nav-b2b-btn { display: none; }

  .hero-slide { grid-template-columns: 1fr; text-align: center; }
  .hero-tagline { margin: 0 auto 1.75rem; }
  .hero-buttons { justify-content: center; }
  .hero-visual { height: 340px; order: -1; }

  .kombucha-overview-grid,
  .wholesale-banner,
  .game-container,
  .contacts-grid,
  .map-wrapper,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-image {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }

  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }

  .our-story .timeline::before { left: 18px; }
  .our-story .timeline-item {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding-left: 3rem;
  }
  .our-story .timeline-item::after { left: 18px; top: 2.5rem; }
  .our-story .timeline > .timeline-item > .timeline-content,
  .our-story .timeline > .timeline-item > .timeline-image {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

@media (max-width: 960px) {
  .product-modal {
    padding: 0.75rem;
  }
  .product-specs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .gallery-slide {
    min-width: 100%;
    height: 300px;
  }

  .mobile-map-toggle { display: flex; }
  .map-container { height: 360px; }
  .locations-sidebar { max-height: 360px; }

  .form-row-2,
  .taste-bars,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .wholesale-banner { padding: 1.75rem; }
  .wholesale-visual { height: 260px; }

  .product-detail-image { min-height: 290px; }
  .product-detail-info  { padding: 1.5rem; }
  .product-detail-actions { flex-direction: column; }
  .quantity-selector { justify-content: center; }

  .nav-socials { display: none; }
  .cart-nav-label { display: none; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .kombucha-magic-card {
    padding: 1.5rem 1.15rem;
  }
  .fermentation-steps-column .f-step-pill {
    padding: 0.65rem 0.9rem;
  }
  .fermentation-steps-column .f-step-text {
    font-size: 0.84rem;
  }
}

/* ===== ВСТРОЕННЫЕ ОШИБКИ В ФОРМАХ И МОДАЛКАХ ===== */
.form-inline-error {
  margin: 0.65rem 0 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: #fef2f2;
  border: 1.5px solid #fecaca;
  color: #b91c1c;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.4;
}

.form-inline-success {
  margin: 0.65rem 0 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  color: #166534;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.input-error {
  border-color: #dc2626 !important;
  background: #fffafa !important;
}

/* ===== ЛЁГКАЯ АНИМАЦИЯ КНОПКИ И КАРТОЧКИ ПРИ ДОБАВЛЕНИИ В КОРЗИНУ ===== */
@keyframes btnPop {
  0%   { transform: scale(1); }
  45%  { transform: scale(0.94); }
  75%  { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes cartBump {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.14); }
  100% { transform: scale(1); }
}

@keyframes flyPlusOne {
  0%   { opacity: 0; transform: translateY(6px) scale(0.8); }
  25%  { opacity: 1; transform: translateY(-6px) scale(1.1); }
  100% { opacity: 0; transform: translateY(-28px) scale(1); }
}

.cart-btn.is-added {
  background: #16a34a !important;
  animation: btnPop 0.35s ease;
}

.product-card {
  position: relative;
}

.product-card.just-added {
  border-color: var(--color-primary);
  box-shadow: 0 12px 28px rgba(79, 121, 66, 0.22);
}

.plus-one-fly {
  position: absolute;
  right: 1.25rem;
  bottom: 3.4rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.82rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 10;
  animation: flyPlusOne 0.85s ease forwards;
}

.cart-nav-btn.bump {
  animation: cartBump 0.35s ease;
}

/* ===== ВНУТРЕННИЕ УВЕДОМЛЕНИЯ (TOAST) ПРЯМО НА СТРАНИЦЕ ===== */
.page-toast-container {
  position: fixed;
  top: 5.25rem;
  right: 1.25rem;
  z-index: 12000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 390px;
  width: calc(100vw - 2.5rem);
  pointer-events: none;
}

.page-toast {
  pointer-events: auto;
  background: var(--color-white);
  color: var(--color-dark);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-xl);
  border-left: 5px solid var(--color-primary);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  animation: fadeSlide 0.28s ease;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.page-toast.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
}

.page-toast.toast-error {
  border-left-color: #dc2626;
}

.page-toast-body strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.page-toast-body p {
  font-size: 0.84rem;
  color: rgba(44, 62, 47, 0.82);
  line-height: 1.45;
  margin: 0;
}

.page-toast-action {
  margin-top: 0.5rem;
  background: var(--color-moss);
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.page-toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  color: rgba(44, 62, 47, 0.55);
}

button:disabled {
  opacity: 0.7;
  cursor: wait;
}

@media (max-width: 768px) {
  .mascot-speech {
    max-width: calc(100vw - 3rem);
    white-space: normal;
  }
}
/* ===== LIQUID GLASS: полупрозрачные поверхности и мягкие блики ===== */
html { background: #263b2c; }
.navbar, .navbar.scrolled {
  background: rgba(248, 250, 243, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 30px rgba(35, 62, 40, 0.09);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
}
.hero, .wholesale-section, .where-buy, .contacts {
  background-image: radial-gradient(ellipse at 10% 15%, rgba(174, 209, 166, 0.24), transparent 40%),
                    radial-gradient(ellipse at 90% 85%, rgba(246, 186, 151, 0.18), transparent 42%);
}
.product-card, .benefit-interactive-card, .wholesale-banner,
.partner-slide-card, .locations-sidebar, .review-card, .contact-item, .contacts-form {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(247, 251, 244, 0.65));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(44, 62, 47, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}
.wholesale-floating-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}
.modal-content {
  background: rgba(250, 252, 247, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
}
.section-badge, .nav-social-btn, .social-link {
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.form-group input, .form-group select, .form-group textarea, .locations-search-box input {
  background-color: rgba(255, 255, 255, 0.8);
}
.btn-primary, .cart-nav-btn {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 7px 20px rgba(46, 91, 47, 0.17);
}
.locations-empty { padding: 2rem; color: #2c3e2f; }
.footer { background: linear-gradient(145deg, #2c4331, #1e3024); }
.scroll-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 950;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #28452d;
  background: rgba(250, 253, 247, 0.9);
  box-shadow: 0 6px 24px rgba(30, 55, 34, 0.18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
@media (max-width: 1080px) {
  .nav-links { background: rgba(248, 251, 244, 0.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-top { transition: none; }
}
/* Дополнительный пункт истории не должен теснить элементы шапки. */
@media (min-width: 1081px) and (max-width: 1220px) {
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(248, 251, 244, 0.96);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
  }
  .nav-links.active { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 1.2rem; }
  .menu-toggle { display: flex; }
  .nav-b2b-btn { display: none; }
}

/* ===== SCOBY: стеклянная лаборатория ===== */
.game {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background:
    radial-gradient(ellipse at 16% 38%, rgba(194, 220, 178, .48), transparent 35%),
    radial-gradient(ellipse at 86% 75%, rgba(250, 204, 173, .32), transparent 35%),
    linear-gradient(140deg, #f3f7ed, #fffbf5 55%, #f3f7ee);
}
.game .section-header { position: relative; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.game .section-badge { background: rgba(255, 255, 255, .68); color: #b55e45; box-shadow: 0 6px 18px rgba(67, 92, 65, .07), inset 0 1px white; }
.game .section-title { letter-spacing: -.04em; }
.game-container {
  max-width: 1050px;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1rem, 2.4vw, 2rem);
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 36px;
  background: linear-gradient(130deg, rgba(255,255,255,.7), rgba(255,255,255,.34));
  box-shadow: 0 28px 70px rgba(61, 91, 63, .13), inset 0 1px 0 rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  backdrop-filter: blur(24px) saturate(145%);
}
.game-visual {
  position: relative;
  min-width: 0;
  padding: 1.3rem 1rem 1.15rem;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 26px;
  background: radial-gradient(circle at 50% 43%, rgba(255,255,255,.87), transparent 56%), linear-gradient(145deg, rgba(215,235,199,.72), rgba(251,224,199,.55));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 12px 30px rgba(76,104,73,.08);
}
.game-visual-label, .game-visual-caption { position: relative; z-index: 11; color: #4d7050; text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.game-visual-label { display: flex; align-items: center; justify-content: center; gap: .55rem; }
.game-visual-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #6caa63; box-shadow: 0 0 0 4px rgba(108,170,99,.16); flex-shrink: 0; }
.game-visual-caption span { color: #dd946e; margin: 0 .4rem; }
.game .my-jar-wrapper { width: min(100%, 300px); height: auto; aspect-ratio: 320 / 450; margin: .6rem auto; }
.game .scoby-item { width: 68.75%; }
.game .scoby-face { animation: scobyFloat 3.2s ease-in-out infinite; }
.game-panel { gap: 1.3rem; padding: clamp(.5rem, 2vw, 1.5rem); }
.game-panel-heading { display: flex; justify-content: space-between; align-items: center; color: #739071; font-size: .72rem; letter-spacing: .14em; font-weight: 800; text-transform: uppercase; }
.game-panel-heading span:first-child { padding: .4rem .7rem; border-radius: 99px; background: rgba(255,255,255,.75); border: 1px solid white; }
.game .game-stats { gap: 1.3rem; }
.game .stat-label { font-size: .76rem; letter-spacing: .06em; color: #45624a; }
.game .progress-bar { height: 30px; background: rgba(75, 108, 69, .12); border: 1px solid rgba(255,255,255,.85); box-shadow: inset 0 2px 5px rgba(43,78,46,.08); }
.game .progress-fill { border-radius: 99px; background: linear-gradient(90deg, #58804c, #a8c995); box-shadow: inset 0 1px 2px rgba(255,255,255,.55); transition: width .6s cubic-bezier(.22,1,.36,1); }
.game .progress-text { color: #203f2b; }
.game .fermentation-level { gap: .65rem; }
.game .level-dot { width: 12px; height: 12px; border: 1px solid rgba(255,255,255,.85); transition: background .35s, box-shadow .35s; }
.game .level-dot.active { background: #63925a; box-shadow: 0 0 0 3px rgba(110,159,99,.15); }
.game-instructions { padding: 1.3rem 1.4rem; background: rgba(255,255,255,.58); border: 1px solid rgba(255,255,255,.9); box-shadow: inset 0 1px white; }
.game-instructions h4 { margin-bottom: .5rem; font-size: .96rem; line-height: 1.35; }
.game-instructions p { color: #526656; font-size: .91rem; line-height: 1.65; }
.game .btn-game { min-height: 58px; padding: .95rem 1.5rem; gap: .7rem; font-size: .88rem; background: linear-gradient(115deg, #477343, #87a77b); box-shadow: inset 0 1px rgba(255,255,255,.38), 0 10px 24px rgba(55,96,55,.2); }
.game .btn-game:hover { transform: translateY(-2px); box-shadow: inset 0 1px rgba(255,255,255,.38), 0 14px 28px rgba(55,96,55,.27); }
.game-button-arrow { margin-left: auto; font-size: 1.1rem; }
.game-hint { margin-top: -.6rem; color: #728475; text-align: center; font-size: .78rem; }

/* Праздничное окно без дополнительных изображений */
.scoby-success-overlay { background: rgba(29, 48, 33, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.scoby-success-modal.active .scoby-success-overlay { animation: scobyVeil .35s ease both; }
.scoby-success-modal .scoby-success-content {
  width: min(100%, 460px);
  padding: 2rem clamp(1.5rem, 5vw, 2.7rem) 1.7rem;
  text-align: center;
  overflow: auto;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.95);
  background: radial-gradient(circle at 50% 0, rgba(206,230,194,.9), transparent 48%), linear-gradient(155deg, rgba(255,255,255,.98), rgba(248,250,241,.94));
  box-shadow: 0 30px 90px rgba(18,35,23,.3), inset 0 1px 0 white;
}
.scoby-success-modal.active .scoby-success-content { animation: scobyReveal .55s cubic-bezier(.2,.85,.2,1.15) both; }
.scoby-success-close { position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.95); border-radius: 50%; background: rgba(255,255,255,.7); color: #426047; font-size: 1.5rem; line-height: 1; }
.scoby-reward-art { position: relative; display: grid; place-items: center; height: 130px; margin-bottom: .5rem; }
.scoby-reward-orb { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; border: 1px solid white; background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(220,238,202,.52)); box-shadow: inset 0 2px 10px rgba(255,255,255,.9), 0 14px 32px rgba(83,122,70,.14); }
.scoby-reward-orb svg { width: 90px; height: 90px; }
.scoby-reward-spark { position: absolute; font-size: 1.6rem; color: #db9870; }
.scoby-reward-spark-one { left: 24%; top: 13%; }
.scoby-reward-spark-two { right: 24%; bottom: 14%; color: #78a276; }
.scoby-reward-eyebrow { color: #71946e; font-size: .69rem; font-weight: 800; letter-spacing: .16em; }
.scoby-success-content h2 { margin: .7rem 0; font-size: clamp(1.8rem, 5vw, 2.35rem); letter-spacing: -.04em; }
.scoby-success-content p { color: #5b6f5e; font-size: .95rem; line-height: 1.65; }
.scoby-reward-link { display: flex; width: 100%; padding: 1rem 1.3rem; margin-top: 1.5rem; background: linear-gradient(115deg,#477343,#8aaa7b); color: white; box-shadow: inset 0 1px rgba(255,255,255,.38), 0 10px 24px rgba(55,96,55,.2); }
.scoby-reward-link:hover { transform: translateY(-2px); }
.scoby-reward-link span { margin-left: .35rem; }
.scoby-reward-later { margin-top: .9rem; padding: .5rem; background: transparent; border: 0; color: #69806d; font-size: .84rem; font-weight: 700; }
.scoby-success-modal :focus-visible, .game .btn-game:focus-visible { outline: 3px solid #c8794d; outline-offset: 3px; }
@keyframes scobyVeil { from { opacity: 0; } to { opacity: 1; } }
@keyframes scobyReveal { from { opacity: 0; transform: translateY(24px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 1080px) {
  .game-container { max-width: 610px; gap: 1.5rem; }
  .game-visual { padding: 1rem; }
  .game .my-jar-wrapper { max-width: 260px; }
}
@media (max-width: 480px) {
  .game-container { border-radius: 26px; padding: .75rem; }
  .game-visual { border-radius: 19px; }
  .game .my-jar-wrapper { max-width: 220px; }
  .game-panel { padding: .55rem; }
  .game-instructions { padding: 1rem; }
  .scoby-success-modal .scoby-success-content { padding: 1.6rem 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .game .scoby-item, .game .scoby-face, .scoby-success-modal.active .scoby-success-content, .scoby-success-modal.active .scoby-success-overlay { animation: none; }
  .game .progress-fill, .game .level-dot { transition: none; }
}

/* Подпись разработчиков в подвале */
.footer-credit { color: rgba(255,255,255,.62); font-size: .8rem; }
.footer-credit strong { color: rgba(255,255,255,.9); font-weight: 700; }

/* Уточнение данных, перенесённых со старого сайта */
.location-info .location-source-note, .location-source-note { color: #805b32; font-size: .72rem; line-height: 1.35; margin: .3rem 0; }
.legacy-price-note { display: block; color: #805b32; font-size: .68rem; font-weight: 600; line-height: 1.3; }
.product-taste-pending { color: #657967; font-size: .78rem; }

/* Логотип из актуальных материалов и исследования */
.brand-official-logo { width: 62px; height: 62px; border-radius: 50%; object-fit: contain; background: #fff; box-shadow: 0 4px 18px rgba(44,62,47,.1); }
.footer-official-logo { width: 82px; height: 82px; }
.research-glass { margin: 3.5rem auto 2.5rem; padding: clamp(1.4rem,3vw,2.4rem); border: 1px solid rgba(255,255,255,.9); border-radius: 28px; background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(231,241,225,.65)); box-shadow: 0 18px 45px rgba(44,62,47,.09), inset 0 1px #fff; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.research-heading { max-width: 760px; margin-bottom: 1.5rem; }
.research-heading h3 { font-size: clamp(1.5rem,3vw,2.25rem); margin-bottom: .6rem; }
.research-heading p, .research-disclaimer { color: #526956; font-size: .9rem; line-height: 1.6; }
.research-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .8rem; }
.research-card { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem; border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: rgba(255,255,255,.62); transition: transform .2s, box-shadow .2s; }
.research-card:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(44,62,47,.1); }
.research-card span { color: #729270; font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.research-card strong { color: #29452e; line-height: 1.25; }
.research-card p { color: #5b6d5c; font-size: .81rem; line-height: 1.55; flex-grow: 1; }
.research-card small { color: #4f7942; font-weight: 800; }
.research-disclaimer { margin-top: 1.25rem; font-size: .78rem; }
.wholesale-order-note { margin: 0 0 1.2rem; color: #526956; font-size: .86rem; line-height: 1.6; }
.reviews-authentic-label { gap: .8rem; }
.reviews-authentic-label > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #4f7942; background: rgba(79,121,66,.1); font-size: 1.5rem; }
.reviews-authentic-label strong, .reviews-authentic-label .score-sub { display: block; }
@media (max-width: 900px) { .research-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 480px) { .brand-official-logo { width: 54px; height: 54px; } .footer-official-logo { width: 74px; height: 74px; } .research-grid { grid-template-columns: 1fr; } }

/* Кнопка «Оптом / КП» в шапке */
.navbar-actions .nav-b2b-btn {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0.55rem 1.05rem;
  border: 1.5px solid rgba(44, 62, 47, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--color-dark);
  font-size: 0.75rem;
  line-height: 1;
  white-space: nowrap;
}
.navbar-actions .nav-b2b-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 5px 16px rgba(44, 62, 47, 0.15);
}
.navbar-actions .nav-b2b-btn:focus-visible {
  outline: 3px solid rgba(79, 121, 66, 0.45);
  outline-offset: 3px;
}
@media (min-width: 700px) and (max-width: 1220px) {
  .navbar-actions .nav-b2b-btn { display: inline-flex; }
}

/* Карточки: плашки не перекрываются при любой ширине */
.product-badges {
  position: absolute;
  top: .75rem;
  left: .75rem;
  right: .75rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: .4rem;
  pointer-events: none;
}
.product-badges .stock-badge-card,
.product-badges .product-badge {
  position: static;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.product-badges .stock-badge-card { flex: 0 1 auto; }
.product-badges .product-badge { margin-left: auto; text-align: center; }
.product-info, .product-bottom-row, .product-price { min-width: 0; }
.product-info h3, .product-desc { overflow-wrap: anywhere; }
.product-bottom-row { gap: .6rem; }
.product-bottom-row .cart-btn { flex-shrink: 0; }
@media (max-width: 360px) {
  .product-info { padding: 1.05rem; }
  .product-bottom-row { flex-wrap: wrap; }
  .product-bottom-row .cart-btn { margin-left: auto; }
}

/* Меню должно занимать экран, а не высоту стеклянной шапки. */
@media (max-width: 1220px) {
  .navbar .nav-links {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    padding: 5rem 1rem 2rem;
    justify-content: safe center;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
@media (max-width: 480px) {
  .mascot { left: .5rem; bottom: .5rem; }
  .mascot-body { width: 52px; height: 52px; }
  .mascot-speech { width: max-content; max-width: min(190px, calc(100vw - 3rem)); font-size: .72rem; padding: .45rem .65rem; }
  .hero-glow { width: min(340px, 100vw); height: min(340px, 100vw); }
  .locations-search-box { min-width: 0; width: 100%; }
  .modal-content { max-height: calc(100dvh - 2rem); }
}

/* Узкие экраны: карточки отзывов и карусели используют всю ширину. */
.reviews-grid, .photo-carousel-viewport, .partners-carousel-viewport { min-width: 0; }
.review-card { min-width: 0; overflow-wrap: anywhere; }
.gallery-slide { flex: 0 0 calc(50% - .75rem); min-width: 0; }
@media (max-width: 768px) {
  .gallery-slide { flex-basis: 100%; }
}
@media (max-width: 480px) {
  .reviews-slider-wrap, .photo-carousel-wrap, .partners-carousel-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .75rem;
  }
  .reviews-grid, .photo-carousel-viewport, .partners-carousel-viewport { grid-column: 1 / -1; grid-row: 1; }
  .reviews-slider-wrap > .prev, .photo-carousel-wrap > .prev, .partners-carousel-wrapper > .prev { grid-column: 1; grid-row: 2; justify-self: end; }
  .reviews-slider-wrap > .next, .photo-carousel-wrap > .next, .partners-carousel-wrapper > .next { grid-column: 2; grid-row: 2; justify-self: start; }
}

/* Карточка товара остаётся в пределах экрана и прокручивается внутри окна. */
.product-modal { align-items: center; overflow: hidden; }
.product-modal-content {
  margin: 0;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.scoby-success-close { z-index: 2; }
.scoby-reward-art { pointer-events: none; }

/* Стандартные бутылки получают единый масштаб после нормализации имён файлов. */
.product-detail-image:not(.fit-set-image) img { transform: scale(1.85); }

/* Партнёры: крупные карточки и редакционная композиция */
.partners {
  position: relative;
  overflow: hidden;
  overflow: clip;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: radial-gradient(ellipse at 93% 8%, rgba(250, 250, 230, .74), transparent 37%), linear-gradient(135deg, #d9e6d4 0%, #c9dbc3 57%, #dce7d5 100%);
}
.partners::before {
  content: '';
  position: absolute;
  width: 32rem; height: 32rem;
  right: -17rem; top: -19rem;
  border: 1px solid rgba(86, 128, 78, .22);
  border-radius: 50%;
  box-shadow: 0 0 0 4rem rgba(255, 255, 255, .07), 0 0 0 8rem rgba(255, 255, 255, .07);
  pointer-events: none;
}
.partners-inner { position: relative; }
.partners-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .55fr); align-items: end; gap: clamp(2rem, 6vw, 6rem); margin-bottom: 3.25rem; }
.partners-eyebrow, .partners-intro-caption, .partners-overline, .partners-showcase-label { font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.partners-eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem .8rem; border: 1px solid rgba(255,255,255,.8); border-radius: 99px; background: rgba(255,255,255,.36); color: #54764c; }
.partners-eyebrow > span { font-size: 1rem; line-height: .8; color: #db8557; }
.partners-intro h2 { margin: 1.35rem 0 0; color: #283e2e; font-size: clamp(2.55rem, 4.8vw, 4.65rem); line-height: 1.03; letter-spacing: -.055em; }
.partners-intro h2 span { color: #68895b; }
.partners-intro-aside { padding: .25rem 0 .4rem 1.5rem; border-left: 1px solid rgba(83, 119, 76, .3); }
.partners-intro-caption { color: #6f8e64; }
.partners-intro-aside p { max-width: 360px; margin: .7rem 0 1rem; font-size: 1rem; line-height: 1.6; color: #566c57; }
.partners-contact-link { display: inline-flex; align-items: center; gap: .55rem; color: #365d35; font-size: .86rem; font-weight: 800; text-decoration: none; }
.partners-contact-link span { display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #a5bda0; border-radius: 50%; transition: transform .2s; }
.partners-contact-link:hover span { transform: translate(3px,-3px); }
.partners-showcase { padding: clamp(1.3rem, 3.3vw, 2.75rem); border: 1px solid rgba(255,255,255,.8); border-radius: clamp(1.5rem, 3vw, 2.25rem); background: linear-gradient(130deg, rgba(255,255,255,.58), rgba(241,247,236,.4)); box-shadow: 0 20px 60px rgba(44,74,40,.09), inset 0 1px rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.partners-showcase-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.45rem; }
.partners-overline, .partners-showcase-label { color: #829a79; }
.partners-showcase-header h3 { margin: .35rem 0 0; color: #304633; font-size: clamp(1.4rem, 2vw, 1.85rem); letter-spacing: -.035em; }
.partners-showcase-label { padding-bottom: .2rem; text-align: right; }
.partners-carousel-wrapper { display: block; min-width: 0; }
.partners-carousel-viewport { --partners-visible: 4; width: 100%; min-width: 0; padding: .4rem 0 .8rem; overflow: hidden; }
.partners-carousel-viewport:focus-visible { outline: 3px solid #648e5c; outline-offset: 4px; border-radius: 12px; }
.partners-carousel-track { display: flex; gap: 18px; transition: transform .45s cubic-bezier(.22,.7,.2,1); }
.partner-slide-card {
  position: relative; min-width: 0; flex: 0 0 calc((100% - 54px) / 4); min-height: 248px;
  display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; padding: 1.15rem;
  overflow: hidden; text-align: left; border: 1px solid rgba(255,255,255,.95); border-radius: 1.35rem;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(250,252,246,.86));
  box-shadow: 0 8px 22px rgba(42,77,43,.07), inset 0 1px 0 #fff; -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: transform .25s ease, box-shadow .25s ease;
}
.partner-slide-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(42,77,43,.13); }
.partner-card-number { display: flex; align-items: center; justify-content: space-between; color: #9cac96; font-size: .65rem; line-height: 1; letter-spacing: .1em; font-weight: 800; }
.partner-card-number::after { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: #b8d0ac; }
.partner-logo { width: 100%; height: 112px; margin: .35rem 0 .7rem; display: flex; align-items: center; justify-content: center; }
.partner-logo img { width: 100%; height: 100%; max-width: 160px; max-height: 90px; object-fit: contain; }
.partner-logo img[hidden], .partner-logo-fallback[hidden] { display: none; }
.partner-logo-fallback { display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid #d8e7d3; border-radius: 22px; background: #edf5e9; color: #6c925f; font-size: 1.8rem; font-weight: 800; }
.partner-card-info { padding-top: .85rem; border-top: 1px solid #e9f0e6; }
.partner-slide-card h4 { color: #304633; font-size: 1rem; line-height: 1.3; overflow-wrap: anywhere; }
.partner-card-info span { display: block; margin-top: .25rem; color: #819280; font-size: .78rem; line-height: 1.35; overflow-wrap: anywhere; }
.partners-carousel-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
.partners-progress-wrap { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.partners-progress-label { white-space: nowrap; font-size: .76rem; font-weight: 800; color: #71866d; }
.partners-progress-bar { width: clamp(90px, 13vw, 180px); height: 3px; border-radius: 3px; overflow: hidden; background: #d5e3d0; }
.partners-progress-bar span { display: block; width: 0; height: 100%; background: #5d8654; transition: width .3s ease; }
.partners-navigation { display: flex; gap: .55rem; }
.partners-navigation .partner-nav-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #c6d8bf; border-radius: 50%; background: rgba(255,255,255,.85); color: #42673d; cursor: pointer; transition: background .2s, transform .2s; }
.partners-navigation .partner-nav-btn.next { border-color: #557f4c; background: #557f4c; color: white; }
.partners-navigation .partner-nav-btn:not(:disabled):hover { transform: translateY(-2px); }
.partners-navigation .partner-nav-btn:disabled { opacity: .38; cursor: not-allowed; }
.partners-navigation .partner-nav-btn:focus-visible, .partners-contact-link:focus-visible { outline: 3px solid #648e5c; outline-offset: 3px; }
/* ===== ОФОРМЛЕНИЕ ФОТО-СЛАЙДЕРА НА ГЛАВНОМ ЭКРАНЕ (HERO SHOWCASE) ===== */
.hero-visual.hero-visual-showcase {
  position: relative;
  height: 470px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(145deg, #dfe8d9, #ece6da);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 24px 55px rgba(38, 61, 43, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  isolation: isolate;
}

/* Мягкий внутренний контур и виньетка снизу для контраста стеклянной подписи */
.hero-visual.hero-visual-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(22, 34, 25, 0.55) 0%,
    rgba(22, 34, 25, 0.12) 38%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 2;
}

.hero-visual.hero-visual-showcase .hero-bottle.hero-photo-banner {
  width: 100%;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  box-shadow: none;
  transform: scale(1.01);
  transition: transform 6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.hero-slide.active .hero-visual.hero-visual-showcase .hero-bottle.hero-photo-banner:not(.is-portrait-slide) {
  animation: heroPhotoZoom 6s ease-out forwards;
}

@keyframes heroPhotoZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Специальная адаптация для вертикального осеннего фото (hero-6), чтобы бутылка и тыква не обрезались */
.hero-visual.hero-visual-showcase.is-portrait-slide {
  background: #2b1d18;
}

.hero-portrait-backdrop {
  position: absolute;
  inset: -24px;
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(130%) brightness(0.82);
  transform: scale(1.12);
  z-index: 0;
}

.hero-visual.hero-visual-showcase .hero-bottle.hero-photo-banner.is-portrait-slide {
  position: relative;
  object-fit: contain;
  padding: 0.75rem 0.75rem 4.5rem;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.35));
  z-index: 1;
}

/* Нижняя стеклянная плашка на фото в стиле Liquid Glass */
.hero-photo-glass-bar {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  border-radius: 16px;
  background: rgba(250, 252, 248, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 10px 28px rgba(20, 35, 23, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(16px) saturate(155%);
  backdrop-filter: blur(16px) saturate(155%);
}

.hero-photo-glass-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.hero-photo-glass-text strong {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: #243828;
  line-height: 1.25;
}

.hero-photo-glass-text span {
  font-size: 0.77rem;
  color: #546957;
  line-height: 1.35;
}

.hero-photo-counter {
  display: none;
}

@media (max-width: 1080px) {
  .hero-visual.hero-visual-showcase {
    height: 410px;
  }
}

@media (max-width: 480px) {
  .hero-visual.hero-visual-showcase {
    height: 315px;
    border-radius: 20px;
  }
  .hero-photo-glass-bar {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    padding: 0.65rem 0.85rem;
  }
  .hero-photo-glass-text strong {
    font-size: 0.8rem;
  }
  .hero-photo-glass-text span {
    font-size: 0.7rem;
  }
}


@media (max-width: 1100px) { .partners-carousel-viewport { --partners-visible: 3; } .partner-slide-card { flex-basis: calc((100% - 36px) / 3); } }
@media (max-width: 760px) {
  .partners-intro { grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 2rem; }
  .partners-intro-aside { padding-left: 1rem; }
  .partners-intro h2 { font-size: clamp(2.35rem, 8vw, 3.8rem); }
  .partners-carousel-viewport { --partners-visible: 2; }
  .partner-slide-card { flex-basis: calc((100% - 18px) / 2); }
  .partners-showcase-label { display: none; }
}
@media (max-width: 480px) {
  .partners { padding: 4rem 0; }
  .partners-carousel-wrapper { display: block; }
  .partners-carousel-viewport { --partners-visible: 1; }
  .partner-slide-card { flex-basis: 100%; min-height: 235px; }
  .partner-logo { height: 100px; }
  .partners-intro h2 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .partners-showcase { padding: 1.2rem; }
  .partners-navigation .partner-nav-btn { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .partners-carousel-track, .partner-slide-card, .partners-progress-bar span { transition: none; } }
.partner-slide-card .partner-card-number { margin-top: 0; color: #9cac96; font-size: .65rem; }
.partner-slide-card .partner-logo-fallback { margin-top: 0; color: #6c925f; font-size: 1.8rem; }

/* Спокойная редакционная подача для основных разделов */
.hero {
  min-height: 0;
  padding: clamp(7rem, 11vw, 10rem) 0 4.5rem;
  background: #f2f3e9;
  background-image: linear-gradient(115deg, #eef2e8, #f9f4ec 74%);
}
.hero-slide { min-height: 450px; grid-template-columns: minmax(0, 1fr) minmax(0, .88fr); gap: clamp(3rem, 7vw, 7rem); }
.hero-content { max-width: 610px; }
.hero-badge-pill { border-radius: 5px; padding: .5rem .7rem; background: #e3ebdf; color: #55724f; font-size: .7rem; letter-spacing: .09em; }
.hero-title { font-size: clamp(2.3rem, 4.3vw, 4.15rem); line-height: 1.08; letter-spacing: -.045em; text-transform: none; overflow-wrap: anywhere; }
.hero-title .gradient-text { color: #628453; background: none; -webkit-text-fill-color: currentColor; }
.hero-tagline { max-width: 510px; font-size: 1.04rem; line-height: 1.75; color: #596b5c; }
.hero-buttons { gap: .75rem; }
.hero-visual { height: 455px; min-width: 0; overflow: hidden; border-radius: 22px; background: #e5ebdf; }
.hero-glow { width: 75%; height: 75%; opacity: .3; filter: blur(60px); }
.hero-bottle { max-height: 400px; filter: none; }
.hero-bottle.hero-photo-banner { width: 100%; height: 100%; max-height: none; max-width: none; object-fit: cover; border-radius: 0; box-shadow: none; }
.hero-slider-controls { justify-content: flex-start; margin-top: 1.6rem; gap: .8rem; }
.hero-slider-controls .slider-arrow { width: 40px; height: 40px; border: 1px solid #d1ddd0; box-shadow: none; }
.hero-slider-controls .slider-dot.active { background: #547a4d; }

.visual-gallery { padding: clamp(4.5rem, 7vw, 6.5rem) 0; background: #fafaf6; }
.visual-gallery .section-header, .about-kombucha > .container > .section-header, .reviews-section .section-header { text-align: left; margin: 0 0 2.4rem; }
.visual-gallery .section-title, .about-kombucha > .container > .section-header .section-title, .reviews-section .section-title { max-width: 850px; font-size: clamp(2.1rem, 3.8vw, 3.65rem); line-height: 1.1; letter-spacing: -.04em; text-transform: none; }
.visual-gallery .section-title .gradient-text, .about-kombucha > .container > .section-header .gradient-text, .reviews-section .section-title .gradient-text { background: none; color: #66855a; -webkit-text-fill-color: currentColor; }
.visual-gallery .section-subtitle, .about-kombucha > .container > .section-header .section-subtitle, .reviews-section .section-subtitle { margin: .8rem 0 0; max-width: 670px; color: #6a796b; }
.photo-carousel-wrap { gap: 1rem; }
.photo-carousel-viewport { border-radius: 15px; }
.gallery-slide { height: clamp(320px, 33vw, 430px); border-radius: 16px; box-shadow: none; }
.gallery-slide:hover img { transform: scale(1.025); }
.gallery-caption { padding: 2rem 1.5rem 1.4rem; background: linear-gradient(to top, rgba(18,31,22,.8), transparent); }
.gallery-caption strong { font-size: 1.15rem; }
.gallery-caption span { font-size: .85rem; }
.visual-gallery .carousel-nav-btn, .reviews-section .carousel-nav-btn { border: 1px solid #d5e0d1; box-shadow: none; }
.visual-gallery .carousel-dots { margin-top: 1.1rem; }

.about-kombucha { padding: clamp(4.5rem, 7vw, 6.5rem) 0; background: #f5f4ec; }
.kombucha-overview-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; }
.kombucha-magic-card { display: grid; grid-template-columns: minmax(0, 1fr) 130px; grid-template-rows: auto auto; align-content: start; align-items: start; gap: 0 1rem; padding: clamp(1.6rem, 3vw, 2.5rem); text-align: left; border: 1px solid #d8e5d4; border-radius: 18px; background: #e6eee2; box-shadow: none; min-width: 0; }
.magic-jar-badge { grid-column: 1; align-self: start; justify-self: start; margin: 0; padding: .35rem .6rem; border-radius: 4px; background: #67865c; font-size: .65rem; }
.magic-jar-visual { grid-column: 2; grid-row: 1 / span 2; width: 130px; height: 130px; margin: 0; }
.magic-glow { display: none; }
.magic-jar-img { width: 120px; height: 120px; animation: none; }
.magic-jar-text { grid-column: 1 / -1; margin-top: .5rem; }
.magic-jar-text h3 { max-width: 430px; font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.2; letter-spacing: -.025em; }
.magic-jar-text p { max-width: 470px; font-size: .95rem; line-height: 1.65; }
.fermentation-steps-column { max-width: none; margin: 1.25rem 0 0; gap: 0; border-top: 1px solid #cbdcc6; }
.fermentation-steps-column .f-step-pill { gap: .8rem; padding: .85rem 0; border-radius: 0; border-bottom: 1px solid #cbdcc6; background: transparent; box-shadow: none; }
.fermentation-steps-column .f-step-num { width: 28px; min-width: 28px; height: 28px; color: #557950; background: #d7e5d3; font-size: .75rem; }
.fermentation-steps-column .f-step-text { font-size: .86rem; line-height: 1.45; }
.benefits-interactive-grid { justify-content: flex-start; gap: .65rem; min-width: 0; }
.benefit-interactive-card { padding: 1.2rem 1.3rem; border: 1px solid #dfe7db; border-radius: 14px; background: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.benefit-interactive-card:hover, .benefit-interactive-card.open { border-color: #9dbb94; box-shadow: none; }
.b-card-icon { width: 43px; height: 43px; border-radius: 9px; background: #eaf1e7; }
.b-card-headings { min-width: 0; }
.b-card-headings h4 { font-size: 1rem; line-height: 1.35; }
.b-card-short { display: block; font-size: .82rem; line-height: 1.45; }
.b-card-toggle-icon { flex-shrink: 0; background: #eef4eb; }
.benefit-interactive-card:focus-visible { outline: 3px solid #83a979; outline-offset: 3px; }

.production-features { padding: clamp(2rem, 4vw, 3.5rem); border-radius: 20px; background: #4f714b; text-align: left; }
.production-features h3 { max-width: 760px; font-size: clamp(1.6rem, 2.5vw, 2.3rem); line-height: 1.2; letter-spacing: -.025em; }
.production-features .subtitle { max-width: 680px; line-height: 1.6; opacity: .84; }
.features-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: initial; gap: .85rem 2rem; max-width: 860px; }
.feature-item { align-items: flex-start; font-size: .93rem; line-height: 1.5; }
.feature-check { flex-shrink: 0; width: 24px; height: 24px; }
.production-quote { max-width: 900px; padding: .2rem 0 .2rem 1.2rem; border-left: 2px solid rgba(255,255,255,.45); border-radius: 0; background: none; font-size: 1.1rem; line-height: 1.6; }
.production-features .btn-story-cta { box-shadow: none; }

.wholesale-section { padding: clamp(4.5rem, 7vw, 6.5rem) 0; background: #f4f5ed; }
.wholesale-banner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr); align-items: stretch; gap: clamp(2rem, 5vw, 5rem); padding: clamp(1.6rem, 4vw, 3.5rem); border: 1px solid #e0e9dc; border-radius: 20px; background: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.wholesale-content { min-width: 0; }
.wholesale-content h2 { max-width: 620px; font-size: clamp(2rem, 3.7vw, 3.45rem); line-height: 1.1; letter-spacing: -.04em; text-transform: none; }
.wholesale-content h2 .gradient-text { color: #66855a; background: none; -webkit-text-fill-color: currentColor; }
.wholesale-lead { max-width: 580px; font-size: 1rem; line-height: 1.7; }
.wholesale-perks { gap: 0; margin: 1.5rem 0; border-top: 1px solid #e1eae0; }
.w-perk { padding: 1rem 0; border-bottom: 1px solid #e1eae0; }
.w-perk-num { width: 34px; height: 34px; border-radius: 7px; background: #edf3e9; font-size: .8rem; }
.w-perk h4 { font-size: .96rem; }
.w-perk p { line-height: 1.55; }
.wholesale-order-note { padding-left: .9rem; border-left: 2px solid #9ab88f; line-height: 1.6; }
.wholesale-visual { height: 100%; min-height: 420px; border-radius: 14px; }
.wholesale-floating-card { left: 1rem; right: 1rem; bottom: 1rem; padding: 1rem 1.2rem; border: 1px solid rgba(255,255,255,.7); border-radius: 12px; background: rgba(250,252,248,.94); box-shadow: none; }

.reviews-section { padding: clamp(4.5rem, 7vw, 6.5rem) 0; background: #fafaf7; }
.reviews-summary-bar { padding: 1rem 1.3rem; border: 1px solid #e5ebe1; border-radius: 14px; background: #eff4eb; }
.reviews-authentic-label > span { width: 40px; height: 40px; background: #dfeadb; }
.reviews-grid { gap: 1rem; }
.review-card { min-width: 0; min-height: 245px; padding: 1.5rem; gap: 1rem; border: 1px solid #e4ebe1; border-radius: 16px; background: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.review-avatar { width: 40px; height: 40px; background: #e7f0e3; color: #557c4d; font-size: .95rem; }
.review-text { font-size: .98rem; line-height: 1.7; }
.review-flavor-tag { padding: .35rem .7rem; background: #edf4e9; }

@media (max-width: 1080px) {
  .hero-slide { grid-template-columns: 1fr; gap: 1.75rem; min-height: 0; text-align: left; }
  .hero-visual { order: 0; height: 390px; }
  .hero-content { max-width: 720px; }
  .hero-buttons { justify-content: flex-start; }
  .hero-tagline { margin-left: 0; margin-right: 0; }
  .kombucha-overview-grid, .wholesale-banner { grid-template-columns: minmax(0, 1fr); }
  .wholesale-visual { min-height: 340px; height: 400px; }
}
@media (max-width: 768px) {
  .hero { padding: 7.2rem 0 3rem; }
  .hero-title { font-size: clamp(2.15rem, 8vw, 3.5rem); }
  .hero-visual { height: 340px; }
  .visual-gallery .section-header, .about-kombucha > .container > .section-header, .reviews-section .section-header { margin-bottom: 1.75rem; }
  .gallery-slide { height: 310px; }
  .features-list { grid-template-columns: 1fr; }
  .production-features { padding: 1.8rem; }
  .wholesale-visual { height: 340px; min-height: 0; }
  .review-card { min-height: 215px; }
}
@media (max-width: 480px) {
  .hero-visual { height: 275px; }
  .hero-buttons .btn { min-height: 46px; }
  .hero-slider-controls { margin-top: 1rem; }
  .gallery-slide { height: 285px; }
  .photo-carousel-viewport { grid-column: 1 / -1; }
  .kombucha-magic-card { grid-template-columns: minmax(0, 1fr) 90px; padding: 1.3rem; }
  .magic-jar-visual { width: 90px; height: 90px; }
  .magic-jar-img { width: 90px; height: 90px; }
  .b-card-top { gap: .7rem; }
  .benefit-interactive-card { padding: 1rem; }
  .wholesale-banner { padding: 1.35rem; }
  .wholesale-visual { height: 285px; }
  .reviews-summary-bar { align-items: flex-start; }
  .reviews-grid { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .hero-slide, .hero-bottle, .gallery-slide img { animation: none; transition: none; } }

/* Liquid Glass — навигация, плавающие элементы и карточки */
:root {
  --lg-tint: #f2f6f0;
  --lg-blur: none;
  --lg-sheen: linear-gradient(154deg, rgb(255 255 255 / .68), transparent 35%, transparent 68%, rgb(216 239 234 / .42));
  --lg-rim: inset 0 1px 1px #fff, inset 1px 0 1px rgb(255 255 255 / .72), inset 0 -1px 2px rgb(68 104 93 / .17), 0 8px 24px -12px rgb(32 66 50 / .35);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --lg-tint: rgb(246 251 247 / .68); --lg-blur: blur(20px) saturate(155%); }
}
.hero {
  background: radial-gradient(ellipse at 88% 20%, #c8e4dd 0, transparent 43%), radial-gradient(ellipse at 66% 92%, #f3d7bd 0, transparent 45%), linear-gradient(120deg, #f9faf5 14%, #e9f1e6 60%, #f8f2eb);
}
.about-kombucha, .reviews-section, .wholesale-section {
  background: radial-gradient(ellipse at 86% 24%, #deece5, transparent 60%), linear-gradient(125deg, #f8f6ef, #eef2eb);
}
.navbar, .navbar.scrolled, .hero-photo-glass-bar, .wholesale-floating-card, .modal-content,
.hero-slider-controls .slider-arrow, .visual-gallery .carousel-nav-btn, .reviews-section .carousel-nav-btn, .hero-badge-pill {
  background: var(--lg-sheen), var(--lg-tint);
  border: 1px solid rgb(255 255 255 / .84);
  box-shadow: var(--lg-rim);
  -webkit-backdrop-filter: var(--lg-blur); backdrop-filter: var(--lg-blur);
}
@media (min-width: 1221px) {
  .navbar { top: 10px; inset-inline: 12px; max-width: 1480px; margin-inline: auto; border-radius: 32px; }
}
.hero-photo-glass-bar, .wholesale-floating-card { border-radius: 22px; }
.hero-badge-pill { border-radius: 999px; color: #37543d; }
.product-card, .benefit-interactive-card, .kombucha-magic-card, .reviews-summary-bar, .review-card, .wholesale-banner,
.partners-showcase, .locations-sidebar, .contacts-form {
  background: var(--lg-sheen), var(--lg-tint); border: 1px solid rgb(255 255 255 / .82); border-radius: 22px;
  box-shadow: var(--lg-rim);
}
.btn-primary, .cart-nav-btn {
  color: #fff; border: 1px solid #597d69; border-radius: 999px;
  background: linear-gradient(165deg, #59816b, #345c47 52%, #446e57);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .72), inset 0 -2px 3px rgb(14 43 25 / .32), 0 5px 14px -6px rgb(33 77 50 / .48);
}
@media (prefers-reduced-transparency: reduce) {
  :root { --lg-tint: #f5f8f3; --lg-blur: none; }
}

/* Главный экран на телефонах: компактнее, кнопки в ряд, слайдер по центру */
@media (max-width: 480px) {
  .hero {
    padding-bottom: 1.5rem;
  }

  .hero-slide {
    gap: 0.85rem;
  }

  .hero-title {
    margin-bottom: 0.75rem;
  }

  .hero-tagline {
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .hero-buttons {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 0.55rem;
  }

  .hero-buttons .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.8rem 0.4rem;
    font-size: clamp(0.68rem, 3.5vw, 0.88rem);
    line-height: 1.15;
    white-space: nowrap;
  }

  .hero-visual.hero-visual-showcase {
    height: clamp(235px, 68vw, 285px);
  }

  .hero-slider-controls {
    justify-content: center;
    margin-top: 0.75rem;
    gap: 0.7rem;
  }
}

@media (max-width: 360px) {
  .hero-buttons {
    gap: 0.35rem;
  }

  .hero-buttons .btn {
    padding-inline: 0.25rem;
    font-size: 0.64rem;
    letter-spacing: 0.15px;
  }
}

/* Slider controls stay centered at every breakpoint, including tablet and desktop. */
.hero-slider-controls {
  justify-content: center;
}

/* Larger invisible hit areas make the slide dots easier to tap. */
.hero-slider-controls .slider-dots {
  gap: 0;
}

.hero-slider-controls .slider-dot {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 28px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
}

.hero-slider-controls .slider-dot::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(44, 62, 47, 0.25);
  transition: var(--transition);
}

.hero-slider-controls .slider-dot.active {
  flex-basis: 36px;
  width: 36px;
  background: transparent;
}

.hero-slider-controls .slider-dot.active::before {
  width: 30px;
  background: #547a4d;
}

.hero-slider-controls .slider-dot:focus-visible,
.hero-slider-controls .slider-arrow:focus-visible {
  outline: 3px solid #4f7942;
  outline-offset: 2px;
}

/* ===== Отзывы: ясная форма и аккуратные карточки ===== */
.review-modal-content {
  width: min(100%, 680px);
  max-height: min(90vh, 860px);
  max-height: min(90dvh, 860px);
  padding: clamp(1.35rem, 4vw, 2.5rem);
  border-radius: 28px;
  background: linear-gradient(145deg, rgb(255 255 255 / .96), rgb(239 246 239 / .96));
}

.review-modal-heading { max-width: 560px; padding-right: 2.4rem; margin-bottom: 1.45rem; }
.review-modal-kicker { display: inline-block; margin-bottom: .65rem; color: #557c4d; font-size: .7rem; font-weight: 900; letter-spacing: .13em; }
.review-modal-heading h3 { margin: 0 0 .45rem; color: #293d2e; font-size: clamp(1.55rem, 4vw, 2rem); line-height: 1.14; letter-spacing: -.035em; }
.review-modal-heading p { margin: 0; color: #66776a; font-size: .94rem; line-height: 1.55; }
.review-modal-content .form-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; }
.review-modal-content .form-group { min-width: 0; margin-bottom: .95rem; }
.review-modal-content .form-group label { display: block; margin: 0 0 .42rem; color: #3d5140; font-size: .82rem; font-weight: 750; line-height: 1.35; }
.review-modal-content .form-group label span { color: #a65b3d; }
.review-modal-content .form-group input,
.review-modal-content .form-group select,
.review-modal-content .form-group textarea {
  display: block;
  min-width: 0;
  min-height: 50px;
  padding: .78rem .95rem;
  border: 1.5px solid #d5e2d2;
  border-radius: 13px;
  background: #fff;
  color: #304434;
  font-size: .94rem;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgb(44 62 47 / .035);
}
.review-modal-content .form-group select { padding-right: 2.3rem; }
.review-modal-content .form-group textarea { min-height: 136px; resize: vertical; }
.review-modal-content .form-group input:focus,
.review-modal-content .form-group select:focus,
.review-modal-content .form-group textarea:focus { outline: 3px solid rgb(91 132 79 / .18); outline-offset: 1px; border-color: #63875a; }
.review-field-hint { display: block; margin-top: .4rem; color: #778579; font-size: .75rem; }
.review-submit-btn { min-height: 52px; border-radius: 999px; letter-spacing: .025em; box-shadow: 0 8px 18px rgb(51 91 64 / .18); }
.review-modal-content .modal-close { top: 1.1rem; right: 1.1rem; width: 40px; height: 40px; background: #e5eee2; color: #35533b; transition: transform .2s ease, background .2s ease; }
.review-modal-content .modal-close:hover { transform: rotate(90deg); background: #d9e8d5; }

.reviews-section { position: relative; overflow: hidden; }
.reviews-section > .container { position: relative; z-index: 1; }
.reviews-summary-bar { min-height: 82px; padding: .9rem 1.2rem; border: 1px solid rgb(255 255 255 / .9); border-radius: 20px; background: linear-gradient(120deg, rgb(255 255 255 / .83), rgb(231 243 235 / .78)); box-shadow: 0 10px 26px rgb(39 68 49 / .08); }
.reviews-authentic-label { gap: .8rem; }
.reviews-authentic-label strong { display: block; color: #2f4534; font-size: .98rem; }
.reviews-authentic-label .score-sub { display: block; margin-top: .15rem; }
.reviews-summary-bar > .btn { border-radius: 999px; white-space: nowrap; }
.reviews-slider-wrap { gap: clamp(.6rem, 1.6vw, 1.25rem); }
.reviews-grid { align-items: stretch; gap: clamp(.75rem, 1.4vw, 1.1rem); min-width: 0; }
.review-card {
  position: relative;
  min-width: 0;
  min-height: 265px;
  height: auto;
  overflow: hidden;
  padding: clamp(1.1rem, 2vw, 1.55rem);
  gap: .95rem;
  border: 1px solid rgb(255 255 255 / .95);
  border-radius: 24px;
  background: linear-gradient(145deg, rgb(255 255 255 / .93), rgb(237 246 239 / .9));
  box-shadow: 0 14px 32px rgb(43 68 49 / .09), inset 0 1px 0 #fff;
  transition: transform .22s ease, box-shadow .22s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 20px 38px rgb(43 68 49 / .14), inset 0 1px 0 #fff; }
.review-card-topline { display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-width: 0; }
.review-author-wrap { min-width: 0; gap: .7rem; }
.review-author-meta { min-width: 0; }
.review-avatar { flex: 0 0 42px; width: 42px; height: 42px; border: 1px solid #fff; box-shadow: 0 3px 10px rgb(49 84 57 / .12); }
.review-author-name { color: #2d4232; font-size: .97rem; line-height: 1.3; overflow-wrap: anywhere; }
.review-author-role { display: block; margin-top: .18rem; color: #78867b; font-size: .77rem; line-height: 1.35; overflow-wrap: anywhere; }
.review-rating { display: inline-flex; align-items: center; gap: .35rem; flex: 0 0 auto; padding: .38rem .56rem; border: 1px solid #f0e5c8; border-radius: 999px; background: #fffaf0; }
.review-rating-stars { color: #d89733; font-size: .82rem; letter-spacing: .04em; white-space: nowrap; }
.review-rating-number { color: #715b33; font-size: .73rem; font-weight: 800; }
.review-quote-mark { position: absolute; top: 4.2rem; right: 1.25rem; color: rgb(93 131 83 / .11); font-family: Georgia, serif; font-size: 5.5rem; line-height: 1; pointer-events: none; }
.review-text { position: relative; z-index: 1; margin: .15rem 0 .35rem; color: #526457; font-size: .96rem; line-height: 1.75; overflow-wrap: anywhere; word-break: normal; }
.review-flavor-tag { position: relative; z-index: 1; max-width: 100%; padding: .4rem .75rem; border: 1px solid #e0ebdc; background: #f2f7ef; color: #527447; font-size: .73rem; font-weight: 750; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
.reviews-empty { grid-column: 1 / -1; padding: 2rem; border: 1px dashed #cbdac6; border-radius: 20px; color: #627265; text-align: center; }
.reviews-slider-wrap .carousel-nav-btn { flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid rgb(255 255 255 / .95); background: linear-gradient(145deg, #fff, #edf4eb); box-shadow: 0 6px 18px rgb(42 68 49 / .1); }
.reviews-slider-wrap .carousel-nav-btn:hover { transform: translateY(-2px); }

@media (max-width: 600px) {
  .review-modal { align-items: flex-start; padding: .55rem; }
  .review-modal-content { width: 100%; max-height: calc(100dvh - 1.1rem); margin: auto 0; padding: 1.25rem 1rem 1.1rem; border-radius: 22px; }
  .review-modal-heading { padding-right: 2rem; margin-bottom: 1rem; }
  .review-modal-heading p { font-size: .88rem; }
  .review-modal-content .form-row-2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .review-modal-content .form-group { margin-bottom: .8rem; }
  .review-modal-content .form-group input,
  .review-modal-content .form-group select { min-height: 48px; font-size: .91rem; }
  .review-modal-content .form-group textarea { min-height: 118px; }
  .review-card { min-height: 0; }
  .review-card:hover { transform: none; }
  .reviews-slider-wrap .carousel-nav-btn { flex-basis: 42px; width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .review-card, .review-modal-content .modal-close { transition: none; }
  .review-card:hover, .review-modal-content .modal-close:hover { transform: none; }
}

/* ===== История бренда: единая редакционная модалка ===== */
.story-modal { padding: clamp(.55rem, 2vw, 1.25rem); }
.story-modal .modal-overlay { background: rgb(20 31 23 / .72); backdrop-filter: blur(8px); }
.story-modal-content {
  width: min(96vw, 1180px);
  max-width: 1180px;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 0;
  border: 1px solid rgb(255 255 255 / .88);
  border-radius: 28px;
  background: linear-gradient(145deg, #f8faf6, #edf3ed);
  box-shadow: 0 28px 90px rgb(11 23 14 / .34), inset 0 1px 0 #fff;
  scrollbar-color: #a8b9a4 transparent;
  scrollbar-width: thin;
}
.story-modal-content::-webkit-scrollbar { width: 10px; }
.story-modal-content::-webkit-scrollbar-track { margin: 18px 0; background: transparent; }
.story-modal-content::-webkit-scrollbar-thumb { border: 3px solid transparent; border-radius: 999px; background: #a8b9a4; background-clip: padding-box; }
.story-modal-content > .modal-close { top: 1rem; right: 1rem; width: 42px; height: 42px; border: 1px solid #fff; background: #e9f0e6; color: #344b39; box-shadow: 0 4px 14px rgb(28 47 32 / .12); }
.story-modal-content > .modal-close:focus-visible { outline: 3px solid #6e9664; outline-offset: 3px; }
.story-inside-modal { padding: clamp(1.25rem, 4vw, 3.5rem) !important; background: transparent; }
.story-modal-header { max-width: 860px; margin: 0 auto clamp(1.6rem, 4vw, 3rem) !important; padding: .6rem 2.5rem 0; text-align: center; }
.story-modal-header .section-badge { margin-bottom: 1rem; border: 1px solid #dbe7d7; background: #eaf1e7; color: #57784d; letter-spacing: .08em; }
.story-modal-header .section-title { max-width: 760px; margin: 0 auto; color: #2e4434; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -.045em; text-transform: none; }
.story-modal-header .section-title .gradient-text { color: #66885a; background: linear-gradient(110deg, #537d4c, #b77a45); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.story-modal-header .section-subtitle { max-width: 720px; margin: 1rem auto 0; color: #68786b; font-size: clamp(.96rem, 1.5vw, 1.12rem); line-height: 1.7; }
.story-modal .story-mission {
  position: relative;
  max-width: 980px;
  margin: 0 auto clamp(2.5rem, 5vw, 4.25rem);
  padding: clamp(1.5rem, 4vw, 2.7rem);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / .28);
  border-radius: 24px;
  background: radial-gradient(ellipse at 95% 5%, rgb(205 224 182 / .28), transparent 38%), linear-gradient(125deg, #354f3c, #5c7c53);
  box-shadow: 0 16px 34px rgb(42 71 48 / .17);
  text-align: left;
}
.story-modal .story-mission::before { content: 'НАШЕ ЗАЧЕМ'; display: inline-block; margin-bottom: .85rem; color: #d5e6cf; font-size: .68rem; font-weight: 850; letter-spacing: .16em; }
.story-modal .story-mission h3 { margin: 0 0 .8rem; color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.2; }
.story-modal .story-mission p { max-width: 800px; margin: 0 0 .85rem; color: rgb(255 255 255 / .91); font-size: clamp(.96rem, 1.35vw, 1.08rem); line-height: 1.75; }
.story-modal .story-mission p:last-child { margin-bottom: 0; }
.story-modal .story-mission strong { color: #fff; }
.story-modal .timeline { max-width: 1000px; padding-bottom: .5rem; }
.story-modal .timeline::before { width: 2px; background: linear-gradient(180deg, #8aa77e, #d1b17e 52%, #8aa77e); }
.story-modal .timeline-item { gap: clamp(2.5rem, 6vw, 5rem); padding: 1.4rem 0; }
.story-modal .timeline-item::after { width: 18px; height: 18px; border: 4px solid #f2f6f0; background: #b8844c; box-shadow: 0 0 0 4px rgb(184 132 76 / .16); }
.story-modal .timeline-content { padding: clamp(1.25rem, 2.5vw, 2rem); border: 1px solid #e3ebe0; border-radius: 20px; background: rgb(255 255 255 / .86); box-shadow: 0 10px 26px rgb(44 66 47 / .075); }
.story-modal .timeline-year { margin-bottom: .8rem; padding: .38rem .72rem; border: 1px solid #dce8d7; border-radius: 999px; background: #edf4e9; color: #55784c; font-family: var(--font-primary); font-size: .78rem; font-weight: 850; letter-spacing: .04em; }
.story-modal .timeline-content h4 { margin-bottom: .65rem; color: #2f4434; font-size: clamp(1.12rem, 1.8vw, 1.35rem); line-height: 1.3; letter-spacing: -.015em; }
.story-modal .timeline-content p { margin-bottom: 0; color: #637166; font-size: .94rem; line-height: 1.75; }
.story-modal .timeline-image { height: clamp(230px, 26vw, 330px); border: 1px solid rgb(255 255 255 / .9); border-radius: 20px; background: #e4ebdf; box-shadow: 0 12px 28px rgb(37 58 41 / .12); }
.story-modal .timeline-image img { transition: transform .45s ease; }
.story-modal .timeline-image:hover img { transform: scale(1.035); }
.story-modal .timeline-item-current .timeline-content { border-color: #587750; background: linear-gradient(135deg, #3c5942, #647f59); }
.story-modal .timeline-item-current .timeline-content h4,
.story-modal .timeline-item-current .timeline-content p { color: #fff; }
.story-modal .timeline-item-current .timeline-year { border-color: rgb(255 255 255 / .25); background: rgb(255 255 255 / .12); color: #f3f7ef; }

@media (max-width: 900px) {
  .story-modal-content { width: min(96vw, 760px); }
  .story-modal .timeline::before { left: 13px; }
  .story-modal .timeline-item { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0 1.1rem 2.4rem; }
  .story-modal .timeline-item::after { left: 13px; top: 1.7rem; transform: translate(-50%, 0); }
  .story-modal .timeline > .timeline-item > .timeline-content,
  .story-modal .timeline > .timeline-item > .timeline-image { grid-column: 1 !important; grid-row: auto !important; }
  .story-modal .timeline-image { height: clamp(220px, 48vw, 330px); }
}
@media (max-width: 560px) {
  .story-modal { padding: .4rem; }
  .story-modal-content { width: 100%; max-height: calc(100dvh - .8rem); border-radius: 20px; }
  .story-inside-modal { padding: 1rem .9rem 1.5rem !important; }
  .story-modal-header { padding: .45rem 2rem 0; margin-bottom: 1.5rem !important; }
  .story-modal-header .section-badge { font-size: .62rem; }
  .story-modal-header .section-subtitle { margin-top: .75rem; font-size: .91rem; }
  .story-modal-content > .modal-close { top: .7rem; right: .7rem; width: 38px; height: 38px; }
  .story-modal .story-mission { margin-bottom: 2rem; padding: 1.35rem; border-radius: 18px; }
  .story-modal .story-mission p { font-size: .94rem; line-height: 1.65; }
  .story-modal .timeline-content { padding: 1.15rem; border-radius: 16px; }
  .story-modal .timeline-content p { font-size: .9rem; line-height: 1.68; }
  .story-modal .timeline-image { height: 220px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-modal .timeline-image img { transition: none; }
  .story-modal .timeline-image:hover img { transform: none; }
}

/* ===== Liquid glass: selective use, readable surfaces ===== */
:root {
  --lg-tint: rgb(248 251 247 / .82);
  --lg-blur: blur(18px) saturate(155%);
  --lg-sheen: linear-gradient(140deg, rgb(255 255 255 / .58), rgb(255 255 255 / .08) 42%, rgb(219 239 229 / .28));
  --lg-rim: inset 0 1px 0 rgb(255 255 255 / .95), inset 1px 0 0 rgb(255 255 255 / .48), inset 0 -1px 0 rgb(62 91 70 / .12), 0 14px 34px -18px rgb(27 54 37 / .3);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --lg-tint: #f6f8f3; --lg-blur: none; }
}
.navbar, .navbar.scrolled, .hero-photo-glass-bar, .wholesale-floating-card,
.hero-slider-controls .slider-arrow, .visual-gallery .carousel-nav-btn,
.reviews-section .carousel-nav-btn, .hero-badge-pill {
  background: var(--lg-sheen), var(--lg-tint);
  border: 1px solid rgb(255 255 255 / .9);
  box-shadow: var(--lg-rim);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
}
.product-card, .benefit-interactive-card, .locations-sidebar, .contacts-form, .partners-showcase {
  background: linear-gradient(145deg, rgb(255 255 255 / .7), rgb(238 246 238 / .58));
  border: 1px solid rgb(255 255 255 / .9);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), 0 12px 30px -18px rgb(35 65 43 / .34);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  backdrop-filter: blur(14px) saturate(145%);
}
.kombucha-magic-card { background: linear-gradient(140deg, #edf4e9, #dfeade); border: 1px solid #d5e3d1; box-shadow: 0 12px 28px -22px rgb(35 65 43 / .4); }
.wholesale-banner { background: linear-gradient(145deg, #fff, #f5f8f2); border: 1px solid #e2eae0; box-shadow: 0 14px 34px -24px rgb(35 65 43 / .3); -webkit-backdrop-filter: none; backdrop-filter: none; }
.modal-content:not(.product-modal-content):not(.story-modal-content):not(.review-modal-content) {
  border: 1px solid rgb(255 255 255 / .92);
  background: linear-gradient(145deg, rgb(255 255 255 / .94), rgb(237 245 238 / .9));
  box-shadow: inset 0 1px 0 #fff, 0 24px 70px rgb(12 27 17 / .28);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  backdrop-filter: blur(22px) saturate(155%);
}

/* Product dialog: bottle spotlight + legible frosted-glass information panel. */
.product-modal { padding: clamp(.55rem, 2vw, 1.25rem); }
.product-modal .modal-overlay { background: rgb(19 32 23 / .68); backdrop-filter: blur(9px) saturate(115%); }
.product-modal-content {
  position: relative;
  isolation: isolate;
  width: min(1120px, calc(100vw - 2rem));
  max-width: 1120px;
  border: 1px solid rgb(255 255 255 / .94);
  border-radius: 30px;
  background: radial-gradient(ellipse at 4% 0%, rgb(255 255 255 / .9), transparent 40%), linear-gradient(135deg, rgb(247 251 245 / .94), rgb(221 235 225 / .91));
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgb(255 255 255 / .22), 0 32px 90px rgb(9 24 13 / .34);
  -webkit-backdrop-filter: blur(30px) saturate(175%);
  backdrop-filter: blur(30px) saturate(175%);
  scrollbar-color: #9caf98 transparent;
  scrollbar-width: thin;
}
.product-modal-content::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(118deg, rgb(255 255 255 / .48), transparent 27%, transparent 68%, rgb(225 242 232 / .3));
  pointer-events: none;
}
.product-modal-content::after {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: 0;
  border: 1px solid rgb(255 255 255 / .35);
  border-radius: 29px;
  pointer-events: none;
}
.product-detail-grid { position: relative; z-index: 1; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 0; }
.product-detail-image {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 560px;
  padding: 2rem;
  overflow: hidden;
  border-radius: 29px 0 0 29px;
  background: radial-gradient(ellipse at 50% 43%, rgb(255 255 255 / .98) 0, rgb(245 246 235 / .8) 36%, transparent 69%), linear-gradient(150deg, rgb(226 238 222 / .46), rgb(250 246 235 / .52));
}
.product-detail-image::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(78%, 370px);
  aspect-ratio: 1;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border: 1px solid rgb(255 255 255 / .76);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, rgb(255 255 255 / .8), rgb(228 239 224 / .24) 58%, rgb(229 208 185 / .18));
  box-shadow: inset 0 2px 14px rgb(255 255 255 / .68), 0 20px 50px rgb(73 95 69 / .08);
}
.product-detail-image:not(.fit-set-image) img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 24px 22px rgb(46 55 42 / .2));
  transform: scale(1.9);
  transition: transform .3s ease, filter .3s ease;
}
.product-detail-image:not(.fit-set-image):hover img { transform: scale(1.98); filter: drop-shadow(0 28px 24px rgb(46 55 42 / .24)); }
.product-detail-image.fit-set-image { padding: 0; }
.product-detail-image.fit-set-image img { width: 100%; height: 100%; max-height: 100%; object-fit: cover; transform: none; filter: none; }
.product-detail-info {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.65rem);
  background: linear-gradient(145deg, rgb(255 255 255 / .34), rgb(236 246 239 / .24));
}
.product-detail-header { min-width: 0; }
.p-modal-badges-row { gap: .55rem; margin-bottom: .85rem; }
.product-detail-header .section-badge { margin: 0; padding: .42rem .78rem; border: 1px solid rgb(255 255 255 / .85); border-radius: 999px; background: rgb(255 255 255 / .48); color: #50764a; font-size: .68rem; letter-spacing: .06em; }
.stock-pill { padding: .42rem .78rem; border: 1px solid rgb(255 255 255 / .65); border-radius: 999px; font-size: .72rem; }
.stock-pill.in { background: rgb(221 247 228 / .9); color: #187442; }
.stock-pill.low { background: rgb(255 239 213 / .92); color: #a45b16; }
.stock-pill.out { background: rgb(255 225 225 / .92); color: #a53d3d; }
.product-detail-header h2 { margin: 0; color: #283d2e; font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.08; letter-spacing: -.04em; overflow-wrap: anywhere; }
.p-modal-subtitle { margin-top: .45rem; color: #56784d; font-size: .98rem; line-height: 1.45; }
.product-price-large { display: inline-flex; margin: .75rem 0 .45rem; color: #477343; font-size: clamp(1.55rem, 2.5vw, 2rem); line-height: 1; }
.p-modal-full-desc { margin: .15rem 0 .8rem; color: #536457; font-size: .92rem; line-height: 1.55; }
.taste-profile-box, .product-specs {
  border: 1px solid rgb(255 255 255 / .9);
  border-radius: 18px;
  background: linear-gradient(145deg, rgb(255 255 255 / .76), rgb(250 248 241 / .66));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .96), 0 8px 22px -18px rgb(30 55 36 / .32);
}
.taste-profile-box { padding: .95rem 1rem; margin-bottom: .7rem; }
.taste-profile-box h4 { margin-bottom: .65rem; color: #324737; font-size: .78rem; letter-spacing: .035em; }
.taste-bars { gap: .8rem 1rem; }
.taste-bar-label { gap: .4rem; color: #415545; font-size: .76rem; }
.taste-bar-track { height: 7px; background: rgb(92 119 83 / .16); }
.taste-bar-fill { background: linear-gradient(90deg, #5a804e, #e78659); }
.product-specs { gap: .65rem 1rem; padding: .95rem 1rem; margin-bottom: .85rem; color: #4c5c4e; font-size: .8rem; line-height: 1.5; }
.product-specs strong { color: #334939; }
.product-detail-actions { align-items: center; gap: .8rem; padding-top: .15rem; }
.quantity-selector { flex: 0 0 auto; min-height: 48px; border: 1px solid rgb(255 255 255 / .95); background: rgb(255 255 255 / .48); box-shadow: inset 0 1px 4px rgb(45 69 49 / .08); }
.quantity-selector button { width: 42px; height: 46px; color: #3d5b43; cursor: pointer; }
.quantity-selector button:hover { background: rgb(255 255 255 / .45); }
.quantity-selector input { width: 34px; color: #314738; }
.product-detail-actions .btn { min-height: 48px; padding-inline: clamp(1rem, 2.4vw, 1.8rem); }
.product-modal-content > .modal-close {
  top: 1rem; right: 1rem; width: 42px; height: 42px;
  border: 1px solid rgb(255 255 255 / .96);
  background: linear-gradient(145deg, rgb(255 255 255 / .84), rgb(230 240 229 / .76));
  color: #35503a; box-shadow: 0 5px 18px rgb(36 58 39 / .11), inset 0 1px 0 #fff;
}
.product-modal-content > .modal-close:hover { transform: rotate(90deg); background: #fff; }

@media (max-width: 1080px) {
  .product-modal-content { width: min(94vw, 760px); }
  .product-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .product-detail-image { min-height: 0; height: clamp(250px, 34vh, 340px); max-height: 340px; border-radius: 29px 29px 0 0; }
  .product-detail-image:not(.fit-set-image) img { max-height: 320px; transform: scale(1.6); }
  .product-detail-image:not(.fit-set-image):hover img { transform: scale(1.65); }
  .product-detail-info { padding: 1.5rem clamp(1.2rem, 4vw, 2rem) 1.7rem; }
}
@media (max-width: 600px) {
  .product-modal { padding: .4rem; }
  .product-modal-content { width: 100%; max-height: calc(100dvh - .8rem); border-radius: 22px; }
  .product-detail-image { height: 245px; border-radius: 22px 22px 0 0; }
  .product-detail-image:not(.fit-set-image) img { max-height: 225px; transform: scale(1.55); }
  .product-detail-info { padding: 1.1rem 1rem 1.25rem; }
  .product-detail-header h2 { padding-right: 2rem; font-size: 1.7rem; }
  .product-detail-actions { flex-wrap: wrap; }
  .product-detail-actions .btn { flex: 1 1 180px; }
  .taste-bars { grid-template-columns: minmax(0, 1fr); }
  .product-specs { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .product-detail-image img, .product-modal-content > .modal-close { transition: none; }
  .product-detail-image:not(.fit-set-image):hover img, .product-modal-content > .modal-close:hover { transform: none; }
}

/* ===== Quality block: detailed principles + centered brand timeline ===== */
.production-features {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgb(255 255 255 / .27);
  border-radius: 28px;
  background: radial-gradient(ellipse at 8% 0%, rgb(215 237 198 / .22), transparent 34%), radial-gradient(ellipse at 100% 100%, rgb(230 189 141 / .16), transparent 36%), linear-gradient(135deg, #34533b 0%, #4d704e 50%, #395c42 100%);
  color: #f6f8f2;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .26), 0 24px 60px -34px rgb(21 47 28 / .62);
}
.production-features::before,
.production-features::after { content: ''; position: absolute; z-index: -1; border: 1px solid rgb(255 255 255 / .11); border-radius: 50%; pointer-events: none; }
.production-features::before { width: 29rem; height: 29rem; right: -13rem; top: -18rem; box-shadow: 0 0 0 2rem rgb(255 255 255 / .025), 0 0 0 4rem rgb(255 255 255 / .02); }
.production-features::after { width: 21rem; height: 21rem; left: -12rem; bottom: -14rem; }
.production-features-inner { position: relative; z-index: 1; width: min(100%, 1160px); margin: 0 auto; }
.production-heading { max-width: 850px; margin: 0 auto clamp(1.5rem, 3.5vw, 2.6rem); text-align: center; }
.production-eyebrow { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: .85rem; padding: .44rem .78rem; border: 1px solid rgb(255 255 255 / .23); border-radius: 999px; background: rgb(255 255 255 / .09); color: #dcebd2; font-size: .68rem; font-weight: 850; letter-spacing: .14em; }
.production-eyebrow > span { color: #e4bd83; font-size: 1rem; }
.production-heading h3 { max-width: 820px; margin: 0 auto; color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.04em; }
.production-heading .subtitle { max-width: 700px; margin: .8rem auto 0; color: rgb(246 248 242 / .76); font-size: .98rem; line-height: 1.6; }
.features-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; max-width: none; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); }
.feature-item { grid-column: span 2; min-width: 0; align-items: flex-start; gap: .8rem; padding: 1rem; border: 1px solid rgb(255 255 255 / .15); border-radius: 16px; background: linear-gradient(140deg, rgb(255 255 255 / .12), rgb(255 255 255 / .055)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.feature-item:nth-child(4) { grid-column: 2 / span 2; }
.feature-item:nth-child(5) { grid-column: 4 / span 2; }
.feature-check { flex: 0 0 31px; width: 31px; height: 31px; margin-top: .05rem; border: 1px solid rgb(255 255 255 / .27); background: linear-gradient(145deg, rgb(231 244 222 / .3), rgb(255 255 255 / .12)); color: #eff7e9; box-shadow: inset 0 1px 0 rgb(255 255 255 / .2); }
.feature-copy { min-width: 0; }
.feature-copy h4 { margin: 0 0 .28rem; color: #fff; font-size: .96rem; line-height: 1.35; }
.feature-copy p { margin: 0; color: rgb(246 248 242 / .73); font-size: .8rem; line-height: 1.5; }
.production-story { position: relative; padding: clamp(1.25rem, 3.2vw, 2.4rem); border: 1px solid rgb(255 255 255 / .28); border-radius: 24px; background: linear-gradient(145deg, rgb(255 255 255 / .13), rgb(255 255 255 / .07)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .16); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); text-align: center; }
.production-story-heading { max-width: 720px; margin: 0 auto 1.5rem; }
.production-story-heading > span { color: #dcebd2; font-size: .67rem; font-weight: 850; letter-spacing: .16em; }
.production-story-heading h4 { margin: .42rem 0 .35rem; color: #fff; font-size: clamp(1.35rem, 2.5vw, 1.8rem); line-height: 1.2; letter-spacing: -.025em; }
.production-story-heading p { margin: 0; color: rgb(246 248 242 / .71); font-size: .88rem; line-height: 1.5; }
.production-story-timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; text-align: left; }
.production-story-timeline::before { content: ''; position: absolute; top: 1.35rem; left: 9%; right: 9%; height: 1px; background: linear-gradient(90deg, transparent, rgb(232 241 222 / .48) 12%, rgb(232 241 222 / .48) 88%, transparent); }
.production-story-timeline li { position: relative; z-index: 1; min-width: 0; padding: .9rem .85rem 1rem; border: 1px solid rgb(255 255 255 / .14); border-radius: 15px; background: rgb(24 50 32 / .2); }
.production-story-year { display: grid; place-items: center; width: max-content; min-width: 58px; height: 36px; margin: 0 auto .8rem 0; padding: 0 .65rem; border: 1px solid rgb(255 255 255 / .72); border-radius: 999px; background: linear-gradient(145deg, #f4f5e8, #dce9d3); color: #3f6343; font-size: .75rem; font-weight: 900; letter-spacing: .03em; box-shadow: 0 4px 12px rgb(14 32 18 / .12); }
.production-story-timeline strong { display: block; margin-bottom: .35rem; color: #fff; font-size: .84rem; line-height: 1.35; }
.production-story-timeline p { margin: 0; color: rgb(246 248 242 / .73); font-size: .76rem; line-height: 1.5; }
.production-quote { position: relative; max-width: 780px; margin: 1.45rem auto 1rem; padding: 0 1rem; border: 0; background: none; color: #f5f4e8; text-align: center; }
.production-quote > span { display: block; height: 1.5rem; color: #e2bd86; font-family: Georgia, serif; font-size: 3.2rem; line-height: 1; }
.production-quote p { margin: 0; font-family: var(--font-elegant); font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-style: italic; line-height: 1.55; }
.production-story-cta { display: flex; justify-content: center; margin-top: 1.15rem; }
.production-features .btn-story-cta { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 50px; padding: .75rem 1.25rem; border: 1px solid rgb(255 255 255 / .8); border-radius: 999px; background: linear-gradient(145deg, rgb(255 255 255 / .94), rgb(230 240 225 / .9)); color: #426b43; box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgb(18 42 23 / .16); font-weight: 850; }
.production-features .btn-story-cta:hover { transform: translateY(-2px); background: #fff; color: #315739; box-shadow: 0 12px 28px rgb(18 42 23 / .24); }
.production-cta-arrow { font-size: 1.1rem; transition: transform .2s ease; }
.production-features .btn-story-cta:hover .production-cta-arrow { transform: translate(2px, -2px); }
@media (max-width: 900px) {
  .production-features { padding: clamp(1.5rem, 4vw, 2.5rem); }
  .features-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-item, .feature-item:nth-child(4), .feature-item:nth-child(5) { grid-column: auto; }
  .production-story-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .production-story-timeline::before { display: none; }
}
@media (max-width: 600px) {
  .production-features { padding: 1.15rem; border-radius: 21px; }
  .production-heading { margin-bottom: 1.25rem; }
  .production-heading h3 { font-size: 1.72rem; }
  .production-heading .subtitle { font-size: .89rem; }
  .features-list { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .feature-item { padding: .85rem; }
  .production-story { padding: 1rem; border-radius: 19px; }
  .production-story-heading { margin-bottom: 1rem; }
  .production-story-timeline { grid-template-columns: minmax(0, 1fr); gap: .55rem; }
  .production-story-timeline li { display: grid; grid-template-columns: 62px minmax(0, 1fr); column-gap: .75rem; align-items: start; padding: .8rem; }
  .production-story-year { grid-row: span 2; margin: 0; min-width: 56px; }
  .production-story-timeline strong { align-self: center; margin: 0 0 .25rem; }
  .production-story-timeline p { grid-column: 2; }
  .production-quote { padding: 0 .3rem; }
  .production-features .btn-story-cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .production-features .btn-story-cta, .production-cta-arrow { transition: none; }
  .production-features .btn-story-cta:hover { transform: none; }
}

/* Map fallback for locations without verified coordinates: show context, never a false pin. */
.map-general-overlay {
  position: absolute;
  z-index: 3;
  left: clamp(.65rem, 2vw, 1.15rem);
  right: clamp(.65rem, 2vw, 1.15rem);
  bottom: clamp(.65rem, 2vw, 1.15rem);
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .95rem 1.1rem;
  border: 1px solid rgb(255 255 255 / .88);
  border-radius: 18px;
  background: linear-gradient(135deg, rgb(255 255 255 / .93), rgb(241 247 239 / .88));
  box-shadow: 0 12px 30px rgb(25 45 29 / .18), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}
.map-general-icon { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border: 1px solid #d6e4d1; border-radius: 50%; background: #edf4e9; color: #52764a; font-size: 1.55rem; line-height: 1; }
.map-general-copy { display: grid; min-width: 0; gap: .18rem; flex: 1 1 auto; }
.map-general-copy strong { color: #2f4434; font-size: .93rem; line-height: 1.35; }
.map-general-copy > span { color: #546457; font-size: .8rem; line-height: 1.4; }
.map-general-copy p { margin: 0; color: #748075; font-size: .75rem; line-height: 1.4; }
.map-general-overlay .btn { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 600px) {
  .map-general-overlay { align-items: flex-start; flex-wrap: wrap; gap: .55rem .7rem; padding: .8rem; border-radius: 15px; }
  .map-general-icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 1.35rem; }
  .map-general-copy { flex-basis: calc(100% - 52px); }
  .map-general-overlay .btn { margin-left: 3.1rem; }
}
/* Refined flavor-category controls: clear hierarchy on desktop and mobile. */
.products-filter {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .7rem;
  width: min(100%, 950px);
  margin: 0 auto 2.2rem;
}
.filter-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .72rem .9rem;
  border: 1px solid rgb(83 111 75 / .19);
  border-radius: 15px;
  background: linear-gradient(145deg, #fff, #f6f8f1);
  color: #405642;
  box-shadow: 0 5px 16px -13px rgb(37 66 42 / .55), inset 0 1px 0 #fff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .025em;
  line-height: 1.3;
  text-align: center;
  text-transform: none;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.filter-btn::before { content: ''; flex: 0 0 7px; width: 7px; height: 7px; margin-right: .55rem; border-radius: 50%; background: #a0b397; box-shadow: 0 0 0 3px rgb(160 179 151 / .14); }
.filter-btn:hover { transform: translateY(-2px); border-color: rgb(77 119 67 / .4); background: #fff; color: #345d3c; box-shadow: 0 10px 20px -14px rgb(38 73 44 / .55); }
.filter-btn.active, .filter-btn.active:hover { transform: none; border-color: #4f7942; background: linear-gradient(135deg, #5c8251, #426d48); color: #fff; box-shadow: 0 9px 20px -12px rgb(44 78 47 / .72), inset 0 1px 0 rgb(255 255 255 / .22); }
.filter-btn.active::before { background: #e6cc91; box-shadow: 0 0 0 3px rgb(255 255 255 / .14); }
.filter-btn:focus-visible { outline: 3px solid rgb(112 151 96 / .5); outline-offset: 3px; }
@media (max-width: 768px) {
  .products-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; margin-bottom: 1.5rem; }
  .filter-btn { min-height: 44px; padding: .65rem .55rem; border-radius: 13px; font-size: .7rem; }
}
@media (max-width: 360px) {
  .products-filter { gap: .42rem; }
  .filter-btn { min-height: 42px; padding: .55rem .42rem; font-size: .65rem; }
}

/* Compact mobile product modal keeps the purchase controls reachable while scrolling. */
@media (max-width: 600px) {
  .product-modal { align-items: center; overflow: hidden; padding: .4rem; }
  .product-modal-content {
    width: 100%;
    max-height: calc(100dvh - .8rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .product-detail-image {
    height: clamp(135px, 27dvh, 205px);
    min-height: 135px;
    max-height: 205px;
    background: linear-gradient(145deg, #eff4eb, #fbf8f0);
  }
  .product-detail-image::before { display: none; }
  .product-detail-image:not(.fit-set-image) img { max-height: 195px; transform: scale(1.9); }
  .product-detail-info { padding: .85rem .9rem 0; }
  .product-detail-actions {
    position: sticky;
    z-index: 4;
    bottom: 0;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: .55rem;
    margin: .45rem -.9rem 0;
    padding: .65rem .9rem calc(.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgb(216 229 212 / .8);
    background: linear-gradient(180deg, rgb(246 250 243 / .92), #f3f7f0 35%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .product-detail-actions .quantity-selector { flex: 0 0 auto; }
  .product-detail-actions .btn { flex: 1 1 auto; min-width: 0; min-height: 46px; padding-inline: .75rem; white-space: nowrap; font-size: .82rem; }
}
@media (max-width: 360px) {
  .product-detail-actions { gap: .4rem; }
  .product-detail-actions .quantity-selector button { width: 34px; }
  .product-detail-actions .quantity-selector input { width: 27px; }
  .product-detail-actions .btn { padding-inline: .5rem; font-size: .73rem; }
}

/* No decorative ring behind the product: give the bottle more visual weight. */
.product-detail-image::before { display: none; }
.product-detail-image { background: linear-gradient(145deg, #eff4eb, #fbf8f0); }



/* ===== MOBILE NAV / CONSENT / MASCOT POLISH ===== */
body.menu-open { overflow: hidden; }
.nav-mobile-head,
.nav-mobile-footer { display: none; }

.form-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: .55rem .7rem;
  align-items: start;
  margin: .2rem 0 1rem;
  color: #405642;
  font-size: .78rem;
  line-height: 1.45;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}
.form-consent label { cursor: pointer; }
.form-consent a {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-consent input.input-error { outline: 2px solid #dc2626; outline-offset: 2px; }

.mascot { transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.mascot-speech { transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.mascot-close {
  position: absolute;
  top: -7px;
  right: -7px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  background: #35533b;
  color: #fff;
  box-shadow: 0 4px 12px rgba(27, 48, 31, .28);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.mascot-close:hover { transform: rotate(90deg); background: #2b4430; }
.mascot-close:focus-visible { outline: 3px solid #d8b976; outline-offset: 2px; }
.mascot.is-quiet .mascot-speech {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.96);
  pointer-events: none;
}
.mascot.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.menu-open .mascot {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 1220px) {
  .navbar .nav-links {
    z-index: 1200;
    background: linear-gradient(180deg, #f9fcf5 0%, #f1f7ec 100%);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    padding: 5.75rem 1.25rem 6.5rem;
    gap: 1.05rem;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .24s ease, transform .24s ease, visibility .24s;
  }
  .navbar .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .navbar .nav-links > a {
    padding: .42rem 1.1rem;
    border-radius: 999px;
    font-size: clamp(1.2rem, 4.2vw, 1.6rem);
    line-height: 1.25;
    color: #2f4934;
    transition: background .18s ease, color .18s ease, transform .18s ease;
  }
  .navbar .nav-links > a:hover,
  .navbar .nav-links > a:focus-visible {
    background: rgba(79, 121, 66, .12);
    color: var(--color-primary);
    transform: translateY(-1px);
  }
  .navbar .nav-links.active ~ .navbar-actions .menu-toggle {
    opacity: 0;
    pointer-events: none;
  }
  .nav-mobile-head {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: max(1rem, env(safe-area-inset-top)) 1.15rem 1rem;
  }
  .nav-mobile-logo { display: inline-flex; }
  .nav-mobile-logo img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 22px rgba(39, 67, 44, .14);
  }
  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(69, 96, 67, .2);
    border-radius: 50%;
    background: #fff;
    color: #35533b;
    box-shadow: 0 6px 18px rgba(39, 67, 44, .14);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
  }
  .nav-close:hover { transform: rotate(90deg); background: #eef5e9; }
  .nav-close:focus-visible { outline: 3px solid #6e9664; outline-offset: 3px; }
  .nav-mobile-footer {
    position: absolute;
    left: 50%;
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: .65rem;
    width: min(100%, 340px);
    padding: 0 1.25rem;
  }
  .nav-mobile-cta { width: 100%; min-height: 48px; }
  .nav-mobile-tg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 46px;
    padding: .6rem 1rem;
    border: 1.5px solid rgba(79, 121, 66, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .66);
    color: #345d3c;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: background .18s ease, transform .18s ease;
  }
  .nav-mobile-tg:hover { background: #fff; transform: translateY(-1px); }
  .nav-mobile-tg span { color: var(--color-primary); font-size: 1rem; }
}

@media (min-width: 1221px) {
  .nav-mobile-head,
  .nav-mobile-footer { display: none !important; }
}

@media (max-width: 480px) {
  .navbar .nav-links {
    padding-top: 5.25rem;
    padding-bottom: 7rem;
    gap: .78rem;
  }
  .navbar .nav-links > a { font-size: 1.16rem; }
  .mascot-close { width: 26px; height: 26px; top: -8px; right: -8px; }
}

@media (max-width: 1220px) and (max-height: 700px) {
  .navbar .nav-links { gap: .55rem; padding-top: 4.75rem; padding-bottom: 5.5rem; }
  .navbar .nav-links > a { font-size: 1.05rem; padding-block: .3rem; }
  .nav-mobile-footer { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .navbar .nav-links,
  .navbar .nav-links > a,
  .nav-mobile-tg,
  .mascot,
  .mascot-speech,
  .mascot-close { transition: none; }
}

/* Скрываем мобильный B2B-CTA, пока он отключён в настройках. */
.nav-mobile-cta.hidden { display: none !important; }



/* ===== COMPACT CART MODAL ===== */
.cart-modal-content {
  max-width: 520px;
  padding: 1.65rem 1.85rem 1.35rem;
}
.cart-modal-content > h2 {
  margin-bottom: .7rem;
  font-size: clamp(1.45rem, 3vw, 1.8rem);
}
.cart-discount-banner {
  padding: .55rem .8rem;
  font-size: .78rem;
  line-height: 1.35;
  margin-bottom: .35rem;
}
.cart-items-list {
  max-height: 30vh;
  margin: .7rem 0;
}
.cart-item {
  padding: .55rem 0;
  gap: .65rem;
}
.cart-item-img { width: 48px; height: 48px; }
.cart-item-title { font-size: .82rem; }
.cart-item-price { font-size: .78rem; }
.cart-form-row {
  gap: .65rem;
  margin-bottom: .55rem;
}
.cart-form-row .form-group { margin-bottom: 0; }
.cart-modal-content .form-group { margin-bottom: .55rem; }
.cart-modal-content .form-label {
  margin-bottom: .22rem;
  font-size: .73rem;
}
.cart-modal-content .form-group input,
.cart-modal-content .form-group select,
.cart-modal-content .form-group textarea {
  padding: .62rem .8rem;
  border-width: 1.5px;
  font-size: .86rem;
}
.cart-modal-content .form-consent {
  gap: .45rem .6rem;
  margin: .05rem 0 .65rem;
  font-size: .72rem;
}
.cart-modal-content .cart-total-row {
  margin-bottom: .65rem;
  font-size: 1.2rem;
}
.cart-modal-content .cart-footer .btn {
  min-height: 46px;
  padding: .65rem 1rem;
}
@media (max-width: 768px) {
  .cart-modal-content {
    max-width: 100%;
    padding: 1.15rem 1rem 1rem;
  }
  .cart-form-row { gap: 0; margin-bottom: 0; }
  .cart-form-row .form-group { margin-bottom: .45rem; }
  .cart-modal-content .form-group input,
  .cart-modal-content .form-group select,
  .cart-modal-content .form-group textarea { padding: .52rem .75rem; }
  .cart-modal-content .form-consent { margin-bottom: .5rem; }
}

/* ==========================================================================
   ПРАВКИ ОТ 03.12.2026 — по замечаниям А. Микаэляна
   Все правила ниже перекрывают более ранние, менять их не нужно.
   ========================================================================== */

/* --- 1. Карусель: счётчик слайдов, зона нажатия точек, свайп ------------- */
.hero-slider {
  /* вертикальный скролл страницы не должен перехватываться свайпом слайдера */
  touch-action: pan-y;
}

.slider-counter {
  margin-left: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(44, 62, 47, 0.55);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Кнопка-точка: видимая точка 10px, зона нажатия — весь квадрат 34×34. */
.hero-slider-controls .slider-dots {
  gap: 0;
}

.hero-slider-controls .slider-dot {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
}

.hero-slider-controls .slider-dot.active {
  flex-basis: 44px;
  width: 44px;
}

.hero-slider-controls .slider-dot::before {
  width: 8px;
  height: 8px;
}

.hero-slider-controls .slider-dot.active::before {
  width: 28px;
  height: 8px;
}

@media (max-width: 480px) {
  .hero-slider-controls {
    gap: 0.6rem;
  }
  .hero-slider-controls .slider-dot {
    flex: 0 0 26px;
    width: 26px;
    height: 30px;
  }
  .hero-slider-controls .slider-dot.active {
    flex-basis: 34px;
    width: 34px;
  }
  .hero-slider-controls .slider-dot.active::before {
    width: 22px;
  }
  .slider-counter {
    display: none;
  }
}

/* --- 2. Две галочки согласия (152-ФЗ: ст. 9 и ст. 18.1) ------------------ */
.form-consents {
  display: grid;
  gap: 0.45rem;
  margin: 0.35rem 0 1rem;
}

.form-consents .form-consent {
  margin: 0;
  font-size: 0.79rem;
  line-height: 1.45;
}

.form-consents .form-consent a {
  font-weight: 700;
}

@media (pointer: coarse) {
  .form-consent {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 0.55rem 0.7rem;
  }
  .form-consent input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }
}

/* --- 3. Мобильные формы: Safari не должен зумить страницу на фокусе ------
   Причина зума — размер шрифта в поле меньше 16px. */
@media (max-width: 640px) {
  .form-group input,
  .form-group select,
  .form-group textarea,
  .locations-search-box input,
  .review-modal-content .form-group input,
  .review-modal-content .form-group textarea {
    font-size: 16px;
  }

  /* модалки не должны уезжать под нижнюю панель iPhone */
  .modal-content {
    max-height: 92vh;
    max-height: 92dvh;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
  }
}

/* --- 4. Страница истории бренда (istoriya.html) -------------------------- */
.story-page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  padding: 1.1rem 0 0;
  font-size: 0.8rem;
  color: rgba(44, 62, 47, 0.62);
}

.story-page-breadcrumbs a {
  color: rgba(44, 62, 47, 0.72);
  text-decoration: none;
}

.story-page-breadcrumbs a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.story-page-hero {
  padding: 2.25rem 0 1rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(156, 175, 136, 0.3), transparent 46%),
    linear-gradient(140deg, var(--color-moss) 0%, var(--color-cream) 100%);
}

.story-page-hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.7rem);
  line-height: 1.06;
  margin: 0.9rem 0 1rem;
  color: var(--color-dark);
}

.story-page-hero .story-page-lead {
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(44, 62, 47, 0.85);
}

.story-page-hero .recipe-meta-pill {
  background: rgba(255, 255, 255, 0.82);
}

.story-page-section {
  padding: 3rem 0 4.5rem;
}

.story-page-next {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 3rem;
}

.story-page-next a {
  display: block;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--color-white);
  border: 1px solid rgba(79, 121, 66, 0.16);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 800;
  transition: var(--transition);
}

.story-page-next a span {
  display: block;
  margin-top: 0.35rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(44, 62, 47, 0.7);
}

.story-page-next a:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

/* --- 5. Страницы документов (privacy.html, consent.html) ----------------- */
.legal-page {
  padding: 2rem 0 4rem;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.12;
  margin: 0.9rem 0 0.75rem;
  color: var(--color-dark);
}

.legal-page .legal-updated {
  font-size: 0.85rem;
  color: rgba(44, 62, 47, 0.6);
  margin-bottom: 2rem;
}

.legal-page .legal-body {
  max-width: 880px;
  background: var(--color-white);
  border: 1px solid rgba(79, 121, 66, 0.14);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3vw, 2.75rem);
  box-shadow: var(--shadow-md);
}

.legal-page .legal-body h2 {
  font-size: 1.16rem;
  margin: 1.9rem 0 0.7rem;
  color: var(--color-dark);
}

.legal-page .legal-body h2:first-child {
  margin-top: 0;
}

.legal-page .legal-body p,
.legal-page .legal-body li {
  font-size: 0.95rem;
  line-height: 1.72;
  color: rgba(44, 62, 47, 0.86);
}

.legal-page .legal-body ul {
  margin: 0.5rem 0 0.9rem 1.1rem;
}

.legal-page .legal-body ol {
  margin: 0.5rem 0 0.9rem 1.3rem;
}

.legal-page .legal-body li + li {
  margin-top: 0.35rem;
}

.legal-page .legal-note {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(79, 121, 66, 0.08);
  font-size: 0.88rem;
}

/* ==========================================================================
   ПРАВКИ ОТ 03.12.2026 — круг 2
   ========================================================================== */

/* --- 1. Корзина на десктопе = как в мобильной версии ---------------------
   Раньше действовал блок «COMPACT CART MODAL»: узкое окно, мелкие поля
   в две колонки. Теперь окно шире, поля в одну колонку и крупнее — тот же
   вид, что на телефоне. */
.cart-modal-content {
  max-width: 560px;
  width: 100%;
  padding: 2rem 1.9rem 1.6rem;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
}

.cart-modal-content > h2 {
  font-size: clamp(1.6rem, 3.2vw, 2rem);
  margin-bottom: 1rem;
}

.cart-discount-banner {
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.cart-items-list {
  max-height: 34vh;
  margin: 1rem 0;
}

.cart-item {
  padding: 0.8rem 0;
  gap: 0.85rem;
}

.cart-item-img {
  width: 56px;
  height: 56px;
}

.cart-item-title {
  font-size: 0.92rem;
}

.cart-item-price {
  font-size: 0.85rem;
}

#cartForm > h3 {
  font-size: 1.05rem;
  margin-bottom: 0.85rem;
}

/* поля — в одну колонку, на всю ширину окна */
.cart-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 0;
}

.cart-modal-content .form-group,
.cart-form-row .form-group {
  margin-bottom: 0.9rem;
}

.cart-modal-content .form-label {
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
}

.cart-modal-content .form-group input,
.cart-modal-content .form-group select,
.cart-modal-content .form-group textarea {
  padding: 0.85rem 1rem;
  border-width: 2px;
  border-radius: 14px;
  font-size: 1rem;
}

.cart-modal-content .form-consents {
  margin: 0.35rem 0 1.1rem;
  gap: 0.6rem;
}

.cart-modal-content .form-consent {
  font-size: 0.82rem;
  line-height: 1.5;
}

.cart-modal-content .cart-discount-row {
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
}

.cart-modal-content .cart-total-row {
  font-size: 1.45rem;
  margin-bottom: 0.9rem;
}

.cart-modal-content .cart-footer .btn {
  min-height: 54px;
  font-size: 1rem;
  border-radius: 999px;
}

/* --- 2. Модалка документов (Политика / Согласие) ------------------------- */
body.modal-open {
  overflow: hidden;
}

.legal-modal {
  z-index: 10050; /* выше корзины: документ открывается поверх формы */
}

.legal-modal-content {
  width: min(100%, 820px);
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  padding: 2rem 2.1rem 1.6rem;
  border-radius: var(--radius-xl);
}

.legal-modal-content h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 0.35rem;
  color: var(--color-dark);
}

.legal-modal-updated {
  font-size: 0.82rem;
  color: rgba(44, 62, 47, 0.6);
  margin-bottom: 1.5rem;
}

.legal-modal-body {
  font-size: 0.92rem;
  line-height: 1.68;
  color: rgba(44, 62, 47, 0.88);
}

.legal-modal-body h2 {
  font-size: 1.08rem;
  margin: 1.6rem 0 0.55rem;
}

.legal-modal-body h2:first-child {
  margin-top: 0;
}

.legal-modal-body ul,
.legal-modal-body ol {
  margin: 0.4rem 0 0.8rem 1.15rem;
}

.legal-modal-body li + li {
  margin-top: 0.3rem;
}

.legal-modal-body .legal-note {
  margin-top: 1.6rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-lg);
  background: rgba(79, 121, 66, 0.08);
  font-size: 0.85rem;
}

.legal-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(79, 121, 66, 0.16);
}

.legal-modal-footer a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-modal-footer .btn {
  min-height: 46px;
  padding-inline: 1.6rem;
}

@media (max-width: 640px) {
  .cart-modal-content {
    padding: 1.4rem 1.1rem 1.2rem;
    max-height: 94dvh;
  }
  .legal-modal-content {
    padding: 1.5rem 1.2rem 1.2rem;
    max-height: 92dvh;
  }
  .legal-modal-footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .legal-modal-footer .btn {
    width: 100%;
  }
}

/* ==========================================================================
   ПРАВКИ ОТ 03.12.2026 — круг 3
   ========================================================================== */

/* --- 1. Корзина: компактные размеры, без внутреннего скролла -------------
   Окно осталось в одну колонку (как на телефоне), но шрифты и отступы
   уменьшены, чтобы форма помещалась целиком. */
.cart-modal-content {
  max-width: 540px;
  padding: 1.25rem 1.5rem 1rem;
  max-height: 92vh;
  max-height: 92dvh;
}

.cart-modal-content > h2 {
  font-size: 1.32rem;
  margin-bottom: 0.55rem;
}

.cart-discount-banner {
  padding: 0.45rem 0.7rem;
  font-size: 0.72rem;
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.cart-items-list {
  max-height: 20vh;
  margin: 0.45rem 0;
}

.cart-item {
  padding: 0.35rem 0;
  gap: 0.6rem;
}

.cart-item-img {
  width: 38px;
  height: 38px;
}

.cart-item-title {
  font-size: 0.84rem;
}

.cart-item-price {
  font-size: 0.78rem;
}

#cartForm {
  padding-top: 0.55rem !important;
}

#cartForm > h3 {
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}

.cart-modal-content .form-group,
.cart-form-row .form-group {
  margin-bottom: 0.55rem !important;
}

.cart-modal-content .form-label {
  margin-bottom: 0.14rem;
  font-size: 0.7rem;
}

.cart-modal-content .form-group input,
.cart-modal-content .form-group select,
.cart-modal-content .form-group textarea {
  padding: 0.48rem 0.7rem;
  border-width: 1.5px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.35;
}

.cart-modal-content .form-group textarea {
  min-height: 46px;
}

.cart-modal-content .form-consents {
  margin: 0.15rem 0 0.75rem;
  gap: 0.3rem;
}

.cart-modal-content .form-consent {
  font-size: 0.68rem;
  line-height: 1.28;
}

.cart-modal-content .form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.cart-modal-content .form-consents .form-consent {
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 0.35rem 0.5rem;
}

.cart-modal-content .cart-discount-row {
  font-size: 0.84rem;
  margin-bottom: 0.4rem;
}

.cart-modal-content .cart-total-row {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.cart-modal-content .cart-footer .btn {
  min-height: 44px;
  font-size: 0.9rem;
  border-radius: 999px;
}

/* --- 2. Модалка документов: только кнопка «Понятно» ---------------------- */
.legal-modal-footer {
  justify-content: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.1rem;
}

@media (max-width: 640px) {
  .cart-modal-content {
    padding: 1.15rem 1rem 0.9rem;
    max-height: 94dvh;
  }
  .cart-modal-content > h2 {
    font-size: 1.3rem;
  }
  .cart-items-list {
    max-height: 26vh;
  }
  .legal-modal-footer {
    justify-content: stretch;
  }
}

/* ===== БЛОК «НАШ ПОДХОД К КАЧЕСТВУ» — 6 карточек с полными текстами (правка 03.12.2026) ===== */
.features-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  max-width: none;
}
/* старая раскладка на 5 карточек с принудительным 4-м и 5-м элементом больше не нужна */
.features-list > .feature-item,
.features-list > .feature-item:nth-child(4),
.features-list > .feature-item:nth-child(5) {
  grid-column: auto;
  height: 100%;
  padding: 1.1rem 1.15rem;
}
.feature-copy {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
/* запрет переноса внутри слова: в макете заголовки рвались как «Цельнолист-овой» */
.feature-copy h4,
.feature-copy p {
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}
.feature-copy h4 {
  font-size: 1.02rem;
  line-height: 1.28;
  letter-spacing: -.01em;
}
.feature-copy p {
  font-size: .82rem;
  line-height: 1.55;
}
@media (max-width: 1100px) {
  .features-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .features-list { grid-template-columns: minmax(0, 1fr); }
  .features-list > .feature-item,
  .features-list > .feature-item:nth-child(4),
  .features-list > .feature-item:nth-child(5) { padding: .9rem; }
  .feature-copy h4 { font-size: .99rem; }
  .feature-copy p { font-size: .85rem; }
}
