/* ===== improved2/css/improved.css — conversion-focused overhaul ===== */

/* ---------- base resets & global ---------- */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(100% - 20px, 480px);
}

/* ---------- top bar ---------- */
.minimal-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 16px;
  padding: 7px 10px;
  line-height: 1.35 !important;
  background: #111 !important;
  font-size: 0; /* collapse whitespace */
}

.minimal-info {
  position: relative;
  padding: 3px 0;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.minimal-info::before {
  content: '✓ ';
  color: #8bc24a;
}

/* ---------- hero header ---------- */
header {
  padding-top: 0;
  padding-bottom: 0;
  background: linear-gradient(180deg, #f5f5f5 0%, #eef2e8 100%) !important;
}

header .text-top-wrap h1,
.s-forma h1 {
  font-size: clamp(22px, 5.5vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: none !important;
}

header .text-top-wrap h1 {
  margin-top: 20px;
  margin-bottom: 8px;
}

/* hero subtitle */
.hero-subtitle {
  max-width: 430px;
  margin: 0 auto 10px;
  color: #444;
  font-size: 16px;
  line-height: 1.4;
}

/* hero pill badge */
.hero-price-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 auto 6px;
  padding: 8px 18px;
  color: #fff;
  background: linear-gradient(135deg, #222 0%, #111 100%);
  border-radius: 28px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
}

/* ---------- product image ---------- */
header .img-wrap-top {
  padding-top: 10px;
}

header .img-wrap-top img,
.s-forma .img-wrap-clock img {
  width: min(100%, 280px);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* ---------- price / CTA block ---------- */
.header-text-wrap {
  padding-top: 18px;
}

.header-text-wrap p.clearfix {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header-text-wrap .skidka {
  background: #e74c3c !important;
  color: #fff !important;
  border-radius: 22px;
  animation: pulse-badge 2s ease-in-out infinite;
}

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

.header-text-wrap .skidka {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 80px;
  margin: 0 4px 10px !important;
  padding: 6px 16px !important;
  background: #e74c3c !important;
  color: #fff !important;
  border-radius: 22px;
  font-size: 16px !important;
  position: static !important;
  animation: pulse-badge 2s ease-in-out infinite;
}

.header-text-wrap .gray {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  margin: 0 4px 10px !important;
  padding: 6px 16px !important;
  background: #fff3cd !important;
  color: #856404 !important;
  border: 1px solid #ffc107 !important;
  border-radius: 22px !important;
  font-size: 14px !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0;
}

/* feature bullets */
.p-round {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.35;
  font-size: 15px;
  color: #333;
  font-weight: 500;
}

.p-round img {
  flex: 0 0 auto;
  padding-right: 0;
  margin-top: 2px;
}

/* CTA buttons */
.btn-wrap strike,
.btn-wrap span,
.btn-wrap a,
.btn-yellow {
  max-width: 440px;
  height: 54px;
  line-height: 54px;
}

header .btn-wrap strike,
header .btn-wrap span {
  margin: 6px auto;
}

header .btn-wrap a {
  margin: 12px auto 0;
}

.btn-wrap a,
.btn-yellow {
  font-weight: 700;
  text-transform: none !important;
  position: relative;
  overflow: hidden;
}

/* green CTA */
.btn-green,
a.btn-green {
  background: linear-gradient(135deg, #8bc24a 0%, #6aad2d 100%) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(139,194,74,0.35);
  animation: cta-glow 2.5s ease-in-out infinite;
  font-size: 22px !important;
}

.btn-green:hover,
.btn-green:focus,
.btn-green:active,
a.btn-green:hover,
a.btn-green:focus,
a.btn-green:active {
  color: #fff !important;
  text-decoration: none !important;
  opacity: 0.9;
}

@keyframes cta-glow {
  0%, 100% { box-shadow: 0 4px 16px rgba(139,194,74,0.35); }
  50% { box-shadow: 0 4px 28px rgba(139,194,74,0.55); }
}

/* yellow CTA */
.btn-yellow {
  background: linear-gradient(135deg, #fffc00 0%, #ffd600 100%) !important;
  color: #333 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(255,252,0,0.3);
  animation: cta-glow-yellow 2.5s ease-in-out infinite;
  font-size: 22px !important;
  border: none !important;
}

.btn-yellow:hover,
.btn-yellow:focus,
.btn-yellow:active {
  color: #000 !important;
  text-decoration: none !important;
  opacity: 0.95;
}

@keyframes cta-glow-yellow {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,252,0,0.3); }
  50% { box-shadow: 0 4px 28px rgba(255,252,0,0.5); }
}

/* ---------- guarantee strip ---------- */
.black-div {
  padding: 20px 0 !important;
}

/* ---------- product description ---------- */
.s-khar {
  background: #111 !important;
}

.s-khar p {
  text-align: left !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #ddd !important;
}

.s-khar video {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.s-khar h3 {
  font-size: 1.5em !important;
  margin: 24px auto 20px !important;
}

/* specs list */
.s-khar .tabs__content ul {
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px 16px 16px 36px !important;
  margin: 8px auto 20px !important;
}

.s-khar .tabs__content li {
  padding-bottom: 8px;
  line-height: 1.4;
  color: #eee;
}

/* fit / kit blocks */
.fit-block {
  margin: 24px auto;
  padding: 20px;
  color: #fff;
  background: #181818;
  border: 1px solid rgba(139,194,74,0.35);
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.fit-block h3 {
  margin: 0 0 14px;
}

.fit-grid {
  display: grid;
  gap: 14px;
}

.fit-grid > div,
.kit-list {
  padding: 14px 16px;
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
}

.fit-grid h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

.fit-grid > div:first-child h4 {
  color: #8bc24a;
}

.fit-grid > div:last-child h4 {
  color: #e74c3c;
}

.fit-grid ul,
.kit-list {
  margin: 0;
  padding-left: 20px;
}

.fit-grid li,
.kit-list li {
  padding-bottom: 7px;
  line-height: 1.4;
  color: #ccc;
}

/* ---------- reviews ---------- */
.review {
  background: #fff;
  color: #111;
  padding: 28px 0 8px;
}

.review .title {
  padding-bottom: 6px;
  font-size: 26px !important;
  color: #111;
}

/* review card lift */
.eWitUL {
  background: #f7f8fa !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ---------- how we work ---------- */
.s-work {
  background: #fafafa !important;
  padding-top: 36px !important;
  padding-bottom: 8px !important;
}

.s-work h2 {
  font-size: 1.4em;
  color: #111;
  padding-bottom: 8px !important;
}

.s-work .wrap-item {
  margin-top: 14px !important;
}

.s-work .wrap-item p {
  color: #333 !important;
}

.s-work .wrap-item img {
  max-height: 72px;
  object-fit: contain;
}

.s-work .btn {
  background: linear-gradient(135deg, #8bc24a 0%, #6aad2d 100%) !important;
  box-shadow: 0 3px 12px rgba(139,194,74,0.3);
}

/* ---------- order form section ---------- */
.s-forma {
  background: linear-gradient(160deg, #8bc24a 0%, #6aad2d 100%) !important;
  padding-top: 36px !important;
  padding-bottom: 50px !important;
}

.s-forma h1 {
  font-size: clamp(20px, 5vw, 28px) !important;
  text-transform: none !important;
}

.s-forma .skidka {
  font-size: 18px;
  margin-top: 20px !important;
}

.s-forma .timer-block > div {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.modal-content-box .input-medium {
  border: 2px solid #e0e0e0 !important;
  border-radius: 28px;
  padding: 16px 16px 16px 48px;
  font-size: 16px;
  transition: border-color 0.2s;
}

.modal-content-box .input-medium:focus {
  border-color: #8bc24a !important;
  box-shadow: 0 0 0 3px rgba(139,194,74,0.18);
}

/* consent checkbox */
.perplexity-checkbox-wrap {
  max-width: 440px !important;
  margin: 12px auto 8px !important;
}

.perplexity-checkbox-label {
  color: #1b1b1b;
  font-size: 12px;
  line-height: 1.4;
}

.perplexity-checkbox-label a {
  color: #1a5e1a !important;
  font-weight: 600;
}

/* ---------- sticky bottom CTA ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.25);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta__price {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  white-space: nowrap;
}

.sticky-cta__price small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #aaa;
  text-decoration: line-through;
}

.sticky-cta__btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #8bc24a 0%, #6aad2d 100%);
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 28px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 3px 14px rgba(139,194,74,0.35);
  animation: cta-glow 2.5s ease-in-out infinite;
}

.sticky-cta__btn:hover,
.sticky-cta__btn:focus,
.sticky-cta__btn:active {
  color: #fff !important;
  text-decoration: none !important;
}

/* ---------- trust badges row ---------- */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 28px;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.trust-badge__icon {
  font-size: 16px;
  line-height: 1;
}

/* ---------- countdown timer ---------- */
.countdown-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 14px auto 6px;
}

.countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 52px;
  padding: 8px 0;
  background: rgba(0,0,0,0.08);
  border-radius: 10px;
}

.countdown-cell__num {
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: #000;
}

.countdown-cell__label {
  font-size: 11px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 3px;
}

/* ---------- live counter ---------- */
.live-counter {
  text-align: center;
  padding: 8px 0 4px;
  font-size: 13px;
  color: #666;
}

.live-counter strong {
  color: #e74c3c;
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #e74c3c;
  border-radius: 50%;
  margin-right: 4px;
  animation: blink-dot 1.4s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---------- extra social proof ---------- */
.orders-counter {
  text-align: center;
  padding: 6px 0;
  font-size: 13px;
  color: #888;
}

/* ---------- footer ---------- */
footer {
  padding-bottom: 72px !important; /* space for sticky bar */
}

footer p {
  margin-bottom: 0;
}

/* ---------- media queries ---------- */
@media (max-width: 420px) {
  .minimal-header {
    display: block;
    text-align: center;
  }

  header {
    padding-bottom: 0;
  }

  header .text-top-wrap h1 {
    margin-top: 16px;
    font-size: 22px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.35;
  }

  .hero-price-mini {
    padding: 6px 14px;
    font-size: 15px;
  }

  header .img-wrap-top {
    padding-top: 6px;
  }

  header .img-wrap-top img {
    width: min(100%, 210px);
  }

  .header-text-wrap {
    padding-top: 12px;
  }

  .header-text-wrap .skidka {
    width: auto;
    min-width: 110px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 8px;
  }

  .header-text-wrap .gray {
    padding: 6px 12px !important;
    font-size: 13px;
  }

  .p-round {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .btn-wrap strike,
  .btn-wrap span,
  .btn-wrap a,
  .btn-yellow {
    height: 48px;
    line-height: 48px;
    font-size: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  header .btn-wrap > div {
    font-size: 16px !important;
  }

  header .btn-wrap strike {
    display: none;
  }

  .trust-badge {
    padding: 5px 10px;
    font-size: 11px;
  }

  .sticky-cta {
    gap: 8px;
    padding: 8px 10px;
  }

  .sticky-cta__price {
    font-size: 17px;
  }

  .sticky-cta__btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .countdown-cell {
    min-width: 46px;
    padding: 6px 0;
  }

  .countdown-cell__num {
    font-size: 22px;
  }
}

/* hide slick dots on top bar – not needed */
.minimal-header .slick-dots {
  display: none !important;
}
