/* Base */
* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: #F5F0EA;
    color: #1A1A1A;
    font-size: 16px;
}

.no-scroll {
    overflow: hidden;
}

/* Layout */
.page-bg {
    display: flex;
    justify-content: center;
    padding: 10px 6px 80px;
}

.main_wrapper {
    width: 100%;
    max-width: 480px;
    background: #FFFFFF;
    border-radius: 18px;
    box-shadow: 0 18px 60px rgba(0,0,0,0.07);
    overflow: hidden;
}

/* Top bar */
.top-bar {
    display: flex;
    justify-content: center;
    padding: 10px 16px;
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: #F5F0EA;
    color: #6C5B4C;
}

/* Header */
.site-header {
    padding: 14px 16px;
    border-bottom: 1px solid #F0E4D6;
}

.header-title-main {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
}

/* Stats bar */
.stats-bar {
    padding: 8px 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #7A6B5B;
    border-bottom: 1px solid #F4E7D8;
}

/* Hero */
.hero {
    padding: 16px 16px 24px;
}

.hero-image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
}

.hero-image img {
    width: 100%;
    display: block;
}

.badge-sale {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #C29A61;
    color: #FFFFFF;
    padding: 8px 14px;
    border-radius: 40px;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
}

.hero-title {
    font-size: 22px;
    line-height: 1.35;
    font-weight: 800;
    margin-bottom: 6px;
}

.hero-title span {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: #C29A61;
    margin-top: 4px;
}

.hero-tagline {
    font-size: 14px;
    color: #5F5246;
    margin-bottom: 14px;
}

/* Price row */
.price-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.price-old,
.price-new {
    flex: 1;
    padding: 10px 12px;
    border-radius: 12px;
    background: #F8F2EA;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #7D6B5C;
}

.price-old span,
.price-new span {
    display: block;
    margin-top: 4px;
    font-size: 18px;
    font-weight: 800;
}

.price-old span {
    text-decoration: line-through;
    color: #B3A89E;
}

.price-new {
    background: #1A1A1A;
    color: #F5E9D6;
}

.price-new span {
    color: #F9D9A5;
}

/* Countdown */
.hero-countdown {
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 14px;
    color: #7A6B5B;
}

.hero-countdown span {
    font-weight: 700;
    color: #C29A61;
}

/* Buttons */
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    border: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease,
                background .18s ease, color .18s ease;
}

.btn-primary {
    background: #C29A61;
    color: #FFFFFF;
    padding: 14px 18px;
    width: 100%;
    box-shadow: 0 14px 22px rgba(0,0,0,0.22);
}

.btn-primary:hover {
    background: #B0864B;
    transform: translateY(-1px);
}

.btn-primary--full {
    width: 100%;
}

.btn-outline {
    margin-top: 10px;
    padding: 11px 18px;
    border-radius: 40px;
    border: 1px solid #C29A61;
    color: #C29A61;
    background: transparent;
    width: 100%;
}

.btn-outline:hover {
    background: #C29A61;
    color: #FFFFFF;
}

/* Hero note */
.hero-note {
    margin-top: 10px;
    font-size: 13px;
    color: #A08D7C;
}

/* Sections base */
.section {
    padding: 20px 16px 22px;
    border-top: 1px solid #F3E5D7;
}

.section-title {
    font-size: 18px;
    font-weight: 800;
    text-align: left;
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 13px;
    color: #8C7A69;
    margin-bottom: 12px;
}

/* Benefits */
.section-benefits .section-title {
    margin-bottom: 12px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.benefit-item {
    text-align: left;
    font-size: 12px;
    color: #5A4A3D;
}

.benefit-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 6px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.10);
}

.benefit-item h3 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
}

/* Video */
.section-video {
    background: #FCF7F1;
}

.video-wrapper {
    margin-top: 8px;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
    background: #000;
}

/* Description */
.section-description .list-specs {
    list-style: none;
    font-size: 14px;
    line-height: 1.55;
    color: #4D4036;
    padding-left: 0;
}

.section-description .list-specs li + li {
    margin-top: 6px;
}

/* Size table */
.section-size {
    background: #FFFFFF;
}

.size-table-wrapper {
    margin-top: 8px;
    border-radius: 12px;
    border: 1px solid #E7D7C7;
    overflow: hidden;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.size-table th,
.size-table td {
    padding: 8px;
    border-bottom: 1px solid #F0E3D3;
    text-align: center;
}

.size-table thead th {
    background: #F8F1E8;
    font-weight: 700;
}

.size-table tr:nth-child(even) td {
    background: #FDF8F2;
}

.size-help {
    margin-top: 10px;
    font-size: 13px;
    color: #7C6A59;
}

/* Colors / gallery */
.section-colors .section-title {
    margin-bottom: 16px;
}

.color-card {
    border-radius: 16px;
    border: 1px solid #E8D8C6;
    padding: 12px;
    margin-bottom: 12px;
    background: #FFFCF8;
}

.color-slider {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 10px;
}

.color-slider img {
    width: 100%;
    display: block;
}

.color-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.color-info p {
    font-size: 14px;
    color: #5B4A3D;
    margin-bottom: 4px;
}

.color-size-note {
    font-size: 12px;
    color: #927F6D;
}

/* Slick dots & arrows */
.slick-dots li button:before {
    font-size: 8px;
    color: #C29A61;
    opacity: .35;
}

.slick-dots li.slick-active button:before {
    color: #C29A61;
    opacity: .9;
}

.slick-prev:before,
.slick-next:before {
    content: '' !important;
}

.slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: rgba(26,26,26,0.75);
    color: #FFFFFF;
    font-size: 16px;
    line-height: 26px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.slick-prev {
    left: 8px;
}

.slick-next {
    right: 8px;
}

/* Reviews */
.section-reviews .section-title {
    margin-bottom: 14px;
}

.reviews-grid {
    display: grid;
    gap: 10px;
}

.review-card {
    border-radius: 14px;
    border: 1px solid #E7D6C7;
    padding: 10px 12px;
    background: #FFFCF8;
    font-size: 14px;
    color: #4E4035;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #C29A61;
    color: #FFF8EE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.review-name {
    font-weight: 700;
    font-size: 14px;
}

.review-tag {
    font-size: 12px;
    color: #8E7A68;
}

/* Steps */
.section-steps .section-title {
    margin-bottom: 14px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 13px;
}

.step-item {
    border-radius: 14px;
    border: 1px solid #EAD9C8;
    padding: 10px;
    background: #FFFBF6;
}

.step-number {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1A1A1A;
    color: #FCEBD3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 6px;
}

.step-item h3 {
    font-size: 14px;
    margin-bottom: 4px;
}

/* Order form */
.section-order {
    background: #FCF6EE;
}

.order-price-highlight {
    margin: 6px 0 12px;
    font-size: 14px;
    color: #5F4E3F;
}

.order-price-highlight span {
    font-weight: 800;
    color: #C29A61;
}

.order-price-highlight s {
    color: #B3A79B;
}

/* Підтримуємо обидва варіанти секцій */
.offer_section .main-order-form,
.section.section-order .main-order-form {
    margin-top: 4px;
}

/* Стилі полів — тепер працюють і в .section-order */
.offer_section .main-order-form select,
.offer_section .main-order-form input[type="text"],
.offer_section .main-order-form input[type="tel"],
.section.section-order .main-order-form select,
.section.section-order .main-order-form input[type="text"],
.section.section-order .main-order-form input[type="tel"] {
    width: 100%;
    padding: 12px 13px;
    border-radius: 10px;
    border: 1px solid #DCC9B7;
    font-size: 15px;
    background: #FFFDF9;
    color: #1A1A1A;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.main-order-form {
    width: 100%; /* робимо не на весь екран */
    max-width: 480px; /* оптимальна ширина для мобільних лендів */
    margin: 0 auto; /* центрування */
    background: #FFFDF9;
    padding: 20px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}


.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
    color: #6E5B4B;
}

.main-order-form select,
.main-order-form input[type="text"],
.main-order-form input[type="tel"] {
    width: 100%;
    padding: 12px 13px;
    border-radius: 10px;
    border: 1px solid #DCC9B7;
    font-size: 15px;
    background: #FFFDF9;
    color: #1A1A1A;
    outline: none;
    transition: border-color .18s ease,
                box-shadow .18s ease,
                background .18s ease;
}

.main-order-form select:focus,
.main-order-form input[type="text"]:focus,
.main-order-form input[type="tel"]:focus {
    border-color: #C29A61;
    box-shadow: 0 0 0 1px rgba(194,154,97,0.25);
    background: #FFFFFF;
}

.main-order-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C29A61' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 6px;
    padding-right: 32px;
}

.input-hint {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #988472;
}

.privacy-note {
    margin-top: 10px;
    font-size: 12px;
    color: #9A8674;
    text-align: center;
}

/* Error */
.error-message {
    margin: 10px 16px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #FCEEEE;
    color: #8E3D3D;
    font-size: 14px;
}

/* Footer */
.site-footer {
    padding: 14px 16px 18px;
    border-top: 1px solid #F1E2D3;
    font-size: 12px;
    color: #8B7867;
    background: #FFFDF9;
}

.site-footer p + p {
    margin-top: 4px;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 999;
    padding: 10px 20px;
    border-radius: 999px;
    background: #1A1A1A;
    color: #FDF3E4;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 16px 28px rgba(0,0,0,0.3);
    max-width: 480px;
    text-align: center;
    transition: transform .18s ease,
                box-shadow .18s ease,
                background .18s ease;
}

.floating-cta:hover {
    background: #000000;
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 20px 36px rgba(0,0,0,0.35);
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox--active {
    display: flex;
}

.lightbox__overlay {
    position: absolute;
    inset: 0;
}

.lightbox__image {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    z-index: 1;
}

.lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.7);
    color: #FFFFFF;
    font-size: 24px;
    line-height: 30px;
    cursor: pointer;
    z-index: 2;
}

.lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.7);
    color: #FFFFFF;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.lightbox__arrow--prev {
    left: 16px;
}

.lightbox__arrow--next {
    right: 16px;
}

/* Responsive */
@media (max-width: 420px) {
    .page-bg {
        padding: 8px 4px 80px;
    }

    .price-row {
        flex-direction: column;
    }
}

@media (min-width: 520px) {
    .page-bg {
        padding-top: 24px;
        padding-bottom: 100px;
    }
}
/* Сховати стандартний текст slick */
.slick-prev:before,
.slick-next:before {
    content: "" !important;
}

/* Новий стиль кнопок-стрілок */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    opacity: .95;
    background: rgba(0,0,0,0.7);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* SVG стрілки */
.slick-prev,
.slick-next {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='22' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='10,2 2,11 10,20' stroke='%23fff' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Права кнопка повернута */
.slick-next {
    right: 6px;
    transform: translateY(-50%) rotate(180deg);
}

/* Ліва кнопка */
.slick-prev {
    left: 6px;
}



