:root {
  --primary: #f48c06;  /* Теплий помаранчевий */
  --primary-glow: #ffba08;
  --dark: #370617;     /* Глибокий винний/коричневий */
  --gray: #6c757d;
  --bg-soft: #fffdf7;  /* Кремовий фон */
  --bg-gray: #f8f9fa;
  --text: #212529;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(244, 140, 6, 0.15);
  --container: 1000px;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-soft);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3, .brand, .btn, .price-new {
  font-family: 'Quicksand', sans-serif;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER */
.header {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header__inner { display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 22px; font-weight: 700; color: var(--text); }
.brand span { color: var(--primary); }
.header__offer { font-size: 13px; font-weight: 700; color: #dc2f02; background: #ffe6e6; padding: 4px 10px; border-radius: 20px; }

/* HERO */
.hero { padding: 30px 0 50px; }
.hero__grid { display: grid; gap: 30px; }
@media(min-width: 768px) {
  .hero__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 50px; }
}

/* Slider */
.hero__visual { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.slider { width: 100%; aspect-ratio: 1/1; position: relative; background: #f0f0f0; }
@media(min-width: 768px) { .slider { aspect-ratio: 4/3; } }

.slider__track { display: flex; height: 100%; transition: transform 0.4s ease; }
.slider__track img { width: 100%; height: 100%; object-fit: cover; flex-shrink: 0; }

.nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; background: rgba(255,255,255,0.7);
  border: none; border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--dark);
  transition: 0.2s;
}
.nav-btn:hover { background: #fff; }
.prev { left: 10px; } .next { right: 10px; }

.slider__dots { position: absolute; bottom: 15px; width: 100%; display: flex; justify-content: center; gap: 8px; }
.dot { width: 10px; height: 10px; background: rgba(255,255,255,0.5); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--primary); transform: scale(1.2); }

.badge {
  position: absolute; top: 15px; left: 15px;
  background: var(--primary); color: #fff;
  padding: 6px 12px; border-radius: 20px; font-weight: 700; font-size: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Hero Content */
.hero__title { font-size: 28px; line-height: 1.2; margin-bottom: 12px; font-weight: 700; }
.highlight { color: var(--primary); }
.hero__desc { font-size: 16px; color: var(--gray); margin-bottom: 20px; }

.price-box {
  background: #fff; border: 2px solid #eee;
  padding: 15px; border-radius: var(--radius);
  text-align: center; margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.price-row { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 5px; }
.old-price { text-decoration: line-through; color: #aaa; }
.discount { background: #d00000; color: #fff; padding: 2px 6px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.new-price { font-size: 36px; font-weight: 800; color: var(--primary); line-height: 1; }
.timer-wrapper { font-size: 13px; margin-top: 8px; color: #555; font-weight: 600; }

.btn {
  display: block; width: 100%; padding: 18px;
  border-radius: var(--radius); border: none;
  font-size: 18px; font-weight: 700; text-align: center;
  text-decoration: none; cursor: pointer; transition: 0.2s;
}
.btn--warm {
  background: linear-gradient(45deg, var(--primary), #fb5607);
  color: #fff;
  box-shadow: 0 8px 20px rgba(244, 140, 6, 0.4);
}
.btn--warm:hover { transform: translateY(-2px); box-shadow: 0 12px 25px rgba(244, 140, 6, 0.5); }
.btn--pulse { animation: pulse 2s infinite; }

.hero__tags {
  margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
@media(min-width: 768px) { .hero__tags { justify-content: flex-start; } }
.hero__tags span {
  font-size: 13px; background: #fff3e0; color: #e85d04;
  padding: 6px 12px; border-radius: 15px; font-weight: 600;
}

/* SECTIONS */
.section { padding: 50px 0; }
.section--soft { background: #fff; }
.section__title { font-size: 26px; margin-bottom: 30px; color: var(--dark); font-weight: 700; }
.text-center { text-align: center; }

/* PAIN GRID */
.pain-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.pain-item {
  background: var(--bg-gray); padding: 25px; border-radius: var(--radius);
  text-align: center; border: 1px solid #eee;
}
.pain-icon { font-size: 36px; margin-bottom: 10px; }
.pain-item h3 { margin: 0 0 10px; font-size: 18px; color: var(--dark); }
.pain-item p { margin: 0; font-size: 14px; color: var(--gray); }

/* ZIG-ZAG FEATURES */
.feature-row { display: grid; gap: 20px; margin-bottom: 50px; }
.feature-img img { width: 100%; border-radius: var(--radius); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.feature-text { align-self: center; }
.warm-text { color: #e85d04; font-size: 22px; margin-bottom: 10px; }

.check-list { list-style: none; padding: 0; margin: 15px 0; }
.check-list li { padding-left: 25px; position: relative; margin-bottom: 8px; color: #555; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }

.note-box {
  background: #e9ecef; padding: 15px; border-radius: 12px;
  font-size: 13px; color: #495057; border-left: 4px solid var(--gray);
}

@media(min-width: 768px) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 50px; }
  .feature-row--reverse .feature-img { order: 2; }
}

/* GIFT SECTION */
.section--orange { background: linear-gradient(135deg, #ffba08, #faa307); color: #fff; }
.text-white { color: #fff; }
.gift-grid { display: grid; gap: 15px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.gift-card {
  background: rgba(255,255,255,0.2); backdrop-filter: blur(5px);
  padding: 20px; border-radius: var(--radius); display: flex; align-items: center; gap: 15px;
}
.gift-card span { font-size: 30px; }
.gift-card p { margin: 0; font-size: 14px; line-height: 1.4; }

/* SPECS */
.specs-wrapper { max-width: 600px; margin: 0 auto; }
.specs-table { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.spec-row {
  display: flex; justify-content: space-between; padding: 15px 20px;
  border-bottom: 1px solid #f1f1f1; font-size: 15px;
}
.spec-row:last-child { border: none; }
.spec-row span { color: var(--gray); }

/* ORDER FORM */
.section--warm-bg { background: #fff3e0; }
.form-card {
  background: #fff; max-width: 480px; margin: 0 auto;
  padding: 30px; border-radius: var(--radius);
  box-shadow: 0 15px 40px rgba(244, 140, 6, 0.2);
}
.form-header { text-align: center; margin-bottom: 20px; }
.form-header h2 { margin: 0; color: var(--primary); }
.form-header p { margin: 5px 0 0; font-size: 14px; color: var(--gray); }

.product-preview {
  display: flex; gap: 15px; align-items: center; background: #fafafa;
  padding: 10px; border-radius: 12px; margin-bottom: 20px; border: 1px solid #eee;
}
.product-preview img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
.pp-name { font-weight: 700; font-size: 14px; }
.pp-price { color: var(--primary); font-weight: 800; font-size: 18px; }

.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #495057; }
.form-group input, .form-select {
  width: 100%; padding: 14px; border: 2px solid #e9ecef;
  border-radius: 12px; font-size: 16px; box-sizing: border-box; transition: 0.2s;
}
.form-group input:focus, .form-select:focus { border-color: var(--primary); outline: none; }

.antispam { display: none; }
.secure { text-align: center; margin-top: 15px; font-size: 12px; color: #aaa; }

.footer { background: var(--text); color: #aaa; padding: 30px 0; text-align: center; font-size: 14px; }

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 140, 6, 0.7); }
  70% { transform: scale(1.02); box-shadow: 0 0 0 10px rgba(244, 140, 6, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 140, 6, 0); }
}