:root {
  --bg: #f5efe7;
  --card: #fffaf4;
  --text: #28170c;
  --muted: #766554;
  --accent: #ef6b1f;
  --accent-dark: #b9470f;
  --brown: #442510;
  --cream: #fbf3e7;
  --line: rgba(68, 37, 16, 0.14);
  --shadow: 0 18px 45px rgba(68, 37, 16, 0.16);
  --radius: 28px;
}

* {
  box-sizing: border-box;
  min-width: 0;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: radial-gradient(circle at top, #fff9ef 0, var(--bg) 44%, #eee3d4 100%);
  color: var(--text);
  font-family: Arial, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

button,
input {
  width: 100%;
  max-width: 100%;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.top-line {
  background: var(--brown);
  color: #fff7ed;
}

.top-line-inner {
  display: flex;
  justify-content: center;
  gap: 12px 18px;
  flex-wrap: wrap;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.hero {
  padding: 28px 0 30px;
  background: linear-gradient(160deg, #fff8eb, #f0dfc9);
}

.hero-grid {
  display: grid;
  gap: 22px;
  align-items: center;
}

.hero-copy,
.hero-media,
.order-form,
.price-card,
.timer-box,
.gallery-grid figure,
.creative-grid,
.specs-grid div,
.reviews-grid article,
.modal-box {
  overflow: hidden;
}

.hero-copy {
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 250, 244, 0.78);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-media {
  position: relative;
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: var(--card);
}

.hero-media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.sale-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.hit {
  background: rgba(239, 107, 31, 0.12);
  color: var(--accent-dark);
  border: 1px solid rgba(239, 107, 31, 0.32);
}

.stock {
  background: rgba(35, 128, 74, 0.12);
  color: #177344;
  border: 1px solid rgba(35, 128, 74, 0.28);
}

.box {
  background: rgba(68, 37, 16, 0.08);
  color: var(--brown);
  border: 1px solid rgba(68, 37, 16, 0.16);
}

h1,
h2,
h3 {
  color: var(--brown);
  line-height: 1.08;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 8vw, 64px);
  letter-spacing: -1.4px;
  text-transform: uppercase;
}

.lead {
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
}

.price-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 22px 0 16px;
  padding: 16px;
  border: 1px solid rgba(239, 107, 31, 0.24);
  border-radius: 24px;
  background: rgba(255, 250, 244, 0.9);
  box-shadow: var(--shadow);
}

.old-price {
  display: block;
  color: #a79a8d;
  font-size: 18px;
  text-decoration: line-through;
}

.new-price {
  display: block;
  color: var(--accent-dark);
  font-size: clamp(34px, 8vw, 48px);
  line-height: 1;
}

.discount {
  flex: 0 0 auto;
  min-width: 68px;
  border-radius: 999px;
  padding: 10px 12px;
  background: var(--accent);
  color: white;
  text-align: center;
  font-weight: 900;
  box-shadow: 0 10px 25px rgba(239, 107, 31, 0.28);
}

.hero-actions {
  display: grid;
  gap: 10px;
}

.main-btn,
.secondary-btn,
.order-form button,
.float-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  border-radius: 18px;
  padding: 16px 18px;
  text-align: center;
  font-weight: 900;
  text-decoration: none;
  line-height: 1.15;
}

.main-btn,
.order-form button,
.float-btn {
  border: 0;
  background: linear-gradient(135deg, var(--accent), #ff8a37);
  color: white;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(239, 107, 31, 0.32);
  text-transform: uppercase;
}

.secondary-btn {
  border: 1px solid rgba(68, 37, 16, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--brown);
}

.micro-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.benefits-strip {
  padding: 18px 0;
  background: #fffaf4;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.benefits-grid article,
.specs-grid div,
.reviews-grid article {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(68, 37, 16, 0.08);
}

.benefits-grid article {
  padding: 14px;
}

.benefits-grid b,
.benefits-grid span {
  display: block;
}

.benefits-grid b {
  color: var(--brown);
  font-size: 15px;
}

.benefits-grid span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.timer-section {
  padding: 20px 0;
  background: var(--brown);
  color: #fff8ee;
}

.timer-box {
  display: grid;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.timer-section h2 {
  color: #fff8ee;
  font-size: 22px;
}

.timer-section p {
  margin-top: 6px;
  color: rgba(255, 248, 238, 0.78);
  font-size: 14px;
}

.timer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 88px));
  justify-content: center;
  gap: 10px;
}

.timer div {
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.timer b,
.timer span {
  display: block;
}

.timer b {
  font-size: 30px;
  line-height: 1;
}

.timer span {
  color: rgba(255, 248, 238, 0.76);
  font-size: 11px;
}

.order-section,
.gallery-section,
.creative-section,
.specs-section,
.reviews-section {
  padding: 42px 0;
}

.order-section {
  background: #fff7ec;
}

.order-grid {
  display: grid;
  gap: 18px;
  align-items: center;
}

.section-head {
  margin-bottom: 18px;
  text-align: center;
}

.section-head.left {
  text-align: left;
}

.section-head span,
.eyebrow {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-head h2 {
  margin-top: 6px;
  font-size: clamp(26px, 5vw, 38px);
}

.section-head p {
  margin-top: 10px;
  color: var(--muted);
}

.order-form {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(68, 37, 16, 0.12);
  border-radius: 24px;
  background: white;
  box-shadow: var(--shadow);
}

.order-form label {
  display: grid;
  gap: 6px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 800;
}

.order-form input {
  border: 1.5px solid rgba(68, 37, 16, 0.18);
  border-radius: 15px;
  padding: 14px 15px;
  background: #fffaf4;
  color: var(--text);
  outline: none;
}

.order-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(239, 107, 31, 0.12);
}

.order-form button {
  font-size: 18px;
}

.order-form p {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.gallery-section {
  background: linear-gradient(180deg, #fffaf4, #f7ebdd);
}

.gallery-grid {
  display: grid;
  gap: 16px;
}

.gallery-grid figure {
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow);
}

.gallery-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.creative-section {
  background: linear-gradient(180deg, #f7ebdd, #fffaf4);
}

.creative-grid {
  display: grid;
  gap: 20px;
  align-items: center;
  border-radius: 32px;
  padding: 16px;
  background: rgba(255, 250, 244, 0.76);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.creative-grid img {
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.creative-grid h2 {
  margin: 7px 0 10px;
  font-size: clamp(26px, 5vw, 36px);
}

.creative-grid p,
.creative-grid li {
  color: var(--muted);
  font-size: 15px;
}

.creative-grid ul {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding-left: 20px;
}

.specs-section,
.reviews-section {
  background: #fffaf4;
}

.specs-grid,
.reviews-grid {
  display: grid;
  gap: 10px;
}

.specs-grid div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
}

.specs-grid span {
  color: var(--muted);
}

.specs-grid b {
  color: var(--brown);
  text-align: right;
}

.review-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.reviews-grid article {
  padding: 16px;
}

.review-top span {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 1px;
}

.reviews-grid p {
  color: var(--muted);
  font-size: 14px;
}

.bottom-order {
  padding-bottom: 100px;
}

.footer {
  padding: 22px 0 98px;
  background: var(--brown);
  color: rgba(255, 248, 238, 0.76);
  text-align: center;
  font-size: 12px;
}

.float-btn {
  position: fixed;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 20;
  width: min(560px, calc(100vw - 28px));
  transform: translateX(-50%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(239, 107, 31, 0.34); }
  50% { box-shadow: 0 16px 44px rgba(239, 107, 31, 0.62); }
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  align-items: flex-end;
  justify-content: center;
  padding: 14px;
  background: rgba(30, 17, 8, 0.72);
}

.modal.active {
  display: flex;
}

.modal-box {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100vh - 28px);
  overflow-y: auto;
  border-radius: 28px;
  padding: 22px 16px 16px;
  background: var(--cream);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(68, 37, 16, 0.1);
  color: var(--brown);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-box h2 {
  padding: 0 38px 6px 0;
  font-size: 24px;
}

.modal-price {
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 28px;
  font-weight: 900;
}

.modal-price span {
  margin-right: 8px;
  color: #a79a8d;
  font-size: 16px;
  text-decoration: line-through;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.thanks-wrap {
  width: min(100%, 760px);
}

.thanks-card {
  overflow: hidden;
  border-radius: 32px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.thanks-card img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.thanks-content {
  padding: 24px 18px;
}

.thanks-content h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 8vw, 54px);
}

.thanks-content p {
  color: var(--muted);
  font-size: 16px;
}

.thanks-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.thanks-steps div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.thanks-steps b {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
}

.thanks-steps span {
  color: var(--brown);
  font-weight: 800;
}

@media (min-width: 680px) {
  .hero-actions {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timer-box {
    grid-template-columns: 1fr auto;
    text-align: left;
  }

  .order-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .creative-grid {
    grid-template-columns: 0.95fr 1.05fr;
    padding: 22px;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 920px) {
  .hero {
    padding: 46px 0;
  }

  .hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
  }

  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .specs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 22px, 1120px);
  }

  .top-line-inner {
    gap: 8px;
    font-size: 11px;
  }

  .hero-copy {
    padding: 18px 14px;
  }

  .pill {
    font-size: 11px;
  }

  .price-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .discount {
    align-self: flex-start;
  }

  .timer {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-head h2,
  .creative-grid h2 {
    font-size: 24px;
  }
}
