/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #2d2a30ad;
    background-image: url('../image/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

/* Заголовки секций */
.section-title,
.product-title {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Главная секция */
.product-section {
    width: 100%;
    padding: 20px;
}

.product-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.product-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Кнопка "Заказать" */
.order-button {
    display: block;
    margin: 20px auto;
    padding: 15px;
    background: linear-gradient(90deg, #ff7e5f, #ff4500);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 12px;
    width: 90%;
       box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.order-button:hover {
    background: linear-gradient(90deg, #ff4500, #ff7e5f);
    transform: scale(1.05);
}

/* Секция с преимуществами */
.features-section {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.features-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 15px;
    padding: 15px;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.feature-item {
    text-align: center;
    flex: 1;
}

.feature-image {
    width: 80px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.feature-text {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-top: 5px;
}

/* Секция с видео */
.video-section {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Секция с галереей */
.gallery-section {
  width: 100%;
  max-width: 480px;
  padding: 20px;
  text-align: center;
  margin: 0px 0 30px;
}

.gallery-container {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.1) 100%);
  border-radius: 15px;
  padding: 15px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.gallery-images {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 5px;
}

.gallery-images img {
  width: 300px; /* или 150px, если нужно ещё больше */
  height: auto;
  border-radius: 12px;
  flex-shrink: 0;
  scroll-snap-align: center;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}


.gallery-images img:hover {
  transform: scale(1.05);
}


/* Секция с описанием */
.description-section {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    text-align: center;
}

.description-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
}

.description-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.description-text {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    max-width: 90%;
    margin-top: 10px;
}


/* Секция "Характеристики" */
.specs-section {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    text-align: center;
}

.specs-container {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Элемент характеристики */
.specs-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Последний элемент без границы */
.specs-item:last-child {
    border-bottom: none;
}

/* Декоративные точки между характеристикой и значением */
.dots {
    flex-grow: 1;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
    margin: 0 10px;
}





.reviews-section {
  margin: 40px 0 30px;
  text-align: center;
}

/* Общая карточка отзывов */
.reviews-container {
  width: 90%;
  margin: 0 auto;
  padding: 15px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.1) 100%);
  border-radius: 15px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Основное изображение */
.review-main {
  margin-bottom: 15px;
}

.review-main img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Миниатюры */
.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;
}


/* Секция "Как заказать" */
.how-to-order {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    text-align: center;
}

.order-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 20px;
    gap: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.1) 100%);
}

.order-step:nth-child(odd) {
    flex-direction: row;
}

.order-step:nth-child(even) {
    flex-direction: row-reverse;
}

.order-image {
    width: 85px;
    height: 85px;
    border-radius: 50%;
}

.order-text {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    flex: 1;
    text-align: left;
}

/* Форма заказа */
.order-form-section {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    text-align: center;
}

.product-image-container {
    margin-bottom: 20px;
}

.order-form {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.1) 100%);
    padding: 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.order-form label {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-align: left;
    display: block;
    margin-bottom: 5px;
}

.order-form input {
    width: 100%;
    padding: 14px;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    outline: none;
}

.order-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.gradient-button {
    background: linear-gradient(90deg, #ff7e5f, #ff4500);
    border: none;
    padding: 16px;
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.gradient-button:hover {
    background: linear-gradient(90deg, #ff4500, #ff7e5f);
    transform: scale(1.05);
}

/* Подвал */
.footer {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 30%, rgba(255, 255, 255, 0.05) 100%);
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-container {
    max-width: 480px;
    margin: 0 auto;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-top: 5px;
}

.footer-link:hover {
    color: #ff7e5f;
    text-decoration: underline;
}

.footer-links {
    margin-top: 10px;
}

/* Главная секция */
.product-section {
    width: 100%;
    padding: 20px;
    text-align: center;
}

/* Название товара */
.product-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Контейнер изображения */
.product-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

/* Картинка товара */
.product-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Секция с ценой */
.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, rgb(148 83 227) 20%, rgb(238 94 158) 80%);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    margin: 20px auto;
    width: 90%;
}



/* Обычная цена (перечеркнутая) */
.old-price, .new-price {
    flex: 1;
    text-align: center;
}

.price-label {
    font-size: 18px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-bottom: 8px;
}

.price-strikethrough {
    font-size: 30px;
    font-weight: bold;
    text-decoration: line-through;
    color: rgba(220, 220, 220, 1);
}


/* Новая цена */
.price-today {
    font-size: 34px;
    font-weight: bold;
    color: #ffcc00;
}

/* Кнопка "Заказать" */
.order-button {
    display: block;
    margin: 25px auto;
    padding: 18px;
    background: linear-gradient(90deg, #f55e98, #8a51ea);
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 14px;
    width: 90%;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
}

.order-button:hover {
    background: linear-gradient(90deg, #ff3c00, #ff6a00);
    transform: scale(1.07);
}

/* Чек-бокс */
.checkbox-label {
  font-size: 12px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: left;
  line-height: 1.3;
  margin: 5px 0 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.checkbox-label input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: #23cba3;
  margin: 0;
}

.checkbox-label span {
  font-size: 12px;
  color: #fff;
}

.checkbox-label a {
  color: #ffe600;
  text-decoration: underline;
  font-size: 12px;
}



/* Анимация пульсации для новой цены */
@keyframes pulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
    }
    50% {
        transform: scale(1.08);
        text-shadow: 0 0 15px rgba(255, 204, 0, 1);
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
    }
}

/* Новая цена с анимацией */
.price-today {
    font-size: 34px;
    font-weight: bold;
    color: #ffcc00;
    animation: pulse 1.5s infinite;
}
