/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #ff9ec8 0%, #ffb3d9 25%, #b3e5fc 50%, #a5d6a7 75%, #fff9c4 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    text-align: center;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Заголовки секций */
.section-title,
.product-title {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px #ff6b9d, 6px 6px 0px #ffb3d9;
    letter-spacing: 1px;
}

/* Главная секция */
.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: flex-start;
    background: linear-gradient(135deg, #ff9ec8 0%, #ffb3d9 30%, #b3e5fc 60%, #a5d6a7 100%);
    width: 95%;
    padding: 30px 20px;
    margin: 0 auto 20px;
    box-shadow: 0px 10px 25px rgba(255, 105, 180, 0.5), 
                inset 0px 0px 30px rgba(255, 255, 255, 0.4);
    border: 5px solid #fff;
    position: relative;
    overflow: hidden;
    /* Форма облака с волнистыми краями - детская форма */
    border-radius: 60px 50px 70px 50px / 50px 60px 50px 60px;
}

.description-item::before {
    content: '⭐';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 30px;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.description-item::after {
    content: '✨';
    position: absolute;
    top: -10px;
    right: 25px;
    font-size: 25px;
    animation: float 3s ease-in-out infinite 1.5s;
    z-index: 2;
}

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

.description-image {
    width: 85%;
    max-width: 85%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.3);
    border: 4px solid #fff;
    position: relative;
    z-index: 1;
    margin-bottom: 15px;
}

.description-text {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    max-width: 90%;
    margin-top: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}


/* Секция "Характеристики" */
.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(135deg, #ff9ec8 0%, #ffb3d9 50%, #b3e5fc 100%);
    border-radius: 25px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0px 8px 20px rgba(255, 105, 157, 0.4);
    border: 4px solid #fff;
}

.review-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
    display: none;
    border: 3px solid #fff;
}

.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: 25px;
    gap: 10px;
    background: linear-gradient(135deg, #ff9ec8 0%, #ffb3d9 50%, #b3e5fc 100%);
    border: 3px solid #fff;
    box-shadow: 0px 6px 15px rgba(255, 105, 157, 0.3);
}

.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: 16px;
    font-weight: bold;
    color: #fff;
    flex: 1;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

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

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

.order-form {
    background: linear-gradient(135deg, #ff9ec8 0%, #ffb3d9 50%, #b3e5fc 100%);
    padding: 25px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    box-shadow: 0px 8px 20px rgba(255, 105, 157, 0.4),
                inset 0px 0px 20px rgba(255, 255, 255, 0.3);
    border: 4px solid #fff;
}

.order-form label {
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    text-align: left;
    display: block;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.order-form input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 3px solid #fff;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    outline: none;
    box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.order-form input::placeholder {
    color: rgba(100, 100, 100, 0.6);
}

.gradient-button {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 50%, #ffb3d9 100%);
    border: 3px solid #fff;
    padding: 14px;
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    box-shadow: 0px 6px 20px rgba(255, 105, 157, 0.5), 
                0px 0px 30px rgba(255, 204, 0, 0.3);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.gradient-button:hover {
    background: linear-gradient(135deg, #ff8fab 0%, #ffb3d9 50%, #ff6b9d 100%);
    transform: scale(1.05);
    box-shadow: 0px 8px 25px rgba(255, 105, 157, 0.7), 
                0px 0px 40px rgba(255, 204, 0, 0.5);
}



/* Подвал */
.footer {
    background: linear-gradient(135deg, #ff9ec8 0%, #ffb3d9 50%, #b3e5fc 100%);
    padding: 20px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    border-top: 4px solid #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 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.95);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-links a:hover {
    color: #ffcc00;
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.8);
}



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

/* Название товара */
.product-title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 3px 3px 0px #ff6b9d, 6px 6px 0px #ffb3d9;
    letter-spacing: 1px;
}

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

/* Картинка товара */
.product-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 25px;
    box-shadow: 0px 8px 20px rgba(255, 105, 157, 0.4);
    border: 4px solid #fff;
}

/* Секция с ценой */
.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff9ec8 0%, #ffb3d9 50%, #b3e5fc 100%);
    padding: 20px;
    border-radius: 25px;
    box-shadow: 0px 8px 20px rgba(255, 105, 157, 0.4),
                inset 0px 0px 20px rgba(255, 255, 255, 0.3);
    margin: 20px auto;
    width: 90%;
    border: 4px solid #fff;
}

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

.price-label {
    font-size: 15px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.95);
    display: block;
    margin-bottom: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.price-strikethrough {
    font-size: 26px;
    font-weight: bold;
    text-decoration: line-through;
    color: rgba(200, 200, 200, 1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

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

/* Кнопка "Заказать" */
.order-button {
    display: block;
    margin: 25px auto;
    padding: 16px;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 50%, #ffb3d9 100%);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
    width: 90%;
    box-shadow: 0px 6px 20px rgba(255, 105, 157, 0.5), 
                0px 0px 30px rgba(255, 204, 0, 0.3);
    transition: 0.3s;
    border: 3px solid #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.order-button:hover {
    background: linear-gradient(135deg, #ff8fab 0%, #ffb3d9 50%, #ff6b9d 100%);
    transform: scale(1.05);
    box-shadow: 0px 8px 25px rgba(255, 105, 157, 0.7), 
                0px 0px 40px rgba(255, 204, 0, 0.5);
}

/* Анимация пульсации для новой цены */
@keyframes pulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 15px rgba(255, 0, 0, 1),
                     0 0 25px rgba(255, 0, 0, 0.8),
                     0 0 35px rgba(255, 0, 0, 0.6),
                     3px 3px 0px #fff,
                     -3px -3px 0px #fff,
                     3px -3px 0px #fff,
                     -3px 3px 0px #fff;
    }
    50% {
        transform: scale(1.1);
        text-shadow: 0 0 25px rgba(255, 0, 0, 1),
                     0 0 35px rgba(255, 0, 0, 0.9),
                     0 0 45px rgba(255, 0, 0, 0.7),
                     0 0 55px rgba(255, 0, 0, 0.5),
                     4px 4px 0px #fff,
                     -4px -4px 0px #fff,
                     4px -4px 0px #fff,
                     -4px 4px 0px #fff;
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 15px rgba(255, 0, 0, 1),
                     0 0 25px rgba(255, 0, 0, 0.8),
                     0 0 35px rgba(255, 0, 0, 0.6),
                     3px 3px 0px #fff,
                     -3px -3px 0px #fff,
                     3px -3px 0px #fff,
                     -3px 3px 0px #fff;
    }
}

/* Новая цена с анимацией */
.price-today {
    font-size: 30px;
    font-weight: bold;
    color: #ff0000;
    animation: pulse 1.5s infinite;
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 240, 240, 0.95) 100%);
    border-radius: 20px;
    border: 4px solid #ff0000;
    box-shadow: 0px 0px 20px rgba(255, 0, 0, 0.8),
                0px 0px 40px rgba(255, 0, 0, 0.5),
                inset 0px 0px 10px rgba(255, 255, 255, 0.5);
}

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

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.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;
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

.checkbox-label a:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.8);
}
