/* ==========================================================================
   Пилосос для басейну — стилі лендингу
   Кольорова гама підібрана під фото товару: басейновий блакитний + оранжевий
   ========================================================================== */

:root {
    --blue-light: #3FC4E8;
    --blue: #1AA8DA;
    --blue-dark: #0E8FC2;
    --navy: #0B3955;
    --navy-soft: #103B57;
    --orange: #FF7A29;
    --orange-dark: #FF4D2E;
    --magenta: #E91E8C;
    --yellow: #FFC93C;
    --green: #21B573;
    --white: #FFFFFF;
    --bg-page: #EAF7FC;
    --shadow-soft: 0 6px 24px rgba(11, 57, 85, 0.12);
}

* , *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat Alternates', sans-serif;
    background: var(--bg-page);
    color: var(--navy);
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.main_wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(180deg, #EAF7FC 0%, #F5FCFE 8%, #FFFFFF 18%);
    overflow: hidden;
    padding-bottom: 10px;
}

/* ===== 1. Верхня плашка-рейтинг ===== */
.title_block {
    background: linear-gradient(135deg, var(--blue-dark), var(--navy));
    padding: 10px 14px;
}
.reyt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.stars {
    display: flex;
    flex-direction: column;
}
.reyt-block {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 15px;
}
.stars-img {
    color: var(--yellow);
    font-size: 13px;
    letter-spacing: 1px;
}
.reyt-desc {
    color: rgba(255,255,255,0.75);
    font-size: 10px;
    margin-top: 1px;
}
.HowManyBought {
    text-align: right;
    color: #fff;
}
.HowManyBought p {
    margin: 0;
    font-size: 11px;
}
.bought-label {
    color: rgba(255,255,255,0.75);
}
.BoughtTimes {
    font-weight: 800;
    color: var(--yellow);
}
.BoughtLast {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
}
.spanminutes {
    font-weight: 700;
    color: #fff;
}

/* ===== 2. Hero-банер ===== */
.hero-img {
    width: 100%;
    line-height: 0;
}
.hero-img img {
    width: 100%;
    object-fit: cover;
}

/* ===== 3. Блок переваг ===== */
.benefits_list {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 16px 14px 6px;
}
.benefit_item {
    flex: 1;
    background: #fff;
    border: 1.5px solid #D6EEF7;
    border-radius: 14px;
    padding: 10px 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
    box-shadow: var(--shadow-soft);
}
.benefit-icon {
    display: block;
    font-size: 22px;
    margin-bottom: 4px;
}

/* ===== 4. Блок ціни ===== */
.metr_count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 14px 4px;
    flex-wrap: wrap;
}
.metr_new_count {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: 16px;
    padding: 10px 22px;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 22px rgba(255, 77, 46, 0.35);
}
.metr_new_count .metr_text_count span {
    background: rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 4px;
}
.metr_new_count .metr_value {
    font-family: 'Montserrat', sans-serif;
    font-size: 26px;
    font-weight: 900;
}
.metr_old_count {
    text-align: center;
    color: #6E8FA1;
}
.metr_old_count .metr_text_count {
    font-size: 11px;
    margin-bottom: 2px;
}
.metr_old_count .metr_value {
    font-size: 18px;
    font-weight: 800;
    text-decoration: line-through;
    color: #9CB8C6;
}

/* ===== 5. Кнопка CTA ===== */
.button {
    position: relative;
    display: block;
    margin: 16px auto 0;
    width: calc(100% - 28px);
    max-width: 400px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 17px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 17px 10px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(255, 77, 46, 0.4);
    transition: transform 0.15s ease;
}
.button:active {
    transform: scale(0.97);
}
.flare {
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: skewX(-20deg);
    animation: flareMove 2.6s ease-in-out infinite;
}
@keyframes flareMove {
    0%   { left: -60%; }
    50%  { left: 120%; }
    100% { left: 120%; }
}

.products_count {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 800;
    color: var(--navy);
}
.remained {
    color: var(--magenta);
    font-weight: 900;
}
.text_small {
    text-align: center;
    font-size: 10px;
    color: #8AA7B5;
    margin-top: 2px;
    margin-bottom: 4px;
}

/* ===== Контентні блоки ===== */
.content-block {
    padding: 18px 14px 4px;
}
.white-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: var(--shadow-soft);
    border: 1px solid #E3F2F9;
}
.card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 6px;
    line-height: 1.3;
}
.card-subtitle {
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 13px;
    margin: 0 0 10px;
}
.white-card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: #3A5A6B;
    margin: 0;
}
.white-card strong {
    color: var(--navy);
}

.title {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 800;
    text-align: center;
    color: var(--navy);
    margin: 0 0 4px;
}

/* ===== Фото-блоки ===== */
.photo-card {
    padding: 12px 14px 0;
    line-height: 0;
}
.photo-card img {
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
}

/* ===== Відео ===== */
.video-card {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}
.product-video {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    background: #000;
}
.video-caption {
    text-align: center;
    font-size: 12.5px;
    color: #5C7E8F;
    margin-top: 10px;
}

/* ===== Список переваг з іконками ===== */
.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #3A5A6B;
}
.features-list li:last-child {
    margin-bottom: 0;
}
.feature-icon {
    font-size: 20px;
    line-height: 1.2;
}
.features-list strong {
    color: var(--navy);
}

/* ===== Нумеровані кроки (стиль "steps-list") ===== */
.steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #3A5A6B;
}
.steps-list li:last-child {
    margin-bottom: 0;
}
.step-num {
    min-width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    margin-top: 1px;
}
.steps-list strong {
    color: var(--navy);
}

/* ===== Таблиця характеристик ===== */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.specs-table tr {
    border-bottom: 1px solid #EAF3F8;
}
.specs-table tr:last-child {
    border-bottom: none;
}
.specs-table td {
    padding: 9px 4px;
    vertical-align: top;
    color: #5C7E8F;
}
.specs-table td:first-child {
    width: 38%;
    color: #8AA7B5;
}
.specs-table td strong {
    color: var(--navy);
}

/* ===== Відгуки ===== */
.reviews_section {
    background: linear-gradient(135deg, var(--navy), var(--blue-dark));
    padding: 26px 14px 30px;
    margin-top: 22px;
}
.title-dark {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 800;
    text-align: center;
    color: #fff;
    margin: 0 0 16px;
}
.reviews-slider {
    max-width: 420px;
    margin: 0 auto;
}
.review-item {
    background: #fff;
    border-radius: 18px;
    padding: 16px 16px 14px;
    margin: 0 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.review-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--magenta));
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.review-info {
    flex: 1;
}
.review-name {
    margin: 0;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--navy);
}
.review-info small {
    font-size: 10.5px;
    color: #9CB8C6;
}
.review-stars {
    color: var(--yellow);
    font-size: 12px;
    white-space: nowrap;
}
.review-message p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #3A5A6B;
}
.review-time {
    margin-top: 8px;
    font-size: 10.5px;
    color: #9CB8C6;
}
.slick-dots {
    bottom: -28px;
}
.slick-dots li button:before {
    color: #fff;
    opacity: 0.5;
}
.slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--orange);
}

/* ===== Як замовити ===== */
.order-step {
    padding: 26px 16px 10px;
}
.order-step .title {
    margin-bottom: 18px;
}
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}
.step-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.step-content b {
    display: block;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 3px;
}
.step-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #5C7E8F;
}
.order-color {
    color: var(--orange-dark);
    font-weight: 700;
}

/* ===== Фінальний офер-блок ===== */
.offer_section {
    background: linear-gradient(180deg, #FFFFFF 0%, #EAF7FC 100%);
    padding-top: 10px;
    border-radius: 28px 28px 0 0;
    margin-top: 4px;
}
.timer_block {
    text-align: center;
    padding: 16px 14px 6px;
}
.timer_block p {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    color: var(--navy);
}
.timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.timer_item {
    background: var(--navy);
    color: #fff;
    border-radius: 12px;
    padding: 8px 14px;
    min-width: 56px;
}
.timer_item .count {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 900;
    color: var(--yellow);
}
.timer_item .text {
    font-size: 9.5px;
    color: rgba(255,255,255,0.75);
    text-transform: uppercase;
}
.timer_sep {
    font-size: 22px;
    font-weight: 900;
    color: var(--navy);
}

/* ===== Форма замовлення ===== */
.form-header {
    text-align: center;
    margin: 18px 0 14px;
}
.form-header strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--navy);
}
.form-header p {
    margin: 2px 0 0;
    font-size: 12.5px;
    color: #6E8FA1;
}
.order_form {
    padding: 0 14px;
    max-width: 400px;
    margin: 0 auto;
}
.field {
    width: 100%;
    border: 1.5px solid #C9E6F2;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 15px;
    font-family: 'Montserrat Alternates', sans-serif;
    color: var(--navy);
    margin-bottom: 12px;
    background: #fff;
    outline: none;
    transition: border-color 0.15s ease;
}
.field:focus {
    border-color: var(--blue-dark);
}
.phone-wrapper {
    width: 100%;
}
.form-button {
    margin-top: 4px;
}

/* ===== Footer ===== */
footer {
    text-align: center;
    padding: 22px 14px 18px;
}
.footer-links {
    font-size: 11px;
    color: #6E8FA1;
    margin: 0 0 6px;
}
.footer-links a {
    color: #4F8FAA;
    text-decoration: underline;
}
.footer-sep {
    margin: 0 4px;
    color: #B7D6E2;
}
footer p {
    font-size: 10.5px;
    color: #9CB8C6;
    margin: 0;
}

/* ===== Sticky bottom CTA ===== */
.fixed-message {
    position: fixed;
    left: 0;
    right: 0;
    bottom: -120px;
    z-index: 999;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(6px);
    box-shadow: 0 -8px 24px rgba(11,57,85,0.18);
    padding: 10px 14px;
    transition: bottom 0.3s ease;
}
.fixed-message.visible {
    bottom: 0;
}
.fixed-message .button {
    margin: 0 auto;
}

/* ===== Адаптив ===== */
@media (max-width: 380px) {
    .card-title { font-size: 15.5px; }
    .metr_new_count .metr_value { font-size: 22px; }
    .button { font-size: 15px; padding: 15px 8px; }
}
