/*
 * Zak Travel Morocco — Booking Widget & 5-Step Checkout Styles
 * Exact conversion and design system matching gomarrakechtour.com
 */

/* ============================================================
   1. HERO BOOKING WIDGET (.bkv)
   ============================================================ */
.bkv {
  --bkv-bg: #141311;
  --bkv-panel: #1D1B17;
  --bkv-line: rgba(201, 162, 74, 0.22);
  --bkv-line-hover: rgba(201, 162, 74, 0.45);
  --bkv-label: #A8832F;
  --bkv-text: #F7F3EC;
  --bkv-muted: rgba(247, 243, 236, 0.65);
  --bkv-gold: #C9A24A;
  --bkv-gold-hover: #DFB85C;
  --bkv-gold-deep: #A8832F;

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 24px 20px;
  background: var(--bkv-bg);
  border-radius: 22px;
  border: 1px solid var(--bkv-line);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.05);
  color: var(--bkv-text);
  color-scheme: dark;
}

/* ============================================================
   GLOBAL ICON SPECIFICATION FOR BOOKING SYSTEM
   ============================================================ */
svg.i,
.bkv svg.i,
.book svg.i,
.panel svg.i,
.summary svg.i,
.ac-list svg.i {
  width: 1.15em;
  height: 1.15em;
  max-width: 100%;
  max-height: 100%;
  display: inline-block;
  vertical-align: middle;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  box-sizing: content-box;
}

.bkv svg.i {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

/* Tabs: segmented control */
.bkv-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.bkv-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bkv-muted);
  transition: all 0.2s ease;
  white-space: nowrap;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.bkv-tabs button svg.i {
  font-size: 17px;
  color: var(--bkv-muted);
  transition: color 0.2s ease;
}
.bkv-tabs button:hover {
  color: var(--bkv-text);
}
.bkv-tabs button[aria-selected="true"] {
  background: rgba(201, 162, 74, 0.15);
  color: var(--bkv-gold);
  border: 1px solid rgba(201, 162, 74, 0.4);
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.5);
}
.bkv-tabs button[aria-selected="true"] svg.i {
  color: var(--bkv-gold);
}

/* Heading */
.bkv-head {
  text-align: center;
}
.bkv-head h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bkv-text);
  line-height: 1.2;
  margin: 0;
}
.bkv-head p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--bkv-muted);
}

/* Shared control */
.bkv-ctl {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.bkv-ctl label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bkv-label);
  line-height: 1;
  cursor: pointer;
}
.bkv-ctl input {
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--bkv-text);
  line-height: 1.3;
}
.bkv-ctl select {
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--bkv-text);
  line-height: 1.3;
  cursor: pointer;
}
.bkv-ctl select option {
  background: #1A1815;
  color: #F7F3EC;
}
.bkv-ctl input::placeholder {
  color: rgba(247, 243, 236, 0.4);
  font-weight: 400;
}
.bkv input[type="date"],
.bkv input[type="time"] {
  font-family: inherit;
  cursor: pointer;
}
.bkv input::-webkit-calendar-picker-indicator {
  filter: invert(0.8) sepia(0.5) saturate(4) hue-rotate(5deg);
  opacity: 0.7;
  cursor: pointer;
}

/* Route card: pick-up → drop-off with dotted connector */
.bkv-route {
  position: relative;
  border: 1px solid var(--bkv-line);
  border-radius: 16px;
  background: var(--bkv-panel);
}
.bkv-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 64px 13px 16px;
  transition: background 0.2s ease;
}
.bkv-field:first-child {
  border-radius: 16px 16px 0 0;
}
.bkv-field:last-child {
  border-radius: 0 0 16px 16px;
  border-top: 1px solid var(--bkv-line);
}
.bkv-field:hover {
  background: rgba(255, 255, 255, 0.03);
}
.bkv-field:focus-within {
  background: rgba(201, 162, 74, 0.05);
  box-shadow: inset 0 0 0 1.5px var(--bkv-gold);
  z-index: 1;
}
.bkv-field--invalid {
  border-color: #EF4444 !important;
  box-shadow: inset 0 0 0 1.5px #EF4444, 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
  animation: bkv-shake 0.3s ease;
}
@keyframes bkv-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.bkv-node {
  position: relative;
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.bkv-field--from .bkv-node {
  background: rgba(201, 162, 74, 0.2);
}
.bkv-field--from .bkv-node::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bkv-gold);
  box-shadow: 0 0 0 2px var(--bkv-bg);
}
.bkv-field--to .bkv-node {
  background: rgba(255, 255, 255, 0.1);
}
.bkv-field--to .bkv-node::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--bkv-text);
  transform: rotate(45deg);
  box-shadow: 0 0 0 2px var(--bkv-bg);
}
.bkv-route::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 42px;
  bottom: 42px;
  border-left: 2px dotted rgba(201, 162, 74, 0.6);
  z-index: 2;
  pointer-events: none;
}
.bkv-swap {
  position: absolute;
  right: 16px;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  background: #1A1815;
  color: var(--bkv-gold);
  border: 1px solid var(--bkv-line);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.35s ease, border-color 0.2s ease, color 0.2s ease;
}
.bkv-swap:hover {
  transform: translateY(-50%) rotate(180deg);
  border-color: var(--bkv-gold);
  color: #fff;
}
.bkv-swap svg.i {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}

/* Date + time */
.bkv-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 10px;
}
.bkv-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--bkv-line);
  border-radius: 14px;
  background: var(--bkv-panel);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.bkv-box:hover {
  border-color: var(--bkv-line-hover);
}
.bkv-box:focus-within {
  border-color: var(--bkv-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.2);
}
.bkv-box > svg.i,
.bkv-pax > svg.i {
  width: 20px;
  height: 20px;
  font-size: 20px;
  color: var(--bkv-gold);
  stroke: var(--bkv-gold);
  fill: none;
  flex: none;
}

/* Passengers + return */
.bkv-opts {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}
.bkv-return {
  display: contents;
}
.bkv-pax {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 8px 7px 14px;
  border: 1px solid var(--bkv-line);
  border-radius: 14px;
  background: var(--bkv-panel);
}
.bkv-pax__label {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--bkv-text);
}
.bkv-stepper {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 12px;
  background: #141311;
  border: 1px solid var(--bkv-line);
}
.bkv-stepper button {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--bkv-text);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.bkv-stepper button:hover:not(:disabled) {
  background: rgba(201, 162, 74, 0.2);
}
.bkv-stepper button:disabled {
  color: rgba(255, 255, 255, 0.25);
  cursor: default;
}
.bkv-stepper output {
  min-width: 22px;
  text-align: center;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--bkv-text);
}
.bkv-addret {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px dashed rgba(201, 162, 74, 0.5);
  font-size: 14px;
  font-weight: 600;
  color: var(--bkv-text);
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.bkv-addret svg.i {
  font-size: 18px;
  color: var(--bkv-gold);
}
.bkv-addret em {
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--bkv-gold);
  background: rgba(201, 162, 74, 0.18);
  padding: 3px 8px;
  border-radius: 999px;
}
.bkv-addret:hover {
  border-color: var(--bkv-gold);
  background: rgba(201, 162, 74, 0.08);
}
.bkv-ret {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: auto 1.15fr 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 14px;
  border: 1px solid rgba(201, 162, 74, 0.4);
  border-radius: 14px;
  background: rgba(201, 162, 74, 0.06);
}
.bkv-ret__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bkv-gold);
}
.bkv-ret__title svg.i {
  font-size: 16px;
}
.bkv-ret input {
  min-width: 0;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--bkv-line);
  border-radius: 10px;
  background: var(--bkv-bg);
  font-size: 14px;
  font-weight: 600;
  color: var(--bkv-text);
  outline: none;
}
.bkv-ret input:focus {
  border-color: var(--bkv-gold);
}
.bkv-ret__x {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bkv-muted);
  font-size: 15px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.bkv-ret__x:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.bkv-ret__x svg.i {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
}
.bkv-opts .bkv-pax {
  grid-row: 1;
}
.bkv-opts .bkv-addret {
  grid-row: 1;
}

/* Call to action */
.bkv-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  border-radius: 14px;
  background: var(--bkv-gold);
  color: #0E0D0B;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 0;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 14px 30px -14px rgba(201, 162, 74, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.bkv-submit svg.i {
  font-size: 18px;
  stroke-width: 2.5;
  transition: transform 0.25s ease;
}
.bkv-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 18px 34px -14px rgba(201, 162, 74, 0.85);
}
.bkv-submit:hover svg.i {
  transform: translateX(3px);
}
.bkv-submit:focus-visible,
.bkv-tabs button:focus-visible,
.bkv-addret:focus-visible,
.bkv-swap:focus-visible {
  outline: 2px solid var(--bkv-gold);
  outline-offset: 2px;
}

/* Trust line */
.bkv-trust {
  list-style: none;
  margin: -2px 0 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.bkv-trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--bkv-muted);
  white-space: nowrap;
}
.bkv-trust svg.i {
  font-size: 17px;
  color: var(--bkv-gold);
}

@media (max-width: 720px) {
  .bkv {
    padding: 18px 16px;
    gap: 14px;
  }
  .bkv-tabs button {
    font-size: 12.5px;
    gap: 5px;
    padding: 0 4px;
  }
  .bkv-field {
    padding-right: 56px;
  }
  .bkv-row {
    grid-template-columns: 1fr;
  }
  .bkv-opts {
    grid-template-columns: 1fr;
  }
  .bkv-opts .bkv-pax {
    grid-row: auto;
  }
  .bkv-opts .bkv-addret {
    grid-row: auto;
    width: 100%;
    height: 48px;
    justify-content: center;
  }
  .bkv-ret {
    grid-template-columns: 1fr;
    grid-row: auto;
    gap: 8px;
  }
  .bkv-ret__title {
    grid-column: 1;
  }
  .bkv-ret input {
    width: 100%;
  }
  .bkv-ret__x {
    position: absolute;
    right: 8px;
    top: 8px;
  }
  .bkv-trust {
    flex-direction: column;
    gap: 6px;
  }
}

/* ============================================================
   2. PLACE AUTOCOMPLETE DROPDOWN (.ac-list)
   ============================================================ */
.ac-list {
  position: absolute;
  z-index: 9999;
  margin: 0;
  padding: 8px;
  list-style: none;
  max-height: 340px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #1C1A16;
  border: 1px solid rgba(201, 162, 74, 0.35);
  border-radius: 16px;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.85);
  animation: ac-in 0.16s ease-out;
  color-scheme: dark;
}
@keyframes ac-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
.ac-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: #F7F3EC;
  cursor: pointer;
  transition: background 0.15s ease;
}
.ac-item svg.i {
  width: 18px;
  height: 18px;
  stroke: #C9A24A;
  fill: none;
  stroke-width: 1.8;
  flex: none;
}
.ac-item mark {
  background: none;
  color: #C9A24A;
  font-weight: 700;
}
.ac-item.is-active,
.ac-item:hover {
  background: rgba(201, 162, 74, 0.16);
  color: #fff;
}
.ac-empty {
  padding: 14px;
  font-size: 14px;
  color: rgba(247, 243, 236, 0.5);
}

/* ============================================================
   3. BOOKING WIZARD PAGE (.book, .steps-nav, .panel, .summary)
   ============================================================ */
main.book {
  position: relative;
  width: 100%;
  color: #F7F3EC;
}

.book__head {
  margin-bottom: 28px;
}
.book__head h1 {
  font-size: 38px;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 12px 0 6px;
}
.book__head h1 .accent {
  color: #C9A24A;
  font-style: normal;
}
.book__head p {
  color: rgba(247, 243, 236, 0.7);
  font-size: 16px;
  max-width: 720px;
  margin: 0;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: rgba(247, 243, 236, 0.55);
}
.crumbs a {
  color: inherit;
  transition: color 0.2s;
}
.crumbs a:hover {
  color: #C9A24A;
}

/* 5-Step Navigation Indicator */
.steps-nav {
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 16px;
}
.steps-nav li {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: rgba(247, 243, 236, 0.45);
  transition: color 0.2s ease;
}
.steps-nav li.is-active {
  color: #F7F3EC;
  font-weight: 700;
}
.steps-nav li.is-done {
  color: #C9A24A;
}
.steps-nav__n {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13.5px;
  font-weight: 700;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: inherit;
  transition: all 0.2s ease;
}
.steps-nav li.is-active .steps-nav__n {
  background: #C9A24A;
  border-color: #C9A24A;
  color: #0E0D0B;
}
.steps-nav li.is-done .steps-nav__n {
  background: rgba(201, 162, 74, 0.15);
  border-color: #C9A24A;
  color: #C9A24A;
}
.steps-nav__t {
  font-size: 14.5px;
}

.book__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}
main.book.is-done .book__grid {
  grid-template-columns: minmax(0, 840px);
  justify-content: center;
}

/* Form Panel */
.panel {
  background: #171512;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 36px 40px;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.7);
}
.panel__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  outline: none;
}
.panel__sub {
  color: rgba(247, 243, 236, 0.65);
  margin: 8px 0 0;
  font-size: 14.5px;
}

/* Service Switcher on /book */
.svc-switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 20px;
  padding: 4px;
  background: #201D19;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.svc-switch label {
  position: relative;
  cursor: pointer;
}
.svc-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.svc-switch span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(247, 243, 236, 0.6);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.svc-switch svg.i {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}
.svc-switch input:checked + span {
  background: #C9A24A;
  color: #0E0D0B;
}

/* Step 1 Fields Grid */
.fgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
  margin-top: 24px;
  position: relative;
}
.f {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.f--full {
  grid-column: 1 / -1;
}
.f label,
.f__label {
  font-size: 14px;
  font-weight: 600;
  color: #F7F3EC;
}
.f label small {
  font-weight: 400;
  color: rgba(247, 243, 236, 0.55);
}
.f__input {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: #201D19;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.f__input:focus-within {
  border-color: #C9A24A;
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.2);
}
.f__input svg.i {
  width: 19px;
  height: 19px;
  font-size: 19px;
  color: #C9A24A;
  stroke: #C9A24A;
  fill: none;
  flex: none;
}
.f__input input,
.f__input select,
.f__input textarea {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: #F7F3EC;
  padding: 14px 0;
}
.f__input textarea {
  resize: vertical;
  min-height: 85px;
  font: inherit;
}
.f__input input::placeholder,
.f__input textarea::placeholder {
  color: rgba(247, 243, 236, 0.35);
}
.f__input--select select {
  appearance: none;
  cursor: pointer;
}
.f__input--select select option {
  background: #1A1815;
  color: #F7F3EC;
}

.swap-mini {
  position: absolute;
  left: 50%;
  top: 42px;
  transform: translateX(-50%);
  z-index: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #141311;
  color: #C9A24A;
  border: 2px solid rgba(201, 162, 74, 0.4);
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.35s ease, border-color 0.2s;
}
.swap-mini svg.i {
  width: 15px;
  height: 15px;
  transform: rotate(90deg);
}
.swap-mini:hover {
  transform: translateX(-50%) rotate(180deg);
  border-color: #C9A24A;
}

/* Route Hint Pill */
.route-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(201, 162, 74, 0.1);
  border: 1px solid rgba(201, 162, 74, 0.25);
  color: #F7F3EC;
  font-size: 14.5px;
}
.route-hint svg.i {
  width: 17px;
  height: 17px;
  font-size: 18px;
  color: #C9A24A;
  stroke: #C9A24A;
  fill: none;
  margin-top: 2px;
  flex: none;
}
.route-hint--ok {
  background: rgba(46, 125, 50, 0.15);
  border-color: rgba(76, 175, 80, 0.3);
  color: #E8F5E9;
}
.route-hint--ok svg.i {
  color: #81C784;
  stroke: #81C784;
  fill: none;
}

/* Checkbox */
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 15.5px;
  color: #F7F3EC;
  cursor: pointer;
}
.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.check__box {
  width: 22px;
  height: 22px;
  flex: none;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: #201D19;
  color: transparent;
  transition: all 0.2s ease;
}
.check__box svg.i {
  width: 14px;
  height: 14px;
  stroke: #0E0D0B;
  stroke-width: 3;
}
.check input:checked + .check__box {
  background: #C9A24A;
  border-color: #C9A24A;
  color: #0E0D0B;
}
.check small {
  color: #C9A24A;
  font-weight: 600;
  margin-left: 4px;
}
.check--terms {
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(247, 243, 236, 0.7);
  line-height: 1.5;
}
.check--terms a {
  color: #C9A24A;
  text-decoration: underline;
}

/* Counter */
.counter {
  display: inline-flex;
  align-items: stretch;
  width: max-content;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: #201D19;
}
.counter button {
  width: 60px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: #F7F3EC;
  font-size: 18px;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
@media (hover: hover) {
  .counter button:hover:not(:disabled) {
    background: rgba(201, 162, 74, 0.2);
  }
}
.counter button:active:not(:disabled) {
  background: rgba(201, 162, 74, 0.2);
}
.counter button:disabled {
  color: rgba(255, 255, 255, 0.2);
  cursor: default;
}
.counter output {
  width: 66px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #F7F3EC;
  border-inline: 1px solid rgba(255, 255, 255, 0.08);
}

.form-error {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(211, 47, 47, 0.15);
  border: 1px solid rgba(211, 47, 47, 0.3);
  color: #EF9A9A;
  font-size: 14.5px;
}

.panel__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.btn-next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 32px;
  border-radius: 999px;
  background: #C9A24A;
  color: #0E0D0B;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(201, 162, 74, 0.7);
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-next:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.btn-next svg.i {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: rgba(247, 243, 236, 0.6);
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.btn-back:hover {
  color: #F7F3EC;
  background: rgba(255, 255, 255, 0.05);
}
.btn-back svg.i {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Step 2 Vehicles List */
.vehicles {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.vcard {
  position: relative;
  display: grid;
  grid-template-columns: 150px 1fr auto 26px;
  align-items: center;
  gap: 22px;
  padding: 14px 22px 14px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  cursor: pointer;
  background: #201D19;
  transition: all 0.2s ease;
}
.vcard input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.vcard:hover:not(.is-disabled) {
  border-color: rgba(201, 162, 74, 0.5);
}
.vcard.is-selected {
  border-color: #C9A24A;
  background: rgba(201, 162, 74, 0.08);
  box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.2);
}
.vcard.is-disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.vcard__img {
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  background: #141311;
}
.vcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vcard__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.vcard__body b {
  font-size: 18px;
  color: #F7F3EC;
}
.vcard__body > small {
  color: rgba(247, 243, 236, 0.6);
  font-size: 13.5px;
}
.vcard__specs {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #F7F3EC;
}
.vcard__specs span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vcard__specs svg.i {
  color: #C9A24A;
  stroke: #C9A24A;
  fill: none;
  width: 16px;
  height: 16px;
}
.vcard__feat {
  font-size: 12.5px;
  color: rgba(247, 243, 236, 0.5);
  margin-top: 4px;
}
.vcard__price {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.vcard__price small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.5);
}
.vcard__price strong {
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #C9A24A;
  line-height: 1.1;
}
.vcard__price strong.vcard__req {
  font-size: 18px;
  color: #C9A24A;
}
.vcard__price span {
  font-size: 12.5px;
  color: rgba(247, 243, 236, 0.65);
  font-weight: 500;
}
.vcard__na {
  font-size: 13px;
  color: rgba(247, 243, 236, 0.45);
  max-width: 150px;
}
.vcard__radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  position: relative;
  transition: border-color 0.2s ease;
}
.vcard.is-selected .vcard__radio {
  border-color: #C9A24A;
}
.vcard.is-selected .vcard__radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #C9A24A;
}

/* Step 4 Review List */
.review-list {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 24px;
}
.rv {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rv:last-child {
  border-bottom: 0;
}
.rv dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.5);
  padding-top: 3px;
}
.rv dd {
  margin: 0;
  color: #F7F3EC;
  font-size: 15.5px;
  line-height: 1.6;
  min-width: 0;
  overflow-wrap: anywhere;
}
.rv dd span {
  color: rgba(247, 243, 236, 0.6);
}
.rv .edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #C9A24A;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(201, 162, 74, 0.1);
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}
.rv .edit:hover {
  background: rgba(201, 162, 74, 0.2);
}
.rv .edit svg.i {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}
.rv--price {
  background: #141311;
}
.rv--price dd {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rv--price .line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.rv--price .line span {
  color: rgba(247, 243, 236, 0.65);
}
.rv--price .line--total {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 18px;
  font-weight: 700;
}
.rv--price .line--total span,
.rv--price .line--total b {
  color: #F7F3EC;
}
.rv--price .line--deposit b,
.rv--price .line--deposit span {
  color: #C9A24A;
  font-weight: 700;
}

/* Step 5 Payment */
.pay-due {
  margin-top: 22px;
}
.due {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(201, 162, 74, 0.1);
  border: 1px solid rgba(201, 162, 74, 0.3);
}
.due span {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C9A24A;
}
.due strong {
  font-size: 34px;
  letter-spacing: -0.02em;
  color: #F7F3EC;
}
.due small {
  color: rgba(247, 243, 236, 0.6);
  font-size: 13.5px;
}

.paypal-box {
  margin-top: 24px;
}
.pay-loading {
  text-align: center;
  color: rgba(247, 243, 236, 0.6);
  padding: 20px 0;
  font-size: 14.5px;
}
.pay-fallback {
  margin-top: 24px;
  padding: 24px;
  border-radius: 16px;
  background: #201D19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.pay-fallback p {
  color: rgba(247, 243, 236, 0.8);
  font-size: 15px;
  margin: 0 0 18px;
}
.pay-fallback .btn--gold,
.done-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #C9A24A;
  color: #0E0D0B;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, filter 0.2s;
}
.pay-fallback .btn--gold:hover,
.done-actions .btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.pay-fallback .btn--gold svg.i,
.done-actions .btn svg.i {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 13px;
  color: rgba(247, 243, 236, 0.55);
  line-height: 1.5;
}
.secure-note svg.i {
  color: #C9A24A;
  font-size: 18px;
  flex: none;
}

/* Step 6 Confirmation Screen */
.panel--done {
  text-align: center;
  padding: 48px 36px;
}
.done-ico {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  background: rgba(76, 175, 80, 0.15);
  border: 2px solid #81C784;
  color: #81C784;
  font-size: 32px;
}
.done-ico svg.i {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 2.5;
}
.panel--done h2 {
  font-size: 32px;
  letter-spacing: -0.02em;
  margin: 0;
}
.done-ref {
  font-size: 16px;
  color: rgba(247, 243, 236, 0.7);
  margin: 8px 0 16px;
}
.done-ref strong {
  color: #C9A24A;
  font-family: monospace;
  font-size: 20px;
  letter-spacing: 0.05em;
  margin-left: 6px;
}
.done-text {
  max-width: 580px;
  margin: 0 auto 28px;
  color: rgba(247, 243, 236, 0.8);
  font-size: 15.5px;
  line-height: 1.6;
}
.done-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}
.btn--ghost {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #F7F3EC;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn--ghost:hover {
  border-color: #C9A24A;
  color: #C9A24A;
}

/* ============================================================
   4. STICKY SUMMARY ASIDE (.summary)
   ============================================================ */
.summary {
  position: sticky;
  top: 110px;
  background: #141311;
  color: #F7F3EC;
  border-radius: 22px;
  padding: 28px;
  border: 1px solid rgba(201, 162, 74, 0.25);
  box-shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.9);
}
.summary h3 {
  color: #C9A24A;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}
.summary__route {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
  padding-left: 18px;
  position: relative;
}
.summary__route::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  bottom: 8px;
  border-left: 1px dashed rgba(201, 162, 74, 0.5);
}
.summary__route div {
  position: relative;
}
.summary__route div::before {
  content: "";
  position: absolute;
  left: -19px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C9A24A;
}
.summary__route div:last-child::before {
  background: #141311;
  border: 1.5px solid #C9A24A;
}
.summary__route small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.5);
}
.summary__route b {
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.summary__meta {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.summary__meta li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(247, 243, 236, 0.85);
}
.summary__meta svg.i {
  width: 17px;
  height: 17px;
  font-size: 16px;
  color: #C9A24A;
  stroke: #C9A24A;
  fill: none;
  margin-top: 3px;
  flex: none;
}

.summary__price {
  margin-top: 20px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 162, 74, 0.2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.summary__price .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(247, 243, 236, 0.8);
}
.summary__price .row--total {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 18px;
  font-weight: 700;
  color: #F7F3EC;
}
.summary__price .row--deposit {
  color: #C9A24A;
  font-weight: 700;
}
.summary__price .row--muted {
  font-size: 13px;
  color: rgba(247, 243, 236, 0.55);
}

.summary__trust {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.summary__trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(247, 243, 236, 0.7);
}
.summary__trust svg.i {
  width: 16px;
  height: 16px;
  color: #C9A24A;
  stroke: #C9A24A;
  fill: none;
  font-size: 16px;
  flex: none;
}

@media (max-width: 1024px) {
  .book__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .summary {
    position: static;
  }
  .summary__trust {
    display: none;
  }
  .steps-nav__t {
    font-size: 13px;
  }
}
@media (max-width: 720px) {
  .steps-nav {
    gap: 6px;
    margin: 20px 0 20px;
  }
  .steps-nav li {
    flex-direction: column;
    gap: 6px;
    padding-bottom: 8px;
    font-size: 11px;
    text-align: center;
  }
  .steps-nav__n {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .fgrid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .swap-mini {
    left: auto;
    right: 14px;
    top: 76px;
    transform: none;
  }
  .swap-mini:hover {
    transform: rotate(180deg);
  }
  .counter button {
    width: 50px;
    height: 50px;
  }
  .counter output {
    width: 54px;
  }
  .vcard {
    grid-template-columns: 96px 1fr 22px;
    gap: 14px;
    padding: 12px;
  }
  .vcard__price {
    grid-column: 2 / 3;
    grid-row: 2;
    align-items: flex-start;
    text-align: left;
  }
  .vcard__radio {
    grid-column: 3;
    grid-row: 1;
  }
  .vcard__feat {
    display: none;
  }
  .vcard__price strong {
    font-size: 24px;
  }
  .rv {
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 16px;
  }
  .rv dt {
    grid-column: 1;
  }
  .rv dd {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .rv .edit {
    grid-column: 2;
    grid-row: 1;
  }
  .panel {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .panel__title {
    font-size: 22px;
  }
  /* Service switch: full-width, three equal segments, icon above label */
  .svc-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    margin-top: 16px;
    border-radius: 16px;
  }
  .svc-switch label {
    display: flex;
  }
  .svc-switch span {
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    height: auto;
    min-height: 56px;
    padding: 8px 6px;
    border-radius: 12px;
    font-size: 12.5px;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
  /* Main button takes the full width; Back becomes a small link underneath */
  .panel__actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 6px;
    margin-top: 24px;
  }
  .panel__actions > span:empty {
    display: none;
  }
  .btn-next {
    width: 100%;
    height: 58px;
    padding: 0 24px;
    font-size: 16px;
    justify-content: center;
    gap: 12px;
    white-space: nowrap;
  }
  .btn-back {
    align-self: center;
    height: 44px;
    padding: 0 16px;
    font-size: 14.5px;
  }
  .summary {
    padding: 20px;
  }
}

/* ---------- Route map (Google embed, see /assets/routemap.js) ---------- */
.routemap {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #201D19;
  animation: routemapIn 0.35s ease;
}
.routemap[hidden] { display: none; }
.routemap__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: #C9A24A;
}
.routemap__head a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(247, 243, 236, 0.62);
  text-decoration: none;
  transition: color 0.2s ease;
}
.routemap__head a:hover { color: #F7F3EC; }
.routemap svg.i {
  flex: none;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.routemap__frame {
  position: relative;
  height: 240px;
  background: #2A2722;
}
.routemap__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.routemap__legs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding: 10px 14px 12px;
  font-size: 12.5px;
  color: rgba(247, 243, 236, 0.62);
}
.routemap__leg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.routemap__leg > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.routemap__leg b { flex: none; color: #F7F3EC; font-weight: 600; }
.routemap__leg--from svg.i,
.routemap__leg--to svg.i { color: #C9A24A; }
@keyframes routemapIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 720px) {
  .routemap__frame { height: 200px; }
  .routemap__leg { max-width: 100%; }
}
/* Compact route map inside the home hero form */
.routemap--compact { border-radius: 12px; background: rgba(255, 255, 255, 0.04); }
.routemap--compact .routemap__head { padding: 8px 12px; font-size: 12.5px; }
.routemap--compact .routemap__head a { font-size: 11.5px; }
.routemap--compact .routemap__legs { display: none; }
/* Render the map larger, then scale it down so Google's auto-fit keeps both ends in view */
.routemap--compact .routemap__frame { height: 150px; overflow: hidden; }
.routemap--compact .routemap__frame iframe { width: 160%; height: 160%; transform: scale(0.625); transform-origin: 0 0; }
@media (max-width: 720px) { .routemap--compact .routemap__frame { height: 130px; } }

/* Passengers + suitcases: always side by side, label with an icon, stepper fills its column */
.fgrid--counters .f__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fgrid--counters .f__label svg.i {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #C9A24A;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 720px) {
  .fgrid.fgrid--counters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .fgrid--counters .counter {
    display: flex;
    width: 100%;
  }
  .fgrid--counters .counter button {
    flex: none;
    width: 44px;
    height: 52px;
  }
  .fgrid--counters .counter output {
    flex: 1;
    width: auto;
    min-width: 0;
  }
}
