*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #F6F7F9;
  --panel: #FFFFFF;
  --panel-2: #F6F7F9;
  --gold: #B8860B;
  --gold-2: #C9A227;
  --red: #E11D2E;
  --red-2: #FF3B4A;
  --green: #1F9D57;
  --text: #171A1F;
  --text-soft: #5B6470;
  --border: rgba(20,24,32,.08);
  --glow-gold: rgba(201,162,39,.16);
  --glow-red: rgba(225,29,46,.2);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --shadow: 0 12px 40px rgba(20,24,32,.08);
  --max: 1080px;
  --radius: 18px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 45% at 20% 0%, rgba(225,29,46,.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(201,162,39,.07), transparent 50%),
    radial-gradient(ellipse 50% 50% at 50% 100%, rgba(225,29,46,.04), transparent 55%),
    var(--navy);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 20px 100px;
}

/* Header */
.checkout-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  animation: fadeDown .6s cubic-bezier(.22,1,.36,1) both;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  text-shadow: none;
}
.brand:hover { text-decoration: none; color: var(--gold); }
.back-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  border: 1px solid rgba(20,24,32,.1);
  padding: 8px 14px;
  border-radius: 999px;
  transition: border-color .2s, color .2s;
}
.back-link:hover {
  color: var(--gold);
  border-color: rgba(184,134,11,.4);
  text-decoration: none;
}

/* Steps */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0 auto 36px;
  max-width: 520px;
  animation: fadeDown .7s .08s cubic-bezier(.22,1,.36,1) both;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(23,26,31,.4);
  position: relative;
}
.step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  border: 1.5px solid rgba(20,24,32,.14);
  background: #FFFFFF;
  transition: all .35s cubic-bezier(.22,1,.36,1);
}
.step.active { color: var(--gold); }
.step.active .step-num {
  border-color: var(--gold);
  background: rgba(201,162,39,.12);
  box-shadow: 0 0 14px rgba(201,162,39,.2);
  color: var(--gold);
}
.step.done { color: var(--green); }
.step.done .step-num {
  border-color: var(--green);
  background: rgba(31,157,87,.12);
  color: var(--green);
}
.step-line {
  flex: 1;
  height: 2px;
  min-width: 28px;
  max-width: 64px;
  margin: 0 10px;
  background: rgba(20,24,32,.1);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.step-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.22,1,.36,1);
}
.step-line.filled::after { transform: scaleX(1); }

.page-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 8px;
  animation: fadeUp .7s .12s cubic-bezier(.22,1,.36,1) both;
}
.page-sub {
  text-align: center;
  color: var(--text-soft);
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 15px;
  animation: fadeUp .7s .18s cubic-bezier(.22,1,.36,1) both;
}

/* Grid */
.checkout-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .offer-panel { order: -1; }
}

/* Offer panel */
.offer-panel {
  background: var(--panel);
  border: 1.5px solid rgba(20,24,32,.08);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 20px;
  animation: fadeLeft .75s .15s cubic-bezier(.22,1,.36,1) both;
}
.offer-cover {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(232,184,74,.3);
  box-shadow: 0 12px 30px rgba(20,24,32,.1);
  margin-bottom: 18px;
  position: relative;
}
.offer-cover::before {
  content: "ТЕСТ";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  transform: translate(-50%, -50%) rotate(-28deg);
  font-family: var(--font-display), Arial Black, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 7vw, 48px);
  letter-spacing: 0.18em;
  color: rgba(225, 29, 46, 0.72);
  border: 3px solid rgba(225, 29, 46, 0.65);
  padding: 10px 22px;
  border-radius: 12px;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
  background: rgba(0,0,0,.18);
}
.offer-cover img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  animation: floatSoft 5.5s ease-in-out infinite;
}
.offer-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px var(--glow-red);
}
.offer-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}
.offer-desc {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.price-old {
  font-size: 18px;
  color: #7A8494;
  text-decoration: line-through;
  font-weight: 600;
}
.price-now {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -1.5px;
  text-shadow: none;
}
.price-save {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), var(--red-2));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px var(--glow-red);
}
.promo-box {
  margin: 0 0 18px;
  padding: 14px;
  border-radius: 14px;
  background: #FFF8F8;
  border: 1px solid rgba(225,29,46,.2);
}
.promo-box label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #E11D2E;
  margin-bottom: 8px;
}
.promo-row {
  display: flex;
  gap: 8px;
}
.promo-row input {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1.5px solid rgba(20,24,32,.12);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #fff;
  color: #171A1F;
}
.promo-row input:focus {
  outline: none;
  border-color: rgba(225,29,46,.5);
  box-shadow: 0 0 0 3px rgba(225,29,46,.12);
}
.promo-apply {
  border: none;
  border-radius: 12px;
  padding: 11px 14px;
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  background: linear-gradient(135deg, #E11D2E, #FF3B4A);
  color: #fff;
  white-space: nowrap;
}
.promo-apply:disabled { opacity: .65; cursor: wait; }
.promo-msg {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}
.promo-msg.is-ok { color: #1F9D57; }
.promo-msg.is-err { color: #E11D2E; }
.price-now.is-promo { color: #1F9D57; }
.bonus-list { list-style: none; margin: 0 0 16px; }
.bonus-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(232,184,74,.12);
  font-size: 14px;
  color: var(--text);
}
.bonus-list li:last-child { border-bottom: none; }
.bonus-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
  flex-shrink: 0;
}
.guarantee-mini {
  border: 1px solid rgba(232,184,74,.35);
  background: rgba(232,184,74,.06);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-soft);
}
.guarantee-mini strong { color: var(--gold); }

/* Form panel */
.form-panel {
  background: var(--panel);
  border: 1.5px solid rgba(20,24,32,.08);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  animation: fadeRight .75s .2s cubic-bezier(.22,1,.36,1) both;
}

.section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

/* Method cards */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
@media (max-width: 520px) {
  .method-grid { grid-template-columns: 1fr; }
}
.method-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid rgba(20,24,32,.1);
  border-radius: 16px;
  padding: 16px 14px;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
  transition: border-color .25s, box-shadow .25s, transform .25s, background .25s;
}
.method-card:hover {
  border-color: rgba(232,184,74,.5);
  transform: translateY(-2px);
}
.method-card.selected {
  border-color: rgba(232,184,74,.75);
  background: rgba(232,184,74,.08);
  box-shadow: 0 0 28px rgba(232,184,74,.18), inset 0 0 0 1px rgba(232,184,74,.15);
  animation: selectPulse .55s cubic-bezier(.22,1,.36,1);
}
.method-card .icon {
  font-size: 22px;
  margin-bottom: 8px;
  display: block;
}
.method-card .title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 4px;
}
.method-card .hint {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.45;
}
.method-card .check {
  position: absolute;
  top: 10px; right: 10px;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid rgba(20,24,32,.18);
  display: grid;
  place-items: center;
  font-size: 11px;
  color: transparent;
  transition: all .25s;
}
.method-card.selected .check {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* Courier / delivery toggles */
.toggle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
}
.toggle-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 520px) {
  .toggle-row-3 { grid-template-columns: 1fr; }
}
.courier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 22px;
}
@media (max-width: 700px) {
  .courier-grid { grid-template-columns: 1fr; }
}
.toggle-btn:disabled {
  opacity: .4;
  cursor: not-allowed;
}
.toggle-btn {
  background: #FFFFFF;
  border: 1.5px solid rgba(20,24,32,.1);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-soft);
  transition: all .22s;
}
.toggle-btn:hover { border-color: rgba(184,134,11,.4); color: var(--text); }
.toggle-btn.selected {
  border-color: var(--red);
  color: var(--text);
  background: rgba(225,29,46,.08);
  box-shadow: 0 0 18px rgba(225,29,46,.15);
}

.fields-block {
  display: none;
  animation: fadeUp .4s cubic-bezier(.22,1,.36,1) both;
}
.fields-block.active { display: block; }

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(20,24,32,.12);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(232,184,74,.7);
  box-shadow: 0 0 0 3px rgba(232,184,74,.12);
}
.field input::placeholder,
.field textarea::placeholder { color: #6B7380; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 12px;
  cursor: pointer;
  line-height: 1.5;
}
.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--red);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.alert-error {
  background: rgba(225,29,46,.12);
  border: 1px solid rgba(225,29,46,.4);
  color: #FF8A93;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  margin-bottom: 14px;
}
.alert-error[hidden] { display: none !important; }

.btn-pay {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-2) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  padding: 18px 24px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  box-shadow: 0 10px 30px var(--glow-red);
  transition: transform 100ms ease-out, filter 180ms ease, box-shadow 220ms ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  will-change: transform;
}
.btn-pay:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.05);
}
.btn-pay:active:not(:disabled) {
  transform: scale(0.97);
  transition-duration: 80ms;
}
.btn-pay:disabled {
  opacity: .65;
  cursor: wait;
}
.btn-sub {
  text-align: center;
  font-size: 12px;
  color: #8896A6;
  margin: 12px 0 0;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.trust-chip {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-soft);
  border: 1px solid rgba(232,184,74,.25);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(20,24,32,.04);
}

.cod-note {
  font-size: 13px;
  color: var(--text-soft);
  background: rgba(232,184,74,.06);
  border: 1px solid rgba(232,184,74,.25);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  line-height: 1.55;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* Result pages */
.result-card {
  max-width: 520px;
  margin: 60px auto;
  text-align: center;
  background: var(--panel);
  border: 1.5px solid rgba(20,24,32,.08);
  border-radius: 22px;
  padding: 40px 28px;
  box-shadow: var(--shadow), 0 0 40px rgba(232,184,74,.12);
  animation: fadeUp .7s cubic-bezier(.22,1,.36,1) both;
}
.result-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 36px;
  background: rgba(31,157,87,.12);
  border: 1.5px solid rgba(31,157,87,.4);
  box-shadow: 0 0 20px rgba(31,157,87,.15);
  animation: popIn .6s .15s cubic-bezier(.22,1,.36,1) both;
}
.result-card h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  margin-bottom: 12px;
}
.result-card p {
  color: var(--text-soft);
  margin-bottom: 12px;
  font-size: 15px;
}
.result-card .btn-pay {
  margin-top: 20px;
  text-decoration: none;
  animation: none;
  display: inline-flex;
  width: auto;
  padding: 14px 28px;
}

/* ——— Thanks COD (premium) ——— */
body.thanks-page {
  position: relative;
}
body.thanks-page::before,
body.thanks-page::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
body.thanks-page::before {
  width: 420px; height: 420px;
  top: -80px; left: -100px;
  background: rgba(225,29,46,.22);
  animation: driftOrb 14s ease-in-out infinite;
}
body.thanks-page::after {
  width: 380px; height: 380px;
  bottom: -60px; right: -80px;
  background: rgba(232,184,74,.2);
  animation: driftOrb 18s ease-in-out infinite reverse;
}
.thanks-page .wrap { position: relative; z-index: 1; }

.thanks-shell {
  max-width: 560px;
  margin: 24px auto 40px;
  animation: fadeUp .75s cubic-bezier(.22,1,.36,1) both;
}

.thanks-hero {
  text-align: center;
  margin-bottom: 22px;
  position: relative;
}
.thanks-burst {
  position: absolute;
  inset: -20px 10% auto;
  height: 140px;
  background: radial-gradient(ellipse at 50% 40%, rgba(61,207,122,.28), transparent 70%);
  pointer-events: none;
  animation: burstIn .9s ease-out both;
}
.thanks-icon-wrap {
  position: relative;
  width: 96px; height: 96px;
  margin: 0 auto 18px;
}
.thanks-icon-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(61,207,122,.35);
  animation: ringPulse 2.4s ease-out infinite;
}
.thanks-icon-ring.delay { animation-delay: .5s; opacity: .5; }
.thanks-icon {
  width: 96px; height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 42px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.12), transparent 50%),
    linear-gradient(145deg, rgba(61,207,122,.35), rgba(61,207,122,.08));
  border: 1.5px solid rgba(61,207,122,.55);
  box-shadow:
    0 0 40px rgba(61,207,122,.35),
    inset 0 1px 0 rgba(255,255,255,.15);
  animation: popIn .65s .1s cubic-bezier(.22,1,.36,1) both;
}
.thanks-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 38px);
  font-weight: 800;
  margin: 0 0 10px;
  background: linear-gradient(120deg, var(--red), var(--gold) 55%, #8B6914);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.thanks-hero .lead {
  color: var(--text-soft);
  font-size: 15px;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.65;
}
.order-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(20,24,32,.1);
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .3px;
  box-shadow: 0 0 20px rgba(232,184,74,.12);
  animation: fadeUp .6s .25s both;
}
.order-id-pill span { color: var(--text-soft); font-weight: 600; }

.thanks-card {
  background: var(--panel);
  border: 1.5px solid rgba(20,24,32,.08);
  border-radius: 24px;
  padding: 8px;
  box-shadow: var(--shadow);
  animation: fadeUp .75s .18s cubic-bezier(.22,1,.36,1) both;
  overflow: hidden;
}
.thanks-card-inner { padding: 22px 20px 24px; }

.pay-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: linear-gradient(105deg, rgba(225,29,46,.2), rgba(232,184,74,.12));
  border: 1px solid rgba(225,29,46,.35);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 98% 100%, 2% 100%, 0 78%);
}
.pay-banner .label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--red-2);
  margin-bottom: 4px;
}
.pay-banner .amount {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.pay-banner .tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-2);
  background: #FFFFFF;
  border: 1px solid rgba(232,184,74,.35);
  padding: 8px 12px;
  border-radius: 999px;
}

.detail-list { list-style: none; margin: 0 0 20px; }
.detail-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(232,184,74,.12);
  font-size: 14px;
  animation: fadeLeft .5s both;
}
.detail-list li:nth-child(1) { animation-delay: .2s; }
.detail-list li:nth-child(2) { animation-delay: .28s; }
.detail-list li:nth-child(3) { animation-delay: .36s; }
.detail-list li:nth-child(4) { animation-delay: .44s; }
.detail-list li:nth-child(5) { animation-delay: .52s; }
.detail-list li:nth-child(6) { animation-delay: .6s; }
.detail-list li:last-child { border-bottom: none; }
.detail-list .k {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding-top: 2px;
}
.detail-list .v {
  color: var(--text);
  font-weight: 600;
  word-break: break-word;
}
.detail-list .v em {
  font-style: normal;
  color: var(--gold-2);
}

.next-steps {
  margin: 0 0 22px;
  padding: 16px;
  border-radius: 16px;
  background: #FFFFFF;
  border: 1px solid rgba(232,184,74,.22);
}
.next-steps h3 {
  font-family: var(--font-display);
  font-size: 16px;
  margin: 0 0 14px;
  color: var(--gold);
}
.next-steps ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.next-steps li {
  counter-increment: step;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}
.next-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-2);
  background: rgba(232,184,74,.12);
  border: 1px solid rgba(232,184,74,.35);
}

.thanks-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.thanks-actions .btn-pay {
  width: 100%;
  margin: 0;
  text-decoration: none;
  animation: pulseSoft 2.8s ease-in-out infinite;
}
.thanks-actions .btn-ghost {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 10px;
  border-radius: 12px;
  border: 1px solid rgba(232,184,74,.25);
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
.thanks-actions .btn-ghost:hover {
  color: var(--gold-2);
  border-color: rgba(232,184,74,.5);
  text-decoration: none;
}

.thanks-confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2;
}
.thanks-confetti i {
  position: absolute;
  top: -12px;
  width: 8px; height: 8px;
  border-radius: 2px;
  opacity: 0;
  animation: confettiFall 3.2s ease-in forwards;
}
.thanks-confetti i:nth-child(odd) { background: var(--gold); }
.thanks-confetti i:nth-child(even) { background: var(--red); border-radius: 50%; }
.thanks-confetti i:nth-child(3n) { background: var(--green); width: 6px; height: 10px; }

@keyframes driftOrb {
  0%,100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px,20px) scale(1.08); }
}
@keyframes ringPulse {
  0% { transform: scale(.85); opacity: .8; }
  100% { transform: scale(1.45); opacity: 0; }
}
@keyframes burstIn {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes confettiFall {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(100vh) rotate(520deg); opacity: 0; }
}

@media (max-width: 520px) {
  .detail-list li { grid-template-columns: 1fr; gap: 4px; }
  .pay-banner { clip-path: none; border-radius: 14px; }
}

/* Animations */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes floatSoft {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulseSoft {
  0%,100% { box-shadow: 0 10px 30px var(--glow-red); }
  50% { box-shadow: 0 14px 42px var(--glow-red), 0 0 40px var(--glow-gold); }
}
@keyframes selectPulse {
  0% { transform: scale(.97); }
  60% { transform: scale(1.02); }
  100% { transform: scale(1); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: 1; transform: scale(1); }
}

/* Legal footer + cookies on checkout flow */
.site-footer {
  margin-top: 28px;
  padding: 32px 20px 40px;
  text-align: center;
  border-top: 1px solid rgba(20,24,32,.08);
}
.site-footer .footer-brand {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800; color: var(--text);
  display: block; margin-bottom: 8px;
}
.site-footer p { color: var(--text-soft); font-size: 13px; margin: 0 0 12px; }
.site-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px;
}
.site-footer-links a {
  color: var(--text-soft); text-decoration: none; font-size: 13px; font-weight: 600;
  padding: 8px 12px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.site-footer-links a:hover {
  color: var(--gold); background: rgba(201,162,39,.1);
}

.checkbox-row a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkbox-row a:hover { color: var(--text); }

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10050;
  max-width: 520px; margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  border: 1px solid rgba(20,24,32,.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(20,24,32,.12);
  color: var(--text-soft);
  font-size: 13px; line-height: 1.55;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner p { margin: 0 0 14px; }
.cookie-banner a { color: var(--gold); font-weight: 600; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions button,
.cookie-actions a.more {
  border: none; border-radius: 12px; padding: 11px 16px;
  font-weight: 700; font-size: 13px; cursor: pointer;
  font-family: inherit; text-decoration: none;
  display: inline-flex; align-items: center;
  transition: transform 80ms ease-out;
}
.cookie-actions .ok {
  background: linear-gradient(135deg, var(--red), #FF3B4A);
  color: #fff;
}
.cookie-actions .ok:active,
.cookie-actions a.more:active { transform: scale(0.97); }
.cookie-actions a.more {
  background: transparent; color: var(--gold);
  border: 1px solid rgba(184,134,11,.35);
}
@media (prefers-reduced-transparency: reduce) {
  .cookie-banner, .site-footer {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .cookie-banner { background: #FFFFFF; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .thanks-confetti { display: none; }
}
