/* Большой шашлык - ЯРКИЙ ПРОДАЮЩИЙ ДИЗАЙН */
:root {
  /* ЯРКИЕ ОРАНЖЕВЫЕ ЦВЕТА */
  --primary: #FF4500;        /* Яркий красно-оранжевый */
  --primary-light: #FF6B00;  /* Светлый оранжевый */
  --primary-dark: #E63900;   /* Темный оранжевый */
  --secondary: #FF8C00;      /* Золотисто-оранжевый */
  --accent: #FFD700;         /* Золотой акцент */
  
  /* БАЗОВЫЕ ЦВЕТА */
  --bg: #0A0A0A;            /* Глубокий черный */
  --bg-light: #1A1A1A;      /* Светлый черный */
  --text: #FFFFFF;          /* Белый текст */
  --text-muted: #CCCCCC;    /* Приглушенный текст */
  --text-dark: #666666;     /* Темный текст */
  
  /* ГРАДИЕНТЫ */
  --gradient-primary: linear-gradient(135deg, #FF4500 0%, #FF6B00 50%, #FF8C00 100%);
  --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  --gradient-dark: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
  
  /* ТЕНИ И ЭФФЕКТЫ */
  --shadow-glow: 0 0 30px rgba(255, 69, 0, 0.5);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-button: 0 5px 20px rgba(255, 69, 0, 0.4);
  
  /* СОЦИАЛЬНЫЕ СЕТИ */
  --wa: #25D366;
  --tg: #229ED9;
  --insta: #E4405F;
  
  /* СТАТУСЫ */
  --success: #00FF88;
  --warning: #FFB800;
  --error: #FF4444;
}

/* СБРОС И БАЗОВЫЕ СТИЛИ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* УЛУЧШЕНИЕ КАЧЕСТВА ИЗОБРАЖЕНИЙ */
img {
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  /* Дополнительные настройки для улучшения качества */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  filter: none;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

/* АНИМАЦИИ */
@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 69, 0, 0.3); }
  50% { box-shadow: 0 0 40px rgba(255, 69, 0, 0.7); }
}

@keyframes loading {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100px);
  }
}

@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.3); }
  50% { transform: scale(0.9); }
  75% { transform: scale(1.2); }
}

@keyframes flyToCart {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(var(--tx), var(--ty)) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.2);
  }
}

@keyframes productCardSuccess {
  0% { transform: scale(1); }
  50% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

@keyframes buttonSuccess {
  0% { 
    transform: scale(1); 
    background: var(--gradient-primary);
  }
  50% { 
    transform: scale(1.05); 
    background: linear-gradient(135deg, #00FF88 0%, #00CC66 100%);
  }
  100% { 
    transform: scale(1); 
    background: linear-gradient(135deg, #00FF88 0%, #00CC66 100%);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* КОНТЕЙНЕР */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  width: 100%;
  position: relative;
}

/* УНИВЕРСАЛЬНОЕ ИСПРАВЛЕНИЕ ДЛЯ SAFARI/APPLE - центрирование контента */
/* Базовые правила для всех браузеров */
html {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-align: left;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  box-sizing: border-box;
  text-align: left;
}

/* Принудительное центрирование для Safari (iOS и macOS) */
@supports (-webkit-touch-callout: none) {
  /* iOS Safari */
  html, body {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .container {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .section {
    width: 100% !important;
    margin: 0 !important;
    padding: 60px 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .site-header,
  .site-footer {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
}

/* Исправление для macOS Safari */
@supports (-webkit-appearance: none) and (not (-webkit-touch-callout: none)) {
  html, body {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .container {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .section {
    width: 100% !important;
    margin: 0 !important;
    padding: 60px 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .site-header,
  .site-footer {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
}

/* Исправление для main контента */
main {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  left: 0;
  right: 0;
}

/* Исправление для hero секций */
.hero {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  position: relative;
  left: 0;
  right: 0;
}

/* Исправление для grid */
.grid {
  width: 100%;
  box-sizing: border-box;
}

/* Дополнительные исправления для всех Safari (iOS и macOS) */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  /* Определение Safari: проверяем, что это не Chrome */
  @supports not (appearance: none) {
    html, body {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow-x: hidden !important;
      -webkit-text-size-adjust: 100% !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      text-align: left !important;
    }
    
    .container {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    .section {
      width: 100% !important;
      margin-left: auto !important;
      margin-right: auto !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
  }
  
  /* Дополнительные правила для всех WebKit браузеров */
  html, body {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    -webkit-text-size-adjust: 100%;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .container {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateX(0) !important;
  }
  
  .section {
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .site-header,
  .site-footer {
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Дополнительное центрирование для header */
  .site-header .container {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateX(0) !important;
  }
  
  .header-content {
    width: 100% !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
    transform: translateX(0) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  
  /* Убеждаемся, что footer правильно центрирован */
  .site-footer {
    width: 100%;
    left: 0;
    right: 0;
    box-sizing: border-box;
    position: relative;
    margin: 0;
    padding: 0;
  }
}

/* Дополнительные исправления для мобильных Safari на iOS */
@media only screen and (max-device-width: 1024px) {
  @supports (-webkit-touch-callout: none) {
    html {
      width: 100%;
      margin: 0;
      padding: 0;
      -webkit-text-size-adjust: 100%;
    }
    
    body {
      width: 100%;
      margin: 0;
      padding: 0;
      position: relative;
      left: 0;
      right: 0;
      overflow-x: hidden;
      -webkit-overflow-scrolling: touch;
    }
    
    .container {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
    }
    
    .section {
      width: 100% !important;
      margin-left: auto !important;
      margin-right: auto !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
    }
    
    .site-header {
      width: 100% !important;
      left: 0 !important;
      right: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      box-sizing: border-box !important;
      position: relative !important;
      display: flex !important;
      justify-content: center !important;
    }
    
    /* Убеждаемся, что container внутри header правильно центрирован */
    .site-header .container {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    /* Убеждаемся, что header-content правильно центрирован */
    .header-content {
      width: 100% !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      margin: 0 !important;
      padding: 0 !important;
    }
    
    /* Убеждаемся, что все элементы внутри header правильно выровнены */
    .site-header .logo,
    .site-header .nav,
    .site-header .actions {
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    .site-footer {
      width: 100% !important;
      left: 0 !important;
      right: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
      box-sizing: border-box !important;
      position: relative !important;
    }
    
    main {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
    }
  }
}

/* ИСПРАВЛЕНИЕ ГРАНИЦ И ОТСТУПОВ */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* ВЫРАВНИВАНИЕ СЕКЦИЙ */
.section {
  padding: 60px 0;
  position: relative;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.section.alt {
  background: var(--bg-light);
}

.section.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-head h2 {
  margin-bottom: 16px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
}

/* ВЫРАВНИВАНИЕ ЗАГОЛОВКОВ */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 16px 0;
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

/* ВЫРАВНИВАНИЕ ПАРАГРАФОВ */
p {
  margin: 0 0 16px 0;
  line-height: 1.6;
}

p:last-child {
  margin-bottom: 0;
}

/* ВЫРАВНИВАНИЕ СПИСКОВ */
ul, ol {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

li {
  margin-bottom: 8px;
}

li:last-child {
  margin-bottom: 0;
}

/* ИНДИКАТОР ЗАГРУЗКИ */
.loading-placeholder {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 16px;
  animation: loading 1.5s infinite;
}

/* FLEXBOX */
.flex { 
  display: flex; 
  width: 100%;
  box-sizing: border-box;
}

.between { 
  justify-content: space-between; 
}

.center { 
  align-items: center;
  justify-content: center;
}

.wrap { 
  flex-wrap: wrap; 
}

/* GRID */
.grid {
  display: grid;
  gap: 20px;
  align-items: start;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.grid.two { 
  grid-template-columns: 1fr 1fr; 
  gap: 32px;
  justify-items: stretch;
}

.grid.three { 
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  justify-items: stretch;
}

.grid.four { 
  grid-template-columns: repeat(4, minmax(0, 1fr)); 
  justify-items: stretch;
}

/* ВЫРАВНИВАНИЕ КАРТОЧЕК В GRID */
.grid .product-card,
.grid .review-card,
.grid .img-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1200px) {
  .grid.four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .grid.two, .grid.three, .grid.four { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .grid {
    gap: 16px;
  }
  
  .section {
    padding: 32px 0;
  }
  
  .container {
    padding: 0 16px;
  }
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 3px solid var(--primary);
  z-index: 1000;
  box-shadow: var(--shadow-glow);
  animation: fadeIn 0.8s ease-out;
  width: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  right: 0;
  box-sizing: border-box;
}

.site-header .container {
  padding: 20px 0;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

/* Мобильное меню */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  min-width: 40px;
  text-align: center;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 69, 0, 0.1);
  color: var(--primary);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  border-top: 2px solid var(--primary);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 1001;
}

.mobile-menu.active {
  display: block;
  animation: slideInDown 0.3s ease-out;
}

.mobile-menu .mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.mobile-menu .mobile-nav a {
  font-size: 16px;
  padding: 12px 20px;
  width: 100%;
  max-width: 300px;
  text-align: center;
  border-radius: 12px;
  background: rgba(255, 69, 0, 0.1);
  border: 1px solid rgba(255, 69, 0, 0.3);
  color: var(--text);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  position: relative;
}

.mobile-menu .mobile-nav a:hover {
  background: rgba(255, 69, 0, 0.2);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.mobile-menu .mobile-nav .mobile-cart-link {
  background: var(--gradient-primary);
  color: white;
  border: 2px solid var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-menu .mobile-nav .mobile-cart-link:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 69, 0, 0.4);
}

.mobile-menu .mobile-nav .mobile-cart-link .badge {
  background: var(--accent);
  color: var(--bg);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
  animation: pulse 1s infinite;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Специальные стили для badge в мобильном меню - всегда видимый */
#mobile-cart-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 10 !important;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-header .logo {
  font-weight: 900;
  font-size: 32px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  display: block;
  text-shadow: 0 0 20px rgba(255, 69, 0, 0.5);
  animation: pulse 2s infinite;
}

.site-header .logo:hover {
  animation: glow 1s ease-in-out infinite;
}

.nav {
  gap: 32px;
  display: flex;
  justify-content: center;
  flex: 1;
  max-width: 600px;
  margin: 0 auto;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 25px;
}

.nav a:hover {
  color: var(--primary);
  background: rgba(255, 69, 0, 0.1);
  transform: translateY(-2px);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav a:hover::after {
  width: 80%;
}

/* КНОПКИ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn.lg {
  padding: 18px 36px;
  font-size: 18px;
}

.btn.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-button);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 69, 0, 0.6);
}

.btn.secondary {
  background: var(--gradient-gold);
  color: var(--bg);
  box-shadow: var(--shadow-button);
}

.btn.secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
}

.btn.ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn.ghost:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.btn.wa {
  background: var(--wa);
  color: white;
}

.btn.tg {
  background: var(--tg);
  color: white;
}

.btn.insta {
  background: var(--insta);
  color: white;
}

/* BADGE */
.badge {
  background: var(--accent);
  color: var(--bg);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  min-width: 20px;
  min-height: 20px;
  text-align: center;
  animation: pulse 1s infinite;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Badge в кнопке корзины - идеальное центрирование */
.btn .badge,
.actions .btn .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  padding: 4px 8px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  box-sizing: border-box !important;
}

/* Badge в карточках продуктов */
.product-card .media .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
  z-index: 10;
}

/* СЕКЦИИ - стили уже определены выше */

/* СЕКЦИЯ О РЕСТОРАНЕ */
.about-section {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 24px;
  text-align: center;
}

.about-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.8;
  text-align: center;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-list li {
  padding: 14px 20px;
  margin-bottom: 12px;
  background: var(--bg-light);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
  font-size: 1.05rem;
  line-height: 1.6;
}

.about-list li:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.about-list li strong {
  color: var(--text);
  font-weight: 700;
}

.about-content .cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .about-content h2 {
    font-size: 2rem;
  }
  
  .about-description {
    font-size: 1rem;
  }
  
  .about-list li {
    font-size: 1rem;
    padding: 14px 20px;
  }
  
  .about-content .cta-row {
    flex-direction: column;
    align-items: center;
  }
}

/* .section .section-head стили уже определены выше */

.section h1, .section h2, .section h3 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.section h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
}

.section h2 {
  font-size: 2.5rem;
  font-weight: 800;
}

.section h3 {
  font-size: 1.8rem;
  font-weight: 700;
}

/* HERO SECTION */
.hero {
  background: var(--gradient-dark);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 69, 0, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 140, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-title h1 {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  animation: slideInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  animation: slideInUp 1s ease-out 0.1s both;
}

.hero-subtitle .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  font-size: 1.3rem;
}

.hero p {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  animation: slideInUp 1s ease-out 0.2s both;
}

.cta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  animation: slideInUp 1s ease-out 0.4s both;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
  animation: slideInUp 1s ease-out 0.6s both;
  width: 100%;
  max-width: 100%;
}

.benefit-card {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 110px;
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(255, 69, 0, 0.5);
  border-color: var(--primary-light);
}

.benefit-card:hover::before {
  width: 8px;
}

.benefit-icon {
  font-size: 3rem;
  animation: float 3s ease-in-out infinite;
  flex-shrink: 0;
  min-width: 60px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.3));
}

.benefit-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.benefit-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.benefit-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

/* Адаптивность для больших экранов */
@media (min-width: 1200px) {
  .hero-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  
  .benefit-card {
    padding: 32px 40px;
    min-height: 130px;
  }
  
  .benefit-icon {
    font-size: 3.2rem;
    min-width: 65px;
  }
  
  .benefit-content h3 {
    font-size: 1.4rem;
  }
  
  .benefit-content p {
    font-size: 1.1rem;
  }
}

/* Адаптивность для очень широких экранов */
@media (min-width: 1400px) {
  .hero-benefits {
    gap: 32px;
  }
  
  .benefit-card {
    padding: 36px 48px;
    min-height: 140px;
  }
  
  .benefit-icon {
    font-size: 3.5rem;
    min-width: 70px;
  }
  
  .benefit-content h3 {
    font-size: 1.5rem;
  }
  
  .benefit-content p {
    font-size: 1.2rem;
  }
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
  .hero-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .benefit-card {
    min-height: 110px;
    padding: 24px;
  }
  
  .benefit-icon {
    font-size: 2.5rem;
    min-width: 50px;
  }
  
  .benefit-content h3 {
    font-size: 1.15rem;
  }
  
  .benefit-content p {
    font-size: 0.95rem;
  }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .hero-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .benefit-card {
    padding: 20px;
    min-height: 100px;
  }
  
  .benefit-icon {
    font-size: 2.5rem;
  }
  
  .benefit-content h3 {
    font-size: 1.1rem;
  }
  
  .benefit-content p {
    font-size: 0.9rem;
  }
}

.hero-media {
  position: relative;
  animation: slideInUp 1s ease-out 0.8s both;
}

.hero-card {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.hero-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.hero-card img {
  width: 100%;
  height: 850px;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

/* КАРТОЧКИ */
.img-card {
  background: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  animation: slideInUp 0.8s ease-out;
}

.img-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-card);
}

.img-card .media {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.img-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

.img-card:hover .media img {
  transform: scale(1.1);
}

.img-card .body {
  padding: 20px;
}

.img-card .title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

/* ПРОДУКТЫ */
.products {
  gap: 20px;
  min-height: 400px; /* Предотвращаем прыжки layout */
  margin: 0;
  padding: 0;
}

.product-card {
  background: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 1;
  visibility: visible;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 69, 0, 0.1);
  will-change: auto;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.product-card .media {
  height: 200px;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.product-card:hover .media img {
  transform: scale(1.1);
}

.product-card .body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 10px;
}

.product-card .title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--text);
  line-height: 1.3;
}

.product-card .price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
  flex-shrink: 0;
}

.product-card .weight {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
  flex-shrink: 0;
}

.product-card .description {
  flex-grow: 1;
  margin-bottom: 0;
  line-height: 1.5;
}

.product-card .btn {
  margin-top: 0;
  flex-shrink: 0;
  width: 100%;
  text-align: center;
  padding: 12px 16px;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s ease;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ВЫРАВНИВАНИЕ КНОПОК - объединяем с основными стилями кнопок */

.btn.primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-button);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 69, 0, 0.4);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text-muted);
}

.btn.ghost:hover {
  background: var(--text-muted);
  color: var(--bg);
}

.btn.secondary {
  background: var(--bg-light);
  color: var(--text);
  border: 1px solid var(--text-muted);
}

.btn.secondary:hover {
  background: var(--text-muted);
  color: var(--bg);
}

/* Убираем синее выделение у ссылок в карточках продуктов */
.product-card {
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  text-decoration: none;
  color: inherit;
}

.product-card:visited {
  color: inherit;
}

.product-card:link {
  color: inherit;
}

/* FOOTER */
.site-footer {
  background: var(--bg-light);
  border-top: 3px solid var(--primary);
  padding: 40px 0 24px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.site-footer .logo {
  font-weight: 900;
  margin-bottom: 16px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 28px;
}

.site-footer nav a {
  display: block;
  color: var(--text-muted);
  margin: 8px 0;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 4px 0;
}

.site-footer nav a:hover {
  color: var(--primary);
  padding-left: 8px;
}

.site-footer .h6 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.muted {
  color: var(--text-muted);
}

/* ПЛАВАЮЩАЯ КНОПКА КОРЗИНЫ СНИЗУ - ТОЛЬКО НА МОБИЛКЕ */
.floating-cart-button {
  display: none; /* Скрываем по умолчанию */
}

/* Показываем только на мобильных устройствах */
@media (max-width: 768px) {
  .floating-cart-button {
    display: flex !important;
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 32px;
    right: 32px;
    padding: 16px;
    border-radius: 1000px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    gap: 0;
    font-weight: 700;
    box-shadow: 0 8px 30px rgba(255, 69, 0, 0.5);
    z-index: 9998;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: floatCart 3s ease-in-out infinite;
    flex-direction: column;
    overflow: visible;
  }
}

@media (max-width: 768px) {
  .floating-cart-button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 69, 0, 0.7);
    background: linear-gradient(135deg, #FF6B00 0%, #FF8C00 50%, #FFA500 100%);
  }
}

.floating-cart-icon {
  font-size: 28px;
  line-height: 1;
}

.floating-cart-text {
  display: none;
}

.floating-cart-badge {
  display: none; /* Скрываем по умолчанию */
}

@media (max-width: 768px) {
  .floating-cart-badge {
    display: inline-flex !important;
    position: absolute;
    top: -4px;
    right: -4px;
    background: rgba(255, 255, 255, 0.9);
    color: #FF4500;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    min-width: 28px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid #FF4500;
    line-height: 1;
    box-sizing: border-box;
  }
}

@keyframes floatCart {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Стили для иконки плавающей кнопки только на мобилке */
@media (max-width: 768px) {
  .floating-cart-icon {
    font-size: 28px;
  }
}

/* СПЕЦИАЛЬНЫЕ ЭЛЕМЕНТЫ */
.shimmer {
  background: linear-gradient(90deg, var(--bg-light) 25%, rgba(255, 69, 0, 0.1) 50%, var(--bg-light) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* HERO BANNER */
.hero-banner {
  position: relative;
  padding: 0;
  background: var(--gradient-dark);
  overflow: hidden;
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 69, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-banner .banner {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-banner .banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
}

.hero-banner .banner .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.hero-banner .banner .content h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
}

/* КОНТАКТЫ */
.contact-info {
  display: grid;
  gap: 16px;
}

.contact-item {
  padding: 20px;
  margin-bottom: 16px;
  background: var(--bg-light);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s ease;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-card);
}

.contact-item h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* КАРТА */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.map-container:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-glow);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* КОРЗИНА */
.cart-items {
  display: grid;
  gap: 20px;
}

.cart-item {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 69, 0, 0.2);
  opacity: 1;
  visibility: visible;
}

.cart-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--primary);
}

.cart-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid var(--primary);
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Адаптивность корзины для мобильных */
@media (max-width: 768px) {
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    padding-top: 45px;
  }
  
  .cart-item img {
    width: 100%;
    height: 200px;
    max-width: 300px;
    margin: 0 auto;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  .cart-item-info {
    width: 100% !important;
    padding-right: 0 !important;
  }
  
  .order-item {
    flex-direction: column;
    align-items: flex-start !important;
    padding: 20px !important;
    padding-top: 45px !important;
  }
  
  .order-item > div:last-child {
    align-self: flex-end;
    margin-top: 12px;
  }
}

.cart-summary {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  text-align: center;
  border: 2px solid var(--primary);
  box-shadow: 0 0 30px rgba(255, 69, 0, 0.3);
}

.cart-summary .total {
  font-size: 2rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px;
}

/* Уведомление корзины */
.cart-notification {
  animation: slideInRight 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification-icon {
  font-size: 28px;
}

.notification-text {
  font-size: 16px;
  font-weight: 700;
}

/* Анимация добавления в корзину */
.product-adding-animation {
  animation: productCardSuccess 0.6s ease-out;
  position: relative;
}

.fly-to-cart-animation {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  animation: flyToCart 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid var(--primary);
  box-shadow: 0 0 30px rgba(255, 69, 0, 0.6);
}

.btn.adding-to-cart {
  animation: buttonSuccess 0.6s ease-out;
  position: relative;
  overflow: hidden;
}

.btn.adding-to-cart::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rippleEffect 0.6s ease-out;
}

@keyframes rippleEffect {
  to {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* ОТЗЫВЫ */
.reviews {
  gap: 24px;
  min-height: 300px; /* Предотвращаем прыжки layout */
}

.review-card {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
  opacity: 1;
  visibility: visible;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  font-weight: 900;
  opacity: 0.3;
}

/* АДАПТИВНОСТЬ */

/* Мобильные устройства (до 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .site-header .container {
    padding: 20px 0;
  }
  
  .site-header .logo {
    font-size: 24px;
  }
  
  .nav {
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
  }
  
  .nav a {
    font-size: 14px;
    padding: 10px 16px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .btn.lg {
    padding: 12px 24px;
    font-size: 16px;
  }
  
  .hero-title h1 {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .cta-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section h1 {
    font-size: 2rem;
  }
  
  .section h2 {
    font-size: 1.8rem;
  }
  
  .hero-banner .banner .content h1 {
    font-size: 1.8rem;
  }
  
  .hero-banner .banner {
    height: 300px;
  }
  
  .hero-card img {
    height: 600px;
  }
  
  .benefit-card {
    padding: 16px;
    min-height: 80px;
  }
  
  .benefit-icon {
    font-size: 2rem;
    min-width: 40px;
  }
  
  .benefit-content h3 {
    font-size: 1rem;
  }
  
  .benefit-content p {
    font-size: 0.85rem;
  }
  
  .product-card .body {
    padding: 14px;
    gap: 8px;
  }
  
  .product-card .title {
    font-size: 1rem;
    margin-bottom: 4px;
  }
  
  .product-card .price {
    font-size: 1.15rem;
  }
  
  .contact-item {
    padding: 16px;
    margin-bottom: 12px;
  }
  
  .contact-item:last-child {
    margin-bottom: 0;
  }
  
  .contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .map-container iframe {
    height: 300px;
  }
  
  .about-content h2 {
    font-size: 1.8rem;
  }
  
  .about-description {
    font-size: 0.95rem;
  }
  
  .about-list li {
    font-size: 0.9rem;
    padding: 12px 16px;
  }
  
  .size-highlight h2 {
    font-size: 1.8rem;
  }
  
  .size-description {
    font-size: 1rem;
  }
  
  .size-feature {
    padding: 16px 20px;
  }
  
  .size-icon {
    font-size: 1.5rem;
  }
  
  .size-text {
    font-size: 1rem;
  }
}

/* Планшеты (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .site-header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }
  
  /* Скрываем мобильное меню на планшетах */
  .mobile-menu-toggle {
    display: none;
  }
  
  .mobile-menu {
    display: none !important;
  }
  
  /* Показываем обычную навигацию */
  .nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex: 1;
  }
  
  .nav a {
    font-size: 15px;
    padding: 10px 16px;
  }
  
  .hero-title h1 {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .cta-row {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .section h1 {
    font-size: 2.8rem;
  }
  
  .section h2 {
    font-size: 2.2rem;
  }
  
  .hero-banner .banner .content h1 {
    font-size: 2.2rem;
  }
  
  .hero-banner .banner {
    height: 350px;
  }
  
  .hero-card img {
    height: 700px;
  }
  
  .benefit-card {
    padding: 20px;
    min-height: 100px;
  }
  
  .benefit-icon {
    font-size: 2.5rem;
    min-width: 50px;
  }
  
  .benefit-content h3 {
    font-size: 1.1rem;
  }
  
  .benefit-content p {
    font-size: 0.9rem;
  }
  
  .hero-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-item {
    padding: 18px;
    margin-bottom: 14px;
  }
  
  .contact-item:last-child {
    margin-bottom: 0;
  }
  
  .map-container iframe {
    height: 350px;
  }
  
  .about-content h2 {
    font-size: 2.2rem;
  }
  
  .about-description {
    font-size: 1.1rem;
  }
  
  .about-list li {
    font-size: 1rem;
    padding: 14px 20px;
  }
  
  .size-highlight h2 {
    font-size: 2.2rem;
  }
  
  .size-description {
    font-size: 1.1rem;
  }
  
  .size-features {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .size-feature {
    width: 100%;
    max-width: 400px;
    padding: 18px 24px;
  }
  
  .size-icon {
    font-size: 1.8rem;
  }
  
  .size-text {
    font-size: 1.05rem;
  }
}

/* Мобильные устройства (до 768px) - общие стили */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .site-header .container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .nav {
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-title h1 {
    font-size: 2.5rem;
  }
  
  .cta-row {
    flex-direction: column;
    align-items: center;
  }
  
  .section h1 {
    font-size: 2.5rem;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  .hero-banner .banner .content h1 {
    font-size: 2rem;
  }
  
  .hero-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid.three {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid.two {
    grid-template-columns: 1fr;
  }
  
  .hero-card img {
    height: 650px;
  }
  
  .hero-banner .banner {
    height: 300px;
  }
  
  .map-container iframe {
    height: 300px;
  }
  
  .about-content .cta-row {
    flex-direction: column;
    align-items: center;
  }
  
  .size-features {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  
  .size-feature {
    width: 100%;
    max-width: 350px;
  }
}

/* Планшеты (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }
  
  .site-header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav {
    flex-direction: row;
    gap: 24px;
  }
  
  .hero-title h1 {
    font-size: 3.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .cta-row {
    flex-direction: row;
    gap: 20px;
    justify-content: flex-start;
  }
  
  .section {
    padding: 48px 0;
  }
  
  .section h1 {
    font-size: 3.2rem;
  }
  
  .section h2 {
    font-size: 2.4rem;
  }
  
  .hero-banner .banner .content h1 {
    font-size: 2.4rem;
  }
  
  .hero-banner .banner {
    height: 400px;
  }
  
  .hero-card img {
    height: 750px;
  }
  
  .hero-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .grid.four {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid.three {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .benefit-card {
    padding: 24px;
    min-height: 120px;
  }
  
  .benefit-icon {
    font-size: 2.8rem;
    min-width: 55px;
  }
  
  .benefit-content h3 {
    font-size: 1.2rem;
  }
  
  .benefit-content p {
    font-size: 1rem;
  }
  
  .contact-item {
    padding: 20px;
    margin-bottom: 16px;
  }
  
  .contact-item:last-child {
    margin-bottom: 0;
  }
  
  .map-container iframe {
    height: 400px;
  }
  
  .about-content h2 {
    font-size: 2.4rem;
  }
  
  .about-description {
    font-size: 1.2rem;
  }
  
  .about-list li {
    font-size: 1.1rem;
    padding: 16px 24px;
  }
  
  .size-highlight h2 {
    font-size: 2.4rem;
  }
  
  .size-description {
    font-size: 1.2rem;
  }
  
  .size-features {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
  }
  
  .size-feature {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    padding: 20px 24px;
  }
  
  .size-icon {
    font-size: 2rem;
  }
  
  .size-text {
    font-size: 1.1rem;
  }
}

/* Большие планшеты и маленькие ноутбуки (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  .container {
    padding: 0 24px;
  }
  
  .hero-title h1 {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero p {
    font-size: 1.3rem;
  }
  
  .section h1 {
    font-size: 3.5rem;
  }
  
  .section h2 {
    font-size: 2.5rem;
  }
  
  .hero-banner .banner .content h1 {
    font-size: 2.5rem;
  }
  
  .hero-banner .banner {
    height: 450px;
  }
  
  .hero-card img {
    height: 800px;
  }
  
  .hero-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .grid.four {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .benefit-card {
    padding: 28px;
    min-height: 130px;
  }
  
  .benefit-icon {
    font-size: 3rem;
    min-width: 60px;
  }
  
  .benefit-content h3 {
    font-size: 1.3rem;
  }
  
  .benefit-content p {
    font-size: 1.1rem;
  }
  
  .map-container iframe {
    height: 450px;
  }
  
  .about-content h2 {
    font-size: 2.5rem;
  }
  
  .about-description {
    font-size: 1.3rem;
  }
  
  .about-list li {
    font-size: 1.2rem;
    padding: 18px 28px;
  }
  
  .size-highlight h2 {
    font-size: 2.5rem;
  }
  
  .size-description {
    font-size: 1.3rem;
  }
  
  .size-features {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }
  
  .size-feature {
    padding: 24px 32px;
  }
  
  .size-icon {
    font-size: 2.2rem;
  }
  
  .size-text {
    font-size: 1.2rem;
  }
}

/* Большие экраны (1201px+) */
@media (min-width: 1201px) {
  .container {
    padding: 0 32px;
  }
  
  .hero-title h1 {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .hero p {
    font-size: 1.4rem;
  }
  
  .section h1 {
    font-size: 4rem;
  }
  
  .section h2 {
    font-size: 2.8rem;
  }
  
  .hero-banner .banner .content h1 {
    font-size: 2.8rem;
  }
  
  .hero-banner .banner {
    height: 500px;
  }
  
  .hero-card img {
    height: 850px;
  }
  
  .hero-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  
  .grid.four {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .benefit-card {
    padding: 32px;
    min-height: 140px;
  }
  
  .benefit-icon {
    font-size: 3.5rem;
    min-width: 70px;
  }
  
  .benefit-content h3 {
    font-size: 1.4rem;
  }
  
  .benefit-content p {
    font-size: 1.2rem;
  }
  
  .map-container iframe {
    height: 500px;
  }
  
  .about-content h2 {
    font-size: 2.8rem;
  }
  
  .about-description {
    font-size: 1.4rem;
  }
  
  .about-list li {
    font-size: 1.3rem;
    padding: 20px 32px;
  }
  
  .size-highlight h2 {
    font-size: 2.8rem;
  }
  
  .size-description {
    font-size: 1.4rem;
  }
  
  .size-features {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }
  
  .size-feature {
    padding: 28px 36px;
  }
  
  .size-icon {
    font-size: 2.5rem;
  }
  
  .size-text {
    font-size: 1.3rem;
  }
}

/* ДОПОЛНИТЕЛЬНЫЕ АДАПТИВНЫЕ СТИЛИ */

/* Улучшенная адаптивность для мобильных устройств */
@media (max-width: 768px) {
  /* Улучшенная навигация для мобильных */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .site-header .container {
    padding: 12px 16px;
  }
  
  .header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
  }
  
  /* Показываем кнопку мобильного меню */
  .mobile-menu-toggle {
    display: block;
    order: 2;
    flex-shrink: 0;
  }
  
  /* Скрываем обычную навигацию на мобильных */
  .nav {
    display: none;
  }
  
  /* Показываем мобильное меню при активации */
  .mobile-menu {
    display: none;
  }
  
  .mobile-menu.active {
    display: block;
  }
  
  /* Улучшаем логотип для мобильных */
  .site-header .logo {
    font-size: 22px;
    flex: 1 1 auto;
    text-align: left;
    order: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 60px);
  }
  
  /* Скрываем корзину из шапки на мобильных */
  .actions {
    display: none;
  }
  
  /* Показываем корзину в мобильном меню */
  .mobile-menu .mobile-cart-link {
    display: flex;
  }
  
  /* Улучшенная hero секция */
  .hero {
    min-height: auto;
    padding: 32px 0;
  }
  
  .hero .container {
    flex-direction: column;
    gap: 24px;
  }
  
  .hero-title {
    text-align: center;
    order: 1;
  }
  
  .hero-title h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  .hero-media {
    order: 2;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .hero-card {
    border-radius: 16px;
    overflow: hidden;
  }
  
  .hero-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  .cta-row {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
  }
  
  .cta-row .btn {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
    font-size: 16px;
  }
  
  /* Улучшенные кнопки */
  .btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }
  
  .btn.lg {
    min-height: 48px;
    font-size: 16px;
  }
  
  /* Улучшенные карточки продуктов */
  .product-card {
    margin-bottom: 16px;
    border-radius: 16px;
  }
  
  .product-card .media {
    height: 200px;
    position: relative;
  }
  
  .product-card .media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  .product-card .body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  .product-card .title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    margin-bottom: 2px;
  }
  
  .product-card .price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
  }
  
  .product-card .weight {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 6px;
  }
  
  .product-card .description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 12px;
  }
  
  .product-card .btn {
    width: 100%;
    margin-top: auto;
    font-size: 14px;
    padding: 12px 18px;
    min-height: 46px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  /* Улучшенные grid для мобильных */
  .grid.four {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .grid.three {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .grid.two {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Улучшенные секции */
  .section {
    padding: 32px 0;
  }
  
  .section-head {
    margin-bottom: 24px;
    text-align: center;
  }
  
  .section-head h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .section-head p {
    font-size: 1rem;
    color: var(--text-muted);
  }
  
  /* Улучшенные контакты */
  .contact-info {
    gap: 12px;
  }
  
  .contact-item {
    padding: 16px;
    margin-bottom: 12px;
    border-radius: 12px;
  }
  
  .contact-item:last-child {
    margin-bottom: 0;
  }
  
  .contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .contact-item p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .social-links {
    justify-content: center;
    gap: 16px;
  }
  
  .social-links a img {
    width: 50px;
    height: 50px;
  }
  
  /* Улучшенная карта */
  .map-container {
    border-radius: 16px;
    overflow: hidden;
    margin-top: 20px;
  }
  
  .map-container iframe {
    width: 100%;
    height: 250px;
    border: none;
  }
  
  /* Улучшенные промо карточки */
  .promo-card {
    padding: 20px;
    text-align: center;
    border-radius: 16px;
  }
  
  .promo-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  
  .promo-card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* Улучшенные размеры порций */
  .size-features {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  
  .size-feature {
    width: 100%;
    max-width: 320px;
    padding: 16px 20px;
    text-align: center;
  }
  
  .size-feature .size-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
  
  .size-feature .size-text {
    font-size: 1rem;
    font-weight: 600;
  }
  
  /* Улучшенные отзывы */
  .review-card {
    padding: 20px;
    border-radius: 16px;
  }
  
  .review-card::before {
    font-size: 3rem;
    top: -8px;
    left: 16px;
  }
  
  /* Улучшенный футер */
  .site-footer {
    padding: 40px 0 20px;
    text-align: center;
  }
  
  .site-footer .container {
    padding: 0 16px;
  }
  
  .site-footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
  }
}

/* Дополнительные стили для очень маленьких экранов */
@media (max-width: 360px) {
  .container {
    padding: 0 8px;
  }
  
  .site-header .container {
    padding: 10px 12px;
  }
  
  .header-content {
    gap: 8px;
  }
  
  .site-header .logo {
    font-size: 18px;
    max-width: calc(100% - 50px);
  }
  
  .mobile-menu-toggle {
    font-size: 20px;
    padding: 6px 8px;
    flex-shrink: 0;
  }
  
  .btn {
    font-size: 13px;
    padding: 10px 16px;
    min-height: 42px;
  }
  
  .btn.lg {
    font-size: 14px;
    padding: 12px 20px;
    min-height: 46px;
  }
  
  .hero-title h1 {
    font-size: 1.6rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .hero-card img {
    height: 200px;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
  
  .section h1 {
    font-size: 1.6rem;
  }
  
  .section h2 {
    font-size: 1.4rem;
  }
  
  .section h3 {
    font-size: 1.2rem;
  }
  
  .product-card .body {
    padding: 14px;
    gap: 8px;
  }
  
  .product-card .title {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }
  
  .product-card .price {
    font-size: 1.15rem;
  }
  
  .product-card .btn {
    font-size: 13px;
    padding: 11px 15px;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .contact-item {
    padding: 14px;
    margin-bottom: 12px;
  }
  
  .contact-item:last-child {
    margin-bottom: 0;
  }
  
  .contact-item h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
  
  .contact-item p {
    font-size: 0.9rem;
  }
  
  .map-container iframe {
    height: 200px;
  }
  
  .size-feature {
    padding: 14px 18px;
  }
  
  .size-icon {
    font-size: 1.6rem;
  }
  
  .size-text {
    font-size: 0.95rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 14px 16px;
    font-size: 15px;
    min-height: 46px;
  }
  
  .checkout-form {
    padding: 20px 16px;
  }
  
  .order-summary {
    padding: 20px 16px;
  }
  
  .cart-item {
    padding: 16px;
  }
  
  .cart-item img {
    width: 80px;
    height: 80px;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Улучшенные формы для мобильных устройств */
@media (max-width: 768px) {
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: 600;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 16px 20px;
    font-size: 16px;
    border-radius: 12px;
    min-height: 48px;
    border: 2px solid rgba(255, 69, 0, 0.3);
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
    transform: none;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .payment-methods {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .payment-method {
    padding: 20px;
    border-radius: 12px;
  }
  
  .payment-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
  }
  
  .payment-name {
    font-size: 1rem;
  }
  
  .checkout-form {
    padding: 24px 20px;
    border-radius: 16px;
    margin: 20px 0;
  }
  
  .order-summary {
    padding: 24px 20px;
    border-radius: 16px;
    margin-top: 20px;
  }
  
  .order-item {
    padding: 16px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .order-item > div:last-child {
    align-self: flex-end;
    font-size: 1.2rem;
  }
  
  .order-total {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 20px;
  }
  
  .order-total-label {
    font-size: 1.4rem;
  }
  
  .order-total-value {
    font-size: 2.2rem;
  }
}

/* ДОПОЛНИТЕЛЬНЫЕ АНИМАЦИИ */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

.fade-in.animate-in {
  opacity: 1;
  animation: fadeIn 0.8s ease-out;
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.slide-up.animate-in {
  opacity: 1;
  transform: translateY(0);
  animation: slideInUp 0.8s ease-out;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Анимации для карточек - полностью исправлено моргание */
.product-card, .review-card, .img-card {
  opacity: 1;
  transform: translateY(0);
}

/* Убираем класс animate-in для карточек (теперь не используется) */
.product-card.animate-in, 
.review-card.animate-in, 
.img-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Анимации для иконок */
.size-icon, .hero-benefits li::before {
  transition: all 0.3s ease;
}

.size-icon:hover {
  transform: scale(1.2) rotate(5deg);
}

/* Плавные переходы между страницами - оптимизировано */
a, button, .btn {
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Исправление багов с анимациями */
.btn:hover, .nav a:hover {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Cart Popup */
.cart-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  animation: slideDownPopup 0.4s ease-out;
  display: none !important; /* УБРАНО - не показываем на мобилке */
}

/* Скрываем уведомление о корзине на мобильных устройствах */
@media (max-width: 768px) {
  .cart-popup {
    display: none !important;
  }
}

@keyframes slideDownPopup {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUpPopup {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

.cart-popup.closing {
  animation: slideUpPopup 0.3s ease-in forwards;
}

.cart-popup-content {
  background: linear-gradient(135deg, #FF4500 0%, #FF6B00 100%);
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  border-bottom: 4px solid #FFD700;
}

.cart-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.cart-popup-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.cart-popup-icon {
  font-size: 48px;
  margin-bottom: 12px;
  animation: pulse 2s infinite;
}

.cart-popup-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.cart-popup-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.cart-popup-button {
  background: white !important;
  color: var(--primary) !important;
  border: 3px solid #FFD700 !important;
  font-weight: 900 !important;
  padding: 14px 32px !important;
  font-size: 1.1rem !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.cart-popup-button:hover {
  background: #FFD700 !important;
  color: var(--primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 480px) {
  .cart-popup-content {
    padding: 16px;
  }
  
  .cart-popup-icon {
    font-size: 40px;
  }
  
  .cart-popup-title {
    font-size: 1.3rem;
  }
  
  .cart-popup-text {
    font-size: 0.95rem;
  }
  
  .cart-popup-button {
    padding: 12px 24px !important;
    font-size: 1rem !important;
  }
}

/* Исправление стилей кнопок */
.btn.primary {
  background: var(--gradient-primary) !important;
  color: white !important;
  box-shadow: var(--shadow-button) !important;
  border: none !important;
}

.btn.primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(255, 69, 0, 0.6) !important;
}

.btn.ghost {
  background: transparent !important;
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
}

.btn.ghost:hover {
  background: var(--primary) !important;
  color: white !important;
  transform: translateY(-3px) !important;
}

/* Корзина в хедере - обычная на десктопе */
.actions .btn.primary {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 14px 28px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  position: relative !important;
}

.actions .btn.primary .badge {
  position: static;
}

/* ПРОМО СЕКЦИЯ */
.promo {
  gap: 20px;
  min-height: 200px; /* Предотвращаем прыжки layout */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.promo-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 1;
  visibility: visible;
  display: block;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.promo-card .title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.promo-card .text {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.promo-card .badge {
  background: var(--gradient-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
}

/* Специальные стили для промо-карточек */
.promo-card-orange {
  background: linear-gradient(135deg, #FF4500 0%, #ffffff 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(255, 69, 0, 0.3);
}

.promo-card-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #000;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.promo-icon {
  font-size: 48px;
  margin-bottom: 1rem;
  display: block;
}

.promo-title {
  font-size: 24px;
  margin-bottom: 1rem;
  font-weight: 700;
  color: inherit;
}

.promo-text {
  font-size: 18px;
  line-height: 1.6;
  color: inherit;
  margin: 0;
}

/* СЕКЦИЯ РАЗМЕРА ПОРЦИЙ */
.size-highlight {
  text-align: center;
  padding: 32px 0;
}

.size-highlight h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: pulse 2s infinite;
}

.size-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.size-features {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.size-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-light);
  padding: 16px 24px;
  border-radius: 16px;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
  animation: slideInUp 0.8s ease-out;
}

.size-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: var(--primary-light);
}

.size-icon {
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

.size-text {
  font-weight: 700;
  color: var(--text);
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .size-features {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .size-feature {
    width: 100%;
    max-width: 300px;
  }
  
  .size-highlight h2 {
    font-size: 2rem;
  }
  
  /* Промо секция на мобильных */
  .promo {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .promo-card {
    padding: 18px;
    border-radius: 12px;
  }
  
  .promo-icon {
    font-size: 36px;
    margin-bottom: 0.75rem;
  }
  
  .promo-title {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }
  
  .promo-text {
    font-size: 0.95rem;
  }
}

/* УПРОЩЕННЫЕ ИСПРАВЛЕНИЯ ДЛЯ SAFARI/APPLE - центрирование контента */
/* Исправление для map-spacing - убираем смещение влево */
.map-spacing {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  left: 0 !important;
  right: 0 !important;
}

/* Дополнительное исправление для абсолютных/фиксированных элементов в Safari */
@supports (-webkit-touch-callout: none) {
  .mobile-menu {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }
  
  .floating-cart-button {
    right: 32px !important;
    left: auto !important;
  }
  
  .cart-popup {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
  }
}

/* КРИТИЧЕСКИЕ ИСПРАВЛЕНИЯ ДЛЯ SAFARI/APPLE - принудительное центрирование */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  @supports (-webkit-touch-callout: none) {
    /* iOS/Safari */
    html {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow-x: hidden !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      -webkit-text-size-adjust: 100% !important;
      text-align: left !important;
    }
    
    body {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      overflow-x: hidden !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      box-sizing: border-box !important;
      display: block !important;
      text-align: left !important;
    }
    
    /* Принудительное центрирование всех контейнеров */
    .container {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      display: block !important;
    }
    
    /* Принудительное центрирование grid-контейнеров */
    .container.grid {
      display: grid !important;
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    /* Принудительное центрирование grid two */
    .grid.two {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 32px !important;
    }
    
    /* Принудительное центрирование grid three */
    .grid.three {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
      display: grid !important;
    }
    
    /* Принудительное центрирование header */
    .site-header {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      left: 0 !important;
      right: 0 !important;
      position: relative !important;
      box-sizing: border-box !important;
      transform: translateX(0) !important;
    }
    
    .site-header .container {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    .header-content {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
    }
    
    /* Принудительное центрирование всех секций */
    .section {
      width: 100% !important;
      margin-left: auto !important;
      margin-right: auto !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
    }
    
    /* Принудительное центрирование section-head */
    .section-head {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    /* Принудительное центрирование contact-item */
    .contact-item {
      width: 100% !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    /* Принудительное центрирование map-container */
    .map-container {
      width: 100% !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }
    
    /* Принудительное центрирование map-spacing */
    .map-spacing {
      width: 100% !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
      margin-left: 0 !important;
      margin-right: 0 !important;
    }
    
    /* Принудительное центрирование main */
    main {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
    }
    
    /* Принудительное центрирование footer */
    .site-footer {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
    }
    
    /* Принудительное центрирование для hero-banner */
    .hero-banner {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
    }
    
    .hero-banner .container {
      width: 100% !important;
      max-width: 100% !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    /* Принудительное центрирование для hero-banner .content */
    .hero-banner .banner .content {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      text-align: center !important;
      z-index: 2 !important;
      width: 100% !important;
      max-width: 100% !important;
      padding: 0 24px !important;
      box-sizing: border-box !important;
      margin: 0 !important;
    }
    
    .hero-banner .banner .content h1 {
      text-align: center !important;
      margin-left: auto !important;
      margin-right: auto !important;
      width: 100% !important;
      max-width: 100% !important;
      display: block !important;
    }
    
    /* Принудительное центрирование всех flex-контейнеров */
    .flex {
      width: 100% !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    /* Принудительное центрирование promo-секций */
    .promo {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    /* Принудительное центрирование about-content */
    .about-content {
      width: 100% !important;
      max-width: 900px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    /* Принудительное центрирование size-highlight */
    .size-highlight {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    /* Принудительное центрирование products */
    .products {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    /* Исправление для section .container.grid */
    .section .container.grid {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
      display: grid !important;
    }
    
    /* Исправление для section .container.grid.two */
    .section .container.grid.two {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 32px !important;
    }
    
    /* Исправление для section .container.grid.three */
    .section .container.grid.three {
      width: 100% !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
      padding-left: 24px !important;
      padding-right: 24px !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
      display: grid !important;
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      gap: 20px !important;
    }
    
    /* Исправление для всех fade-in элементов */
    .fade-in {
      width: 100% !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
    
    /* Исправление для slide-up элементов */
    .slide-up {
      width: 100% !important;
      box-sizing: border-box !important;
      position: relative !important;
      left: 0 !important;
      right: 0 !important;
      transform: translateX(0) !important;
    }
  }
}

/* УНИВЕРСАЛЬНЫЕ ИСПРАВЛЕНИЯ ДЛЯ ВСЕХ SAFARI - упрощенные правила */

/* Дополнительные правила для центрирования в Safari */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  html, body {
    text-align: left !important;
  }
  
  .container,
  .container.grid,
  .container.grid.two,
  .container.grid.three {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .section {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .site-header,
  .site-footer {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .hero-banner .banner .content {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    -webkit-transform: translate(-50%, -50%) !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  
  .hero-banner .banner .content h1 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
  }
}

/* Финальное исправление для macOS Safari */
@supports (-webkit-appearance: none) and (not (-webkit-touch-callout: none)) {
  html, body {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .container {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .section {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .site-header,
  .site-footer {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  .site-header .container,
  .site-footer .container {
    width: 100% !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
}