/* ==========================================================================
   ES Booking: production stylesheet
   One booking component used inline, in the popup and as a mobile sheet.
   Mobile-first. Breakpoints: 768px (tablet), 1025px (desktop).
   BEM: .esb-block__element--modifier. Low specificity: one class per rule
   wherever possible; state via modifiers or ARIA attributes.
   Fonts: Playfair Display (headings) + Poppins (UI/body). Self-host WOFF2.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   Mapped 1:1 from the Elephant Sanctuary design system (colors_and_type.css).
   If that file is already loaded on the site, delete the "DS" block and keep
   only the "ES Booking additions" block.
   -------------------------------------------------------------------------- */
:root {
  /* DS: brand */
  --es-green-900: #2D4632;
  --es-green-800: #3D5A43;
  --es-green-700: #4C6A52;
  --es-green-500: #7B9C7E;
  --es-green-200: #C6D4C7;
  --es-green-100: #E1EAE1;
  --es-green-50:  #EFF3EF;
  --es-orange-700: #D9761F;
  --es-orange-600: #E88419;
  --es-orange-500: #F08C2F;
  --es-cream-50:  #FBF7EE;
  --es-cream-100: #F5EFE0;
  --es-cream-200: #EFE7D2;
  --es-cream-300: #E6DCC2;
  --es-ink-900: #1F1B14;
  --es-ink-800: #2B2820;
  --es-ink-700: #3F3B30;
  --es-ink-600: #5C564A;
  --es-ink-500: #7A7363;
  --es-ink-400: #A39C8A;
  --es-ink-300: #CFC9B9;
  --es-ink-200: #E5E0D2;
  --es-ink-100: #F2EEE2;
  --es-white:   #FFFFFF;
  --es-font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --es-font-sans:  'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --es-font-mono:  ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --es-r-sm: 8px;  --es-r-md: 12px;  --es-r-lg: 20px;  --es-r-xl: 28px;  --es-r-pill: 999px;
  --es-shadow-sm: 0 2px 6px rgba(46, 74, 51, 0.08);
  --es-shadow-md: 0 6px 18px rgba(46, 74, 51, 0.10);
  --es-shadow-lg: 0 18px 40px rgba(46, 74, 51, 0.14);
  --es-shadow-cta: 0 6px 18px rgba(217, 118, 31, 0.30);
  --es-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --es-dur-fast: 140ms;
  --es-dur-base: 220ms;

  /* ES Booking additions (new tokens, see handoff §6) */
  --es-error: #A3271C;       --es-error-bg: #FBEBE8;
  --es-success: #317140;     --es-success-bg: #E6EFE3;   /* = playbook logo green */
  --es-info: #5A4E2E;        --es-info-bg: #F1E9D2;
  --es-warning: #8A4A0B;     --es-warning-bg: #FCE7CF;
  --es-focus: #2D4632;                                    /* = green-900 */
  --es-fg-on-cta: #1F1B14;                                /* dark ink on orange: 4.5:1+ */
  --esb-input-h: 48px;
  --esb-touch: 44px;
  --esb-gap: 16px;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
.esb, .esb *, .esb *::before, .esb *::after { box-sizing: border-box; }
.esb {
  font-family: var(--es-font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--es-ink-800);
  background: var(--es-cream-100);
  -webkit-font-smoothing: antialiased;
}
.esb h1, .esb h2, .esb h3 { font-family: var(--es-font-serif); font-weight: 700; color: var(--es-green-700); margin: 0; line-height: 1.2; text-wrap: pretty; }
.esb a { color: var(--es-green-700); }
.esb a:hover { color: var(--es-green-900); }
.esb :focus-visible { outline: 2px solid var(--es-focus); outline-offset: 2px; }
.esb-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.esb-step__heading:focus { outline: none; }               /* receives programmatic focus on step change */
.esb-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--es-ink-700); }
.esb-muted { color: var(--es-ink-600); }
.esb-price { font-weight: 600; }
.esb-price__usd { font-size: 12px; color: var(--es-ink-600); }

/* --------------------------------------------------------------------------
   3. Containers: mobile sheet (default) → desktop modal / inline
   -------------------------------------------------------------------------- */
.esb-modal__backdrop { position: fixed; inset: 0; background: rgba(31, 27, 20, .55); z-index: 1000; }
.esb-modal {                                               /* mobile: full-screen sheet */
  position: fixed; inset: 0; z-index: 1001;
  display: flex; flex-direction: column;
  background: var(--es-cream-100);
}
.esb-modal__header { display: none; }                      /* desktop only */
.esb-sheet__topbar {
  display: grid; grid-template-columns: var(--esb-touch) 1fr var(--esb-touch); align-items: center; gap: 4px;
  padding: 8px 8px 6px; background: var(--es-cream-100);
}
.esb-sheet__title { text-align: center; display: flex; flex-direction: column; line-height: 1.25; }
.esb-sheet__step { font-size: 12px; color: var(--es-ink-600); }
.esb-modal__body { flex: 1; overflow: auto; display: flex; flex-direction: column; gap: var(--esb-gap); padding: 14px 16px 24px; }
.esb-modal__main { display: flex; flex-direction: column; gap: var(--esb-gap); min-width: 0; }
.esb-modal__aside { display: none; }                       /* summary lives in .esb-summary-toggle on mobile */

.esb-inline { display: flex; flex-direction: column; gap: 24px; }
.esb-inline__head { display: flex; flex-direction: column; gap: 8px; }
.esb-inline__preset { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 15px; }
.esb-inline .esb { border-radius: var(--es-r-xl); overflow: hidden; }

@media (min-width: 1025px) {
  .esb-modal {
    inset: auto; left: 50%; top: 5vh; transform: translateX(-50%);
    width: min(1040px, calc(100vw - 48px)); max-height: 90vh; height: 90vh;
    border-radius: var(--es-r-xl); box-shadow: var(--es-shadow-lg); overflow: hidden;
  }
  .esb-sheet__topbar, .esb-summary-toggle, .esb-bottombar, .esb-progress--mobile { display: none; }
  .esb-modal__header {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 20px 16px 32px; border-bottom: 1px solid var(--es-ink-200);
  }
  .esb-modal__body { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: start; padding: 24px 32px 0; }
  .esb-modal__aside { display: block; position: sticky; top: 0; }
  .esb-inline .esb-modal__body { padding: 28px 32px 32px; }
}

.esb-wordmark { font-family: var(--es-font-serif); font-weight: 700; font-size: 20px; color: var(--es-green-700); }
.esb-wordmark em { font-weight: 600; }
.esb-trustline { font-size: 13px; font-weight: 500; color: var(--es-ink-700); }

/* Standalone pages (/book/checkout/, /book/confirmed/) */
.esb-checkout-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 64px; padding: 0 16px; background: var(--es-cream-50); border-bottom: 1px solid var(--es-ink-200);
}
.esb-checkout-header__secure { display: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.esb-checkout-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; padding: 20px 16px; border-top: 1px solid var(--es-ink-200); font-size: 12px; color: var(--es-ink-700); }
.esb-page { max-width: 1104px; margin: 0 auto; padding: 24px 16px; display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 768px) {
  .esb-checkout-header { height: 72px; padding: 0 48px; }
  .esb-checkout-header__secure { display: flex; }
}
@media (min-width: 1025px) {
  .esb-page { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: start; padding: 40px 32px; }
}

/* --------------------------------------------------------------------------
   4. Progress
   -------------------------------------------------------------------------- */
.esb-progress--mobile { height: 4px; background: var(--es-ink-200); }
.esb-progress--mobile__fill { height: 100%; background: var(--es-green-700); transition: width var(--es-dur-base) var(--es-ease); }
.esb-progress { display: none; }
@media (min-width: 1025px) {
  .esb-progress { display: block; padding: 10px 32px; border-bottom: 1px solid var(--es-ink-200); }
}
.esb-progress__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; }
.esb-progress__line { flex: 1; height: 2px; background: var(--es-ink-300); }
.esb-progress__line--done { background: var(--es-green-500); }
.esb-progress__step { display: flex; align-items: center; gap: 8px; min-height: var(--esb-touch); white-space: nowrap; color: var(--es-ink-600); }
.esb-progress__dot {
  width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 12px; border: 1.5px solid var(--es-ink-400);
}
.esb-progress__step--done { color: var(--es-ink-800); }
.esb-progress__step--done .esb-progress__dot { background: var(--es-green-100); border-color: var(--es-green-100); color: var(--es-green-800); }
.esb-progress__step--done button { display: flex; align-items: center; gap: 8px; min-height: var(--esb-touch); border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.esb-progress__step--current { font-weight: 600; color: var(--es-green-900); }
.esb-progress__step--current .esb-progress__dot { background: var(--es-green-700); border-color: var(--es-green-700); color: var(--es-cream-50); }
.esb-progress__step--skipped { display: none; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.esb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--esb-input-h); padding: 0 24px; border-radius: var(--es-r-md);
  border: 1.5px solid transparent; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background var(--es-dur-fast) var(--es-ease), color var(--es-dur-fast) var(--es-ease);
}
.esb-btn:active { transform: scale(.985); }
.esb-btn--primary { background: var(--es-green-700); color: var(--es-cream-50); font-family: var(--es-font-serif); font-weight: 700; font-size: 16px; }
.esb-btn--primary:hover { background: var(--es-green-800); }
.esb-btn--pay { background: var(--es-orange-500); color: var(--es-fg-on-cta); font-weight: 700; font-size: 17px; min-height: 52px; box-shadow: var(--es-shadow-cta); }
.esb-btn--pay:hover { background: var(--es-orange-600); box-shadow: none; }
.esb-btn--secondary { background: var(--es-white); border-color: var(--es-green-700); color: var(--es-green-800); }
.esb-btn--secondary:hover { background: var(--es-green-50); }
.esb-btn--text { min-height: var(--esb-touch); padding: 0 4px; background: none; color: var(--es-green-700); }
.esb-btn--text:hover { text-decoration: underline; color: var(--es-green-900); }
.esb-btn--danger-text { min-height: var(--esb-touch); padding: 0 4px; background: none; color: var(--es-error); text-decoration: underline; }
.esb-btn--whatsapp { min-height: var(--esb-touch); padding: 0 4px; background: none; color: var(--es-green-800); font-size: 14px; }
.esb-btn--whatsapp:hover { text-decoration: underline; color: var(--es-green-900); }
.esb-btn--block { width: 100%; }
.esb-btn:disabled, .esb-btn[aria-disabled="true"] { background: var(--es-ink-200); border-color: transparent; color: var(--es-ink-600); box-shadow: none; cursor: not-allowed; }
.esb-btn[aria-busy="true"] { cursor: progress; }
.esb-btn__spinner { width: 18px; height: 18px; animation: esb-spin 900ms linear infinite; }
@keyframes esb-spin { to { transform: rotate(360deg); } }
.esb-iconbtn {
  width: var(--esb-touch); height: var(--esb-touch); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--es-ink-300); background: var(--es-white); color: var(--es-ink-800); cursor: pointer;
}
.esb-iconbtn--ghost { border-color: transparent; background: transparent; }
.esb-iconbtn:hover { background: var(--es-cream-200); }
.esb-actions {
  position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; background: var(--es-cream-100); border-top: 1px solid var(--es-ink-200);
}
.esb-actions__primary { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.esb-actions__hint { font-size: 13px; color: var(--es-ink-700); }

/* --------------------------------------------------------------------------
   6. Location tabs / chips
   -------------------------------------------------------------------------- */
.esb-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
.esb-tabs__tab {
  flex: 0 0 auto; min-height: var(--esb-touch); padding: 0 18px; border-radius: var(--es-r-pill);
  border: 1.5px solid var(--es-ink-300); background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--es-ink-800); cursor: pointer;
}
.esb-tabs__tab[aria-checked="true"], .esb-tabs__tab--selected { background: var(--es-green-700); border-color: var(--es-green-700); color: var(--es-cream-50); }
@media (min-width: 768px) {
  .esb-tabs { width: max-content; margin: 0; padding: 4px; gap: 4px; background: var(--es-cream-200); border-radius: var(--es-r-pill); }
  .esb-tabs__tab { border-color: transparent; padding: 0 22px; }
}
.esb-locline { display: flex; gap: 6px; align-items: center; margin: 0; font-size: 14px; color: var(--es-ink-700); }
.esb-chip { display: inline-flex; align-items: center; gap: 2px; padding: 0 4px 0 14px; border-radius: var(--es-r-pill); background: var(--es-cream-200); font-size: 13px; font-weight: 600; }
.esb-chip__action { min-height: 40px; padding: 0 10px; border: 0; background: none; font: inherit; color: var(--es-green-700); text-decoration: underline; cursor: pointer; }
.esb-confirmed { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: var(--es-r-md); background: var(--es-white); border: 1px solid var(--es-ink-200); }

/* --------------------------------------------------------------------------
   7. Program card (radio)
   -------------------------------------------------------------------------- */
.esb-cards { display: flex; flex-direction: column; gap: 12px; }
.esb-card {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 4px;
  background: var(--es-white); border: 2px solid var(--es-ink-200); border-radius: var(--es-r-lg); box-shadow: var(--es-shadow-sm);
  transition: transform var(--es-dur-fast) var(--es-ease), box-shadow var(--es-dur-fast) var(--es-ease);
}
.esb-card__label { display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.esb-card input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.esb-card:hover { border-color: var(--es-green-500); box-shadow: var(--es-shadow-md); transform: translateY(-2px); }
.esb-card:focus-within { outline: 2px solid var(--es-focus); outline-offset: 2px; }
.esb-card--selected { border-color: var(--es-green-700); }
.esb-card__media { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--es-r-md); background: var(--es-green-100); }
.esb-card__title { font-family: var(--es-font-serif); font-weight: 700; font-size: 19px; color: var(--es-green-700); }
.esb-card__tag { align-self: flex-start; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--es-r-pill); background: var(--es-cream-200); color: var(--es-ink-700); }
.esb-card__check {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--es-ink-200);
  display: flex; align-items: center; justify-content: center; color: var(--es-cream-50);
}
.esb-card--selected .esb-card__check { background: var(--es-green-700); border-color: var(--es-green-700); }
.esb-card__times { font-size: 13px; color: var(--es-ink-700); }
.esb-card__price { font-size: 13px; line-height: 1.5; }
.esb-card__ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; font-size: 13px; color: var(--es-ink-700); }
.esb-card__tick { display: flex; gap: 6px; align-items: flex-start; }
.esb-card__tick svg { color: var(--es-green-700); flex: 0 0 15px; margin-top: 2px; }
.esb-card__tick--no svg { color: var(--es-ink-600); }
.esb-card__pickup { font-size: 12px; color: var(--es-ink-600); }
.esb-card__details { border-top: 1px solid var(--es-ink-200); }
.esb-card__details > summary { min-height: var(--esb-touch); display: flex; align-items: center; gap: 6px; list-style: none; font-size: 13px; font-weight: 600; color: var(--es-green-700); cursor: pointer; }
.esb-card__details > summary::-webkit-details-marker { display: none; }
.esb-card__details[open] > summary svg { transform: rotate(180deg); }
.esb-card__details-body { display: grid; gap: 12px; padding: 4px 0 12px; font-size: 13px; line-height: 1.5; }
.esb-card--soldout, .esb-card--unavailable { background: var(--es-cream-50); border-style: dashed; border-color: var(--es-ink-300); box-shadow: none; }
.esb-card--soldout:hover, .esb-card--unavailable:hover { transform: none; box-shadow: none; }
.esb-card--soldout .esb-card__title, .esb-card--unavailable .esb-card__title { color: var(--es-ink-600); text-decoration: line-through; }
.esb-card--soldout .esb-card__media, .esb-card--unavailable .esb-card__media { filter: grayscale(1); opacity: .7; }
.esb-card__status { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; color: var(--es-error); }
.esb-card--unavailable .esb-card__status { color: var(--es-ink-700); }
@media (min-width: 1025px) {
  .esb-card__label { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; }
  .esb-card__details { margin-left: 218px; }
  .esb-card__details-body { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
  .esb-cards--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .esb-cards--grid .esb-card__label { display: flex; }
  .esb-cards--grid .esb-card__details { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   8. Calendar (role="grid")
   -------------------------------------------------------------------------- */
.esb-cal { display: flex; gap: 16px; align-items: flex-start; }
.esb-cal__month { position: relative; display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 334px; }
.esb-cal__month + .esb-cal__month { display: none; }      /* one month on mobile */
.esb-cal__nav { display: flex; align-items: center; gap: 6px; }
.esb-cal__title { font-family: var(--es-font-serif); font-weight: 700; font-size: 17px; color: var(--es-green-900); }
.esb-cal__jump { flex: 1; }                                /* "Jump to month" select (mobile) */
.esb-cal__grid { display: flex; flex-direction: column; gap: 3px; }
.esb-cal__row { display: grid; grid-template-columns: repeat(7, 44px); gap: 3px; }
.esb-cal__weekday { height: 24px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; color: var(--es-ink-600); }
.esb-cal__day { width: 44px; height: 44px; }
.esb-cal__btn {
  position: relative; width: 100%; height: 100%; border-radius: 10px; border: 1px solid var(--es-ink-200);
  background: var(--es-white); color: var(--es-ink-800); font: inherit; font-size: 14px; font-weight: 500;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; padding: 0; cursor: pointer;
}
.esb-cal__btn:hover { border-color: var(--es-green-500); }
.esb-cal__icon { width: 10px; height: 10px; margin-top: 2px; }
.esb-cal__day--blank .esb-cal__btn { display: none; }
.esb-cal__day--selected .esb-cal__btn { background: var(--es-green-700); border-color: var(--es-green-700); color: var(--es-cream-50); font-weight: 700; }
.esb-cal__day--today .esb-cal__btn { box-shadow: inset 0 0 0 2px var(--es-green-700); }
.esb-cal__day--current .esb-cal__btn { box-shadow: inset 0 0 0 2px var(--es-green-700); }   /* manage: existing date */
.esb-cal__day--past .esb-cal__btn { background: transparent; border-color: transparent; color: var(--es-ink-500); font-weight: 400; cursor: default; }
.esb-cal__day--toosoon .esb-cal__btn { background: transparent; border-style: dashed; border-color: var(--es-ink-400); color: var(--es-ink-600); }
.esb-cal__day--soldout .esb-cal__btn { background: var(--es-cream-50); border-style: dashed; border-color: var(--es-ink-400); color: var(--es-ink-600); text-decoration: line-through; }
.esb-cal__day--soldout .esb-cal__icon { color: var(--es-error); }
.esb-cal__day--closed .esb-cal__btn { background: var(--es-ink-200); border-color: var(--es-ink-200); color: var(--es-ink-600); cursor: default; }
.esb-cal__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--es-warning); margin-top: 3px; }  /* --limited */
.esb-cal__skeleton { position: absolute; inset: 76px 0 0; display: grid; grid-template-columns: repeat(7, 44px); grid-auto-rows: 44px; gap: 3px; background: var(--es-cream-100); }
.esb-cal__skeleton span { border-radius: 10px; background: var(--es-ink-200); }
.esb-cal__legend { list-style: none; margin: 0; padding: 8px 0 4px; border-top: 1px solid var(--es-ink-200); display: flex; gap: 14px; overflow-x: auto; white-space: nowrap; font-size: 11px; color: var(--es-ink-700); }
.esb-cal__legend li { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.esb-cal__swatch { width: 22px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 600; }
.esb-cal__chosen { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: var(--es-r-md); background: var(--es-white); border: 1px solid var(--es-ink-200); }
.esb-cal__popover {
  position: absolute; z-index: 5; left: 0; width: 308px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
  background: var(--es-white); border: 1px solid var(--es-ink-200); border-radius: 16px; box-shadow: var(--es-shadow-lg);
}
.esb-cal__sheet {                                          /* mobile replacement for the popover */
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100; display: flex; flex-direction: column; gap: 12px;
  padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); background: var(--es-cream-50); border-radius: 24px 24px 0 0; box-shadow: var(--es-shadow-lg);
}
@media (min-width: 1025px) {
  .esb-cal__month + .esb-cal__month { display: flex; }
  .esb-cal__month { width: 308px; }
  .esb-cal__row { grid-template-columns: repeat(7, 44px); gap: 0; }
  .esb-cal__day { padding: 2px; }
  .esb-cal__jump { display: none; }
  .esb-cal__legend { flex-wrap: wrap; white-space: normal; font-size: 12px; gap: 6px 16px; }
  .esb-cal__sheet { display: none; }
}

/* --------------------------------------------------------------------------
   9. Slot chips (radio)
   -------------------------------------------------------------------------- */
.esb-slots { display: flex; flex-direction: column; gap: 10px; }
.esb-slot-chip {
  position: relative; min-height: var(--esb-input-h); padding: 0 16px; border-radius: var(--es-r-md);
  border: 1.5px solid var(--es-ink-300); background: var(--es-white); display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: pointer;
}
.esb-slot-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.esb-slot-chip:focus-within { outline: 2px solid var(--es-focus); outline-offset: 2px; }
.esb-slot-chip__time { font-size: 16px; font-weight: 600; }
.esb-slot-chip__sub { font-size: 12px; font-weight: 600; color: var(--es-ink-600); }
.esb-slot-chip--selected { background: var(--es-green-700); border-color: var(--es-green-700); color: var(--es-cream-50); }
.esb-slot-chip--selected .esb-slot-chip__sub { color: var(--es-cream-50); }
.esb-slot-chip--soldout { background: var(--es-cream-50); border-style: dashed; color: var(--es-ink-600); cursor: not-allowed; }
.esb-slot-chip--soldout .esb-slot-chip__time { text-decoration: line-through; }
.esb-slot-chip--soldout .esb-slot-chip__sub { color: var(--es-error); }
.esb-slot-chip--disabled { border-color: var(--es-ink-200); color: var(--es-ink-500); cursor: not-allowed; }
.esb-slot-chip--disabled .esb-slot-chip__time { text-decoration: line-through; }
.esb-pickup-note { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: var(--es-r-md); background: var(--es-white); border: 1px solid var(--es-ink-200); font-size: 13px; color: var(--es-ink-700); }
@media (min-width: 768px) {
  .esb-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .esb-slot-chip { min-height: 64px; flex-direction: column; justify-content: center; }
}

/* --------------------------------------------------------------------------
   10. Stepper
   -------------------------------------------------------------------------- */
.esb-steppers { display: flex; flex-direction: column; padding: 0 14px; background: var(--es-white); border: 1px solid var(--es-ink-200); border-radius: var(--es-r-lg); }
.esb-stepper { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--es-ink-200); }
.esb-stepper:last-child { border-bottom: 0; }
.esb-stepper__label { font-weight: 600; font-size: 15px; }
.esb-stepper__rule { font-size: 12px; color: var(--es-ink-700); }
.esb-stepper__controls { display: flex; align-items: center; gap: 6px; }
.esb-stepper__btn {
  width: var(--esb-touch); height: var(--esb-touch); border-radius: 50%; border: 1.5px solid var(--es-green-700);
  background: var(--es-white); color: var(--es-green-700); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.esb-stepper__btn:disabled { border-color: var(--es-ink-200); color: var(--es-ink-400); cursor: not-allowed; }
.esb-stepper__count { min-width: 28px; text-align: center; font-weight: 600; font-size: 17px; }
.esb-stepper__price { font-weight: 600; font-size: 15px; text-align: right; }
.esb-stepper__help { grid-column: 1 / -1; font-size: 12px; color: var(--es-info); }
.esb-stepper__ages { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.esb-stepper--error { border-color: var(--es-error); }
@media (min-width: 768px) {
  .esb-steppers { padding: 4px 20px; }
  .esb-stepper { grid-template-columns: minmax(0, 1fr) auto 110px; gap: 4px 16px; padding: 12px 0; }
}
.esb-total { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: var(--es-r-lg); background: var(--es-cream-200); }
.esb-total__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.esb-total__amount { font-family: var(--es-font-serif); font-weight: 700; font-size: 24px; color: var(--es-green-900); }
.esb-total__lines { list-style: none; margin: 0; padding: 8px 0 0; border-top: 1px solid var(--es-ink-300); display: flex; flex-direction: column; gap: 4px; font-size: 14px; }

/* --------------------------------------------------------------------------
   11. Add-on card (checkbox) + upgrade
   -------------------------------------------------------------------------- */
.esb-addons { display: flex; flex-direction: column; gap: 12px; }
.esb-addon {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px;
  background: var(--es-white); border: 2px solid var(--es-ink-200); border-radius: var(--es-r-lg); box-shadow: var(--es-shadow-sm); cursor: pointer;
}
.esb-addon input[type="checkbox"] { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--es-green-700); }
.esb-addon__title { font-weight: 600; font-size: 16px; }
.esb-addon__body { font-size: 14px; color: var(--es-ink-700); }
.esb-addon__price { font-weight: 600; font-size: 14px; white-space: nowrap; }
.esb-addon__tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--es-r-pill); background: var(--es-cream-200); white-space: nowrap; }
.esb-addon--checked { border-color: var(--es-green-700); }
.esb-addon--unavailable { background: var(--es-cream-50); border-style: dashed; border-color: var(--es-ink-300); box-shadow: none; cursor: not-allowed; }
.esb-addon--unavailable .esb-addon__title { color: var(--es-ink-600); text-decoration: line-through; }
.esb-addon__note { grid-column: 2; font-size: 13px; color: var(--es-info); }
@media (min-width: 768px) {
  .esb-addon { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 14px; }
  .esb-addon__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
}

/* --------------------------------------------------------------------------
   12. Pickup zones (radio cards)
   -------------------------------------------------------------------------- */
.esb-pickup-window { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--es-r-md); background: var(--es-white); border: 1px solid var(--es-ink-200); font-size: 14px; }
.esb-zones { display: flex; flex-direction: column; gap: 8px; }
.esb-zone {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 12px 14px;
  background: var(--es-white); border: 2px solid var(--es-ink-200); border-radius: 16px; box-shadow: var(--es-shadow-sm); cursor: pointer;
}
.esb-zone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.esb-zone:focus-within { outline: 2px solid var(--es-focus); outline-offset: 2px; }
.esb-zone--selected { border-color: var(--es-green-700); }
.esb-zone__title { font-weight: 600; font-size: 15px; }
.esb-zone__areas { font-size: 13px; color: var(--es-ink-700); }
.esb-zone__tag { align-self: flex-start; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--es-r-pill); background: var(--es-success-bg); color: var(--es-success); }
.esb-zone--outside .esb-zone__tag { background: var(--es-cream-200); color: var(--es-ink-700); }
@media (min-width: 768px) { .esb-zones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* --------------------------------------------------------------------------
   13. Form fields
   -------------------------------------------------------------------------- */
.esb-field { display: flex; flex-direction: column; gap: 6px; }
.esb-field__label { font-size: 14px; font-weight: 600; }
.esb-field__optional { font-weight: 400; color: var(--es-ink-600); }
.esb-input, .esb-select, .esb-textarea {
  width: 100%; min-height: var(--esb-input-h); padding: 0 14px; border-radius: var(--es-r-sm);
  border: 1.5px solid var(--es-ink-400); background: var(--es-white); font: inherit; font-size: 16px; color: var(--es-ink-800);
}
.esb-textarea { min-height: 96px; padding: 12px 14px; resize: vertical; }
.esb-select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%232B2820' stroke-width='2.2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.esb-input:focus, .esb-select:focus, .esb-textarea:focus { border-color: var(--es-green-700); }
.esb-input[aria-invalid="true"], .esb-select[aria-invalid="true"], .esb-textarea[aria-invalid="true"] { border-color: var(--es-error); }
.esb-input:disabled { border-style: dashed; border-color: var(--es-ink-300); background: var(--es-ink-100); color: var(--es-ink-600); }
.esb-input--search { padding-left: 42px; background: var(--es-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%235C564A' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 14px center; }
.esb-input--code { font-family: var(--es-font-mono); letter-spacing: .06em; text-transform: uppercase; }
.esb-field__help { font-size: 12px; color: var(--es-ink-600); }
.esb-field__error { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; font-weight: 500; color: var(--es-error); }
.esb-field__error svg { flex: 0 0 16px; margin-top: 1px; }
.esb-field__fixed { display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 600; color: var(--es-success); }  /* "We removed the leading 0" */
.esb-field__suggest { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--es-info); }  /* email typo */
.esb-field__count { align-self: flex-end; font-size: 12px; color: var(--es-ink-600); }
.esb-row { display: grid; gap: 14px; }
@media (min-width: 768px) { .esb-row--2 { grid-template-columns: 1fr 1fr; } .esb-row--2-1 { grid-template-columns: 2fr 1fr; } }

.esb-phone { position: relative; }
.esb-phone__row { display: flex; gap: 8px; }
.esb-phone__cc {
  flex: 0 0 auto; min-height: var(--esb-input-h); display: flex; align-items: center; gap: 6px; padding: 0 10px;
  border: 1.5px solid var(--es-ink-400); border-radius: var(--es-r-sm); background: var(--es-white); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.esb-phone__cc[aria-invalid="true"] { border-color: var(--es-error); color: var(--es-error); }
.esb-country-list {
  position: absolute; z-index: 10; top: calc(100% + 4px); left: 0; right: 0; max-width: 320px; padding: 8px;
  display: flex; flex-direction: column; gap: 4px; background: var(--es-white); border: 1px solid var(--es-ink-200); border-radius: var(--es-r-md); box-shadow: var(--es-shadow-lg);
}
.esb-country-list__heading { padding: 4px 10px 0; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--es-ink-600); }
.esb-country-list__options { list-style: none; margin: 0; padding: 0; max-height: 264px; overflow: auto; }
.esb-country-list__option { display: flex; gap: 10px; align-items: center; min-height: var(--esb-touch); padding: 0 10px; border-radius: var(--es-r-sm); font-size: 14px; cursor: pointer; }
.esb-country-list__option[aria-selected="true"] { background: var(--es-green-50); font-weight: 600; }
.esb-country-list__dial { margin-left: auto; color: var(--es-ink-700); }

.esb-check, .esb-radio { display: flex; gap: 12px; align-items: flex-start; min-height: var(--esb-touch); font-size: 14px; line-height: 1.5; cursor: pointer; }
.esb-check input, .esb-radio input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--es-green-700); }
.esb-switch { display: flex; align-items: center; gap: 10px; min-height: var(--esb-touch); font-size: 14px; }
.esb-switch__track { position: relative; flex: 0 0 44px; width: 44px; height: 26px; padding: 0; border: 0; border-radius: var(--es-r-pill); background: var(--es-ink-400); cursor: pointer; }
.esb-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--es-white); box-shadow: var(--es-shadow-sm); transition: left var(--es-dur-fast) var(--es-ease); }
.esb-switch__track[aria-checked="true"] { background: var(--es-green-700); }
.esb-switch__track[aria-checked="true"]::after { left: 21px; }

/* --------------------------------------------------------------------------
   14. Alerts + error summary
   -------------------------------------------------------------------------- */
.esb-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--es-r-md); font-size: 14px; line-height: 1.5; }
.esb-alert svg { flex: 0 0 20px; margin-top: 1px; }
.esb-alert__actions { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.esb-alert--info    { background: var(--es-info-bg);    color: var(--es-info); }
.esb-alert--success { background: var(--es-success-bg); color: var(--es-success); }
.esb-alert--warning { background: var(--es-warning-bg); color: var(--es-warning); }
.esb-alert--error   { background: var(--es-error-bg);   color: var(--es-error); }
.esb-errsummary { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: var(--es-r-md); background: var(--es-error-bg); border: 1.5px solid var(--es-error); color: var(--es-error); }
.esb-errsummary:focus { outline: 2px solid var(--es-focus); outline-offset: 2px; }
.esb-errsummary ul { margin: 0; padding-left: 22px; }
.esb-errsummary a { color: var(--es-error); font-weight: 600; text-decoration: underline; }

/* --------------------------------------------------------------------------
   15. Summary card, mobile summary toggle, bottom bar
   -------------------------------------------------------------------------- */
.esb-summary { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--es-r-lg); background: var(--es-cream-200); box-shadow: var(--es-shadow-sm); }
.esb-summary__head { display: flex; gap: 12px; align-items: flex-start; }
.esb-summary__thumb { flex: 0 0 88px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--es-green-100); }
.esb-summary__program { font-family: var(--es-font-serif); font-weight: 700; font-size: 19px; line-height: 1.2; color: var(--es-green-700); }
.esb-summary__note { font-size: 12px; font-weight: 600; color: var(--es-success); }    /* "Upgraded from …" */
.esb-summary__rows { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; }
.esb-summary__rows dt { color: var(--es-ink-600); }
.esb-summary__rows dd { margin: 0; text-align: right; font-weight: 500; }
.esb-summary__divider { height: 1px; background: var(--es-ink-300); }
.esb-summary__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.esb-summary__line, .esb-summary__extra { display: flex; justify-content: space-between; gap: 12px; }
.esb-summary__fee { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: var(--es-r-sm); background: var(--es-cream-100); font-size: 14px; }  /* checkout only */
.esb-summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.esb-summary__amount { font-family: var(--es-font-serif); font-weight: 700; font-size: 26px; line-height: 1.1; color: var(--es-green-900); }
.esb-summary__meta { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--es-ink-700); }
.esb-summary__empty { font-size: 14px; color: var(--es-ink-600); }
.esb-summary-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 52px; padding: 0 16px;
  border: 0; border-bottom: 1px solid var(--es-ink-300); background: var(--es-cream-200); font: inherit; font-size: 13px; text-align: left; cursor: pointer;
}
.esb-summary-toggle__program { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.esb-summary-toggle__total { display: flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.esb-summary-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.esb-summary-panel { position: absolute; left: 0; right: 0; z-index: 3; padding: 10px 16px 16px; background: var(--es-cream-100); border-radius: 0 0 20px 20px; box-shadow: var(--es-shadow-lg); }
.esb-bottombar {
  display: flex; flex-direction: column; gap: 6px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--es-cream-50); border-top: 1px solid var(--es-ink-300); box-shadow: 0 -6px 18px rgba(46, 74, 51, .08);
}
.esb-bottombar__row { display: flex; align-items: center; gap: 10px; }
.esb-bottombar__total { display: flex; flex-direction: column; line-height: 1.15; }
.esb-bottombar__label { font-size: 11px; color: var(--es-ink-600); }
.esb-bottombar__amount { font-family: var(--es-font-serif); font-weight: 700; font-size: 18px; color: var(--es-green-900); }
.esb-bottombar .esb-btn--primary, .esb-bottombar .esb-btn--pay { flex: 1; padding: 0 10px; }
.esb-bottombar__hint { font-size: 12px; text-align: center; color: var(--es-ink-700); }

/* --------------------------------------------------------------------------
   16. Trust strip, testimonial
   -------------------------------------------------------------------------- */
.esb-trust { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border-radius: var(--es-r-md); background: var(--es-cream-200); font-size: 12px; line-height: 1.4; }
.esb-trust__award { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.esb-trust__badge { flex: 0 0 40px; width: 40px; height: 40px; }        /* official Tripadvisor artwork only */
.esb-trust__items { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--es-ink-700); }
@media (min-width: 1025px) { .esb-trust--row { flex-direction: row; align-items: center; gap: 16px; white-space: nowrap; } }
.esb-testimonial { margin: 0; padding: 16px 18px; border-radius: var(--es-r-lg); background: var(--es-white); border: 1px solid var(--es-ink-200); display: flex; flex-direction: column; gap: 8px; }
.esb-testimonial blockquote { margin: 0; font-size: 14px; line-height: 1.55; }
.esb-testimonial figcaption { font-size: 13px; color: var(--es-ink-700); }

/* --------------------------------------------------------------------------
   17. Review & pay
   -------------------------------------------------------------------------- */
.esb-recap { display: flex; flex-direction: column; padding: 0 14px; background: var(--es-white); border: 1px solid var(--es-ink-200); border-radius: var(--es-r-lg); }
.esb-recap__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 12px 0; border-bottom: 1px solid var(--es-ink-200); }
.esb-recap__row:last-child { border-bottom: 0; }
.esb-recap__label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--es-ink-700); }
.esb-recap__value { font-size: 14px; line-height: 1.5; }
.esb-recap__edit { grid-row: span 2; min-width: var(--esb-touch); min-height: var(--esb-touch); display: flex; align-items: center; justify-content: flex-end; font-size: 13px; font-weight: 600; }
@media (min-width: 768px) {
  .esb-recap { padding: 4px 20px; }
  .esb-recap__row { grid-template-columns: 150px minmax(0, 1fr) 56px; gap: 12px; align-items: start; padding: 14px 0; }
  .esb-recap__label { font-size: 13px; letter-spacing: 0; text-transform: none; }
  .esb-recap__edit { grid-row: auto; margin-top: -12px; }
}
.esb-pay { display: flex; flex-direction: column; gap: 14px; padding: 16px; background: var(--es-white); border: 1px solid var(--es-ink-200); border-radius: var(--es-r-lg); }
.esb-pay__methods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.esb-pay__method { min-height: var(--esb-touch); border-radius: 10px; border: 1.5px solid var(--es-ink-300); background: var(--es-white); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.esb-pay__method[aria-selected="true"] { border-color: var(--es-green-700); background: var(--es-green-50); }
.esb-pay__secure { display: flex; gap: 6px; align-items: center; font-size: 13px; color: var(--es-ink-700); }
.esb-pay__consent { margin: 0; font-size: 13px; line-height: 1.5; color: var(--es-ink-700); }
.esb-pay[aria-busy="true"] .esb-slot { opacity: .55; pointer-events: none; }
.esb-pay__qr { width: 180px; height: 180px; }
.esb-breakdown { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: var(--es-r-md); background: var(--es-cream-100); font-size: 14px; }
.esb-breakdown__line { display: flex; justify-content: space-between; gap: 12px; }
.esb-breakdown__line--gift { color: var(--es-success); font-weight: 600; }
.esb-breakdown__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 6px; margin-top: 4px; border-top: 1px solid var(--es-ink-300); font-weight: 600; }
.esb-giftcode { display: flex; flex-direction: column; gap: 8px; }
.esb-giftcode__row { display: flex; gap: 8px; }
@media (min-width: 768px) { .esb-pay { padding: 20px; } .esb-pay__method { min-height: var(--esb-input-h); font-size: 13px; } }

/* --------------------------------------------------------------------------
   18. Confirmation
   -------------------------------------------------------------------------- */
.esb-status { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; border-radius: var(--es-r-lg); background: var(--es-white); border: 1px solid var(--es-ink-200); }
.esb-status__icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--es-success-bg); color: var(--es-success); }
.esb-ref { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; width: 100%; padding: 8px 8px 8px 12px; border-radius: var(--es-r-md); background: var(--es-cream-100); }
.esb-ref__code { font-family: var(--es-font-serif); font-weight: 700; font-size: 26px; letter-spacing: .04em; color: var(--es-green-900); }
.esb-next ol { list-style: none; margin: 0; padding: 0; }
.esb-next__step { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.esb-next__dot { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--es-ink-400); background: var(--es-white); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.esb-next__step--done .esb-next__dot { background: var(--es-green-700); border-color: var(--es-green-700); color: var(--es-cream-50); }
.esb-next__rail { flex: 1; width: 2px; min-height: 12px; background: var(--es-ink-300); margin: 0 auto; }
.esb-calendar, .esb-wa, .esb-bring { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--es-r-lg); background: var(--es-white); border: 1px solid var(--es-ink-200); }
.esb-bring ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.esb-bring__icon { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--es-green-50); color: var(--es-green-700); display: flex; align-items: center; justify-content: center; }
.esb-upsell-post { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: var(--es-r-lg); background: var(--es-white); border: 1px solid var(--es-ink-200); }
.esb-upsell-post__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.esb-upsell-post__was { color: var(--es-ink-600); text-decoration: line-through; }
.esb-upsell-post__tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: var(--es-r-pill); background: var(--es-success-bg); color: var(--es-success); }
.esb-adoption { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--es-ink-300); font-size: 13px; }
.esb-share { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 16px; background: var(--es-cream-200); font-size: 14px; }
@media (min-width: 768px) {
  .esb-status { padding: 28px; border-radius: var(--es-r-xl); }
  .esb-status__icon { width: 64px; height: 64px; }
  .esb-ref__code { font-size: 32px; }
  .esb-bring ul { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .esb-upsell-post { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* --------------------------------------------------------------------------
   19. Manage booking
   -------------------------------------------------------------------------- */
.esb-lookup { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--es-r-lg); background: var(--es-white); border: 1px solid var(--es-ink-200); }
.esb-manage__status { display: flex; flex-wrap: wrap; gap: 8px; }
.esb-manage__badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--es-r-pill); font-size: 13px; font-weight: 600; background: var(--es-cream-200); }
.esb-manage__badge--ok { background: var(--es-success-bg); color: var(--es-success); }
.esb-manage__badge--cancelled { background: var(--es-ink-200); color: var(--es-ink-800); }
.esb-manage__actions { display: grid; gap: 8px; }
.esb-manage__action { display: flex; gap: 12px; align-items: center; text-align: left; min-height: 56px; padding: 10px 14px; border-radius: 16px; border: 1.5px solid var(--es-ink-300); background: var(--es-white); font: inherit; cursor: pointer; }
.esb-manage__action:hover { border-color: var(--es-green-700); }
@media (min-width: 768px) { .esb-lookup { padding: 32px; border-radius: var(--es-r-xl); } .esb-manage__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

/* Dialogs: leave booking, cancel booking (alertdialog) */
.esb-dialog {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; display: flex; flex-direction: column; gap: 12px;
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom)); background: var(--es-cream-50); border-radius: 24px 24px 0 0; box-shadow: var(--es-shadow-lg);
}
.esb-dialog__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }   /* equal weight, both .esb-btn--secondary */
.esb-dialog__refund { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; border-radius: var(--es-r-md); background: var(--es-white); border: 1px solid var(--es-ink-200); }
@media (min-width: 768px) {
  .esb-dialog { left: 50%; top: 50%; bottom: auto; right: auto; transform: translate(-50%, -50%); width: min(480px, calc(100vw - 32px)); padding: 28px; border-radius: var(--es-r-lg); }
}

/* --------------------------------------------------------------------------
   20. Gift voucher
   -------------------------------------------------------------------------- */
.esb-gift { display: flex; flex-direction: column; gap: 24px; }
.esb-gift__options { display: grid; gap: 12px; }
.esb-gift__option { position: relative; display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--es-white); border: 2px solid var(--es-ink-200); cursor: pointer; }
.esb-gift__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.esb-gift__option:focus-within { outline: 2px solid var(--es-focus); outline-offset: 2px; }
.esb-gift__option--selected { border-color: var(--es-green-700); }
.esb-gift__amounts { display: flex; flex-wrap: wrap; gap: 12px; }
.esb-gift__rules { margin: 0; font-size: 13px; line-height: 1.6; color: var(--es-ink-700); }
.esb-gift__summary { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--es-r-lg); background: var(--es-cream-200); box-shadow: var(--es-shadow-sm); }
.esb-giftcard { width: 100%; max-width: 420px; display: flex; flex-direction: column; background: var(--es-cream-50); border-radius: 6px; overflow: hidden; }
.esb-giftcard__code { font-family: var(--es-font-mono); font-weight: 700; font-size: 22px; letter-spacing: .08em; color: var(--es-green-900); }
@media (min-width: 768px) { .esb-gift__options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1025px) { .esb-gift__summary { position: sticky; top: 24px; } }
@media print { .esb-giftcard { width: 105mm; height: 148mm; max-width: none; border-radius: 0; box-shadow: none; } }

/* --------------------------------------------------------------------------
   21. Skeletons, slots, no-JS
   -------------------------------------------------------------------------- */
.esb-skeleton { border-radius: 6px; background: var(--es-ink-200); }
.esb-skeleton--soft { background: var(--es-ink-100); }
.esb-slot { display: flex; flex-direction: column; gap: 12px; }
.esb-slot[data-slot="stripe-payment"] { min-height: 160px; }
.esb-nojs { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--es-r-lg); background: var(--es-white); border: 1.5px solid var(--es-ink-300); }
@media (min-width: 768px) { .esb-nojs { flex-direction: row; align-items: center; } }

/* --------------------------------------------------------------------------
   22. Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .esb *, .esb *::before, .esb *::after { transition: none !important; animation: none !important; }
  .esb-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   23. WordPress plugin additions (not in the design export)
   Inline embed in a theme/Elementor page: sticky bottom bar, step sections,
   theme-reset guards (themes style button/input with higher specificity).
   -------------------------------------------------------------------------- */
.esb [hidden] { display: none !important; }
.esb-inline > .esb { position: relative; }
.esb-inline .esb-modal__body { overflow: visible; }
.esb-inline .esb-modal__aside { top: 24px; }
.esb-step { display: flex; flex-direction: column; gap: var(--esb-gap); }
.esb-step__heading { font-size: 24px; }
.esb-step__lead { margin: 0; font-size: 14px; color: var(--es-ink-700); }
.esb-step__sub { margin: 4px 0 0; font-family: var(--es-font-serif); font-size: 18px; color: var(--es-green-700); }
.esb-loading { display: flex; flex-direction: column; gap: 12px; }
.esb-messages { display: flex; flex-direction: column; gap: 8px; }
.esb-messages:empty { display: none; }
.esb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.esb-bottombar { position: sticky; bottom: 0; z-index: 20; }
.esb-bottombar .esb-iconbtn { flex: 0 0 auto; color: var(--es-green-800); text-decoration: none; }
.esb-actions { display: none; }
.esb-actions__secondary { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; }
.esb-summary-wrap { position: relative; }
.esb-backrow { margin: -10px 0 -8px; }
.esb-backrow:empty, .esb-backrow .esb-btn[hidden] { display: none; }
.esb-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.esb-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.esb-cal__nav .esb-iconbtn:disabled { opacity: .4; cursor: not-allowed; }
.esb-cal__btn[aria-disabled="true"] { cursor: not-allowed; }
.esb-cal__months { display: flex; gap: 24px; flex-wrap: wrap; }
.esb-addon__meta { grid-column: 2; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.esb-addon__extra { grid-column: 1 / -1; }
.esb-recap__edit { border: 0; background: none; padding: 0; font: inherit; font-size: 13px; font-weight: 600; color: var(--es-green-700); text-decoration: underline; cursor: pointer; }
.esb-phone__row .esb-select { flex: 0 0 132px; width: 132px; }
.esb-phone__row .esb-input { flex: 1; min-width: 0; }
.esb-policy { margin: 0; font-size: 13px; line-height: 1.5; color: var(--es-ink-700); }
.esb-summary__head > div { min-width: 0; }
.esb-field__suggest button { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--es-green-700); text-decoration: underline; cursor: pointer; }
@media (min-width: 768px) {
  .esb-step__heading { font-size: 28px; }
  .esb-addon__meta { grid-column: 3; grid-row: 1; }
}
@media (min-width: 1025px) {
  .esb-actions { display: flex; }
  .esb-card__label--nomedia { display: flex; }
  .esb-card__label--nomedia + .esb-card__details { margin-left: 0; }
  .esb-bottombar, .esb-backrow { display: none; }
}

/* Theme-reset guards: keep the design when themes style bare button / input elements. */
.esb button { text-transform: none; letter-spacing: normal; line-height: 1.2; box-shadow: none; }
.esb .esb-btn--primary:hover, .esb .esb-btn--primary:focus { background: var(--es-green-800); color: var(--es-cream-50); }
.esb .esb-btn--pay:hover, .esb .esb-btn--pay:focus { background: var(--es-orange-600); color: var(--es-fg-on-cta); }
.esb .esb-btn--text:hover, .esb .esb-btn--text:focus, .esb .esb-recap__edit:hover, .esb .esb-chip__action:hover { background: none; color: var(--es-green-900); }
.esb .esb-btn:disabled:hover { background: var(--es-ink-200); color: var(--es-ink-600); }
.esb .esb-stepper__btn:hover:not(:disabled) { background: var(--es-green-50); color: var(--es-green-800); }
.esb .esb-stepper__btn:disabled:hover { background: var(--es-white); color: var(--es-ink-400); }
.esb .esb-tabs__tab:hover, .esb .esb-tabs__tab:focus { background: var(--es-cream-200); color: var(--es-ink-800); }
.esb .esb-tabs__tab[aria-checked="true"]:hover, .esb .esb-tabs__tab[aria-checked="true"]:focus { background: var(--es-green-700); color: var(--es-cream-50); }
.esb .esb-cal__btn:hover, .esb .esb-cal__btn:focus { background: var(--es-white); color: var(--es-ink-800); }
.esb .esb-cal__day--selected .esb-cal__btn:hover, .esb .esb-cal__day--selected .esb-cal__btn:focus { background: var(--es-green-700); color: var(--es-cream-50); }
.esb .esb-cal__day--soldout .esb-cal__btn:hover, .esb .esb-cal__day--past .esb-cal__btn:hover, .esb .esb-cal__day--toosoon .esb-cal__btn:hover { background: transparent; color: var(--es-ink-600); }
.esb .esb-iconbtn:hover, .esb .esb-iconbtn:focus { background: var(--es-cream-200); color: var(--es-ink-800); }
.esb .esb-summary-toggle:hover, .esb .esb-summary-toggle:focus { background: var(--es-cream-200); color: var(--es-ink-800); }
.esb .esb-progress__step--done button:hover { background: none; color: var(--es-ink-800); }
.esb .esb-input, .esb .esb-select, .esb .esb-textarea {
  width: 100%; min-height: var(--esb-input-h); margin: 0; padding: 0 14px; border-radius: var(--es-r-sm);
  border: 1.5px solid var(--es-ink-400); background-color: var(--es-white); font-family: inherit; font-size: 16px; line-height: 1.4; color: var(--es-ink-800); box-shadow: none;
}
.esb .esb-textarea { min-height: 96px; padding: 12px 14px; }
.esb .esb-select { padding-right: 40px; }
.esb .esb-input:focus, .esb .esb-select:focus, .esb .esb-textarea:focus { border-color: var(--es-green-700); outline: 2px solid var(--es-focus); outline-offset: 1px; }
.esb .esb-input[aria-invalid="true"], .esb .esb-select[aria-invalid="true"], .esb .esb-textarea[aria-invalid="true"] { border-color: var(--es-error); }
.esb label { margin: 0; }
.esb p { margin-top: 0; }
