:root {
  --ink: #10131f;
  --muted: #6b7285;
  --line: #e3e6ee;
  --line-strong: #d0d5e0;
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-soft: #f1f3f7;
  --accent: #2b41ce;
  --accent-soft: #eef1ff;
  --accent-border: #c9d1fb;
  --ok: #1a7f4b;
  --sticky-h: 6.25rem;
  --sticky-pad-bottom: 0.85rem;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 19, 31, 0.04), 0 8px 24px rgba(16, 19, 31, 0.04);
  --font-sans: "IBM Plex Sans", "Segoe UI", sans-serif;
  --font-serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  padding-bottom: calc(var(--sticky-h) + var(--sticky-pad-bottom) + 1.5rem);
}

a { color: var(--accent); }

.topbar {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.topbar-signin {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.55rem 0.95rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.topbar-signin:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.page {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
}

.step-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7b89e8;
}

.page-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  max-width: 18ch;
}

.page-lede {
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 46rem;
}

.stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.stepper li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem 0.4rem 0.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: #4b5568;
  font-size: 0.88rem;
  font-weight: 500;
}

.stepper .step-num {
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--surface-soft);
  color: #4b5568;
  font-size: 0.78rem;
  font-weight: 600;
}

.stepper li[aria-current="step"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.stepper li[aria-current="step"] .step-num {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.banner {
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.banner.err { background: #fdecea; color: #8a1f11; }
.banner.ok { background: #e7f7ee; color: var(--ok); }
.banner.warn { background: #fff6e0; color: #8a5a00; }

.design-partner-banner {
  --dp-bg: #0b1220;
  --dp-lavender: #b7b3eb;
  --dp-muted: #9aa3b8;
  --dp-track: #3a455c;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  margin: 0 0 1.15rem;
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--dp-bg);
  color: #fff;
  box-shadow: 0 10px 28px rgba(11, 18, 32, 0.18);
}

.dp-copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.dp-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dp-lavender);
}

.dp-headline {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #fff;
}

.dp-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  flex: 0 1 auto;
}

.dp-progress {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dp-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dp-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  border: 1.5px solid rgba(183, 179, 235, 0.55);
  background: transparent;
  box-sizing: border-box;
}

.dp-dot.is-filled {
  background: var(--dp-lavender);
  border-color: var(--dp-lavender);
}

.dp-places {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
}

.dp-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  user-select: none;
}

.dp-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  /* Keep in tab order / label activation; do not disable pointer-events
     so the switch reliably toggles and re-renders card prices. */
}

.dp-toggle-ui {
  position: relative;
  width: 2.55rem;
  height: 1.4rem;
  border-radius: 999px;
  background: var(--dp-track);
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  transition: background 160ms ease;
}

.dp-toggle-ui::after {
  content: "";
  position: absolute;
  top: 0.12rem;
  left: 0.12rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease;
}

.dp-toggle input:checked + .dp-toggle-ui {
  background: var(--dp-lavender);
  border-color: transparent;
}

.dp-toggle input:checked + .dp-toggle-ui::after {
  transform: translateX(1.1rem);
}

.dp-toggle input:focus-visible + .dp-toggle-ui {
  outline: 2px solid var(--dp-lavender);
  outline-offset: 2px;
}

.dp-toggle-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.dp-terms-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 0.95rem;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.dp-terms-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.dp-terms-btn:focus-visible {
  outline: 2px solid var(--dp-lavender);
  outline-offset: 2px;
}

.dp-terms-dialog {
  border: none;
  border-radius: 14px;
  padding: 0;
  width: min(32rem, calc(100vw - 2rem));
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 64px rgba(16, 19, 31, 0.28);
}

.dp-terms-dialog::backdrop {
  background: rgba(11, 18, 32, 0.55);
}

.dp-terms-inner {
  padding: 1.25rem 1.35rem 1.35rem;
}

.dp-terms-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.dp-terms-header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.dp-terms-close {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

.dp-terms-close:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.dp-terms-body {
  font-size: 0.95rem;
  color: var(--ink);
}

.dp-terms-body p {
  margin: 0 0 0.75rem;
}

.dp-terms-body ul {
  margin: 0 0 0.85rem;
  padding-left: 1.2rem;
}

.dp-terms-body li {
  margin: 0.45rem 0;
}

.dp-terms-body li strong {
  color: var(--ink);
}

.dp-terms-note {
  color: var(--muted);
  font-size: 0.9rem;
}

.dp-terms-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.dp-terms-done {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 0.65rem 1.1rem;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.dp-terms-done:hover {
  filter: brightness(1.05);
}

@media (max-width: 760px) {
  .design-partner-banner {
    padding: 1.15rem 1.15rem;
    align-items: stretch;
  }

  .dp-aside {
    align-items: flex-start;
    width: 100%;
  }

  .dp-actions {
    justify-content: flex-start;
  }
}

.card-price-list {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  margin-right: 0.35rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.55rem 0.35rem 0.85rem;
  align-items: stretch;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.15rem 1.15rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 100%;
  cursor: pointer;
  z-index: 0;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center center;
  transition:
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 280ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms ease,
    background-color 220ms ease;
  will-change: transform, box-shadow;
}

.product-card:hover:not(.is-selected) {
  border-color: var(--line-strong);
  box-shadow: 0 4px 14px rgba(16, 19, 31, 0.07);
}

.product-card.is-selected {
  z-index: 2;
  border-color: var(--accent);
  background: #fcfcff;
  transform: translate3d(0, -14px, 0) scale(1.07);
  box-shadow:
    0 0 0 2px var(--accent),
    0 22px 48px rgba(43, 65, 206, 0.22),
    0 10px 20px rgba(16, 19, 31, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .product-card {
    transition: border-color 160ms ease, box-shadow 160ms ease;
    will-change: auto;
  }

  .product-card.is-selected {
    transform: none;
    box-shadow:
      0 0 0 1.5px var(--accent),
      0 8px 20px rgba(43, 65, 206, 0.12);
  }
}

.selected-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding-right: 4.5rem;
}

.card-icon {
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.card-icon svg { width: 1.25rem; height: 1.25rem; }

.card-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.card-category {
  margin: 0.1rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.card-summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 2.85em;
}

.option-label {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4b5568;
}

.option-toggle {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0.2rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: var(--surface-soft);
}

.option-toggle button {
  appearance: none;
  border: 1px solid transparent;
  background: transparent;
  color: #4b5568;
  border-radius: 999px;
  padding: 0.45rem 0.55rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 550;
  cursor: pointer;
  white-space: nowrap;
}

.option-toggle button[aria-pressed="true"] {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 19, 31, 0.06);
}

.option-panel {
  background: var(--surface-soft);
  border-radius: 12px;
  padding: 0.95rem 1rem;
  flex: 1 1 auto;
}

.option-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 650;
}

.option-panel .option-summary {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-list {
  margin: 0 0 0.85rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2l3 3 6-6' stroke='%231a7f4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.component-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  background: #e7eaf1;
  color: #4b5568;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.2;
}

.card-pricing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.card-price {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.card-discounts {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.card-cta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-select {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.card-select.is-selected {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.card-footnote {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--muted);
}

.guarantees {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.35rem;
}

.guarantee-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem 1.05rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.guarantee-icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.guarantee-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.guarantee-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.guarantee-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.included-line {
  margin: 0 0 1.5rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: #3f4658;
  font-size: 0.95rem;
  line-height: 1.55;
}

.included-lead {
  color: var(--ink);
  font-weight: 650;
}

.included-sep {
  color: var(--muted);
}

.included-item {
  color: #3f4658;
}

.booking-section {
  margin: 0 0 2.35rem;
  padding: 1.25rem 1.3rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.booking-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a5a00;
}

.booking-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.booking-action {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
}

.booking-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.booking-btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.booking-btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.booking-quiet {
  appearance: none;
  border: none;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 550;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  cursor: pointer;
  padding: 0;
  text-align: center;
}

.terms-email-dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  max-width: min(24rem, calc(100vw - 2rem));
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.terms-email-dialog::backdrop {
  background: rgba(16, 19, 31, 0.45);
}

.terms-email-inner {
  margin: 0;
  padding: 1.2rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.terms-email-inner h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.terms-email-lede {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.terms-email-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #3f4658;
}

.terms-email-inner input[type="email"] {
  appearance: none;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  background: #fff;
}

.terms-email-inner input[type="email"]:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.terms-email-error {
  margin: 0;
  color: #9b1c1c;
  font-size: 0.86rem;
}

.terms-email-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.terms-email-actions .booking-btn {
  flex: 1 1 auto;
}

.section-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-lede {
  margin: 0 0 1.1rem;
  color: var(--muted);
}

.comparison-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.comparison-matrix thead th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink);
  background: #fafbfc;
  text-align: center;
  min-width: 8.5rem;
}

.comparison-matrix thead th.matrix-corner {
  text-align: left;
  min-width: 11rem;
  background: #fafbfc;
}

.comparison-matrix thead th.is-selected {
  background: var(--accent-soft);
}

.tier-select {
  appearance: none;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.15rem 0;
  font: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
}

.tier-name {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.tier-hint {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.comparison-matrix thead th.is-selected .tier-hint {
  color: var(--accent);
}

.comparison-matrix tbody th[scope="row"] {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: #fafbfc;
  white-space: normal;
}

.comparison-matrix tbody td {
  text-align: center;
  cursor: pointer;
  background: var(--surface);
}

.comparison-matrix tbody td.is-selected {
  background: var(--accent-soft);
}

.comparison-matrix tbody tr:last-child th,
.comparison-matrix tbody tr:last-child td {
  border-bottom: none;
}

.comparison-matrix .price-cell {
  font-weight: 700;
  white-space: nowrap;
}

.check-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #e7f7ee;
  color: var(--ok);
  font-size: 0.82rem;
  font-weight: 650;
}

.check-no {
  color: #9aa1b2;
  font-weight: 500;
}

.matrix-feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 0.88rem;
}

.matrix-feature-list li {
  margin: 0 0 0.35rem;
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.next-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1rem 1.2rem;
  min-height: 100%;
}

.next-card .next-id {
  margin: 0 0 0.55rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: #4b5568;
}

.next-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.next-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.next-card.is-emphasized {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.next-card.is-emphasized .next-id,
.next-card.is-emphasized p {
  color: rgba(255, 255, 255, 0.86);
}

.next-card.is-emphasized h3 { color: #fff; }

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  /* Full-bleed uses page background; white panel is content-width only */
  background: var(--bg);
  border-top: none;
  padding-bottom: var(--sticky-pad-bottom);
}

.sticky-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: var(--sticky-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  /* Extra space below text so the bar feels taller / grounded in the page */
  padding: 0.9rem 1.15rem 1.35rem;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -6px 24px rgba(16, 19, 31, 0.06);
  backdrop-filter: blur(8px);
}

.sticky-selected-label {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.sticky-selected-value {
  margin: 0.1rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sticky-note {
  margin: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.sticky-cta {
  justify-self: end;
  appearance: none;
  border: none;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 0.8rem 1.15rem;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}

.sticky-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.loading {
  padding: 2rem 0;
  color: var(--muted);
}

[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guarantees {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .next-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-title { max-width: none; }

  .booking-actions {
    grid-template-columns: 1fr;
  }

  .sticky-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "selected cta"
      "note note";
  }

  .sticky-selected { grid-area: selected; }
  .sticky-note { grid-area: note; text-align: left; }
  .sticky-cta { grid-area: cta; }
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 1.25rem, 1120px);
    padding-top: 1.35rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .stepper {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .stepper li { flex: 0 0 auto; }

  .card-head { padding-right: 0; }

  .product-card.is-selected .selected-badge {
    top: 0.75rem;
    right: 0.75rem;
  }

  .included-line {
    font-size: 0.9rem;
  }

  .next-grid { grid-template-columns: 1fr; }

  .sticky-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "selected"
      "cta"
      "note";
    gap: 0.55rem;
  }

  .sticky-cta {
    width: 100%;
    justify-self: stretch;
  }

  body { padding-bottom: calc(var(--sticky-h) + var(--sticky-pad-bottom) + 4.5rem); }

  .sticky-inner {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 1.25rem;
  }
}
