/* Vacayum: accessibility basics, cookie choices, information pages (FAQ, how it works, cancellation),
   and the "Before you book" panel. Loaded after vacayum.css on every page. */
:root {
  /* Text colour for the brand colour on a pale tint (ratio 4.5:1 or better); follows the brand colour setting */
  --vy-accent-ink: #B23000;
}
@supports (color: color-mix(in srgb, red, black)) {
  :root { --vy-accent-ink: color-mix(in srgb, var(--vy-accent) 80%, #000); }
}

/* ---------- skip link ---------- */
.vy-skip {
  position: absolute; left: 12px; top: -64px; z-index: 200; padding: 12px 18px; border-radius: 10px;
  background: var(--vy-ink, #10262B); color: #fff; font: 600 15px/1 var(--vy-body, system-ui, sans-serif); text-decoration: none;
  transition: top .15s ease;
}
.vy-skip:focus { top: 12px; outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--vy-accent, #D93A00); }
#main:focus, [id="main"]:focus { outline: none; }

/* ---------- visible keyboard focus everywhere ---------- */
html body :is(a, button, input, select, textarea, summary, [tabindex], [role="button"]):focus-visible {
  outline: 3px solid var(--vy-accent-ink, #B23000) !important;
  outline-offset: 2px !important;
  border-radius: 6px;
}
html body :is(.vy-footer, .vy-consent, .vy-skip, .vy-header--over:not(.is-solid)) :is(a, button, input, select, textarea, summary):focus-visible { outline-color: currentColor !important; }
html body .vy-consent :is(a, button, input):focus-visible { outline-color: #fff !important; }

/* ---------- accent text on tinted backgrounds: darker so it stays readable ---------- */
.vy-why__ic, .vy-review__avatar, .vy-pay__ic, .vy-host__avatar, .vy-home-alert a, .vy-home-alert strong,
.vy-dests__cta a:not(.vy-btn), .vs-tip a, .vy-chip-link.is-active, .vy-count-pill {
  color: var(--vy-accent-ink);
}
.vy-btn, .vy-count-pill { text-shadow: none; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

/* ---------- cookie choices ---------- */
.vy-consent {
  position: fixed; z-index: 120; left: 16px; bottom: 16px; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  padding: 20px; border-radius: 18px; background: var(--vy-ink, #10262B); color: #fff; box-shadow: var(--vy-shadow, 0 18px 40px -18px rgba(16, 38, 43, .5));
  font: 15px/1.5 var(--vy-body, system-ui, sans-serif);
}
.vy-consent[hidden] { display: none !important; }
.vy-consent:focus { outline: none; }
.vy-consent h2 { margin: 0 0 8px; font: 600 18px/1.2 var(--vy-display, inherit); letter-spacing: -.01em; color: #fff; }
.vy-consent p { margin: 0; color: rgba(255, 255, 255, .86); }
.vy-consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.vy-consent__choose { margin-top: 14px; display: grid; gap: 10px; }
.vy-consent__row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); cursor: pointer; }
.vy-consent__row input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #fff; }
.vy-consent__row small { display: block; color: rgba(255, 255, 255, .78); font-size: 13.5px; }
.vy-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.vy-consent__actions .vy-btn { flex: 1 1 auto; justify-content: center; text-align: center; padding: 12px 16px; font-size: 15px; background: #fff; color: var(--vy-ink, #10262B) !important; border: 1px solid #fff; cursor: pointer; }
.vy-consent__actions .vy-btn:hover { background: #E8EEED; }
.vy-consent__actions .vy-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.vy-consent__actions .vy-btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.vy-consent__actions [hidden] { display: none !important; }
@media (max-width: 560px) {
  .vy-consent { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 16px; border-radius: 16px; }
}
/* A slim bar on wide screens, a compact card on phones; the page gets room at the bottom while it is open, so nothing is hidden behind it */
body.vy-consent-open { padding-bottom: var(--vy-consent-h, 0px); }
@media (min-width: 761px) {
  .vy-consent { left: 16px; right: 16px; bottom: 12px; width: auto; max-width: 1180px; margin: 0 auto; padding: 14px 18px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
  .vy-consent h2 { display: none; }
  .vy-consent > p, .vy-consent > div:first-of-type:not([data-consent-choose]) { flex: 1 1 420px; font-size: 14px; line-height: 1.45; }
  .vy-consent__actions { margin-top: 0; flex: 0 0 auto; flex-wrap: nowrap; }
  .vy-consent__actions .vy-btn { padding: 9px 16px; font-size: 14px; white-space: nowrap; flex: 0 0 auto; }
  .vy-consent__choose { flex: 1 1 100%; }
}
@media (max-width: 760px) {
  .vy-consent { padding: 12px 14px; font-size: 13.5px; line-height: 1.4; }
  .vy-consent h2 { font-size: 15px; margin-bottom: 4px; }
  .vy-consent__actions { margin-top: 10px; gap: 6px; }
  .vy-consent__actions .vy-btn { flex-basis: auto; padding: 9px 12px; font-size: 14px; }
}
/* The footer "Cookie settings" button looks like the other footer links */
.vy-linkbtn { appearance: none; background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.vy-linkbtn:hover { color: var(--vy-accent-ink, #B23000); }

/* ---------- information pages (FAQ, how it works, cancellation) ---------- */
.vy-doc .vy-lede { font-size: 19px !important; line-height: 1.6 !important; color: var(--vy-muted, #5A6B6E) !important; max-width: 62ch; margin: 0 0 8px; }
.vy-doc .vy-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.vy-doc .vy-toc a { display: inline-block; padding: 8px 14px; border: 1px solid var(--vy-line, #DCE3E1); border-radius: 999px; font: 500 14.5px/1.2 var(--vy-body); color: var(--vy-ink); text-decoration: none; background: var(--vy-surface, #fff); }
.vy-doc .vy-toc a:hover { border-color: var(--vy-accent); color: var(--vy-accent-ink); }
.vy-doc .vy-qa { border-bottom: 1px solid var(--vy-line, #DCE3E1); }
.vy-doc .vy-qa summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 600 17.5px/1.35 var(--vy-body); color: var(--vy-ink); }
.vy-doc .vy-qa summary::-webkit-details-marker { display: none; }
.vy-doc .vy-qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.vy-doc .vy-qa[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.vy-doc .vy-qa__a { padding: 0 0 20px; }
.vy-doc .vy-qa__a p, .vy-doc .vy-qa__a li { margin: 0 0 10px !important; }
.vy-doc .vy-qa__a ul { padding-left: 20px; margin: 0 0 10px; }
.vy-doc .vy-steps-list { counter-reset: step; display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.vy-doc .vy-steps-list li { counter-increment: step; position: relative; padding: 22px 22px 22px 76px; border: 1px solid var(--vy-line, #DCE3E1); border-radius: var(--vy-radius, 18px); background: var(--vy-surface, #fff); }
.vy-doc .vy-steps-list li::before { content: counter(step); position: absolute; left: 22px; top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--vy-accent-soft, #FFE9DF); color: var(--vy-accent-ink, #B23000); font: 700 18px/1 var(--vy-display); }
.vy-doc .vy-steps-list h2, .vy-doc .vy-steps-list h3 { margin: 0 0 6px !important; font-size: 20px; }
.vy-doc .vy-steps-list p { margin: 0 !important; }
.vy-doc .vy-callout { margin: 28px 0; padding: 20px 22px; border-radius: var(--vy-radius, 18px); background: var(--vy-accent-soft, #FFE9DF); color: var(--vy-ink); }
.vy-doc .vy-callout p { margin: 0 0 8px !important; }
.vy-doc .vy-callout p:last-child { margin-bottom: 0 !important; }
.vy-doc .vy-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; }
.vy-doc .vy-cta-row a { text-decoration: none; }
.vy-doc table.vy-cookies { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.vy-doc table.vy-cookies th, .vy-doc table.vy-cookies td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--vy-line, #DCE3E1); }
.vy-doc table.vy-cookies th { font-weight: 600; background: var(--vy-ground, #F4F6F5); }
.vy-doc .vy-table-wrap { overflow-x: auto; }

/* ---------- "Before you book" on the villa page ---------- */
.vy-trust { margin: 14px 0 0; padding: 16px 18px; border: 1px solid var(--vy-line, #DCE3E1); border-radius: var(--vy-radius, 18px); background: var(--vy-surface, #fff); font-size: 14.5px; line-height: 1.5; }
.vy-trust h2 { margin: 0 0 10px; font: 600 16px/1.2 var(--vy-display); letter-spacing: -.01em; }
.vy-trust ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.vy-trust li { position: relative; padding-left: 24px; color: var(--vy-ink); }
.vy-trust li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 7px; height: 12px; border: solid var(--vy-sea, #0B6E74); border-width: 0 2px 2px 0; transform: rotate(45deg) translateY(-30%); }
.vy-trust p { margin: 12px 0 0; color: var(--vy-muted, #5A6B6E); font-size: 13.5px; }
.vy-trust a { color: var(--vy-accent-ink, #B23000); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- automatic SEO / answer content ---------- */
.vy-capsule { font-size: 1.06rem; line-height: 1.55; color: var(--vy-ink); max-width: 70ch; margin: 0 0 22px; }
.vy-keyfacts { width: 100%; max-width: 640px; border-collapse: collapse; background: var(--vy-surface); border: 1px solid var(--vy-line); border-radius: 14px; overflow: hidden; }
.vy-keyfacts th, .vy-keyfacts td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--vy-line); vertical-align: top; }
.vy-keyfacts tr:last-child th, .vy-keyfacts tr:last-child td { border-bottom: 0; }
.vy-keyfacts th { width: 38%; font-weight: 600; color: var(--vy-muted); }
.vy-updated { color: var(--vy-muted); font-size: .92rem; margin-top: 28px; margin-bottom: 96px; }
.vy-updated a { text-decoration: underline; }
.vy-place-lede { font-size: 1.06rem; max-width: 70ch; margin: 0 0 18px; }
.vy-footer .vy-footer__h { font: 600 13px/1 var(--vy-body); letter-spacing: .1em; text-transform: uppercase; color: var(--vy-muted); margin: 0 0 14px; }

/* ---------- comfortable tap targets on phones (48px) ---------- */
@media (max-width: 768px) {
  .vy-footer__links a, .vy-footer__links .vy-linkbtn, .vy-crumbs a, .vy-chip-link, .vy-link-arrow, .vy-pagination .vy-page, .vy-updated a, .vy-faq summary { display: inline-flex; align-items: center; min-height: 48px; }
  .vy-footer__links a, .vy-footer__links .vy-linkbtn { padding-block: 4px; }
  .vy-faq summary { display: flex; }
}

/* Short paragraphs need room between them: steps, destination text, answers */
.vy-doc .vy-steps-list p + p { margin-top: 8px !important; }
.vy-place-intro .vy-capsule { margin-bottom: 18px !important; }
.vy-doc .vy-policy p, .vy-doc .vy-qa__a p { margin-bottom: 12px !important; }
