/* BAJ guest pages in the navy, blue and amber look from the "OTA" designs: the home page and the property page.
   Loads after booking-search.css and accommodation.css, so the shared tokens below re-colour the search bar,
   guest picker, rate cards and checkout on the pages that use it. Each page adds its own stylesheet after this one. */
:root {
    --page: #ffffff;
    --surface: #ffffff;
    --ink: #0a2540;
    --text: #1e3247;
    --muted: #4a5b6e;
    --line: #dde3ea;
    --line-strong: #c9d3de;
    --brand: #0057b8;
    --brand-hover: #003f86;
    --brand-soft: #e8f1fb;
    --sage: #f3f6f9;
    --gold: #ffb020;
    --amber-soft: #fff4de;
    --amber-ink: #7a4a00;
    --green: #0f7b5f;
    --green-soft: #e6f4ef;
    --green-ink: #0b5e48;
    --shadow: 0 14px 36px rgba(10, 37, 64, .12);
}

.booking-page {
    width: min(100%, 1288px);
    padding: 18px 24px 64px;
}

/* Header: navy bar; the property page puts its date and guest search in it */
.guest-nav {
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 12px max(24px, calc((100vw - 1440px) / 2));
    background: var(--ink);
    border-bottom: 0;
}

.guest-brand,
.guest-nav .nav-link,
.guest-nav .partner-link {
    color: #ffffff;
}

.brand-mark {
    background: var(--gold);
    color: var(--ink);
}

.brand-name small {
    color: #c7d2de;
}

.guest-brand {
    min-height: 44px;
}

.brand-logo {
    width: 112px;
    height: 28px;
    display: block;
}

.site-footer-brand {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.site-footer-brand img {
    display: block;
}

.guest-nav-actions {
    gap: 20px;
}

.guest-nav .nav-link:hover,
.guest-nav .partner-link:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.guest-nav .partner-link {
    border-color: rgba(255, 255, 255, .45);
}

.guest-nav .nav-account {
    padding: 10px 16px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--ink);
    font-weight: 700;
}

.guest-nav .nav-account:hover {
    background: var(--brand-soft);
    color: var(--ink);
    text-decoration: none;
}

.guest-nav a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

.guest-nav > .ota-search {
    flex: 1 1 620px;
    max-width: 700px;
    min-width: 0;
}

/* The stay search as an amber strip of white fields */
.ota-search .search-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px;
    border: 0;
    border-radius: 12px;
    background: var(--gold);
    box-shadow: none;
}

.ota-search .search-field {
    flex: 1 1 130px;
    min-height: 48px;
    gap: 2px;
    padding: 5px 12px;
    border: 0;
    border-radius: 9px;
    background: #ffffff;
}

.ota-search .search-guest-field {
    flex-basis: 170px;
}

.ota-search .search-field > span {
    color: var(--muted);
    font-size: 11px;
    letter-spacing: .6px;
}

.ota-search .search-field input,
.ota-search .guest-picker-toggle {
    height: 22px;
    min-height: 22px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
}

.ota-search .search-field input::placeholder {
    color: var(--muted);
}

.ota-search .search-field input:focus-visible,
.ota-search .guest-picker-toggle:focus-visible {
    outline-color: var(--brand);
}

.ota-search .search-button {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 9px;
    background: var(--brand);
    font-size: 15px;
    font-weight: 800;
}

.ota-search .search-button:hover {
    transform: none;
    background: var(--brand-hover);
}

.ota-search .search-button:focus-visible {
    outline: 3px solid var(--ink);
    outline-offset: 2px;
}

.ota-search .search-icon {
    display: none;
}

.search-message {
    margin: 0 0 16px;
    border-color: var(--line);
    background: var(--sage);
    color: var(--ink);
}

.search-message.error {
    border-color: #c8243f;
    background: #fdf1f3;
    color: #8a1c2f;
}

.breadcrumbs ol {
    margin-bottom: 14px;
}

.breadcrumbs li + li::before {
    content: '›';
    color: var(--muted);
}

.breadcrumbs a {
    color: var(--brand);
}

/* Questions that open on click */
.ota-faq details {
    border-bottom: 1px solid var(--line);
}

.ota-faq summary {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}

.ota-faq summary::-webkit-details-marker {
    display: none;
}

.ota-faq summary::after {
    content: '+';
    content: '+' / '';
    flex: 0 0 auto;
    color: var(--brand);
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

.ota-faq details[open] summary::after {
    content: '−';
    content: '−' / '';
}

.ota-faq summary:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.ota-faq details p,
.ota-faq details ul {
    max-width: 820px;
    margin: 0 0 18px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
}

.ota-faq details ul {
    padding-left: 20px;
}

.ota-faq a {
    color: var(--brand);
}

/* Links to the city pages, at the foot of a page */
.ota-links {
    margin-top: 56px;
    padding: 32px;
    border-radius: 16px;
    background: var(--sage);
}

.ota-links h2 {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 22px;
    font-weight: 800;
}

.ota-links ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ota-links a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    color: var(--text);
    font-size: 15px;
    text-decoration: none;
}

.ota-links a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.ota-links a:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

.site-footer {
    border-top: 0;
    background: var(--ink);
}

.site-footer-inner {
    width: min(100%, 1288px);
    padding: 26px 24px;
    color: #c7d2de;
}

.site-footer a {
    color: #ffffff;
}

/* The header search gets its own row once the header runs out of room. */
@media (max-width: 1380px) {
    .guest-nav > .ota-search {
        order: 3;
        flex-basis: 100%;
        max-width: none;
    }
}

@media (max-width: 760px) {
    .guest-nav {
        padding: 10px 16px;
    }

    .booking-page {
        padding: 14px 16px 40px;
    }

    .ota-links {
        padding: 22px 18px;
    }

    .site-footer-inner {
        padding: 18px 16px;
    }
}
