/* ============================================================
   Øresund Go (demo) — styles mirroring oresundsbron.com
   Design tokens taken from the original design system:
   brand-primary #226aa5, brand-secondary #133c5d,
   brand-tertiary #001430, type-primary #262626, Poppins.
   ============================================================ */
:root {
  --primary: #226aa5;
  --primary-800: #1a527f;
  --primary-950: #0f3a5c;
  --secondary: #133c5d;
  --tertiary: #001430;
  --info-muted: #eef5fc;
  --success: #57db92;
  --ink: #262626;
  --ink-2: #404040;
  --muted: #525252;
  --neutral-muted: #fafafa;
  --line: #e5e5e5;
  --line-2: #d4d4d4;
  --white: #fff;
  --err: #f87171;
  --radius: 16px;
  --font: 'Poppins', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3, h4 { color: var(--tertiary); font-weight: 600; line-height: 1.25; }
.wrap { max-width: 1216px; margin: 0 auto; padding: 0 24px; }

/* ---------- top notice (yellow warning pill, like the original) ---------- */
.notice {
  background: var(--info-muted);
  padding: 10px 0;
}
.notice-inner { display: flex; justify-content: center; }
.notice-pill {
  background: #f7d97b;
  color: var(--tertiary);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.notice-pill a { color: var(--tertiary); font-weight: 600; text-decoration: underline; }
.notice-arrow { font-weight: 600; margin-left: 4px; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 34px; width: auto; }

.main-nav { display: flex; gap: 8px; margin: 0 auto; align-items: center; }
.main-nav a, .main-nav button {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.main-nav .nav-pill:hover { background: var(--neutral-muted); }
.main-nav .nav-pill.active { border: 1.5px solid var(--tertiary); }
.main-nav .nav-pill.muted { background: var(--neutral-muted); color: var(--ink-2); }
.header-icons { display: flex; gap: 4px; align-items: center; }
.header-icons a {
  color: var(--ink);
  padding: 8px;
  border-radius: 50%;
  display: inline-flex;
  text-decoration: none;
}
.header-icons a:hover { background: var(--neutral-muted); }
.header-icons .nav-icon { width: 21px; height: 21px; }

/* ---------- buttons (pill, like the original) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  padding: 0 24px;
  height: 44px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-800); border-color: var(--primary-800); }
.btn-primary:active { background: var(--primary-950); border-color: var(--primary-950); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-outline.on-photo { color: #fff; border-color: #fff; background: rgba(0,0,0,.08); }
.btn-outline.on-photo:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-ghost { background: transparent; color: var(--primary); border: 0; padding: 8px 4px; height: auto; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- hero (photo + centered white title, like the original) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--tertiary);
}
.hero .hero-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  object-fit: cover;
  display: block;
}
.hero .hero-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.hero .hero-overlay h1 {
  color: #fff;
  font-size: clamp(34px, 6vw, 60px);
  font-weight: 600;
  text-align: center;
  margin: 0;
}
.hero.slim .hero-photo { max-height: 300px; aspect-ratio: auto; height: 300px; }
.hero.slim .hero-overlay h1 { font-size: clamp(28px, 4.5vw, 44px); }

/* dark full-width banner (Replacement of expansion joints on the original) */
.dark-banner {
  background: var(--tertiary);
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.dark-banner h3 { color: #fff; margin: 0 0 6px; font-size: 20px; }
.dark-banner p { color: #b8c6d4; margin: 0; font-size: 14.5px; max-width: 640px; }
.dark-banner .btn { flex: none; }

/* image + text rows (Prices / Ready to go / App / Customer service) */
.section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.section-row .row-photo {
  border-radius: var(--radius);
  overflow: hidden;
  height: 260px;
  background: var(--info-muted);
}
.section-row .row-photo img { width: 100%; height: 100%; object-fit: cover; }
.section-row h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 0 0 10px; }
.section-row p { color: var(--muted); margin: 0 0 20px; font-size: 15px; }

@media (max-width: 860px) {
  .section-row { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- sections / cards ---------- */
section.block { padding: 56px 0; }
section.block.alt { background: var(--info-muted); }
.block-head { max-width: 680px; margin-bottom: 32px; }
.block-head h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 8px; }
.block-head p { color: var(--muted); margin: 0; font-size: 16px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card.popular {
  padding: 0;
  border-color: var(--tertiary);
  overflow: hidden;
}
.card.popular .popular-strip {
  background: var(--tertiary);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 26px;
}
.card.popular .popular-body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0 0 2px; font-size: 22px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; flex: 1; }
.card p b.lead-in { color: var(--tertiary); font-weight: 600; }
.card .card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* ---------- tables ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--secondary); color: #fff; font-size: 14px; font-weight: 500; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:nth-child(even) { background: var(--neutral-muted); }
.price-table td b { color: var(--tertiary); font-weight: 600; }
.table-note { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---------- steps ---------- */
.steps {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  counter-reset: step;
}
.steps li {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--info-muted);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 26px; height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #cfe2f0;
  color: var(--secondary);
  font-size: 13px;
}
.steps li.done { color: var(--secondary); }
.steps li.done::before { content: "✓"; background: var(--success); color: #fff; }
.steps li.current { background: var(--secondary); color: #fff; }
.steps li.current::before { background: var(--primary); color: #fff; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13.5px; font-weight: 500; color: var(--secondary); margin-bottom: 5px; }
.field input, .field select {
  width: 100%;
  font: inherit;
  font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
.field input:focus, .field select:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(34, 106, 165, .18); }
.field .hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.field .error-msg { font-size: 12.5px; color: var(--err); margin-top: 4px; }
input.invalid, select.invalid { border-color: var(--err); }

.check { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--primary); }

/* ---------- vehicle lookup ---------- */
.lookup-row { display: flex; gap: 10px; }
.lookup-row input { text-transform: uppercase; letter-spacing: 2px; font-weight: 600; font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace; }
.vehicle-card {
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 14px;
  background: var(--white);
}
.vehicle-card.found { border-color: var(--success); background: #f2fcf7; }
.vehicle-card .car-icon { width: 64px; height: 40px; flex: none; color: var(--primary); }
.vehicle-card .meta { flex: 1; }
.vehicle-card .meta b { font-size: 16px; color: var(--tertiary); }
.vehicle-card .meta div { font-size: 13.5px; color: var(--muted); }
.plate-chip {
  display: inline-block;
  background: #fff;
  border: 1px solid #b8c6cf;
  border-left: 5px solid #0d3f77;
  border-radius: 4px;
  padding: 2px 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 14px;
  color: #111;
  font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid #cfe2f0;
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
  vertical-align: -4px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- summary box ---------- */
.summary {
  background: var(--info-muted);
  border: 0;
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 15px;
}
.summary .row { display: flex; justify-content: space-between; padding: 5px 0; gap: 12px; }
.summary .row span:first-child { color: var(--muted); }
.summary .row.total { border-top: 1px dashed #b7d0e2; margin-top: 8px; padding-top: 12px; font-weight: 600; font-size: 17px; color: var(--tertiary); }

/* ---------- receipt / success ---------- */
.receipt {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.receipt .ok-badge {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 26px;
}
.receipt h2 { text-align: center; margin: 0 0 4px; }
.receipt .ref { text-align: center; color: var(--muted); font-size: 14px; }
.receipt .ref b { color: var(--tertiary); letter-spacing: .5px; }
.receipt .qr { width: 130px; height: 130px; margin: 18px auto; padding: 8px; border: 1px solid var(--line); border-radius: 6px; }
.receipt dl { margin: 14px 0 0; font-size: 14.5px; }
.receipt dl div { display: flex; justify-content: space-between; gap: 14px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.receipt dl div:last-child { border: 0; }
.receipt dt { color: var(--muted); }
.receipt dd { margin: 0; font-weight: 500; color: var(--tertiary); text-align: right; }

/* ---------- toast ---------- */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 8px; }
.toast {
  background: var(--tertiary);
  color: #eef5fc;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0, 20, 48, .25);
  animation: rise .25s ease;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------- footer ---------- */
.site-footer { background: var(--tertiary); color: #b8c6d4; margin-top: 40px; font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; padding: 44px 0 30px; }
.site-footer .foot-brand img { height: 30px; margin-bottom: 14px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.site-footer a { color: #d7e3ee; text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid #12335a; padding: 16px 0; font-size: 12.5px; color: #7f97ad; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- tickets purchase form (mirrors the original) ---------- */
.buy-wrap { max-width: 1010px; }
.tickets-intro { max-width: 720px; margin: 0 auto 34px; }
.tickets-intro p { color: var(--ink-2); font-size: 15.5px; margin: 0 0 14px; text-align: center; }
.tickets-intro b { color: var(--secondary); }

.panel { border: 0; border-bottom: 1px solid var(--line); margin: 0 0 48px; padding: 0 0 48px; }
.panel-legend {
  font-size: 28px;
  font-weight: 500;
  color: var(--tertiary);
  padding: 0;
  margin-bottom: 18px;
}
.panel-desc { color: var(--ink-2); font-size: 15px; max-width: 576px; margin: 0 0 20px; }
.req { color: inherit; }

.fields-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fields-row .field:nth-child(n+3) { grid-column: auto; }

.field label { display: block; font-size: 14px; font-weight: 500; color: #171717; margin-bottom: 8px; }
.field input, .field select {
  width: 100%;
  height: 48px;
  font: inherit;
  font-size: 15.5px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='%23525252' stroke-width='1.6' stroke-linecap='round' d='m3.5 6 4.5 4.5L12.5 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.field input:focus, .field select:focus { outline: 0; border-color: var(--primary); }
input.mono { font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

.ticket-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 8px; }
.ticket-option {
  display: grid;
  grid-template-columns: max-content 6fr max-content;
  gap: 14px;
  align-items: start;
  border: 2px solid var(--line-2);
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
}
.ticket-option:has(input:checked) { border-color: var(--tertiary); box-shadow: 0 0 0 4px rgba(34, 106, 165, .28); }
.ticket-option input { position: absolute; opacity: 0; pointer-events: none; }
.ticket-option .t-radio {
  width: 22px; height: 22px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  background: var(--neutral-muted);
  margin-top: 4px;
  display: grid;
  place-items: center;
}
.ticket-option:has(input:checked) .t-radio { border-color: var(--tertiary); background: var(--tertiary); }
.ticket-option:has(input:checked) .t-radio::after {
  content: "✓";
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.ticket-option .t-name { display: block; font-size: 24px; font-weight: 600; color: #001430; }
.ticket-option .t-desc { display: block; font-size: 12.5px; color: #171717; margin-top: 4px; padding-right: 8px; }
.ticket-option .t-more { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; color: var(--primary); text-decoration: underline; cursor: pointer; }
.ticket-option .t-price {
  justify-self: end;
  background: var(--line);
  color: #171717;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.order-title { font-size: 16px; font-weight: 600; margin: 6px 0 12px; }
.order-box {
  background: var(--info-muted);
  border-radius: 10px;
  padding: 12px 22px;
  margin-bottom: 18px;
}
.order-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  color: var(--ink);
  font-size: 15px;
}
.order-row i { color: #737373; }
.order-row.order-total { border-top: 1px solid #c9dcee; font-weight: 500; color: var(--tertiary); }
.pay-row { display: flex; justify-content: flex-end; margin-top: 6px; }
.panel-divider { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }
input.mono { font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }

/* ---------- misc ---------- */
.breadcrumbs { font-size: 13.5px; color: var(--muted); padding: 16px 0 0; }
.breadcrumbs a { text-decoration: none; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.mb-1 { margin-bottom: 12px; } .mb-2 { margin-bottom: 24px; }
.two-col { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: start; }
.page-panel { max-width: 860px; margin: 34px auto; }
.hidden { display: none !important; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.faq summary { font-weight: 500; color: var(--tertiary); cursor: pointer; }
.faq p { color: var(--muted); font-size: 14.5px; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.list-check li { padding-left: 34px; position: relative; color: var(--muted); }
.list-check li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px;
  background: var(--info-muted); color: var(--primary);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}

@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; }
  .main-nav a:not(.nav-cta) { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .ticket-options { grid-template-columns: 1fr; }
  .fields-row { grid-template-columns: 1fr; }
  .hero .hero-photo { min-height: 320px; }
}

/* gray placeholder state for selects (like the original dropdowns) */
.field select:invalid { color: #737373; }
.field select:has(option[value=""]:checked) { color: #737373; }
.field select option { color: var(--ink); }

/* ============================================================
   Register page — 1:1 with oresundsbron.com/en/private/register
   Two-column layout: form left, sticky step-overview card right.
   ============================================================ */
.reg-wrap { max-width: 1344px; margin: 0 auto; padding: 0 24px 72px; }
.reg-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 80px;
  align-items: start;
  margin-top: 8px;
}
.reg-main { min-width: 0; padding-top: 24px; }

/* numbered section legend: navy circle + title */
.reg-fieldset { border: 0; padding: 0; margin: 0; }
.reg-legend { display: flex; flex-direction: row; align-items: center; margin-bottom: 16px; }
.reg-num {
  width: 40px; height: 40px; flex: none; margin-right: 16px;
  border-radius: 50%; background: var(--primary-800); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 600;
}
.reg-legend legend { padding: 0; font-size: 28px; font-weight: 500; line-height: normal; color: var(--ink); }

/* fields: label 14px medium, input 48px with 4px radius and #737373 border */
.reg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.reg-field { display: flex; flex-direction: column; }
.reg-field.full { grid-column: 1 / -1; }
.reg-field > label { font-size: 14px; font-weight: 500; color: #0a0a0a; line-height: 1.4; }
.reg-field .req { font-weight: 500; }
.reg-field input,
.reg-field select {
  margin-top: 8px; height: 48px; width: 100%;
  border: 1px solid #737373; border-radius: 4px; background: #fff;
  padding: 0 12px; font: inherit; font-size: 16px; color: var(--ink);
}
.reg-field select { padding: 0 8px 0 12px; }
.reg-field input:focus-visible,
.reg-field select:focus-visible { outline: 2px solid #171717; outline-offset: 1px; }
.reg-field input.invalid, .reg-field select.invalid { border-color: var(--err); outline: none; }
.reg-field select:has(option[value=""]:checked) { color: #737373; }
.reg-field select option { color: var(--ink); }

/* big blue newsletter checkbox */
.reg-check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--ink); font-weight: 400; cursor: pointer;
}
.reg-check input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--primary); }

/* actions row: back link left, pill continue right */
.reg-actions { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 32px; }
.reg-back {
  margin-right: auto; background: none; border: 0; padding: 0;
  color: var(--primary); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
}
.reg-back:hover { text-decoration: underline; }
.btn-pill {
  height: 44px; padding: 0 24px; border-radius: 999px;
  border: 2px solid var(--primary); background: var(--primary); color: #fff;
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-pill:hover { background: var(--primary-800); border-color: var(--primary-800); }
.btn-pill:active { background: var(--tertiary); border-color: var(--tertiary); }
.btn-pill:disabled { background: #a3a3a3; border-color: #a3a3a3; cursor: not-allowed; }

/* sticky step overview card */
.reg-side {
  position: sticky; top: 10vh; width: 100%; max-width: 350px; justify-self: end;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, .05), 0 4px 6px -1px rgba(0, 0, 0, .1);
}
.reg-side-head {
  background: var(--primary-800); color: #fff;
  text-align: center; font-size: 20px; font-weight: 600;
  padding: 12px 16px 24px;
}
.reg-steps { list-style: none; margin: 0; padding: 16px 20px 8px; display: flex; flex-direction: column; }
.reg-steps li { position: relative; display: flex; flex-direction: row; align-items: center; gap: 8px; padding-bottom: 16px; }
.reg-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 15px; bottom: 0; height: 10px;
  border-left: 2px solid #a3a3a3;
}
.reg-steps li.done:not(:last-child)::after,
.reg-steps li.current:not(:last-child)::after { border-color: var(--primary-800); }
.reg-step-num {
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  background: #e5e5e5; color: #a3a3a3;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 600;
}
.reg-steps li.current .reg-step-num { background: var(--primary-800); color: #fff; }
.reg-steps li.done .reg-step-num { background: var(--success); color: #fff; }
.reg-step-label { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.reg-steps li.current .reg-step-label { color: var(--primary); }

@media (max-width: 1020px) {
  .reg-layout { grid-template-columns: 1fr; gap: 40px; }
  .reg-side { display: none; }
}
@media (max-width: 640px) {
  .reg-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Nets-style card payment panel (payment.js)
   ============================================================ */
.card-panel {
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 20px 20px 16px;
}
.card-panel-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.card-panel-title { font-size: 20px; font-weight: 600; color: var(--tertiary); }
.card-logos { display: inline-flex; flex-direction: row; align-items: center; gap: 10px; }
.card-logos svg { height: 15px; width: auto; display: inline-block; }
.card-panel-body .field { margin-bottom: 14px; }
.card-panel-body .fields-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 6px; }
.cvc-wrap { position: relative; }
.cvc-wrap input { padding-right: 68px; }
.cvc-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: auto;
  pointer-events: none;
}
.save-pay-btn {
  display: block;
  width: 100%;
  height: 44px;
  margin-top: 10px;
  background: #6b6b6b;
  color: #fff;
  border: 0;
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.save-pay-btn:hover { background: #5a5a5a; }
.save-pay-btn:disabled { opacity: .75; cursor: default; }
.reserved-note { margin-top: 10px; font-size: 13px; color: var(--muted); }
