/* The search embedded in the site's pages (contract 21.13). Every rule is scoped: it starts with
   .wsb (the placeholder, once mounted) or [data-ws-booking] (the placeholder before), and every
   class the embed writes starts with wsb-, so this file cannot touch the site and the site's
   element rules (button, h2, p, ul, a, img) are overridden inside the box at a higher specificity.
   Colours are the site's own Astra palette (--ast-global-color-*), the fallbacks only matter on a
   page without it. Fonts: the text inherits the site's body font, headings keep the site's heading
   font; the primary buttons carry the site's button classes (wp-block-button__link), so their
   colour, font, case and corners are the site's. */

[data-ws-booking]:empty{display:block;min-height:264px}
@media (min-width:860px){[data-ws-booking]:empty{min-height:116px}}

.wsb{display:block;box-sizing:border-box;width:100%;max-width:1140px;margin:0 auto;text-align:left;
  font-size:16px;line-height:1.5;color:var(--ast-global-color-3,#3a3a3a);
  --wsb-gold:var(--ast-global-color-0,#bc9050);--wsb-gold-2:var(--ast-global-color-1,#cc9d59);
  --wsb-ink:var(--ast-global-color-2,#1e1e1e);--wsb-text:var(--ast-global-color-3,#3a3a3a);
  --wsb-cream:var(--ast-global-color-4,#fdf8f1);--wsb-white:var(--ast-global-color-5,#fff);
  --wsb-line:var(--ast-global-color-6,#cacaca);--wsb-warn:#fdecc8;--wsb-warn-ink:#6b3305}
.wsb *,.wsb *::before,.wsb *::after{box-sizing:border-box}
.wsb [hidden]{display:none !important}

/* plain buttons of the box: the site's global button look (gold, uppercase, padding) taken off */
.wsb button{all:unset;box-sizing:border-box;cursor:pointer;font:inherit;color:inherit;text-align:center}
.wsb button:disabled{cursor:default}
.wsb button:focus-visible,.wsb a:focus-visible,.wsb summary:focus-visible,.wsb .wsb-gallery:focus-visible{outline:2px solid var(--wsb-gold);outline-offset:2px}

/* ---- the box --------------------------------------------------------------------------- */
.wsb .wsb-box{background:var(--wsb-white);border:1px solid var(--wsb-line);padding:16px;display:flex;flex-direction:column;gap:12px;
  box-shadow:0 18px 44px rgba(30,30,30,.08)}
.wsb .wsb-bar{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px;align-items:end}
.wsb .wsb-field{display:flex;flex-direction:column;gap:4px;min-width:0;margin:0}
.wsb .wsb-label{font-size:13px;line-height:1.3;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--wsb-text)}
.wsb .wsb-date{display:block;width:100%;min-width:0;height:52px;padding:0 12px;border:1px solid var(--wsb-line);background:var(--wsb-white);
  color:var(--wsb-ink);font-size:16px;line-height:50px;font-weight:600;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wsb .wsb-date.wsb-empty{font-weight:400;color:var(--wsb-text)}
.wsb .wsb-date.wsb-active,.wsb .wsb-date:hover{border-color:var(--wsb-gold);box-shadow:0 0 0 1px var(--wsb-gold)}
.wsb .wsb-date:disabled{color:var(--wsb-line)}
.wsb .wsb-stepper{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;height:52px;border:1px solid var(--wsb-line);background:var(--wsb-white)}
.wsb .wsb-step{height:50px;line-height:50px;background:var(--wsb-cream);color:var(--wsb-ink);font-size:22px}
.wsb .wsb-step:hover{background:var(--wsb-line)}
.wsb .wsb-step:disabled{color:var(--wsb-line);background:var(--wsb-cream)}
.wsb .wsb-count{display:block;text-align:center;font-weight:600;font-size:18px;color:var(--wsb-ink)}
.wsb .wsb-gowrap{grid-column:1 / -1;margin:0}
.wsb .wsb-btnwrap{display:block;margin:0;width:100%}
.wsb .wsb-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;margin:0;white-space:normal;text-align:center;
  text-decoration:none;cursor:pointer}
.wsb .wsb-btn:disabled,.wsb .wsb-btn[aria-busy="true"]{opacity:.6;cursor:default}
.wsb .wsb-hint{margin:0;font-size:14px;color:var(--wsb-text)}
.wsb .wsb-summary{margin:0;font-weight:600;color:var(--wsb-ink)}

/* calendar: one month, under the fields */
.wsb .wsb-cal{border:1px solid var(--wsb-line);padding:10px 8px 8px;max-width:400px;background:var(--wsb-white)}
.wsb .wsb-calhint{margin:0;text-align:center;font-weight:600;color:var(--wsb-ink)}
.wsb .wsb-calhead{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;text-align:center;margin:6px 0 2px}
.wsb .wsb-calnav{height:44px;line-height:44px;background:var(--wsb-cream);font-size:24px;color:var(--wsb-ink)}
.wsb .wsb-calnav:disabled{color:var(--wsb-line);background:none}
.wsb .wsb-month{text-transform:capitalize;color:var(--wsb-ink)}
.wsb .wsb-calgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:2px 0}
.wsb .wsb-wd{text-align:center;font-size:13px;color:var(--wsb-text);padding:6px 0 4px}
.wsb .wsb-day{height:44px;line-height:44px;font-size:16px;color:var(--wsb-ink)}
.wsb .wsb-day:disabled{color:#bdbdbd}
.wsb .wsb-day.wsb-today{font-weight:700;text-decoration:underline}
.wsb .wsb-day.wsb-mid{background:var(--wsb-cream)}
.wsb .wsb-day.wsb-sel{background:var(--wsb-gold);color:var(--wsb-white);font-weight:700}
.wsb .wsb-day:not(:disabled):not(.wsb-sel):hover{background:var(--wsb-cream);box-shadow:inset 0 0 0 1px var(--wsb-gold)}

/* ---- results ----------------------------------------------------------------------------- */
.wsb .wsb-results{display:flex;flex-direction:column;gap:16px;margin-top:20px}
.wsb .wsb-results:empty{display:none}
/* inline the options may land on a photo or a dark section (the home page's closing cover):
   they sit on the site's cream panel so the title and cards always read */
.wsb.wsb-inline .wsb-results{background:var(--wsb-cream);border:1px solid var(--wsb-line);padding:16px}
@media (min-width:860px){.wsb.wsb-inline .wsb-results{padding:20px 24px 24px}}
.wsb .wsb-title{margin:6px 0 0;padding:0;font-size:30px;line-height:1.2;font-weight:600;color:var(--wsb-ink);text-transform:none;letter-spacing:0}
.wsb .wsb-first-gone{margin:0;padding:12px 14px;background:var(--wsb-warn);color:var(--wsb-warn-ink)}
.wsb .wsb-note{margin:0;background:var(--wsb-cream);border:1px solid var(--wsb-line);padding:18px 16px;text-align:center;color:var(--wsb-text)}
.wsb .wsb-note p{margin:0}
.wsb .wsb-note.wsb-warn{background:var(--wsb-warn);border-color:#f0d9a0;color:var(--wsb-warn-ink)}
.wsb .wsb-note .wsb-btnwrap{max-width:280px;margin:14px auto 0}
.wsb .wsb-spinner{width:24px;height:24px;margin:0 auto 10px;border-radius:50%;border:3px solid var(--wsb-line);border-top-color:var(--wsb-gold);animation:wsb-spin .9s linear infinite}
@keyframes wsb-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.wsb .wsb-spinner{animation:none}}

.wsb .wsb-opt{margin:0;background:var(--wsb-white);border:1px solid var(--wsb-line);overflow:hidden;display:flex;flex-direction:column}
.wsb .wsb-opt.wsb-best{border-color:var(--wsb-gold);box-shadow:0 0 0 1px var(--wsb-gold)}
.wsb .wsb-photos{display:grid;gap:2px;background:var(--wsb-cream);aspect-ratio:16/9;grid-auto-flow:column;grid-auto-columns:1fr}
.wsb .wsb-ph{position:relative;min-width:0;min-height:0}
/* the home pages' Spectra info box forces .uagb-ifb-content img{height:auto !important}; the photo then
   grew past its 16:9 frame and lay over the card's top padding, so the title touched it (21.13) */
.wsb .wsb-ph img{position:absolute;inset:0;width:100%;height:100% !important;max-width:none;object-fit:cover;display:block;margin:0}
.wsb .wsb-body{padding:16px;display:flex;flex-direction:column;gap:10px}
.wsb .wsb-body h3{margin:0;padding:0;font-size:24px;line-height:1.25;font-weight:600;color:var(--wsb-ink);text-transform:none;letter-spacing:0}
.wsb .wsb-muted{color:var(--wsb-text);opacity:.85}
.wsb .wsb-small{font-size:14px}
.wsb .wsb-body p{margin:0}
.wsb .wsb-tags{display:flex;flex-wrap:wrap;gap:6px}
.wsb .wsb-tag{font-size:12px;font-weight:600;letter-spacing:1px;text-transform:uppercase;padding:3px 9px;background:var(--wsb-cream);color:var(--wsb-ink)}
.wsb .wsb-tag.wsb-best{background:var(--wsb-gold);color:var(--wsb-white)}
.wsb .wsb-tag.wsb-left{background:var(--wsb-warn);color:var(--wsb-warn-ink)}
.wsb .wsb-rooms{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:15px}
.wsb .wsb-rooms li{display:flex;flex-wrap:wrap;gap:0 8px;margin:0;padding:0;list-style:none}
.wsb .wsb-who{font-weight:600;color:var(--wsb-ink)}
.wsb .wsb-abouts{display:flex;flex-direction:column;gap:6px}
.wsb .wsb-about{border-top:1px solid var(--wsb-line);font-size:15px;margin:0}
.wsb .wsb-about summary{padding:11px 0;font-weight:600;color:var(--wsb-gold);cursor:pointer}
.wsb .wsb-about p{margin:0 0 8px}
.wsb .wsb-gallery{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x mandatory;margin:0 0 10px;-webkit-overflow-scrolling:touch}
.wsb .wsb-gallery img{flex:0 0 86%;width:86%;max-width:none;height:auto;aspect-ratio:4/3;object-fit:cover;scroll-snap-align:start;background:var(--wsb-cream);margin:0}
.wsb .wsb-price{display:flex;flex-direction:column}
.wsb .wsb-total{font-size:26px;font-weight:700;line-height:1.2;color:var(--wsb-ink)}
.wsb .wsb-rates{display:flex;flex-direction:column;gap:14px}
.wsb .wsb-rate{display:flex;flex-direction:column;gap:10px;min-width:0;padding-top:14px;border-top:1px solid var(--wsb-line);margin:0}
.wsb .wsb-rate-text{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.wsb .wsb-rate-name{margin:0;padding:0;font-size:20px;font-weight:600;line-height:1.3;color:var(--wsb-ink);text-transform:none;letter-spacing:0}
.wsb .wsb-rate-terms{margin:0;line-height:1.4;overflow-wrap:anywhere}
.wsb .wsb-rate-buy{display:flex;flex-direction:column;gap:8px;min-width:0}
.wsb .wsb-rate .wsb-total{font-size:24px}
.wsb .wsb-book{display:flex;flex-direction:column;gap:0}
.wsb .wsb-confirm-note{margin:6px 0 0;color:var(--wsb-warn-ink)}
.wsb .wsb-foot{text-align:center;margin:0}

/* wide: the box is one row; a photo stands beside the text, 4:3 (21.6 review H1) */
@media (min-width:860px){
  .wsb .wsb-bar{grid-template-columns:minmax(0,1.25fr) minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr) auto}
  .wsb .wsb-gowrap{grid-column:auto;width:auto}
  .wsb .wsb-gowrap .wsb-btn{width:auto;white-space:nowrap}
  .wsb .wsb-box{padding:18px 20px}
}
@media (min-width:640px){
  .wsb .wsb-opt{flex-direction:row}
  .wsb .wsb-photos{flex:0 0 42%;align-self:flex-start;aspect-ratio:auto;grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:minmax(0,1fr)}
  .wsb .wsb-photos .wsb-ph{aspect-ratio:4/3}
  .wsb .wsb-body{flex:1;justify-content:center}
}
