:root {
    --header-bg: #1f7a33;
    --primary-text: #333333;
    --accent-red: #14652a;
    --price-old: #999999;
    --price-main: #1f7a33;
    --btn-bg: #2ca23f;
    --btn-shadow: #14652a;
    --input-border: #cccccc;
    --bg-light: #f9f9f9;
    --card-bg: #e8f5e9;
    --timer-border: #cccccc;
    --menu-bg: #145724;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #222; /* Темний фон браузера */
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

/* Обмежувач 480px */
.mobile-wrapper {
    width: 480px;
    background-color: #fff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* --- HEADER --- */
.header {
    background-color: var(--header-bg);
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 480px; /* Фіксуємо ширину хедера */
    z-index: 1000;
    height: 60px;
}

.header-logo {
    display: flex;
    align-items: center;
    color: white;
}

.header-logo img {
    height: 30px;
    margin-right: 10px;
}

.logo-text {
    font-size: 10px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
}

/* Burger Menu Icon */
.burger-menu {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1100; /* Поверх меню */
}

.burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-line:nth-child(1) { top: 0; }
.burger-line:nth-child(2) { top: 9px; }
.burger-line:nth-child(3) { top: 18px; }

/* Анімація хрестика */
.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}
.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}
.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

/* Mobile Nav Dropdown */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 480px; /* На ширину враппера */
    /* Центруємо меню відносно екрану, якщо враппер по центру */
    left: 50%; 
    transform: translateX(-50%) translateY(-100%); 
    
    background-color: var(--header-bg);
    padding-top: 70px;
    padding-bottom: 20px;
    transition: transform 0.3s ease;
    z-index: 1050;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.mobile-nav.active {
    transform: translateX(-50%) translateY(0);
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    margin: 15px 0;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    padding: 5px;
}

/* Padding fix */
.content-padding {
    padding-top: 60px;
}

/* --- HERO --- */
.hero-img-container {
    width: 100%;
    background-color: #f0f0f0;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-img-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- PRICE --- */
.price-section {
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-left {
    display: flex;
    flex-direction: column;
}

.old-price-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.old-price {
    text-decoration: line-through;
    color: var(--price-old);
    font-size: 18px;
}

.discount-badge {
    background-color: var(--accent-red);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.current-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--price-main);
    line-height: 1;
}

.currency {
    font-size: 24px;
}

.economy-text {
    color: #888;
    font-size: 14px;
    margin-top: 5px;
}

/* --- TIMER --- */
.timer-block {
    text-align: right;
}

.timer-label {
    font-size: 12px;
    color: #333;
    margin-bottom: 5px;
}

.timer-boxes {
    display: flex;
    gap: 5px;
}

.timer-box {
    border: 1px solid var(--timer-border);
    border-radius: 5px;
    width: 45px;
    height: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timer-val {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 1;
}

.timer-unit {
    font-size: 10px;
    color: #888;
}

/* Features Text */
.hero-features {
    padding: 15px;
    display: flex;
    align-items: start;
    gap: 10px;
    color: #333;
    font-size: 15px;
    line-height: 1.4;
    background: #f9f9f9;
}

.check-icon {
    color: var(--header-bg);
    font-weight: bold;
    min-width: 20px;
}

/* --- BENEFITS --- */
.benefits-section {
    padding: 30px 15px;
    background-color: white;
}

.benefits-title {
    text-align: center;
    color: var(--header-bg);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.benefit-card {
    background-color: var(--card-bg);
    padding: 20px 10px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.benefit-card.full-width {
    grid-column: span 2;
    padding: 25px;
}

.benefit-icon {
    font-size: 24px;
    margin-bottom: 10px;
    color: #555;
}

.benefit-head {
    font-weight: 700;
    color: #222;
    margin-bottom: 5px;
    font-size: 16px;
}

.benefit-desc {
    font-size: 13px;
    color: #888;
}

/* --- FORM --- */
.form-section {
    padding: 30px 20px;
    background-color: #fbfbfb;
    text-align: center;
}

.form-title {
    color: var(--header-bg);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #888;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--input-border);
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    font-family: inherit;
}

.btn-submit {
    background-color: var(--btn-bg);
    color: white;
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 0 var(--btn-shadow);
    transition: transform 0.1s;
}

.btn-submit:active {
    transform: translateY(4px);
    box-shadow: none;
}

.stock-count {
    margin-top: 15px;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.stock-number {
    background-color: var(--btn-bg);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* --- VIDEO SECTION --- */
.video-section {
    padding: 30px 15px;
    background-color: #f9f9f9; /* Світло-сірий фон, як на скріні */
    text-align: center;
    border-bottom: 1px solid #eee;
}

.video-title {
    color: var(--header-bg); /* Темно-коричневий #594949 */
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.3;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    /* Тінь для краси */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-thumb {
    width: 100%;
    height: auto;
    display: block;
    min-height: 250px; /* Висота заглушки */
    object-fit: cover;
}

/* PLAY BUTTON & PULSE ANIMATION */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    /* Центрування та початкова позиція для анімації */
    transform: translate(-50%, -50%);
    
    width: 70px;
    height: 70px;
    background-color: rgba(31, 122, 51, 0.85); /* Напівпрозорий коричневий */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    
    /* Підключаємо анімацію */
    animation: pulse 2s infinite;
}

.play-triangle {
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 20px solid white;
    margin-left: 5px; /* Оптична корекція центру */
}

/* Keyframes для пульсації */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(31, 122, 51, 0.7);
    }
    70% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 0 20px rgba(31, 122, 51, 0);
    }
    100% {
        transform: translate(-50%, -50%) scale(0.95);
        box-shadow: 0 0 0 0 rgba(31, 122, 51, 0);
    }
}

.video-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    max-width: 90%;
    margin: 0 auto;
}

/* --- HELPER SECTION --- */
.helper-section {
    background-color: #fff;
    padding-top: 30px;
    padding-bottom: 0; /* Картинка зазвичай йде впритул до низу або наступної секції */
    text-align: center;
    border-bottom: 1px solid #eee;
}

.helper-title {
    color: var(--header-bg); /* Темно-коричневий #594949 */
    font-size: 26px; /* Трохи більший шрифт */
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 20px;
    padding: 0 10px;
    margin-top: 20px;
}

.helper-desc {
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    max-width: 90%;
    margin: 0 auto 30px auto; /* Відступ до картинки */
}

.helper-visual {
    width: 100%;
    display: block;
}

.helper-visual img {
    width: 100%;
    height: auto;
    display: block; /* Прибирає зайві відступи знизу картинки */
}

/* --- CTA STRIP --- */
.cta-strip {
    padding: 30px 20px;
    background-color: #fff;
    text-align: center;
    border-bottom: 1px solid #eee; /* Розділювач */
}

.btn-cta {
    display: inline-block;
    background-color: var(--btn-bg); /* Той самий коричневий колір */
    color: white;
    padding: 18px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 4px 0 var(--btn-shadow); /* Об'ємна тінь */
    transition: transform 0.1s;
    width: 100%; /* На мобільному кнопка широка */
    max-width: 400px; /* Обмеження, щоб не була гігантською */
    cursor: pointer;
}

.btn-cta:active {
    transform: translateY(4px); /* Ефект натискання */
    box-shadow: none;
}

/* Стилі для лічильника (.stock-count) ми вже прописали раніше, 
   вони підтягнуться автоматично */

   /* Відступ між кожним блоком з текстом і картинкою */
.helper-block {
    margin-bottom: 50px; /* Відступ знизу кожного блоку */
    padding-bottom: 20px;
    border-bottom: 1px solid #eee; /* Тонка лінія розділення (опціонально) */
}

/* Прибираємо лінію та відступ у останнього блоку */
.helper-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* --- DETAILS SECTION --- */
.details-section {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.details-title {
    color: var(--header-bg);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.details-subtitle {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto 30px auto;
}

/* SWIPER STYLES */
.swiper {
    width: 100%;
    padding-bottom: 40px !important; /* Місце для крапок знизу */
}

.swiper-slide {
    background: white;
    border-radius: 15px;
    /* Важливо: ширина слайда */
    width: 280px !important; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    /* Для плавності перетягування */
    user-select: none; 
}

.card-img {
    width: 100%;
    height: auto;
    background-color: #eee;
}

.card-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.card-content {
    padding: 15px;
    text-align: left;
    /* Фіксована висота, щоб картки були рівні */
    min-height: 140px; 
}

.card-content h3 {
    font-size: 18px;
    color: #222;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-content p {
    font-size: 13px;
    color: #777;
    line-height: 1.4;
}

/* Перефарбовуємо крапки Swiper */
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--header-bg) !important; /* Твій коричневий колір */
}

.details-cta {
    padding: 0 20px;
    margin-top: 10px;
}

/* --- EQUIPMENT SECTION --- */
.equipment-section {
    padding: 40px 0;
    background-color: #fff;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.equipment-title {
    color: var(--header-bg); /* #594949 */
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.equipment-desc {
    color: #333;
    font-size: 15px;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto 30px auto;
    padding: 0 10px;
}

.equipment-visual {
    width: 100%;
    margin-bottom: 30px;
}

.equipment-visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* LIST STYLES */
.equipment-list {
    list-style: none; /* Прибираємо стандартні крапки */
    padding: 0;
    margin: 0;
    text-align: left; /* Текст списку зліва */
    font-size: 14px;
    color: #333;
}

.equipment-list li {
    padding: 12px 20px; /* Відступи всередині рядків */
    display: flex;
    align-items: baseline; /* Вирівнювання номера і тексту */
    line-height: 1.4;
}

/* Ефект "зебри" - кожен парний елемент сірий */
.equipment-list li:nth-child(even) {
    background-color: #f6f6f6; 
}

/* Стиль для номерів (1., 2. ...) */
.num {
    font-weight: 700;
    color: var(--header-bg);
    margin-right: 10px;
    min-width: 25px; /* Щоб номери займали однакову ширину */
}

/* --- UNBOXING SECTION --- */
.unboxing-section {
    padding-bottom: 20px;
    border-bottom: none; /* Прибираємо лінію, бо далі йдуть характеристики */
}

/* --- SPECS SECTION --- */
.specs-section {
    padding: 0 0 40px 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.specs-title {
    color: var(--header-bg); /* #594949 */
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 20px;
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    width: 100%;
}

.specs-list li {
    padding: 12px 20px;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: flex-start; /* Вирівнювання по верху, якщо текст довгий */
    line-height: 1.4;
}

/* Ефект "зебри" - кожен парний рядок сірий */
.specs-list li:nth-child(even) {
    background-color: #f9f9f9;
}

.specs-list strong {
    font-weight: 700;
    color: #222;
    margin-right: 5px; /* Відступ після назви характеристики */
}

/* Коричнева крапка (булет) */
.spec-bullet {
    color: var(--header-bg); /* Колір хедера */
    font-size: 20px;
    line-height: 0.8; /* Щоб крапка була по центру тексту */
    margin-right: 10px;
    font-weight: bold;
}

/* Кнопка внизу */
.specs-cta {
    padding: 0 20px;
    text-align: center;
}
/* --- REVIEWS SECTION --- */
.reviews-section {
    padding: 40px 0;
    background-color: #e8f5e9; /* Світло-зелений фон */
    text-align: center;
    border-bottom: 1px solid #dcdcdc;
}

.reviews-title {
    color: var(--header-bg);
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* Стилі для слайдера відгуків */
.reviewsSwiper {
    padding-bottom: 40px !important; /* Місце для крапок */
    width: 100%;
}

.review-slide {
    width: 300px !important; /* Ширина картки відгуку */
    height: auto;
    /* Прозорий фон для слайда, щоб видно було закруглення контенту */
    background: transparent; 
}

/* ВАРІАНТ 1: КАРТИНКА */
.review-image-wrapper {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* ВАРІАНТ 2: ТЕКСТОВА КАРТКА (стилі про всяк випадок) */
.review-text-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    min-height: 150px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background-color: #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 10px;
}

.review-info {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.review-date {
    font-size: 12px;
    color: #888;
}

.review-body {
    font-size: 14px;
    line-height: 1.4;
    color: #444;
}

/* Крапки пагінації для відгуків - робимо білими або темними */
.reviews-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.6;
}
.reviews-pagination .swiper-pagination-bullet-active {
    background: var(--header-bg); /* Активна крапка - коричнева */
    opacity: 1;
}

/* --- GUARANTEE SECTION --- */
.guarantee-section {
    padding: 30px 15px;
    background-color: #f9f9f9; /* Світлий фон */
    border-bottom: 1px solid #eee;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Дві колонки */
    gap: 15px;
}

.guarantee-card {
    background: white;
    border: 1px solid #c8e6c9; /* Тонка зелена рамка */
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.guarantee-icon {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--header-bg); /* Темно-коричневий */
}

.guarantee-title {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.2;
}

.guarantee-text {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 40px 15px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.faq-title {
    color: var(--header-bg); /* #594949 */
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.faq-container {
    max-width: 100%;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden; /* Щоб контент не вилазив за округлення */
}

.faq-question {
    width: 100%;
    background-color: #f5f5f5; /* Світло-сірий фон кнопки */
    color: #333;
    border: none;
    padding: 15px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Inter', sans-serif;
}

.faq-question:hover {
    background-color: #eaeaea;
}

/* Активний стан питання (коли відкрито) */
.faq-question.active {
    background-color: #eee;
    color: var(--header-bg);
}

.faq-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: #777;
}

/* Поворот стрілки при відкритті */
.faq-question.active .faq-arrow {
    transform: rotate(180deg);
}

/* Блок відповіді (спочатку прихований) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fafafa;
}

.faq-content {
    padding: 20px;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    border-top: 1px solid #eee;
}
.product-gallery {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 15px; /* Відступи по боках */
}

.main-image {
  width: 100%;
  height: 480px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
  background: #f5f5f5;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.thumbnails-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin: 0 -5px; /* Компенсація для вирівнювання */
  padding: 0 5px; /* Внутрішні відступи */
}

.thumbnails {
  display: flex;
  gap: 10px;
  padding: 5px 0;
}

.thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  object-fit: cover;
  transition: all 0.3s ease;
}

.thumb:hover {
  border-color: #666;
}

.thumb.active {
  border-color: #333;
  opacity: 1;
}

.thumbnails-wrapper::-webkit-scrollbar {
  height: 4px;
}

.thumbnails-wrapper::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
/* --- FOOTER SECTION (FINAL) --- */
.footer-section {
    background-color: #fff;
    padding: 40px 15px;
    border-top: 1px solid #eee;
}

.footer-title {
    text-align: center;
    color: var(--header-bg); /* #594949 */
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* --- СТИЛІ ТВОЄЇ ГАЛЕРЕЇ --- */
.product-gallery {
    max-width: 400px;
    margin: 0 auto 30px auto;
}

.main-image {
    width: 100%;
    height: 350px; /* Висота головного фото */
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #eee;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Заповнює весь простір */
    display: block;
}

.thumbnails-wrapper {
    width: 100%;
}

.thumbnails {
    display: flex;
    justify-content: space-between; /* Рівномірний розподіл */
    gap: 8px;
}

.thumb {
    width: 19%; /* 5 штук в рядок (100% / 5 ≈ 19% з відступами) */
    aspect-ratio: 1 / 1; /* Робить їх квадратними */
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumb:hover {
    opacity: 0.8;
}

/* Активна мініатюра */
.thumb.active {
    opacity: 1;
    border: 2px solid var(--header-bg); /* Коричнева рамка */
}

/* --- ЦІНА ТА ФОРМА ВНИЗУ --- */
.footer-price-block {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fdfdfd;
}

.form-title-small {
    text-align: center;
    color: var(--header-bg);
    margin-bottom: 15px;
    font-size: 20px;
    text-transform: uppercase;
}

.footer-form-wrapper {
    background-color: #fbfbfb;
    padding: 20px;
    border-radius: 10px;
}

/* --- FOOTER --- */
.site-footer {
    background-color: #145724; /* Темно-зелений */
    color: #ffffff;
    padding: 30px 15px;
    text-align: center;
    font-size: 14px;
}

.footer-container {
    max-width: 480px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Логотип */
.footer-logo-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 5px;
}

.footer-logo {
    height: 30px; /* Адаптуй під своє лого */
    width: auto;
}

.footer-slogan {
    font-size: 10px;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: left;
    font-weight: 400;
    color: #ddd;
}

/* Інформація */
.footer-info p {
    margin: 5px 0;
    color: #fff;
}

.copyright {
    font-weight: 700; /* Жирний, як на скріні */
}

.address {
    font-size: 14px;
}

.phone-link {
    display: inline-block;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.5); /* Тонке підкреслення */
    margin-top: 5px;
    padding-bottom: 2px;
}

/* Посилання внизу */
.footer-links {
    margin-top: 10px;
    font-size: 12px;
    color: #ccc;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.footer-links a {
    color: #ccc;
    text-decoration: underline;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: none;
}

.separator {
    color: #fff;
    margin: 0 5px;
}

/* --- VIDEO SECTION --- */
.video-section {
    text-align: center;
    padding: 30px 15px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.video-title {
    color: var(--header-bg);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 20px;
}

/* Обгортка відео з фіксованою висотою */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 640px; /* <--- ФІКСОВАНА ВИСОТА */
    margin: 0 auto 20px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #000;
    cursor: pointer;
}

/* Саме відео розтягується на всю висоту */
.main-video {
    width: 100%;
    height: 100%; /* Заповнює всю висоту батька */
    display: block;
    object-fit: cover; /* <--- ВАЖЛИВО: Обрізає краї, щоб не сплющувати відео */
}

/* Кнопка залишається по центру */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65px;
    height: 65px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none; 
}

.play-triangle {
    width: 0; 
    height: 0; 
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid var(--header-bg);
    margin-left: 4px;
}

.video-wrapper:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: #fff;
}

.video-desc {
    font-size: 15px;
    color: #333;
    line-height: 1.5;
    max-width: 90%;
    margin: 0 auto;
}

/* --- FLOATING CTA (плаваюча кнопка "Замовити") --- */
.floating-cta {
    position: fixed;
    bottom: 20px; /* Відступ від низу */
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: calc(480px - 40px); /* По ширині контенту з відступами */
    max-width: calc(100vw - 40px);
    z-index: 1500;
    box-sizing: border-box;

    background-color: var(--btn-bg);
    color: #fff;
    text-align: center;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(20, 101, 42, 0.4);

    /* Прихована до появи */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.floating-cta.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.floating-cta:active {
    transform: translateX(-50%) translateY(2px);
}

/* --- ВИБІР ТОВАРУ (мультиварка / чайник / комплект) --- */
.product-select {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.select-card {
    display: block;
    cursor: pointer;
    position: relative;
}

.select-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.select-card-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 2px solid var(--input-border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.select-card input:checked + .select-card-inner {
    border-color: var(--btn-bg);
    background: var(--card-bg);
    box-shadow: 0 4px 14px rgba(44, 162, 63, 0.25);
}

.select-card-inner img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 8px;
    background: #fff;
    flex-shrink: 0;
}

.select-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
}

.select-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-text);
    line-height: 1.2;
}

.select-tag {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--accent-red);
    border-radius: 20px;
    padding: 2px 8px;
    width: fit-content;
    margin-top: 2px;
}

.select-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
    text-align: right;
}

.select-price {
    font-size: 19px;
    font-weight: 900;
    color: var(--price-main);
    white-space: nowrap;
}

.select-old {
    font-size: 13px;
    color: var(--price-old);
    text-decoration: line-through;
    white-space: nowrap;
}

.select-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--btn-bg);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
}

.select-card input:checked ~ .select-check {
    display: flex;
}

/* --- КОМПЛЕКТ (combo highlight) --- */
.combo-section {
    padding: 25px 15px;
    background: linear-gradient(135deg, #1f7a33, #145724);
    color: #fff;
    text-align: center;
}

.combo-title {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 10px;
}

.combo-desc {
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.95;
    margin-bottom: 18px;
}

.combo-imgs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.combo-imgs img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    background: #fff;
    border: 3px solid #fff;
}

.combo-plus {
    font-size: 30px;
    font-weight: 900;
    color: #fff;
}

.combo-price {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 4px;
}

.combo-price .combo-old {
    font-size: 18px;
    font-weight: 600;
    text-decoration: line-through;
    opacity: 0.8;
    margin-right: 8px;
}

.combo-save {
    display: inline-block;
    background: #ffd400;
    color: #145724;
    font-weight: 800;
    font-size: 14px;
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 18px;
}

.combo-section .btn-cta {
    display: inline-block;
    background: #ffd400;
    color: #145724;
}