* {
  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;
  background-image: url("../images/golovna.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.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;
}

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


.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 {
    opacity: 0.4;
    pointer-events: none;
    position: relative;
  }
  .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: 10px 0;
  padding-top: 15px;
  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;
}

.order-form {
  flex-direction: column;
  font-size: 14px;
}

.order-form input {
  padding: 15px;
  font-size: 14px;
  border: 1px solid rgb(0, 179, 98);
  width: 100%;
}

.order-form button {
  width: 100%;
  max-width: 250px;
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
  background: green;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.order-form button:hover {
  background: darkgreen;
}

.order-form select {
  padding: 15px;
  font-size: 14px;
  border: 1px solid rgb(0, 179, 98);
  width: 100%;
  background-color: white;
  color: black;
  
  /* Убирає стандартний вигляд на всіх браузерах */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Створює фон із псевдо-стрілкою (опціонально) */
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%2300B362' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

.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 {
    opacity: 0.4;
    pointer-events: none;
    position: relative;
  }
  .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);
}