* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #111;
}

.main-offer {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
}

/* ====== TOP BANNER ====== */

.top-banner {
  position: relative;
  height: 490px;
  overflow: hidden;
}

.top-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0)
  );
  z-index: 1;
}

.logo {
  position: absolute;
  top: -15px;
  right: 0px;
  width: 130px;
  height: auto;
  z-index: 2;
}

.main-text {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
}

.main-text h1 {
  margin: 0 0 10px;
  font-size: 45px;
  font-weight: 700;
  color: #000;
}

.green-label {
  display: inline-block;
  border: 2px solid #007a2f;
  color: #007a2f;
  font-weight: bold;
  font-size: 24px;
  padding: 4px 12px;
  margin-bottom: 10px;
  /* border-radius: 5px; */
  background: #fff;
}

.main-text p {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  color: #000;
}

/* ====== TEXT BLOCK ====== */

.text-block {
  /* padding: 20px; */
  text-align: center;
}

/* ====== PRICE BLOCK ====== */
.price-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0px 0 -10px;
}

.price-block {
  text-align: center;
  font-size: 14px;
}

.price-block .label {
  color: #000000;
  font-weight: bold;
}

.price-block .label-new {
  color: #ffffff;
  font-weight: bold;
}

.price-block .value {
  margin-top: 5px;
}

.price-block.old .value span {
  text-decoration: line-through;
  color: #888;
  font-size: 17px;
}

.red-label {
  background: red;
  color: white;
  font-weight: bold;
  font-size: 13px;
  padding: 2px 6px;
  border-radius: 3px;
  display: inline-block;
}

.red-price {
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: 18px;
  background: red;
  padding: 2px 6px;
  border-radius: 3px;
}

.v-divider {
  width: 2px;
  height: 65px;
  background-color: #000;
  /* opacity: 0.5; */
}

.horizontal-line {
  width: 90%;
  height: 2px;
  background-color: #000;
  /* opacity: 0.1; */
  margin: 10px auto 20px;
}

/* ====== ICON BLOCK (ONE LINE) ====== */
.icons-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
}

.icon-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
}

.icon-item img {
  width: 30px;
  height: 30px;
}

/* Жирна чорна лінія між блоками */
.black-divider {
  width: 90%;
  height: 2px;
  background-color: #000;
  /* opacity: 0.8; */
  margin: 10px auto 20px;
}

/* ====== FEATURES ====== */

.features {
  padding: 0 20px;
  text-align: center;
  font-size: 14px;
}

.feature-item {
  margin: 20px 0;
}

.feature-item img {
  width: 36px;
  height: auto;
  margin-bottom: 1px;
}

.line {
  height: 2px;
  background-color: #000;
  /* opacity: 0.1; */
  width: 90%;
  margin: 0 auto;
}

.line-1 {
  height: 2px;
  background-color: #000;
  /* opacity: 0.1; */
  width: 65%;
  margin: 0 auto;
  max-width: 300px;
}

.green-text {
  color: #0c8a2b;
  font-weight: bold;
}

.folded-image.with-logo {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  border-radius: 6px;
  margin: 20px 0;
}

.folded-image.with-logo img:first-child {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Лого внизу справа */
.logo-bottom {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: auto;
  z-index: 2;
  opacity: 0.95;
}

.top-info {
  text-align: center;
  font-size: 14px;
  padding: 1px;
  background-color: #fff;
  font-weight: bold;
}

.top-info .green {
  color: #0c8a2b;
}

.top-info .red {
  color: red;
}

/* === SECTION-ОБГОРТКА === */
.info-section {
  max-width: 420px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* === ГАРАНТІЇ === */
.guarantee-block h2 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #fff;
}

.guarantee-item img {
  width: 36px;
  height: 36px;
}

.guarantee-item.dark-blue {
  background-color: #004080;
}

.guarantee-item.dark-green {
  background-color: #006b3c;
}

.guarantee-item.dark-gray {
  background-color: #3c3c3c;
}

.guarantee-note {
  font-size: 12px;
  color: #c40000;
  background: #fff0f0;
  border: 1px solid #c40000;
  padding: 10px;
  border-radius: 6px;
  text-align: left;
  margin-top: 10px;
}

/* === ЯК ЗАМОВИТИ === */
.order-steps {
  padding-top: 30px;
  text-align: center;
}

.order-steps h2 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
}

.step {
  margin-bottom: 10px;
}

.step img {
  width: 40px;
  height: 40px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  line-height: 1.4;
}

/* Стрілочки ↓ */
.arrow {
  font-size: 24px;
  margin: 10px 0;
  color: #888;
}

.promo-banner {
  position: relative;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.banner-wrapper {
  position: relative;
  display: inline-block;
}

.background-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 8px;
}

.logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 60%;
  height: auto;
  pointer-events: none;
}

.product-offer {
  text-align: center;
  /* padding: 20px; */
}

.product-offer h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.offer-badge {
  display: inline-block;
  border: 2px solid green;
  padding: 6px 12px;
  font-weight: bold;
  /* border-radius: 4px; */
  margin-bottom: 20px;
}

.site-footer {
  padding: 30px 20px;
  text-align: center;
  font-size: 13px;
  color: #444;
}

.footer-links {
  margin-bottom: 15px;
}

.footer-links a {
  color: #000;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
  min-height: 48px;
  line-height: 48px;
  padding: 0 4px;
}

.footer-info {
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-info a {
  display: inline-block;
  min-height: 48px;
  line-height: 48px;
}

.product-card {
  border: 2px solid #eee;
  padding: 15px;
  margin-bottom: 40px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  max-width: 420px;
  margin-inline: auto;
  text-align: center;
}

.card-top-labels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.card-top-labels .hit {
  color: red;
  font-weight: bold;
  font-size: 16px;
}

.card-top-labels .green-label {
  border: 2px solid #007a2f;
  color: #007a2f;
  font-weight: bold;
  font-size: 16px;
  padding: 2px 10px;
  background-color: #fff;
  border-radius: 4px;
}
.size-selector {
  gap: 5px;
  display: grid;
  grid-template-columns: auto auto auto;
}
.size-btn {
  color: #444 !important;
  padding: 10px !important;
  border: 2px solid #ccc !important;
  background: #fff !important;
  cursor: pointer;
  min-width: 40px;
  text-align: center;
}
.size-btn.active {
  border: 2px solid green !important;
}
.size-btn.disabled {
  display: none !important;
}
.size-btn.disabled::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 2px solid #aaa;
  border-left: 2px solid #aaa;
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
  pointer-events: none;
}
.product-image {
  position: relative;
  margin-bottom: 10px;
}

.product-image img {
  width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  border-radius: 6px;
}

.product-image .badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: red;
  color: white;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: bold;
}

.product-name {
  font-size: 20px;
  margin: 10px 0;
  font-weight: bold;
}

.product-prices {
  /*margin: 0px 30px 0px;*/
  font-size: 14px;
  text-align: center;
  /* display: grid;
  grid-template-columns: auto auto; */
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.product-prices .price {
  color: red;
  font-weight: bold;
}

.size-option {
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.size-option:hover {
  background-color: #e8f5e9;
}

.size-option.selected {
  background-color: #d4edda;
  font-weight: bold;
}

.order-form {
  position: relative;
  max-width: 400px;
  font-size: 16px;
}

.order-form select {
  padding: 15px;
  font-size: 16px;
  border: 2px solid rgb(0, 179, 98);
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 15px;
  background: #f5f5f5;
  color: #555;

  /* Прибираємо стандартний вигляд */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none; /* прибираємо зайве */
}

.select-wrapper {
  position: relative;
  width: 100%;
}

.select-wrapper select {
  padding: 15px;
  font-size: 16px;
  border: 2px solid rgb(0, 179, 98);
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 15px;
  background: #f5f5f5;
  color: #555;

  /* Важливо — прибирає стандартну стрілку */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Прибирає синю обводку у Firefox */
  text-indent: 1px;
  text-overflow: "";

  /* Щоб фон не заважав */
  background: none;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  right: 17px;
  top: 42%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0L5 6L10 0Z' fill='black'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.sale-header {
  text-align: center;
  margin-bottom: 10px;
  position: relative;
}

.sale-title {
  font-size: 33px;
  font-weight: bold;
  color: #111;
  margin-bottom: 8px;
  line-height: 50px;
}

.sale-badge-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  position: relative;
}

/* ЗЕЛЕНИЙ бейдж */
.badge-green {
  border: 2px solid #007a2f;
  color: #007a2f;
  font-weight: bold;
  font-size: 18px;
  padding: 6px 16px;
  /* border-radius: 6px; */
  background: #fff;
  z-index: 1;
}

/* ЧЕРВОНИЙ HIT */
.badge-hit {
  background-color: red;
  color: white;
  font-weight: bold;
  font-size: 18px;
  padding: 13px 9px;
  border-radius: 48%;
  position: absolute;
  right: 828px;
  top: -5px;
  z-index: 2;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  transform: rotate(-20deg);
}

/* Адаптація для мобільних */
@media (max-width: 768px) {
  .badge-hit {
    right: 265px;
    top: -8px;
    font-size: 20px;
    padding: 14px 6px;
  }
}

/* Візуальний бейдж на фото */
.badge-static {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: red;
  color: white;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 14px;
  font-weight: bold;
  z-index: 5;
}

/* Маленький підзаголовок */
.product-subtitle {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}

.form-group {
  padding: 0;
  margin-bottom: 14px;
  text-align: left;
}

.field-label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 4px;
  color: #111;
}

.order-now-button {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  background-color: green;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.order-now-button:hover {
  background-color: darkgreen;
  color: white;
}

.product-logo {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 170px; /* або інший розмір, залежно від твого логотипу */
  opacity: 0.85;
  pointer-events: none;
  max-width: 170px;
}

.error-message {
  margin-top: 5px;
  font-weight: 500;
  display: block;
  visibility: hidden;
}
.error-visible {
  visibility: visible;
}

.color-warning-text {
  font-size: 12px;
  color: #666;
  margin-top: 8px;
}
.size-warning {
  font-weight: 600;
}
.size-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.radio-option {
  display: flex;
  align-items: center;
  font-size: 16px;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #aaa;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
}

.radio-option input[type="radio"]:checked {
  border-color: #007bff;
}

.radio-option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background: #007bff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
}

.size-selector {
  gap: 4px;
  display: grid;
  grid-template-columns: auto auto auto;
}
.size-btn {
  color: #444 !important;
  padding: 10px 14px;
  border: 2px solid #ccc !important;
  background: #fff !important;
  cursor: pointer;
  min-width: 40px;
  text-align: center;
}
.size-btn.active {
  border: 2px solid green !important;
}
.size-btn.disabled {
  display: none !important;
}
.size-btn.disabled::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  border-top: 2px solid #aaa;
  border-left: 2px solid #aaa;
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
  pointer-events: none;
}

/* Стили для изображений отзывов */
.slides img {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slides img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.order-form {
  margin-top: 15px;
  padding: 15px 18px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fafafa;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

/* Лейбли */
.order-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700; /* жирний */
  text-align: left; /* по лівому краю */
  color: #222;
}

/* Інпути + селект */
.order-form select,
.order-form input[type="text"],
.order-form input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px; /* щоб був відступ після інпутів */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  background: #fff;
}

.order-form select:focus,
.order-form input:focus {
  border-color: green;
  outline: none;
  box-shadow: 0 0 4px rgba(0, 128, 0, 0.25);
}

/* Кнопка */
.order-form button {
  width: 100%;
  margin-top: 5px; /* щоб не прилипала */
  padding: 12px;
  background-color: green;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.order-form button:hover {
  background-color: darkgreen;
  transform: scale(1.02);
}

/* Плашка знижки */
.product-card {
  position: relative;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
  color: white;
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 15px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(238, 90, 111, 0.4);
  z-index: 10;
  letter-spacing: 0.5px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Стара ціна (закреслена) */
.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  margin-right: 8px;
}

/* Нова ціна (зі знижкою) */
.new-price {
  color: #ff6b6b;
  font-weight: bold;
  font-size: 16px;
}

/* Альтернативний стиль плашки для "Ліквідація складу" */
.discount-badge.liquidation {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* Альтернативний стиль для "SALE" */
.discount-badge.sale {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* === FAQ SECTION === */
.faq-section {
  max-width: 420px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.faq-section h2 {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.faq-item {
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background-color: #006b3c;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  font-family: Arial, sans-serif;
  border: none;
  cursor: pointer;
  text-align: left;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: #007a2f;
}

.faq-item.active .faq-question {
  border-radius: 8px 8px 0 0;
}

.faq-icon {
  font-size: 20px;
  font-weight: bold;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f9f9f9;
}

.faq-answer p {
  padding: 14px 16px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #111;
}

/* === PRODUCT SLIDER === */
.product-slider {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 10px;
}
.product-slider-track {
  display: flex;
  transition: transform 0.3s ease;
}
.product-slider-track img {
  min-width: 100%;
  width: 100%;
  max-height: 240px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 6px;
}
.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 20px;
  padding: 8px 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
  line-height: 1;
}
.slider-prev { left: 8px; }
.slider-next { right: 8px; }
.slider-prev:hover, .slider-next:hover {
  background: rgba(255,255,255,1);
}
.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: 1px solid rgba(0,0,0,0.2);
  cursor: pointer;
}
.slider-dots .dot.active {
  background: #fff;
}
