/**
 * Gatwick guests chrome for quotation form (navy #123e74 / orange #f76e28).
 */
.gp-quote-guests__label,
label.gp-quote-guests__label,
label[for="guestsDisplay"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    height: auto !important;
    min-height: 1.2em !important;
    margin: 0 0 7px 2px !important;
    padding: 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #042550 !important;
    text-transform: none !important;
    letter-spacing: 0.02em;
}

.hp-guests {
    position: relative;
    z-index: 5;
}

.hp-guests.is-open {
    z-index: 1000050;
}

.hp-guests__trigger {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
    background: #fff !important;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}

.hp-guests__trigger:focus,
.hp-guests.is-open .hp-guests__trigger {
    border-color: #f76e28 !important;
    box-shadow: 0 0 0 3px rgba(247, 110, 40, 0.2) !important;
    outline: none;
}

.hp-guests__label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #123e74;
    font-weight: 600;
}

.hp-guests__chev {
    width: 0;
    height: 0;
    margin-left: 8px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #5A6D82;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.hp-guests.is-open .hp-guests__chev {
    transform: rotate(180deg);
    border-top-color: #f76e28;
}

.hp-guests__panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #dde3ed;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(4, 37, 80, 0.14);
    padding: 14px 14px 12px;
    z-index: 1000050;
}

.hp-guests__panel.is-portaled {
    position: fixed !important;
    right: auto !important;
    z-index: 1000050 !important;
}

.hp-guests__panel[hidden] {
    display: none !important;
}

.hp-guests__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 2px;
}

.hp-guests__row-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #123e74;
}

.hp-guests__stepper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hp-guests__count {
    min-width: 1.25rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #123e74;
}

.hp-guests__btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #c5ceda;
    background: #f3f5f8;
    color: #123e74;
    font-size: 1.15rem;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.hp-guests__btn--plus {
    border-color: #f76e28;
    background: #fff;
    color: #f76e28;
}

.hp-guests__btn:hover:not(:disabled) {
    border-color: #f76e28;
    background: rgba(247, 110, 40, 0.08);
    color: #123e74;
}

.hp-guests__btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.hp-guests__confirm {
    display: block;
    width: 100%;
    margin-top: 12px;
    border: none;
    border-radius: 8px;
    background: #123e74;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.hp-guests__confirm:hover {
    background: #f76e28;
}

.hp-guests__ages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 10px;
    margin-top: 6px;
    padding: 4px 2px 2px;
}

.hp-guests__ages[hidden] {
    display: none !important;
}

.hp-guests__age-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.hp-guests__age-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #123e74;
}

.hp-guests__age-select {
    width: 100%;
    height: 42px;
    border: 1px solid #c5ceda;
    border-radius: 8px;
    background: #fff;
    color: #123e74;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0 32px 0 12px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A6D82' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    cursor: pointer;
}

.hp-guests__age-select:focus {
    outline: none;
    border-color: #f76e28;
    box-shadow: 0 0 0 3px rgba(247, 110, 40, 0.18);
}

.hp-guests-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 37, 80, 0.5);
    z-index: 1000040;
}

.hp-guests-backdrop.is-visible {
    display: block;
}

@media (max-width: 767.98px) {
    .hp-guests__panel,
    .hp-guests__panel.is-portaled {
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        border-radius: 18px 18px 0 0;
        border: none;
        box-shadow: 0 -12px 40px rgba(4, 37, 80, 0.22);
        padding: 18px 18px max(16px, env(safe-area-inset-bottom, 0px));
        z-index: 1000050 !important;
    }

    body.hp-guests-open {
        overflow: hidden !important;
    }
}

/* Strip guests on results — white control like date/time fields */
.sr-strip-guests .hp-guests__trigger,
.sr-search-strip .hp-guests__trigger {
    min-height: 42px !important;
    height: 42px !important;
    padding: 0.45rem 0.75rem !important;
    border: 1px solid #c5ceda !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: #123e74 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    cursor: pointer;
}

.sr-strip-guests .hp-guests__label,
.sr-search-strip .hp-guests__label {
    color: #123e74 !important;
    font-weight: 600;
    text-align: left;
}

.sr-strip-guests .hp-guests.is-open .hp-guests__trigger,
.sr-search-strip .hp-guests.is-open .hp-guests__trigger {
    border-color: #f76e28 !important;
    box-shadow: 0 0 0 3px rgba(247, 110, 40, 0.2) !important;
}
