body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Hero з відео */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.45);
    padding: 60px 20px;
    border-radius: 16px;
    max-width: 90%;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3em;
    margin: 0 0 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* CTA */
.cta {
    display: inline-block;
    background: #2e7d32;
    color: white;
    padding: 16px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25em;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cta:hover {
    background: #1b5e20;
    transform: translateY(-3px);
}

/* Менша кнопка для політики */
.small-cta {
    padding: 8px 20px;
    font-size: 0.95em;
    box-shadow: none;
}

.small-cta:hover {
    background: #1b5e20;
    transform: none;
}

/* Футер */
footer {
    background: #2e7d32;
    color: white;
    text-align: center;
    padding: 20px 20px 10px;
    margin-top: 30px;
    font-size: 0.9em;
}

.footer-author {
    margin-top: 10px;
    font-size: 0.8em;
    opacity: 0.9;
}

/* Опис продукту + галерея фото під текстом */
.description {
    text-align: center;
    padding: 40px 20px;
}

.centered-description {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.15em;
    line-height: 1.7;
}

.product-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.product-gallery img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    object-fit: cover;
}

@media (max-width: 768px) {
    .product-gallery {
        flex-direction: column;
        align-items: center;
    }
    .product-gallery img {
        max-width: 90%;
    }
}

/* решта стилів без змін */
.order-form {
    background: #f8fff5;
    padding: 50px 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin: 40px auto;
    max-width: 1000px;
    text-align: center;
}

.size-selection h3,
.addons-carousel-section h3,
.contact-form h3 {
    color: #1b5e20;
    margin-bottom: 20px;
    text-align: center;
}

.size-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.size-btn {
    padding: 14px 28px;
    font-size: 1.1em;
    border: 2px solid #81c784;
    background: white;
    color: #2e7d32;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s;
    min-width: 160px;
}

.size-btn.active,
.size-btn:hover {
    background: #2e7d32;
    color: white;
    border-color: #2e7d32;
    transform: scale(1.05);
}

/* Карусель допів */
.addons-carousel-section {
    margin: 40px 0;
}

.addons-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #2e7d32 #e0e0e0;
}

.addons-carousel::-webkit-scrollbar {
    height: 8px;
}

.addons-carousel::-webkit-scrollbar-thumb {
    background: #2e7d32;
    border-radius: 4px;
}

.addons-carousel::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 4px;
}

.addons-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    padding: 0 15px 15px 15px;
}

.addon-card {
    flex: 0 0 220px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.addon-card:hover {
    transform: translateY(-8px);
}

.addon-card img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.addon-card p {
    margin: 6px 0 4px;
    font-size: 0.95em;
    font-weight: bold;
    flex-grow: 0;
}

.addon-card strong {
    color: #d32f2f;
    font-size: 1em;
    margin-bottom: 4px;
    flex-grow: 0;
}

.addon-card label {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-top: 4px;
    font-size: 0.9em;
}

.addon-card input[type="checkbox"] {
    transform: scale(1.2);
}

@media (max-width: 600px) {
    .addon-card {
        flex: 0 0 80vw;
        min-height: 280px;
    }
    .addon-card img {
        height: 100px;
    }
}

/* Форма контактів */
.contact-form {
    margin: 40px auto;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input {
    padding: 14px 16px;
    font-size: 1.1em;
    border: 2px solid #ddd;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s;
}

.contact-form input:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 4px rgba(46,125,50,0.15);
}

.phone-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.phone-prefix {
    position: absolute;
    left: 16px;
    color: #555;
    font-size: 1.1em;
    pointer-events: none;
    user-select: none;
}

.phone-wrapper input {
    padding-left: 60px; 
    width: 100%;
}

.total-block {
    text-align: center;
    margin-top: 40px;
}

.total-price {
    font-size: 2.4em;
    font-weight: bold;
    color: #d32f2f;
    margin: 0 0 20px;
}

.big-cta {
    padding: 18px 48px;
    font-size: 1.4em;
    background: #2e7d32;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.big-cta:hover {
    background: #1b5e20;
    transform: translateY(-3px);
}

/* Переваги */
.benefits {
    padding: 80px 20px;
    background: #f8fff5;
    text-align: center;
}

.benefits h2 {
    font-size: 2.5em;
    color: #1b5e20;
    text-align: center;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit {
    background: white;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.benefit:hover {
    transform: translateY(-10px);
}

.last-benefit {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 600px;
}

/* Технічні характеристики */
.specs {
    text-align: center;
}

.specs h2 {
    text-align: center;
    margin-bottom: 30px;
}

.table-wrapper {
    overflow-x: auto;
    max-width: 100%;
    margin: 0 auto;
}

table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
}

th, td {
    border: 1px solid #e0e0e0;
    padding: 16px;
    text-align: left;
}

th {
    background: #e8f5e9;
    color: #1b5e20;
}

/* Відгуки */
.reviews {
    text-align: center;
}

.reviews h2 {
    text-align: center;
}

.reviews .review {
    background: #f9f9f9;
    padding: 24px;
    margin: 20px auto;
    max-width: 700px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    font-style: italic;
    text-align: left;
}

/* Модалка подяки */
.thank-you-page {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.thank-you-page.show {
    opacity: 1;
    visibility: visible;
}

.thank-you-box {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 90%;
    width: 500px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.thank-you-box h2 {
    color: #2e7d32;
    font-size: 2.2em;
    margin: 0 0 20px;
}

.thank-you-box p {
    font-size: 1.2em;
    margin: 12px 0;
}

.thank-you-box strong {
    color: #d32f2f;
    font-size: 1.4em;
}

.thank-you-box button.cta {
    margin-top: 30px;
    padding: 16px 40px;
    font-size: 1.3em;
}

/* Адаптивність */
@media (max-width: 768px) {
    .hero-overlay { padding: 40px 15px; }
    .hero h1 { font-size: 2.2em; }
    .size-buttons { flex-direction: column; }
    .size-btn { min-width: 100%; }
    .addon-card { flex: 0 0 85vw; min-height: 280px; }
    .addon-card img { height: 100px; }
    .benefits-grid { grid-template-columns: 1fr; gap: 25px; }
    .last-benefit { max-width: 100%; }
    .small-cta {
        padding: 8px 16px;
        font-size: 0.9em;
    }
    .product-gallery img {
        max-width: 90%;
    }
}
