/*
 * Landing design 4 (fixed discount + proper countdown)
 * Theme: tovarka
 * - discount is positioned relative to the PHOTO container
 * - countdown uses .countdown__* markup that countdown.js генерит
 * - no background images
 */

:root{
  --tov-accent: #45b8c8;
  --tov-accent-dark: #2ea5b8;
  --tov-text: #333;
  --tov-muted: #6b7280;
  --tov-bg: #ccc;
  --tov-card: #fff;
  --tov-shadow: 0 12px 20px rgba(0,0,0,.12);
  --tov-inset: inset -1px 1px 9px rgba(0,0,0,.12);
  --tov-radius: 20px;
}

body{
  min-width: 480px;
  background: var(--tov-bg);
  font-family: "Proxima Nova", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5em;
  color: var(--tov-text);
}

.content-wrap{
  background: var(--tov-card);
  border-radius: 6px;
  overflow: hidden;
}

/* Typography */
h1,h2,h3,h4{
  text-transform: none;
  color: #111;
}
h2{ font-size: 27px; line-height: 1.25; }
h3{ font-size: 24px; line-height: 1.25; }
p{ margin: 0 0 1em; }
p:last-of-type{ margin-bottom: 0; }

a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .92; }

/* ====== TOP ====== */
.top-card-wrap{
  padding: 16px 14px 22px;
  background: linear-gradient(180deg, rgba(69,184,200,.12), rgba(69,184,200,0) 60%);
}

.item-card{
  position: relative;
  margin: 0 auto;
  text-align: center; /* helps centering media */
}

.item-card .header{
  text-align: center;
  padding: 8px 8px 6px;
}

.product-subtitle{
  font-size: 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--tov-muted);
  margin: 0 0 4px;
}

.product-title{
  font-size: 34px;
  line-height: 1.15;
  font-weight: 800;
  margin: 0;
}

/* ====== PHOTO + DISCOUNT (FIXED) ======
   ВАЖНО: featured-media делаем контейнером фотки (96% ширины),
   тогда .discount позиционируется "по фотке", а не по всей странице.
*/
.featured-media{
  position: relative;
  width: 96%;
  margin: 10px auto 0;
}

.featured-media img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--tov-radius);
  box-shadow: inset -1px 1px 12px rgba(0,0,0,.25),
              -2px 5px 10px rgba(0,0,0,.30);
}

/* Ribbon */
.discount{
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;

  background: #ef3039;
  color: #fff;
  padding: 10px 30px;

  transform: rotate(45deg) translate(45px, -18px);
  transform-origin: top right;

  font-size: 14px;
  font-weight: 800;
  letter-spacing: .4px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);

  pointer-events: none;
}

/* ====== PRICES ====== */
.pricing-block{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  margin: 14px auto 0;
  width: 96%;
  padding: 16px 12px;
  border-radius: var(--tov-radius);
  background: linear-gradient(325deg, rgba(127,127,127,.35), rgba(157,157,157,.18));
  box-shadow: var(--tov-inset), var(--tov-shadow);
}

.old-price, .new-price{
  flex: 1;
  text-align: center;
}

.old-price span, .new-price span{
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: rgba(0,0,0,.7);
}

.old-price strong{
  display: inline-block;
  margin-top: 8px;
  font-size: 42px;
  line-height: 1;
  text-decoration: line-through;
  color: rgba(0,0,0,.55);
}

.new-price strong{
  display: inline-block;
  margin-top: 8px;
  font-size: 46px;
  line-height: 1;
  font-weight: 900;
  color: #111;
}

.old-price small, .new-price small{
  font-size: 14px;
  margin-left: 6px;
  color: rgba(0,0,0,.75);
}

/* ====== CTA BUTTON ====== */
.order-button{
  width: 96%;
  margin: 14px auto 0;
}
.order-button.margin20{ margin-top: 20px; }
.order-button.margin30{ margin-top: 30px; }

.big-button{
  display: block;
  width: 100%;
  height: 80px;
  border-radius: 999px;
  text-align: center;

  background: linear-gradient(348deg, var(--tov-accent), var(--tov-accent-dark));
  box-shadow: var(--tov-inset), 0 12px 18px rgba(0,0,0,.22);
  border: none;

  font-family: "AvenirNextCyr", "Proxima Nova", Arial, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1.5px;
  color: #fff;
  text-transform: uppercase;
  line-height: 80px;
  text-shadow: 0 0 11px rgba(0,0,0,.45);
}
.big-button:active{ transform: translateY(1px); }

/* ====== DISCOUNT LIST (COMBO) ====== */
.number-discount{
  width: 96%;
  margin: 18px auto 0;
  padding: 18px 16px;
  border-radius: var(--tov-radius);
  background: #fff;
  box-shadow: var(--tov-shadow);
}

.number-discount .block-title{
  text-align: center;
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: .6px;
}

.discount-list{
  margin: 0;
  padding-left: 20px;
}
.discount-list li{
  margin: 6px 0;
  color: rgba(0,0,0,.8);
}
.discount-list strong{ color: #111; }

/* ====== COUNTDOWN (FIXED) ======
   countdown.js создаёт внутри .js-countdown:
   <div class="countdown__timer">
     <span class="countdown__item">
       <span class="countdown__value ..."></span>
       <span class="countdown__label"></span>
     </span>...
*/
.countdown{
  width: 96%;
  margin: 18px auto 0;
  padding: 16px 16px 18px;
  border-radius: var(--tov-radius);
  background: linear-gradient(180deg, rgba(69,184,200,.12), rgba(255,255,255,1));
  box-shadow: var(--tov-shadow);
  text-align: center;
}

.countdown h4{
  margin: 0 0 12px;
  font-weight: 900;
}

.countdown .value{
  margin: 0;
}

.js-countdown{
  display: block;
}

.countdown__timer{
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.countdown__item{
  width: 96px;
  padding: 12px 10px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  border: 1px dashed rgba(0,0,0,.18);
  box-shadow: 0 8px 14px rgba(0,0,0,.10);
}

.countdown__value{
  display: block;
  font-family: "Acrom", "AvenirNextCyr", Arial, sans-serif;
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0;
  color: #111;
  font-variant-numeric: tabular-nums;
}

.countdown__label{
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: rgba(0,0,0,.55);
}

.countdown-text{
  margin-top: 12px;
  font-size: 13px;
  color: rgba(0,0,0,.72);
}
.countdown-text p{ margin: 6px 0 0; }

/* ====== DESCRIPTION ====== */
.product-description{
  padding: 22px 14px 0;
}
.product-description .title{
  text-align: center;
  margin: 0 0 12px;
  font-weight: 900;
}
.presentation-wrap{
  width: 96%;
  margin: 0 auto;
}
.presentation{
  padding: 16px;
  border-radius: var(--tov-radius);
  background: #fff;
  box-shadow: var(--tov-shadow);
}
.video-presentation{
  margin-top: 14px;
  padding: 12px;
  border-radius: var(--tov-radius);
  background: #fff;
  box-shadow: var(--tov-shadow);
}

/* ====== FEATURES ====== */
.features-block{
  padding: 26px 14px 0;
}
.features-block .title{
  text-align: center;
  margin: 0 0 14px;
  font-weight: 900;
}
.feature-item-wrap{
  width: 96%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.feature-item{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: var(--tov-radius);
  background: #fff;
  box-shadow: var(--tov-shadow);
  align-items: center;
}
.feature-image img{
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.feature-title{
  margin: 0 0 6px;
  font-weight: 900;
}
.feature-description{ color: rgba(0,0,0,.78); }

/* ====== STEPS ====== */
.steps-block{ padding: 26px 14px 0; }
.steps-block .title{
  text-align: center;
  margin: 0 0 14px;
  font-weight: 900;
}
.steps-list{
  width: 96%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.steps-item{
  padding: 14px;
  border-radius: var(--tov-radius);
  background: #fff;
  box-shadow: var(--tov-shadow);
}
.steps-item p{ margin: 0; color: rgba(0,0,0,.8); }
.steps-item p span{
  display: inline-block;
  font-weight: 900;
  margin-right: 6px;
  color: #111;
}
.steps-item .img{ margin-top: 10px; text-align: center; }
.steps-item .img img{
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

/* ====== SPECIFICATIONS ====== */
.specifications{ padding: 26px 14px 0; }
.specifications .title{
  text-align: center;
  margin: 0 0 14px;
  font-weight: 900;
}
.specifications .image{
  width: 96%;
  margin: 0 auto 12px;
  text-align: center;
}
.specifications .image img{
  max-width: 100%;
  height: auto;
  border-radius: var(--tov-radius);
  box-shadow: var(--tov-shadow);
}

.characteristics__list{
  width: 96%;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-radius: var(--tov-radius);
  overflow: hidden;
  box-shadow: var(--tov-shadow);
}
.characteristics__list li{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.characteristics__list li:last-child{ border-bottom: none; }
.characteristics__list b{ font-weight: 800; }
.characteristics__list span{ color: rgba(0,0,0,.75); }

.characteristics__list li.custom-icon{
  grid-template-columns: 26px 1fr auto;
  align-items: center;
}
.characteristics-icon{ width: 22px; height: 22px; }

/* ====== REVIEWS ====== */
.reviews{ padding: 26px 14px 0; text-align: center; }
.reviews .title{
  margin: 0 0 14px;
  font-weight: 900;
}
.rev_item{ padding: 12px 0 0; }
.rev_item_image,
.rev_item img{
  width: 86%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--tov-radius);
  box-shadow: var(--tov-shadow);
}
.rev-text{
  width: 92%;
  margin: 16px auto 0;
  text-align: left;
}
.rev-title{ font-weight: 900; margin-bottom: 6px; }
.rev-author{
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 900;
  margin-top: 10px;
}
.rev_avatar{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  object-fit: cover;
}
.swiper-button-next, .swiper-button-prev{ color: rgba(0,0,0,.75); }

/* ====== HOW TO ORDER (NO IMAGES) ====== */
.order_steps_section{
  width: 96%;
  margin: 26px auto 10px;
}
.order_steps_section .title{
  text-align: center;
  margin: 0 0 14px;
  font-weight: 900;
}

.how-order-img{
  position: relative;
  min-height: 100px;
  padding: 18px 16px 18px 18px;
  border-radius: var(--tov-radius);
  margin-bottom: 14px;
  box-shadow: var(--tov-shadow);
  color: #fff;
  overflow: hidden;
}
.how-order-img.img1{ background: linear-gradient(135deg, #45b8c8, #1aa3b8); }
.how-order-img.img2{ background: linear-gradient(135deg, #667eea, #764ba2); }
.how-order-img.img3{ background: linear-gradient(135deg, #ff6a3a, #ff3b30); }
.how-order-img.img4{ background: linear-gradient(135deg, #2ecc71, #16a34a); }

.how-order-img::before{
  content: "";
  position: absolute;
  left: -22px;
  top: -22px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.how-order-img::after{
  content: attr(data-step);
  position: absolute;
  left: 16px;
  top: 16px;
  font-family: "Acrom", "AvenirNextCyr", Arial, sans-serif;
  font-weight: 900;
  font-size: 26px;
  opacity: .9;
}

.how-order-img .title{
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 6px;
  padding-left: 44px;
}
.how-order-img .description{
  font-weight: 400;
  max-width: 320px;
  font-size: 14px;
  line-height: 1.25;
  padding-left: 44px;
  opacity: .95;
}
.how-order-img .right{
  float: right;
  text-align: left;
}

/* ====== ORDER FORM (CF7) ====== */
.contact-form{ margin-top: 10px; }

.form-txt{
  text-align: center;
  margin: 8px 0 12px;
}
.form-txt h4{ margin: 0; font-weight: 900; }
.form-txt p{
  margin: 6px 0 0;
  color: rgba(0,0,0,.7);
}

.oreder-form form,
.order-form form,
.wpcf7 form{
  margin: 16px auto 22px;
  width: 96%;
  padding: 18px 12px 20px;
  border-radius: var(--tov-radius);
  background: linear-gradient(325deg, rgba(127,127,127,.35), rgba(157,157,157,.18));
  box-shadow: var(--tov-inset), var(--tov-shadow);
}

.oreder-form form p,
.wpcf7 form p{ margin: 0; }

.wpcf7-form-control-wrap{
  display: block;
  margin-bottom: 14px;
}

.oreder-form input,
.oreder-form select,
.wpcf7 input,
.wpcf7 select{
  display: block;
  width: 100%;
  max-width: 400px;
  height: 62px;
  margin: 0 auto;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.95);
  font-size: 16px;
  outline: none;
}

.wpcf7 input::placeholder{ color: rgba(0,0,0,.45); }

.wpcf7-submit,
.oreder-form button,
.oreder-form input[type="submit"]{
  display: block;
  width: 100%;
  max-width: 400px;
  height: 74px;
  margin: 10px auto 0;
  border-radius: 999px;
  border: none;
  cursor: pointer;

  background: linear-gradient(348deg, var(--tov-accent), var(--tov-accent-dark));
  box-shadow: var(--tov-inset), 0 12px 18px rgba(0,0,0,.22);

  font-family: "AvenirNextCyr", "Proxima Nova", Arial, sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 1.3px;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 0 11px rgba(0,0,0,.45);
}

.wpcf7-response-output{
  width: 96%;
  margin: 10px auto 0;
  border-radius: 14px;
}

/* Helpers */
.margin20{ margin-top: 20px; }
.margin30{ margin-top: 30px; }

@media (max-width: 520px){
  .product-title{ font-size: 30px; }
  .feature-item{ grid-template-columns: 96px 1fr; }
  .countdown__timer{ flex-wrap: wrap; }
  .countdown__item{ width: 46%; }
}