/* ==========================================================================
   WP Tours booking popup (and the same form inline on the Book a Trip page)

   The journey idea: progress is a gold rail line with a station per step,
   the last step's summary is a trip ticket, and a sent request gets a
   stamp. Colours come from the theme's brand tokens, with fallbacks.

   Layout: a photo panel beside the form (desktop); on phones the popup is a
   bottom sheet with a photo band on top. Everything respects
   prefers-reduced-motion.
   ========================================================================== */

.wtb,
.wtb-dialog {
  --wtb-ink: #123434;
  --wtb-ink-soft: #3f5353;
  --wtb-muted: #5c6e6e;
  --wtb-gold: var(--brand, #d8ad02);
  --wtb-gold-dark: var(--brand-dark, #c09a02);
  --wtb-gold-deep: var(--brand-deep, #836901);
  --wtb-gold-light: var(--brand-light, #f4ca25);
  --wtb-gold-rgb: var(--brand-rgb, 216, 173, 2);
  --wtb-on-gold: var(--on-brand, #123434);
  --wtb-cream: #fbf7ef;
  --wtb-sand: #f4f1ea;
  --wtb-line: #e6dfcf;
  --wtb-field-line: #e2dac8;
  --wtb-error: #b42318;
  --wtb-radius: 28px;
}

.wtb [hidden] { display: none !important; }

/* ---------- The popup ---------- */
html.wtb-locked { overflow: hidden; }
html.wtb-locked body { padding-right: var(--wtb-scrollbar, 0px); }

.wtb-dialog {
  position: fixed;
  inset: 0;
  width: min(1040px, calc(100vw - 48px));
  height: min(700px, calc(100vh - 48px));
  height: min(700px, calc(100dvh - 48px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--wtb-ink);
  overflow: visible;
  opacity: 0;
  transform: translateY(28px) scale(.97);
  transition: opacity .3s ease, transform .45s cubic-bezier(.2, .9, .25, 1), overlay .45s allow-discrete, display .45s allow-discrete;
}
.wtb-dialog[open] { opacity: 1; transform: none; }
@starting-style {
  .wtb-dialog[open] { opacity: 0; transform: translateY(28px) scale(.97); }
}
.wtb-dialog::backdrop {
  background: rgba(8, 28, 28, 0);
  -webkit-backdrop-filter: blur(0);
  backdrop-filter: blur(0);
  transition: background .35s ease, backdrop-filter .35s ease, overlay .45s allow-discrete, display .45s allow-discrete;
}
.wtb-dialog[open]::backdrop {
  background: rgba(8, 28, 28, .62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
@starting-style {
  .wtb-dialog[open]::backdrop { background: rgba(8, 28, 28, 0); backdrop-filter: blur(0); }
}

/* ---------- The card: photo panel + form ---------- */
.wtb {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  border-radius: var(--wtb-radius);
  background: #fff;
  color: var(--wtb-ink);
  overflow: hidden;
  text-align: left;
}
.wtb--modal { height: 100%; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6); }
.wtb--inline { max-width: 1120px; min-height: 660px; margin: 0 auto; box-shadow: 0 30px 60px -30px rgba(var(--brand-shadow-rgb, 131, 105, 1), .45); }

.wtb__media {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  background: var(--wtb-ink);
  color: #fff;
  overflow: hidden;
}
.wtb__media-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s cubic-bezier(.2, .7, .3, 1);
}
.wtb-dialog[open] .wtb__media-img,
.wtb--inline .wtb__media-img { transform: scale(1); }
.wtb__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 28, 28, .05) 0%, rgba(8, 28, 28, .3) 38%, rgba(8, 28, 28, .93) 100%);
}
.wtb__media-body { padding: 40px 36px 36px; }
.wtb__eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--wtb-gold); }
.wtb__headline { margin: 0 0 14px; font-size: clamp(28px, 2.7vw, 36px); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; color: #fff; }
.wtb__intro { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .86); }
.wtb__benefits { display: grid; gap: 10px; margin: 0 0 24px; padding: 0; list-style: none; }
.wtb__benefits li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.wtb__benefits svg { flex: 0 0 auto; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--wtb-gold); color: var(--wtb-on-gold); stroke-width: 3.2; }
.wtb__help { display: flex; align-items: center; gap: 10px; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .8); }
.wtb__help svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--wtb-gold); }
.wtb__help a { color: #fff; font-weight: 700; white-space: nowrap; }
.wtb__help a:hover { color: var(--wtb-gold); }

.wtb__form { display: flex; flex-direction: column; min-width: 0; min-height: 0; margin: 0; background: #fff; }
.wtb__hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wtb__head { padding: 28px 80px 4px 36px; }
.wtb--inline .wtb__head { padding-right: 36px; }
.wtb__body { flex: 1 1 auto; min-height: 0; padding: 20px 36px 26px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.wtb--inline .wtb__body { overflow: visible; }
.wtb__foot { padding: 16px 36px 22px; border-top: 1px solid var(--wtb-line); background: #fff; }

/* ---------- Progress: a rail line with a station per step ---------- */
.wtb:not(.is-ready) .wtb__head { display: none; }
.wtb__route {
  --wtb-progress: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--wtb-stops, 3), minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.wtb__route::before,
.wtb__route::after {
  content: "";
  position: absolute;
  top: 13px;
  left: calc(50% / var(--wtb-stops, 3));
  right: calc(50% / var(--wtb-stops, 3));
  height: 8px;
}
.wtb__route::before { /* sleepers + rail */
  background:
    linear-gradient(var(--wtb-line), var(--wtb-line)) center / 100% 2px no-repeat,
    repeating-linear-gradient(90deg, var(--wtb-line) 0 3px, transparent 3px 10px);
}
.wtb__route::after { /* the gold line you have travelled */
  background: linear-gradient(var(--wtb-gold), var(--wtb-gold)) center / 100% 3px no-repeat;
  transform: scaleX(var(--wtb-progress));
  transform-origin: left center;
  transition: transform .6s cubic-bezier(.65, 0, .35, 1);
}
.wtb__stop { position: relative; z-index: 1; display: flex; justify-content: center; }
.wtb__stop-btn { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 0; border: 0; background: none; color: var(--wtb-muted); font: inherit; cursor: pointer; }
.wtb__stop-btn:disabled { cursor: default; }
.wtb__stop-btn:focus-visible { outline: none; }
.wtb__stop-btn:focus-visible .wtb__stop-dot { outline: 2px solid var(--wtb-ink); outline-offset: 3px; }
.wtb__stop-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--wtb-line);
  border-radius: 50%;
  background: #fff;
  color: transparent;
  transition: background .3s, border-color .3s, color .3s, box-shadow .3s;
}
.wtb__stop-dot > svg,
.wtb__stop-dot::after { grid-area: 1 / 1; }
.wtb__stop-dot svg { width: 16px; height: 16px; stroke-width: 3.2; }
.wtb__stop-label { font-size: 13px; font-weight: 700; line-height: 1.2; }
.wtb__stop.is-current .wtb__stop-dot { border-color: var(--wtb-gold); box-shadow: 0 0 0 5px rgba(var(--wtb-gold-rgb), .2); }
.wtb__stop.is-current .wtb__stop-dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--wtb-gold); }
.wtb__stop.is-current .wtb__stop-label { color: var(--wtb-ink); }
.wtb__stop.is-done .wtb__stop-dot { border-color: var(--wtb-gold); background: var(--wtb-gold); color: var(--wtb-on-gold); }
.wtb__stop.is-done .wtb__stop-label { color: var(--wtb-gold-deep); }
.wtb__stop.is-done .wtb__stop-btn:hover .wtb__stop-label { text-decoration: underline; }

/* ---------- Steps ---------- */
.wtb__step { margin: 0; padding: 0; border: 0; }
.wtb:not(.is-ready) .wtb__step + .wtb__step { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--wtb-line); }
.wtb__step-title { margin: 0 0 18px; font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.01em; color: var(--wtb-ink); outline: none; }
.wtb__step.is-entering-fwd { animation: wtb-in-fwd .4s cubic-bezier(.2, .8, .2, 1); }
.wtb__step.is-entering-back { animation: wtb-in-back .4s cubic-bezier(.2, .8, .2, 1); }
@keyframes wtb-in-fwd { from { opacity: 0; transform: translateX(26px); } }
@keyframes wtb-in-back { from { opacity: 0; transform: translateX(-26px); } }

/* Step 1: tours */
.wtb__tours { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 10px; }
.wtb__tours > .wtb__error { grid-column: 1 / -1; }
.wtb__tour {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 9px 12px 9px 9px;
  border: 1.5px solid var(--wtb-line);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .25s, transform .2s;
}
.wtb__tour:hover { border-color: rgba(var(--wtb-gold-rgb), .75); }
.wtb__tour:active { transform: scale(.985); }
.wtb__tour-input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.wtb__tour:has(.wtb__tour-input:checked) { border-color: var(--wtb-gold); background: rgba(var(--wtb-gold-rgb), .09); box-shadow: 0 12px 26px -18px rgba(var(--wtb-gold-rgb), 1); }
.wtb__tour:has(.wtb__tour-input:focus-visible) { outline: 2px solid var(--wtb-ink); outline-offset: 2px; }
.wtb__tour-img { flex: 0 0 auto; width: 58px; height: 58px; border-radius: 13px; background: var(--wtb-sand); object-fit: cover; }
.wtb__tour-img--icon { display: grid; place-items: center; color: var(--wtb-gold-deep); }
.wtb__tour-img--icon svg { width: 28px; height: 28px; }
.wtb__tour-text { display: flex; flex: 1 1 auto; flex-direction: column; gap: 3px; min-width: 0; }
.wtb__tour-name { font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--wtb-ink); }
.wtb__tour-meta { font-size: 13px; line-height: 1.3; color: var(--wtb-muted); }
.wtb__tour-meta > span { white-space: nowrap; }
.wtb__tour-check { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid var(--wtb-line); border-radius: 50%; color: transparent; transition: background .2s, border-color .2s, color .2s, transform .25s; }
.wtb__tour-check svg { width: 13px; height: 13px; stroke-width: 3.4; }
.wtb__tour:has(.wtb__tour-input:checked) .wtb__tour-check { border-color: var(--wtb-gold); background: var(--wtb-gold); color: var(--wtb-on-gold); transform: scale(1.08); }

/* Fields */
.wtb__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.wtb__grid--date { align-items: end; }
.wtb__field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.wtb__field--full { grid-column: 1 / -1; }
.wtb__label { margin: 0; font-size: 13px; font-weight: 700; color: var(--wtb-ink); }
.wtb__hint { margin: -3px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--wtb-muted); }
.wtb input[type="text"],
.wtb input[type="email"],
.wtb input[type="tel"],
.wtb input[type="date"],
.wtb input[type="number"],
.wtb textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 12px 15px;
  border: 1.5px solid var(--wtb-field-line);
  border-radius: 14px;
  background: var(--wtb-sand);
  color: var(--wtb-ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.wtb textarea { min-height: 90px; resize: vertical; }
.wtb input::placeholder,
.wtb textarea::placeholder { color: #8a9a9a; }
.wtb input:focus,
.wtb textarea:focus { border-color: var(--wtb-gold-deep); background: #fff; box-shadow: 0 0 0 4px rgba(var(--wtb-gold-rgb), .22); }
.wtb input[aria-invalid="true"],
.wtb textarea[aria-invalid="true"] { border-color: var(--wtb-error); background: #fff8f7; }
.wtb__error { margin: 2px 0 0; font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--wtb-error); }

.wtb__check { position: relative; display: flex; align-items: center; gap: 10px; min-height: 50px; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--wtb-ink); cursor: pointer; }
.wtb__check input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.wtb__check-box { flex: 0 0 auto; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid #d6ccb6; border-radius: 8px; background: #fff; color: transparent; transition: background .2s, border-color .2s, color .2s; }
.wtb__check-box svg { width: 14px; height: 14px; stroke-width: 3.4; }
.wtb__check input:checked + .wtb__check-box { border-color: var(--wtb-gold); background: var(--wtb-gold); color: var(--wtb-on-gold); }
.wtb__check input:focus-visible + .wtb__check-box { outline: 2px solid var(--wtb-ink); outline-offset: 2px; }

/* Counters: days, adults, children */
.wtb__counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.wtb__stepper { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 5px; border: 1.5px solid var(--wtb-field-line); border-radius: 999px; background: var(--wtb-sand); transition: border-color .2s, background .2s, box-shadow .2s; }
.wtb__stepper:focus-within { border-color: var(--wtb-gold-deep); background: #fff; box-shadow: 0 0 0 4px rgba(var(--wtb-gold-rgb), .22); }
.wtb .wtb__stepper input[type="number"] { width: 3.4ch; min-width: 0; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; text-align: center; font-size: 18px; font-weight: 800; -moz-appearance: textfield; appearance: textfield; }
.wtb__stepper input::-webkit-inner-spin-button,
.wtb__stepper input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.wtb__stepper-btn { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--wtb-ink); cursor: pointer; box-shadow: 0 2px 6px -2px rgba(18, 52, 52, .28); transition: background .2s, color .2s, transform .1s; }
.wtb__stepper-btn:hover { background: var(--wtb-gold); color: var(--wtb-on-gold); }
.wtb__stepper-btn:active { transform: scale(.9); }
.wtb__stepper-btn[aria-disabled="true"] { background: #fff; color: var(--wtb-ink); opacity: .35; cursor: not-allowed; transform: none; }
.wtb__stepper-btn:focus-visible { outline: 2px solid var(--wtb-ink); outline-offset: 2px; }
.wtb__stepper-btn svg { width: 16px; height: 16px; stroke-width: 2.6; }

/* Interests and budget: chips */
[data-wtb-choices] { margin-top: 22px; }
.wtb__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.wtb__chip { position: relative; cursor: pointer; }
.wtb__chip input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.wtb__chip span { display: inline-flex; align-items: center; gap: 0; padding: 9px 15px; border: 1.5px solid var(--wtb-line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--wtb-ink); transition: background .2s, border-color .2s, color .2s, gap .2s; }
.wtb__chip svg { width: 0; height: 14px; stroke-width: 3.2; transition: width .2s; }
.wtb__chip:hover span { border-color: rgba(var(--wtb-gold-rgb), .75); }
.wtb__chip input:checked + span { gap: 6px; border-color: var(--wtb-gold); background: var(--wtb-gold); color: var(--wtb-on-gold); }
.wtb__chip input:checked + span svg { width: 14px; }
.wtb__chip input:focus-visible + span { outline: 2px solid var(--wtb-ink); outline-offset: 2px; }

/* Step 3: the trip ticket */
.wtb__ticket {
  --wtb-stub: 74px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--wtb-stub);
  margin-top: 22px;
  border-radius: 18px;
  background: var(--wtb-cream);
  -webkit-mask:
    radial-gradient(circle 11px at calc(100% - var(--wtb-stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 11px at calc(100% - var(--wtb-stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle 11px at calc(100% - var(--wtb-stub)) 0, #0000 98%, #000) top / 100% 51% no-repeat,
    radial-gradient(circle 11px at calc(100% - var(--wtb-stub)) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.wtb__ticket-main { padding: 18px 20px; border-right: 2px dashed rgba(18, 52, 52, .2); }
.wtb__ticket-title { margin: 0 0 10px; font-size: 13px; font-weight: 800; color: var(--wtb-gold-deep); }
.wtb__ticket-rows { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 14px; line-height: 1.4; }
.wtb__ticket-rows dt { color: var(--wtb-muted); }
.wtb__ticket-rows dd { margin: 0; font-weight: 700; color: var(--wtb-ink); overflow-wrap: anywhere; }
.wtb__ticket-stub { display: grid; place-items: center; background: linear-gradient(160deg, var(--wtb-gold-light), var(--wtb-gold)); color: var(--wtb-on-gold); }
.wtb__ticket-star { font-size: 30px; line-height: 1; transform: rotate(-14deg); }

/* ---------- Footer: alert, buttons, note ---------- */
.wtb__alert { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: var(--wtb-error); }
.wtb__alert:empty { display: none; }
.wtb__actions { display: flex; align-items: center; gap: 12px; }
.wtb__actions .btn { justify-content: center; min-width: 150px; margin-left: auto; padding: 14px 28px; font-size: 16px; }
.wtb__actions .btn:disabled { cursor: progress; opacity: .85; transform: none; }
.wtb:not(.is-ready) .wtb__back,
.wtb:not(.is-ready) .wtb__next { display: none; }
.wtb__ghost { padding: 12px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--wtb-ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s; }
.wtb__ghost:hover { background: var(--wtb-sand); }
.wtb__ghost:focus-visible,
.wtb .btn:focus-visible,
.wtb__close:focus-visible { outline: 2px solid var(--wtb-ink); outline-offset: 3px; }
.wtb__submit.is-busy::before { content: ""; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: wtb-spin .7s linear infinite; }
@keyframes wtb-spin { to { transform: rotate(360deg); } }
.wtb__consent { margin: 10px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--wtb-muted); }

.wtb__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--wtb-sand);
  color: var(--wtb-ink);
  cursor: pointer;
  transition: background .2s, transform .3s;
}
.wtb__close:hover { background: var(--wtb-gold); transform: rotate(90deg); }
.wtb__close svg { width: 20px; height: 20px; }

/* ---------- Sent: the stamp ---------- */
.wtb__done { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100%; padding: 24px 8px; text-align: center; outline: none; }
.wtb__stamp { width: 150px; height: 150px; margin-bottom: 22px; color: var(--wtb-gold-deep); transform: rotate(-12deg); }
.wtb.is-sent .wtb__stamp { animation: wtb-stamp .6s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes wtb-stamp {
  0% { opacity: 0; transform: rotate(-26deg) scale(1.9); }
  60% { opacity: 1; transform: rotate(-10deg) scale(.94); }
  100% { opacity: 1; transform: rotate(-12deg) scale(1); }
}
.wtb__stamp svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wtb__stamp-text { font-size: 11.5px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; fill: currentColor; }
.wtb__stamp-star { font-size: 30px; fill: var(--wtb-gold); }
.wtb__done-title { margin: 0 0 10px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; color: var(--wtb-ink); }
.wtb__done-text { max-width: 42ch; margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--wtb-ink-soft); }
.wtb__done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Inline on the Book a Trip page ---------- */
.wtb-section .wtb { scroll-margin-top: 110px; }

/* ---------- "Book" buttons on tour cards and tour pages ---------- */
/* Price on the left, Details + Book side by side on the right; in a card too
   narrow for that, the pair moves under the price together. */
.pkg-card__foot { flex-wrap: wrap; gap: 10px; }
.pkg-card__foot .pkg-card__price-l { display: block; margin-bottom: 1px; }
.pkg-card__foot .pkg-card__price { line-height: 1.1; }
.pkg-card__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.pkg-card__actions .pkg-card__link { padding: 9px 13px; font-size: 13.5px; }
.pkg-card__book { display: inline-flex; align-items: center; padding: 9px 15px; border-radius: 22px; background: var(--brand, #d8ad02); color: var(--on-brand, #123434); font-size: 13.5px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 18px -10px rgba(var(--brand-rgb, 216, 173, 2), .9); transition: background .25s, transform .25s; }
.pkg-card__book:hover { background: var(--brand-dark, #c09a02); color: var(--on-brand, #123434); transform: translateY(-2px); }
.pkg-card__book:focus-visible { outline: 2px solid var(--on-brand, #123434); outline-offset: 2px; }
.pkg-book { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 24px; }

/* ---------- Tablets ---------- */
@media (max-width: 980px) and (min-width: 721px) {
  .wtb { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .wtb__media-body { padding: 32px 26px; }
  .wtb__intro { display: none; }
  .wtb__counters { grid-template-columns: 1fr; }
  .wtb__counter { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
  .wtb__counter .wtb__hint { grid-column: 1; }
  .wtb__counter .wtb__stepper { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- Phones: a bottom sheet with a photo band ---------- */
@media (max-width: 720px) {
  .wtb-dialog {
    inset: auto 0 0 0;
    width: 100%;
    height: 92vh;
    height: min(92dvh, 860px);
    margin: 0;
    opacity: 1;
    transform: translateY(100%);
    transition: transform .42s cubic-bezier(.2, .9, .25, 1), overlay .42s allow-discrete, display .42s allow-discrete;
  }
  .wtb-dialog[open] { transform: none; }
  @starting-style {
    .wtb-dialog[open] { transform: translateY(100%); }
  }
  .wtb { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .wtb--modal { border-radius: 26px 26px 0 0; }
  .wtb--inline { min-height: 0; border-radius: 22px; }
  .wtb__media { min-height: 0; height: 132px; }
  .wtb--inline .wtb__media { height: 150px; }
  .wtb__media-body { padding: 18px 22px; }
  .wtb__eyebrow,
  .wtb__intro,
  .wtb__benefits,
  .wtb__help { display: none; }
  .wtb__headline { margin: 0; font-size: 24px; }
  .wtb__head { padding: 18px 22px 0; }
  .wtb--inline .wtb__head { padding-right: 22px; }
  .wtb__body { padding: 16px 22px 20px; }
  .wtb__foot { padding: 12px 22px calc(14px + env(safe-area-inset-bottom, 0px)); }
  .wtb__step-title { margin-bottom: 14px; font-size: 19px; }
  .wtb__stop-label { font-size: 12px; }
  .wtb__tours { grid-template-columns: minmax(0, 1fr); }
  .wtb__grid { grid-template-columns: minmax(0, 1fr); }
  .wtb__counters { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .wtb__counter { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
  .wtb__counter .wtb__hint { grid-column: 1; }
  .wtb__counter .wtb__stepper { grid-column: 2; grid-row: 1 / span 2; }
  .wtb__actions .btn { flex: 1 1 auto; min-width: 0; padding-left: 18px; padding-right: 18px; }
  .wtb__close { top: 12px; right: 12px; background: rgba(255, 255, 255, .92); }
  .wtb__stamp { width: 124px; height: 124px; }
}

@media (prefers-reduced-motion: reduce) {
  .wtb-dialog,
  .wtb-dialog::backdrop,
  .wtb__route::after,
  .wtb__media-img,
  .wtb__close { transition: none; }
  .wtb__step.is-entering-fwd,
  .wtb__step.is-entering-back,
  .wtb.is-sent .wtb__stamp { animation: none; }
  .wtb__submit.is-busy::before { animation-duration: 1.6s; }
}
