:root {
  --navy: #1a1464;
  --navy-deep: #100c42;
  --promo: #9f1239;
  --purple: #6b21a8;
  --purple-mid: #7c3aed;
  --purple-soft: #ede9fe;
  --orange: #ea580c;
  --orange-hover: #c2410c;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --paper: #ffffff;
  --sand: #f5f3ff;
  --ok: #15803d;
  --radius: 14px;
  --max: 1180px;
  --header-h: 76px;
  --sticky-h: 72px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
  padding-bottom: var(--sticky-h);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 0.6em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: #fff;
  padding: 8px 12px;
}

/* Promo */
.promo {
  background: var(--promo);
  color: #fff;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 16px;
}
.promo a { display: block; }

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-text strong {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}
.logo-text span {
  font-size: 0.7rem;
  opacity: 0.78;
  font-weight: 500;
}

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-btn svg { width: 28px; height: 28px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
}
.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
}
.site-nav a:hover,
.site-nav a.is-active { background: rgba(255,255,255,0.12); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
}
.cart-link:hover { background: rgba(255,255,255,0.12); }
.cart-link svg { width: 22px; height: 22px; }

@media (max-width: 900px) {
  .nav-btn { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 12px 16px 20px;
    gap: 4px;
  }
  .site-nav a { width: 100%; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  text-align: center;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-hover); }
.btn-purple { background: var(--purple-mid); color: #fff; }
.btn-purple:hover { background: #5b21b6; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-wide { width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(180deg, #5b21b6 0%, #6d28d9 42%, #7c3aed 100%);
  color: #fff;
  padding: 28px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual img {
  width: min(420px, 100%);
  max-height: 520px;
  object-fit: contain;
  margin-inline: auto;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,0.28));
}
.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  max-width: 16ch;
}
.hero .lead {
  font-size: 1.08rem;
  max-width: 42ch;
  opacity: 0.94;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 14px;
}
.ship-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  opacity: 0.92;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 22px;
  border-radius: 999px;
  background: var(--purple-mid);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.trust li {
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
  text-align: center;
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--sand); }
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  max-width: 22ch;
}
.kicker {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 56ch;
}

.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(26, 20, 100, 0.08);
  display: flex;
  flex-direction: column;
}
.cat-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.cat-card .body { padding: 18px 18px 22px; }
.cat-card h3 { margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: 0.95rem; }

.compare {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}
.compare img {
  width: 100%;
  border-radius: 18px;
}
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
th { background: var(--navy); color: #fff; }
td:nth-child(2) { color: var(--ok); font-weight: 700; }
td:nth-child(3) { color: #b45309; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
}
.step b {
  display: block;
  color: var(--purple-mid);
  margin-bottom: 8px;
}
.step p { color: var(--muted); margin: 0; }

.conditions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.condition {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
}
.condition h3 { font-size: 1.15rem; }
.condition p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.disclaimer {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(26, 20, 100, 0.07);
}
.product-card img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  background: #fafafa;
}
.product-card .body { padding: 16px 16px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.price { font-weight: 800; font-size: 1.2rem; }
.price s {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  margin-right: 8px;
}
.stars { color: #d97706; font-weight: 700; font-size: 0.9rem; }

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
}
.review p { color: var(--muted); }
.review footer { font-weight: 700; }

.faq details {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 10px;
  padding: 4px 16px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
}
.faq details p { color: var(--muted); }

.help-band {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.help-band a { color: #c4b5fd; font-weight: 800; }

/* Product page */
.product-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  padding: 40px 0 24px;
  align-items: start;
}
.gallery {
  display: grid;
  gap: 10px;
}
.gallery .main {
  border-radius: 18px;
  background: #fafafa;
  overflow: hidden;
}
.gallery .main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.thumbs img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 1;
  object-fit: cover;
}
.product-card .body .btn { width: 100%; }
.buy-box h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.buy-box .checks { margin: 16px 0 22px; }
.buy-box .checks li {
  padding: 6px 0 6px 28px;
  position: relative;
}
.buy-box .checks li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ok);
  position: absolute;
  left: 0;
  top: 9px;
}
.qty-row { display: flex; gap: 12px; align-items: center; margin: 16px 0; }
.qty-row input {
  width: 72px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
}

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}
.spec {
  background: var(--sand);
  border-radius: 14px;
  padding: 16px 18px;
}

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding: 40px 0 64px;
}
.form-card, .summary-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  min-height: 46px;
  border: 1px solid #d6d3d1;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}
.field textarea { min-height: 96px; resize: vertical; }
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.92rem;
  grid-column: 1 / -1;
}
.summary-card h2 { font-size: 1.2rem; }
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
}
.note {
  background: var(--purple-soft);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.92rem;
  margin: 12px 0 18px;
}

.thanks {
  text-align: center;
  padding: 72px 0 96px;
  max-width: 640px;
  margin: 0 auto;
}
.thanks h1 { font-size: clamp(2rem, 4vw, 3rem); }
.thanks .ok-mark {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
}

.page-hero {
  background: var(--sand);
  padding: 48px 0 28px;
}
.prose {
  max-width: 72ch;
}
.prose h2 { margin-top: 1.4em; font-size: 1.35rem; }
.prose p, .prose li { color: #44403c; }
.prose ul { padding-left: 1.2em; list-style: disc; margin-bottom: 1em; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-card {
  background: var(--sand);
  border-radius: 16px;
  padding: 22px;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #e7e5e4;
  padding: 48px 0 28px;
  margin-top: 24px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 12px;
}
.site-footer a { display: block; padding: 4px 0; opacity: 0.88; }
.site-footer a:hover { opacity: 1; color: #fff; }
.legal {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: var(--purple-mid);
  color: #fff;
  min-height: var(--sticky-h);
  display: flex;
  align-items: center;
}
.sticky-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: min(var(--max), calc(100% - 24px));
}
.sticky-bar strong { font-size: 1.05rem; }
body.no-sticky { padding-bottom: 0; }
body.no-sticky .sticky-bar { display: none; }

@media (max-width: 900px) {
  .hero-grid,
  .compare,
  .product-hero,
  .checkout-grid,
  .contact-grid,
  .foot-grid { grid-template-columns: 1fr; }
  .cats,
  .product-grid,
  .reviews,
  .conditions,
  .steps,
  .specs { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: none; }
  .help-band { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .sticky-bar .muted { display: none; }
}

@media (max-width: 640px) {
  .cats,
  .product-grid,
  .reviews,
  .conditions,
  .steps,
  .trust,
  .specs { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
}
