/* ===========================================================================
   WBV — Daily villas archive
   Loaded by snippet wbv-30-daily-archive when [wbv_daily_archive] is on the page.
   Uploaded to /wp-content/uploads/css/wbv-villas-archive.css via mu-plugin REST.
   --------------------------------------------------------------------------- */

/* Brand tokens — applied to ALL root elements of the archive system so the
   modal + backdrop + date-picker mount (which are siblings of .wbv-arc, not
   descendants) inherit the same vars. */
.wbv-arc,
.wbv-arc-drawer,
.wbv-arc-drawer-backdrop,
.wbv-arc-date-picker-mount,
.wbv-arc-search,
.wbv-arc-mobile-sheet-backdrop {
  --wbv-arc-bg:           #FBFAF6;
  --wbv-arc-surface:      #FFFFFF;
  --wbv-arc-text:         #2D3530;
  --wbv-arc-text-soft:    #6E7872;
  --wbv-arc-text-muted:   #9CA39C;
  --wbv-arc-divider:      #DDE4DC;
  --wbv-arc-btn-bg:       #a08875;
  --wbv-arc-btn-bg-hover: #8e7765;
  --wbv-arc-btn-grad:       linear-gradient(180deg, color-mix(in srgb, #a08875 100%, white 12%) 0%, #a08875 100%);
  --wbv-arc-btn-grad-hover: linear-gradient(180deg, #a08875 0%, color-mix(in srgb, #a08875 100%, black 12%) 100%);
  --wbv-arc-pill-mint:    #D8E5DA; --wbv-arc-pill-mint-text:  #3B6D11;
  --wbv-arc-pill-peach:   #F2E5C7; --wbv-arc-pill-peach-text: #854F0B;
  --wbv-arc-pill-sky:     #E5EBDF; --wbv-arc-pill-sky-text:   #0F6E56;
  --wbv-arc-radius-md:    12px;
  --wbv-arc-radius-pill:  999px;
  --wbv-arc-shadow-sm:    0 2px 8px rgba(45,53,48,.06);
  --wbv-arc-shadow-md:    0 4px 16px rgba(45,53,48,.10);
  --wbv-arc-font-display: "DM Serif Display", serif;
  --wbv-arc-font-body:    "Manrope", system-ui, sans-serif;
}
.wbv-arc {
  background: var(--wbv-arc-bg);
  color: var(--wbv-arc-text);
  font-family: var(--wbv-arc-font-body);
  padding: 0 0 40px;
}
.wbv-arc * { box-sizing: border-box; }

/* twentytwentyfour wraps shortcode output in .is-layout-constrained which clamps
   to --wp--style--global--content-size (620px). Escape it for the archive container.
   Also kills the theme's `:root :where(.is-layout-constrained) > * { margin-block-start: 1.2rem }`
   which adds an unwanted 1.2rem gap above the hero. */
.is-layout-constrained > .wbv-arc,
.wbv-arc {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-block-start: 0 !important;
  width: auto;
}

.wbv-arc-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─────────── HERO (visual layer only — breakout owned by main CSS) ─────────── */
/* Position/breakout (width:100vw + margin-left/right:calc(50%-50vw)) lives in
   main CSS section 91 (.wbv-arc-hero). Same rule serves the sale archive and
   the daily archive (here). Per-page CSS only adds page-specific visuals:
   bg image, min-height, flex layout, padding. Last unified 2026-04-30. */
.wbv-arc-hero {
  z-index: 10;
  min-height: 340px;
  background:
    linear-gradient(180deg, rgba(45,53,48,0.20) 0%, rgba(45,53,48,0.55) 100%),
    url('https://wonderfulbalivillas.com/wp-content/uploads/2026/04/villa-daily-rent_hero.webp') center/cover no-repeat,
    linear-gradient(135deg, #C8B89E 0%, #6E8475 100%);
  background-size: cover, cover, cover;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 24px 0;
  margin-bottom: 22px;
}
.wbv-arc-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* h1 + p styling now driven by .wbv-arc-hero-h / .wbv-arc-hero-sub classes
   in main CSS (2026-04-30 unification). After daily archive markup adds these
   classes, no per-page h1/p styling is needed here. */

/* Top-right tenure cross-link */
.wbv-arc-hero-toplink {
  position: absolute;
  top: 22px;
  right: 32px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  border-radius: var(--wbv-arc-radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.15s ease;
}
.wbv-arc-hero-toplink:hover { background: rgba(255,255,255,0.3); color: #fff; }
.wbv-arc-hero-toplink-arrow { font-size: 14px; }

/* ─────────── SEARCH BAR (inside hero, centered) ─────────── */
.wbv-arc-search-wrap { width: 100%; max-width: 980px; margin: 0 auto; }
.wbv-arc-search {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 0.85fr auto;
  align-items: center;
  background: #fff;
  border: 0.5px solid var(--wbv-arc-divider);
  border-radius: var(--wbv-arc-radius-pill);
  box-shadow: var(--wbv-arc-shadow-md);
  padding: 5px;
  min-height: 58px;
}
.wbv-arc-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: var(--wbv-arc-radius-pill);
  position: relative;
  min-width: 0;
  transition: background 0.15s ease;
}
.wbv-arc-search-field:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 25%; height: 50%; width: 1px;
  background: var(--wbv-arc-divider);
}
.wbv-arc-search-field:hover { background: #F4F0EA; }
.wbv-arc-search-field svg { width: 20px; height: 20px; color: var(--wbv-arc-btn-bg); flex-shrink: 0; }

/* Single-line placeholder text (Bestay-style) */
.wbv-arc-search-placeholder {
  font-size: 15px;
  font-weight: 500;
  color: var(--wbv-arc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
}

/* Typeable input for the Location field */
.wbv-arc-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--wbv-arc-text);
  width: 100%;
}
.wbv-arc-search-input::placeholder {
  color: var(--wbv-arc-text-soft);
  font-weight: 400;
  opacity: 1;
}

/* Inline clear "x" button — visible only when a value is set */
.wbv-arc-search-clear {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  border: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--wbv-arc-text-soft);
  transition: background 0.12s ease, color 0.12s ease;
}
.wbv-arc-search-clear:hover { background: rgba(0,0,0,0.12); color: var(--wbv-arc-text); }
.wbv-arc-search-clear svg { width: 12px; height: 12px; }
.wbv-arc-search-clear[hidden] { display: none; }
.wbv-arc-search-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--wbv-arc-btn-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.wbv-arc-search-btn:hover { background: var(--wbv-arc-btn-grad-hover); transform: translateY(-1px); }
.wbv-arc-search-btn svg { width: 20px; height: 20px; }

/* Search-field popover (Location dropdown) — anchored under the field.
   Uses top:100% + margin-top instead of calc(100% + 10px) — our CSS
   minifier strips spaces around + and breaks calc(). */
.wbv-arc-has-popover { position: relative; }
.wbv-arc-popover {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  bottom: auto;
  left: 0;
  right: auto;
  min-width: 280px;
  background: #fff;
  border: 0.5px solid var(--wbv-arc-divider);
  border-radius: var(--wbv-arc-radius-md);
  box-shadow: var(--wbv-arc-shadow-md);
  padding: 10px 10px 6px;
  z-index: 500;  /* above villa cards / scrolling content */
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  text-align: left;
}
.wbv-arc-popover.is-open { opacity: 1; transform: translateY(0); }
/* Right-side fields anchor their popover to the right so it doesn't overflow the search bar */
.wbv-arc-search-field[data-wbv-da-field="guests"] .wbv-arc-popover { left: auto; right: 0; }
.wbv-arc-popover-list { display: flex; flex-direction: column; gap: 2px; }
.wbv-arc-popover-empty {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--wbv-arc-text-muted);
  font-style: italic;
}
.wbv-arc-popover-item {
  background: transparent;
  border: 0;
  text-align: left;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  color: var(--wbv-arc-text);
  transition: background 0.12s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Subtle hover */
.wbv-arc-popover-item:hover { background: #F8F5F0; }
/* Active state: keep neutral bg, add right-aligned checkmark instead of color fill */
.wbv-arc-popover-item.is-active {
  background: transparent;
  color: var(--wbv-arc-text);
  font-weight: 600;
}
.wbv-arc-popover-item.is-active::after {
  content: '✓';
  margin-left: auto;
  color: var(--wbv-arc-btn-bg);
  font-size: 14px;
  font-weight: 700;
}
.wbv-arc-popover-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--wbv-arc-btn-bg);
  opacity: 0.7;
}

/* ─── Stepper popover (Bestay-style, used by Guests) ─── */
.wbv-arc-popover--stepper { padding: 14px 16px; min-width: 240px; }
.wbv-arc-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wbv-arc-stepper-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--wbv-arc-text);
}
.wbv-arc-stepper-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.wbv-arc-stepper-btn {
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--wbv-arc-border, #EFEAE0);
  background: #fff;
  color: var(--wbv-arc-text);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color .15s, color .15s, background .15s;
}
.wbv-arc-stepper-btn:hover:not(:disabled) {
  border-color: var(--wbv-arc-btn-bg);
  color: var(--wbv-arc-btn-bg);
  background: #FCFAF6;
}
.wbv-arc-stepper-btn:disabled { opacity: .35; cursor: not-allowed; }
.wbv-arc-stepper-count {
  min-width: 24px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  color: var(--wbv-arc-text);
}

/* On mobile the popover should anchor center-ish below the bar, not flush left */
@media (max-width: 600px) {
  .wbv-arc-popover {
    left: 0; right: 0;
    width: auto;
    min-width: 0;
  }
}

/* ─────────── INFO SECTION (collapsible H2 blocks below the daily-archive grid) ───────────
   Native <details>/<summary> — no JS. First section .open by default in the HTML.
   FAQ section uses schema.org microdata for FAQPage rich-result eligibility.

   Twentytwentyfour wraps the page content in .is-layout-constrained which clamps
   children to --wp--style--global--content-size (620px). Override max-width with
   !important to break out and use our own 760px reading-width. The theme's
   margin-left/right: auto !important still apply, which is what we want for
   centering. */
.wbv-villas-info {
  max-width: 760px !important;
  margin: 56px auto !important;
  padding: 0 24px;
  font-family: var(--wbv-arc-font-body);
  color: var(--wbv-arc-text);
}
.wbv-villas-info-section {
  border-top: 1px solid var(--wbv-arc-divider);
}
.wbv-villas-info-section:last-child {
  border-bottom: 1px solid var(--wbv-arc-divider);
}
.wbv-villas-info-section summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.wbv-villas-info-section summary::-webkit-details-marker { display: none; }
.wbv-villas-info-section summary::marker { display: none; }
.wbv-villas-info-section summary:hover .wbv-villas-info-title { color: var(--wbv-arc-btn-bg); }
.wbv-villas-info-title {
  font-family: var(--wbv-arc-font-display);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 400;
  margin: 0;
  color: var(--wbv-arc-text);
  transition: color .15s ease;
}
.wbv-villas-info-icon {
  width: 12px; height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex-shrink: 0;
  margin-top: -4px;
  color: var(--wbv-arc-text);
}
.wbv-villas-info-section[open] .wbv-villas-info-icon {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.wbv-villas-info-body {
  padding: 0 0 28px;
  max-width: 760px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--wbv-arc-text-soft);
}
.wbv-villas-info-body p {
  margin: 0 0 14px;
}
.wbv-villas-info-body p:last-child { margin-bottom: 0; }
.wbv-villas-info-body h3 {
  font-family: var(--wbv-arc-font-display);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  color: var(--wbv-arc-text);
  margin: 26px 0 6px;
}
.wbv-villas-info-body h3:first-child { margin-top: 0; }
.wbv-villas-info-body ul,
.wbv-villas-info-body ol {
  margin: 8px 0 16px;
  padding-left: 22px;
}
.wbv-villas-info-body li {
  margin-bottom: 6px;
}
.wbv-villas-info-body strong {
  color: var(--wbv-arc-text);
  font-weight: 600;
}
.wbv-villas-info-body a {
  color: var(--wbv-arc-btn-bg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wbv-villas-info-body a:hover { color: var(--wbv-arc-btn-bg-hover); }
.wbv-villas-info-aside {
  margin-top: 20px !important;
  padding-top: 14px;
  border-top: 1px solid var(--wbv-arc-divider);
  font-size: 14px;
  color: var(--wbv-arc-text-muted);
}
/* FAQ items */
.wbv-villas-info-q { margin-bottom: 18px; }
.wbv-villas-info-q:last-child { margin-bottom: 0; }
.wbv-villas-info-q h3 { margin-top: 0; }

@media (max-width: 768px) {
  .wbv-villas-info { margin-top: 36px; padding: 0 16px; }
  .wbv-villas-info-section summary { padding: 18px 0; }
  .wbv-villas-info-title { font-size: 22px; }
  .wbv-villas-info-body { font-size: 15px; line-height: 1.65; padding-bottom: 22px; }
  .wbv-villas-info-body h3 { font-size: 18px; margin-top: 22px; }
}

/* ─────────── TOOLBAR (below hero) ─────────── */
.wbv-arc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 40px;
}
.wbv-arc-toolbar-actions { display: inline-flex; align-items: center; gap: 10px; }
.wbv-arc-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--wbv-arc-btn-bg);
  color: var(--wbv-arc-btn-bg);
  border-radius: var(--wbv-arc-radius-pill);
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
  text-decoration: none;
}
.wbv-arc-pill-btn:hover { background: #F4F0EA; }
.wbv-arc-pill-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.wbv-arc-pill-btn-caret { font-size: 11px; opacity: 0.7; }

.wbv-arc-count { font-size: 14px; color: var(--wbv-arc-text-soft); }
.wbv-arc-count strong { color: var(--wbv-arc-text); font-weight: 600; }

/* Sort dropdown menu — JS-injected after the Sort button */
.wbv-arc-sort-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  min-width: 220px;
  background: #fff;
  border: 0.5px solid var(--wbv-arc-divider);
  border-radius: var(--wbv-arc-radius-md);
  box-shadow: var(--wbv-arc-shadow-md);
  padding: 6px;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.wbv-arc-sort-menu button {
  background: transparent;
  border: 0;
  text-align: left;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  color: var(--wbv-arc-text);
  transition: background 0.12s ease;
}
.wbv-arc-sort-menu button:hover { background: #F4F0EA; }

/* ─────────── FILTER MODAL (centered, Airbnb-style) ───────────
   z-index 1190 backdrop / 1200 modal. Reusable: .wbv-arc-drawer-* classes
   work for both this archive and (future) LT/sale archives — name kept for
   markup compatibility. */
.wbv-arc-drawer-backdrop {
  position: fixed;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  background: rgba(45, 53, 48, 0.42);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1190;
  display: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}
.wbv-arc-drawer-backdrop.is-open { display: block; opacity: 1; }
/* The .wbv-arc-drawer modal itself also needs the same theme override
   (the theme constraint applies to ALL non-aligned siblings of the layout-constrained block). */
.wbv-arc-drawer {
  margin: 0 !important;
}

.wbv-arc-drawer {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 640px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 64px);
  background: #fff;
  z-index: 1200;
  border-radius: 16px;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  /* When closed, drawer must NOT intercept clicks (it's still in the DOM at flex display).
     Without this, the invisible drawer catches clicks meant for the date picker. */
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0.22s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 64px rgba(45,53,48,0.28);
  overflow: hidden;
}
.wbv-arc-drawer.is-open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

/* Mobile: full-screen sheet — slide up from bottom */
@media (max-width: 600px) {
  .wbv-arc-drawer {
    top: auto;
    left: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
  }
  .wbv-arc-drawer.is-open { transform: translateY(0); }
}
/* Reaffirm pointer-events override after the mobile transform rule, in case
   specificity flips it. */
.wbv-arc-drawer:not(.is-open) { pointer-events: none !important; }

.wbv-arc-drawer-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  padding: 22px 26px;
  border-bottom: 0.5px solid var(--wbv-arc-divider);
  position: sticky; top: 0; background: #fff; z-index: 1;
}
.wbv-arc-drawer-head-spacer { display: block; }
.wbv-arc-drawer-title {
  font-family: var(--wbv-font-display);
  font-weight: 500; font-size: 22px;
  color: var(--wbv-arc-text); margin: 0;
  letter-spacing: -0.01em;
  text-align: center;
}
.wbv-arc-drawer-close {
  background: transparent; border: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 22px; line-height: 0;
  color: var(--wbv-arc-text-soft); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.12s ease, color 0.12s ease;
}
.wbv-arc-drawer-close:hover { background: #F4F0EA; color: var(--wbv-arc-text); }

.wbv-arc-drawer-body {
  flex: 1 1 auto; overflow-y: auto; min-height: 0;
  padding: 24px 26px 28px;
}
.wbv-arc-drawer-section {
  padding: 28px 0 0;
}
.wbv-arc-drawer-section:first-child { padding-top: 4px; }
.wbv-arc-drawer-section:last-child  { padding-bottom: 28px; }
.wbv-arc-drawer-section h3 {
  font-family: var(--wbv-font-display);
  font-weight: 500; font-size: 16px;
  color: var(--wbv-arc-text);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.wbv-arc-drawer-sub {
  font-size: 13px;
  color: var(--wbv-arc-text-soft);
  margin: 0 0 18px;
}

.wbv-arc-drawer-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.wbv-arc-drawer-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  border: 1.5px solid #B8AFA1;          /* warmer, more visible outline */
  color: var(--wbv-arc-text);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.wbv-arc-drawer-chip:hover { background: #F8F5F0; border-color: var(--wbv-arc-btn-bg); }
.wbv-arc-drawer-chip.is-active {
  background: var(--wbv-arc-btn-bg);
  border-color: var(--wbv-arc-btn-bg);
  color: #fff;
}

/* ─────────── PRICE RANGE — slider + Min/Max input pair ─────────── */
.wbv-arc-range-wrap { padding: 4px 0 0; }

/* Min/Max input boxes below the slider */
.wbv-arc-range-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}
.wbv-arc-range-fields-sep {
  color: var(--wbv-arc-text-muted);
  font-weight: 400;
  user-select: none;
}
.wbv-arc-range-field {
  display: block;
  position: relative;
  border: 1.5px solid #B8AFA1;
  border-radius: 10px;
  padding: 10px 14px 8px;
  background: #fff;
  cursor: text;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wbv-arc-range-field:focus-within {
  border-color: var(--wbv-arc-btn-bg);
  box-shadow: 0 0 0 3px rgba(160,136,117,0.18);
}
.wbv-arc-range-field-label {
  display: block;
  font-size: 11px;
  color: var(--wbv-arc-text-muted);
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}
.wbv-arc-range-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--wbv-arc-text);
}

/* Slider track + dual range overlay
   Two <input type="range"> stacked on top of each other; both transparent,
   pointer-events on thumbs only. Visible track + fill rendered by sibling divs. */
.wbv-arc-range {
  position: relative;
  height: 36px;
}
.wbv-arc-range-track {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 4px;
  background: var(--wbv-arc-divider);
  border-radius: 999px;
  transform: translateY(-50%);
}
.wbv-arc-range-fill {
  position: absolute;
  top: 50%;
  height: 4px;
  background: var(--wbv-arc-btn-bg);
  border-radius: 999px;
  transform: translateY(-50%);
}

.wbv-arc-range input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 7px; left: 0;
  width: 100%;
  height: 36px;
  margin: 0;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}
.wbv-arc-range input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  height: 36px;
  border: 0;
}
.wbv-arc-range input[type="range"]::-moz-range-track {
  background: transparent;
  height: 36px;
  border: 0;
}
.wbv-arc-range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--wbv-arc-btn-bg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  cursor: grab;
  margin-top: 0;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.wbv-arc-range input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--wbv-arc-btn-bg);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  cursor: grab;
}
.wbv-arc-range input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.06); }
.wbv-arc-range input[type="range"]::-moz-range-thumb:active     { cursor: grabbing; transform: scale(1.06); }
.wbv-arc-range input[type="range"]:focus { outline: 0; }
.wbv-arc-range input[type="range"]:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 6px rgba(160,136,117,0.22);
}
.wbv-arc-range input[type="range"]:focus::-moz-range-thumb {
  box-shadow: 0 0 0 6px rgba(160,136,117,0.22);
}

/* ─────────── AMENITIES — 2-col checkbox grid ─────────── */
.wbv-arc-drawer-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}
.wbv-arc-drawer-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: var(--wbv-arc-text);
  padding: 4px 0;
  user-select: none;
}
.wbv-arc-drawer-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid #B8AFA1;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.wbv-arc-drawer-check input[type="checkbox"]:hover { border-color: var(--wbv-arc-btn-bg); }
.wbv-arc-drawer-check input[type="checkbox"]:checked {
  background-color: var(--wbv-arc-btn-bg);
  border-color: var(--wbv-arc-btn-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='2.5,7.5 5.5,10 11,4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 14px 14px;
}
@media (max-width: 600px) {
  .wbv-arc-drawer-checks { grid-template-columns: 1fr; }
}
.wbv-arc-drawer-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 26px;
  border-top: 0.5px solid var(--wbv-arc-divider);
  position: sticky; bottom: 0; background: #fff; z-index: 1;
}
.wbv-arc-drawer-reset {
  background: transparent;
  border: 0;
  color: var(--wbv-arc-text);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 12px 4px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.12s ease;
}
.wbv-arc-drawer-reset:hover { color: var(--wbv-arc-btn-bg); }
.wbv-arc-drawer-apply {
  background: var(--wbv-arc-btn-grad);
  color: #fff;
  border: 0;
  padding: 14px 28px;
  border-radius: var(--wbv-arc-radius-pill);
  font: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
}
.wbv-arc-drawer-apply:hover {
  background: var(--wbv-arc-btn-grad-hover);
  transform: translateY(-1px);
}

/* (Mobile rules for the drawer/modal are already inside the main modal block above) */

/* ─────────── DATE PICKER MOUNT — centered modal ───────────
   Defines the picker's color tokens directly (it lives outside .wbv-arc and
   the detail-page [data-palette="tropical"] block, so vars wouldn't otherwise
   reach .litepicker's day-cell rules in wbv-picker.css). */
.wbv-arc-date-picker-mount {
  --wbv-cta:        #a08875;
  --wbv-cta-hover:  #8e7765;
  --wbv-text:       #2D3530;
  --wbv-text-soft:  #6E7872;
  --wbv-text-muted: #9CA39C;
  --wbv-divider:    #DDE4DC;
  --wbv-bg:         #FBFAF6;

  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  padding: 20px;
  z-index: 2000;  /* Above mobile sheet (1300) so picker overlays correctly. */
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 64px);
  overflow: auto;
}
.wbv-picker-backdrop { z-index: 1990 !important; }

/* Picker top-right close X — push it up + right so it clears the next-month arrow.
   Native (wbv-picker.css): position: absolute; top: 12px; right: 12px.
   Don't override position — it'd drop the X into normal flow at the bottom. */
.wbv-arc-date-picker-mount .wbv-picker-close-x {
  top: 4px !important;
  right: 4px !important;
}
/* Picker month-nav row — give it some right-padding so the next-month arrow
   doesn't crowd into the close-X region at top-right. */
.wbv-arc-date-picker-mount .litepicker .month-item-header {
  padding-right: 28px;
}
.wbv-arc-date-picker-mount[hidden] { display: none; }

/* Make the picker backdrop visible at all sizes (default is mobile-only) */
.wbv-picker-backdrop { display: block !important; }
.wbv-picker-backdrop[hidden] { display: none !important; }

/* Date picker footer — Clear on left, Confirm right (archive only).
   Detail page keeps the global flex-end alignment. */
.wbv-arc-date-picker-mount .wbv-picker-footer {
  justify-content: space-between;
}
/* Confirm button — make it a real CTA so it's visible.
   Mount sits on document.body so CSS vars from .wbv-arc don't reach it — use literal colors. */
.wbv-arc-date-picker-mount .wbv-picker-close {
  background: linear-gradient(180deg, color-mix(in srgb, #a08875 100%, white 12%) 0%, #a08875 100%) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  border: 0;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
}
.wbv-arc-date-picker-mount .wbv-picker-close:hover {
  background: linear-gradient(180deg, #a08875 0%, color-mix(in srgb, #a08875 100%, black 12%) 100%) !important;
  transform: translateY(-1px);
}
/* Clear dates link — left, soft underline */
.wbv-arc-date-picker-mount .wbv-picker-clear {
  color: #6E7872 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* ─────────── VILLA GRID + CARD ─────────── */
.wbv-arc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* Empty state — when no villas match filters */
.wbv-arc-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 56px 24px;
  text-align: center;
}
.wbv-arc-empty-text {
  margin: 0;
  font-size: 15px;
  color: var(--wbv-arc-text-soft);
}
.wbv-arc-empty-reset {
  background: linear-gradient(180deg, color-mix(in srgb, #a08875 100%, white 12%) 0%, #a08875 100%);
  color: #fff;
  border: 0;
  padding: 12px 26px;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.15s ease;
}
.wbv-arc-empty-reset:hover {
  background: linear-gradient(180deg, #a08875 0%, color-mix(in srgb, #a08875 100%, black 12%) 100%);
  transform: translateY(-1px);
}

.wbv-arc-card {
  background: #fff;
  border: 0.5px solid var(--wbv-arc-divider);
  border-radius: var(--wbv-arc-radius-md);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.wbv-arc-card:hover { transform: translateY(-3px); box-shadow: var(--wbv-arc-shadow-md); }

.wbv-arc-card-img {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #C8B89E 0%, #8FA890 100%);
  overflow: hidden;
}
.wbv-arc-card-img img { width: 100%; height: 100%; object-fit: cover; }

.wbv-arc-card-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: rgba(255,255,255,0.92);
  color: var(--wbv-arc-text);
  padding: 3px 9px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.wbv-arc-card-badge.is-rating .star { color: var(--wbv-arc-btn-bg); }
.wbv-arc-card-badge.is-new {
  background: rgba(216,229,218,0.95);
  color: var(--wbv-arc-pill-mint-text);
}

.wbv-arc-card-pagination {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 5px;
}
.wbv-arc-card-pagination span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
}
.wbv-arc-card-pagination span.is-active { background: rgba(255,255,255,1); }

.wbv-arc-card-body { padding: 18px 22px 14px; }
.wbv-arc-card-name {
  font-family: var(--wbv-font-display);
  font-weight: 500;
  font-size: 18px;
  color: var(--wbv-arc-text);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.wbv-arc-card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--wbv-arc-text-soft);
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wbv-arc-card-meta {
  font-size: 12px;
  color: var(--wbv-arc-text-soft);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.wbv-arc-card-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.wbv-arc-card-meta-item svg {
  width: 15px; height: 15px;
  color: var(--wbv-arc-btn-bg);
  opacity: 0.85;
  flex-shrink: 0;
}

.wbv-arc-card-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.wbv-arc-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.wbv-arc-card-pill svg { width: 13px; height: 13px; flex-shrink: 0; }
.wbv-arc-card-pill.is-mint  { background: var(--wbv-arc-pill-mint);  color: var(--wbv-arc-pill-mint-text); }
.wbv-arc-card-pill.is-peach { background: var(--wbv-arc-pill-peach); color: var(--wbv-arc-pill-peach-text); }
.wbv-arc-card-pill.is-sky   { background: var(--wbv-arc-pill-sky);   color: var(--wbv-arc-pill-sky-text); }

.wbv-arc-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 0.5px solid var(--wbv-arc-divider);
}
.wbv-arc-card-price {
  font-size: 14px;
  color: var(--wbv-arc-text-soft);
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.wbv-arc-card-price strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--wbv-arc-text);
}
.wbv-arc-card-price small { font-size: 12px; color: var(--wbv-arc-text-soft); font-weight: 400; }

.wbv-arc-card-arrow {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 0.5px solid var(--wbv-arc-divider);
  color: var(--wbv-arc-btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.wbv-arc-card:hover .wbv-arc-card-arrow {
  background: var(--wbv-arc-btn-bg);
  color: #fff;
  transform: translateX(2px);
}
.wbv-arc-card-arrow svg { width: 14px; height: 14px; }

/* ─────────── TABLET (2-col grid kicks in below 1024 — cards stay legible) ─────────── */
@media (max-width: 1024px) {
  .wbv-arc-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ─────────── Mobile search sheet (Bestay-style) ───────────
   Hidden on desktop. At ≤900px the desktop search row is hidden, replaced
   by a single summary button. Tap → opens a 70vh sheet from the bottom
   with a blurry backdrop. The sheet wraps the existing search row, so the
   location popover, date picker, and guests popover keep all their JS. */

.wbv-arc-search-mobile-summary { display: none; }
.wbv-arc-search-sheet-header   { display: none; }
.wbv-arc-mobile-sheet-backdrop { display: none; }
.wbv-arc-search-btn-label      { display: none; }

/* Search/hero/filter compactions kick in at the smaller 900px breakpoint */
@media (max-width: 900px) {
  .wbv-arc { padding: 0 0 32px; }
  .wbv-arc-wrap { padding: 0 16px; }
  /* Doubled class = higher specificity, so we win over main CSS's
     @media (max-width: 768px) `.wbv-arc-hero { padding: 90px 20px 80px }`
     in the 601-900px overlap zone. */
  .wbv-arc-hero.wbv-arc-hero { min-height: 380px; padding: 40px 20px 40px; }
  /* h1/p font-sizes now driven by clamp() in base rule (unified 2026-04-30) */
  .wbv-arc-hero p { margin-bottom: 24px; }
  .wbv-arc-hero-toplink { top: 12px; right: 12px; padding: 4px 12px; font-size: 12px; }
  .wbv-arc-pill-btn { padding: 10px 14px; font-size: 13px; }
  .wbv-arc-pill-btn-label { display: none; }

  /* Picker needs extra top space on mobile so the close-X doesn't overlap the
     month-nav arrows. Combined with the desktop nudges to top:4 / right:4. */
  .wbv-arc-date-picker-mount {
    padding-top: 38px;
  }

  /* Tighten the theme's global side padding on mobile (default is large via
     --wp--style--root--padding-right/left). Cards + grid get more room. */
  .has-global-padding {
    padding-right: 15px !important;
    padding-left: 15px !important;
  }

  /* --- Mobile summary button (visible by default, takes the search row's place) --- */
  .wbv-arc-search-mobile-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--wbv-arc-border, rgba(255,255,255,0));
    border-radius: 999px;
    padding: 12px 8px 12px 22px;
    box-shadow: var(--wbv-arc-shadow-md, 0 4px 16px rgba(45,53,48,.10));
    cursor: pointer;
    text-align: left;
    color: var(--wbv-arc-text);
    font-family: inherit;
  }
  .wbv-arc-search-mobile-summary:hover { background: #FCFAF6; }
  .wbv-arc-mss-text  { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
  .wbv-arc-mss-title { font-size: 16px; font-weight: 600; color: var(--wbv-arc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wbv-arc-mss-sub   { font-size: 13px; color: var(--wbv-arc-text-soft, #6E7872); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .wbv-arc-mss-icon  {
    width: 40px; height: 40px;
    border-radius: 999px;
    background: var(--wbv-arc-btn-grad, var(--wbv-arc-btn-bg));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .wbv-arc-mss-icon svg { width: 18px; height: 18px; }

  /* --- Hide the desktop search bar by default on mobile --- */
  .wbv-arc-search { display: none; }

  /* --- Backdrop element exists, hidden by default. Lives on document.body
         (moved there by JS) so it overlays the whole page. --- */
  .wbv-arc-mobile-sheet-backdrop {
    display: block;
    position: fixed; inset: 0;
    background: rgba(45, 53, 48, .35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    z-index: 1290;
    transition: opacity .25s ease;
  }

  /* --- When sheet is open (body class set by JS) --- */
  body.wbv-arc-mobile-sheet-open .wbv-arc-mobile-sheet-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
  body.wbv-arc-mobile-sheet-open .wbv-arc-search {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    grid-template-columns: none;
    gap: 12px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    top: auto;
    width: 100%;
    height: 72vh;
    height: 72dvh;
    min-height: 490px;
    max-width: none;
    border-radius: 20px 20px 0 0;
    background: #fff;
    box-shadow: 0 -8px 32px rgba(45,53,48,.18);
    padding: 0 16px 20px;
    overflow-y: auto;
    z-index: 1300;
    border: none;
    box-sizing: border-box;
    transform: translateY(0);
    opacity: 1;
    transition: transform .28s cubic-bezier(.2, .9, .3, 1), opacity .28s ease;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  /* Slide-up animation states (set via JS, double-rAF pattern):
     entering = positioned off-screen (the start of the slide)
     open     = onscreen (default — the rules above set transform: translateY(0))
     closing  = sliding back down (off-screen + fading) */
  body.wbv-arc-mobile-sheet-open .wbv-arc-search[data-state="entering"],
  body.wbv-arc-mobile-sheet-open .wbv-arc-search[data-state="closing"] {
    transform: translateY(100%);
    opacity: 0;
  }
  body.wbv-arc-mobile-sheet-open .wbv-arc-search * { box-sizing: border-box; }
  /* Lock body more aggressively while sheet is open — fixes the page-behind scroll on mobile */
  body.wbv-arc-mobile-sheet-locked {
    position: fixed;
    width: 100%;
    overflow: hidden;
  }
  /* Sheet header — relative for absolute close button, sticky for scroll. */
  body.wbv-arc-mobile-sheet-open .wbv-arc-search-sheet-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #fff;
    z-index: 2;
    padding: 18px 16px 14px;
    border-bottom: 1px solid var(--wbv-arc-border, #EFEAE0);
    margin: 0 -16px 16px;
    min-height: 52px;
  }
  .wbv-arc-search-sheet-title { font-weight: 700; font-size: 16px; color: var(--wbv-arc-text, #2D3530); }
  .wbv-arc-search-sheet-close {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    border: none;
    background: transparent;
    color: var(--wbv-arc-text, #2D3530);
    cursor: pointer;
    border-radius: 999px;
    display: inline-flex; align-items: center; justify-content: center;
  }
  .wbv-arc-search-sheet-close:hover { background: #F4F0EA; }
  .wbv-arc-search-sheet-close svg   { width: 16px; height: 16px; }

  /* All 4 fields visible inside the sheet (override is-mobile-hidden).
     CSS grid: icon | content | clear, with popover spanning full width below. */
  body.wbv-arc-mobile-sheet-open .wbv-arc-search-field,
  body.wbv-arc-mobile-sheet-open .wbv-arc-search-field.is-mobile-hidden {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
    width: 100%;
    border: 1px solid var(--wbv-arc-border, #EFEAE0);
    border-radius: 14px;
    padding: 14px 16px;
    min-height: 60px;
    background: #fff;
  }
  body.wbv-arc-mobile-sheet-open .wbv-arc-search-field:not(:last-child)::after { display: none; }
  /* Children placement */
  body.wbv-arc-mobile-sheet-open .wbv-arc-search-field > svg {
    grid-column: 1; grid-row: 1;
    width: 20px; height: 20px;
    color: var(--wbv-arc-btn-bg, #a08875);
  }
  body.wbv-arc-mobile-sheet-open .wbv-arc-search-input,
  body.wbv-arc-mobile-sheet-open .wbv-arc-search-placeholder {
    grid-column: 2; grid-row: 1;
    min-width: 0;
    width: 100%;
  }
  body.wbv-arc-mobile-sheet-open .wbv-arc-search-clear { grid-column: 3; grid-row: 1; }
  /* Popover: spans all 3 columns, on its own row below the input row */
  body.wbv-arc-mobile-sheet-open .wbv-arc-popover {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 10px;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
  }
  body.wbv-arc-mobile-sheet-open .wbv-arc-popover-list {
    border: 1px solid var(--wbv-arc-border, #EFEAE0);
    border-radius: 12px;
    background: #fff;
  }
  /* Stepper popover (Guests) needs its own background since it doesn't have a popover-list */
  body.wbv-arc-mobile-sheet-open .wbv-arc-popover--stepper {
    border: 1px solid var(--wbv-arc-border, #EFEAE0);
    border-radius: 12px;
    background: #fff;
    padding: 14px 16px;
  }
  /* Search button → full-width primary CTA */
  body.wbv-arc-mobile-sheet-open .wbv-arc-search-btn {
    width: 100%;
    height: 52px;
    border-radius: 999px;
    margin-top: 4px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .02em;
    gap: 8px;
    flex-direction: row;
    flex: 0 0 52px;
  }
  body.wbv-arc-mobile-sheet-open .wbv-arc-search-btn-label { display: inline; }

  /* Lock body scroll while sheet is open */
  body.wbv-arc-mobile-sheet-locked { overflow: hidden; }
}
@media (max-width: 600px) {
  .wbv-arc-grid { grid-template-columns: 1fr; gap: 18px; }
  /* Doubled class for specificity (see 900px @media note above). */
  .wbv-arc-hero.wbv-arc-hero { min-height: 340px; padding: 32px 18px 32px; }
  /* h1 font-size driven by clamp() in base rule (unified 2026-04-30) */
  .wbv-arc-hero p { font-size: 14px; margin-bottom: 20px; }
  .wbv-arc-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .wbv-arc-toolbar-actions { width: 100%; justify-content: space-between; }
}
