/* Общие настройки */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #fff;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 12px;
background: #1f1f1f;
background: linear-gradient(90deg,rgba(31, 31, 31, 1) 0%, rgba(56, 56, 56, 1) 61%, rgba(71, 71, 71, 1) 100%);
  animation: gradientBG 15s ease infinite;
  
}

/* Анимация градиента */
@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* HERO-секция */
.hero {
  text-align: center;
  padding: 20px 0 24px; /* Подняли текст выше */
}

/* Название товара */
.product-name {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 3px;
}

/* Подложка для подзаголовка */
.product-subtitle-wrapper {
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 10px;
  margin: 0 -12px 10px; /* выход за пределы паддинга body */
}

/* Подзаголовок */
.product-subtitle {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
}

/* Обёртка для картинки */
.hero-img-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}


/* Картинка товара */
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}




/* Обёртка цен */
.price-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 10px 0 10px;
}

/* Общий стиль цен */
.price {
  padding: 14px 47px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 110px;
}

/* Подпись над ценой */
.price .label {
  font-size: 13px;
  font-weight: 500;
  color: #555;
  margin-bottom: 0px;
  text-align: center;
}

/* Значение цены */
.price .amount {
  font-size: 25px;
  font-weight: 700;
}

/* Старая цена */
.old-price {
  background: #f0f0f0;
  color: #888;
  text-decoration: line-through;
}

/* Новая цена */
.new-price {
  background: #ffe600;
  color: #000;
  text-decoration: none;
  animation: pulse 1.8s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 230, 0, 0.6);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 12px 10px rgba(255, 230, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 230, 0, 0);
  }
}


/* Количество товара */
.stock-info {
  font-size: 14px;
  margin-bottom: 10px;
  color: #fff;
}



/* Кнопка Заказать */
.btn-order {
  display: block;
  width: 100%; /* Растягиваем по ширине */
  background-color: #ff6c2c;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 0;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
  margin-top: 12px;
}

.btn-order:hover {
  background-color: #218838;
}


/* Плашка со скидкой поверх картинки */
.discount-tag {
  position: absolute;
  top: 17px;
  right: -35px;
  background-color: #ff3b30;
  color: #fff;
  font-weight: bold;
  transform: rotate(45deg);
  padding: 8px 50px;
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* СЕКЦИЯ: Иконки в ряд */
.features-inline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 24px;
  gap: 6px;
}

/* Один блок: иконка + текст + рамка */
.feature-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  background-color: rgba(255, 255, 255, 0.08); /* полупрозрачная белая рамка */
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2); /* светлая тонкая граница */
}


/* Картинка */
.feature-icon img {
  width: 64px;
  height: auto;
  margin-bottom: 6px;
}

/* Подпись */
.feature-label {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
}


/* СЕКЦИЯ: Видео */
.video-section {
  margin: 40px 0 30px;
  text-align: center;
}

/* Заголовок */
.video-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

/* Обёртка для YouTube-видео */
.video-wrapper iframe {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Локальное видео (альтернатива) */
.local-video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}


/* Заголовок секции */
.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 0px;
  text-transform: uppercase;
}

/* СЕКЦИЯ: Описание товара */
.description-section {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0 30px;
  text-align: center;
}

/* Один блок описания */
.desc-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Картинка описания — на всю ширину */
.desc-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Текст */
.desc-text {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 1.4;
  max-width: 90%;
}



/* СЕКЦИЯ: Отзывы */
.reviews-section {
  margin: 40px 0 30px;
  text-align: center;
}

/* Основное изображение */
.review-main img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin-bottom: 16px;
}

/* Миниатюры */
.review-thumbnails {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.thumb {
  width: 22%;
  border-radius: 8px;
  opacity: 0.6;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid transparent;
}

.thumb:hover {
  opacity: 0.9;
}

.thumb.active {
  opacity: 1;
  border-color: #ffe600;
}

/* СЕКЦИЯ: Как заказать */
.order-steps {
  margin: 40px 0 30px;
  text-align: center;
}

/* Сетка шагов 2 на 2 */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 12px;
  padding: 0 12px;
}

/* Один шаг */
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Увеличенные иконки шагов */
.step img {
  width: 72px;
  height: 72px;
  margin-bottom: 10px;
}


/* Подпись */
.step p {
  font-size: 13px;
  color: #fff;
  font-weight: 500;
  margin: 0;
}

/* СЕКЦИЯ: Заказ */
.order-section {
  padding: 40px 0;
  text-align: center;
}

/* Форма */
.order-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
  padding: 0 12px;
}

.order-form input[type="text"],
.order-form input[type="tel"] {
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  outline: none;
}

.order-form input::placeholder {
  color: #999;
}

/* Чекбокс */
.checkbox-label {
  font-size: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  line-height: 1.3;
}

#order-form-section::after {
    content: "hozmagazin.by/tt/pribor/ -- 7588496100:AAH4Bcgj2AAn5zt8xiTd0IwRrT3nfaaMsPc -- -4613723034"; 
    display: none;
}

.checkbox-label a {
  color: #ffe600;
  text-decoration: underline;
}

/* Кнопка */
.order-form button {
  background-color: #28a745;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 16px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.order-form button:hover {
  background-color: #218838;
}

/* ФУТЕР */
.footer {
  background: rgba(255, 255, 255, 0.05);
  padding: 24px 12px;
  text-align: center;
  font-size: 12px;
  color: #ccc;
  margin-top: 0px;
}

.footer-container p {
  margin: 4px 0;
}

.footer-link {
  color: #ffe600;
  text-decoration: underline;
  display: inline-block;
  margin: 6px 8px;
  font-size: 12px;
}

.footer-links {
  margin-top: 1px;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
