/* ── базові кольори агро ───────────────────────────── */
: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,.08);
  --shadow-lg:0 4px 20px rgba(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:.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:.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)}
.price-col.new{background:var(--card);color:var(--brand-dark);position:relative}
.price-col .label{font-size:.9rem;color:var(--text-light)}
.price-col .price{font-size:1.8rem;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:.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 .2s,transform .1s;
}
.order-link:hover{background:var(--brand-dark);transform:translateY(-1px)}
.order-link:active{transform:translateY(0) scale(.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:.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 .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:.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 .25s;opacity:.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:.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 .15s,box-shadow .15s}
.order-form input:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(108,191,63,.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 .2s,transform .1s}
.order-form .btn:hover{background:var(--brand-dark);transform:translateY(-1px)}
.order-form .btn:active{transform:translateY(0) scale(.98)}

/* ── утиліти ──────────────────────────────────── */
.text-center{text-align:center}
.mt-0{margin-top:0!important}
.mb-0{margin-bottom:0!important}

/* ── РЕСПОНСИВ ────────────────────────────────── */
@media (min-width:480px){
  body{max-width:480px;font-size:17px}

  .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,.85));
  color:var(--text,#1c1c1c);
  border-radius:16px;
  box-shadow:0 4px 14px rgba(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:.5px;
  margin-bottom:16px;
}

.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:left;
  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:.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 .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:.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;              /* точне оверрайд */
}

/* мобілка: якщо хочеш щоб усе центрилось до 480px */
@media (max-width:479.98px){
  
  .site-header--split .header-brand{max-width:80px}
  .site-header--split .header-title{text-align:center;font-size:1.6rem}
  .site-header--split .header-tag{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:.95rem;
  line-height:1.3;
}
