/* ==========================================================================
   Checkout — visual clone of Shopify's one-page checkout
   ========================================================================== */

:root {
  color-scheme: light;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";

  --text: #000;
  --text-muted: #707070;
  --text-subtle: #8a8a8a;
  --border: #dedede;
  --border-strong: #1c1c1c;
  --surface: #fff;
  --surface-alt: #f5f5f5;
  --surface-sunken: #ebebeb;
  --accent: #1c1c1c;
  --accent-hover: #000;
  --focus-ring: 0 0 0 1px #1c1c1c;
  --error: #dd1d1d;
  --error-bg: #fff5f5;
  --warning-bg: #fff5eb;
  --warning-border: #f9dcc0;
  --warning-text: #3b2a16;
  --green: #00b33c;

  --radius: 12px;
  --radius-sm: 8px;
  --field-height: 48px;
  --main-width: 500px;
  --aside-width: 420px;
  --gutter: 38px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
h2 { font-size: 20px; font-weight: 600; line-height: 1.2; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
svg { display: block; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  padding: 8px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { left: 8px; }

.muted { color: var(--text-muted); }

.link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.link:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }

/* ---------- Header ---------- */

.site-header { border-bottom: 1px solid #dfdfdf; background: var(--surface); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 114px;
  padding: 20px 21px;
  max-width: calc(var(--main-width) + 42px);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
  color: var(--text);
  text-decoration: none;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.brand img { width: auto; max-width: 180px; object-fit: contain; }

.trust-badge {
  display: grid;
  gap: 4px;
  padding-left: 20px;
  border-left: 2px solid var(--text);
  min-width: 0;
}
.trust-badge__top { display: flex; align-items: center; gap: 10px; }
.trust-badge__avatars { display: flex; flex: none; }
.trust-badge__avatars > * {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #c9c9c9;
  object-fit: cover;
  margin-left: -9px;
}
.trust-badge__avatars > *:first-child { margin-left: 0; }
.trust-badge__headline { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.trust-badge__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10.5px;
  white-space: nowrap;
}
.trust-badge__meta > span { display: inline-flex; align-items: center; gap: 4px; }
.trust-badge__meta > span + span::before {
  content: "";
  width: 1px;
  height: 12px;
  background: var(--text);
  margin-right: 4px;
}
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 12px; height: 12px; }

@media (max-width: 560px) {
  .site-header__inner { gap: 10px; min-height: 92px; padding: 16px 14px; justify-content: center; }
  .brand { font-size: 22px; }
  .brand img { max-width: 110px; }
  .trust-badge { padding-left: 10px; gap: 3px; }
  .trust-badge__top { gap: 6px; }
  .trust-badge__avatars > * { width: 19px; height: 19px; margin-left: -7px; border-width: 1.5px; }
  .trust-badge__headline { font-size: 12px; }
  .trust-badge__meta { font-size: 7.5px; gap: 2px 4px; }
  .trust-badge__meta > span { gap: 2px; }
  .trust-badge__meta > span + span::before { height: 9px; margin-right: 2px; }
  .stars svg { width: 8px; height: 8px; }
  .trust-badge__icon svg { width: 7px; height: 7px; }
}

/* ---------- Layout ---------- */

.layout { display: block; }
.main { padding: 17px 21px 0; }
.main__inner { max-width: var(--main-width); margin: 0 auto; }
.aside { display: none; }

@media (min-width: 1000px) {
  .site-header__inner {
    max-width: none;
    margin: 0;
    padding-left: max(var(--gutter), calc(50% + 50px - var(--gutter) - var(--main-width)));
  }

  .layout {
    display: grid;
    grid-template-columns: minmax(0, calc(50% + 50px)) minmax(0, 1fr);
    min-height: calc(100vh - 115px);
  }

  .main { padding: var(--gutter) var(--gutter) 0; display: flex; justify-content: flex-end; }
  .main__inner { width: 100%; margin: 0; }

  .aside {
    display: block;
    background: var(--surface-alt);
    border-left: 1px solid var(--border);
    padding: var(--gutter);
  }
  .aside__inner { position: sticky; top: var(--gutter); max-width: var(--aside-width); }

  .summary-toggle,
  .summary-mobile,
  .bottom-total,
  .trust--mobile { display: none !important; }
}

/* ---------- Mobile summary bar ---------- */

.summary-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 21px;
  min-height: 64px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}
.summary-toggle__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  border: 0;
  background: none;
  font-size: 14px;
}
.summary-toggle__chevron svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.summary-toggle__button[aria-expanded="true"] .summary-toggle__chevron svg { transform: rotate(180deg); }
.summary-toggle__total { font-size: 18px; font-weight: 600; }

.summary-mobile {
  padding: 21px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  animation: reveal 0.25s var(--ease);
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Banners ---------- */

.banner {
  display: flex;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  margin-bottom: 4px;
}
.banner__icon { flex: none; padding-top: 1px; }
.banner__icon svg { width: 18px; height: 18px; }
.banner__title { font-weight: 600; margin-bottom: 10px; }
.banner--warning { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning-text); }
.banner--error { background: var(--error-bg); border-color: #f6c8c8; color: var(--error); margin: 14px 0 0; }
.banner--error .banner__text { color: var(--text); }

/* ---------- Express checkout ---------- */

.express { padding-top: 14px; }
.express__title { text-align: center; color: var(--text-muted); margin: 12px 0 12px; }

.express__buttons {
  display: grid;
  gap: 8px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}
@media (max-width: 999px) {
  .express__buttons[data-count="3"] { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .express__buttons[data-count="3"] > :first-child { grid-column: 1 / -1; }
}

.wallet-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.wallet-button:hover { filter: brightness(0.94); }
.wallet-button:active { transform: scale(0.99); }
.wallet-button:focus-visible { outline: 2px solid #1773b0; outline-offset: 2px; }
.wallet-button[disabled] { opacity: 0.6; cursor: progress; }
.wallet-button img { max-height: 26px; width: auto; }
.wallet-button--apple_pay { background: #000; color: #fff; }
.wallet-button--google_pay { background: #000; color: #fff; }
.wallet-button--paypal_express { background: #ffc439; }
.wallet-button svg { height: 24px; width: auto; }

@supports (-webkit-appearance: -apple-pay-button) {
  .wallet-button--apple-native {
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-type: plain;
    -apple-pay-button-style: black;
    --apple-pay-button-height: 48px;
    --apple-pay-button-border-radius: 8px;
  }
  .wallet-button--apple-native > * { display: none; }
}

.express__error { color: var(--error); text-align: center; margin-top: 10px; }

.skeleton {
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #f2f2f2 25%, #e9e9e9 37%, #f2f2f2 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}
.skeleton--button { height: 48px; }
@keyframes shimmer { from { background-position: 100% 50%; } to { background-position: 0 50%; } }

.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 18px 0 2px;
  color: var(--text-muted);
}
.divider::before,
.divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---------- Sections ---------- */

.section { padding-top: 26px; }
.section > h2 { margin-bottom: 14px; }
.section > .muted { margin: -8px 0 14px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.subheading { font-size: 14px; font-weight: 600; margin: 26px 0 12px; }

/* ---------- Fields (floating labels) ---------- */

.field { position: relative; margin-bottom: 12px; }
.field input,
.field select {
  display: block;
  width: 100%;
  height: var(--field-height);
  padding: 13.5px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 14px;
  line-height: 1.4;
  appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, padding 0.15s ease;
}
.field label {
  position: absolute;
  top: calc(var(--field-height) / 2);
  left: 12px;
  right: 40px;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: top 0.15s var(--ease), font-size 0.15s var(--ease), transform 0.15s var(--ease);
}
.field input::placeholder { color: transparent; }

.field input:focus,
.field input:not(:placeholder-shown),
.field select {
  padding-top: 21px;
  padding-bottom: 5px;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field select + label {
  top: 7px;
  transform: none;
  font-size: 12px;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--border-strong);
  box-shadow: var(--focus-ring);
}

.field--select select { padding-right: 36px; cursor: pointer; }
/* An unselected dropdown shows its label as a placeholder, like an empty input. */
.field--select select:has(option[value=""]:checked) { padding-top: 13.5px; padding-bottom: 13.5px; color: transparent; }
.field--select select:has(option[value=""]:checked) + label { top: calc(var(--field-height) / 2); transform: translateY(-50%); font-size: 14px; }
.field--select select:has(option[value=""]:checked):focus { color: var(--text); }
.field--select::after {
  content: "";
  position: absolute;
  right: 15px;
  top: calc(var(--field-height) / 2);
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field--icon input { padding-right: 42px; }
.field__icon {
  position: absolute;
  right: 12px;
  top: calc(var(--field-height) / 2);
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: help;
}
.field__icon svg { width: 18px; height: 18px; }

.field.is-invalid input,
.field.is-invalid select { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.field__error {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--error);
  font-size: 12px;
  margin-top: 6px;
}
.field__error svg { width: 14px; height: 14px; flex: none; }

.row { display: grid; gap: 12px; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.row > .field { margin-bottom: 12px; }
@media (max-width: 560px) {
  .row--names,
  .row--city { grid-auto-flow: row; gap: 0; }
}

/* ---------- Checkboxes & radios ---------- */

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  margin: 2px 0 0;
}
.checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
  background: var(--surface);
  color: transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.checkbox__box svg { width: 12px; height: 12px; }
.checkbox input:checked + .checkbox__box { background: var(--accent); border-color: var(--accent); color: #fff; }
.checkbox input:focus-visible + .checkbox__box { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1773b0; }
.checkbox--solo { margin: 0; }

.radio {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #c9c9c9;
  background: var(--surface);
  transition: border 0.15s ease;
}
input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
input[type="radio"]:checked + .radio { border: 6px solid var(--accent); }
input[type="radio"]:focus-visible + .radio { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1773b0; }

/* ---------- Shipping methods ---------- */

.placeholder-box {
  padding: 16px;
  border-radius: var(--radius);
  background: var(--surface-alt);
  color: var(--text-muted);
  text-align: center;
}

.choice-list {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.choice + .choice { border-top: 1px solid var(--border); }
.choice.is-selected { background: var(--surface-alt); box-shadow: inset 0 0 0 1px var(--border-strong); border-radius: inherit; }
.choice__text { flex: 1; display: grid; gap: 2px; }
.choice__detail { color: var(--text-muted); font-size: 13px; }
.choice__price { font-weight: 600; }

/* ---------- Insurance upsell ---------- */

.insurance { margin-top: 22px; }
.insurance__heading { font-weight: 600; margin-bottom: 10px; }
.insurance__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.insurance__card:hover { border-color: #bdbdbd; }
.insurance__image { flex: none; align-self: center; }
.insurance__copy { flex: 1; display: grid; gap: 2px; font-size: 12px; }
.insurance__copy strong { font-size: 13px; }
.insurance__subtitle { color: #444; }
.insurance__text { color: var(--text-muted); margin-top: 2px; }

/* ---------- Payment methods accordion ---------- */

.methods {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.method + .method { border-top: 1px solid var(--border); }
.method__head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.method__label { flex: 1; }
.method__logos { display: flex; gap: 4px; align-items: center; }
.method__logos svg { height: 22px; width: auto; }
.method.is-selected .method__head {
  background: var(--surface-alt);
  box-shadow: inset 0 0 0 1px var(--border-strong);
  border-radius: var(--radius) var(--radius) 0 0;
}
.method:not(:first-child).is-selected .method__head { border-radius: 0; }
.method__body {
  display: none;
  padding: 14px;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
}
.method.is-selected .method__body { display: block; animation: reveal 0.2s var(--ease); }
.method__body .field { margin-bottom: 12px; }
.method__body--note.method__body { text-align: center; padding: 18px 28px; color: #444; }
.method__body--note svg { width: 64px; height: 40px; margin: 0 auto 12px; color: var(--text-subtle); }

.card-fields { display: grid; gap: 12px; margin-bottom: 12px; }
.card-fields__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.whop-slot { min-height: var(--field-height); }
.whop-slot:empty {
  border-radius: var(--radius);
  background: linear-gradient(90deg, #fff 25%, #fafafa 37%, #fff 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border: 1px solid var(--border);
}

.billing .subheading { margin-top: 18px; }

.whop-branding { margin-top: 14px; }
.whop-branding:empty { display: none; }

.legal { color: var(--text-muted); font-size: 12px; margin-top: 18px; }
.legal .link { color: inherit; }

/* ---------- Pay button ---------- */

.pay-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  margin-top: 22px;
  padding: 14px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.15s ease, transform 0.1s ease;
}
.pay-button:hover { background: var(--accent-hover); }
.pay-button:active { transform: scale(0.995); }
.pay-button:focus-visible { outline: 2px solid #1773b0; outline-offset: 2px; }
.pay-button[disabled] { cursor: progress; background: #4a4a4a; }
.pay-button .spinner { display: none; }
.pay-button.is-loading .pay-button__label { visibility: hidden; }
.pay-button.is-loading .spinner { display: block; position: absolute; }
@media (min-width: 1000px) { .pay-button { min-height: 50px; font-size: 14px; } }

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Order summary ---------- */

.summary { display: grid; gap: 18px; }
.lines { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.line { display: flex; align-items: center; gap: 14px; }
.line__thumb {
  position: relative;
  flex: none;
  width: 64px;
  height: 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.line__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.line__qty {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.line__info { flex: 1; min-width: 0; }
.line__title { font-size: 14px; }
.line__variant { color: var(--text-muted); font-size: 12px; margin-top: 2px; }
.line__price { font-size: 14px; white-space: nowrap; }

.discount-form { display: flex; gap: 12px; }
.discount-form .field { flex: 1; margin: 0; }
.discount-form__apply {
  flex: none;
  padding: 0 16px;
  height: var(--field-height);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-sunken);
  color: var(--text-muted);
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}
.discount-form__apply.is-ready { background: var(--accent); color: #fff; border-color: var(--accent); }
.discount-form__error { color: var(--error); font-size: 12px; margin-top: -8px; }
.discount-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  font-size: 12px;
  font-weight: 600;
}
.discount-tag button { border: 0; background: none; padding: 0; color: var(--text-muted); display: grid; }
.discount-tag svg { width: 12px; height: 12px; }

.totals { display: grid; gap: 8px; font-size: 14px; }
.totals__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.totals__row .muted { font-size: 13px; }
.totals__label { display: inline-flex; align-items: center; gap: 4px; }
.totals__label svg { width: 14px; height: 14px; color: var(--text-muted); }
.totals__row--total { font-size: 18px; font-weight: 600; margin-top: 8px; }
.totals__row--total small { font-size: 12px; font-weight: 400; color: var(--text-muted); margin-right: 6px; }
.totals__discount { color: var(--text); }

.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  font-size: 11px;
  line-height: 1.35;
}
.guarantee svg { width: 26px; height: 28px; flex: none; }

.trust { display: grid; gap: 14px; margin-top: 22px; }
.trust__item { display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; align-items: start; }
.trust__item svg { width: 16px; height: 16px; margin-top: 15px; color: #333; }
.trust__item strong { display: block; font-size: 13px; margin-bottom: 2px; }
.trust__item p { color: var(--text-muted); font-size: 12px; }
.trust--mobile { margin-top: 24px; }
.trust--mobile .guarantee { margin-bottom: 6px; }

/* ---------- Mobile bottom total ---------- */

.bottom-total { margin-top: 26px; display: grid; gap: 14px; }
.discount-chip {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-weight: 600;
  font-size: 13px;
}
.discount-chip svg { width: 14px; height: 14px; }
.bottom-total__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}
.bottom-total__thumbs { display: flex; }
.bottom-total__thumbs img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  object-fit: cover;
  background: var(--surface);
  margin-left: -16px;
}
.bottom-total__thumbs img:first-child { margin-left: 0; }
.bottom-total__label { flex: 1; display: grid; font-size: 18px; line-height: 1.15; }
.bottom-total__label .muted { font-size: 13px; }
.bottom-total__amount { display: flex; align-items: baseline; gap: 6px; font-size: 18px; }
.bottom-total__amount small { font-size: 12px; color: var(--text-muted); }
.bottom-total__row svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.bottom-total__row[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ---------- Footer ---------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 18px 0 28px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 12px;
}

/* ---------- Thank-you page ---------- */

.confirmation { display: grid; gap: 18px; padding: 10px 0 40px; }
.confirmation__head { display: flex; align-items: center; gap: 14px; }
.confirmation__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.confirmation__icon svg { width: 22px; height: 22px; }
.confirmation__icon[data-tone="success"] { border-color: var(--green); color: var(--green); }
.confirmation__icon[data-tone="error"] { border-color: var(--error); color: var(--error); }
.confirmation__title { font-size: 24px; font-weight: 600; line-height: 1.2; }
.confirmation__card { padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); }
.confirmation__subtitle { font-size: 16px; margin-bottom: 6px; }
.confirmation__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 4px 24px; }
.confirmation__grid .subheading { margin: 14px 0 6px; }
.confirmation__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.confirmation__cta { width: auto; margin: 0; padding: 14px 24px; text-decoration: none; }

.trust-badge__icon { display: inline-flex; font-style: normal; }
.trust-badge__icon svg { width: 10px; height: 10px; }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  z-index: 50;
  animation: reveal 0.2s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
