/* Винесені інлайнові стилі з index.html */

/* Секція відео (#video) */
.video-section-custom {
  padding: 0 0 0 0;
  margin: -30px 0 0 0;
}

.ci-video-iframe {
  width: 480px;
  height: 269px;
}

/* Кнопка відтворення по центру відео */
.video_block {
  position: relative;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

/* Таблиця з перевагами (повна ширина + падінги) */
.ci-table-cell-full {
  width: 100%;
  padding: 6px 20px;
}

.ci-text-center {
  text-align: center;
}

/* Зображення з фіксованою шириною 200px */
.ci-img-200 {
  width: 200px;
}

/* Малий текст у футері */
.footer-small-text {
  font-size: 13px;
  text-align: center;
}

/* Посилання у футері з успадкованим кольором */
.ci-link-inherit {
  color: inherit;
}

/* Зменшити вертикальні відступи у футері */
.footer_section {
  padding: 10px 0;
}

.footer-small-text a {
  margin: 2px 0;
}

/* Мінімальне оформлення для сторінки політики */
.politics-page {
  background: #f3f4f6;
}

.politics-content {
  padding: 16px 16px 32px;
  background: #ffffff;
}

.politics-title {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.politics-section {
  margin-bottom: 16px;
}

.politics-section h2 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.politics-section p,
.politics-section ul {
  font-size: 14px;
  line-height: 1.4;
}

.politics-section ul {
  padding-left: 18px;
  margin: 4px 0 0;
}

/* Стилі форми замовлення з прикладу (спрощена версія) */
label {
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}

.form-field {
  margin-bottom: 15px;
}

.form-input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

.city-suggestions {
  position: relative;
}

.city-suggestions-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  max-height: 180px;
  overflow-y: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.delivery-options {
  display: flex;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.delivery-option {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #ccc;
  cursor: pointer;
  font-size: 14px;
  background-color: #fff;
  color: #111;
  transition: background-color 0.2s, border-color 0.2s;
}

.delivery-option-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #777;
  box-sizing: border-box;
}

.delivery-option.active {
  border-color: #4caf50;
  background-color: #f1fbf1;
  color: #2e7d32;
}

.delivery-option.active .delivery-option-circle {
  border-color: #4caf50;
  background-color: #4caf50;
}

.delivery-options.disabled {
  opacity: 0.5;
  pointer-events: auto;
}

/* Кнопка замовлення як у прикладі Ogurechka */
.order-button-wrap {
  max-width: 480px;
  margin: 20px auto 0;
  padding: 0 10px;
  text-align: center;
}

.order-button,
.button-m {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 72px;
  padding: 16px 24px;
  border: none;
  background: linear-gradient(90deg, #ff0000 0%, #bd0000 100%);
  color: #ffffff;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

/* Компактна кнопка для thank-you сторінки */
.button-m--small {
  height: 56px;
  padding: 0 32px;
  font-size: 18px;
}

.order-button::after,
.button-m::after {
  content: none;
}

.order-button:hover,
.button-m:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

@keyframes order-button-slide {
  0% {
    left: -30px;
  }
  100% {
    left: 110%;
  }
}

.order-subtext {
  margin-top: 16px;
  font-size: 14px;
}

/* Двокрокова форма: вибір кількості */
.order-step {
  border: none;
  margin: 12px 0;
  padding: 0;
}

.order-step__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.order-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-option {
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.order-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.order-option__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.order-option__row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.order-option__count {
  font-weight: 800;
  font-size: 18px;
}

.order-option__prices {
  display: flex;
  gap: 8px;
  font-size: 20px;
  flex-wrap: wrap;
}

.order-option__image {
  width: 64px;
  height: auto;
  flex-shrink: 0;
  border-radius: 8px;
}

.order-option__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  flex: 1;
}

.order-option__name {
  font-size: 18px; /* ~1.3x від 14px */
}

.order-option__old {
  text-decoration: line-through;
  opacity: 0.6;
}

.order-option__new {
  font-weight: 700;
  color: #e00000;
}

.order-option__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background-color: #e00000;
  border-radius: 999px;
  margin-bottom: 4px;
  align-self: flex-start; /* бейдж по ширині тексту, притиснутий ліворуч */
}

.order-option__badge-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.order-option__badge-text {
  line-height: 1;
}

.order-option--popular {
  border-color: #16a34a;
}

/* Підсвітка варіанта при фокусі (клік / таб) та наведенні у Кроці 1 */
.order-option:focus-within .order-option__content,
.order-option:hover .order-option__content {
  background-color: #e5e7eb; /* темніший сірий */
  border-color: #9ca3af;
}

/* Короткий зелений стан при натисканні */
.order-option:active .order-option__content {
  background-color: #10c400;
  border-color: #10c400;
  color: #ffffff;
}
.order-option input[type="radio"]:checked + .order-option__content,
.order-option input[type="radio"]:checked ~ .order-option__content {
  border-color: #10c400;
  background-color: #10c400;
  color: #ffffff;
}

/* Для обраного варіанта не робимо сірий hover/focus */
.order-option input[type="radio"]:checked + .order-option__content:hover,
.order-option input[type="radio"]:checked ~ .order-option__content:hover {
  background-color: #10c400;
  border-color: #10c400;
}

/* Блок оплати та переваг */
.payment {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.payment-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.payment-text {
  margin: 0;
  font-size: 13px;
}

.benefits-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 10px;
}

.benefit-item {
  padding: 8px 10px;
  border-radius: 10px;
  background: #f5f5f5;
}

.benefit-text {
  margin: 0;
  font-size: 13px;
}

/* Інформаційні неактивні рядки під телефоном */
.form-info-group {
  padding: 8px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e0e0e0; /* як у верхній формі */
}

.form-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* Лінія між першим і другим інформаційним рядком */
.form-info-row + .form-info-row {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #e0e0e0;
}

.form-info-row--disabled {
  opacity: 0.9;
}

.form-info-row__icon-wrap {
  flex-shrink: 0;
}

.form-info-row__icon {
  width: 24px;
  height: 24px;
}

.form-info-row__icon--large {
  width: 28px;
  height: 28px;
}

.form-info-row__icon--small {
  width: 6px;
  height: 6px;
}

.form-info-row__text {
  font-size: 13px;
  line-height: 1.3;
}

.form-info-row__title {
  font-size: 14px;
  font-weight: 700;
}

/* Поле телефону з іконкою */
.phone-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
}

.phone-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.phone-field .form-input {
  flex: 1;
  border: none;
  padding-left: 0;
}

/* Поле імені з іконкою */
.name-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: #ffffff;
}

.name-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.name-field .form-input {
  flex: 1;
  border: none;
  padding-left: 0;
}

/* Прихований візуально label, але доступний для скрінрідерів */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header: картинка без фіолетових відступів, на всю ширину,
   header не перекриває контент (не fixed) */
header,
header.active {
  padding: 0;
  height: auto;
  background: transparent;
  box-shadow: none;
  position: static;
  transform: none;
  top: auto;
}

header img {
  display: block;
  width: 100%;
  height: auto;
}

/* Прибрати фіолетову смужку під header і зазор */
.offer_section-top {
  border-top: 0;
  margin-top: -1px;
}

/* Щоб нижній блок не перекривав зображення в .offer_section */
.offer_section .box img {
  margin: 0;
}

/* Миготливий бейдж \"39 шт\" у header — видалено */

/* Приховати кнопку переходу вперед у слайдері (swiper-button-next) */
.swiper-button-next {
  display: none !important;
}

/* Приховати кнопку переходу назад у слайдері (swiper-button-prev) */
.swiper-button-prev {
  display: none !important;
}

/* Таймер + заявка в одному блоці (оформлення бордера як у прикладі) */
.timer-section {
  margin-top: 0;
  padding: 0 14px 16px 14px;
  border-radius: 18px;
  background: #ecfdf3;
  border: 2px solid #16a34a;
  text-align: center;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.25);
}
