/* --- Основные контейнеры блока заказа --- */
.order_block {
  text-align: center !important;
  display: none; /* Скрывается на мобильных в оригинале через id="only-mob", но для формы нужен block */
}

.wrapper-form {
  /* Обертка формы */
}

.best-form {
  font:
    16px/1.2 Roboto,
    sans-serif;
  padding: 1rem 1rem 70px;
  color: #fff;
  background-color: #fa0; /* Фоновый цвет */
  background: linear-gradient(#fffcc0, #67d9e1); /* Градиент фона */
  /* background-image: url("../images/...") - если нужна картинка, она была в оригинале */
  background-size: cover;
}

.form-main {
  max-width: 420px;
  margin: 0 auto;
}

/* --- Таймер обратного отсчета --- */
.countdown-block {
  text-align: center;
  color: #fff;
  padding-bottom: 10px;
  box-shadow: 0 0 #000;
  background: #044168;
}

.countdown-block h3 {
  font-weight: 800;
  font-size: 28px;
  padding-top: 5px;
  margin: 0;
  color: #fff;
  line-height: 1;
  padding-bottom: 10px;
  text-transform: uppercase;
}

.countdown-container {
  max-width: 320px;
  border: 5px solid #fffd07;
  text-align: center;
  margin: 0 auto;
  background: #044168;
}

.countdown-container h3 {
  color: #fffd07;
  margin: -10px auto 0;
  width: 90%;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  background: #044168;
}

.countdown {
  display: flex;
  color: #fff;
  justify-content: center;
  align-items: center;
  font-weight: 300;
  font-size: 39px;
  line-height: 1;
}

.countdown-item {
  color: #fff;
  width: 80px;
  font-weight: 700;
  text-align: center;
}

.countdown-divider {
  color: #fff;
  width: 1rem;
}

.countdown-text {
  margin: 0 auto -8px;
  width: 90%;
  color: #fffd07;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #044168;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.countdown-text span {
  text-align: center;
  width: 33%;
}

/* --- Блок с продуктом и ценой --- */
.product {
  margin: 0 auto;
  display: flex;
  margin-bottom: 15px;
}

.product .left {
  width: 50%;
  position: relative;
}

.product .right {
  width: 50%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.prod-pulse {
  border-radius: 20px;
  animation: 1s infinite prod-shadow-pulse;
}

.sale-procent {
  max-width: 100px;
  top: 0;
  right: -35px;
  position: absolute;
}

.product .price-old {
  line-height: 1;
}

.product .price-old span {
  display: inline-block;
  padding: 0 1rem;
  color: #000;
  position: relative;
  text-decoration: line-through;
  font-size: 25px;
}

.product .discount-text {
  margin-top: 1rem;
  color: #000;
  font-size: 18px;
}

.product .price {
  color: red;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  font-size: 30px;
}

.product .price span {
  font-weight: 300;
  font-size: 30px;
  margin-left: 5px;
}

/* --- Поля ввода (Input) --- */
.name-input,
.phone-input,
.country-input {
  color: #000;
  background: #fff;
  border: 0;
  width: 100%;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 19px;
  margin-bottom: 10px;
  display: flex;
  transition: 0.15s ease-in-out;
}

.name-input label,
.phone-input label,
select {
  align-self: center;
  padding-left: 15px;
  width: 60px;
  font-weight: 700;
  -webkit-appearance: none;
  color: #000 !important; /* Унаследовано от luckyshop_form */
  font-size: 18px;
  text-align: left;
}

.name-input input,
.phone-input input {
  flex: 1 1 auto;
  border: 0;
  padding: 10px 15px;
  font: inherit;
  color: inherit;
  box-sizing: border-box;
  min-width: 0;
  padding-left: 10px;
  border-radius: 6px;
}

input::placeholder {
  font-family: sans-serif;
  color: grey !important;
  border: none !important;
}

/* --- Кнопка отправки --- */
.button-submit {
  text-align: center;
  display: flex;
  box-sizing: border-box !important;
  width: 100%;
  margin: 0 auto;
  padding: 14px 0;
  color: #fff;
  border-radius: 6px;
  border: 0;
  transition: 0.15s ease-in-out;
  font:
    400 23px/1.4 Roboto,
    sans-serif;
  background-image: linear-gradient(to top, #002f99, #870000);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.button-submit-text {
  color: #fffefe;
  flex: 1 1 auto;
  font: inherit;
  font-weight: 900;
}

/* --- Анимации --- */
@keyframes prod-shadow-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.9);
  }
  100% {
    box-shadow: 0 0 0 15px transparent;
  }
}
