/* =======================================================================
   Battuta — small additions on top of the GoTrip theme.
   Everything here is a component the stock theme demo does not ship
   (a signed-in account menu, image placeholders) or a genuine
   responsive fix. Nothing here overrides the theme's own look —
   colors, radii and shadows below are the theme's own design tokens.
   ======================================================================= */

/* ---- Signed-in account menu in the header ----
   Uses the theme's own data-x-click/data-x-toggle mechanism (main.js),
   the same one that drives the currency/language toggles. */
.header-account {
    position: relative;
}

.header-account__menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 220px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 20px 40px 0px #05103612;
    padding: 8px 0;
    display: none;
    z-index: 50;
}

.header-account.-is-active .header-account__menu {
    display: block;
}

.header-account__menu a {
    color: var(--color-dark-1);
    font-size: 14px;
}

.header-account__menu a:hover {
    background-color: var(--color-light-2, #F1F3F6);
    color: var(--color-blue-1);
}

/* ---- Image placeholder ----
   Drop this class on any element that stands in for a photo the
   client will add later. Swap the element for a real <img> when the
   photo is ready; nothing else needs to change. */
.battuta-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    height: 100%;
    background-color: #F1F3F6;
    border: 1px dashed #B8C1CF;
    color: var(--color-light-1);
    font-size: 13px;
    text-align: center;
    min-height: 120px;
}

.battuta-img-placeholder i {
    font-size: 22px;
    opacity: 0.6;
}

/* ---- Layout safety net ----
   The theme's demo pages are a fixed marketing width; our real pages
   run at every viewport, so keep horizontal scroll from ever creeping in. */
body {
    overflow-x: hidden;
    width: 100%;
}

/* ---- Status pill ----
   Replaces Bootstrap's .badge for short status labels (order/booking
   status, request status). Color modifiers use the theme's own tokens. */
.status-pill {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 100px;
    line-height: 1.6;
}

.status-pill.-green { background-color: #E7F6EC; color: #1A7A3B; }
.status-pill.-red { background-color: #FCEAEA; color: #C51F1F; }
.status-pill.-yellow { background-color: #FDF3E3; color: #92660A; }
.status-pill.-blue { background-color: #EAF0FD; color: var(--color-blue-1); }
.status-pill.-grey { background-color: #F1F3F6; color: var(--color-light-1); }

/* ---- Simple data table ----
   Replaces Bootstrap's .table. Plain, readable, theme-colored. */
.b-table {
    width: 100%;
    border-collapse: collapse;
}

.b-table th {
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-light-1);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    padding: 12px 16px;
    border-bottom: 1px solid #E7E9ED;
}

.b-table td {
    font-size: 14px;
    color: var(--color-dark-1);
    padding: 16px;
    border-bottom: 1px solid #E7E9ED;
    vertical-align: middle;
}

.b-table tbody tr:hover {
    background-color: #FAFBFC;
}

.admin-action-form {
    vertical-align: middle;
}

.admin-action-button {
    min-width: 78px;
    font-weight: 500;
    white-space: nowrap;
}

/* ---- Stat card icon chip ---- */
.stat-icon-chip {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: none;
}

/* ---- Simple modal ----
   Replaces Bootstrap's .modal, driven by the theme's own
   data-x-click/data-x-toggle mechanism (see _WebsiteLayout's account menu). */
.simple-modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(5, 16, 54, 0.55);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.simple-modal.-is-active {
    display: flex;
}

.simple-modal__panel {
    background-color: #fff;
    border-radius: 8px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* ---- Plain input/select ----
   Same look as the theme's own dashboard search fields, for form
   controls sitting outside a .form-input (floating-label) wrapper. */
.b-input {
    display: block;
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #E7E9ED;
    border-radius: 8px;
    font-size: 14px;
    color: var(--color-dark-1);
    background-color: #fff;
}

.admin-header {
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 14px rgba(5, 16, 54, 0.04);
}

.admin-header__container {
    min-height: 90px;
}

.admin-header .header-logo img {
    display: block;
    width: 140px;
}

.admin-header__account img {
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--color-border);
}

.admin-main {
    min-height: calc(100vh - 90px);
    padding: 124px 60px 60px;
}

.admin-main__content {
    max-width: 1440px;
    margin: 0 auto;
}

.admin-form-page {
    max-width: 1180px;
    margin: 0 auto;
}

.admin-form__back {
    transition: color 0.2s ease;
}

.admin-form__back:hover {
    color: var(--color-blue-1);
}

.admin-form-card {
    overflow: hidden;
}

.admin-form-card__header {
    padding: 30px 35px 24px;
    border-bottom: 1px solid var(--color-border);
}

.admin-form {
    padding: 30px 35px 35px;
}

.admin-form__grid {
    row-gap: 24px;
}

.admin-form__field label {
    line-height: 1.4;
}

.admin-form__field .b-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-form__field .b-input:focus {
    border-color: var(--color-blue-1);
    box-shadow: 0 0 0 3px rgba(53, 84, 209, 0.12);
    outline: none;
}

.admin-form__field .b-input::placeholder {
    color: var(--color-light-1);
    opacity: 0.8;
}

.admin-form__textarea {
    min-height: 240px;
    height: auto;
    padding: 15px;
    resize: vertical;
    line-height: 1.6;
    font-family: inherit;
}

.admin-form__publish {
    padding-top: 4px;
}

.admin-form__publish label {
    color: var(--color-dark-1);
    cursor: pointer;
}

.admin-form__publish input {
    accent-color: var(--color-blue-1);
}

.admin-form__actions {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.admin-form__actions .button {
    min-width: 150px;
}

@media (max-width: 767px) {
    .admin-main {
        padding: 110px 20px 40px;
    }

    .admin-header__container {
        min-height: 80px;
    }

    .admin-form-card__header,
    .admin-form {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ---- Dismissible notice ----
   Replaces Bootstrap's .alert-dismissible; closed with one inline
   onclick, no JS plugin needed. */
.b-alert {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
}

.b-alert.-success { background-color: #E7F6EC; color: #1A7A3B; }
.b-alert.-danger { background-color: #FCEAEA; color: #C51F1F; }

.b-alert button {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: inherit;
    opacity: 0.6;
    cursor: pointer;
}

/* ---- Blog article body ----
   The admin authors ContentHtml as free-form HTML (rich-text editor
   output), so it needs its own baseline spacing/typography — the theme
   has no ready component for "arbitrary article HTML". */
.blog-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-dark-1);
    margin-bottom: 20px;
}

.blog-content h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px;
}

.blog-content h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 25px 0 12px;
}

.blog-content ul, .blog-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.blog-content li {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 8px;
}

.blog-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

.blog-content blockquote {
    border-left: 4px solid var(--color-blue-1);
    padding: 10px 0 10px 20px;
    font-size: 18px;
    font-weight: 500;
    margin: 30px 0;
    font-style: italic;
}

.blog-content a {
    color: var(--color-blue-1);
    text-decoration: underline;
}


/* ===== Agent portal public site (slice 1) ===== */

/* Public header: highlight the page you are on */
.header .menu__nav a[aria-current="page"] {
    color: var(--color-blue-1);
}

/* Home hero for the agent portal: there is no search box, so it needs less height than the theme default */
.masthead.-type-1.agent-hero {
    padding-top: 110px;
    padding-bottom: 110px;
}

@media (max-width: 575px) {
    .masthead.-type-1.agent-hero {
        padding-top: 70px;
        padding-bottom: 70px;
    }
}

/* Sign-out button inside a form must not inherit browser button chrome */
.header form button.button {
    cursor: pointer;
}

/* ===== Agent portal (slice 3) ===== */

/* Round initials in the portal header, instead of a stock avatar photo */
.agent-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-blue-1);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

/* Status pills (the theme's pill colours, one class per kind) */
.status-pill {
    display: inline-block;
    border-radius: 100px;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}
.status-pill.-ok { background: var(--color-blue-1-05, #EBF0FF); color: var(--color-blue-1); }
.status-pill.-warn { background: var(--color-yellow-4, #FEF4D7); color: var(--color-yellow-3, #B7791F); }
.status-pill.-bad { background: var(--color-red-3, #FDECEC); color: var(--color-red-2, #D93025); }
.status-pill.-muted { background: var(--color-light-2, #F1F3F6); color: var(--color-dark-1); }

/* Empty state card on the portal pages */
.portal-empty {
    text-align: center;
    padding: 50px 20px;
}

/* Tab links on the bookings page (the theme tabs without its JavaScript) */
.portal-tabs a.tabs__button { text-decoration: none; }

/* A narrow row of numbered steps ("How to make a booking") */
.portal-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-blue-1-05, #EBF0FF);
    color: var(--color-blue-1);
    font-weight: 600;
    flex: none;
}

/* Agent portal: keep a value on one line, and show four stat cards two per row on mid-size screens so money never wraps */
.portal-nowrap { white-space: nowrap; }

@media (min-width: 1200px) and (max-width: 1599px) {
    .portal-stat-col.col-xl-3 {
        width: 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Agent portal tables: the theme's 30px side padding and 130px minimum width are too wide next to the sidebar */
table.portal-table th,
table.portal-table td {
    padding: 12px 14px;
    min-width: 0;
}
/* ===== Agent application, activation, team and review screens (slice 4) ===== */

/* Classic labels above the inputs: the theme's floating labels need :valid, which does not suit a long form with server messages */
.apply-form .apply-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--color-dark-1); }
.apply-form .apply-label .opt { color: var(--color-light-1); font-weight: 400; }
.apply-form .apply-label .req { color: var(--color-red-2, #D93025); }
.apply-form .apply-input,
.apply-form .apply-select,
.apply-form .apply-textarea {
    display: block; width: 100%; height: 54px; padding: 0 16px; font-size: 15px;
    color: var(--color-dark-1); background: #fff; border: 1px solid #DDDDDD; border-radius: 4px;
}
.apply-form .apply-textarea { height: auto; min-height: 96px; padding: 12px 16px; }
.apply-form .apply-input:focus,
.apply-form .apply-select:focus,
.apply-form .apply-textarea:focus { border-color: var(--color-blue-1); outline: 0; box-shadow: 0 0 0 3px rgba(53, 84, 209, .12); }
.apply-form .apply-input[readonly] { background: #F1F3F6; }
.apply-form .is-invalid { border-color: var(--color-red-2, #D93025); }
.apply-form .field-error { color: var(--color-red-2, #D93025); font-size: 13px; margin-top: 6px; }
.apply-form .field-help { color: var(--color-light-1); font-size: 13px; margin-top: 6px; }

/* Steps: with scripts on, only the current step shows. Without scripts, all steps show one after another. */
.apply-form.steps-on .apply-step { display: none; }
.apply-form.steps-on .apply-step.is-active { display: block; }
.apply-form .apply-step-title { font-size: 22px; font-weight: 500; }
.apply-stepper .step-badge { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 500; flex: none; background: var(--color-blue-1-05, #EBF0FF); color: var(--color-blue-1); }
.apply-stepper .step-badge.is-current { background: var(--color-blue-1); color: #fff; }
.apply-stepper .step-badge.is-done { background: var(--color-blue-1); color: #fff; }
.apply-stepper .step-line { height: 1px; background: #DDDDDD; width: 100%; }
@media (max-width: 767px) { .apply-stepper .step-text { display: none; } .apply-stepper .step-text.is-current { display: inline; } }

/* Map beside an address */
.apply-map { height: 280px; border-radius: 4px; background: #F1F3F6; overflow: hidden; position: relative; }
.apply-map-note { font-size: 13px; color: var(--color-light-1); margin-top: 8px; }
.apply-map-empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--color-light-1); font-size: 14px; }
.apply-photo-preview { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: #F1F3F6; border: 1px solid #DDDDDD; }

/* A field no person sees: robots fill it in */
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Activation code */
.code-input { font-size: 28px !important; letter-spacing: 10px; text-align: center; font-weight: 600; }

/* Review screen */
.review-grid dt { font-size: 13px; color: var(--color-light-1); font-weight: 400; }
.review-grid dd { font-size: 15px; color: var(--color-dark-1); margin: 0 0 14px; word-break: break-word; }
.review-map { width: 100%; height: 220px; border: 0; border-radius: 4px; background: #F1F3F6; }
.review-file { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #E7E9ED; }
.review-file:last-child { border-bottom: 0; }
.review-timeline { list-style: none; margin: 0; padding: 0; }
.review-timeline li { padding: 0 0 16px 18px; position: relative; border-left: 2px solid #E7E9ED; margin-left: 6px; }
.review-timeline li::before { content: ""; position: absolute; left: -6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-blue-1); }
.review-timeline li:last-child { border-left-color: transparent; }
.admin-nav-badge { margin-left: auto; min-width: 22px; padding: 0 7px; height: 22px; border-radius: 11px; background: var(--color-red-2, #D93025); color: #fff; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.team-actions form { display: inline-block; margin: 0 6px 6px 0; }
.team-actions .button { height: 36px; padding: 0 14px; font-size: 13px; }
.agent-avatar-img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }

/* Checkboxes in the apply, activation, team and review forms: the theme gives a bare checkbox a wide margin */
input.apply-check { flex: none; width: 18px; height: 18px; margin: 3px 12px 0 0; accent-color: var(--color-blue-1); }

/* ===== Property owners (slice 5a) ===== */

/* City list under the "City or town" box of the owner form */
.owner-suggest-wrap { position: relative; }
.owner-suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 20; margin-top: 4px; max-height: 300px; overflow: auto; background: #fff; border: 1px solid #DDDDDD; border-radius: 4px; box-shadow: 0 10px 30px rgba(5, 16, 54, .08); }
.owner-suggest [role=option] { display: block; width: 100%; padding: 10px 16px; text-align: left; background: none; border: 0; font-size: 15px; color: var(--color-dark-1); cursor: pointer; }
.owner-suggest [role=option]:hover,
.owner-suggest [role=option].is-active { background: var(--color-blue-1-05, #EBF0FF); color: var(--color-blue-1); }
.owner-suggest__note { padding: 10px 16px; font-size: 14px; color: var(--color-light-1); }

/* "Have these ready" list beside the owner form */
.owner-need-list { list-style: disc; padding-left: 20px; margin: 0; }
.owner-need-list li { list-style: disc; margin-bottom: 8px; }

/* File boxes of the owner form and of the owner review page */
.owner-form input[type=file] { display: block; width: 100%; padding: 12px; border: 1px dashed #C9CED6; border-radius: 4px; background: #FAFBFC; font-size: 14px; }
.owner-form input[type=file]:focus { border-color: var(--color-blue-1); outline: 0; box-shadow: 0 0 0 3px rgba(53, 84, 209, .12); }
.owner-form input[type=file].is-invalid { border-color: var(--color-red-2, #D93025); }

/* A number shown only in part, such as an account ending 6702 */
.owner-mask { font-variant-numeric: tabular-nums; letter-spacing: 1px; white-space: nowrap; }

/* ===== Owner property pages and traveller hotel pages (slice 5b, B2C) ===== */

/* "Ready to send for review" list */
.owner-checklist { list-style: none; margin: 0; padding: 0; }
.owner-checklist li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #E7E9ED; }
.owner-checklist li:last-child { border-bottom: 0; }
.owner-checklist__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #C9CED6; display: inline-flex; align-items: center; justify-content: center; margin-top: 2px; }
.owner-checklist li.is-done .owner-checklist__mark { background: var(--color-blue-1); border-color: var(--color-blue-1); color: #fff; }

/* Tiles linking to the property pages */
.owner-tile { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid #E7E9ED; border-radius: 4px; color: var(--color-dark-1); height: 100%; }
.owner-tile:hover { border-color: var(--color-blue-1); }

/* Photos in the owner portal and on the review page */
.owner-photo img, .owner-review-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; background: #F1F3F6; display: block; }
.owner-photo.is-rejected img { opacity: .45; }
.owner-photo__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.owner-link-button { background: none; border: 0; padding: 0; cursor: pointer; font-weight: 500; }
.owner-attention { border-left: 4px solid var(--color-yellow-3, #B7791F); }

/* Availability calendar: 7 columns, Monday first */
.owner-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.owner-cal__head { font-size: 13px; color: var(--color-light-1); text-align: center; padding-bottom: 4px; }
.owner-cal__day { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 78px; padding: 6px 8px; border: 1px solid #E7E9ED; border-radius: 4px; background: #fff; text-align: left; cursor: pointer; font-size: 12px; line-height: 1.3; color: var(--color-dark-1); }
.owner-cal__day:focus-visible { outline: 3px solid rgba(53, 84, 209, .35); outline-offset: 1px; }
.owner-cal__day.is-open { border-left: 4px solid #1A7A3B; }
.owner-cal__day.is-full { border-left: 4px solid #92660A; background: #FDF8EE; }
.owner-cal__day.is-closed { border-left: 4px solid #C51F1F; background: #FCF2F2; }
.owner-cal__day.is-past { background: #F5F6F8; color: #A3A9B5; cursor: default; }
.owner-cal__num { font-size: 14px; font-weight: 600; }
.owner-cal__price { font-weight: 600; }
.owner-cal__price.is-set { color: var(--color-blue-1); }
.owner-cal__key { display: inline-block; width: 12px; height: 12px; border-radius: 2px; vertical-align: -1px; margin-right: 4px; border: 1px solid #E7E9ED; }
.owner-cal__key.is-open { background: #E7F6EC; } .owner-cal__key.is-full { background: #FDF3E3; } .owner-cal__key.is-closed { background: #FCEAEA; }
@media (max-width: 575px) { .owner-cal { gap: 3px; } .owner-cal__day { min-height: 56px; padding: 4px; font-size: 10px; } .owner-cal__line { display: none; } }

/* Traveller search box: see the 2026-11-26 block at the end of this file */
.stays-city { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid #E7E9ED; border-radius: 4px; }
.stays-city:hover { border-color: var(--color-blue-1); }

/* Hotel page */
.stays-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 10px; }
.stays-gallery__item { display: block; overflow: hidden; border-radius: 4px; background: #F1F3F6; }
.stays-gallery__item:first-child { grid-row: span 2; }
.stays-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 767px) { .stays-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px 120px; } .stays-gallery__item:first-child { grid-column: span 2; grid-row: auto; } }
.stays-facilities { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.stays-facilities li { padding: 4px 0; font-size: 15px; break-inside: avoid; }
@media (max-width: 575px) { .stays-facilities { columns: 1; } }
.stays-offer { padding: 20px; margin-bottom: 20px; }
.stays-offer img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---- Slice 5c: checkout, booking pages of our own hotels (2026-11-12) ---- */
@media (min-width: 1200px) { .stays-summary { position: sticky; top: 100px; } }
.stays-modal { position: fixed; inset: 0; z-index: 1000; background: rgba(5, 16, 54, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.stays-modal[hidden] { display: none; }
.stays-modal__box { background: #fff; border-radius: 4px; max-width: 460px; width: 100%; padding: 30px; box-shadow: 0 10px 40px rgba(5, 16, 54, .25); }
.stays-booking-card { transition: box-shadow .2s ease, transform .2s ease; color: inherit; }
.stays-booking-card:hover, .stays-booking-card:focus-visible { box-shadow: 0 10px 30px rgba(5, 16, 54, .12); transform: translateY(-2px); }
@media print {
  .no-print, header, footer, .header, .footer, .dashboard__sidebar, .header-margin { display: none !important; }
  .print-area { box-shadow: none !important; padding: 0 !important; }
  .dashboard__main, .dashboard__content { padding: 0 !important; margin: 0 !important; }
  body { background: #fff !important; }
}

/* ---- UI quick fixes (2026-11-13) ---- */
/* The initials stay hidden behind an agency photo and show only when the photo cannot be loaded (see _AgentLayout). */
.agent-initials[hidden] { display: none; }
/* The loading screen title "Battuta International" is longer than the theme's sample, so it is smaller on narrow screens. */
.preloader__title { text-align: center; padding: 0 16px; }
@media (max-width: 767px) { .preloader__title { font-size: 30px; line-height: 40px; } }
/* ---- "List your property" page (Phase 1, 2026-11-13) ---- */
.partner-how { margin: 0; padding-left: 20px; }
.partner-how li { margin-bottom: 12px; font-size: 15px; line-height: 1.5; }
.partner-list { margin: 0; padding-left: 18px; }
.partner-list li { margin-bottom: 8px; font-size: 15px; line-height: 1.5; }
.partner-faq h3 { font-size: 16px; font-weight: 600; margin: 0 0 4px; }
.partner-faq p { font-size: 15px; margin: 0 0 14px; color: var(--color-light-1); }

/* ---- Phase 2 (2026-11-14): Home page in the GoTrip Home 1 look ---- */
.stays-sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 991px) {
    .stays-search--pill.rounded-100 { border-radius: 16px !important; }
}
.home-city__photo { background: #2B3443; }
.home-city__photo img { width: 100%; height: 100%; object-fit: cover; }
.home-hotel__photo { background: #F1F3F6; }
.home-hotel__photo img { width: 100%; height: 100%; object-fit: cover; }
.home-noprice { color: var(--color-light-1); font-size: 14px; }
/* the hotel clicked on the Home page, shown first in the list */
.stays-pinned { border: 2px solid var(--color-blue-1); border-radius: 8px; padding: 14px; background: #F5F7FF; }
.stays-pinned__mark { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--color-blue-1); border-radius: 4px; padding: 3px 10px; margin-bottom: 10px; }

/* ---- 2026-11-26: header on Home, and the search box rebuilt on the GoTrip template dropdowns ---- */
/* Dark blue header on the Home page only (white elsewhere). On wide screens the page you are on is underlined in white;
   blue on dark blue would be hard to read. The mobile menu is white, so it keeps the theme's colours. */
@media (min-width: 1200px) {
    .header--dark .menu__nav > li > a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
}

/* The template uses plain divs for the dropdown triggers; ours are real buttons (keyboard and screen readers). */
.stays-search__trigger { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.stays-search__trigger:focus-visible, .stays-search .stays-search__input:focus-visible { outline: 2px solid var(--color-blue-1); outline-offset: 4px; border-radius: 2px; }
.stays-search .stays-search__input { width: 100%; border: 0; padding: 0; background: transparent; outline: 0; color: var(--color-dark-1); }
.stays-search .stays-search__input::placeholder { color: var(--color-light-1); }
.stays-search .stays-search__input::-webkit-search-cancel-button { cursor: pointer; }
.stays-search [data-dest-list] { max-height: 340px; overflow-y: auto; }
.stays-search [data-dest-list] .-link.-is-active { background-color: rgba(53, 84, 209, 0.05) !important; }
.stays-search [data-counter] .button:disabled { opacity: .35; cursor: not-allowed; }
.stays-search__select { width: 100%; height: 40px; padding: 0 10px; border: 1px solid var(--color-border); border-radius: 4px; background: #fff; font-size: 14px; color: var(--color-dark-1); }
.stays-search__select.-is-error { border-color: var(--color-red-1); box-shadow: 0 0 0 1px var(--color-red-1); }

/* Calendar: the theme's elCalendar look, drawn by stays-search.js with real dates. */
.stays-cal { position: relative; overflow: visible; }
.stays-cal__months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 991px) { .stays-cal__months { grid-template-columns: 1fr; } }
.stays-cal .elCalendar__sliderNav { top: 0; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 100%; background: none; color: var(--color-dark-1); cursor: pointer; }
.stays-cal .elCalendar__sliderNav.-prev { left: 0; }
.stays-cal .elCalendar__sliderNav.-next { right: 0; }
.stays-cal .elCalendar__sliderNav:hover:not(:disabled) { background: var(--color-light-2); }
.stays-cal .elCalendar__sliderNav:disabled { opacity: .3; cursor: default; }
.stays-cal button.elCalendar__sell { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--color-dark-1); }
.stays-cal button.elCalendar__sell.-is-active { color: #fff; background-color: var(--color-dark-3); }
.stays-cal .stays-cal__off { cursor: default; text-decoration: line-through; text-decoration-color: rgba(5, 16, 54, .25); }
.stays-cal .stays-cal__off:hover, .stays-cal .stays-cal__blank:hover { background: none; }
.stays-cal .stays-cal__blank { cursor: default; }
.stays-cal .stays-cal__today:not(.-is-active) { font-weight: 600; box-shadow: inset 0 0 0 1px var(--color-border); }
.stays-cal button.elCalendar__sell:focus-visible { outline: 2px solid var(--color-blue-1); outline-offset: 1px; }

/* Bar style (/stays, GoTrip hotel-list-1): the date panel opens under the dates and stays inside the bar. */
@media (min-width: 992px) {
    .stays-search--bar .searchMenu-date__field { transform: translateX(-35%); }
    .stays-search--bar .searchMenu-guests__field { left: auto; right: 0; }
    .stays-search--pill .searchMenu-guests__field { left: auto; right: -20px; }
    /* The theme's 1fr 250px 290px leaves the Location box too narrow for "Where are you going?" in a 900px bar. */
    .stays-search--pill .button-grid { grid-template-columns: minmax(0, 1fr) 225px 265px auto; }
}
/* Hotel page: dates and guests only. */
.stays-search--hotel .button-grid { grid-template-columns: 1fr 1fr auto; }
@media (min-width: 992px) { .stays-search--hotel .searchMenu-date__field { transform: none; width: 820px; } }
@media (max-width: 991px) { .stays-search--hotel .button-grid { grid-template-columns: 1fr; } }

/* ---- 2026-11-26, slice 2: checkout, processing screen, booking confirmed, voucher ---- */
/* GoTrip floating labels: the theme lifts the label only on :valid, so a half-typed e-mail would drop it over the text.
   With placeholder=" " the label also stays up whenever the field has text. */
.form-input input, .form-input textarea, .form-input select { width: 100%; }
.form-input input:not(:placeholder-shown) ~ label,
.form-input textarea:not(:placeholder-shown) ~ label { transform: translateY(-10px); }
.form-input textarea { padding-top: 30px; }
.form-input--select select { min-height: 70px; padding: 25px 15px 0; border: 1px solid var(--color-border); border-radius: 4px; background: #fff; font-size: 15px; color: var(--color-dark-1); appearance: auto; }
.form-input--select select:focus { border: 2px solid #051036; outline: 0; }
.form-input--select label { transform: translateY(-10px); }
.form-input input:focus-visible, .form-input textarea:focus-visible { outline: 0; }
.stays-card-field { min-height: 70px; padding: 25px 15px 0; border: 1px solid var(--color-border); border-radius: 4px; background: #fff; }
.form-checkbox input:focus-visible ~ .form-checkbox__mark { outline: 2px solid var(--color-blue-1); outline-offset: 2px; }
.booking-steps { list-style: none; margin: 0; padding: 0; }
#payBtn:disabled { opacity: .5; cursor: not-allowed; }
@media (min-width: 992px) { .stays-summary { position: sticky; top: 110px; } }

/* Full-screen processing screen while a booking is made */
.booking-processing { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 16, 54, .6); backdrop-filter: blur(2px); }
.booking-processing[hidden] { display: none; }
.booking-processing:focus { outline: 0; }
.booking-processing__box { width: 100%; max-width: 480px; padding: 50px 40px; box-shadow: 0 20px 60px rgba(5, 16, 54, .3); }
.booking-processing__spinner { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; border: 5px solid var(--color-blue-1-05, #EBF0FF); border-top-color: var(--color-blue-1); animation: booking-spin .9s linear infinite; }
@keyframes booking-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .booking-processing__spinner { animation-duration: 2.5s; } }
@media (max-width: 575px) { .booking-processing__box { padding: 35px 20px; } }
html.booking-processing-open { overflow: hidden; }

/* Booking confirmed */
.booking-confirmed__band { padding-bottom: 110px; }
.booking-confirmed__body { margin-top: -70px; position: relative; }
.booking-confirmed__photo { width: 110px; height: 110px; }
.booking-confirmed__divider { min-height: 50px; }
.booking-confirmed__list { margin: 0; padding-left: 18px; list-style: disc; }
.booking-confirmed__list li { margin-bottom: 8px; line-height: 1.6; }
.flex-shrink-0 { flex-shrink: 0; }
@media (max-width: 575px) { .booking-confirmed__photo { width: 80px; height: 80px; } .booking-confirmed__band { padding-bottom: 90px; } }

/* Voucher (GoTrip invoice look) */
.voucher__logo { width: 200px; height: auto; }
.voucher__table th, .voucher__table td { padding: 16px 20px; }
.voucher__table tbody tr + tr td { border-top: 1px solid var(--color-border); }
@media print {
  .bg-blue-2 { background: #fff !important; }
  .print-area .layout-pt-md { padding-top: 0 !important; }
  .voucher__table thead { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.overflow-x-auto { overflow-x: auto; }

/* ---- 2026-11-27, slice 3: hotel page in the GoTrip hotel-single-1 layout (_HotelSingle) ---- */
/* The theme's section menu is fixed at the very top; our header is fixed too (90px, 80px on phones), so it sits below it. */
.stays-single-menu.singleMenu { top: 90px; z-index: 900; }
@media (max-width: 767px) { .stays-single-menu.singleMenu { top: 80px; } .stays-single-menu .singleMenu__links { display: none; } }
.stays-anchor { scroll-margin-top: 190px; }
.stays-breadcrumb { list-style: none; margin: 0; padding: 0; }
.stays-breadcrumb a { color: inherit; }
.stays-breadcrumb a:hover { color: var(--color-blue-1); }

/* Photo grid: the template grid for 5+ photos; simple grids for 1 to 4 photos. */
.stays-gallery-grid { height: 460px; }
.stays-gallery-grid .galleryGrid__item, .stays-gallery-grid .galleryGrid__item > a { min-height: 0; overflow: hidden; border-radius: 4px; }
.stays-gallery-grid .galleryGrid__item img { transition: transform .4s ease; }
.stays-gallery-grid .galleryGrid__item a:hover img { transform: scale(1.03); }
.stays-gallery-grid__more { pointer-events: none; }
.stays-gallery-grid__more a { pointer-events: auto; }
@media (max-width: 991px) { .stays-gallery-grid { height: auto; grid-auto-rows: 200px; } }
.stays-gallery-small { display: grid; gap: 10px; }
.stays-gallery-small a { display: block; overflow: hidden; border-radius: 4px; }
.stays-gallery-small img { width: 100%; height: 100%; object-fit: cover; }
.stays-gallery-small--1 { grid-template-columns: 1fr; height: 420px; }
.stays-gallery-small--2 { grid-template-columns: 1fr 1fr; height: 380px; }
.stays-gallery-small--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; height: 420px; }
.stays-gallery-small--3 a:first-child { grid-row: span 2; }
.stays-gallery-small--4 { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; height: 420px; }
.stays-gallery-small--4 a:first-child { grid-row: span 2; }
.stays-gallery-small--4 a:last-child { grid-column: span 2; }
@media (max-width: 767px) { .stays-gallery-small { grid-template-columns: 1fr 1fr !important; grid-template-rows: none !important; height: auto; grid-auto-rows: 160px; } .stays-gallery-small a:first-child { grid-column: span 2; grid-row: auto; } .stays-gallery-small--4 a:last-child { grid-column: auto; } }

.stays-overview.is-clamped { max-height: 11.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.stays-map { display: block; width: 100%; aspect-ratio: 15 / 9; border: 0; }
.stays-facility-columns { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 40px; }
.stays-facility-columns li { padding: 4px 0; break-inside: avoid; }
@media (max-width: 991px) { .stays-facility-columns { columns: 2; } }
@media (max-width: 575px) { .stays-facility-columns { columns: 1; } }
.stays-room-info summary { cursor: pointer; list-style: none; }
.stays-room-info summary::-webkit-details-marker { display: none; }
.roomGrid__grid .list-disc { padding-left: 18px; }
.roomGrid__content .button { white-space: nowrap; }

/* Sidebar search box (dates and guests stacked, like the template sidebar) */
.stays-search--sidebar .button-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1200px) {
    .stays-search--sidebar .searchMenu-date__field { left: auto; right: 0; transform: none; width: 820px; }
    .stays-search--sidebar .searchMenu-guests__field { left: auto; right: 0; }
}
@media (max-width: 1199px) { .stays-search--sidebar .searchMenu-date__field { transform: none; width: auto; left: 0; right: 0; } }
.stays-search--sidebar .searchMenu-date__field, .stays-search--sidebar .searchMenu-guests__field { margin-top: 10px; }

/* ---- 2026-11-27: small tweaks after slices 1 to 3 ---- */
/* Search bar: the "Enter a city" message floats under the field, so the bar keeps its height. */
.stays-search [data-dest-error] { position: absolute; left: 20px; top: calc(100% + 8px); z-index: 25; margin: 0; padding: 6px 12px; white-space: nowrap; background: #fff; border-radius: 4px; box-shadow: 0 6px 20px rgba(5, 16, 54, .15); }
.stays-search--pill [data-dest-error] { left: 30px; }
/* Search bar focus: no box around the city field (it looked off in the rounded bar); the label turns blue and a thin
   blue line sits under the text instead. Buttons keep their outline. */
.stays-search .stays-search__input:focus-visible { outline: 0; box-shadow: none; }
.stays-search .searchMenu-loc:focus-within label { color: var(--color-blue-1); }
.stays-search .searchMenu-loc:focus-within .stays-search__input { box-shadow: 0 2px 0 var(--color-blue-1); }

/* Booking steps on phones: three steps side by side, number on top, name under it. */
@media (max-width: 575px) {
    .booking-steps.row { flex-wrap: nowrap; justify-content: space-between; margin-left: 0; margin-right: 0; }
    .booking-steps.row > li { padding-left: 0; padding-right: 0; flex: 1 1 0; }
    .booking-steps > li > .d-flex { flex-direction: column; text-align: center; }
    .booking-steps .size-40 { width: 32px; height: 32px; }
    .booking-steps .ml-10 { margin-left: 0 !important; margin-top: 8px; font-size: 13px !important; line-height: 1.3; }
}

/* Booking confirmed on phones: the hotel photo goes on top, full width. */
@media (max-width: 575px) {
    .booking-confirmed__hotel { flex-direction: column; }
    .booking-confirmed__hotel .booking-confirmed__photo { width: 100%; height: 180px; }
    .booking-confirmed__hotel > div { margin-left: 0 !important; margin-top: 15px; }
}

/* Hotel photos on tablets and phones: one big photo, then the others two by two (not five photos one under another). */
@media (max-width: 767px) {
    .stays-gallery-grid.galleryGrid.-type-1 { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; height: auto; }
    .stays-gallery-grid.galleryGrid.-type-1 > *:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .stays-gallery-grid__more .button { padding: 8px 12px; font-size: 13px; }
}
@media (max-width: 575px) { .stays-gallery-grid.galleryGrid.-type-1 { grid-auto-rows: 110px; } }

/* Room grid "Your stay" column: tighter at 1200-1400 px so the price stays on one line. */
@media (min-width: 1200px) and (max-width: 1400px) { .roomGrid__grid > *:nth-child(3) { padding: 20px 18px; } }
.stays-room-from { white-space: nowrap; }
/* Home "Hotels in Dubai" loading cards */
.home-skeleton { background: linear-gradient(90deg, #EEF1F6 25%, #F7F8FB 50%, #EEF1F6 75%); background-size: 200% 100%; animation: home-skeleton 1.2s ease-in-out infinite; }
@keyframes home-skeleton { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .home-skeleton { animation: none; } }

/* 2026-11-27: "not a real hotel booking" notice (confirmed screen, booking page; printed too) */
.test-booking-notice { background: #FDECEC; border-left: 4px solid #D93025; color: #7A1712; }
.test-booking-notice__mark { width: 28px; height: 28px; background: #D93025; color: #fff; font-weight: 700; font-size: 16px; }
@media print { .test-booking-notice { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }
