﻿.flatpickr-calendar .flatpickr-weekdays {
    display: flex !important;
    justify-content: center;
    width: 100%;
    margin-bottom: 6px;
}

.flatpickr-calendar .flatpickr-weekdaycontainer {
    display: flex !important;
    width: 100%;
    max-width: 100%;
}

.flatpickr-calendar span.flatpickr-weekday {
    flex: 1 1 14.285%;
    width: 14.285%;
    max-width: none;
    min-width: 0;
    text-align: center;
    color: #57595F;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 24px;
}

/* SweetAlert2 alinhado ao TourEx */
.tg-swal {
    border-radius: 16px !important;
    padding: 18px !important;
    box-shadow: 0 20px 60px rgba(0,0,0,.18) !important;
    width: 420px !important;
}

.tg-swal__title {
    font-size: 18px !important;
    margin: 0 0 8px 0 !important;
}

.tg-swal__content {
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: inherit !important;
}

/* Botões no estilo do site */
.tg-swal__btn {
    border: 0;
    border-radius: 12px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
}

.tg-swal__btn--primary {
    background: var(--tg-theme-primary, #2ea44f);
    color: #fff;
}

.tg-swal__btn--light {
    background: #f3f4f6;
    color: #111827;
}

.hotel-destination-clear {
    position: absolute;
    right: 34px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    padding: 0 4px;
}

    .hotel-destination-clear:hover {
        opacity: .75;
    }


/* permitir que datepicker e box de hóspedes apareçam acima */
.tg-booking-form-item,
.tg-booking-form-input-group,
.tg-booking-form-parent-inner {
    overflow: visible !important;
}

    /* container do HÓSPEDES */
    .tg-booking-form-parent-inner.tg-hero-quantity {
        position: relative;
    }

/* box fechada (estado padrão) */
.tg-booking-form-location-list.tg-quantity {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 24, 40, 0.16);
    padding: 18px 20px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.18s ease;
}

    /* box aberta (quando TravelersBoxOpen = true) */
    .tg-booking-form-location-list.tg-quantity.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

/* alinhamento dos itens internos, igual tema */
.tg-booking-quantity-item {
    display: inline-flex;
    align-items: center;
    border-radius: 100px;
    border: 1px solid #E4E6EC;
    padding: 4px 10px;
    min-width: 110px;
    justify-content: space-between;
}

    .tg-booking-quantity-item .increment,
    .tg-booking-quantity-item .decrement {
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
    }

    .tg-booking-quantity-item .tg-quantity-input {
        border: none;
        text-align: center;
        width: 32px;
        background: transparent;
        padding: 0;
        font-weight: 500;
    }

/* texto da coluna (Adultos, Crianças, Quartos) */
.tg-booking-form-location-list ul > li span.mr-20 {
    min-width: 80px;
    display: inline-block;
}
/* garantir que o input de destino seja o "container" do dropdown */
.tg-booking-add-input-date {
    position: relative;
}


/* =========================================================
   MaisTrip Overrides - Checkout (Tourex)
   Escopado para não afetar outras telas
   (cobre .checkout-area e também .tg-tour-details-area caso use)
========================================================= */

.checkout-area .tg-label,
.tg-tour-details-area .tg-label {
    display: block;
    font-size: 14px;
    line-height: 1.2;
    margin: 0 0 8px;
    font-weight: 500;
    color: inherit;
}

/* Não “quebra” no desktop */
@media (min-width: 992px) {
    .checkout-area .tg-label,
    .tg-tour-details-area .tg-label {
        white-space: nowrap;
    }
}

/* Mobile pode quebrar */
@media (max-width: 991px) {
    .checkout-area .tg-label,
    .tg-tour-details-area .tg-label {
        white-space: normal;
    }
}

/* Wrapper do input (o template depende disso) */
.checkout-area .tg-checkout-form-input,
.tg-tour-details-area .tg-checkout-form-input {
    margin-bottom: 25px;
}

    /* Inputs iguais ao Billing Details do Tourex */
    .checkout-area .tg-checkout-form-input .input,
    .tg-tour-details-area .tg-checkout-form-input .input,
    .checkout-area .tg-checkout-form-input input.input,
    .tg-tour-details-area .tg-checkout-form-input input.input,
    .checkout-area .tg-checkout-form-input select.input,
    .tg-tour-details-area .tg-checkout-form-input select.input,
    .checkout-area .tg-checkout-form-input textarea.input,
    .tg-tour-details-area .tg-checkout-form-input textarea.input {
        width: 100%;
        height: 54px;
        border: 1px solid #e6e6e6;
        border-radius: 10px;
        padding: 0 18px;
        background: #fff;
        font-size: 15px;
        color: #5b5b5b;
        box-shadow: none;
        outline: none;
    }

        /* Placeholder */
        .checkout-area .tg-checkout-form-input .input::placeholder,
        .tg-tour-details-area .tg-checkout-form-input .input::placeholder {
            color: #9a9a9a;
            opacity: 1;
        }

    /* Textarea */
    .checkout-area .tg-checkout-form-input textarea.input,
    .tg-tour-details-area .tg-checkout-form-input textarea.input {
        height: auto;
        padding: 14px 18px;
        line-height: 1.4;
    }

        /* Focus clean */
        .checkout-area .tg-checkout-form-input .input:focus,
        .tg-tour-details-area .tg-checkout-form-input .input:focus,
        .checkout-area .tg-checkout-form-input select.input:focus,
        .tg-tour-details-area .tg-checkout-form-input select.input:focus,
        .checkout-area .tg-checkout-form-input textarea.input:focus,
        .tg-tour-details-area .tg-checkout-form-input textarea.input:focus {
            border-color: rgba(0, 0, 0, .25);
            box-shadow: none;
        }

/* Botão CTA do template */
.checkout-area .tg-btn.w-100,
.tg-tour-details-area .tg-btn.w-100 {
    width: 100%;
    padding: 16px 28px;
    border-radius: 10px;
    font-weight: 700;
    min-height: 54px;
}


/* =========================================================
   Checkout - Títulos, Subtítulos e Espaçamentos (Tourex-like)
========================================================= */

/* Título principal da página */
.checkout-area .tg-section-title-wrap {
    margin-bottom: 26px;
}

.checkout-area .tg-section-title {
    font-size: 34px;
    line-height: 1.1;
    margin: 0 0 8px;
    font-weight: 800;
}

/* Card (blocos do form): espaço e respiro */
.checkout-area .tg-listing-card-item {
    margin-bottom: 22px; /* distância entre os blocos */
}

/* Cabeçalho dentro do card (Contato / Responsável / Pagamento) */
.checkout-area .tg-listing-card-content h4 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 800;
}

/* Subtítulo/descrição dentro de card (se usar tg-label abaixo do h4) */
.checkout-area .tg-listing-card-content .tg-label {
    margin-bottom: 10px; /* aproxima a label do campo */
}

/* Dá o espaçamento correto entre subtítulo e o primeiro campo */
.checkout-area .tg-listing-card-content h4 + .tg-label {
    margin-top: 2px;
    margin-bottom: 16px;
}

/* Ajuste fino: espaço entre label e wrapper do input (pra ficar igual template) */
.checkout-area .tg-label.d-block.mb-5 {
    margin-bottom: 8px !important;
}

/* Espaçamento entre linhas do grid (para não “colar” os inputs) */
.checkout-area .row > [class*="col-"] {
    margin-bottom: 8px;
}
/* Static pages (Termos/Privacidade) - normalização do HTML do back office */
.tg-login-area .tg-tour-about-review-form {
    padding: 40px 35px; /* mantém cara de card */
}

    .tg-login-area .tg-tour-about-review-form p {
        margin: 0 0 14px 0;
        line-height: 1.8;
        text-align: left !important; /* evita justificar feio em telas menores */
        font-size: 16px !important; /* força consistência mesmo com inline 14px */
    }

    .tg-login-area .tg-tour-about-review-form span {
        font-size: inherit !important; /* remove herança bagunçada de span */
    }

        /* “Títulos” que vieram como span com font-size 24px */
        .tg-login-area .tg-tour-about-review-form span[style*="font-size: 24px"] {
            display: block;
            font-size: 24px !important;
            font-weight: 700;
            margin: 22px 0 10px;
            line-height: 1.3;
        }

    /* Links */
    .tg-login-area .tg-tour-about-review-form a {
        text-decoration: underline;
    }
/* Garantir que o texto do breadcrumb fique acima do background/overlays */
.tg-breadcrumb-area {
    position: relative;
    z-index: 1;
    overflow: hidden; /* evita shape invadir */
}

/* Conteúdo (título + trilha) por cima */
.tg-breadcrumb-content {
    position: relative;
    z-index: 5;
}

/* Overlays/sombras por baixo do texto */
.tg-hero-top-shadow,
.tg-breadcrumb-shadow,
.tg-hero-bottom-shape,
.tg-hero-bottom-shape-2 {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

/* Garante que o background não “vire camada” por cima */
.tg-breadcrumb-area.include-bg {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Sobre nós - CTA final menos alto */
/* Só no Sobre Nós */
.page-about .tg-banner-space-3 {
    margin-top: -50px !important;
}


/* =========================================================
   DESTINO - uib-typeahead (correção final)
   - Evita sobreposição
   - Não quebra o layout
   - Largura maior
========================================================= */

.tg-booking-add-input-date {
    position: relative;
}

    /* POPUP do typeahead: é um UL com class="dropdown-menu" e atributo uib-typeahead-popup */
    .tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] {
        position: absolute !important;
        top: calc(100% + 8px) !important; /* ignora o top inline do Angular */
        left: 0 !important; /* ignora o left inline */

        width: 520px; /* <<< AQUI você define a largura */
        max-width: 90vw;
        padding: 10px !important;
        margin: 0 !important;
        border: 1px solid #E4E6EC;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 18px 45px rgba(15, 24, 40, 0.16);
        max-height: 260px;
        overflow-y: auto;
        z-index: 9999;
    }

        /* GARANTIR que os LIs empilhem (sem position/float do tema) */
        .tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] > li {
            display: block !important;
            position: relative !important;
            float: none !important;
            clear: both !important;
            margin: 0 !important;
            padding: 0 !important;
        }

    /* O item (seu template) */
    .tg-booking-add-input-date .tg-typeahead-row {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 12px 12px;
        border-radius: 12px;
    }

    /* pin em círculo */
    .tg-booking-add-input-date .tg-typeahead-pin {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid #E4E6EC;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 38px;
    }

    /* texto */
    .tg-booking-add-input-date .tg-typeahead-label {
        font-size: 15px;
        font-weight: 600;
        line-height: 1.2;
        color: #222;
    }

    /* hover/ativo (o ACTIVE está no LI no seu HTML) */
    .tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] > li:hover .tg-typeahead-row,
    .tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] > li.active .tg-typeahead-row {
        background: rgba(0,0,0,.04);
    }

    /* ===== Typeahead: alinhar pin + texto e impedir sobreposição ===== */
    .tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] {
        text-align: left !important; /* tema às vezes centraliza/right */
    }

        .tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] > li {
            text-align: left !important;
        }

    /* garante que o row ocupe 100% e não "encolha" */
    .tg-booking-add-input-date .tg-typeahead-row {
        width: 100% !important;
        justify-content: flex-start !important;
        position: relative !important;
    }

    /* o pin nunca pode flutuar ou ter position absoluto do tema */
    .tg-booking-add-input-date .tg-typeahead-pin,
    .tg-booking-add-input-date .tg-typeahead-pin i {
        float: none !important;
        position: static !important;
        right: auto !important;
        left: auto !important;
        margin: 0 !important;
    }

    /* texto também não pode flutuar */
    .tg-booking-add-input-date .tg-typeahead-label {
        float: none !important;
        position: static !important;
    }
    /* feedback dentro do dropdown */
    .tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] .tg-typeahead-feedback {
        padding: 10px 12px;
        font-size: 13px;
        color: #6b6b6b;
    }
    .tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] .tg-typeahead-row span,
    .tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] .tg-typeahead-row i {
        position: static !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
    }
/* ===== Feedback de destino com cara de dropdown (sem quebrar layout) ===== */
.tg-booking-add-input-date {
    position: relative;
}

    /* o ícone do input (se você quiser isolar e evitar heranças) */
    .tg-booking-add-input-date > .tg-input-icon {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
    }

/* caixa do feedback (mesma estética do dropdown) */
.tg-destination-feedback {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 520px; /* ajuste aqui pra ficar maior */
    max-width: 90vw;
    background: #fff;
    border: 1px solid #E4E6EC;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 24, 40, 0.16);
    padding: 12px 14px;
    z-index: 9999;
}

/* texto interno */
.tg-typeahead-feedback {
    font-size: 13px;
    line-height: 1.4;
    color: #6b6b6b;
}

/* evita que regras do tema joguem spans pra direita */
.tg-destination-feedback * {
    position: static !important;
    transform: none !important;
}


/* Flatpickr: garantir que setas de mês sejam clicáveis */
.flatpickr-calendar .flatpickr-prev-month,
.flatpickr-calendar .flatpickr-next-month {
    pointer-events: auto !important;
    z-index: 5 !important;
}

/* Flatpickr: por cima do hero */
.flatpickr-calendar {
    z-index: 99999 !important;
}


/* ===== Flatpickr - corrigir dia selecionado (tema sobrescrevia) ===== */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange {
    background: #36b37e !important;
    border-color: #36b37e !important;
    color: #fff !important;
}

/* "hoje" com borda verde */
.flatpickr-day.today {
    border-color: #36b37e !important;
}

/* hover */
.flatpickr-day:hover {
    background: rgba(54, 179, 126, 0.15) !important;
}

/* Setas/mês clicáveis (evita overlay do tema) */
.flatpickr-calendar .flatpickr-prev-month,
.flatpickr-calendar .flatpickr-next-month {
    pointer-events: auto !important;
}

/* Por cima do hero */
.flatpickr-calendar {
    z-index: 99999 !important;
}


/* ================================
   HÓSPEDES (Quantity box) - FIX UI
================================ */

/* lista interna alinhada */
.tg-booking-form-location-list.tg-quantity ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .tg-booking-form-location-list.tg-quantity ul > li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 10px 0;
        margin: 0;
    }

        /* cabeçalho "Quarto 1" */
        .tg-booking-form-location-list.tg-quantity ul > li.mb-5 {
            padding: 0 0 8px;
        }

        /* label da esquerda */
        .tg-booking-form-location-list.tg-quantity ul > li > span.mr-20 {
            min-width: 90px;
            flex: 1 1 auto;
        }

/* pill do contador */
.tg-booking-quantity-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    height: 44px; /* altura fixa igual tema */
    min-width: 150px;
    padding: 0; /* importante */
    border-radius: 999px;
    border: 1px solid #E4E6EC;
    overflow: hidden; /* impede “vazar” */
    background: #fff;
}

    /* botões - / + */
    .tg-booking-quantity-item .decrement,
    .tg-booking-quantity-item .increment {
        width: 48px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        /* evita heranças do tema */
        position: static !important;
        float: none !important;
        transform: none !important;
    }

    /* divisórias internas */
    .tg-booking-quantity-item .decrement {
        border-right: 1px solid #E4E6EC;
    }

    .tg-booking-quantity-item .increment {
        border-left: 1px solid #E4E6EC;
    }

    /* input do número (o que está “saindo do lugar”) */
    .tg-booking-quantity-item .tg-quantity-input {
        width: 52px !important;
        height: 44px !important;
        line-height: 44px !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        text-align: center !important;
        font-weight: 600;
        font-size: 15px;
        /* mata qualquer estilo global estranho */
        position: static !important;
        float: none !important;
        transform: none !important;
        box-shadow: none !important;
    }

    /* garante que svg fique central e clicável */
    .tg-booking-quantity-item svg {
        display: block;
    }

/* botão OK ocupa 100% sem “encostar” */
.tg-booking-form-location-list.tg-quantity .tg-booking-form-search-btn .bk-search-button {
    width: 100%;
}


/* =========================================================
   HÓSPEDES (tg-quantity) - largura do popup + botões menos arredondados
 ========================================================= */

/* 1) Aumenta a largura do popup de hóspedes (não fica preso ao width do input) */
.tg-booking-form-parent-inner.tg-hero-quantity .tg-booking-form-location-list.tg-quantity {
    width: 420px; /* ajuste aqui: 380/420/480... */
    max-width: calc(100vw - 24px); /* não estoura na tela */
}

/* no mobile, deixa 100% */
@media (max-width: 575px) {
    .tg-booking-form-parent-inner.tg-hero-quantity .tg-booking-form-location-list.tg-quantity {
        width: 100%;
    }
}

/* 2) Dá layout melhor nas linhas (texto à esquerda e controle à direita) */
.tg-booking-form-location-list.tg-quantity ul > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

    /* mantém o título "Quarto 1" normal (ele já vem com .mb-5 no seu HTML) */
    .tg-booking-form-location-list.tg-quantity ul > li.mb-5 {
        display: block;
    }

    /* label da esquerda (Adultos/Crianças/Idade...) */
    .tg-booking-form-location-list.tg-quantity ul > li > span.mr-20 {
        flex: 1;
        min-width: 140px; /* evita quebrar toda hora */
    }

/* 3) Controle + / - menos redondo (estilo “retângulo arredondado”) */
.tg-booking-quantity-item {
    min-width: 150px;
    padding: 0;
    border-radius: 12px; /* <<< antes era 100px */
    overflow: hidden; /* pra ficar “inteiro” */
    justify-content: center;
}

    /* botões + e - com cantos menos redondos */
    .tg-booking-quantity-item .increment,
    .tg-booking-quantity-item .decrement {
        width: 42px;
        height: 40px;
        border-radius: 10px; /* <<< antes ficava circular */
    }

    /* separadores (fica parecido com o template) */
    .tg-booking-quantity-item .decrement {
        border-right: 1px solid #E4E6EC;
    }

    .tg-booking-quantity-item .increment {
        border-left: 1px solid #E4E6EC;
    }

    /* número central */
    .tg-booking-quantity-item .tg-quantity-input {
        width: 54px;
        height: 40px;
        line-height: 40px;
        font-size: 15px;
    }


/* overlay só por cima da listagem */
.tg-results-loading {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* fundo */
.tg-results-loading__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.65);
    backdrop-filter: blur(4px);
}

/* caixa */
.tg-results-loading__box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* AQUI resolve o alinhamento */
    display: flex;
    align-items: center; /* centraliza verticalmente */
    justify-content: center;
    gap: 16px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid #E4E6EC;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 24, 40, 0.16);
    min-width: 320px;
}

    .tg-results-loading__box .loader {
        top: auto !important;
        transform: none !important;
        margin: 0 !important;
        /* mantém o layout certinho no flex */
        flex: 0 0 auto;
        align-self: center;
    }


.tg-results-loading__text {
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
}

/* Mobile: não estoura */
@media (max-width: 480px) {
    .tg-results-loading__box {
        min-width: 0;
        width: calc(100vw - 32px);
    }
}

/* evita clique nos cards enquanto carrega */
.tg-results-loading,
.tg-results-loading * {
    pointer-events: all;
}

/* PAGINA DE HOTEL -- INICIO --*/

.tg-cancel-list {
    margin: 8px 0 0;
    padding-left: 18px;
}

    .tg-cancel-list li {
        margin-bottom: 6px;
        line-height: 1.35;
    }

a.disabled {
    pointer-events: none;
    opacity: .6;
}

/* ------------ Lista de hoteis  ---------------*/

#options .tg-listing-card-item .tg-listing-card-content {
    padding: 20px 20px;
}

#options .tg-listing-card-item .row.align-items-start {
    row-gap: 16px;
}

#options .tg-listing-card-item .tg-label:first-child {
    margin-top: 2px;
}

#options .tg-room-price-col {
    padding-left: 12px;
}

@media (max-width: 991.98px) {
    #options .tg-listing-card-item .tg-listing-card-content {
        padding: 20px 22px;
    }

    #options .tg-room-price-col {
        padding-left: 0;
    }
}


.tg-list-row-card {
    overflow: hidden;
}

.tg-list-row-media {
    min-height: 300px;
    height: 100%;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
    background: #f3f4f6;
}

    .tg-list-row-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.tg-list-row-content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 30px;
    height: 100%;
}

.tg-list-row-main {
    flex: 1 1 auto;
    min-width: 0;
}

.tg-list-row-title {
    margin-bottom: 10px;
}

.tg-list-row-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.tg-list-row-price {
    flex: 0 0 240px;
    width: 240px;
    padding-left: 24px;
    border-left: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.tg-list-row-price__label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.tg-list-row-price__value {
    font-size: 34px;
    line-height: 1.05;
    font-weight: 800;
    color: #1f285c;
    margin-bottom: 8px;
}

    .tg-list-row-price__value sup {
        font-size: 15px;
        top: -0.65em;
    }

.tg-list-row-price__total {
    margin-bottom: 2px;
}

.tg-list-row-price__tax {
    margin-bottom: 16px;
}

.tg-list-row-price__cta {
    min-width: 130px;
    text-align: center;
}

@media (max-width: 1199.98px) {
    .tg-list-row-price {
        flex-basis: 220px;
        width: 220px;
    }

    .tg-list-row-price__value {
        font-size: 30px;
    }
}

@media (max-width: 991.98px) {
    .tg-list-row-media {
        min-height: 240px;
        border-radius: 20px 20px 0 0;
    }

    .tg-list-row-content {
        flex-direction: column;
        gap: 20px;
        padding: 22px;
    }

    .tg-list-row-price {
        width: 100%;
        flex: 1 1 auto;
        padding-left: 0;
        padding-top: 18px;
        border-left: 0;
        border-top: 1px solid #e5e7eb;
    }

    .tg-list-row-price__cta {
        min-width: 160px;
    }
}

@media (max-width: 767.98px) {
    .tg-list-row-media {
        min-height: 220px;
    }

    .tg-list-row-content {
        padding: 18px;
        gap: 18px;
    }

    .tg-list-row-price__value {
        font-size: 28px;
    }

    .tg-list-row-pills .tg-pill {
        max-width: 100%;
    }
}

/* ------------ Lista de hoteis  ---------------*/



/* força quebra de linha (endereço, descrições longas, links, etc.) */
/* Endereço quebrar linha */

.tg-filter-sidebar .tg-filter-item .tg-label {
    display: block;
    max-width: 100%;
    width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tg-filter-sidebar,
.tg-filter-item {
    min-width: 0; /* permite o conteúdo encolher e quebrar */
}


/* Caixa de cancelamento */
.tg-cancel-box {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fafafa;
}

.tg-cancel-ico {
    font-size: 14px;
    opacity: .8;
}

.tg-cancel-title {
    font-size: 14px;
}

.tg-cancel-link {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    text-decoration: underline;
}

.tg-cancel-details {
    margin-top: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.tg-cancel-row {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 12px;
    padding: 10px 12px;
    border-top: 1px solid #f1f1f1;
    font-size: 13px;
}

.tg-cancel-head {
    border-top: 0;
    background: #f7f7f7;
    font-weight: 700;
}

.hotel-summary-text {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    line-height: 1.5 !important;
}

.tg-listing-card-content {
    min-width: 0;
}

.tg-cancel-badge {
    display: inline-block;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.3;
}

.tg-cancel-box .d-flex {
    row-gap: 6px;
}




/* PAGINA DE HOTEL -- FIM --*/


/* Checkout sidebar: labels podem quebrar linha */
.tg-filter-sidebar .tg-listing-card-content .tg-label {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

/* Importantíssimo em layouts com flex/grid */
.tg-filter-sidebar,
.tg-filter-sidebar .tg-listing-card-item,
.tg-filter-sidebar .tg-listing-card-content {
    min-width: 0;
}

/* Normaliza thumbs do GRID (evita card “esticado” por foto vertical) */
.tg-thumb-fixed {
    height: 220px; /* ajuste fino aqui (200~260 costuma ficar bom) */
    overflow: hidden;
}

    .tg-thumb-fixed .tg-thumb-img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* corta e mantém proporção */
        display: block;
    }

/* garante que preço use fonte normal (não fonte de ícones) */
.tg-listing-2-price,
.tg-listing-2-price .new,
.tg-listing-2-price .new sup {
    font-family: inherit !important;
}

.scroll__top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    pointer-events: auto;
    cursor: pointer;
}

    .scroll__top.open {
        opacity: 1;
        visibility: visible;
    }

/* start loader */
.tg-results-loading__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.tg-results-loading__title {
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
    font-size: 16px;
}

.tg-results-loading__message {
    margin: 0;
    line-height: 1.35;
    font-size: 13px;
    color: #666;
}

.tg-results-loading__steps {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.tg-results-loading__steps li {
    font-size: 12px;
    line-height: 1.35;
    color: #8a8a8a;
    margin: 0 0 4px;
}

.tg-results-loading__steps li.is-active {
    color: #111;
    font-weight: 600;
}

.tg-results-loading__steps li.is-done {
    color: var(--tg-theme-primary);
    font-weight: 600;
}
/* end loader */

/* Melhoria visual detalhes de hotel para mobile */
@media (max-width: 767.98px) {
    .tg-listing-card-thumb img {
        height: 220px;
        object-fit: cover;
    }

    #visao-geral .tg-listing-card-item.mb-25 {
        margin-bottom: 12px !important;
    }

    #visao-geral {
        margin-bottom: 18px !important;
    }

    #options {
        margin-top: 0 !important;
    }
}

.hotel-price-box {
    background: #f8f6fb;
    border-radius: 14px;
    padding: 26px 26px 22px;
}

    .hotel-price-box .tg-filter-title {
        margin-bottom: 10px;
        font-size: 15px;
        font-weight: 600;
        color: #1c2240;
    }

.hotel-price-box__nightly {
    font-size: 34px;
    line-height: 1.05;
    font-weight: 800;
    color: #16c172;
    text-align: right;
    margin-bottom: 10px;
}

.hotel-price-box__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    line-height: 1.35;
    color: #1c2240;
    margin-bottom: 6px;
}

    .hotel-price-box__meta strong {
        font-weight: 700;
    }

.hotel-price-box__taxes {
    font-size: 13px;
    line-height: 1.3;
    color: #7b7f92;
    text-align: right;
    margin-bottom: 18px;
}

.hotel-price-box__cta {
    width: 100%;
    text-align: center;
}

.hotel-search-summary {
    font-size: 14px;
    line-height: 1.4;
    color: #5f6475;
    font-weight: 500;
}

.tg-listing-avai-btn {
    background: #19c37d !important;
    color: #fff !important;
    border: 1px solid #19c37d !important;
    font-weight: 700;
    border-radius: 10px;
    padding: 12px 22px;
    box-shadow: 0 8px 18px rgba(25, 195, 125, 0.22);
    transition: all .2s ease;
}

    .tg-listing-avai-btn:hover,
    .tg-listing-avai-btn:focus {
        background: #12a868 !important;
        border-color: #12a868 !important;
        color: #fff !important;
        transform: translateY(-1px);
    }

@media (max-width: 991.98px) {
    .hotel-price-box__nightly {
        text-align: left;
        font-size: 30px;
    }

    .hotel-price-box__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .hotel-price-box__taxes {
        text-align: left;
    }
}
/* =========================================
   Detalhe de hoteis
========================================= */

.tg-tab-label-mobile {
    display: none;
}

.tg-hotel-mobile-summary {
    display: none;
}

.tg-room-board-label {
    color: #4b5563;
    font-weight: 500;
}

.tg-cancel-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.25;
}

@media (max-width: 767.98px) {
    .tg-hotel-top-tabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
    }

        .tg-hotel-top-tabs .nav-item {
            flex: 0 0 auto;
        }

        .tg-hotel-top-tabs .nav-link {
            display: inline-flex;
            align-items: center;
            white-space: nowrap;
            padding: 10px 14px;
            border-radius: 12px;
        }

    .tg-tab-label-desktop {
        display: none;
    }

    .tg-tab-label-mobile {
        display: inline;
    }

    .tg-tour-details-video-location {
        row-gap: 8px;
    }

    .tg-hotel-mobile-summary {
        display: block;
        margin: 12px 0 16px;
        padding: 16px;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        background: #fff;
    }

    .tg-hotel-mobile-summary__price {
        font-size: 29px;
        font-weight: 700;
        line-height: 1.1;
        color: #20c997;
    }

    .tg-hotel-mobile-summary__meta {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-top: 8px;
        color: #4b5563;
        font-size: 14px;
    }

    .tg-hotel-mobile-summary__taxes {
        margin-top: 4px;
        color: #6b7280;
        font-size: 14px;
    }

    .tg-hotel-mobile-summary__cta {
        margin-top: 14px;
    }

        .tg-hotel-mobile-summary__cta .tg-listing-avai-btn {
            width: 100%;
            text-align: center;
        }

    .tg-hotel-mobile-summary__info {
        display: flex;
        flex-direction: column;
        gap: 4px;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #f1f5f9;
    }

        .tg-hotel-mobile-summary__info strong {
            font-size: 13px;
            color: #111827;
        }

        .tg-hotel-mobile-summary__info span,
        .tg-hotel-mobile-summary__info a {
            color: #6b7280;
            word-break: break-word;
            font-size: 14px;
        }

    .tg-summary-address {
        display: none;
    }

    .tg-cancel-header {
        flex-wrap: wrap;
        align-items: flex-start !important;
        row-gap: 8px;
    }

    .tg-cancel-badge {
        flex: 0 0 100%;
    }

    .tg-room-price-col {
        text-align: left !important;
    }
}
/* ===== Galeria do detalhe do hotel ===== */

.tg-hotel-gallery-card {
    overflow: hidden;
}

.tg-hotel-gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f3f4f6;
}

.tg-hotel-gallery-main__img {
    width: 100%;
    height: 520px;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.tg-hotel-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.95);
    color: #1f285c;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 2;
    transition: all .2s ease;
}

    .tg-hotel-gallery-nav:hover {
        background: #fff;
        transform: translateY(-50%) scale(1.04);
    }

.tg-hotel-gallery-nav--prev {
    left: 24px;
}

.tg-hotel-gallery-nav--next {
    right: 24px;
}

.tg-hotel-gallery-nav i {
    font-size: 18px;
}

.tg-hotel-gallery-thumbs {
    display: flex;
    gap: 16px;
    margin-top: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.tg-hotel-gallery-thumb {
    flex: 0 0 auto;
    width: 150px;
    height: 92px;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    transition: all .2s ease;
}

    .tg-hotel-gallery-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .tg-hotel-gallery-thumb.is-active {
        border-color: #5b3df5;
        box-shadow: 0 0 0 2px rgba(91,61,245,.12);
    }

    .tg-hotel-gallery-thumb:hover {
        transform: translateY(-2px);
    }

@media (max-width: 991.98px) {
    .tg-hotel-gallery-main__img {
        height: 420px;
        max-height: 420px;
    }

    .tg-hotel-gallery-nav {
        width: 46px;
        height: 46px;
    }

    .tg-hotel-gallery-nav--prev {
        left: 16px;
    }

    .tg-hotel-gallery-nav--next {
        right: 16px;
    }
}

@media (max-width: 767.98px) {
    .tg-hotel-gallery-main__img {
        height: 260px;
        max-height: 260px;
    }

    .tg-hotel-gallery-nav {
        width: 42px;
        height: 42px;
    }

        .tg-hotel-gallery-nav i {
            font-size: 15px;
        }

    .tg-hotel-gallery-thumb {
        width: 108px;
        height: 72px;
        border-radius: 14px;
    }

    .tg-hotel-gallery-thumbs {
        gap: 10px;
        margin-top: 12px;
    }
}
/* ===== Mini mapa abaixo do endereço ===== */

.hotel-map-preview {
    margin-top: 14px;
}

.hotel-map-preview__button {
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

    .hotel-map-preview__button:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
    }

.hotel-map-preview__iframe {
    display: block;
    width: 100%;
    height: 180px;
    border: 0;
    background: #eef2f7;
}

.hotel-map-preview__footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 2px 0;
}

.hotel-map-preview__link {
    padding: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

    .hotel-map-preview__link:hover {
        text-decoration: underline;
    }

/* ===== Modal do mapa grande ===== */

.hotel-map-modal .modal-backdrop,
.hotel-map-modal.fade .modal-backdrop {
    opacity: .45;
}

.hotel-map-modal__dialog {
    width: min(92vw, 1180px);
    max-width: 1180px;
    margin: 20px auto;
}

.hotel-map-modal__content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.hotel-map-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: #fff;
    border-bottom: 1px solid #edf1f5;
}

.hotel-map-modal__close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex: 0 0 auto;
}

.hotel-map-modal__title {
    flex: 1 1 auto;
    min-width: 0;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-map-modal__cta {
    color: #2563eb;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    flex: 0 0 auto;
}

    .hotel-map-modal__cta:hover {
        text-decoration: underline;
    }

.hotel-map-modal__body {
    padding: 0;
    background: #fff;
}

.hotel-map-modal__iframe {
    display: block;
    width: 100%;
    height: min(76vh, 760px);
    border: 0;
    background: #eef2f7;
}

.hotel-map-preview__media {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f3f4f6;
}

.hotel-map-preview__iframe {
    display: block;
    width: 100%;
    height: 210px;
    border: 0;
    pointer-events: none;
}

.hotel-map-modal__header {
    position: relative;
    z-index: 20;
}

.hotel-map-modal__close,
.hotel-map-modal__cta {
    position: relative;
    z-index: 21;
}

.hotel-map-modal__body {
    position: relative;
    z-index: 10;
}

.hotel-map-modal__iframe {
    display: block;
    width: 100%;
    border: 0;
}

.hotel-map-preview__overlay {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

    .hotel-map-preview__overlay:focus {
        outline: none;
    }

.hotel-map-preview__link {
    background: none;
    border: 0;
    padding: 0;
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 991.98px) {
    .hotel-map-modal__dialog {
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        margin: 12px auto;
    }

    .hotel-map-modal__header {
        padding: 14px 16px;
        gap: 12px;
    }

    .hotel-map-modal__title {
        font-size: 16px;
    }

    .hotel-map-modal__cta {
        font-size: 14px;
    }

    .hotel-map-modal__iframe {
        height: 72vh;
    }
}

@media (max-width: 767.98px) {
    .hotel-map-preview__iframe {
        height: 160px;
    }

    .hotel-map-modal__header {
        align-items: center;
        gap: 10px;
    }

    .hotel-map-modal__title {
        font-size: 15px;
    }

    .hotel-map-modal__cta {
        font-size: 13px;
    }

    .hotel-map-modal__close {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }

    .hotel-map-modal__iframe {
        height: 68vh;
    }
}




/* =========================================
   Checkout sidebar - hierarquia visual
========================================= */

.checkout-sidebar-card .tg-listing-card-content {
    padding: 24px;
}

.checkout-sidebar-eyebrow {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 8px;
}

.checkout-sidebar-hotel-name {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 800;
    color: #1c2240;
}

.checkout-sidebar-stars {
    margin-bottom: 10px;
}

.checkout-sidebar-address {
    font-size: 14px;
    line-height: 1.5;
    color: #5f6475;
    margin-bottom: 16px;
}

.checkout-sidebar-dates {
    margin-bottom: 12px;
}

.checkout-sidebar-label {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    color: #1c2240;
    margin-bottom: 4px;
}

.checkout-sidebar-value {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 500;
    color: #3c4257;
}

.checkout-sidebar-nights {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: #1c2240;
}

.checkout-sidebar-section-title {
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
    color: #1c2240;
}

.checkout-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.checkout-price-label {
    font-size: 14px;
    line-height: 1.3;
    color: #5f6475;
}

.checkout-price-value {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: #1c2240;
    text-align: right;
}

.checkout-price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(0,0,0,.08);
    margin-top: 14px;
    padding-top: 14px;
}

.checkout-price-total__label {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
    color: #1c2240;
}

.checkout-price-total__value {
    font-size: 24px;
    line-height: 1.1;
    font-weight: 800;
    color: #16c172;
    text-align: right;
}

.checkout-price-note {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
}

.checkout-room-block {
    margin-bottom: 14px;
}

.checkout-room-title {
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    color: #1c2240;
    margin-bottom: 6px;
}

.checkout-room-line {
    font-size: 14px;
    line-height: 1.5;
    color: #3c4257;
    margin-bottom: 4px;
}

.checkout-room-policy-title {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #1c2240;
    margin-top: 10px;
    margin-bottom: 6px;
}

.checkout-room-policy-badge {
    margin-bottom: 8px;
}
/* =========================================
   Checkout politicas modal
========================================= */
.checkout-policy-link {
    font-weight: 600;
    color: #1f285c;
    text-decoration: underline;
    cursor: pointer;
}

.checkout-policy-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 9998;
}

.checkout-policy-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.checkout-policy-modal__dialog {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .20);
    overflow: hidden;
}

.checkout-policy-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 24px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}
    .checkout-policy-modal__header > div:first-child {
        flex: 1 1 auto;
        min-width: 0;
    }
.checkout-policy-modal__room {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
    color: #5f6b84;
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.checkout-policy-modal__close {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #1f285c;
    position: relative;
    z-index: 2;
}

.checkout-policy-modal__body {
    padding: 20px 24px 24px;
}

.checkout-policy-modal__line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

    .checkout-policy-modal__line:last-child {
        border-bottom: 0;
    }

    .checkout-policy-modal__line span {
        color: #50596b;
    }

    .checkout-policy-modal__line strong {
        color: #1f285c;
        font-weight: 700;
        text-align: right;
    }


/* =========================================
   Checkout mobile summary
========================================= */

.checkout-mobile-summary {
    margin-bottom: 16px;
}

.checkout-mobile-summary__card {
    background: #f8f6fb;
    border: 1px solid #ece8f3;
    border-radius: 14px;
    padding: 18px;
}

/* topo */
.checkout-mobile-summary__eyebrow {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
}

.checkout-mobile-summary__hotel {
    font-size: 18px;
    font-weight: 800;
    color: #1c2240;
    line-height: 1.2;
}

/* datas */
.checkout-mobile-summary__dates {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.checkout-mobile-summary__label {
    font-size: 12px;
    font-weight: 700;
    color: #1c2240;
    margin-bottom: 2px;
}

.checkout-mobile-summary__value {
    font-size: 14px;
    color: #3c4257;
}

.checkout-mobile-summary__nights {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1c2240;
}

/* divisor */
.checkout-mobile-summary__divider {
    height: 1px;
    background: rgba(0,0,0,.08);
    margin: 14px 0;
}

/* preço */
.checkout-mobile-summary__price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 6px;
    color: #3c4257;
}

/* total */
.checkout-mobile-summary__total {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(0,0,0,.08);
}

    .checkout-mobile-summary__total span:first-child {
        font-size: 15px;
        font-weight: 700;
        color: #1c2240;
    }

    .checkout-mobile-summary__total span:last-child {
        font-size: 20px;
        font-weight: 800;
        color: #16c172;
    }

/* cancelamento */
.checkout-mobile-summary__policy {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #118a52;
}



/* =========================================================
   SAFETY FIXES - evitar impacto global em busca/listagens
========================================================= */

/* Destino: popup mais estável e legível em qualquer template */
.tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] {
    width: min(520px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
}

.tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] > li,
.tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] > li > a {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    text-align: left !important;
}

.tg-booking-add-input-date ul.dropdown-menu[uib-typeahead-popup] > li > a {
    padding: 10px 12px !important;
    line-height: 1.35 !important;
}

/* Hóspedes: não deixar o popup invisível quando o app já decidiu exibir */
.tg-booking-form-location-list.tg-quantity {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
}

/* mantém escondido quando o Angular/app aplicar display:none */
.tg-booking-form-location-list.tg-quantity[style*="display: none"] {
    pointer-events: none !important;
}

/* =========================================================
   CHECKOUT UX - escopado à página de checkout
========================================================= */

.checkout-area .checkout-stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.checkout-area .checkout-stepper__item {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #E4E6EC;
    background: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    text-align: left;
    transition: .2s ease;
}

.checkout-area .checkout-stepper__item.is-active {
    border-color: #16c172;
    background: #f7fffb;
    box-shadow: 0 10px 30px rgba(22,193,114,.12);
}

.checkout-area .checkout-stepper__item.is-done {
    border-color: rgba(22,193,114,.35);
    background: #f7fffb;
}

.checkout-area .checkout-stepper__number {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: #eef2f7;
    color: #1c2240;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex: 0 0 28px;
}

.checkout-area .checkout-stepper__item.is-active .checkout-stepper__number,
.checkout-area .checkout-stepper__item.is-done .checkout-stepper__number {
    background: #16c172;
    color: #fff;
}

.checkout-area .checkout-stepper__text {
    font-size: 14px;
    font-weight: 700;
    color: #1c2240;
}

.checkout-area .checkout-stepper__intro {
    color: #667085;
}

.checkout-area .checkout-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.checkout-area .checkout-card-heading--sub {
    align-items: center;
    margin-bottom: 10px;
}

.checkout-area .checkout-inline-action {
    border: 0;
    background: transparent;
    color: #16c172;
    font-weight: 700;
    padding: 0;
    white-space: nowrap;
}

.checkout-area .checkout-inline-action[disabled] {
    opacity: .45;
}

.checkout-area .checkout-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 26px;
}

.checkout-area .checkout-btn-light {
    min-height: 54px;
    border-radius: 10px;
    padding: 14px 22px;
    border: 1px solid #E4E6EC;
    background: #fff;
    color: #1c2240;
    font-weight: 700;
}

.checkout-area .checkout-payment-heading {
    margin-bottom: 16px;
}

.checkout-area .checkout-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f7fffb;
    border: 1px solid rgba(22,193,114,.18);
    color: #118a52;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
}

.checkout-area .checkout-security-badge img {
    width: 18px;
    height: 18px;
}

.checkout-area .checkout-security-note {
    background: #f6f8fb;
    border: 1px solid #E4E6EC;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #4b5565;
    margin-bottom: 16px;
}

.checkout-area .checkout-payment-methods {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.checkout-area .checkout-payment-method {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #E4E6EC;
    border-radius: 999px;
    background: #fff;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
    color: #1c2240;
}

.checkout-area .checkout-payment-method.is-selected,
.checkout-area .checkout-payment-methods--single .checkout-payment-method {
    border-color: rgba(22,193,114,.35);
    background: #f7fffb;
}

.checkout-area .checkout-3ds-panel {
    margin-top: 18px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid rgba(22,193,114,.18);
    background: linear-gradient(180deg, #f7fffb 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 18px;
}

.checkout-area .checkout-3ds-panel__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(22,193,114,.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
}

.checkout-area .checkout-3ds-panel__icon img {
    width: 22px;
    height: 22px;
}

.checkout-area .checkout-3ds-panel__content h5 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 800;
}

.checkout-area .checkout-3ds-panel__content p {
    margin: 0 0 10px;
    color: #556070;
    font-size: 14px;
    line-height: 1.5;
}

.checkout-area .checkout-3ds-panel__meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
    color: #118a52;
}

.checkout-area .checkout-pix-card {
    margin-top: 10px;
    border: 1px solid #E4E6EC;
    border-radius: 18px;
    background: #fbfcfe;
    padding: 18px;
}

.checkout-area .checkout-pix-summary {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.checkout-area .checkout-pix-summary__item {
    min-width: 180px;
}

.checkout-area .checkout-pix-summary__label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #667085;
    margin-bottom: 4px;
}

.checkout-area .checkout-pix-summary__value {
    font-size: 16px;
    color: #1c2240;
}

.checkout-area .checkout-pix-summary__amount {
    font-size: 28px;
    line-height: 1.1;
    color: #16c172;
    font-weight: 800;
}

.checkout-area .checkout-pix-qr {
    background: #fff;
    border: 1px solid #E4E6EC;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.checkout-area .checkout-pix-qr img {
    width: 220px;
    max-width: 100%;
    height: auto;
}

.checkout-area .checkout-pix-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.checkout-area .checkout-btn-outline {
    min-height: 48px;
    border-radius: 10px;
    padding: 12px 18px;
    border: 1px solid #1c2240;
    background: #fff;
    color: #1c2240;
    font-weight: 700;
}

.checkout-area .checkout-pix-hidden-textarea {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
}

.checkout-area .checkout-guest-row .tg-checkout-form-input {
    margin-bottom: 18px;
}

@media (min-width: 992px) {
    .checkout-area .checkout-guest-row {
        align-items: flex-end;
    }
}

@media (max-width: 991px) {
    .checkout-area .checkout-stepper {
        grid-template-columns: 1fr;
    }

    .checkout-area .checkout-card-heading,
    .checkout-area .checkout-step-actions,
    .checkout-area .checkout-pix-summary {
        flex-direction: column;
    }

    .checkout-area .checkout-inline-action {
        white-space: normal;
    }
}



.checkout-area .checkout-stepper__item {
    min-height: 74px;
    justify-content: flex-start;
}

.checkout-area .checkout-stepper__item[disabled],
.checkout-area .checkout-btn-light[disabled],
.checkout-area .tg-btn[disabled] {
    cursor: not-allowed;
}

.checkout-area .checkout-stepper__item[disabled] {
    opacity: 1;
}

.checkout-area .checkout-contact-row .tg-checkout-form-input,
.checkout-area .checkout-guest-row .tg-checkout-form-input {
    margin-bottom: 18px;
}

.checkout-area .checkout-payment-heading {
    align-items: center;
    flex-wrap: wrap;
}

.checkout-area .checkout-security-badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
    justify-content: center;
}

.checkout-area .checkout-card-heading--sub .tg-label {
    margin-top: 2px;
}

.checkout-area .checkout-payment-method {
    position: relative;
}

.checkout-area .checkout-payment-method input[disabled] + span {
    opacity: .65;
}

.checkout-area .checkout-step-actions .tg-btn,
.checkout-area .checkout-step-actions .checkout-btn-light {
    min-width: 220px;
}

@media (max-width: 991px) {
    .checkout-area .checkout-step-actions .tg-btn,
    .checkout-area .checkout-step-actions .checkout-btn-light {
        width: 100%;
        min-width: 0;
    }

    .checkout-area .checkout-step-actions {
        flex-direction: column;
    }

    .checkout-area .checkout-payment-heading {
        align-items: flex-start;
    }

    .checkout-area .checkout-security-badge {
        width: 100%;
        justify-content: flex-start;
        border-radius: 14px;
    }
}


/* ===============================
   Checkout v3 refinements
=============================== */
.checkout-area .tg-section-title {
    font-size: 30px;
    line-height: 1.05;
    margin-bottom: 8px;
}

.checkout-area .tg-section-subtitle {
    font-family: var(--tg-ff-chillax);
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 18px;
    color: #6b6b6b;
}

.checkout-area .tg-listing-card-item.checkout-form-card .tg-listing-card-content {
    padding: 22px 24px 22px;
}

.checkout-area .tg-label,
.checkout-area .tg-listing-card-content .tg-label {
    font-size: 13px;
    line-height: 1.35;
    color: #4f5b71;
    margin-bottom: 6px;
}

.checkout-area .tg-listing-card-content h4 {
    font-size: 17px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.checkout-area .checkout-card-heading {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 14px;
}

.checkout-area .checkout-card-heading--sub {
    align-items: flex-start;
    gap: 8px 12px;
}

.checkout-area .checkout-inline-action {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    white-space: normal;
    text-align: right;
    line-height: 1.25;
    font-size: 12px;
    padding-top: 2px;
}

.checkout-area .tg-checkout-form-input .input,
.checkout-area .tg-checkout-form-input input.input,
.checkout-area .tg-checkout-form-input select.input,
.checkout-area .tg-checkout-form-input textarea.input {
    height: 50px;
    padding: 0 16px;
    font-size: 14px;
    border-radius: 10px;
}

.checkout-area .checkout-guest-row .tg-checkout-form-input,
.checkout-area .checkout-contact-row .tg-checkout-form-input {
    margin-bottom: 14px;
}

.checkout-area .checkout-stepper__item {
    min-height: 70px;
    padding: 12px 16px;
}

.checkout-area .checkout-stepper__text {
    font-size: 13px;
}

.checkout-area .checkout-stepper__intro {
    font-size: 13px;
    margin-bottom: 16px;
}

.checkout-area .checkout-step-actions {
    margin: 16px 0 22px;
    align-items: center;
}

.checkout-area .checkout-step-actions .tg-btn,
.checkout-area .checkout-step-actions .checkout-btn-light,
.checkout-area .checkout-step-primary {
    min-width: 200px;
    width: auto;
    min-height: 50px;
    padding: 12px 20px;
    font-size: 14px;
}

.checkout-area .checkout-btn-light {
    padding: 12px 18px;
}

.checkout-area .checkout-security-badge {
    font-size: 12px;
    padding: 7px 11px;
}

.checkout-area .checkout-security-note {
    font-size: 14px;
    padding: 12px 14px;
}

.checkout-area .checkout-payment-method {
    padding: 9px 14px;
    font-size: 14px;
}

.checkout-area .checkout-pix-summary__value {
    font-size: 15px;
}

.checkout-area .checkout-pix-summary__amount {
    font-size: 24px;
}

.checkout-area .checkout-pix-card {
    padding: 16px;
}

.checkout-area .checkout-pix-qr {
    padding: 16px;
}

.checkout-area .checkout-pix-actions .checkout-btn-outline,
.checkout-area .checkout-pix-status .tg-btn {
    min-height: 46px;
    font-size: 14px;
}

.checkout-area .checkout-sidebar-eyebrow {
    font-size: 13px;
}

.checkout-area .checkout-sidebar-hotel-name,
.checkout-area .checkout-price-card h4 {
    font-size: 17px;
}

.checkout-area .checkout-sidebar-address,
.checkout-area .checkout-sidebar-label,
.checkout-area .checkout-sidebar-value,
.checkout-area .checkout-sidebar-nights,
.checkout-area .checkout-price-card .tg-label {
    font-size: 13px;
    line-height: 1.45;
}

.checkout-area .checkout-mobile-summary .tg-label {
    white-space: normal;
}

.checkout-area .checkout-form-card .alert {
    font-size: 13px;
}

@media (max-width: 991px) {
    .checkout-area .tg-section-title {
        font-size: 28px;
    }

    .checkout-area .checkout-step-actions .tg-btn,
    .checkout-area .checkout-step-actions .checkout-btn-light,
    .checkout-area .checkout-step-primary {
        width: 100%;
        min-width: 0;
    }

    .checkout-area .checkout-inline-action {
        text-align: left;
    }
}


/* ===============================
   Checkout v4 refinements
=============================== */
.checkout-area .tg-listing-card-item.checkout-form-card .tg-listing-card-content {
    padding: 20px 22px 20px;
}

.checkout-area .tg-listing-card-content h4,
.checkout-area .checkout-sidebar-hotel-name,
.checkout-area .checkout-price-card h4 {
    font-size: 16px;
    line-height: 1.2;
}

.checkout-area .tg-label,
.checkout-area .tg-listing-card-content .tg-label,
.checkout-area .checkout-sidebar-address,
.checkout-area .checkout-sidebar-label,
.checkout-area .checkout-sidebar-value,
.checkout-area .checkout-sidebar-nights,
.checkout-area .checkout-price-card .tg-label {
    font-size: 12px;
    line-height: 1.4;
}

.checkout-area .checkout-card-heading {
    margin-bottom: 12px;
    padding-top: 2px;
}

.checkout-area .checkout-stepper__intro {
    margin-top: 2px;
    margin-bottom: 14px;
}

.checkout-area .tg-checkout-form-input .input,
.checkout-area .tg-checkout-form-input input.input,
.checkout-area .tg-checkout-form-input select.input,
.checkout-area .tg-checkout-form-input textarea.input {
    height: 48px;
    padding: 0 15px;
    font-size: 13px;
}

.checkout-area .checkout-payment-heading {
    align-items: flex-start;
}

.checkout-area .checkout-inline-action {
    margin-left: auto;
    max-width: 260px;
    justify-content: flex-end;
    font-size: 12px;
}

.checkout-area .checkout-step-actions {
    gap: 10px;
}

.checkout-area .checkout-step-actions .tg-btn,
.checkout-area .checkout-step-actions .checkout-btn-light,
.checkout-area .checkout-step-primary {
    min-width: 188px;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 13px;
}

.checkout-area .checkout-guest-row .col-lg-6,
.checkout-area .checkout-guest-row .col-lg-3 {
    display: flex;
    flex-direction: column;
}

.checkout-area .checkout-payer-grid .tg-checkout-form-input,
.checkout-area .checkout-guest-row .tg-checkout-form-input {
    width: 100%;
}

.checkout-area .checkout-3ds-shell .tg-listing-card-content {
    padding: 0;
    overflow: hidden;
}

.checkout-area .checkout-3ds-shell__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 20px 22px 0;
}

.checkout-area .checkout-3ds-shell__logo {
    font-size: 22px;
    font-weight: 800;
    color: #16c172;
    line-height: 1;
}
.checkout-area .checkout-3ds-shell__logo span {
    color: #111827;
}

.checkout-area .checkout-3ds-shell__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f7fffb;
    border: 1px solid rgba(22,193,114,.18);
    color: #118a52;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
}
.checkout-area .checkout-3ds-shell__badge img {
    width: 16px;
    height: 16px;
}

.checkout-area .checkout-3ds-shell__panel {
    margin: 18px 22px 22px;
    border: 1px solid rgba(22,193,114,.18);
    background: linear-gradient(180deg, #f7fffb 0%, #ffffff 100%);
    border-radius: 18px;
    padding: 20px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    box-shadow: 0 18px 38px rgba(17, 138, 82, .08);
}

.checkout-area .checkout-3ds-shell__icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(22,193,114,.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
}
.checkout-area .checkout-3ds-shell__icon img {
    width: 24px;
    height: 24px;
}

.checkout-area .checkout-3ds-shell__content h4 {
    font-size: 20px;
    margin: 0 0 8px;
}
.checkout-area .checkout-3ds-shell__content p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #465266;
    line-height: 1.55;
}
.checkout-area .checkout-3ds-shell__note {
    background: rgba(22,193,114,.08);
    border: 1px solid rgba(22,193,114,.14);
    color: #136f44;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 14px;
}
.checkout-area .checkout-3ds-shell__summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.checkout-area .checkout-3ds-shell__summary-item {
    background: #fff;
    border: 1px solid #E4E6EC;
    border-radius: 12px;
    padding: 12px 14px;
}
.checkout-area .checkout-3ds-shell__summary-item span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #667085;
    margin-bottom: 4px;
}
.checkout-area .checkout-3ds-shell__summary-item strong {
    font-size: 14px;
    color: #1c2240;
    line-height: 1.35;
}
.checkout-area .checkout-3ds-shell__footer {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: #118a52;
}

@media (max-width: 991px) {
    .checkout-area .checkout-inline-action {
        margin-left: 0;
        max-width: 100%;
        justify-content: flex-start;
    }

    .checkout-area .checkout-3ds-shell__brand,
    .checkout-area .checkout-3ds-shell__panel {
        margin-left: 16px;
        margin-right: 16px;
    }

    .checkout-area .checkout-3ds-shell__brand {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 16px;
    }

    .checkout-area .checkout-3ds-shell__panel {
        flex-direction: column;
        padding: 16px;
        gap: 14px;
        margin-bottom: 16px;
    }

    .checkout-area .checkout-3ds-shell__summary {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   V6 - AJUSTE CONSERVADOR DO MODAL 3DS
   Sem observer/injeção de DOM. Apenas CSS seguro no modal do SDK.
========================================================== */
body.maistrip-3ds-open .tingle-modal,
body.maistrip-3ds-open #pagtur3dsapp-modal-overlay {
    z-index: 99999 !important;
}

body.maistrip-3ds-open .tingle-modal {
    background: rgba(15, 23, 42, 0.62) !important;
    backdrop-filter: blur(2px);
}

body.maistrip-3ds-open .tingle-modal-box {
    width: min(640px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.34) !important;
}

body.maistrip-3ds-open .tingle-modal-box__content {
    padding: 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

body.maistrip-3ds-open .lyra_auth_header,
body.maistrip-3ds-open #url {
    display: none !important;
}

body.maistrip-3ds-open iframe[id^="LYRA_CHALLENGE_"],
body.maistrip-3ds-open iframe[name^="LYRA_CHALLENGE_"],
body.maistrip-3ds-open #pagtur3dsapp-modal-content-iframe {
    display: block;
    width: 100% !important;
    min-height: 620px !important;
    height: 620px !important;
    border: 0 !important;
    background: #ffffff;
}

body.maistrip-3ds-open #pagtur3dsapp-modal {
    width: min(640px, calc(100vw - 32px)) !important;
    height: auto !important;
    max-height: calc(100vh - 40px) !important;
    padding: 0 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.34) !important;
    background: #ffffff !important;
}

body.maistrip-3ds-open #pagtur3dsapp-close-btn {
    z-index: 2;
    top: 12px;
    right: 16px;
    color: #475467;
}

@media (max-width: 767px) {
    body.maistrip-3ds-open .tingle-modal-box,
    body.maistrip-3ds-open #pagtur3dsapp-modal {
        width: calc(100vw - 18px) !important;
        max-width: calc(100vw - 18px) !important;
        border-radius: 18px !important;
    }

    body.maistrip-3ds-open iframe[id^="LYRA_CHALLENGE_"],
    body.maistrip-3ds-open iframe[name^="LYRA_CHALLENGE_"],
    body.maistrip-3ds-open #pagtur3dsapp-modal-content-iframe {
        min-height: 560px !important;
        height: 560px !important;
    }
}


/* V7 - reforço de confiança no 3DS */
.checkout-3ds-shell__note,
.checkout-security-copy {
    line-height: 1.5;
}

.checkout-3ds-shell__note strong,
.checkout-security-copy strong {
    color: var(--tg-theme-primary, #19c15f);
}


/* v8 validation + focus */
.checkout-area .checkout-field-error .input,
.checkout-area .checkout-field-error input.input,
.checkout-area .checkout-field-error select.input,
.checkout-area .checkout-field-error textarea.input,
.checkout-area .checkout-input-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12) !important;
    background-color: #fff8f8;
}

.checkout-area .checkout-checkbox-error {
    border: 1px solid rgba(220, 53, 69, 0.45);
    background: #fff8f8;
    border-radius: 12px;
    padding: 10px 12px;
}

.checkout-area .alert.alert-danger {
    border-radius: 14px;
}

/* ===============================
   Checkout result politicas
=============================== */
.tg-booking-result-policy {
    margin-top: 10px;
}

.tg-booking-result-policy-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

    .tg-booking-result-policy-line:last-child {
        border-bottom: 0;
    }

    .tg-booking-result-policy-line span {
        color: #50596b;
    }

    .tg-booking-result-policy-line strong {
        color: #1f285c;
        font-weight: 700;
        text-align: right;
    }

/* ===============================
   Checkout v9 mobile + PIX refinements
=============================== */
.checkout-area .checkout-pix-summary__item--receiver {
    flex: 1 1 100%;
    min-width: 0;
}

.checkout-area .checkout-pix-summary__item--receiver .checkout-pix-summary__value {
    line-height: 1.45;
    word-break: break-word;
}

@media (max-width: 767px) {
    .checkout-area .checkout-mobile-summary {
        margin-bottom: 16px;
    }

    .checkout-area .checkout-stepper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 12px;
    }

    .checkout-area .checkout-stepper__item {
        min-height: 58px;
        padding: 10px 8px;
        gap: 6px;
        justify-content: center;
        text-align: center;
        border-radius: 12px;
    }

    .checkout-area .checkout-stepper__number {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
        font-size: 12px;
    }

    .checkout-area .checkout-stepper__text {
        font-size: 11px;
        line-height: 1.2;
    }

    .checkout-area .checkout-stepper__intro {
        margin-bottom: 14px;
    }

    .checkout-area .checkout-pix-summary {
        flex-direction: column;
        gap: 10px;
    }

    .checkout-area .checkout-pix-summary__item {
        min-width: 0;
    } 
}

/* =========================================================
   Checkout - exibição dos valores Pix x Cartão
   Sem cards clicáveis / somente informativo
========================================================= */

.checkout-price-card .tg-listing-card-content {
    padding: 22px 24px;
}

.checkout-price-card .checkout-sidebar-section-title {
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 800;
    color: #121735;
}

.checkout-price-card .checkout-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.checkout-price-card .checkout-price-label {
    font-size: 14px;
    line-height: 1.25;
    color: #4b5563;
    font-weight: 500;
}

.checkout-price-card .checkout-price-value {
    font-size: 14px;
    line-height: 1.25;
    color: #111827;
    font-weight: 800;
    white-space: nowrap;
}

.checkout-price-row--discount .checkout-price-label,
.checkout-price-row--discount .checkout-price-value {
    color: #16a34a;
    font-weight: 700;
}

.checkout-payment-display {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf0f4;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-payment-display__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0;
}

.checkout-payment-display__left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.checkout-payment-display__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    font-size: 13px;
}

.checkout-payment-display__icon--pix {
    background: #dcfce7;
    color: #16a34a;
}

.checkout-payment-display__icon--card {
    background: #f3f4f6;
    color: #4b5563;
}

.checkout-payment-display__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .checkout-payment-display__text strong {
        display: block;
        font-size: 14px;
        line-height: 1.2;
        font-weight: 800;
        color: #111827;
    }

    .checkout-payment-display__text small {
        display: block;
        margin-top: 2px;
        font-size: 11px;
        line-height: 1.2;
        color: #6b7280;
        font-weight: 500;
    }

.checkout-payment-display__value {
    font-size: 19px;
    line-height: 1.1;
    font-weight: 900;
    color: #16a34a;
    white-space: nowrap;
    text-align: right;
}

.checkout-payment-display__value--card {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    color: #111827;
    white-space: normal;
    max-width: 165px;
}

    .checkout-payment-display__value--card strong {
        font-size: 15px;
        line-height: 1.1;
        font-weight: 900;
        color: #111827;
        white-space: nowrap;
    }

    .checkout-payment-display__value--card small {
        display: block;
        margin-top: 3px;
        font-size: 10px;
        line-height: 1.2;
        font-weight: 600;
        color: #6b7280;
        white-space: normal;
        max-width: 150px;
        overflow-wrap: break-word;
    }

.checkout-payment-display__note {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.35;
    color: #6b7280;
}

.checkout-price-note--local {
    margin-top: 16px;
    padding: 12px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.35;
    color: #4b5563;
}

    .checkout-price-note--local strong {
        display: block;
        margin-bottom: 3px;
        font-size: 12px;
        font-weight: 800;
        color: #1f2937;
    }

@media (max-width: 1199.98px) {
    .checkout-payment-display__item {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .checkout-payment-display__value,
    .checkout-payment-display__value--card {
        align-items: flex-start;
        text-align: left;
        margin-left: 40px;
    }
}
/* =========================================================
   Hotel detalhe - preço da seleção
========================================================= */

.tg-room-selection-total {
    font-size: 28px;
    line-height: 1.05;
    font-weight: 900;
    color: #1f285c;
}

.tg-room-price-context {
    color: #6b7280;
    font-size: 13px;
}

.tg-room-price-breakdown {
    color: #6b7280;
    font-size: 12px;
}

    .tg-room-price-breakdown strong {
        color: #1f285c;
    }

/* =========================================================
   Checkout - exibição e composição de valores
========================================================= */

.checkout-price-card .tg-listing-card-content {
    padding: 22px 24px;
}

.checkout-price-card .checkout-sidebar-section-title {
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 800;
    color: #121735;
}

.checkout-price-card .checkout-price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.checkout-price-card .checkout-price-label {
    font-size: 14px;
    line-height: 1.25;
    color: #4b5563;
    font-weight: 500;
}

    .checkout-price-card .checkout-price-label small {
        display: block;
        margin-top: 2px;
        font-size: 11px;
        line-height: 1.25;
        color: #6b7280;
        font-weight: 500;
    }

.checkout-price-card .checkout-price-value {
    font-size: 14px;
    line-height: 1.25;
    color: #111827;
    font-weight: 800;
    white-space: nowrap;
    text-align: right;
}

.checkout-price-row--standard {
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid #edf0f4;
}

    .checkout-price-row--standard .checkout-price-label,
    .checkout-price-row--standard .checkout-price-value {
        color: #111827;
        font-weight: 800;
    }

.checkout-price-row--discount .checkout-price-label,
.checkout-price-row--discount .checkout-price-value {
    color: #16a34a;
    font-weight: 800;
}

.checkout-payment-display {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #edf0f4;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkout-payment-display__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.checkout-payment-display__left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.checkout-payment-display__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    font-size: 13px;
}

.checkout-payment-display__icon--pix {
    background: #dcfce7;
    color: #16a34a;
}

.checkout-payment-display__icon--card {
    background: #f3f4f6;
    color: #4b5563;
}

.checkout-payment-display__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .checkout-payment-display__text strong {
        display: block;
        font-size: 14px;
        line-height: 1.2;
        font-weight: 800;
        color: #111827;
    }

    .checkout-payment-display__text small {
        display: block;
        margin-top: 2px;
        font-size: 11px;
        line-height: 1.2;
        color: #6b7280;
        font-weight: 500;
    }

.checkout-payment-display__value {
    font-size: 20px;
    line-height: 1.1;
    font-weight: 900;
    color: #16a34a;
    white-space: nowrap;
    text-align: right;
}

.checkout-payment-display__value--card {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #111827;
}

    .checkout-payment-display__value--card strong {
        font-size: 15px;
        line-height: 1.1;
        font-weight: 900;
        color: #111827;
    }

    .checkout-payment-display__value--card small {
        margin-top: 3px;
        font-size: 10px;
        line-height: 1.15;
        font-weight: 600;
        color: #6b7280;
        max-width: 150px;
    }

.checkout-payment-display__note {
    margin-top: 10px;
    font-size: 11px;
    line-height: 1.4;
    color: #6b7280;
}

/* Composição do preço */

.checkout-price-composition {
    margin-top: 14px;
    border-top: 1px solid #edf0f4;
    padding-top: 12px;
}

    .checkout-price-composition summary {
        cursor: pointer;
        list-style: none;
        font-size: 13px;
        line-height: 1.2;
        font-weight: 800;
        color: #16a34a;
    }

        .checkout-price-composition summary::-webkit-details-marker {
            display: none;
        }

.checkout-price-composition__body {
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.checkout-price-composition__summary {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    color: #374151;
}

.checkout-price-composition__room {
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
}

    .checkout-price-composition__room:first-of-type {
        border-top: 0;
        padding-top: 0;
    }

.checkout-price-composition__room-title {
    font-size: 12px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 3px;
}

.checkout-price-composition__room-desc {
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
    color: #1f285c;
    word-break: break-word;
}

.checkout-price-composition__room-meta {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.25;
    color: #6b7280;
}

.checkout-price-composition__line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.25;
    color: #4b5563;
}

    .checkout-price-composition__line span small {
        color: #9ca3af;
    }

    .checkout-price-composition__line strong {
        white-space: nowrap;
        font-weight: 800;
        color: #111827;
    }

.checkout-price-composition__totals {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #dbe1ea;
}

.checkout-price-composition__line--pix span,
.checkout-price-composition__line--pix strong {
    color: #16a34a;
    font-weight: 900;
}

.checkout-price-note--local {
    margin-top: 16px;
    padding: 12px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.35;
    color: #4b5563;
}

    .checkout-price-note--local strong {
        display: block;
        margin-bottom: 3px;
        font-size: 12px;
        font-weight: 800;
        color: #1f2937;
    }

@media (max-width: 1199.98px) {
    .checkout-payment-display__item {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .checkout-payment-display__value,
    .checkout-payment-display__value--card {
        align-items: flex-start;
        text-align: left;
        margin-left: 40px;
    }
}

.tg-customer-nav { display: flex; gap: 12px; align-items: center; font-weight: 600; white-space: nowrap; }
.tg-customer-nav button { border: 0; background: transparent; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.account-panel { max-width: 560px; margin: 0 auto; padding: 36px; background: #fff; box-shadow: 0 10px 35px rgba(19, 40, 75, .12); border-radius: 12px; }
.account-panel-wide { max-width: 920px; }.account-panel h2 { margin-bottom: 8px; }.account-panel label { display:block; margin: 16px 0; font-weight: 600; }.account-panel input { display:block; width:100%; border:1px solid #d9dfe8; border-radius:5px; padding:12px; margin-top:6px; }.account-panel small { color:#687386; font-weight:400; }.account-message { margin:16px 0; padding:12px; background:#e8f6ef; color:#17643d; border-radius:5px; }.account-message.error { background:#fff0f0; color:#a52626; }.account-grid { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:0 20px; }.account-heading { display:flex; justify-content:space-between; gap:20px; align-items:start; }.account-booking { display:grid; gap:4px; padding:16px 0; border-bottom:1px solid #e7eaf0; }.account-panel hr { margin:32px 0; border:0; border-top:1px solid #e7eaf0; } @media(max-width:600px) { .account-panel { padding:24px; }.account-grid { grid-template-columns:1fr; }.tg-customer-nav { font-size:13px; } }


/* ===============================
   Customer account v2
=============================== */
.customer-auth-page,
.customer-account-page {
    background: #f6f7fb;
}

.customer-auth-page {
    min-height: calc(100vh - 120px);
    padding: 72px 0 96px;
}

.customer-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, .72fr);
    max-width: 1080px;
    margin: 0 auto;
    border: 1px solid #e7eaf1;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 70px rgba(23, 31, 56, .10);
}

.customer-auth-shell--compact {
    max-width: 960px;
}

.customer-auth-shell--single {
    display: block;
    max-width: 560px;
}

.customer-auth-aside {
    padding: 54px 50px;
    background:
        radial-gradient(circle at top right, rgba(22, 193, 114, .13), transparent 34%),
        #1f285c;
    color: #fff;
}

.customer-auth-aside h1 {
    margin: 8px 0 18px;
    color: #fff;
    font-size: 38px;
    line-height: 1.08;
    font-weight: 800;
}

.customer-auth-aside > p {
    margin: 0 0 34px;
    color: rgba(255,255,255,.78);
    font-size: 16px;
    line-height: 1.65;
}

.customer-auth-eyebrow {
    color: #16c172;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.customer-auth-eyebrow--card {
    margin-bottom: 8px;
}

.customer-auth-benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 20px;
}

.customer-auth-benefit > span {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    color: #5fe0a0;
    font-weight: 800;
}

.customer-auth-benefit strong,
.customer-auth-benefit small {
    display: block;
}

.customer-auth-benefit strong {
    color: #fff;
    font-size: 14px;
}

.customer-auth-benefit small {
    margin-top: 3px;
    color: rgba(255,255,255,.66);
    font-size: 12px;
    line-height: 1.45;
}

.customer-auth-card {
    padding: 48px 52px;
    background: #fff;
}

.customer-auth-card--center {
    text-align: center;
}

.customer-auth-card h2 {
    margin: 0 0 8px;
    color: #151b35;
    font-size: 30px;
    font-weight: 800;
}

.customer-auth-subtitle {
    margin: 0 0 24px;
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.customer-auth-back {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 24px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.customer-auth-back:hover {
    color: #1f285c;
}

.customer-auth-card label {
    display: block;
    margin: 16px 0;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.customer-auth-card label input,
.customer-password-form input,
.customer-field input {
    width: 100%;
    height: 50px;
    margin-top: 7px;
    padding: 0 15px;
    border: 1px solid #d9dfe8;
    border-radius: 10px;
    background: #fff;
    color: #1d2939;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.customer-auth-card label input:focus,
.customer-password-form input:focus,
.customer-field input:focus {
    border-color: #1f285c;
    box-shadow: 0 0 0 3px rgba(31,40,92,.09);
}

.customer-auth-card label small,
.customer-field small {
    display: block;
    margin-top: 6px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 500;
}

.customer-auth-label-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
}

.customer-auth-label-row a {
    font-size: 12px;
    font-weight: 700;
}

.customer-auth-primary {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    border-radius: 10px;
}

.customer-auth-secondary {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #fff;
    color: #1f285c;
    font-weight: 800;
    text-align: center;
}

.customer-auth-secondary:hover {
    border-color: #1f285c;
    background: #f8f9fc;
    color: #1f285c;
}

.customer-auth-secondary[disabled] {
    opacity: .55;
    cursor: not-allowed;
}

.customer-auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    color: #98a2b3;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.customer-auth-divider::before,
.customer-auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #eaecf0;
}

.customer-auth-help,
.customer-auth-legal {
    margin: 18px 0 0;
    color: #98a2b3;
    font-size: 11px;
    line-height: 1.5;
}

.customer-verification-code {
    height: 62px !important;
    text-align: center;
    font-size: 28px !important;
    font-weight: 800;
    letter-spacing: 8px;
}

.customer-auth-loader {
    width: 28px;
    height: 28px;
    margin: 0 auto 18px;
    border: 3px solid #e4e7ec;
    border-top-color: #16c172;
    border-radius: 50%;
    animation: customer-spin .8s linear infinite;
}

@keyframes customer-spin {
    to { transform: rotate(360deg); }
}

.customer-account-page {
    padding: 58px 0 96px;
}

.customer-account-header {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.customer-account-header h1 {
    margin: 6px 0 6px;
    color: #151b35;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 800;
}

.customer-account-header p {
    max-width: 700px;
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.customer-account-logout,
.customer-refresh-button {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #fff;
    color: #475467;
    font-size: 12px;
    font-weight: 700;
}

.customer-account-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.customer-account-nav {
    position: sticky;
    top: 105px;
    padding: 8px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(16,24,40,.05);
}

.customer-account-nav button {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    width: 100%;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #475467;
    text-align: left;
}

.customer-account-nav button + button {
    margin-top: 4px;
}

.customer-account-nav button > i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f2f4f7;
}

.customer-account-nav strong,
.customer-account-nav small {
    display: block;
}

.customer-account-nav strong {
    color: #344054;
    font-size: 13px;
}

.customer-account-nav small {
    margin-top: 2px;
    color: #98a2b3;
    font-size: 10px;
}

.customer-account-nav button > b {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f2f4f7;
    color: #475467;
    font-size: 10px;
}

.customer-account-nav button.is-active {
    background: #f1f4ff;
    color: #1f285c;
}

.customer-account-nav button.is-active > i {
    background: #1f285c;
    color: #fff;
}

.customer-account-content {
    min-width: 0;
    padding: 28px 30px;
    border: 1px solid #e4e7ec;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(16,24,40,.05);
}

.customer-area-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.customer-area-header h2 {
    margin: 0 0 5px;
    color: #151b35;
    font-size: 23px;
    font-weight: 800;
}

.customer-area-header p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
}

.customer-profile-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0 16px;
}

.customer-field {
    grid-column: span 4;
    margin: 0 0 16px;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.customer-field--wide {
    grid-column: span 6;
}

.customer-field--phone-ddd {
    grid-column: span 2;
}

.customer-field--phone {
    grid-column: span 3;
}

.customer-field--zip {
    grid-column: span 4;
    position: relative;
}

.customer-field--zip label {
    display: block;
}

.customer-field-action {
    margin-top: -7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1f285c;
    font-size: 11px;
    font-weight: 800;
}

.customer-field-error {
    color: #b42318 !important;
}

.customer-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid #eaecf0;
}

.customer-form-actions .tg-btn {
    min-width: 180px;
}

.customer-area-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eaecf0;
}

.customer-area-tabs button {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f2f4f7;
    color: #667085;
    font-size: 12px;
    font-weight: 800;
}

.customer-area-tabs button span {
    display: inline-flex;
    min-width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    font-size: 10px;
}

.customer-area-tabs button.is-active {
    border-color: #d8defb;
    background: #eef1ff;
    color: #1f285c;
}

.customer-area-empty {
    display: flex;
    min-height: 220px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 32px;
    border: 1px dashed #d0d5dd;
    border-radius: 14px;
    color: #98a2b3;
    text-align: center;
}

.customer-area-empty > i {
    margin-bottom: 6px;
    font-size: 30px;
}

.customer-area-empty strong {
    color: #475467;
    font-size: 14px;
}

.customer-area-empty span {
    max-width: 420px;
    font-size: 12px;
}

.customer-booking-card {
    overflow: hidden;
    margin-bottom: 14px;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    background: #fff;
    transition: box-shadow .2s ease, border-color .2s ease;
}

.customer-booking-card:hover {
    border-color: #d0d5dd;
    box-shadow: 0 8px 24px rgba(16,24,40,.06);
}

.customer-booking-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 22px 16px;
}

.customer-booking-id {
    margin-bottom: 4px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.customer-booking-main h3 {
    margin: 0 0 5px;
    color: #101828;
    font-size: 18px;
    font-weight: 800;
}

.customer-booking-city,
.customer-booking-created {
    color: #667085;
    font-size: 11px;
}

.customer-booking-created {
    margin-top: 3px;
}

.customer-booking-summary {
    flex: 0 0 auto;
    text-align: right;
}

.customer-booking-status {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 6px 9px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #475467;
    font-size: 10px;
    font-weight: 800;
}

.customer-booking-status i {
    font-size: 6px;
}

.customer-booking-status--confirmed {
    background: #ecfdf3;
    color: #027a48;
}

.customer-booking-status--payment {
    background: #fff6e6;
    color: #b54708;
}

.customer-booking-status--pending {
    background: #eff8ff;
    color: #175cd3;
}

.customer-booking-status--error {
    background: #fef3f2;
    color: #b42318;
}

.customer-booking-value {
    display: block;
    margin-top: 10px;
    color: #101828;
    font-size: 18px;
    font-weight: 800;
}

.customer-booking-trip {
    display: flex;
    gap: 18px;
    align-items: center;
    margin: 0 22px;
    padding: 14px 0;
    border-top: 1px solid #f2f4f7;
    border-bottom: 1px solid #f2f4f7;
}

.customer-booking-trip > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.customer-booking-trip small {
    color: #98a2b3;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.customer-booking-trip strong {
    color: #344054;
    font-size: 12px;
}

.customer-booking-trip > i {
    color: #98a2b3;
    font-size: 12px;
}

.customer-booking-trip-extra {
    margin-left: auto;
}

.customer-booking-trip-extra + .customer-booking-trip-extra {
    margin-left: 4px;
}

.customer-booking-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px 22px;
}

.customer-booking-payment {
    display: flex;
    gap: 10px;
    color: #667085;
    font-size: 11px;
}

.customer-booking-details-button {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1f285c;
    font-size: 11px;
    font-weight: 800;
}

.customer-booking-details {
    padding: 0 22px 18px;
    background: #fafbfc;
    border-top: 1px solid #f2f4f7;
}

.customer-room {
    padding: 16px 0 4px;
}

.customer-room + .customer-room {
    border-top: 1px solid #eaecf0;
}

.customer-room-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #344054;
    font-size: 11px;
}

.customer-room-heading span {
    color: #667085;
}

.customer-room-title {
    margin: 6px 0;
    color: #101828;
    font-size: 13px;
    font-weight: 800;
}

.customer-room-info {
    margin-top: 3px;
    color: #667085;
    font-size: 11px;
    overflow-wrap: anywhere;
}

.customer-security-card,
.customer-security-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid #eaecf0;
    border-radius: 13px;
    background: #f9fafb;
}

.customer-security-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef1ff;
    color: #1f285c;
}

.customer-security-copy strong,
.customer-security-copy span,
.customer-security-note strong,
.customer-security-note span {
    display: block;
}

.customer-security-copy strong,
.customer-security-note strong {
    color: #344054;
    font-size: 12px;
}

.customer-security-copy span,
.customer-security-note span {
    margin-top: 3px;
    color: #667085;
    font-size: 11px;
    line-height: 1.45;
}

.customer-password-form {
    max-width: 520px;
    margin-top: 24px;
}

.customer-password-form label {
    display: block;
    margin-bottom: 15px;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.customer-security-note {
    margin-top: 24px;
    background: #f8fbff;
}

.tg-customer-nav {
    padding: 7px 10px;
    border: 1px solid rgba(31,40,92,.10);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
}

.tg-customer-nav a {
    color: #1f285c;
}

.tg-customer-nav button {
    color: #667085;
    font-size: 11px;
}

@media (max-width: 991.98px) {
    .customer-auth-page {
        padding: 34px 0 60px;
    }

    .customer-auth-shell {
        grid-template-columns: 1fr;
        max-width: 640px;
        border-radius: 18px;
    }

    .customer-auth-aside {
        padding: 34px 28px;
    }

    .customer-auth-aside h1 {
        font-size: 30px;
    }

    .customer-auth-card {
        padding: 34px 28px;
    }

    .customer-account-layout {
        grid-template-columns: 1fr;
    }

    .customer-account-nav {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        overflow-x: auto;
    }

    .customer-account-nav button {
        grid-template-columns: 30px minmax(90px, 1fr);
        min-width: 145px;
    }

    .customer-account-nav button > b {
        display: none;
    }

    .customer-account-content {
        padding: 24px;
    }

    .customer-field,
    .customer-field--wide {
        grid-column: span 6;
    }

    .customer-field--phone-ddd {
        grid-column: span 2;
    }

    .customer-field--phone {
        grid-column: span 4;
    }

    .customer-field--zip {
        grid-column: span 6;
    }
}

@media (max-width: 767.98px) {
    .customer-account-page {
        padding: 30px 0 60px;
    }

    .customer-account-header {
        flex-direction: column;
        gap: 16px;
    }

    .customer-account-header h1 {
        font-size: 26px;
    }

    .customer-account-logout {
        align-self: flex-start;
    }

    .customer-account-nav {
        margin: 0 -4px;
        padding: 6px;
    }

    .customer-account-nav button {
        display: flex;
        min-width: 136px;
        padding: 10px;
    }

    .customer-account-nav small {
        display: none;
    }

    .customer-account-content {
        margin: 0 -2px;
        padding: 20px 16px;
        border-radius: 14px;
    }

    .customer-area-header {
        flex-direction: column;
    }

    .customer-refresh-button {
        width: 100%;
    }

    .customer-profile-grid {
        display: block;
    }

    .customer-field {
        display: block;
        margin-bottom: 14px;
    }

    .customer-form-actions .tg-btn {
        width: 100%;
    }

    .customer-area-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .customer-area-tabs button {
        flex: 0 0 auto;
    }

    .customer-booking-top {
        flex-direction: column;
        gap: 14px;
        padding: 18px 16px 14px;
    }

    .customer-booking-summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .customer-booking-value {
        margin-top: 0;
    }

    .customer-booking-trip {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 10px;
        margin: 0 16px;
    }

    .customer-booking-trip-extra {
        margin-left: 0;
        padding-top: 10px;
        border-top: 1px dashed #eaecf0;
    }

    .customer-booking-trip-extra:nth-of-type(3) {
        grid-column: 1 / 2;
    }

    .customer-booking-trip-extra:nth-of-type(4) {
        grid-column: 3 / 4;
    }

    .customer-booking-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 16px;
    }

    .customer-booking-details-button {
        width: 100%;
        justify-content: space-between;
        padding-top: 4px;
    }

    .customer-booking-details {
        padding: 0 16px 16px;
    }

    .customer-auth-aside {
        padding: 28px 22px;
    }

    .customer-auth-card {
        padding: 28px 22px;
    }

    .customer-auth-aside h1 {
        font-size: 27px;
    }

    .customer-auth-benefit {
        margin-top: 14px;
    }
}


/* Customer trust + social login */
.customer-social-login {
    margin: 18px 0 4px;
}

.customer-google-button {
    min-height: 44px;
    display: flex;
    justify-content: center;
}

.customer-google-button > div {
    width: 100% !important;
}

.customer-trust-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 20px;
    padding: 14px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #f9fafb;
}

.customer-trust-note > i {
    margin-top: 2px;
    color: #027a48;
    font-size: 18px;
}

.customer-trust-note strong,
.customer-trust-note span {
    display: block;
}

.customer-trust-note strong {
    color: #344054;
    font-size: 12px;
}

.customer-trust-note span {
    margin-top: 3px;
    color: #667085;
    font-size: 11px;
    line-height: 1.45;
}

.customer-auth-legal a,
.customer-security-note a {
    color: #1f285c;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.customer-security-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.customer-security-stat {
    display: flex;
    gap: 10px;
    min-width: 0;
    align-items: center;
    padding: 13px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    background: #fff;
}

.customer-security-stat > i {
    display: inline-flex;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eef1ff;
    color: #1f285c;
}

.customer-security-stat small,
.customer-security-stat strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-security-stat small {
    color: #98a2b3;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.customer-security-stat strong {
    margin-top: 2px;
    color: #344054;
    font-size: 11px;
    white-space: nowrap;
}

.customer-session-action {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    margin-bottom: 18px;
    padding: 15px;
    border: 1px solid #fedf89;
    border-radius: 12px;
    background: #fffaeb;
}

.customer-session-action strong,
.customer-session-action span {
    display: block;
}

.customer-session-action strong {
    color: #93370d;
    font-size: 12px;
}

.customer-session-action span {
    margin-top: 3px;
    color: #b54708;
    font-size: 11px;
    line-height: 1.45;
}

.customer-auth-secondary--inline {
    width: auto;
    min-width: 190px;
    padding: 0 14px;
    flex: 0 0 auto;
}

@media (max-width: 991.98px) {
    .customer-security-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .customer-security-overview {
        grid-template-columns: 1fr;
    }

    .customer-session-action {
        flex-direction: column;
        align-items: stretch;
    }

    .customer-auth-secondary--inline {
        width: 100%;
    }
}


.customer-booking-actions-inline {
    display: flex;
    gap: 16px;
    align-items: center;
}

.customer-booking-help {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    color: #667085;
    font-size: 11px;
    font-weight: 700;
}

.customer-booking-help:hover {
    color: #1f285c;
}

@media (max-width: 767.98px) {
    .customer-booking-actions-inline {
        width: 100%;
        justify-content: space-between;
    }
}

/* Google Hotels | destaque discreto da oferta selecionada */
.google-hotels-offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    background: #ffb300;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: .01em;
    box-shadow: 0 2px 6px rgba(13, 24, 58, .12);
}

.google-hotels-offer-badge i {
    font-size: 11px;
}

@media (max-width: 767.98px) {
    .google-hotels-offer-badge {
        font-size: 11px;
        padding: 5px 8px;
    }
}


/* ===============================
   Customer account v3
   Navegação lateral expansível
=============================== */
.customer-account-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
}

.customer-account-sidebar {
    position: sticky;
    top: 105px;
    align-self: start;
}

.customer-account-sidebar .customer-account-nav {
    position: static;
    padding: 10px;
}

.customer-account-nav button {
    min-height: 62px;
}

.customer-account-nav button.is-active {
    background: #f0fff5;
    color: #020615;
}

.customer-account-nav button.is-active > i {
    background: var(--tg-theme-primary);
    color: #ffffff;
}

.customer-account-nav button.is-active strong {
    color: #020615;
}

.customer-account-nav button > b {
    background: var(--tg-theme-primary);
    color: #ffffff;
}

.customer-field--phone-full {
    grid-column: span 4;
}

.customer-booking-counter {
    margin: -8px 0 14px;
    color: #737374;
    font-size: 11px;
    text-align: right;
}

.customer-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 22px;
}

.customer-pagination button {
    display: inline-flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background: #ffffff;
    color: #353844;
    font-size: 12px;
    font-weight: 700;
}

.customer-pagination button:hover:not(:disabled),
.customer-pagination button.is-active {
    border-color: var(--tg-theme-primary);
    background: var(--tg-theme-primary);
    color: #ffffff;
}

.customer-pagination button:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.customer-pagination-ellipsis {
    display: inline-flex;
    min-width: 30px;
    height: 38px;
    align-items: center;
    justify-content: center;
    color: #737374;
    font-size: 14px;
    font-weight: 700;
    user-select: none;
}

.customer-access-block {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    background: #ffffff;
}

.customer-access-block:first-of-type {
    margin-top: 0;
}

.customer-access-block__heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.customer-access-block__heading h3 {
    margin: 0 0 4px;
    color: #020615;
    font-size: 16px;
    font-weight: 700;
}

.customer-access-block__heading p,
.customer-access-hint {
    margin: 0;
    color: #737374;
    font-size: 11px;
    line-height: 1.55;
}

.customer-linked-badge {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    flex: 0 0 auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eafff1;
    color: #078e6a;
    font-size: 10px;
    font-weight: 800;
}

.customer-google-link-button {
    min-height: 44px;
    max-width: 400px;
}

.customer-preference-toggle {
    display: flex;
    gap: 12px;
    align-items: center;
    margin: 4px 0 16px;
    cursor: pointer;
}

.customer-preference-toggle > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.customer-preference-toggle__control {
    position: relative;
    width: 44px;
    height: 24px;
    flex: 0 0 44px;
    border-radius: 999px;
    background: #cfd5dc;
    transition: background .2s ease;
}

.customer-preference-toggle__control::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(2, 6, 21, .18);
    transition: transform .2s ease;
}

.customer-preference-toggle > input:checked + .customer-preference-toggle__control {
    background: var(--tg-theme-primary);
}

.customer-preference-toggle > input:checked + .customer-preference-toggle__control::after {
    transform: translateX(20px);
}

.customer-preference-toggle strong,
.customer-preference-toggle small {
    display: block;
}

.customer-preference-toggle strong {
    color: #353844;
    font-size: 12px;
}

.customer-preference-toggle small {
    margin-top: 2px;
    color: #737374;
    font-size: 10px;
    line-height: 1.45;
}

@media (max-width: 991.98px) {
    .customer-account-layout {
        grid-template-columns: 1fr;
    }

    .customer-account-sidebar {
        position: static;
    }

    .customer-account-sidebar .customer-account-nav {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .customer-field--phone-full {
        grid-column: span 6;
    }
}

@media (max-width: 767.98px) {
    .customer-account-sidebar .customer-account-nav {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .customer-account-sidebar .customer-account-nav button {
        min-width: 168px;
        flex: 0 0 168px;
    }

    .customer-booking-counter {
        text-align: left;
    }

    .customer-pagination {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .customer-access-block {
        padding: 16px;
    }

    .customer-access-block__heading {
        flex-direction: column;
        gap: 10px;
    }

    .customer-google-link-button {
        max-width: 100%;
    }
}
