/* Brand colors of the site (the theme is where Grav sites keep them) */
:root { --color-primary: #1b2c66; --color-accent: #f8c200; }

/* Brand colors come from /brand.css (site settings). */
:root {
    /* --color-primary and --color-accent come from /brand.css (site settings). */
    --color-text: #1f2430;
    --color-heading: var(--color-primary);
    --color-link: var(--color-primary);
    --color-muted: #4b5266;
    --color-surface: rgba(255, 255, 255, 0.8);
    --color-surface-alt: rgba(255, 255, 255, 0.62);
    --color-border: rgba(27, 44, 102, 0.16);
    --sky-top: #1478d9;
    --sky-bottom: #8fd3ff;
    color-scheme: light dark;
    --radius: 14px;
    --gutter: 1rem;
    --max-width: 72rem;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Light and dark themes follow the visitor's browser or system preference, fixed or automatic. */
@media (prefers-color-scheme: dark) {
    :root {
        --color-text: #e8ecf8;
        --color-heading: #ffffff;
        --color-link: var(--color-accent);
        --color-muted: #aab3d3;
        --color-surface: rgba(12, 20, 55, 0.66);
        --color-surface-alt: rgba(12, 20, 55, 0.5);
        --color-border: rgba(255, 255, 255, 0.16);
        --sky-top: #050a24;
        --sky-bottom: #0f1b4d;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--sky-top) linear-gradient(180deg, var(--sky-top), var(--sky-bottom)) fixed;
    min-height: 100vh;
    transition: color 0.6s;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-link); text-underline-offset: 0.2em; }
h1, h2, h3 { line-height: 1.2; color: var(--color-heading); text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); margin: 1.5rem 0 1rem; }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin: 2rem 0 0.75rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 0.5rem; }

.container { width: 100%; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 48rem; }
.prose iframe { width: 100%; border: 0; border-radius: var(--radius); }
.prose ul { padding-left: 1.2rem; }

/* Buttons */
.button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: none;
    border: 0;
}
.button:hover { filter: brightness(0.95); }
.button-light { background: rgba(255, 255, 255, 0.9); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--sky-top) 88%, transparent); backdrop-filter: blur(10px); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18), 0 6px 18px rgba(0, 0, 0, 0.12); }
.site-header-bar { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.site-logo { flex: none; }
.site-name { font-size: 1.35rem; font-weight: 800; color: var(--color-heading); line-height: 1.1; }
.site-logo { text-decoration: none; }
.site-logo img { height: 2.5rem; width: auto; max-width: none; }
.nav-toggle { display: none; }
.nav-toggle-label { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; cursor: pointer; }
.nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after {
    display: block; width: 1.5rem; height: 2px; background: #fff; content: ""; position: relative;
}
.nav-toggle-label span::before { position: absolute; top: -7px; }
.nav-toggle-label span::after { position: absolute; top: 7px; }
.site-nav {
    display: none;
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; gap: 0.25rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--sky-top);
}
.nav-toggle:checked ~ .site-nav { display: flex; }
.site-nav a:not(.button) { padding: 0.5rem 0; color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.site-nav a.is-current { box-shadow: inset 0 -3px var(--color-accent); }
.site-nav .button { text-align: center; margin-top: 0.5rem; }

@media (min-width: 60rem) {
    .nav-toggle-label { display: none; }
    .site-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.5rem); padding: 0; border: 0; background: transparent; }
    .site-nav .button { margin: 0; }
}

/* The Book button repeats the Tarifs entry: keep it only where there is room */
@media (min-width: 60rem) and (max-width: 74.99rem) {
    .site-nav .button { display: none; }
    .site-nav { gap: clamp(0.75rem, 1.4vw, 1.25rem); font-size: 0.95rem; }
}

/* Hero */
.hero { position: relative; display: grid; min-height: 26rem; overflow: hidden; color: #fff; background: var(--color-primary); }
.hero > * { grid-area: 1 / 1; }
.hero::after { content: ""; grid-area: 1 / 1; background: linear-gradient(to top, rgba(10, 20, 55, 0.85), rgba(10, 20, 55, 0.35) 75%); }
.hero-video { position: relative; overflow: hidden; pointer-events: none; }
.hero-video iframe {
    position: absolute; top: 50%; left: 50%; border: 0;
    width: max(100%, 177.78vh); height: max(100%, 56.25vw);
    transform: translate(-50%, -50%);
}
.hero-text { position: relative; z-index: 1; align-self: end; padding-bottom: 2.5rem; }
.hero h1 { color: #fff; margin-top: 0; }
.hero p { font-size: 1.2rem; max-width: 36rem; }
@media (prefers-reduced-motion: reduce) { .hero-video iframe, .hero-sound { display: none; } }
@media (min-width: 60rem) { .hero { min-height: 34rem; } }

/* Cards */
.section-title { margin-top: 2.5rem; }
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); margin: 1.5rem 0 2.5rem; }
.cards-small { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.card { display: block; border-radius: var(--radius); overflow: hidden; background: var(--color-surface); text-decoration: none; color: var(--color-text); border: 1px solid var(--color-border); backdrop-filter: blur(8px); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-title { display: block; padding: 0.75rem 1rem; font-weight: 700; color: var(--color-heading); }
.card:hover { border-color: var(--color-accent); }

/* Content */
.lead-image img { border-radius: var(--radius); width: 100%; }
.gallery { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 0.5rem; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); }
.gallery img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.count { color: var(--color-muted); }

/* Footer */
.site-footer { margin-top: 4rem; padding: 2.5rem 0; background: color-mix(in srgb, var(--sky-bottom) 70%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--color-border); color: var(--color-text); font-size: 0.95rem; }
.site-footer h2 { color: var(--color-heading); font-size: 1.2rem; margin-top: 0; }
.site-footer-grid { display: grid; gap: 2rem; }
.site-footer .legal { color: var(--color-muted); font-size: 0.85rem; }
@media (min-width: 48rem) { .site-footer-grid { grid-template-columns: 1fr 1fr 2fr; } }

/* Booking bar */
.booking-bar {
    display: grid; gap: 0.75rem; grid-template-columns: 1fr 1fr; align-items: end;
    margin-top: 1rem; position: relative; z-index: 2;
    padding: 1rem; border-radius: var(--radius); background: var(--color-surface); backdrop-filter: blur(10px);
    border: 1px solid var(--color-border); box-shadow: 0 8px 24px rgba(20, 30, 70, 0.12);
}
.booking-bar label { display: grid; gap: 0.25rem; font-size: 0.85rem; font-weight: 600; color: var(--color-muted); }
.booking-bar input { font: inherit; color: #1f2430; padding: 0.55rem 0.7rem; border: 1px solid var(--color-border); border-radius: 8px; width: 100%; background: #fff; }
.booking-bar .button { grid-column: 1 / -1; cursor: pointer; }
.offers { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); margin: 2rem 0; }
.offer { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-border); backdrop-filter: blur(8px); }
.offer-photos { display: flex; aspect-ratio: 3 / 2; }
.offer-photos img { flex: 1 1 0; min-width: 0; height: 100%; object-fit: cover; }
.offer-body { display: grid; gap: 0.5rem; padding: 1rem 1.25rem 1.25rem; }
.offer-body h2 { margin: 0; font-size: 1.1rem; }
.offer-price { margin: 0; font-size: 1.5rem; font-weight: 800; color: var(--color-heading); }
.offer-was { margin-right: 0.35rem; font-size: 0.9rem; font-weight: 400; color: var(--color-muted); }
.offer-detail { margin: 0; color: var(--color-muted); font-size: 0.9rem; }
/* Reservation form: two columns, every field as wide as its column, a space between them */
.contact-form { display: grid; gap: 1rem 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 48rem; margin: 1.5rem 0; }
@media (max-width: 36rem) { .contact-form { grid-template-columns: minmax(0, 1fr); } }
.contact-form label { display: grid; gap: 0.3rem; align-content: start; min-width: 0; font-weight: 600; }
.contact-form [hidden] { display: none; }
.contact-form input, .contact-form textarea, .contact-form select { box-sizing: border-box; width: 100%; min-width: 0; font: inherit; color: #1f2430; padding: 0.65rem 0.8rem; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; }
.contact-form .wide, .contact-form .modes { grid-column: 1 / -1; }
/* The country list (Tom Select) looks like the other fields */
.contact-form .ts-wrapper { width: 100%; }
.contact-form .ts-control { box-sizing: border-box; flex-wrap: nowrap; align-items: center; min-height: 0; padding: 0.65rem 0.8rem; font: inherit; color: #1f2430; border: 1px solid var(--color-border); border-radius: 8px; background: #fff; box-shadow: none; }
.contact-form .ts-control input { flex: 1 1 0; min-width: 0; margin: 0; font: inherit; color: #1f2430; padding: 0; border: 0; }
.contact-form .ts-wrapper.single .ts-control .item { flex: 0 1 auto; max-width: 100%; margin: 0; }
.contact-form .ts-wrapper.focus .ts-control { border-color: var(--color-accent); box-shadow: none; }
.contact-form .ts-dropdown { z-index: 20; margin-top: 0.25rem; border: 1px solid var(--color-border); border-radius: 8px; font: inherit; color: #1f2430; }
.contact-form .ts-dropdown .optgroup-header { display: none; }
.contact-form .ts-dropdown .optgroup + .optgroup { border-top: 1px solid var(--color-border); margin-top: 0.25rem; padding-top: 0.25rem; }
/* The three ways to go on are equal: one row, each with its sentence under it */
.contact-form .modes { display: grid; gap: 1rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); align-items: start; }
.contact-form .mode { display: grid; gap: 0.4rem; align-content: start; }
.contact-form .mode .button { width: 100%; text-align: center; cursor: pointer; }
.contact-form .mode p { margin: 0; color: var(--color-muted); font-size: 0.9rem; text-align: center; }
.contact-form span.required::after { content: ' *'; color: #c0261d; }
.contact-form .button:disabled { opacity: 0.45; cursor: not-allowed; }
.contact-form small { font-weight: 400; color: var(--color-muted); }
.trap { position: absolute; left: -10000px; }
.form-error { color: #b3261e; font-weight: 600; }
@media (min-width: 48rem) {
    .booking-bar { grid-template-columns: repeat(4, 1fr) auto; }
    .booking-bar.has-dates { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.5fr) auto; }
    .booking-bar .button { grid-column: auto; }
}
.booking-bar .dates { grid-column: span 2; }
@media (min-width: 48rem) { .booking-bar .dates { grid-column: auto; } }

.hero + .container .booking-bar { margin-top: -1.5rem; }

/* Home sections */
.panel { margin: 2rem 0; padding: 1.25rem; border-radius: var(--radius); background: var(--color-surface); border: 1px solid var(--color-border); backdrop-filter: blur(10px); }
.panel h2 { margin-top: 0; }
.intro { max-width: 52rem; }
.thumbs { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); margin: 1.5rem 0; }
.thumb { display: block; text-decoration: none; color: var(--color-heading); font-weight: 700; }
.thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--color-border); }
.thumb span { display: block; padding-top: 0.35rem; }
.columns { display: grid; gap: 1.5rem; }
.embed { width: 100%; height: 22rem; border: 0; border-radius: var(--radius); background: var(--color-surface-alt); }
@media (min-width: 48rem) {
    .panel { padding: 2rem; }
    .thumbs { grid-template-columns: repeat(5, 1fr); }
    .columns { grid-template-columns: 1fr 1fr; }
}

/* Lists and page layout */
.prose li { margin: 0.2rem 0; }
.prose li > p { margin: 0; }
.split { display: grid; gap: 1.5rem; align-items: center; margin: 1rem 0 2rem; }
.split .lead-image { margin: 0; }
.split .lead-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 48rem) { .split { grid-template-columns: 1.2fr 1fr; } }
.embed-tall { height: 30rem; margin: 1.5rem 0; }

/* Rate cards */
.rate-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 2rem 0; }
.rate-card { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--radius); background: var(--color-surface); border: 1px solid var(--color-border); backdrop-filter: blur(10px); text-align: center; }
.rate-title { margin: 0 0 0.5rem; font-size: 1.25rem; }
.rate-price { margin: 0; font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 800; line-height: 1.1; color: var(--color-heading); }
.rate-was { display: block; font-size: 1.1rem; font-weight: 400; color: var(--color-muted); line-height: 1.2; }
.rate-unit { margin: 0 0 1rem; color: var(--color-muted); }
.rate-conditions { text-align: left; font-size: 0.95rem; }
.detail-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin: 2rem 0; }
@media (min-width: 52rem) { .detail-cards { grid-template-columns: repeat(3, 1fr); } }
.detail-card { padding: 1.25rem 1.5rem; border-radius: var(--radius); background: var(--color-surface); border: 1px solid var(--color-border); backdrop-filter: blur(10px); }
.detail-title { margin: 0 0 0.5rem; font-size: 1.15rem; }
.detail-card ul { margin: 0; padding-left: 1.2rem; }
.rate-card.is-promo { justify-content: center; background: var(--color-accent); border-color: transparent; }
.rate-card.is-promo .rate-title, .rate-card.is-promo .rate-price, .rate-card.is-promo .rate-unit { color: #1b2c66; }

/* Footer social icons */
.social { display: flex; gap: 1rem; }
.icon { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-filled { fill: currentColor; stroke: none; }

/* Language menu: the active flag alone, the others in a popover on hover, focus or tap */
.lang-menu { position: relative; width: fit-content; }
.lang-current { display: block; cursor: pointer; padding: 0.3rem 0; line-height: 0; }
.lang-menu .fi { font-size: 1.4rem; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
.lang-list {
    position: absolute; top: 100%; left: 0; z-index: 30;
    display: grid; gap: 0.5rem; margin: 0; padding: 0.6rem; list-style: none;
    background: var(--sky-top); border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    visibility: hidden; opacity: 0; transition: opacity 0.15s;
}
.lang-menu:hover .lang-list, .lang-menu:focus-within .lang-list { visibility: visible; opacity: 1; }
.lang-list li { margin: 0; padding: 0; list-style: none; }
.lang-list a { display: block; line-height: 0; }
@media (min-width: 60rem) { .lang-list { left: auto; right: 0; } }

/* Login form (login plugin): one main button, the secondary links as plain links below */
#grav-login .form-actions { display: flex; flex-direction: column; align-items: stretch; gap: 1rem; margin-top: 1rem; }
#grav-login .form-actions button.button { order: 1; width: 100%; padding: 0.9rem 1.2rem; font: inherit; font-size: 1.2rem; font-weight: 700; cursor: pointer; }
#grav-login .form-actions a.button { order: 2; align-self: center; padding: 0; background: none; border-radius: 0; color: inherit; font-size: 0.9rem; font-weight: 400; text-decoration: underline; }
#grav-login .form-actions .rememberme { order: 0; }
#grav-login .form-actions .fa { display: none; }
#grav-login input[type="text"], #grav-login input[type="password"], #grav-login input[type="email"] { width: 100%; box-sizing: border-box; }
#grav-login .form-label, #grav-login label { display: block; text-align: left; }
#grav-login .rememberme label { display: inline; }
#grav-login input[type="text"], #grav-login input[type="password"], #grav-login input[type="email"] { padding: 0.9rem 1rem; font: inherit; font-size: 1.2rem; border: 1px solid var(--color-primary); border-radius: 0.5rem; }

/* Third-party content: a preview card with a plain link, then the interactive version once the visitor agrees */
.embed-card { position: relative; display: block; overflow: hidden; height: 22rem; border-radius: var(--radius); color: #fff; text-decoration: none; background: var(--color-surface-alt); }
.embed-slot-tall .embed-card { height: 30rem; margin: 1.5rem 0; }
.embed-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.embed-card:hover img { transform: scale(1.03); }
.embed-card-text { position: absolute; inset: auto 0 0; padding: 2.5rem 1rem 1rem; font-weight: 700; font-size: 1.1rem; background: linear-gradient(to top, rgba(10, 20, 55, 0.85), transparent); }
.embed-card-text::after { content: " \2192"; }
.hero-still, .hero-local { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-sound { position: absolute; right: 1rem; bottom: 1rem; z-index: 2; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; color: #fff; background: rgba(10, 20, 55, 0.55); cursor: pointer; pointer-events: auto; }
.hero-sound:hover { background: rgba(10, 20, 55, 0.8); }
.hero-sound[aria-pressed="true"] .icon-sound-off, .hero-sound[aria-pressed="false"] .icon-sound-on { display: none; }
.link-button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
/* Discreet notice at the bottom of the screen, only on pages with third-party content */
.consent-toast { position: fixed; z-index: 20; left: 1rem; right: 1rem; bottom: 1rem; max-width: 34rem; margin: 0 auto; padding: 0.9rem 1.1rem; border-radius: var(--radius); font-size: 0.95rem; color: var(--color-text); background: var(--color-surface); border: 1px solid var(--color-border); box-shadow: 0 6px 24px rgba(10, 20, 55, 0.25); backdrop-filter: blur(10px); }
.consent-toast[hidden] { display: none; }
.consent-toast p { margin: 0 0 0.5rem; }
.consent-actions { display: flex; align-items: center; gap: 1rem; margin: 0; }

/* Calendars of the booking bar: the days that cannot be chosen keep their reason visible */
.flatpickr-calendar .flatpickr-day.flatpickr-disabled, .flatpickr-calendar .flatpickr-day.flatpickr-disabled:hover { color: #4b5563; cursor: not-allowed; }
.flatpickr-calendar .flatpickr-day.prevMonthDay, .flatpickr-calendar .flatpickr-day.nextMonthDay { color: rgba(75, 85, 99, 0.35); background: transparent; }
.flatpickr-calendar .flatpickr-day.is-taken, .flatpickr-calendar .flatpickr-day.is-taken:hover { background: #fde2e0; color: #8a1c14; text-decoration: line-through; border-color: transparent; }
.flatpickr-calendar .flatpickr-day.is-short, .flatpickr-calendar .flatpickr-day.is-short:hover { background: repeating-linear-gradient(135deg, #fff3cf, #fff3cf 4px, #fff 4px, #fff 8px); color: #7a5a00; border-color: transparent; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; align-items: center; margin: 0; padding: 0.5rem 0.75rem; font-size: 0.8rem; color: #4b5563; }
.calendar-legend span:not([data-legend]) { display: inline-block; width: 0.9rem; height: 0.9rem; border-radius: 3px; }
.calendar-legend .is-taken { background: #fde2e0; border: 1px solid #e8a39e; }
.calendar-legend .is-short { background: repeating-linear-gradient(135deg, #fff3cf, #fff3cf 3px, #fff 3px, #fff 6px); border: 1px solid #e3c25a; }
.booking-notice { margin: 0.75rem 0 0; padding: 0.75rem 1rem; border-left: 4px solid #e8a317; border-radius: 6px; background: #fff8e1; color: #5c4300; font-weight: 600; }
.booking-notice[hidden], [data-results][hidden] { display: none; }

/* Booking page: the guests on the left, one calendar on the right, the choices under them */
.booking-bar[data-calendar="one"] { display: grid; grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr); grid-template-areas: "adults calendar" "children calendar" "button calendar"; grid-template-rows: auto auto 1fr; gap: 1rem 2rem; align-items: start; }
.booking-bar[data-calendar="one"] > label:nth-of-type(1) { grid-area: adults; }
.booking-bar[data-calendar="one"] > label:nth-of-type(2) { grid-area: children; }
.booking-bar[data-calendar="one"] .range-column { grid-area: calendar; min-width: 0; display: grid; gap: 1rem; }
.booking-bar[data-calendar="one"] .button { grid-area: button; justify-self: stretch; text-align: center; }
@media (max-width: 40rem) { .booking-bar[data-calendar="one"] { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "adults children" "calendar calendar" "button button"; } }
.range-calendar:not(.is-ready) { min-height: 20rem; }
.range-calendar + .flatpickr-calendar.inline { box-shadow: none; max-width: 100%; margin: 0 auto; }
[data-results].is-loading { opacity: 0.5; transition: opacity 0.2s; }
.flatpickr-calendar .flatpickr-day.is-suggested { background: #cfe0f7; border-color: transparent; }
.calendar-reset { margin: 0 0.75rem 0.75rem; padding: 0; border: 0; background: none; color: var(--color-accent-dark, #1d4f91); font: inherit; font-size: 0.85rem; text-decoration: underline; cursor: pointer; }
.booking-bar label[hidden] { display: none; }
.flatpickr-calendar .flatpickr-day.selected, .flatpickr-calendar .flatpickr-day.startRange, .flatpickr-calendar .flatpickr-day.endRange,
.flatpickr-calendar .flatpickr-day.selected:hover, .flatpickr-calendar .flatpickr-day.startRange:hover, .flatpickr-calendar .flatpickr-day.endRange:hover { background: #1d4f91; border-color: #1d4f91; color: #fff; text-decoration: none; }
.flatpickr-calendar .flatpickr-day.inRange { background: #cfe0f7; border-color: #cfe0f7; box-shadow: -5px 0 0 #cfe0f7, 5px 0 0 #cfe0f7; color: #1f2430; }
.booking-bar button[hidden] { display: none; }
.booking-bar { scroll-margin-top: 5rem; }

/* On-off switch (consent to the external content, in the privacy policy) */
.switch { display: inline-flex; align-items: center; gap: 0.75rem; cursor: pointer; font-weight: 600; }
.switch input { appearance: none; flex: none; width: 2.75rem; height: 1.5rem; margin: 0; border-radius: 1rem; background: #9aa3b5; position: relative; cursor: pointer; transition: background 0.2s; }
.switch input::after { content: ''; position: absolute; top: 0.2rem; left: 0.2rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; transition: transform 0.2s; }
.switch input:checked { background: #1d7a46; }
.switch input:checked::after { transform: translateX(1.25rem); }
.switch input:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
