/* ==========================================================
   Пароварка — кольори та нові блоки.
   Підключається ПІСЛЯ nastyle.css і перекриває його.
   Палітра взята з самих фото: броколі, морква, лимон, пара.
   ========================================================== */

:root {
  --green-900: #14532b;   /* темна зелень — фон секцій */
  --green-700: #1f8a3b;   /* броколі — заголовки, акценти */
  --green-500: #43b049;   /* свіжа зелень */
  --mint-50:  #f2f9ec;    /* світлий фон */
  --carrot:   #ff7a1a;    /* морква — кнопки */
  --carrot-d: #e85d04;
  --lemon:    #ffd23f;    /* лимон — ціна, знижка */
  --ink:      #1d2a20;    /* текст */
  --line:     #dcebd2;
}

body {
  color: var(--ink);
  background: #dcebd2;
}

.wrap {
  box-shadow: 0 0 40px rgba(20, 83, 43, 0.18);
}

/* ---------- Заголовки ---------- */

h2.title {
  color: var(--green-700);
  font-family: 'Acrom', Arial, Helvetica, sans-serif;
  font-size: 30px;
  line-height: 38px;
  margin-bottom: 26px;
  padding: 0 24px;
}

h2.title span { color: var(--ink); }
h2.title.white { color: var(--lemon); }
h2.title.white span { color: #fff; }

/* ---------- Темні секції → зелені ---------- */

.pat {
  background: linear-gradient(180deg, #1c7a36 0%, var(--green-900) 100%);
}

/* ---------- Перший екран ---------- */

.offer {
  background: linear-gradient(180deg, var(--green-700) 0%, var(--green-900) 100%);
}

.offer .main-title {
  color: #fff;
  font-size: 40px;
  line-height: 46px;
  padding: 18px 16px 4px;
}

.offer .sub-title {
  color: var(--lemon);
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
  padding: 0 20px 16px;
}

.gallery { position: relative; }

.gallery-slider .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }

.gallery { --swiper-navigation-color: #fff; --swiper-navigation-size: 20px; }

.gallery .swiper-button-prev,
.gallery .swiper-button-next {
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  background: rgba(20, 83, 43, 0.78);
}

.gallery .swiper-button-prev:after,
.gallery .swiper-button-next:after { font-weight: 700; }

.gallery-thumbs .swiper-slide { border-radius: 14px; }
.gallery-thumbs .swiper-slide-active { box-shadow: inset 0 0 0 4px var(--lemon); }
.gallery-thumbs .swiper-slide img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }

/* Ціна */

.price {
  height: 92px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0, #fff 50%, var(--carrot) 50%, var(--carrot-d) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.price > div { padding-top: 14px; }
.price p { font-size: 16px; line-height: 20px; }
.price .old { color: #5c6a60; }
.price .old .val { font-size: 30px; }
.price .new .val { font-size: 38px; line-height: 40px; }
.price .val i { font-size: 22px; }

.megasale {
  margin: 0 30px;
  padding: 2px;
  border-radius: 18px;
  background: var(--lemon);
  color: var(--ink);
  text-align: center;
  font-size: 17px;
}

/* Три переваги під галереєю */

.offer .bullet { padding: 22px 10px 6px; }
.offer .bullet li { font-size: 16px; line-height: 21px; font-weight: 600; }
.offer .bullet p { color: #fff; }

.offer .bullet .pic {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--lemon);
}

.offer .bullet .pic:after {
  left: 50%;
  top: 50%;
  bottom: auto;
  width: 22px;
  height: 12px;
  margin: -10px 0 0 -11px;
  background: none;
  border-left: 5px solid var(--green-900);
  border-bottom: 5px solid var(--green-900);
  transform: rotate(-45deg);
}

/* ---------- Кнопки ---------- */

.button-m {
  height: 84px;
  line-height: 84px;
  font-size: 24px;
  color: #fff;
  text-shadow: 0 2px 0 rgba(160, 60, 0, 0.45);
  background: linear-gradient(to bottom, #ff9a2e 0%, #ff6a00 100%);
  box-shadow: 0 5px 0 #c24a00, 0 14px 26px rgba(232, 93, 4, 0.38);
  filter: none;
}

.button-m:active { top: 3px; box-shadow: 0 2px 0 #c24a00; }

.button-m:focus-visible,
.m1-form input.field:focus-visible,
.faq summary:focus-visible { outline: 4px solid var(--lemon); outline-offset: 3px; }

.cta-note {
  margin: 16px 30px 0;
  text-align: center;
  font-size: 16px;
  line-height: 22px;
  color: #fff;
}

.b1 .cta-note, .faq-section .cta-note { color: #4c5a50; }

/* ---------- Світлі секції ---------- */

.b1 { background: var(--mint-50); }

.b1 .alert {
  margin: 0 20px;
  padding: 22px 22px 20px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(20, 83, 43, 0.10);
  color: var(--ink);
  font-size: 18px;
  line-height: 27px;
  text-align: left;
  text-align-last: left;
}

.b1 .alert p + p { margin-top: 12px; }

.lead-title {
  margin: 0 24px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 25px;
  line-height: 31px;
  color: var(--ink);
}

.slider { padding: 0; }
.slider + .b1 { padding-top: 24px; }
.photo { display: block; width: 100%; }
.photo.round { width: 440px; margin: 0 auto 24px; border-radius: 28px; }

/* ---------- Блок болей ---------- */

.pain-list { padding: 0 20px; }

.pain-list li {
  position: relative;
  margin-bottom: 12px;
  padding: 16px 18px 16px 62px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(20, 83, 43, 0.08);
  font-size: 18px;
  line-height: 25px;
}

.pain-list li:before {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffe3d1;
  color: var(--carrot-d);
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  text-align: center;
  content: '×';
}

.pain-list b { display: block; }

.answer {
  margin: 22px 20px 0;
  padding: 20px 22px;
  border-radius: 28px;
  background: var(--green-700);
  color: #fff;
  font-size: 19px;
  line-height: 27px;
  text-align: center;
}

.answer b { color: var(--lemon); }

/* ---------- Список «галочки» ---------- */

.check-list { padding: 0; }

.check-list li {
  position: relative;
  padding: 7px 0 7px 38px;
  font-size: 18px;
  line-height: 25px;
}

.check-list li:before {
  position: absolute;
  left: 2px;
  top: 12px;
  width: 16px;
  height: 8px;
  border-left: 4px solid var(--green-500);
  border-bottom: 4px solid var(--green-500);
  transform: rotate(-45deg);
  content: '';
}

/* ---------- Як це працює: кроки ---------- */

.steps { padding: 0 20px; counter-reset: step; }

.steps li {
  position: relative;
  margin-bottom: 12px;
  padding: 16px 18px 16px 76px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(20, 83, 43, 0.08);
  font-size: 18px;
  line-height: 25px;
  counter-increment: step;
}

.steps li:before {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 46px;
  height: 46px;
  margin-top: -23px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-family: 'Acrom', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 46px;
  text-align: center;
  content: counter(step);
}

/* ---------- Переваги (картки з фото) ---------- */

.list-v2 { padding: 0 20px; }

.list-v2 li,
.list-v2 li:nth-child(odd),
.list-v2 li:nth-child(even) {
  display: flex;
  align-items: stretch;
  height: auto;
  min-height: 150px;
  margin-bottom: 16px;
  padding: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.list-v2 li:nth-child(even) { flex-direction: row-reverse; }

.list-v2 img,
.list-v2 li:nth-child(odd) img,
.list-v2 li:nth-child(even) img {
  position: static;
  flex: 0 0 140px;
  width: 140px;
  height: auto;
  min-height: 150px;
  object-fit: cover;
  border-radius: 0;
}

.list-v2 .text { flex: 1; padding: 16px 16px 16px 18px; }

.list-v2 h3 {
  padding-bottom: 6px;
  font-size: 19px;
  line-height: 24px;
  color: var(--green-700);
}

.list-v2 p { font-size: 16px; line-height: 22px; }

.b2 a.button-m { margin-top: 30px; }

/* ---------- Порівняння ---------- */

.compare {
  width: 440px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 22px rgba(20, 83, 43, 0.10);
  font-size: 16px;
  line-height: 21px;
}

.compare th,
.compare td { padding: 13px 12px; text-align: center; vertical-align: middle; }

.compare th {
  font-size: 15px;
  line-height: 19px;
  background: #e7efe2;
  color: #4c5a50;
}

.compare th.us { background: var(--green-700); color: #fff; }
.compare td:first-child,
.compare th:first-child { width: 150px; text-align: left; padding-left: 18px; font-weight: 600; }
.compare tr + tr td { border-top: 1px solid var(--line); }
.compare td.us { background: #eaf7e4; font-weight: 700; color: var(--green-900); }
.compare td.them { color: #6b776e; }

/* ---------- Комплектація ---------- */

.kit { padding: 0 20px; }

.kit li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 14px 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(20, 83, 43, 0.08);
}

.kit .qty {
  flex: 0 0 58px;
  font-family: 'Acrom', Arial, Helvetica, sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--carrot-d);
}

.kit .what { font-size: 18px; line-height: 24px; }
.kit .what small { display: block; font-size: 16px; color: #5c6a60; }

/* ---------- Характеристики ---------- */

.b4 { padding-bottom: 0; }
.b4 .image { width: 440px; margin: 0 auto 26px; border-radius: 28px; }

.char-list { padding-bottom: 30px; }
.char-list li { padding: 11px 26px; font-size: 17px; line-height: 23px; overflow: hidden; }
.char-list li:nth-child(even) { background: rgba(255, 255, 255, 0.09); }
.char-list li b { width: 170px; color: var(--lemon); font-weight: 600; }
.char-list li span { margin-left: 182px; }

.b4 div {
  margin: 0;
  padding: 26px 0 34px;
  background: rgba(0, 0, 0, 0.22);
}

/* ---------- Питання та відповіді ---------- */

.faq-section { background: var(--mint-50); }

.faq { padding: 0 20px; }

.faq details {
  margin-bottom: 10px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(20, 83, 43, 0.08);
}

.faq summary {
  position: relative;
  padding: 17px 58px 17px 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  list-style: none;
  cursor: pointer;
  border-radius: 22px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:after {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 30px;
  height: 30px;
  margin-top: -15px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-size: 24px;
  font-weight: 400;
  line-height: 29px;
  text-align: center;
  content: '+';
}

.faq details[open] summary:after { content: '–'; background: var(--carrot); }
.faq details p { padding: 0 20px 18px; font-size: 17px; line-height: 25px; color: #37443a; }

/* ---------- Як замовити ---------- */

.order-info { background: #fff; }
.order-info h2.title { padding: 0 24px; }
.order-list { padding: 0 20px; }

.order-list li {
  height: 124px;
  padding-left: 138px;
  margin-bottom: 14px;
  border-radius: 28px;
  box-shadow: 0 6px 22px rgba(20, 83, 43, 0.12);
  font-size: 18px;
  line-height: 24px;
}

.order-list li:before {
  left: 18px;
  width: 100px;
  height: 100px;
  margin-top: -50px;
  background-color: var(--green-700);
  background-size: 52px auto;
}

.order-list h4 { color: var(--carrot-d); font-size: 20px; }

/* ---------- Гарантії над формою ---------- */

.trust {
  display: flex;
  justify-content: space-between;
  padding: 22px 16px 4px;
}

.trust li {
  flex: 1;
  padding: 0 6px;
  text-align: center;
  color: #fff;
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}

.trust li:before {
  display: block;
  width: 16px;
  height: 8px;
  margin: 0 auto 12px;
  border-left: 4px solid var(--lemon);
  border-bottom: 4px solid var(--lemon);
  transform: rotate(-45deg);
  content: '';
}

/* ---------- Форма ---------- */

.offer .order_form { padding: 26px 0 34px; }
.order_form.pat { background: none; }
.order_form .form-txt h4 { font-family: 'Acrom', Arial, Helvetica, sans-serif; font-size: 27px; line-height: 34px; color: var(--lemon); }
.order_form .form-txt p { padding: 0 40px; font-size: 18px; line-height: 25px; }

.m1-form input.field {
  height: 76px;
  line-height: 76px;
  border: 3px solid transparent;
  border-radius: 30px;
  text-align: left;
  padding: 0 28px;
  color: var(--ink);
}

.m1-form input.field:focus { border-color: var(--lemon); }
.m1-form ::-webkit-input-placeholder { color: #6b776e; }
.m1-form ::-moz-placeholder { color: #6b776e; opacity: 1; }

/* ---------- Оплата / доставка / підвал ---------- */

.pay-banner { display: block; width: 100%; }

footer { background: #fff; }

/* ---------- Закріплена кнопка внизу ---------- */

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 480px;
  margin-left: -240px;
  padding: 10px 14px;
  background: #fff;
  box-shadow: 0 -6px 22px rgba(20, 83, 43, 0.22);
  transition: transform 0.25s ease;
}

.sticky-cta.is-hidden { transform: translateY(110%); }

.sticky-cta .sum { line-height: 22px; }
.sticky-cta .sum s { display: block; font-size: 16px; color: #7b877e; }
.sticky-cta .sum b { font-size: 28px; color: var(--carrot-d); }

.sticky-cta .button-m {
  width: 270px;
  height: 62px;
  margin: 0;
  line-height: 62px;
  font-size: 19px;
  border-radius: 24px;
  box-shadow: 0 4px 0 #c24a00;
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta, .button-m { transition: none; }
}

/* ---------- Стрічка знижки на фото ---------- */

.discount {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 12;
  width: 150px;
  height: 150px;
  overflow: hidden;
  pointer-events: none;
}

.discount b {
  position: absolute;
  top: 34px;
  right: -52px;
  display: block;
  width: 220px;
  padding: 9px 0 8px;
  transform: rotate(45deg);
  background: var(--lemon);
  color: var(--ink);
  font-family: 'Acrom', Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
