/* ═══════════════════════════════════════════
   colors.css — Новая цветовая схема
   Белый фон + Оранжевый акцент
   Подключить в index.html ПОСЛЕ style.css
   ═══════════════════════════════════════════ */

:root {
  /* Фон — белый вместо кремового */
  --bg:         #ffffff;
  --card-bg:    #ffffff;

  /* Оранжевый как главный акцент */
  --copper:       #D76018;
  --copper-light: #F07030;

  /* Текст — оставляем тёмный для читаемости */
  --brown:      #2C1810;
  --text:       #2C1810;
  --text-light: #7a6055;

  /* Тени немного светлее под белый фон */
  --shadow:       0 2px 16px rgba(215, 96, 24, 0.08);
  --shadow-hover: 0 8px 28px rgba(215, 96, 24, 0.16);
}

/* ─── Хедер — белый с оранжевой нижней линией ─── */
.header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid rgba(215, 96, 24, 0.12) !important;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 2px 20px rgba(215, 96, 24, 0.08) !important;
}

/* ─── Табы категорий — белый фон ─── */
.category-tabs-sticky {
  background: #ffffff !important;
}

/* ─── Карточки — белые с оранжевой тенью при hover ─── */
.product-card {
  background: #ffffff !important;
  border: 1px solid rgba(215, 96, 24, 0.08);
}
.product-card:hover {
  box-shadow: 0 8px 28px rgba(215, 96, 24, 0.14) !important;
}

/* ─── Кнопка добавления в корзину — оранжевая ─── */
.add-btn {
  background: var(--copper) !important;
}
.add-btn:hover { background: #B85010 !important; }

/* ─── Кнопка корзины в хедере — оранжевая ─── */
.cart-btn-header {
  background: var(--copper) !important;
}
.cart-btn-header:hover { background: #B85010 !important; }

/* ─── Активный таб — оранжевый ─── */
.tab-btn.active {
  background: var(--copper) !important;
  border-color: var(--copper) !important;
  color: #ffffff !important;
}
.tab-btn:hover {
  border-color: var(--copper) !important;
  color: var(--copper) !important;
}

/* ─── WhatsApp кнопка — оранжевая ─── */
.whatsapp-btn {
  background: var(--copper) !important;
}
.whatsapp-btn:hover { background: #B85010 !important; }

/* ─── Пустой экран поиска ─── */
.search-input:focus {
  border-color: var(--copper) !important;
  box-shadow: 0 0 0 3px rgba(215, 96, 24, 0.12) !important;
}

/* ─── Lang-пикер — оранжевая рамка при hover ─── */
.lang-btn:hover, .lang-btn.active {
  border-color: var(--copper) !important;
}

/* ─── Секция title underline — оранжевая ─── */
.section-title::after {
  background: var(--copper) !important;
}

/* ─── Контакт иконки — оранжевые ─── */
.contact-icon {
  background: var(--copper) !important;
}

/* ─── Социальные кнопки hover — оранжевые ─── */
.social-link:hover {
  background: var(--copper) !important;
  border-color: var(--copper) !important;
  color: #ffffff !important;
}

/* ─── Мобильный nav — белый ─── */
.mobile-nav {
  background: #ffffff !important;
}

/* ─── Корзина — белый фон ─── */
.cart-panel { background: #ffffff !important; }

/* ─── Qty кнопки hover — оранжевые ─── */
.qty-btn:hover {
  background: var(--copper) !important;
  border-color: var(--copper) !important;
  color: #ffffff !important;
}

/* ─── Footer — оранжевый вместо тёмно-коричневого ─── */
.footer {
  background: var(--copper) !important;
}

/* ─── Слайдер: активная точка — оранжевая ─── */
.slider-dot.active { background: #ffffff; }

/* ─── Страница с выбором языка — уже белая ─── */
#lang-screen { background: #ffffff !important; }
#lang-city { color: var(--copper) !important; }
.lang-pick-btn:hover, .lang-pick-btn:active {
  border-color: var(--copper) !important;
  box-shadow: 0 8px 24px rgba(215,96,24,.2) !important;
}

/* ─── Интро фон ─── */
#intro-bg-orange { background: var(--copper) !important; }

/* ─── Фон body и html ─── */
body { background: #ffffff !important; }
/* Во время интро тело не должно перекрывать оранжевый */
body.intro-active { background: #D76018 !important; }

/* ─── Хедер лого — увеличить на 100% ─── */
.logo img {
  height: 74px !important;
  width: auto !important;
}
.logo {
  font-size: 1.73rem !important;
  gap: 16px !important;
}

/* ─── Навигация ─── */
.nav-links a {
  font-size: 1.14rem !important;
  font-weight: 600;
}

/* ─── Мобиль: лого и текст ─── */
@media (max-width: 768px) {
  .logo img { height: 72px !important; }
  .logo { font-size: 1.5rem !important; gap: 10px !important; }
  :root { --header-h: 90px !important; }
  .header { height: 90px !important; }
  .slider-btn {
    display: none !important;
  }
}

@media (max-width: 380px) {
  .logo img { height: 60px !important; }
  .logo { font-size: 1.44rem !important; }
  :root { --header-h: 80px !important; }
  .header { height: 80px !important; }
}
.header-right {
    gap: 14px !important;
  }
  .cart-btn-header {
    margin-left: 4px !important;
  }

/* ─── КРАСИВЫЕ ШРИФТЫ для первых блоков ─── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Cormorant+Garamond:wght@400;600;700&family=Montserrat:wght@400;600;700&display=swap');

/* Хедер — лого текст */
.logo span {
  font-family: 'PF Centro Slab Pro', Georgia, serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1.1 !important;
}
/* Навигация */
.nav-links a {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}
/* Слайдер заголовок */
.slide-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 800 !important;
  font-style: italic !important;
}
.slide-desc {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 1.15rem !important;
  font-weight: 400 !important;
}
/* Секция Меню — заголовок */
.section-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 800 !important;
  font-style: italic !important;
}
/* Табы категорий */
.tab-btn {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  font-size: 0.78rem !important;
}
/* Названия товаров */
.product-name {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
}
/* Мобильное меню */
.mobile-nav a {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 700 !important;
}

/* ════════════════════════════════════════
   HERO BRAND БЛОК
════════════════════════════════════════ */
#hero-brand {
  width: 100%;
  position: relative;
  margin-top: var(--header-h, 72px);
}
#hero-brand-bg {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-image: url('cup.jpg');
  background-size: cover;
  background-position: center 30%;
  display: flex;
  align-items: flex-end;
}

@media (max-width: 768px) {
  #hero-brand-bg {
    height: calc(100vh - var(--header-h, 58px));
    min-height: 500px;
  }
}
@media (min-width: 769px) {
  #hero-brand-bg { height: 420px; }
  #hero-brand-content { padding: 20px 40px 28px; }
  #hero-brand-title { font-size: 1.8rem !important; }
  #hero-brand-tagline { font-size: 0.72rem; }
}

#hero-brand-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.0) 30%, rgba(10,10,10,0.55) 70%, rgba(10,10,10,0.80) 100%);
  z-index: 1;
}
#hero-brand-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
@media (max-width: 768px) {
  #hero-brand-content { padding: 24px 20px 32px; }
}
#hero-brand-tagline {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}
#hero-brand-title {
  font-family: 'Geometria', 'Open Sans', sans-serif !important;
  font-weight: 800;
  font-style: normal !important;
  font-size: clamp(3rem, 10vw, 3.6rem);
  color: #ffffff;
  line-height: 1.12;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════
   ПАТЧ: гибкий формат фото + граммаж + ингредиенты
   ═══════════════════════════════════════════════════════ */
.product-img-wrap {
  overflow: hidden;
  position: relative;
}
.product-img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: unset !important;
  object-fit: unset !important;
  display: block;
}
.product-img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: #f5f0ea;
  color: #C8956C;
}
@media (max-width: 768px) {
  .product-img { aspect-ratio: unset !important; }
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 5px;
}
.card-meta-chip {
  font-size: 0.70rem;
  font-weight: 600;
  padding: 2px 8px;
  background: rgba(215, 96, 24, 0.08);
  color: #D76018;
  border-radius: 20px;
  white-space: nowrap;
}
.card-ingredients { margin-top: 4px; margin-bottom: 8px; }
.card-ingredients summary {
  font-size: 0.74rem; font-weight: 700; color: #D76018;
  cursor: pointer; user-select: none; list-style: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.card-ingredients summary::before { content: '▸'; transition: transform 0.2s; display: inline-block; }
.card-ingredients[open] summary::before { transform: rotate(90deg); }
.card-ingredients summary::-webkit-details-marker { display: none; }
.card-ingredients p {
  font-size: 0.75rem; color: #7a6055; line-height: 1.55;
  margin-top: 6px; padding: 8px 10px; background: #faf7f4;
  border-radius: 8px; border-left: 3px solid #D76018;
}
.product-card { display: flex; flex-direction: column; }
.product-info { flex: 1; display: flex; flex-direction: column; }
.product-bottom { margin-top: auto; }

/* ═══════════════════════════════════════════
   FLIP CARDS + MASONRY LAYOUT
   ═══════════════════════════════════════════ */
.products-grid {
  display: block !important;
  columns: 2 !important;
  column-gap: 14px !important;
  padding-top: 20px;
}
.product-card {
  break-inside: avoid !important;
  display: inline-block !important;
  width: 100% !important;
  margin-bottom: 14px !important;
  position: relative;
  cursor: pointer;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  transform: none !important;
}
.product-card:hover { transform: none !important; box-shadow: none !important; }
.card-inner {
  position: relative;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  perspective: 1000px;
}
.product-card.flipped .card-inner { transform: rotateY(180deg); }
.card-front {
  width: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 14px rgba(215,96,24,0.09);
  border: 1px solid rgba(215,96,24,0.07);
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.product-card:not(.flipped):hover .card-front { box-shadow: 0 8px 28px rgba(215,96,24,0.18); }
.card-front .product-img-wrap {
  width: 100%; overflow: hidden; border-radius: 16px 16px 0 0; position: relative;
}
.card-front .product-img {
  width: 100% !important; height: auto !important; display: block;
  aspect-ratio: unset !important; object-fit: unset !important;
  transition: transform 0.45s ease;
}
.product-card:not(.flipped):hover .card-front .product-img { transform: scale(1.04); }
.card-front .product-img-placeholder {
  width: 100%; aspect-ratio: 4/3; display: flex;
  align-items: center; justify-content: center;
  font-size: 2rem; background: #f5f0ea; color: #C8956C;
}
.card-front .product-info { padding: 10px 13px 13px; display: flex; flex-direction: column; }
.card-front .product-name {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 1rem; font-weight: 700; color: #3F2021; margin-bottom: 4px; line-height: 1.3;
}
.card-front .product-desc {
  font-size: 0.75rem; color: #7a6055; line-height: 1.45; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-front .product-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 2px; }
.card-front .product-price { font-size: 1rem; font-weight: 700; color: #3F2021; }
.card-front .product-price span { font-size: 0.72rem; font-weight: 400; color: #7a6055; }
.card-flip-hint {
  position: absolute; top: 8px; right: 8px;
  background: rgba(63,32,33,0.72); color: rgba(255,255,255,0.9);
  font-size: 0.6rem; font-weight: 700; padding: 3px 8px; border-radius: 20px;
  letter-spacing: 0.05em; pointer-events: none; z-index: 2; backdrop-filter: blur(4px);
}
.card-back {
  position: absolute; inset: 0;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: rotateY(180deg); border-radius: 16px;
  background: linear-gradient(150deg, #3F2021 0%, #5c2f1a 100%);
  display: flex; flex-direction: column; padding: 18px 16px 16px; overflow: hidden;
}
.card-back-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.98rem; font-weight: 700; color: #fff;
  margin-bottom: 12px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.15); line-height: 1.3;
}
.card-back-rows { flex: 1; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.card-back-row { display: flex; flex-direction: column; gap: 2px; }
.card-back-row-label {
  font-size: 0.62rem; font-weight: 700; color: rgba(215,96,24,0.85);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.card-back-row-value { font-size: 0.80rem; color: rgba(255,255,255,0.88); line-height: 1.45; }
.card-back-empty { font-size: 0.78rem; color: rgba(255,255,255,0.35); font-style: italic; text-align: center; margin-top: 20px; }
.card-back-price {
  margin-top: 12px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: space-between;
}
.card-back-price-val { font-size: 1.08rem; font-weight: 700; color: #D76018; }
.card-back-close { font-size: 0.7rem; color: rgba(255,255,255,0.45); }
.product-card.out-of-stock .card-front { opacity: 0.72; }
.oos-overlay { border-radius: 16px 16px 0 0; }

@media (max-width: 768px) {
  .products-grid { columns: 2 !important; column-gap: 10px !important; padding-top: 14px; }
  .product-card { margin-bottom: 10px !important; }
  .card-front .product-info { padding: 8px 10px 11px; }
  .card-front .product-name { font-size: 0.85rem; }
  .card-front .product-desc { font-size: 0.7rem; -webkit-line-clamp: 2; }
  .card-front .product-price { font-size: 0.88rem; }
  .add-btn { width: 30px !important; height: 30px !important; font-size: 1rem !important; }
  .card-back { padding: 14px 12px 13px; }
  .card-back-title { font-size: 0.85rem; margin-bottom: 9px; }
  .card-back-row-value { font-size: 0.73rem; }
  .card-flip-hint { font-size: 0.55rem; top: 6px; right: 6px; }
}
@media (max-width: 380px) {
  .products-grid { columns: 2 !important; column-gap: 8px !important; }
  .card-front .product-name { font-size: 0.78rem; }
  .card-front .product-price { font-size: 0.82rem; }
}

.product-card {
  opacity: 0;
  transform: translateY(20px) !important;
  transition: opacity 0.5s ease, transform 0.5s ease !important;
  transition-delay: calc(var(--i, 0) * 0.07s) !important;
}
.product-card.visible { opacity: 1 !important; transform: translateY(0) !important; }
.product-card.flipped { transform: none !important; }

/* ── СЕЗОННОЕ МЕНЮ ── */
.tab-btn.seasonal-tab {
  background: linear-gradient(135deg, #046A38, #057a42) !important;
  color: #fff !important; border-color: #046A38 !important; font-weight: 700 !important;
}
.tab-btn.seasonal-tab.active {
  background: linear-gradient(135deg, #034d28, #046A38) !important;
  box-shadow: 0 4px 14px rgba(4,106,56,0.35);
}
.seasonal-badge {
  position: absolute; top: 8px; left: 8px;
  background: linear-gradient(135deg, #046A38, #068a4a);
  color: #fff; font-size: 0.62rem; font-weight: 700; padding: 3px 10px;
  border-radius: 20px; letter-spacing: 0.04em; z-index: 3; pointer-events: none;
  box-shadow: 0 2px 8px rgba(4,106,56,0.4);
}
.card-front .product-img-wrap { position: relative; }

/* ═══════════════════════════════════════
   СЕЗОННЫЙ БЛОК
   ═══════════════════════════════════════ */
#seasonal-block {
  background: linear-gradient(135deg, #fdf6ec 0%, #f0faf4 100%);
  border-top: 3px solid #046A38;
  border-bottom: 1px solid rgba(4,106,56,0.12);
  padding: 28px 0 24px;
}
.seasonal-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.seasonal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.seasonal-title-wrap { display: flex; align-items: center; gap: 10px; }
.seasonal-leaf { font-size: 1.5rem; }
.seasonal-title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; font-style: italic; color: #046A38; margin: 0;
}
.seasonal-scroll-hint { font-size: 0.75rem; color: #046A38; font-weight: 700; opacity: 0.5; letter-spacing: 0.1em; }
.seasonal-scroll-wrap {
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  margin: 0 -20px; padding: 4px 20px 12px;
}
.seasonal-scroll-wrap::-webkit-scrollbar { display: none; }
.seasonal-cards { display: flex; gap: 14px; width: max-content; }
.seasonal-card {
  width: 180px; flex-shrink: 0; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 3px 16px rgba(4,106,56,0.10); cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1.5px solid rgba(4,106,56,0.08);
}
.seasonal-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(4,106,56,0.18); }
.seasonal-card-img-wrap { position: relative; overflow: hidden; }
.seasonal-card-img-wrap img { width: 100%; height: auto; display: block; transition: transform 0.4s ease; }
.seasonal-card:hover .seasonal-card-img-wrap img { transform: scale(1.05); }
.seasonal-card-no-img { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 2rem; background: #f0faf4; }
.seasonal-card-oos { position: absolute; inset: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 700; color: #fff; }
.seasonal-card-info { padding: 10px 12px 12px; }
.seasonal-card-name { font-family: 'Cormorant Garamond', Georgia, serif !important; font-size: 0.92rem; font-weight: 700; color: #3F2021; line-height: 1.3; margin-bottom: 3px; }
.seasonal-card-desc { font-size: 0.68rem; color: #7a6055; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 7px; }
.seasonal-card-price { font-size: 0.92rem; font-weight: 700; color: #046A38; }
.seasonal-card-price span { font-size: 0.7rem; font-weight: 400; color: #7a6055; }
.product-card.highlight-card .card-front { animation: highlightPulse 2s ease; }
@keyframes highlightPulse {
  0%   { box-shadow: 0 0 0 0 rgba(4,106,56,0.5); }
  30%  { box-shadow: 0 0 0 8px rgba(4,106,56,0.25); }
  100% { box-shadow: 0 2px 14px rgba(215,96,24,0.09); }
}
@media (max-width: 768px) {
  #seasonal-block { padding: 20px 0 16px; }
  .seasonal-inner { padding: 0 14px; }
  .seasonal-card { width: 148px; }
  .seasonal-card-name { font-size: 0.82rem; }
  .seasonal-scroll-hint { display: none; }
}

/* ════════════════════════════════════════
   ПАТЧ 1: Flash
════════════════════════════════════════ */
body { visibility: hidden; }
body.intro-active,
body.lang-active,
body.site-enter { visibility: visible; }

/* ════════════════════════════════════════
   ПАТЧ 2: Слайдер — 100% ширина на мобиле
════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero {
    margin-top: var(--header-h) !important;
    margin-left: 0 !important; margin-right: 0 !important;
    width: 100% !important; /* Исправлено с 100vw */
    overflow: hidden;
  }
  .slider {
    width: 100% !important; /* Исправлено с 100vw */
    aspect-ratio: auto !important;
    height: calc(100vh - var(--header-h)) !important;
    touch-action: pan-y !important; /* Запрещаем Safari тянуть страницу вбок при свайпе */
  }
  .slide img {
    width: 100% !important; height: 100% !important;
    object-fit: cover !important; background: #ffffff;
  }
}

/* ════════════════════════════════════════
   ПАТЧ 3: Мобильный флип
════════════════════════════════════════ */
@media (max-width: 768px) {
  .product-card { perspective: none !important; }
  .card-inner { transform-style: flat !important; transition: none !important; position: relative !important; min-height: 0 !important; }
  .product-card.flipped .card-inner { transform: none !important; }
  .card-front { position: relative !important; backface-visibility: visible !important; -webkit-backface-visibility: visible !important; transform: none !important; transition: opacity 0.28s ease !important; opacity: 1; pointer-events: auto; }
  .card-back { position: absolute !important; inset: 0 !important; transform: none !important; backface-visibility: visible !important; -webkit-backface-visibility: visible !important; opacity: 0 !important; pointer-events: none !important; transition: opacity 0.28s ease !important; min-height: 100% !important; }
  .product-card.flipped .card-front { opacity: 0 !important; pointer-events: none !important; }
  .product-card.flipped .card-back { opacity: 1 !important; pointer-events: auto !important; }
  .slide-title { font-size: 2rem !important; line-height: 1.2 !important; }
  .slide-desc { font-size: 1.3rem !important; }
}

/* Меню — текст на 20% крупнее */
.section-title { font-size: clamp(2.16rem, 4.8vw, 3.12rem) !important; }
.tab-btn { font-size: 0.94rem !important; }
.card-front .product-name { font-size: 1.2rem !important; }
.card-front .product-desc { font-size: 0.9rem !important; }
.card-front .product-price { font-size: 1.2rem !important; }
.card-front .product-price span { font-size: 0.86rem !important; }
@media (max-width: 768px) {
  .tab-btn { font-size: 0.84rem !important; }
  .card-front .product-name { font-size: 1.02rem !important; }
  .card-front .product-desc { font-size: 0.84rem !important; }
  .card-front .product-price { font-size: 1.06rem !important; }
}

/* ── Кнопки слайдера ── */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px 0;
}
.slider-btn:hover {
  background: rgba(215, 96, 24, 0.75);
  border-color: rgba(215, 96, 24, 0.9);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 4px 20px rgba(215, 96, 24, 0.4);
}
.slider-btn:active { transform: translateY(-50%) scale(0.95); }
.slider-btn-prev { left: 16px; }
.slider-btn-next { right: 16px; }

/* ── Фото "О нас" ── */
.about-img {
  width: 100% !important;
  max-width: 100% !important;
  height: 420px !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin-left: 0 !important;
  border-radius: 16px !important;
  display: block !important;
}
.about-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 24px !important;
  text-align: center !important;
}

/* ═══════════════════════════════════════════
   ГАЛЕРЕЯ АТМОСФЕРА — ЧИСТЫЙ КОД
   ═══════════════════════════════════════════ */
/* ── ДЕСКТОПНАЯ ВЕРСИЯ (Спрятана от мобилок) ── */
@media (min-width: 769px) {
  #atmosphere .gallery {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 230px !important;
    gap: 12px !important;
    overflow: visible !important;
  }

  #atmosphere .gallery img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 14px !important;
    display: block !important;
    transition: transform 0.45s ease, box-shadow 0.3s ease !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1) !important;
  }

  #atmosphere .gallery img:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.18) !important;
  }

  /* Ряд 1 */
  #atmosphere .gallery img:nth-child(1) { grid-column: span 2 !important; }
  #atmosphere .gallery img:nth-child(2) { grid-column: span 1 !important; }
  /* Ряд 2 */
  #atmosphere .gallery img:nth-child(3) { grid-column: span 1 !important; }
  #atmosphere .gallery img:nth-child(4) { grid-column: span 2 !important; }
  /* Ряд 3 */
  #atmosphere .gallery img:nth-child(5) { grid-column: span 1 !important; }
  #atmosphere .gallery img:nth-child(6) { grid-column: span 1 !important; }
  #atmosphere .gallery img:nth-child(7) { grid-column: span 1 !important; }
  /* Ряд 4 */
  /* Ряд 4 (делим на две фотки) */
  #atmosphere .gallery img:nth-child(8) { 
    grid-column: span 2 !important; 
    height: 280px !important; 
  }
  #atmosphere .gallery img:nth-child(9) { 
    grid-column: span 1 !important; 
    height: 280px !important; 
  }
}

/* ── МОБИЛЬНАЯ ВЕРСИЯ (Твой оригинальный код без изменений) ── */
@media (max-width: 768px) {
  #atmosphere .gallery {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: unset !important;
    gap: 8px !important;
  }

  /* Все фото — сброс, одинаковые ячейки */
  #atmosphere .gallery img:nth-child(1),
  #atmosphere .gallery img:nth-child(2),
  #atmosphere .gallery img:nth-child(3),
  #atmosphere .gallery img:nth-child(4),
  #atmosphere .gallery img:nth-child(5),
  #atmosphere .gallery img:nth-child(6),
  #atmosphere .gallery img:nth-child(7),
  #atmosphere .gallery img:nth-child(8),
  #atmosphere .gallery img:nth-child(9) {
    grid-column: span 1 !important;
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    display: block !important;
  }

  /* Широкие фото — на всю строку */
  #atmosphere .gallery img:nth-child(1) {
    grid-column: span 2 !important;
    height: 200px !important;
  }
  #atmosphere .gallery img:nth-child(4) {
    grid-column: span 2 !important;
    height: 180px !important;
  }
  #atmosphere .gallery img:nth-child(9) {
    grid-column: span 2 !important;
    height: 180px !important;
  }
}

/* ════════ ФИКС ГЛАВНОГО ФОТО ДЛЯ МОБИЛОК ════════ */
@media (max-width: 768px) {
  .hero {
    margin-top: var(--header-h) !important;
    height: calc(100dvh - var(--header-h)) !important;
  }
  .slider {
    height: 100% !important;
    width: 100% !important; /* Исправлено с 100vw */
    aspect-ratio: auto !important;
    touch-action: pan-y !important; /* Запрещаем Safari тянуть страницу вбок при свайпе */
  }
  .slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}

/* ═══ ОКОНЧАТЕЛЬНЫЙ ФИКС СЛАЙДЕРА ДЛЯ МОБИЛОК ═══ */
@media (max-width: 768px) {
  .hero, .slider {
    height: 80svh !important; 
    min-height: 400px !important;
    background: #ffffff !important; /* Белый фон для самого блока слайдера */
  }
  .slide img {
    object-fit: contain !important; 
    background: #ffffff !important; /* Белый фон по краям картинки */
  }
}