/* ═══════════════════════════════════════════════════════════════
   ActionHouse Booking – Style
   Based on Claude v2 design: light theme, Poppins + Open Sans
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  background: #eaeaec;
  color: #1a1a1a;
  min-height: 100vh;
}

/* ── Animations ── */
@keyframes stepIn   { from { opacity:0; transform:translateY(14px) } to { opacity:1; transform:none } }
@keyframes pulse    { 0%{transform:scale(1)} 40%{transform:scale(1.35)} 100%{transform:scale(1)} }
@keyframes bounceE  { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }
@keyframes spin     { to { transform:rotate(360deg) } }
@keyframes toastUp  { from{opacity:0;transform:translateX(-50%) translateY(24px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }

/* ── Header ── */
.site-header {
  background: #141414;
  border-bottom: none;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .5px;
  color: #fff;
}
.logo span { color: #d7101b; }
.header-badge {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: .85;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #16a34a;
  display: inline-block;
}

/* ── Stepper Bar ── */
.stepper-bar {
  background: #fff;
  border-bottom: 1px solid #ececec;
}
.stepper-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: default;
  flex: none;
}
.stepper-step.completed { cursor: pointer; }
.step-circle {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  background: #e5e7eb;
  color: #9ca3af;
  border: 3px solid transparent;
  transition: all .2s;
}
.stepper-step.active .step-circle {
  background: #004aad;
  color: #fff;
  border-color: #004aad;
  box-shadow: 0 0 0 4px rgba(0,74,173,.18);
}
.stepper-step.completed .step-circle {
  background: #004aad;
  color: #fff;
}
.step-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #9ca3af;
  text-align: center;
  white-space: nowrap;
}
.stepper-step.active .step-label,
.stepper-step.completed .step-label { color: #1a1a1a; }

.stepper-divider {
  flex: 1;
  height: 3px;
  background: #e5e7eb;
  border-radius: 99px;
  margin: 0 6px;
  align-self: center;
  margin-bottom: 24px;       /* Align with circle center */
  transition: background .3s;
}
.stepper-divider.filled { background: #004aad; }

/* ── Layout ── */
.app-container {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 28px 90px;
}
.form-area {
  flex: 1;
  min-width: 0;
}

/* ── Step Container ── */
.step-container {
  display: none;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  padding: 30px 28px;
  animation: stepIn .35s ease both;
}
.step-container.active { display: block; }
.step-tag {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #d7101b;
  margin-bottom: 6px;
}
.step-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 18px;
}

/* ── Category Tabs ── */
.category-tabs {
  display: inline-flex;
  gap: 6px;
  background: #f1f1f3;
  padding: 5px;
  border-radius: 14px;
  margin-bottom: 22px;
}
.category-tab {
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  background: transparent;
  color: #6b7280;
  transition: all .15s;
}
.category-tab.active {
  background: #004aad;
  color: #fff;
}

/* ── Option Cards Grid ── */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.option-card {
  position: relative;
  text-align: left;
  background: #fff;
  border: 2px solid #ececec;
  border-radius: 18px;
  padding: 18px;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display: block;
}
.option-card:hover { transform: translateY(-2px); }
.option-card.selected {
  border-color: #004aad;
  box-shadow: 0 10px 28px rgba(0,74,173,.22);
}
.option-card-check {
  display: none;
  position: absolute;
  top: 10px; right: 10px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #004aad;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}
.option-card.selected .option-card-check { display: flex; }
.option-card-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(0,74,173,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 12px;
}
.option-card-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.option-card-desc {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.4;
  margin-bottom: 10px;
}
/* Pakke-undertekst: aktiviteter + varighed. Lille, tynd font (Data-Ink Ratio). */
.option-card-activities {
  font-size: 12px;
  font-weight: 400;
  color: #6b7280;
  line-height: 1.35;
  margin-bottom: 10px;
}
/* Turbos Legeland: kompakt fra-pris-liste i kortets undertekstområde. */
.legeland-prices {
  list-style: none;
  margin: 2px 0 12px;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #6b7280;
}
.legeland-prices li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.legeland-prices li span:last-child {
  font-weight: 600;
  color: #004aad;
}
.option-card-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #004aad;
}
.option-card-price span {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 600;
}

/* ── App wrapper (giver plads til den eksisterende WordPress-menu) ── */
.actionhouse-booking-app { margin-top: 100px; }

/* ── Activity cards: variant-dropdown + pris i bunden ── */
.option-card--activity { display: flex; flex-direction: column; }
.option-card--activity .option-card-price { margin-top: auto; }
.option-card-select {
  width: 100%;
  margin: 2px 0 12px;
  padding: 8px 10px;
  border: 1.5px solid #e3e3e6;
  border-radius: 10px;
  background: #f7f7f9;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
}
.option-card-select:focus { outline: none; border-color: #004aad; }

/* ── Rabatkode ── */
.promo-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  max-width: 480px;
}
.promo-row .form-input { flex: 1; }
.promo-row .btn { flex: 0 0 auto; }
.promo-message {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  min-height: 18px;
}
.promo-message.success { color: #16a34a; }
.promo-message.error { color: #dc2626; }

/* ── Discount Hint ── */
.discount-hint {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #6b7280;
}
.discount-hint strong { color: #16a34a; }

/* ── Form Fields ── */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 8px;
}
.form-optional { color: #9ca3af; font-weight: 400; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #1a1a1a;
  font-size: 15px;
  font-family: 'Open Sans', sans-serif;
  outline: none;
  transition: border-color .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: #004aad; }
.form-textarea { resize: vertical; min-height: 92px; }
.form-hint {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 7px;
}
.info-box {
  margin-top: 10px;
  padding: 12px;
  background: rgba(22,163,74,.1);
  border: 1px solid rgba(22,163,74,.3);
  border-radius: 8px;
  font-size: 13px;
  color: #374151;
}

/* ── Counter Controls ── */
.counters-wrapper { max-width: 480px; }
.counter-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f0;
}
.counter-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
}
.counter-sublabel {
  font-size: 13px;
  color: #6b7280;
}
.counter-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.counter-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  background: #fff;
  color: #d1d5db;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.counter-btn:hover { border-color: #004aad; color: #004aad; }
.counter-value {
  min-width: 30px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 21px;
  display: inline-block;
}

/* ── Addon List ── */
.addon-section { margin-bottom: 26px; }
.addon-section-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
  margin-bottom: 10px;
}
.addon-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.addon-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 13px;
  border: 2px solid #ececec;
  background: #fff;
  cursor: pointer;
  transition: all .15s;
}
.addon-item:hover { border-color: #9bb8e0; }
.addon-item.selected {
  border-color: #004aad;
  background: rgba(0,74,173,.07);
}
.addon-radio {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: #004aad;
}
.addon-item.selected .addon-radio {
  border-color: #004aad;
}
.addon-item.selected .addon-radio::after {
  content: '●';
}
.addon-checkbox {
  flex: none;
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 2px solid #cbd5e1;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: #fff;
  transition: all .15s;
}
.addon-item.selected .addon-checkbox {
  background: #004aad;
  border-color: #004aad;
}
.addon-item.selected .addon-checkbox::after {
  content: '✓';
}
.addon-details { flex: 1; text-align: left; }
.addon-name { font-weight: 600; font-size: 15px; }
.addon-note { font-size: 12px; color: #6b7280; }
.addon-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #004aad;
  white-space: nowrap;
}
.addon-hint {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 8px;
}

/* ── Step Navigation ── */
.step-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #f0f0f0;
}

/* ── Buttons ── */
.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all .2s;
}
.btn-primary {
  border-radius: 999px;
  padding: 14px 30px;
  color: #fff;
  background: #004aad;
  box-shadow: 0 8px 24px rgba(0,74,173,.35);
}
.btn-primary:hover { background: #003a87; }
.btn-secondary {
  background: none;
  border: none;
  color: #6b7280;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  padding: 13px 8px;
}
.btn-secondary:hover { color: #1a1a1a; }
.btn-submit {
  flex: 1;
  min-width: 200px;
  border-radius: 999px;
  padding: 15px 28px;
  color: #fff;
  background: #004aad;
  box-shadow: 0 8px 24px rgba(0,74,173,.35);
}
.btn-submit:hover { background: #003a87; }

/* ── Disclaimer ── */
.disclaimer-box {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 20px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  line-height: 1.5;
}

/* ── Sidebar ── */
.sidebar {
  width: 360px;
  flex: none;
  position: sticky;
  top: 20px;
}
.price-box {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.price-header {
  background: #141414;
  color: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-header-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
}
.price-header-badge {
  background: rgba(0,74,173,.15);
  color: #004aad;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 4px 9px;
  border-radius: 999px;
}
.price-body { padding: 20px; }
.price-empty {
  text-align: center;
  padding: 18px 6px;
  color: #9ca3af;
}
.price-empty-icon { font-size: 34px; margin-bottom: 10px; }
.price-empty div:last-child { font-size: 14px; line-height: 1.5; }

/* Price line items (rendered by JS) */
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 4px 0;
}
.price-line-name { font-size: 14px; color: #374151; }
.price-line-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #1a1a1a;
  white-space: nowrap;
}
.price-line-value.price-discount { color: #16a34a; }
.price-divider {
  border-top: 1px solid #f0f0f0;
  margin: 12px 0;
}
.price-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid #f0f0f0;
  margin-top: 16px;
  padding-top: 14px;
}
.price-total-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #374151;
}
.price-total-value {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #004aad;
}
.price-total-suffix {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 600;
}
.price-group-total {
  text-align: right;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #1a1a1a;
  margin-top: 4px;
}
.price-footer-note {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 16px;
  line-height: 1.45;
  border-top: 1px solid #f0f0f0;
  padding-top: 13px;
}

/* ── Promo Box ── */
.promo-box {
  margin-top: 14px;
  background: rgba(0,74,173,.06);
  border: 1px solid rgba(0,74,173,.2);
  border-radius: 16px;
  padding: 15px 17px;
  display: flex;
  gap: 11px;
}
.promo-icon { font-size: 19px; flex: none; }
.promo-text {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
}
.promo-text strong { color: #004aad; }

/* ── Success State (rendered by JS) ── */
.success-state {
  text-align: center;
  padding: 26px 8px;
}
.success-icon {
  font-size: 60px;
  animation: bounceE 1.1s ease infinite;
  margin-bottom: 14px;
}
.success-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 28px;
  margin: 0 0 12px;
}
.success-text {
  font-size: 15px;
  color: #6b7280;
  max-width: 440px;
  margin: 0 auto 22px;
  line-height: 1.6;
}

/* ── Validation Toast ── */
.validation-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 60;
  transform: translateX(-50%) translateY(24px);
  background: #1a1a1a;
  border: 1px solid rgba(253,203,110,.7);
  border-radius: 14px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
  opacity: 0;
  transition: opacity .3s, transform .3s;
  max-width: 90vw;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.validation-toast.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.validation-toast-icon { font-size: 18px; }

/* ── Spinner (submit button) ── */
.spinner {
  display: inline-block;
  width: 17px; height: 17px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: -3px;
  margin-right: 9px;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .app-container {
    flex-direction: column;
    padding: 18px 16px 70px;
    max-width: 600px;
  }
  .sidebar {
    width: 100%;
    position: static;
    order: -1;
  }
  .form-area { width: 100%; }
  .step-label { display: none; }
  .stepper-divider { margin-bottom: 0; }
}

@media (max-width: 600px) {
  .options-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }
  .option-card { padding: 14px; }
  /* Lange overskrifter (fx "Kontaktoplysninger") må ikke sprænge layoutet. */
  .step-title { font-size: 20px; word-break: break-word; }
  .header-inner { padding: 14px 16px; }
  .stepper-inner { padding: 16px 12px; }
  .step-circle { width: 32px; height: 32px; font-size: 13px; }

  /* Trin-navigation: hold "Tilbage" + "Send bookingforespørgsel" inden
     for viewporten uden vandret scroll. */
  .step-navigation { gap: 8px; }
  .btn-primary { padding: 13px 18px; font-size: 14px; }
  .btn-secondary { padding: 12px 4px; font-size: 13px; }
  .btn-submit {
    min-width: 0;
    padding: 14px 14px;
    font-size: 14px;
  }
}

/* ── Honeypot (spam-beskyttelse) ── */
/* Skjules uden display:none, så bots stadig "ser" og udfylder feltet. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
