/* ── базові кольори агро ───────────────────────────── */

:root {
    --bg: #f7fdf4;
    /* глобальний фон */
    --bg-alt: #eef7e7;
    /* другорядний фон блоків */
    --card: #ffffff;
    /* картки / блоки */
    --card-alt: #f2fbea;
    /* альт картки */
    --text: #1b1b1b;
    /* основний текст */
    --text-light: #4e5b3c;
    /* підписи */
    --brand: #6cbf3f;
    /* брендовий зелений */
    --brand-dark: #4a8f2d;
    /* hover / темніший */
    --accent-warn: #ffd54f;
    /* акцент (знижка / сезон) */
    --border: #d4e3cd;
    /* рамки */
    --radius: 12px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
    --font: "Montserrat", sans-serif;
}

html {
    background: var(--bg);
}

body {
   max-width: 480px;
    margin: 0 auto;
    color: var(--text);
    background: var(--bg-alt);
    font-family: var(--font);
    line-height: 1.45;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}



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

h1,
h2 {
    margin: 0 0 12px;
    text-align: center;
    color: var(--brand-dark);
    line-height: 1.2;
}

.header-title {
    font-size: 1.6rem;
    font-weight: 700;
}


/* ── HEADER ───────────────────────────────────── */

.site-header {
    background: linear-gradient(135deg, #d3f5c7 0%, #bceb9f 60%, #9edc81 100%);
    border-bottom: 4px solid var(--brand);
    box-shadow: var(--shadow);
}

.site-header small {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 4px;
}


/* ── HERO ─────────────────────────────────────── */

.hero {
    position: relative;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 0;
}

.hero-tag {
    position: absolute;
    bottom: 12px;
    background: var(--accent-warn);
    color: #000;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 600;
}


/* ── PRICE (дві половинки) ───────────────────── */

.price-wrap {
    display: flex;
    margin: 16px 24px;
    border: 2px solid var(--brand);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    background: var(--card);
}

.price-col {
    flex: 1;
    padding: 18px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.price-col.old {
    background: var(--card-alt);
    color: var(--text-light);
     font-size:30px;
}

.price-col.new {
    background: var(--card);
    color: var(--brand-dark);
    position: relative;
    font-size:30px;
}

.price-col .label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.price-col .price {
    font-weight: 700;
    line-height: 1;
}

.price-col .price.small {
    font-size: 1.3rem;
}

.old-price {
    text-decoration: line-through;
}

.discount {
    position: absolute;
    top: 6px;
    right: 6px;
    background: var(--accent-warn);
    color: #000;
    padding: 2px 10px 2px 24px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}


/* листочок всередині бейджа */

.discount:before {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translateY(-50%) rotate(-20deg);
    background: radial-gradient( circle at 30% 30%, #a5d66f 0%, #6cbf3f 70%, #4a8f2d 100%);
    border-radius: 50% 0 50% 50%/50% 0 50% 50%;
}


/* CTA посилання під ціною */

.order-link {
    display: block;
    width: 80%;
    margin: 0 auto 20px;
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: background 0.2s, transform 0.1s;
}

.order-link:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.order-link:active {
    transform: translateY(0) scale(0.98);
}


/* ── INFO & ALT ───────────────────────────────── */

.info {
    padding: 32px 16px;
    text-align: center;
    background: var(--card);
    margin: 24px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-img {
    width: 100%;
    border-radius: var(--radius);
    margin: 16px 0;
}

.info p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-light);
}


/* ── ADVANTAGES ──────────────────────────────── */

.advantages {
    padding: 32px 16px;
    margin: 0 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.advantages h2 {
    color: var(--brand-dark);
}

.adv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    padding: 16px 0;
}

.adv-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--text-light);
}

.adv-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--brand);
    display: flex;
    justify-content: center;
    align-items: center;
}

.adv-icon svg {
    width: 28px;
    height: 28px;
}


/* ── REVIEWS (слайдер) ───────────────────────── */

.reviews {
    padding: 32px 16px;
    margin: 24px 16px;
    background: var(--card-alt);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.slider {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
    padding: 0 10px;
}

.slide {
    display: none;
    animation: fade 0.6s;
    text-align: center;
}

.slide.show {
    display: block;
}

.quote {
    font-style: italic;
    color: var(--text);
}

.author {
    display: block;
    margin-top: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.25s;
    opacity: 0.9;
}

.arrow:hover {
    background: var(--brand-dark);
}

.prev {
    right: calc(100% + -10px);
}

.next {
    left: calc(100% + -10px);
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* ── HOW ─────────────────────────────────────── */

.how {
    padding: 32px 16px;
    margin: 24px 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.how-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.how-list li {
    flex: 0 0 calc(50% - 10px);
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.how-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--brand);
    display: flex;
    justify-content: center;
    align-items: center;
}

.how-icon svg {
    width: 28px;
    height: 28px;
}

.how-list p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--text);
}


/* ── FORM ─────────────────────────────────────── */

.order-form {
    padding: 32px 16px;
    margin: 24px 16px;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.order-form form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.order-form input {
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.order-form input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(108, 191, 63, 0.25);
}

.order-form .btn {
    background: var(--brand);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: background 0.2s, transform 0.1s;
}

.order-form .btn:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
}

.order-form .btn:active {
    transform: translateY(0) scale(0.98);
}


/* ── утиліти ──────────────────────────────────── */

.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0 !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}


/* ── РЕСПОНСИВ ────────────────────────────────── */

/* @media (min-width: 280px) {
    body {
        max-width: 480px;
        font-size: 18px;
    }
    .header-title {
        font-size: 1.9rem;
    }
    .price-col .price {
        font-size: 2rem;
    }
    .adv-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .how-list li {
        flex: 0 0 calc(25% - 15px);
        flex-direction: column;
        text-align: center;
    }
    .how-list p {
        text-align: center;
    }
    .prev {
        right: auto;
        left: -48px;
    }
    .next {
        left: auto;
        right: -48px;
    }
    .slider {
        max-width: 480px;
    }
} */

@media (width: 480px) {
    body {
        max-width: 480px;
        font-size: 18px;
    }
    .site-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }
    .hero {
        max-width: 480px;
    }
    .price-wrap {
        max-width: 480px;
        margin: 24px auto;
    }
    .order-link {
        max-width: 420px;
    }
    .info,
    .advantages,
    .reviews,
    .how,
    .order-form {
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
        margin: 20px;
    }
    .slider {
        max-width: 600px;
    }
}


/* ── ДРУК (якщо треба роздрукувати) ──────────── */

@media print {
    body {
        max-width: none;
        background: #fff;
        color: #000;
    }
    .site-header,
    .order-link,
    .arrow {
        box-shadow: none;
    }
    .order-link {
        display: none;
    }
}


/* ==== PRODUCT CARD ================================================= */

.product-card {
    max-width: 480px;
    margin: 0 auto 32px;
    padding: 16px;
    background: var(--card-bg, rgba(255, 255, 255, 0.85));
    color: var(--text, #1c1c1c);
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.product-card__badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--brand, #197b04);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.care {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #eeeeee;
}

.care h2 {
    text-align: center;
    /* Той самий ефект: від чорного до зеленого */
    background: linear-gradient(to right, #000, #4caf50 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
    margin: 30px 0;
    text-transform: uppercase;
}

.care ul {
    list-style: none;
    padding: 0;
}


/* Картки етапів */

.care>ul>li {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border-top: 4px solid #4caf50;
    /* Зелена лінія зверху */
}

.care h3 {
    color: #2d5a27;
    font-size: 20px;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Оформлення списків всередині тексту */

.care p {
    margin: 10px 0;
}

.care .highlight-box {
    background: #f0f9ed;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.95em;
    border-left: 3px solid #a2f08c;
}

.step-number {
    display: inline-block;
    background: #4caf50;
    color: white;
    width: 24px;
    height: 24px;
    text-align: center;
    border-radius: 50%;
    margin-right: 8px;
    font-size: 14px;
    line-height: 24px;
}

.product-card__media {
    margin: 0 auto 16px;
    max-width: 100%;
}

.product-card__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.product-card__body {
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
    max-width: 64ch;
    margin: 0 auto;
}

.product-card__body strong {
    color: var(--brand-dark, #0f5700);
}

.product-card__specs {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.product-card__specs li {
    margin-bottom: 4px;
}

.product-card__specs li strong {
    font-weight: 600;
}

.product-card .buy-button {
    display: block;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    background: var(--brand, #197b04);
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}

.product-card .buy-button:hover {
    background: var(--brand-dark, #0f5700);
}


/* wider screens: медіа зліва, текст справа */

@media (min-width: 480px) {
    .product-card {
        display: grid;
        text-align: left;
        padding: 24px;
        margin: 20px 10px;
    }
    .product-card__badge {
        text-align: center;
        margin-bottom: 8px;
    }
    .product-card__media {
        margin: 0;
    }
    .product-card__body {
        margin: 0;
    }
    .product-card .buy-button {
        text-align: center;
    }
}


/* === SPLIT HEADER: logo left, text right ========================== */

.site-header--split {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    text-align: left;
    /* override глобального центру */
    /* зберігаємо або оверрайдимо */
}

.site-header--split .header-brand {
    grid-area: brand;
    display: block;
    max-width: 72px;
    line-height: 0;
}

.site-header--split .header-brand img {
    display: block;
    width: auto;
    max-height: 100%;
}

.site-header--split .header-text {
    grid-area: text;
}

.site-header--split .header-tag {
    display: block;
    font-size: 0.9rem;
    color: var(--brand-dark, #0f5700);
    margin-bottom: 4px;
}

.site-header--split .header-title {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.1;
    color: #528508;
    text-align: left;
    /* точне оверрайд */
}


/* ==== HOW ZIGZAG ================================================== */

.how--zigzag .how-zigzag {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 700px;
}


/* базовий мобайл: усе в рядок іконка + текст зліва */

.how--zigzag .how-step {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}


/* чергування на ширших екранах */

.how--zigzag .how-step.right {
    margin-left: auto;
    flex-direction: row-reverse;
    text-align: right;
}


/* дрібний текст */

.how--zigzag .how-step p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.site-footer {
    background-color: #f9fff5;
    padding: 40px 20px;
    font-family: 'Segoe UI', sans-serif;
    border-top: 2px solid #eef5eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-work-time {
    margin-bottom: 25px;
}

.footer-work-time span:first-child {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    /* Наш градієнт */
    background: linear-gradient(to right, #000000, #4a8f2d 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.footer-work-time span:last-child {
    font-size: 1.2rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
}

.footer-links a {
    color: #4a8f2d;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.3s;
    border: 1px solid transparent;
}

.footer-links a:hover {
    background: #eef5eb;
    border-color: #d0e8c5;
}

.footer-copy {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #888;
}