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

body {
    background: #333;
    background-image: url('https://pyzh.of.by/fb_spa/files/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;
    flex-direction: column; /* Размещаем элементы в колонку */
    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: 10px;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    gap: 5px; /* Уменьшил расстояние между элементами */
}

/* Контейнер для каждого элемента */
.feature-item {
    display: flex;
    align-items: center; /* Выравниваем картинку и текст по центру */
    text-align: left;
    width: 100%;
    padding: 5px 0; /* Минимальный внутренний отступ */
}

/* Размер изображения */
.feature-image {
    width: 80px;
    height: 80px;
    display: block;
    margin-right: 15px; /* Немного уменьшил отступ между картинкой и текстом */
}

/* Текст */
.feature-text {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    flex: 1; /* Заполняет оставшееся пространство */
}

/* Секция с видео */
.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;
}

/* Секция с описанием */
.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 {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    text-align: center;
}

.review-main {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

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

.review-image.active {
    display: block;
}

.review-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.review-thumbs .thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
}

.review-thumbs .thumb:hover,
.review-thumbs .thumb.active {
    opacity: 1;
    border-color: #ffcc00;
}




/* Кнопки навигации */
.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
}

.gallery-prev {
    left: 5px;
}

.gallery-next {
    right: 5px;
}

.gallery-prev:hover, .gallery-next:hover {
    background: rgba(0, 0, 0, 0.8);
}


/* Секция "Как заказать" */
.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: 16px;
    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: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffcc00;
    text-decoration: underline;
}



/* Главная секция */
.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, rgba(150, 150, 150, 0.3) 20%, rgba(28, 187, 225, 0.8) 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, #ff6a00, #ff3c00);
    color: #fff;
    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);
}

/* Анимация пульсации для новой цены */
@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;
}

/* Чекбокс */
.checkbox-wrapper {
    margin-top: -10px;
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.85);
}

.checkbox-label input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #ff7e5f;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.checkbox-label span {
    display: inline;
    font-weight: normal;
}

.checkbox-label a {
    color: #ffcc00;
    font-weight: normal;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}
