.discounts__max-block {
  background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  max-width: 1230px;
  margin: 70px auto;
  font-family: "Arial", sans-serif;
  color: #333;
}

.discounts__max-block h3 {
  color: #d62828;
  margin-bottom: 20px;
  font-size: 30px;
  line-height: 1.3;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.discounts__max-block img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  margin: 15px 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.promo-link {
  margin: 20px 0;
}

.promo-label {
  display: block;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 18px;
}

.promo-url {
  font-size: 18px;
  color: blue;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.promo-url:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.timer-title {
  color: #e74c3c;
  font-size: 1.2rem;
  margin: 25px 0 15px;
  font-weight: 600;
}

.promo-instructions {
  text-align: left;
  margin: 25px 0;
  padding: 0 15px;
}

.instructions-title {
  color: #27ae60;
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-align: center;
}

.instructions-list {
  list-style-position: inside;
  font-size: 0.95rem;
  line-height: 1.5;
}

.instructions-list li {
  margin-bottom: 12px;
  padding-left: 10px;
  font-size: 18px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  padding: 12px 8px;
  border-radius: 8px;
  min-width: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}

.days,
.hours,
.minutes,
.seconds {
  font-size: 18px;
  font-weight: bold;
  color: #c0392b;
  line-height: 1;
}

.unit-label {
  font-size: 18px;
  color: #7f8c8d;
  margin-top: 4px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .discounts__max-block {
    padding: 20px 15px;
    margin: 40px auto;
  }

  .discounts__max-block h3 {
    font-size: 1.2rem;
  }

  .timer-title {
    font-size: 1rem;
  }

  .days,
  .hours,
  .minutes,
  .seconds {
    font-size: 1.8rem;
  }

  .countdown {
    gap: 8px;
  }

  .time-unit {
    min-width: 45px;
    padding: 10px 6px;
  }
}

@media (max-width: 480px) {
  .discounts__max-block {
    padding: 15px 10px;
  }

  .discounts__max-block img {
    max-width: 250px;
  }

  .days,
  .hours,
  .minutes,
  .seconds {
    font-size: 1.5rem;
  }

  .instructions-list {
    font-size: 0.9rem;
  }

  .promo-label,
  .unit-label {
    font-size: 0.85rem;
  }
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap; /* Для адаптации на маленьких экранах */
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 80px;
  font-family: "Arial", sans-serif;
}

.days,
.hours,
.minutes,
.seconds {
  font-size: 25px;
  font-weight: 700;
  color: #114a87;
  line-height: 1;
  text-align: center;
}

.unit-label {
  margin-top: 5px;
  font-size: 16px;
  color: #3d4347;
  font-weight: 500;
  text-transform: uppercase;
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
  .countdown {
    gap: 15px;
    margin: 15px 0;
  }

  .time-unit {
    min-width: 60px;
    padding: 10px;
  }

  .days,
  .hours,
  .minutes,
  .seconds {
    font-size: 2.5rem;
  }
}

/* Для очень маленьких экранов (например, смартфоны в портретной ориентации) */
@media (max-width: 480px) {
  .countdown {
    gap: 10px;
  }

  .time-unit {
    min-width: 50px;
    padding: 8px;
  }

  .days,
  .hours,
  .minutes,
  .seconds {
    font-size: 2rem;
  }

  .unit-label {
    font-size: 0.7rem;
  }
}

/* Для крупных экранов (десктопы) — можно добавить немного отступов */
@media (min-width: 1024px) {
  .countdown {
    gap: 30px;
  }

  .time-unit {
    min-width: 90px;
    padding: 20px;
  }

  .days,
  .hours,
  .minutes,
  .seconds {
    font-size: 3.5rem;
  }
}

/* Дополнительные стили для улучшения внешнего вида */
.countdown::before {
  content: "";
  display: table;
  clear: both;
}

/* Анимация при наведении (опционально) */
.time-unit:hover {
  transform: translateY(-2px);
  transition: transform 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
