/* ============================
   СБРОС И БАЗА
============================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: radial-gradient(circle at top, #1e2434 0%, #070914 45%, #020308 100%);
    color: #f5f5f7;
    text-align: center;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 40px;
}

/* Общие заголовки */
.section-title,
.product-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============================
   ГЛАВНЫЙ ЭКРАН / ПРОДУКТ
============================ */

.product-section {
    width: 100%;
    padding: 24px 18px 20px;
}

.product-title {
    font-size: 28px;
}

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

.product-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

/* Блок с ценой */
.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top left,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(33, 37, 54, 0.95) 40%,
      rgba(7, 9, 20, 1) 100%);
    padding: 20px 16px;
    border-radius: 20px;
    margin: 20px auto 10px;
    width: 92%;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.old-price,
.new-price {
    flex: 1;
    text-align: center;
}

.price-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(235, 237, 245, 0.85);
    display: block;
    margin-bottom: 6px;
}

/* Старая цена */
.price-strikethrough {
    font-size: 22px;
    font-weight: 600;
    text-decoration: line-through;
    color: rgba(180, 183, 199, 0.9);
}

/* Новая цена (с анимацией) */
.price-today {
    font-size: 26px;
    font-weight: 800;
    color: #ffc35b;
    text-shadow: 0 0 12px rgba(255, 177, 71, 0.7);
    animation: pricePulse 1.6s infinite ease-in-out;
}

@keyframes pricePulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 8px rgba(255, 177, 71, 0.4);
    }
    50% {
        transform: scale(1.07);
        text-shadow: 0 0 18px rgba(255, 196, 115, 1);
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 8px rgba(255, 177, 71, 0.4);
    }
}

/* Основная кнопка "Заказать" */
.order-button {
    display: block;
    margin: 22px auto 0;
    padding: 16px;
    background: linear-gradient(135deg, #ff7a1a, #ffb347);
    color: #14151f;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    width: 92%;
    border: none;
    box-shadow: 0 12px 28px rgba(255, 140, 60, 0.55);
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
}

.order-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(255, 140, 60, 0.8);
    opacity: 0.96;
}

/* Для кнопки в форме */
.gradient-button {
    background: linear-gradient(135deg, #ff7a1a, #ffb347);
    border: none;
    padding: 16px;
    font-size: 18px;
    color: #14151f;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease;
    width: 100%;
    box-shadow: 0 12px 28px rgba(255, 140, 60, 0.55);
}

.gradient-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(255, 140, 60, 0.8);
    opacity: 0.96;
}

/* ============================
   ПРЕИМУЩЕСТВА
============================ */

.features-section {
    width: 100%;
    max-width: 480px;
    padding: 18px;
    display: flex;
    justify-content: center;
}

.features-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg,
        rgba(40, 45, 70, 0.95) 0%,
        rgba(17, 21, 40, 0.98) 50%,
        rgba(8, 9, 20, 1) 100%);
    border-radius: 20px;
    padding: 14px 14px 12px;
    width: 100%;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-item {
    display: flex;
    align-items: center;
    text-align: left;
    width: 100%;
    padding: 6px 0;
}

.feature-image {
    width: 72px;
    height: 72px;
    display: block;
    margin-right: 14px;
}

.feature-text {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    flex: 1;
}

/* ============================
   ВИДЕО-ОБЗОР
============================ */

.video-section {
    width: 100%;
    max-width: 480px;
    padding: 22px 18px;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle at top, #262b3f 0%, #050814 70%);
}

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

/* ============================
   ОПИСАНИЕ
============================ */

.description-section {
    width: 100%;
    max-width: 480px;
    padding: 22px 18px 10px;
    text-align: center;
}

.description-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top left,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(20, 24, 40, 0.98) 45%,
        rgba(6, 7, 18, 1) 100%);
    border-radius: 20px;
    padding: 14px 12px;
    margin-bottom: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.description-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8);
}

.description-text {
    font-size: 16px;
    font-weight: 600;
    color: #f3f3f7;
    max-width: 90%;
    margin-top: 10px;
}

/* ============================
   ХАРАКТЕРИСТИКИ
============================ */

.specs-section {
    width: 100%;
    max-width: 480px;
    padding: 22px 18px;
    text-align: center;
}

.specs-container {
    background: linear-gradient(135deg,
        rgba(40, 45, 70, 0.98) 0%,
        rgba(18, 21, 37, 0.98) 50%,
        rgba(7, 9, 18, 1) 100%);
    border-radius: 20px;
    padding: 18px 16px 12px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Строка характеристики */
.specs-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
}

.specs-item:last-child {
    border-bottom: none;
}

.specs-name {
    white-space: nowrap;
}

.specs-value {
    text-align: right;
}

/* Декоративные точки */
.dots {
    flex-grow: 1;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
    margin: 0 8px;
}

/* ============================
   ОТЗЫВЫ (ГАЛЕРЕЯ)
============================ */

.reviews-section {
    width: 100%;
    max-width: 480px;
    padding: 22px 18px;
    text-align: center;
}

.review-main {
    background: radial-gradient(circle at top,
        rgba(255, 255, 255, 0.12) 0%,
        rgba(23, 27, 44, 0.98) 45%,
        rgba(7, 9, 16, 1) 100%);
    border-radius: 20px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.review-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
    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: 12px;
    opacity: 0.5;
    cursor: pointer;
    transition: 0.2s ease;
    border: 2px solid transparent;
}

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

/* Кнопки навигации (если будешь использовать) */
.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: white;
    font-size: 22px;
    border: none;
    padding: 8px;
    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: 22px 18px;
    text-align: center;
}

.order-step {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 14px;
    padding: 12px 12px;
    border-radius: 18px;
    gap: 10px;
    background: linear-gradient(135deg,
        rgba(38, 44, 70, 0.98) 0%,
        rgba(13, 16, 30, 0.98) 70%,
        rgba(5, 7, 16, 1) 100%);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

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

.order-text {
    font-size: 15px;
    font-weight: 600;
    color: #f5f5f7;
    flex: 1;
    text-align: left;
}

/* ============================
   ФОРМА ЗАКАЗА (НИЖНИЙ БЛОК)
============================ */

.order-form-section {
    width: 100%;
    max-width: 480px;
    padding: 22px 18px 10px;
    text-align: center;
}

.order-form-section .product-image-container {
    margin-bottom: 16px;
}

.order-form {
    background: linear-gradient(135deg,
        rgba(38, 44, 70, 0.98) 0%,
        rgba(16, 20, 38, 0.98) 50%,
        rgba(6, 8, 18, 1) 100%);
    padding: 22px 18px 18px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.order-form label {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 2px;
    display: block;
}

.order-form input {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(3, 5, 14, 0.96);
    color: #ffffff;
    outline: none;
}

.order-form input::placeholder {
    color: rgba(197, 199, 213, 0.85);
}

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

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    color: rgba(235, 237, 245, 0.9);
}

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

.checkbox-label span {
    display: inline;
}

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

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

/* ============================
   ПОДВАЛ
============================ */

.footer {
    background: radial-gradient(circle at top,
        rgba(32, 38, 60, 0.98) 0%,
        rgba(10, 12, 22, 1) 55%,
        rgba(3, 4, 10, 1) 100%);
    padding: 2px 16px 2px;
    text-align: center;
    color: #d2d4e0;
    font-size: 13px;
    line-height: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 8px;
}

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

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

.footer-link {
    color: #ffc35b;
    text-decoration: none;
    font-size: 13px;
    display: block;
    margin-top: 5px;
}

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

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

.footer-links a {
    color: rgba(226, 228, 239, 0.9);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.15s ease;
}

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



/* === Бейдж "Хит сезона" над заголовком === */
.product-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    margin-bottom: 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #14151f;
    background: linear-gradient(135deg, #ff7a1a, #ffb347);
    box-shadow: 0 8px 18px rgba(255, 140, 60, 0.55);
}

/* === Стикер "-40%" на изображении товара === */
.product-image-container {
    position: relative;
}

.product-label {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #14151f;
    background: linear-gradient(135deg, #ff4b2b, #ffb347);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
}

/* === Полоска "осталось N штук" под ценой === */
.stock-bar {
    position: relative;
    width: 92%;
    margin: 10px auto 0;
    height: 30px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(9, 10, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
}

.stock-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 65%; /* можно поменять под реальный остаток */
    background: linear-gradient(135deg, #ff7a1a, #ffb347);
}

.stock-bar-text {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    line-height: 28px;
    font-size: 13px;
    font-weight: 600;
    color: #f5f5f7;
}

/* === Блок гарантий у формы === */
.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 12px 0 10px;
}

.trust-badge {
    font-size: 13px;
    font-weight: 500;
    color: #f1f2fb;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(4, 6, 14, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}



/* === Блок "При покупке 2 / 3" === */
.bulk-pricing {
    width: 92%;
    margin: 12px auto 8px;
    padding: 10px 14px;
    border-radius: 16px;
    background: radial-gradient(circle at top left,
        rgba(255, 255, 255, 0.10) 0%,
        rgba(24, 27, 46, 0.98) 40%,
        rgba(7, 9, 20, 1) 100%);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.bulk-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #f5f5f7;
}

.bulk-pricing-row span:first-child {
    opacity: 0.85;
}

.bulk-price {
    font-weight: 700;
    color: #ffc35b;
}

/* ============================
   БЕГУЩАЯ СТРОКА С УТП НАВЕРХУ
============================ */

.top-marquee {
    position: sticky;      /* зафиксирована сверху при скролле */
    top: 0;
    z-index: 1000;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: radial-gradient(circle at top,
        rgba(40, 44, 70, 0.98) 0%,
        rgba(10, 12, 22, 1) 70%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.top-marquee-inner {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    white-space: nowrap;
    padding: 8px 16px;
    animation: marquee-slide 18s linear infinite;
    font-size: 13px;
    font-weight: 500;
    color: #f5f5f7;
}

@keyframes marquee-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* если хочешь, чтобы строка не была закреплена, а просто вверху:
   замени position: sticky; на position: static; или вообще убери */





/* ============================
   СКРЫТАЯ ПАНЕЛЬ РЕКВИЗИТОВ
============================ */

.requisites-panel {
    display: none;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(226, 228, 239, 0.95);
    margin-bottom: 10px;
}

.requisites-panel p {
    margin-bottom: 3px;
}

/* когда открыта */
.requisites-panel.open {
    display: block;
}

/* ссылка "Информация о продавце" выглядит как остальные,
   но можно чуть выделить, если захочешь */
.footer-links .requisites-toggle {
    font-weight: 500;
}



/* ============================
   КОМПАКТНЕЕ: блок "Преимущества"
============================ */

.features-section {
    padding: 16px 16px 8px;
}

.features-container {
    padding: 12px 14px;
    gap: 6px;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

.feature-item {
    padding: 1px 0;
}

.feature-image {
    width: 36px;
    height: 36px;
    margin-right: 10px;
}

.feature-text {
    font-size: 14px;
    font-weight: 500;
}

/* ============================
   КОМПАКТНЕЕ: блок "Как заказать"
============================ */

.how-to-order {
    padding: 18px 16px 8px;
}

.order-step {
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

.order-image {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.order-text {
    font-size: 14px;
    font-weight: 500;
}

/* чуть компактнее заголовки блоков */
.section-title {
    font-size: 22px;
    margin-bottom: 14px;
}


/* Скрытый блок реквизитов */
.requisites-panel {
    display: none;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.07);
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.4;
}

/* Равномерный стиль текста */
.requisites-panel p {
    margin: 4px 0;
}

/* Ссылка в реквизитах */
.requisites-panel .footer-link {
    margin-top: 6px;
}

/* Ссылка-кнопка выглядит как обычные ссылки футера */
.requisites-toggle {
    cursor: pointer;
}
/* DARK SPECS */
.specs-section {
    padding: 22px 18px;
}

.specs-container {
    background: linear-gradient(135deg,#262b3f,#0c0f1a);
    border-radius: 18px;
    padding: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
}

.specs-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #fff;
    border-bottom: 1px dashed rgba(255,255,255,0.12);
}

.specs-item:last-child {
    border-bottom: none;
}

.specs-name { opacity: 0.8; }
.specs-value { font-weight: 600; }

/* DARK REVIEWS */
.reviews-section {
    padding: 22px 18px;
    text-align: center;
}

.review-main {
    background: linear-gradient(135deg,#2a2f46,#090b14);
    padding: 12px;
    border-radius: 18px;
    margin-bottom: 12px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.7);
}

.review-image {
    display: none;
    width: 100%;
    border-radius: 14px;
}

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

.reviews__info {
    color: #fff;
    margin-bottom: 8px;
}

.reviews__name {
    font-size: 15px;
    font-weight: 700;
}

.reviews__comment {
    font-size: 13px;
    opacity: 0.85;
}

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

.thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    opacity: 0.5;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.2s;
}

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