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

body {
    background: #f0f2f5;
    text-align: center;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    color: #000000;
}

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

/* Главная секция */
.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: #f5f5f5;
    border-radius: 15px;
    padding: 10px;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    gap: 5px; /* Уменьшил расстояние между элементами */
    border: 1px solid #e0e0e0;
}

/* Контейнер для каждого элемента */
.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: 13px;
    font-weight: normal;
    color: #000000;
    flex: 1; /* Заполняет оставшееся пространство */
    text-align: center;
}

/* Секция с видео */
.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;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.description-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 0;
    border: 2px solid #e1e8ed;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.description-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.description-item:nth-child(even) {
    flex-direction: row-reverse;
}

.description-item:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 30px rgba(102, 126, 234, 0.15);
    border-color: #667eea;
}

.description-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    margin: 0 15px;
}

.description-text {
    font-size: 13px;
    font-weight: normal;
    color: #2c3e50;
    flex: 1;
    margin-top: 0;
    text-align: left;
    line-height: 1.6;
    display: flex;
    align-items: center;
}


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

.specs-container {
    background: #f5f5f5;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

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

/* Последний элемент без границы */
.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: #f5f5f5;
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.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: #667eea;
}




/* Кнопки навигации */
.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: #f5f5f5;
    border: 1px solid #e0e0e0;
}

.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: 14px;
    font-weight: normal;
    color: #000000;
    flex: 1;
    text-align: center;
}

/* Форма заказа */
.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, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    box-shadow: 0px 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.order-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.order-form label {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    display: block;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.order-form input {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.order-form input:focus {
    border-color: #ffffff;
    background: #ffffff;
    box-shadow: 0px 6px 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.order-form input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.gradient-button {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    padding: 18px;
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    z-index: 1;
    box-shadow: 0px 8px 25px rgba(245, 87, 108, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gradient-button:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-3px);
    box-shadow: 0px 12px 35px rgba(245, 87, 108, 0.6);
}

.gradient-button:active {
    transform: translateY(-1px);
}



/* Подвал */
.footer {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    color: #000000;
    font-size: 12px;
    line-height: 18px;
    border-top: 1px solid #e0e0e0;
}

.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: #000000;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

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



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

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

/* Контейнер изображения */
.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(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0px 6px 12px rgba(102, 126, 234, 0.3);
    margin: 20px auto;
    width: 90%;
}

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

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

.price-strikethrough {
    font-size: 22px;
    font-weight: bold;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

/* Новая цена */
.price-today {
    font-size: 26px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
}

/* Кнопка "Заказать" */
.order-button {
    display: block;
    margin: 25px auto;
    padding: 16px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 15px;
    width: 90%;
    box-shadow: 0px 8px 25px rgba(245, 87, 108, 0.4);
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-button:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-3px);
    box-shadow: 0px 12px 35px rgba(245, 87, 108, 0.6);
}

/* Анимация пульсации для новой цены */
@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: 26px;
    font-weight: bold;
    color: #ffffff;
    animation: pulse 1.5s infinite;
    text-align: center;
}

/* Чекбокс */
.form-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.form-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
    text-align: center;
}

.form-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-align: center;
}

.input-wrapper {
    position: relative;
    z-index: 1;
}

.input-label {
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    display: block;
    margin-bottom: 8px;
}

.form-footer {
    margin-top: 15px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.form-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-align: center;
}

.button-text {
    display: inline-block;
}

.checkbox-wrapper {
    margin-top: 5px;
    text-align: center;
}

.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);
    position: relative;
    z-index: 1;
    justify-content: center;
}

.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: #ffffff;
    font-weight: bold;
    text-decoration: underline;
}

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

/* Адаптивность для description-section */
@media (max-width: 480px) {
    .description-item {
        flex-direction: column !important;
        align-items: center;
    }
    
    .description-image {
        width: 100%;
        max-width: 200px;
        height: auto;
        margin: 0 0 15px 0;
    }
    
    .description-text {
        text-align: center;
    }
}
