/* Оптимизированные CSS стили для лендинг-страницы */
/* Подключение Google Fonts для шрифта Roboto */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

/* Универсальный box-sizing для всех элементов */
* {
  box-sizing: border-box;
}

/* Базовые настройки HTML элемента */
html {
  font-size: 16px;
  font-family: "Roboto", sans-serif;
}

/* Сброс стандартных отступов для всех заголовков, параграфов и списков */
body,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

/* Убираем стандартные маркеры списков и отступы */
ul,
ol {
  list-style: none;
  padding: 0;
}

/* Убираем стандартные границы для input и button */
input,
button {
  border: none;
}

/* Делаем input и label блочными элементами */
input,
label {
  display: block;
}

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

/* Основные стили body - ограничение ширины для мобильной оптимизации */
body {
  max-width: 480px;
  min-width: 320px;
  margin: 0 auto;
  background: #f8fafc; /* Новый основной фон - очень светлый серо-голубой */
}

.main-wrapper {
  width: 100%;
  margin: 0 auto;
}

.wrapper {
  padding: 0 15px;
}

/* Переключатель языков KZ | RU */
/* Центрированное расположение с отступами */
.lang-switcher {
  text-align: center;
  margin: 12px 0 12px 0; /* Умеренный отступ сверху 12px */
  font-size: 14px;
}

/* Стили для кнопок переключения языков */
.lang-switcher a {
  color: #3b82f6;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  margin: 0 4px;
  transition: background-color 0.2s;
}

/* Эффект при наведении */
.lang-switcher a:hover {
  background: rgba(59, 130, 246, 0.1);
}

/* Активное и фокусное состояние */
.lang-switcher a:active,
.lang-switcher a:focus {
  color: #3b82f6;
  outline: none;
}

/* Активное состояние выбранного языка */
.lang-switcher .active {
  background: #3b82f6 !important;
  color: #fff !important;
  font-weight: 700;
  opacity: 1 !important;
}



/* Контент для разных языков */
/* По умолчанию все языковые блоки скрыты */
.lang-content {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Активный языковой блок показывается */
.lang-content.active {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
}

/* Анимация переключения языков */
.lang-switching .lang-content {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Принудительные правила для языкового переключателя */
/* Эти правила имеют высокий приоритет и предотвращают конфликты с встроенными стилями */
.lang-btn.active {
  background: #3b82f6 !important;
  color: #fff !important;
  font-weight: 700 !important;
}

/* Дополнительные правила для предотвращения конфликтов */
.lang-content[data-lang="ru"].active {
  display: block !important;
}

.lang-content[data-lang="kz"] {
  display: none !important;
}

.lang-content[data-lang="kz"].active {
  display: block !important;
}

/* Стили заголовков страницы */
/* Главный заголовок - крупный, центрированный, синий */
.header__title {
  padding-top: 15px;
  text-align: center;
  color: #3b82f6; /* Новый акцентный цвет */
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 700;
}

/* Подзаголовок - мелкий, с увеличенным межбуквенным интервалом */
.header__subtitle {
  text-align: center;
  margin-top: -2px;
  text-transform: uppercase;
  line-height: 1.5;
  letter-spacing: 3px;
  font-size: 0.9rem;
  color: #64748b; /* Новый вторичный текст */
}

/* Слайдер изображений продуктов */
/* Основной контейнер слайдера с относительным позиционированием */
.slider {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 20px auto 0;
  overflow: hidden;
}

/* Контейнер слайдов с flexbox для горизонтального расположения */
/* will-change: transform - оптимизация для анимаций */
.slider-track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 320ms ease-out;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.slider-track:active {
  cursor: grabbing;
}

/* Отдельные слайды - каждый занимает 100% ширины */
/* aspect-ratio обеспечивает правильные пропорции изображений */
.slider-item {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 900 / 1125;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

/* Кнопки навигации слайдера (влево/вправо) */
/* Абсолютное позиционирование по центру слайдера */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  cursor: pointer;
  z-index: 2;
  background: rgba(59, 130, 246, 0.95); /* Новый акцентный цвет с прозрачностью */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.slider-nav:hover {
  background: #2563eb; /* Новый hover цвет - темно-синий */
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.slider-dots {
  text-align: center;
  margin: 15px 0;
}

.slider-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1; /* Новый цвет неактивных точек */
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #3b82f6; /* Новый акцентный цвет для активной точки */
  transform: scale(1.2);
}

/* Price Block - Mobile Optimized */
.price_block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 10px;
  margin: 20px auto 30px;
  text-align: center;
  border-radius: 150px;
  overflow: visible; /* Разрешаем выпирание discount блока */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); /* Новый градиент - синий */
  color: white;
  position: relative;
}

.price_item.old {
  flex: 1;
  padding: 10px 5px;
  opacity: 0.8;
}

.price_item.new {
  flex: 1;
  padding: 10px 5px;
  font-weight: 700;
  font-size: 1.1em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.discount {
  background: linear-gradient(135deg, #dc2626, #b91c1c); /* Насыщенно-красный градиент */
  color: white; /* Белый текст */
  padding: 30px 0px; /* Горизонтальные отступы для скошенных краев */
  font-weight: 700;
  font-size: 1.1em;
  flex: 0.8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 80px; /* Высота для выпирания */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: -20px 0; /* Выпирание вверх и вниз */
  z-index: 2; /* Поверх других элементов */
  
  /* Скошенные края с помощью clip-path - адаптивные */
  clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
}

.discount:hover {
  transform: scale(1.05); /* Hover-анимация: увеличение */
  box-shadow: 0 6px 12px rgba(0,0,0,0.35);
}

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

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

/* Стили для текста внутри блока скидки */
.discount .text {
  font-size: 0.9em;
  margin-bottom: 4px;
  font-weight: 400; /* Обычный вес для SALE */
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.discount .value {
  font-size: 1.4em;
  font-weight: 800; /* Жирный вес для -40% */
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.price_block .text {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 18px;
  font-weight: 500;
}

.price_item.old .value {
  text-decoration: line-through;
  opacity: 0.8;
}

.price_block .value {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
}

/* Order Form */
.order-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.order-form__input {
  margin: 0 auto 20px;
  padding: 0 20px;
  width: 90%;
  height: 60px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fff;
  font-weight: 400;
  font-size: 16px;
  color: #333;
  text-align: center;
  transition: border-color 0.3s ease;
}

.order-form__input:focus {
  outline: none;
  border-color: #3b82f6; /* Новый акцентный цвет для фокуса */
}

.order-form__button {
  display: block;
  margin: 20px auto;
  width: 92%;
  max-width: 350px;
  height: 70px;
  border-radius: 15px;
  border: none;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); /* Новый градиент - синий */
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5), inset 0 2px 0 rgba(255, 255, 255, 0.3); /* Тень под новый цвет */
  font-weight: 700;
  font-size: 24px;
  color: white;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.order-form__button::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;
}

.order-form__button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(139, 69, 19, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.order-form__button:hover::before {
  left: 100%;
}

.order-form__button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.4);
}

.order-form__checkbox {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #555;
  margin: 10px 0;
  text-align: center;
  justify-content: center;
}

.order-form__checkbox input {
  margin: 0 6px 0 0;
}

.order-form__checkbox a {
  text-decoration: underline;
  color: #3b82f6; /* Акцентный синий для ссылки на политику */
  transition: color 0.3s ease;
}

.order-form__checkbox a:hover {
  color: #2563eb; /* Темно-синий при hover */
}

/* Toggle/Accordion */
.toggle {
  margin-top: 20px;
}

.toggle-box {
  display: none;
}

.toggle-box + label {
  display: block;
  cursor: pointer;
}

.toggle-box + label + .toggle-content {
  display: none;
}

.toggle-box:checked + label + .toggle-content {
  display: block;
  background: #fff;
  /* Compact vertical padding for opened content (moved from index.html) */
  padding: 6px 14px; /* top/bottom compact, keep side padding */
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.toggle-item {
  position: relative;
  margin-bottom: 3px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.toggle-label {
  font-size: 20px;
  cursor: pointer;
  padding: 20px 15px;
  background: #fff;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.toggle-label:hover {
  color: #3b82f6; /* Новый акцентный цвет */
  background: #f1f5f9; /* Новый цвет фона при hover */
}

.toggle-label::after {
  content: "+";
  font-size: 30px;
  font-weight: 100;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.toggle-box:checked + .toggle-label::after {
  transform: translateY(-50%) rotate(45deg);
}

.toggle-description {
  font-size: 13px;
  margin-top: 8px; /* vertical rhythm */
  text-align: justify;
  text-indent: 0;
  line-height: 1.45; /* compact but readable */
  color: #555;
}

.toggle-list {
  font-size: 13px;
  counter-reset: myCounter;
}

.toggle-list-item {
  color: #1e293b; /* Основной текстовый цвет для контента */
  margin-top: 8px;
  line-height: 1.5;
  position: relative;
  padding-left: 36px;
}

/* Вертикальная линия рядом с номером (только для общих списков, не для блока преимуществ) */
.toggle-list-item:not(.advantages-list .toggle-list-item):not([data-type="advantages"] .toggle-list-item)::after {
  content: '';
  position: absolute;
  left: 11px;
  top: 22px;
  width: 2px;
  height: calc(100% + 8px);
  background: #3b82f6; /* Акцентный синий для линии */
  opacity: 0.6;
}

/* Убираем линию у последнего элемента списка */
.toggle-list-item:not(.advantages-list .toggle-list-item):not([data-type="advantages"] .toggle-list-item):last-child::after {
  display: none;
}

.toggle-list-item:hover {
  color: #333;
}

.toggle-list-item:before {
  counter-increment: myCounter;
  content: counter(myCounter);
  color: white;
  background: #8B4513; /* Коричневый цвет для номеров */
  display: inline-block;
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
  line-height: 22px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(139, 69, 19, 0.3); /* Тень для объемности */
  z-index: 2; /* Повышаем z-index для корректного отображения */
}

/* Compact vertical rhythm inside toggle content (moved from index.html) */
.toggle-content > *:first-child { margin-top: 0; }
.toggle-content > *:last-child { margin-bottom: 0; }
.toggle-content p,
.toggle-content li { font-size: 13px; line-height: 1.38; margin: 3px 0; color: #1e293b; /* Основной текстовый цвет для контента */ }
.toggle-content ul { margin: 3px 0 0 0; }
.toggle-content dl { margin: 3px 0; }
.toggle-content dt { font-weight: 500; margin: 3px 0 0; }
.toggle-content dd { margin: 2px 0 3px 0; }

/* Advantages block: modern structured design with improved readability */
/* Specific selectors for main page */
#kz-advantages + .toggle-label + .toggle-content .toggle-list,
#ru-advantages + .toggle-label + .toggle-content .toggle-list {
  counter-reset: advantages-counter;
  margin: 0;
  padding: 0;
  list-style: none;
}

#kz-advantages + .toggle-label + .toggle-content .toggle-list-item,
#ru-advantages + .toggle-label + .toggle-content .toggle-list-item {
  counter-increment: advantages-counter;
  display: block;
  width: 100%;
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0;
  padding: 12px 16px;
  background: rgba(248, 250, 252, 0.6);
  border-left: 3px solid #3b82f6; /* Акцентный синий для вертикальной линии */
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08); /* Тень для синего */
  transition: all 0.3s ease;
  position: relative;
}

#kz-advantages + .toggle-label + .toggle-content .toggle-list-item:hover,
#ru-advantages + .toggle-label + .toggle-content .toggle-list-item:hover {
  background: rgba(248, 250, 252, 0.8);
  border-left-color: #2563eb; /* Темно-синий при hover */
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12); /* Тень для синего */
  transform: translateX(2px);
}

#kz-advantages + .toggle-label + .toggle-content .toggle-list-item:before,
#ru-advantages + .toggle-label + .toggle-content .toggle-list-item:before {
  content: counter(advantages-counter) !important;
  position: absolute !important;
  left: -8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  background: #3b82f6 !important; /* Акцентный синий для номеров преимуществ */
  color: white !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3) !important;
}

/* General advantages styling for any toggle-list with advantages content */
.toggle-content .toggle-list.advantages-list,
.toggle-content .toggle-list[data-type="advantages"] {
  counter-reset: advantages-counter;
  margin: 0;
  padding: 0;
  list-style: none;
}

.toggle-content .toggle-list.advantages-list .toggle-list-item,
.toggle-content .toggle-list[data-type="advantages"] .toggle-list-item {
  counter-increment: advantages-counter;
  display: block;
  width: 100%;
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0;
  padding: 12px 16px;
  background: rgba(248, 250, 252, 0.6);
  border-left: 3px solid #3b82f6; /* Акцентный синий для вертикальной линии */
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08); /* Тень для синего */
  transition: all 0.3s ease;
  position: relative;
}

.toggle-content .toggle-list.advantages-list .toggle-list-item:hover,
.toggle-content .toggle-list[data-type="advantages"] .toggle-list-item:hover {
  background: rgba(248, 250, 252, 0.8);
  border-left-color: #2563eb; /* Темно-синий при hover */
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12); /* Тень для синего */
  transform: translateX(2px);
}

.toggle-content .toggle-list.advantages-list .toggle-list-item:before,
.toggle-content .toggle-list[data-type="advantages"] .toggle-list-item:before {
  content: counter(advantages-counter);
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #3b82f6; /* Акцентный синий для номеров */
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3); /* Тень для синего */
}

/* Mobile optimization for advantages */
@media (max-width: 767px) {
  #kz-advantages + .toggle-label + .toggle-content .toggle-list-item,
  #ru-advantages + .toggle-label + .toggle-content .toggle-list-item,
  .toggle-content .toggle-list.advantages-list .toggle-list-item,
  .toggle-content .toggle-list[data-type="advantages"] .toggle-list-item {
    padding: 10px 14px;
    margin: 6px 0;
    font-size: 12px;
    line-height: 1.4;
  }
  
  #kz-advantages + .toggle-label + .toggle-content .toggle-list-item:before,
  #ru-advantages + .toggle-label + .toggle-content .toggle-list-item:before,
  .toggle-content .toggle-list.advantages-list .toggle-list-item:before,
  .toggle-content .toggle-list[data-type="advantages"] .toggle-list-item:before {
    width: 18px;
    height: 18px;
    font-size: 10px;
    left: -6px;
  }
}

/* Order Steps */
.order {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-top: 25px;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.order:hover {
  background: #f0f0f0;
  transform: translateX(5px);
}

.order:first-child {
  margin-top: 0;
}

.order__img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
  filter: hue-rotate(200deg) saturate(1.5) brightness(0.9); /* Перекраска в синий цвет */
  transition: filter 0.3s ease;
}

/* Специальные фильтры для конкретных иконок */
.order__img[src*="independence"],
.order__img[src*="phone"],
.order__img[src*="shipped"],
.order__img[src*="payment-method"] {
  filter: hue-rotate(200deg) saturate(1.5) brightness(0.9); /* Акцентный синий */
}

.order__img:hover {
  filter: hue-rotate(200deg) saturate(1.8) brightness(1.1); /* Усиление при hover */
}

.order__description {
  font-size: 16px;
  padding-left: 20px;
  color: #333;
  line-height: 1.5;
}

/* Reviews Section */
.reviews-slider {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

.reviews-item {
  display: none;
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

.reviews-item.active {
  display: block;
}

.reviews-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.reviews-img:hover {
  transform: scale(1.02);
}

.reviews-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  cursor: pointer;
  z-index: 2;
  background: rgba(59, 130, 246, 0.9); /* Новый акцентный цвет с прозрачностью */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.reviews-nav:hover {
  background: #3b82f6; /* Новый акцентный цвет */
  transform: translateY(-50%) scale(1.1);
}

.reviews-prev {
  left: 10px;
}

.reviews-next {
  right: 10px;
}

.reviews-dots {
  text-align: center;
  margin: 20px 0;
}

.reviews-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e1; /* Новый цвет неактивных точек */
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.reviews-dot.active {
  background: #3b82f6; /* Новый акцентный цвет для активной точки */
  transform: scale(1.3);
}

/* Footer - Mobile Optimized */
footer {
  background: #f1f5f9; /* Новый цвет фона футера */
  color: #1e293b; /* Новый основной текст */
  padding: 12px 0;
  text-align: center;
  margin-top: 16px;
}

.footer-links {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #3b82f6; /* Новый акцентный цвет */
  display: block;
  text-decoration: none;
  font-size: 12.5px;
  margin: 0.25rem 0;
  transition: color 0.3s ease;
  line-height: 1.2;
}

.footer-links a:hover {
  color: #2563eb; /* Новый hover цвет */
  text-decoration: underline;
}

.company-info {
  font-size: 10px; /* Уменьшенный размер шрифта */
  line-height: 1.35;
  color: #64748b; /* Новый вторичный текст */
  margin-top: 8px;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .slider-track,
  .reviews-slider {
    transition: none !important;
  }
}

/* Tablet optimization - ИДЕНТИЧНО десктопу */
@media (max-width: 1024px) {
  /* Блок discount остается идентичным десктопной версии */
}

/* Mobile Optimization - TikTok/Instagram Focus */
@media (max-width: 767px) {
  .lang-switcher {
    margin: 10px 0 12px 0; /* Умеренный отступ сверху 10px на мобильных */
    font-size: 14.5px;
  }
  .lang-switcher a {
    padding: 6px 10px;
    margin: 0 4px;
  }
  .lang-switcher .active {
    background: #3b82f6 !important;
    color: #fff !important;
  }
  .header__title {
    font-size: 1.4rem;
    padding-top: 10px;
  }

  .header__subtitle {
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-top: 5px;
  }

  /* Price block stays horizontal on mobile */
  .price_block {
    margin: 15px auto 25px;
    padding: 12px 8px;
  }

  /* Mobile styles for discount wedge - ИДЕНТИЧНЫ десктопным */
  .discount {
    min-height: 80px; /* ИДЕНТИЧНО десктопу */
    padding: 30px 0px; /* ИДЕНТИЧНО десктопу */
    margin: -20px 0; /* ИДЕНТИЧНО десктопу */
    font-size: 1.1em; /* ИДЕНТИЧНО десктопу */
    /* ИДЕНТИЧНЫЙ clip-path как на десктопе */
    clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
  }

  /* Текст остается как на десктопе - без переопределений */

  .price_block .text {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .price_block .value {
    font-size: 18px;
    line-height: 22px;
  }

  .price_item.new .value {
    font-size: 20px;
    font-weight: 800;
  }

  .order-form__input {
    height: 55px;
    font-size: 16px;
    margin-bottom: 15px;
  }

  .order-form__button {
    height: 60px;
    font-size: 20px;
    margin: 20px auto;
  }

  .toggle-label {
    font-size: 18px;
    padding: 18px 15px;
  }

  .toggle-label::after {
    font-size: 28px;
    right: 15px;
  }

  .order {
    flex-direction: row;
    text-align: left;
    padding: 15px;
    margin-top: 20px;
  }

  .order__img {
    width: 45px;
    height: 45px;
    margin-bottom: 0;
  }

  .order__description {
    padding-left: 15px;
    font-size: 15px;
  }

  .slider-nav {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }

  .slider-prev {
    left: 8px;
  }

  .slider-next {
    right: 8px;
  }

  /* Reviews mobile optimization */
  .reviews-img {
    max-width: 280px;
    border-radius: 12px;
  }

  .reviews-nav {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .reviews-prev {
    left: 5px;
  }

  .reviews-next {
    right: 5px;
  }

  /* Footer compact mobile */
  footer {
    padding: 12px 0;
    margin-top: 14px;
  }
  .footer-links {
    margin-bottom: 0.3rem;
  }
  .footer-links a {
    margin: 0.2rem 0;
    line-height: 1.2;
    font-size: 12.5px;
  }
  footer .lang-text {
    font-size: 12px; /* -1-2px for compact look */
    line-height: 1.2;
    margin: 0;
    padding: 0;
  }
  footer .company-info {
    font-size: 9px; /* Уменьшенный размер шрифта для мобильных */
    line-height: 1.25;
    margin-top: 4px; /* reduce gap between the two key lines */
  }
}

@media (max-width: 480px) {
  .wrapper {
    padding: 0 10px;
  }

  .header__title {
    font-size: 1.2rem;
  }

  .price_block .value {
    font-size: 20px;
  }

  /* Extra small screens - discount wedge - ИДЕНТИЧНЫ десктопным */
  .discount {
    min-height: 80px; /* ИДЕНТИЧНО десктопу */
    padding: 30px 0px; /* ИДЕНТИЧНО десктопу */
    margin: -20px 0; /* ИДЕНТИЧНО десктопу */
    font-size: 1.1em; /* ИДЕНТИЧНО десктопу */
    /* ИДЕНТИЧНЫЙ clip-path как на десктопе */
    clip-path: polygon(8% 0%, 92% 0%, 100% 100%, 0% 100%);
  }

  /* Текст остается как на десктопе - без переопределений */

  .order-form__input {
    width: 95%;
  }

  .order-form__button {
    width: 95%;
  }
  
  /* Дополнительные отступы для очень маленьких экранов */
  .lang-switcher {
    margin: 8px 0 10px 0; /* Умеренные отступы для очень маленьких экранов */
  }
}