/* ============ Стильний лендінг квітів ============ */
:root {
    --green: #a8355f;
    --green-dark: #7e2347;
    --green-light: #fdeef4;
    --accent: #e05c93;
    --accent-dark: #c23f74;
    --dark: #222831;
    --gray: #6b7280;
    --bg: #faf3f5;
    --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--dark);
    line-height: 1.6;
    font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }

.main_wrapper {
    max-width: 480px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 0 35px rgba(0,0,0,.1);
    overflow: hidden;
}

section, header.offer_section { padding: 20px 16px; }

/* ---------- Верхня стрічка ---------- */
.topbar {
    background: linear-gradient(90deg, var(--green-dark), var(--green));
    color: #fff;
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 12px;
    letter-spacing: .3px;
}

.topbar i { margin-right: 6px; }

/* ---------- Заголовки ---------- */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; }

h2.title {
    text-align: center;
    font-size: 25px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 6px;
}

.pack_note {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--green);
    text-transform: uppercase;
    margin-bottom: 14px;
}

h3 {
    font-size: 21px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 10px;
    line-height: 1.35;
}

/* ---------- Hero ---------- */
.image_block { position: relative; margin: 6px 0; }

.offer_image {
    width: 100%;
    border-radius: var(--radius);
    margin: 10px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.discount_badge {
    position: absolute;
    top: 20px;
    right: 12px;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 19px;
    padding: 10px 14px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(224,92,147,.45);
    transform: rotate(6deg);
    z-index: 5;
}

/* ---------- Ціни ---------- */
.price_block {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 6px;
}

.price_item {
    flex: 1;
    text-align: center;
    padding: 16px 8px 14px;
    border-radius: var(--radius);
}

.price_item .text { font-size: 13px; font-weight: 600; margin-bottom: 4px; }

.price_item.old {
    background: #f1f2f4;
    color: #8a8f98;
}

.price_item.old .value {
    font-size: 26px;
    font-weight: 700;
    text-decoration: line-through;
    white-space: nowrap;
}

.price_item.new {
    background: linear-gradient(145deg, #eafaf0, #d8f3e3);
    border: 2px solid var(--green);
    color: var(--dark);
    position: relative;
}

.price_item.new .text span { color: var(--green-dark); font-weight: 800; }

.price_item.new .value {
    font-size: 32px;
    font-weight: 800;
    color: var(--green-dark);
    white-space: nowrap;
}

/* ---------- Таймер ---------- */
.countdown_box {
    background: #fff3f8;
    border: 1.5px dashed var(--accent);
    border-radius: var(--radius);
    text-align: center;
    padding: 14px 10px;
    margin: 16px 0 6px;
}

.countdown_box .cd_label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 6px;
}

.countdown_box .cd_timer {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--dark);
    font-variant-numeric: tabular-nums;
}

.countdown_box .cd_units {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 4px;
    margin-top: 2px;
}

/* ---------- Кнопка ---------- */
.button {
    display: block;
    width: 100%;
    padding: 18px 20px;
    margin: 16px auto 8px;
    text-align: center;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .6px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent), #ff9ec4, var(--accent));
    background-size: 220% 100%;
    color: #fff;
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(224,92,147,.4);
    animation: btnShine 3.5s ease-in-out infinite, btnPulse 2.2s ease-in-out infinite;
    transition: transform .15s, box-shadow .25s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(224,92,147,.5);
}

.button i { margin-right: 8px; }

@keyframes btnShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(224,92,147,.4); }
    50% { box-shadow: 0 8px 24px rgba(224,92,147,.4), 0 0 0 10px rgba(224,92,147,.07); }
}

/* ---------- Трастові бейджі ---------- */
.trust_row {
    display: flex;
    gap: 8px;
    margin: 18px 0 4px;
}

.trust_item {
    flex: 1;
    background: #fafbfa;
    border: 1px solid #e8ece9;
    border-radius: 14px;
    text-align: center;
    padding: 13px 6px 11px;
}

.trust_item i {
    font-size: 21px;
    color: var(--green);
    margin-bottom: 7px;
    display: block;
}

.trust_item span {
    font-size: 11.5px;
    font-weight: 600;
    color: #444;
    line-height: 1.35;
    display: block;
}

/* ---------- Інтро ---------- */
.intro_block {
    text-align: center;
    padding: 6px 4px 2px;
}

.intro_block h3 { font-size: 23px; }

.intro_block p { color: #4b5563; font-size: 15.5px; }

.divider {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--green), var(--accent));
    border-radius: 3px;
    margin: 14px auto 16px;
}

/* ---------- Переваги ---------- */
.benefits_list {
    list-style: none;
    margin: 16px 0 6px;
}

.benefits_list li {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e8ece9;
    border-radius: 14px;
    padding: 13px 15px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,.04);
    font-size: 14.5px;
    font-weight: 500;
    color: #333;
    line-height: 1.45;
}

.benefits_list li i {
    flex: 0 0 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-light);
    color: var(--green);
    border-radius: 12px;
    font-size: 18px;
}

/* ---------- Блоки опису ---------- */
.description_item {
    text-align: center;
    margin: 8px 0 26px;
}

.description_item p {
    text-align: center;
    margin: 0 auto;
    max-width: 430px;
    color: #4b5563;
    font-size: 15px;
}

/* ---------- Фотогалерея ---------- */
.photoOnlyReviews {
    width: 100%;
    margin-top: 10px;
    padding: 0 0 22px;
    background: var(--bg);
}

.photoReviewsTitle {
    background: linear-gradient(135deg, #2e1a22, #4a2a38);
    color: #ffffff;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 800;
    padding: 24px 10px 20px;
    margin-bottom: 16px;
}

.photoReviewsRating {
    font-family: 'Montserrat', sans-serif;
    color: #ffd166;
    font-size: 14.5px;
    font-weight: 600;
    margin-top: 6px;
}

.photoReviewsSlider {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 16px 14px;
    -webkit-overflow-scrolling: touch;
}

.photoReviewsSlider::-webkit-scrollbar { height: 5px; }
.photoReviewsSlider::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }
.photoReviewsSlider::-webkit-scrollbar-track { background: #e0e0e0; border-radius: 3px; }

.photoReview {
    flex: 0 0 80%;
    scroll-snap-align: center;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 17px;
    background: #ffffff;
    border: 1px solid #e5e8e7;
    box-shadow: 0 6px 18px rgba(0,0,0,.09);
}

.photoReview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.swipeHint {
    text-align: center;
    font-size: 12.5px;
    color: #9aa0a6;
    margin-top: 2px;
}

/* ---------- Як замовити ---------- */
.steps_section { background: #fff; }

.steps_list { list-style: none; margin-top: 14px; }

.steps_list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.step_icon {
    flex: 0 0 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--green), var(--green-dark));
    color: #fff;
    border-radius: 50%;
    font-size: 19px;
    box-shadow: 0 5px 14px rgba(168,53,95,.3);
}

.step_text b { display: block; font-size: 15.5px; margin-bottom: 2px; }

.step_text span { font-size: 13.5px; color: var(--gray); }

/* ---------- Наявність ---------- */
.stock_note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent-dark);
    margin: 4px 0 8px;
}

.stock_note .dot {
    width: 9px;
    height: 9px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 1.2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: .25; }
}

/* ---------- Форма ---------- */
.form_section { background: linear-gradient(180deg, #ffffff 0%, var(--green-light) 100%); }

.form {
    background: #ffffff;
    border: 1px solid #e2e8e4;
    border-radius: 20px;
    padding: 24px 18px 20px;
    margin: 14px 0 6px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
}

.form_title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 4px;
}

.form_subtitle {
    text-align: center;
    font-size: 13.5px;
    color: var(--gray);
    margin-bottom: 16px;
}

.field_wrap { position: relative; margin-bottom: 12px; }

.field_wrap > i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa59e;
    font-size: 15px;
    pointer-events: none;
}

.field {
    display: block;
    width: 100%;
    padding: 15px 16px 15px 44px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    border: 1.5px solid #d7ded9;
    border-radius: 12px;
    background: #fff;
    color: var(--dark);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.field:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(168,53,95,.12);
}

/* Кастомний селект: однаковий вигляд і падінги на всіх телефонах */
select.field {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' stroke='%23888888' stroke-width='2' fill='none' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-color: #fff;
    padding-right: 44px;
    line-height: 1.3;
}

.form .button { margin-top: 10px; }

.form_safe {
    text-align: center;
    font-size: 12.5px;
    color: var(--gray);
    margin-top: 10px;
}

.form_safe i { color: var(--green); margin-right: 5px; }

/* ---------- Липка кнопка ---------- */
.sticky_cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(6px);
    border-top: 1px solid #e5e8e7;
    box-shadow: 0 -6px 20px rgba(0,0,0,.1);
    padding: 10px 14px;
    transform: translateY(110%);
    transition: transform .3s ease;
}

.sticky_cta.visible { transform: translateY(0); }

.sticky_price { line-height: 1.2; }

.sticky_price .sp_old {
    font-size: 12px;
    color: #9aa0a6;
    text-decoration: line-through;
}

.sticky_price .sp_new {
    font-size: 19px;
    font-weight: 800;
    color: var(--green-dark);
    white-space: nowrap;
}

.sticky_cta .button {
    width: auto;
    flex: 1;
    margin: 0;
    padding: 13px 18px;
    font-size: 14.5px;
    animation: btnShine 3.5s ease-in-out infinite;
}

/* ---------- Футер ---------- */
footer {
    max-width: 480px;
    margin: 0 auto;
    padding: 24px 15px 90px;
    text-align: center;
    font-size: 13px;
    color: #8a8f98;
    background: #fff;
}

footer a { color: inherit; }

@media (max-width: 380px) {
    .price_item.new .value { font-size: 26px; }
    .price_item.old .value { font-size: 21px; }
    .countdown_box .cd_timer { font-size: 25px; }
    .trust_item span { font-size: 10.5px; }
}

/* ============ Варіант оформлення сайту ============ */

.topbar { background: #fff; color: var(--green-dark); border-bottom: 1px solid #eadfe4; letter-spacing: 2px; text-transform: uppercase; font-size: 11px; font-weight: 700; }
h2.title { font-weight: 700; }
.button { background: var(--green); border-radius: 3px; letter-spacing: 2.5px; font-size: 15px; text-transform: uppercase; animation: none; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.button:hover { background: var(--green-dark); transform: none; }
.button i { display: none; }
.discount_badge { border-radius: 4px; transform: none; background: var(--green); font-size: 16px; padding: 9px 13px; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(0,0,0,.2); }
.price_item { border-radius: 4px; }
.price_item.new { background: #fff; border-width: 1px; }
.countdown_box { background: #fff; border: 1px solid #eadfe4; border-radius: 4px; }
.benefits_list li { background: transparent; border: none; border-bottom: 1px solid #f0dfe7; border-radius: 0; box-shadow: none; padding: 14px 4px; }
.benefits_list li i { background: transparent; color: var(--green); font-size: 20px; flex: 0 0 30px; height: auto; }
.trust_item { border-radius: 4px; background: #fff; }
.photoReviewsTitle { background: #fff; color: var(--green-dark); border-top: 1px solid #eadfe4; border-bottom: 1px solid #eadfe4; letter-spacing: 1px; }
.photoReviewsRating { color: var(--accent-dark); }
.photoReview { border-radius: 4px; }
.step_icon { border-radius: 4px; background: var(--green); box-shadow: none; }
.form { border-radius: 6px; box-shadow: 0 8px 25px rgba(0,0,0,.06); }
.field { border-radius: 4px; }
.sticky_cta .button { border-radius: 3px; animation: none; }
