:root {
    --agt-pink: #ff385c;
    --agt-pink-dark: #e31c5f;
    --agt-navy: #152d45;
    --agt-ink: #222222;
    --agt-gray-50: #fafafa;
    --agt-gray-100: #f7f7f7;
    --agt-gray-150: #f0f0f0;
    --agt-gray-200: #ebebeb;
    --agt-gray-300: #dddddd;
    --agt-gray-500: #6a6a6a;
    --agt-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    --agt-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    --agt-shadow-lg: 0 8px 28px rgba(0, 0, 0, 0.18);
    --agt-radius-pill: 999px;
    --agt-radius-card: 14px;
    --agt-ease: cubic-bezier(0.2, 0, 0, 1);
    --agt-header-h: 80px;
    --agt-mheader-h: 124px;
    --agt-tabbar-h: 64px;
    --agt-gradient: linear-gradient(90deg, #ff385c 0%, #e61e4d 30%, #d70466 70%, #bd1e59 100%);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: calc(var(--agt-header-h) + 72px);
}

body.agt-body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--agt-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body.agt-lock-scroll {
    overflow: hidden;
}

button {
    font-family: inherit;
}

.agt-muted {
    color: var(--agt-gray-500);
}

.agt-color-logo {
    color: var(--agt-pink) !important;
}

.agt-color-navy {
    color: var(--agt-navy) !important;
}

.agt-bg-gradient {
    background-image: var(--agt-gradient);
}

.agt-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
    line-height: 1;
}

/* ---------- Faixa promocional (rola com a página) ---------- */

.agt-topbar {
    font-size: 0.8125rem;
    padding: 0.5rem 0;
}

.agt-topbar-links {
    display: flex;
    gap: 1.25rem;
}

.agt-topbar a {
    color: #fff;
    text-decoration: none;
    opacity: 0.92;
    transition: opacity 0.2s;
}

.agt-topbar a:hover {
    opacity: 1;
}

.agt-topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    border: none;
    background: none;
    color: #fff;
    font-size: inherit;
    opacity: 0.92;
    cursor: pointer;
    transition: opacity 0.2s;
}

.agt-topbar-btn:hover {
    opacity: 1;
}

/* ---------- Header desktop ---------- */

.agt-header {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: #fff;
    border-bottom: 1px solid var(--agt-gray-200);
}

.agt-header-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: var(--agt-header-h);
    gap: 1.5rem;
}

.agt-header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.agt-header-center {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.agt-tabs {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    height: 100%;
    transition: opacity 0.25s var(--agt-ease), transform 0.3s var(--agt-ease), visibility 0.3s;
}

.agt-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: transparent;
    padding: 0.5rem 0.85rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--agt-gray-500);
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.agt-tab,
.agt-tab:hover,
.agt-mtab,
.agt-mtab:hover,
.agt-link-more,
.agt-link-more:hover,
.agt-tabbar-item,
.agt-tabbar-item:hover,
.agt-footer-social a {
    text-decoration: none;
}

.agt-footer-social {
    display: inline-flex;
    gap: 1rem;
    font-size: 1.05rem;
}

.agt-footer-social a {
    color: var(--agt-ink);
}

.agt-tab i {
    font-size: 1.25rem;
    transition: transform 0.2s var(--agt-ease);
}

.agt-tab::after {
    content: '';
    position: absolute;
    inset-inline-start: 0.85rem;
    inset-inline-end: 0.85rem;
    bottom: -1px;
    height: 2px;
    border-radius: 2px;
    background: var(--agt-ink);
    transform: scaleX(0);
    transition: transform 0.25s var(--agt-ease);
}

.agt-tab:hover {
    color: var(--agt-ink);
}

.agt-tab:hover i {
    transform: scale(1.08);
}

.agt-tab.is-active {
    color: var(--agt-ink);
    font-weight: 600;
}

.agt-tab.is-active::after {
    transform: scaleX(1);
}

/* Pílula compacta que substitui as abas ao rolar */
.agt-compact-search {
    position: absolute;
    left: 50%;
    top: 50%;
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 0.4rem 0 0.5rem;
    background: #fff;
    border: 1px solid var(--agt-gray-300);
    border-radius: var(--agt-radius-pill);
    box-shadow: var(--agt-shadow-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% + 14px)) scale(0.92);
    transition: opacity 0.25s var(--agt-ease), transform 0.3s var(--agt-ease), visibility 0.3s, box-shadow 0.2s;
}

.agt-compact-search:hover {
    box-shadow: var(--agt-shadow);
}

.agt-compact-search > button {
    border: none;
    background: transparent;
    padding: 0 0.9rem;
    height: 100%;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--agt-ink);
    cursor: pointer;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.agt-compact-search > button.is-muted {
    font-weight: 400;
    color: var(--agt-gray-500);
}

.agt-compact-sep {
    width: 1px;
    height: 24px;
    background: var(--agt-gray-300);
}

.agt-compact-search > .agt-compact-go {
    width: 34px;
    height: 34px;
    padding: 0;
    margin-inline-start: 0.25rem;
    border-radius: 50%;
    background: var(--agt-pink);
    color: #fff;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.agt-header.is-compact .agt-tabs {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.96);
}

.agt-header.is-compact .agt-compact-search {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Busca expandida dentro do header (aberta a partir da pílula) */
.agt-header-expand {
    display: none;
}

.agt-header.is-search-open {
    border-bottom-color: transparent;
}

.agt-header.is-search-open .agt-tabs {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.agt-header.is-search-open .agt-compact-search {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, calc(-50% + 30px)) scale(1.3);
}

.agt-header.is-search-open .agt-header-expand {
    display: block;
    padding: 0 1rem 1.5rem;
    animation: agt-drop-in 0.3s var(--agt-ease);
}

@keyframes agt-drop-in {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.agt-search-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1045;
    background: rgba(0, 0, 0, 0.25);
    animation: agt-fade 0.2s ease;
}

.agt-search-backdrop[hidden] {
    display: none;
}

@keyframes agt-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- Botões ---------- */

.agt-btn-ghost,
.agt-btn-primary {
    white-space: nowrap;
    text-decoration: none;
}

.agt-btn-ghost:hover,
.agt-btn-primary:hover {
    text-decoration: none;
}

.agt-btn-ghost {
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.65rem 1rem;
    border-radius: var(--agt-radius-pill);
    color: var(--agt-ink);
    cursor: pointer;
    transition: background 0.15s;
}

.agt-btn-ghost:hover {
    background: var(--agt-gray-100);
}

.agt-btn-primary {
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--agt-radius-pill);
    background-image: var(--agt-gradient);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.agt-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 56, 92, 0.35);
}

/* ---------- Barra de busca ---------- */

.agt-search-section {
    position: relative;
    z-index: 1040;
    background: #fff;
    padding: 0.5rem 0 1.75rem;
}

.agt-search-wrap {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.agt-search-bar {
    display: flex;
    align-items: center;
    height: 66px;
    background: #fff;
    border: 1px solid var(--agt-gray-300);
    border-radius: var(--agt-radius-pill);
    box-shadow: var(--agt-shadow);
    transition: background 0.2s;
}

.agt-search-wrap.has-focus .agt-search-bar {
    background: var(--agt-gray-150);
    border-color: transparent;
}

.agt-search-field {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1.5rem;
    border-radius: var(--agt-radius-pill);
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.2s;
    outline: none;
}

.agt-search-field + .agt-search-field::before {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    top: 50%;
    height: 32px;
    width: 1px;
    background: var(--agt-gray-300);
    transform: translateY(-50%);
    transition: opacity 0.15s;
}

.agt-search-field:hover {
    background: var(--agt-gray-200);
}

.agt-search-field:hover::before,
.agt-search-field:hover + .agt-search-field::before,
.agt-search-field.is-focused::before,
.agt-search-field.is-focused + .agt-search-field::before {
    opacity: 0;
}

.agt-search-field.is-focused {
    background: #fff;
    box-shadow: var(--agt-shadow-lg);
}

.agt-search-field label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--agt-ink);
    margin: 0 0 0.1rem;
    cursor: pointer;
}

.agt-search-field span {
    font-size: 0.875rem;
    color: var(--agt-gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.agt-search-submit {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 48px;
    margin: 0 0.5rem 0 0.25rem;
    padding: 0 1.25rem;
    border: none;
    border-radius: var(--agt-radius-pill);
    background-image: var(--agt-gradient);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s;
}

.agt-search-submit:active {
    transform: scale(0.97);
}

.agt-search-panel {
    position: absolute;
    top: calc(100% + 0.75rem);
    z-index: 60;
    background: #fff;
    border-radius: 28px;
    box-shadow: var(--agt-shadow-lg);
    padding: 1.75rem;
    display: none;
    color: var(--agt-ink);
}

.agt-search-panel[data-panel='where'] {
    inset-inline-start: 0;
    width: min(540px, 100%);
}

.agt-search-panel[data-panel='when'] {
    left: 50%;
    width: min(780px, 100%);
    transform: translateX(-50%);
    padding: 1.75rem 2rem 1.25rem;
}

/* ---------- Calendário ---------- */

.agt-cal {
    position: relative;
}

.agt-cal-months {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
}

.agt-cal-title {
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    margin: 0.2rem 0 1.1rem;
}

.agt-cal-nav {
    position: absolute;
    top: -0.15rem;
    z-index: 1;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--agt-ink);
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s, opacity 0.15s;
}

.agt-cal-nav:hover:not(:disabled) {
    background: var(--agt-gray-100);
}

.agt-cal-nav:disabled {
    opacity: 0.25;
    cursor: default;
}

.agt-cal-nav--prev {
    inset-inline-start: 0;
}

.agt-cal-nav--next {
    inset-inline-end: 0;
}

.agt-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    row-gap: 2px;
}

.agt-cal-wd {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--agt-gray-500);
    padding-bottom: 0.5rem;
}

.agt-cal-day {
    position: relative;
    aspect-ratio: 1 / 1;
    max-height: 48px;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--agt-ink);
    cursor: pointer;
    z-index: 0;
}

.agt-cal-day::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    z-index: -1;
    transition: border-color 0.1s, background 0.1s;
}

.agt-cal-day:hover:not(:disabled)::before {
    border-color: var(--agt-ink);
}

.agt-cal-day:disabled {
    color: #c4c4c4;
    text-decoration: line-through;
    font-weight: 400;
    cursor: default;
}

.agt-cal-day.is-today {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.agt-cal-day.in-range,
.agt-cal-day.in-preview {
    background: var(--agt-gray-150);
}

.agt-cal-day.is-start,
.agt-cal-day.is-end {
    color: #fff;
}

.agt-cal-day.is-start::before,
.agt-cal-day.is-end::before {
    background: var(--agt-ink);
    border-color: var(--agt-ink);
}

.agt-cal-day.is-start.has-range {
    background: linear-gradient(90deg, transparent 50%, var(--agt-gray-150) 50%);
}

.agt-cal-day.is-end {
    background: linear-gradient(90deg, var(--agt-gray-150) 50%, transparent 50%);
}

.agt-cal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--agt-gray-200);
}

.agt-cal-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.agt-cal-flex .agt-chip {
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
}

.agt-link-clear {
    flex-shrink: 0;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--agt-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.agt-search-panel[data-panel='who'] {
    inset-inline-end: 0;
    width: min(420px, 100%);
}

.agt-search-panel.is-open {
    display: block;
    animation: agt-panel-in 0.2s var(--agt-ease);
}

@keyframes agt-panel-in {
    from {
        opacity: 0;
        margin-top: -6px;
    }
    to {
        opacity: 1;
        margin-top: 0;
    }
}

.agt-panel-title {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.agt-dest-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.agt-dest-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.6rem;
    border-radius: 14px;
    border: none;
    background: transparent;
    text-align: start;
    width: 100%;
    cursor: pointer;
    transition: background 0.15s;
}

.agt-dest-item:hover {
    background: var(--agt-gray-100);
}

.agt-dest-item strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
}

.agt-dest-item small {
    display: block;
    font-size: 0.75rem;
    color: var(--agt-gray-500);
}

.agt-dest-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--agt-gray-150);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--agt-pink);
    font-size: 1.25rem;
}

.agt-guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--agt-gray-200);
}

.agt-guest-row:last-child {
    border-bottom: none;
}

.agt-guest-row strong {
    font-weight: 600;
    font-size: 0.9375rem;
}

.agt-counter {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.agt-counter span {
    min-width: 1.25rem;
    text-align: center;
}

.agt-counter button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--agt-gray-300);
    background: #fff;
    color: var(--agt-gray-500);
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}

.agt-counter button:hover {
    border-color: var(--agt-ink);
    color: var(--agt-ink);
}

.agt-counter button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-color: var(--agt-gray-300);
    color: var(--agt-gray-500);
}

.agt-service-link {
    display: block;
    margin-top: 0.15rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--agt-gray-500);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: start;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.agt-service-link:hover {
    color: var(--agt-ink);
}

.agt-modal--service {
    width: min(420px, 100%);
    overflow: hidden;
}

.agt-modal--service-top {
    display: flex;
    justify-content: flex-end;
    padding: 0.75rem 0.75rem 0;
}

.agt-modal--service .agt-modal-body {
    padding: 0.25rem 1.5rem 1.75rem;
    color: var(--agt-ink);
    font-size: 0.95rem;
    line-height: 1.45;
}

.agt-service-illustration {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    background: var(--agt-gray-100);
}

.agt-service-title {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.agt-modal--service a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

/* ---------- Chips de filtro ---------- */

.agt-filter-bar {
    position: sticky;
    top: var(--agt-header-h);
    z-index: 1030;
    background: #fff;
    transition: box-shadow 0.2s;
}

.agt-filter-bar.is-stuck {
    box-shadow: 0 1px 0 var(--agt-gray-200), 0 6px 16px rgba(0, 0, 0, 0.04);
}

.agt-filter-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.agt-filter-scroll {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
    mask-image: linear-gradient(90deg, #000 92%, transparent);
    padding-inline-end: 2rem;
}

.agt-filter-scroll::-webkit-scrollbar {
    display: none;
}

.agt-chip {
    flex-shrink: 0;
    border: 1px solid var(--agt-gray-300);
    background: #fff;
    border-radius: var(--agt-radius-pill);
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--agt-ink);
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.agt-chip:hover {
    border-color: var(--agt-ink);
}

.agt-chip.is-active {
    border-color: var(--agt-ink);
    background: var(--agt-ink);
    color: #fff;
}

.agt-filter-more {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--agt-gray-300);
    background: #fff;
    color: var(--agt-ink);
    font-weight: 600;
    font-size: 0.8125rem;
    padding: 0.55rem 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.15s;
}

.agt-filter-more:hover {
    border-color: var(--agt-ink);
}

/* ---------- Seções e cards ---------- */

.agt-section {
    padding: 1.75rem 0 0.75rem;
}

.agt-section[hidden] {
    display: none;
}

.agt-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.agt-section-title {
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}

.agt-section-sub {
    font-size: 0.8125rem;
    color: var(--agt-gray-500);
    margin: 0.2rem 0 0;
}

.agt-section-sub:empty {
    display: none;
}

.agt-section-tools {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.agt-link-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--agt-ink);
    padding: 0.35rem 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

.agt-link-more i {
    font-size: 0.75rem;
}

.agt-row-nav {
    display: flex;
    gap: 0.5rem;
}

.agt-row-nav button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--agt-gray-300);
    background: #fff;
    color: var(--agt-ink);
    font-size: 0.75rem;
    cursor: pointer;
    transition: box-shadow 0.15s, opacity 0.15s;
}

.agt-row-nav button:hover:not(:disabled) {
    box-shadow: var(--agt-shadow-sm);
}

.agt-row-nav button:disabled {
    opacity: 0.35;
    cursor: default;
}

body:not(.agt-view-all) .agt-link-more,
body:not(.agt-view-all) .agt-row-nav {
    display: none;
}

.agt-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 2rem 1.5rem;
}

/* Visão "Tudo": cada seção vira uma fileira horizontal */
body.agt-view-all .agt-cards {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 4 * 1.5rem) / 5);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

body.agt-view-all .agt-cards::-webkit-scrollbar {
    display: none;
}

body.agt-view-all .agt-listing-card {
    scroll-snap-align: start;
}

.agt-listing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.agt-card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: var(--agt-radius-card);
}

.agt-card-link:focus-visible {
    outline: 2px solid var(--agt-ink);
    outline-offset: 4px;
}

.agt-card-badge,
.agt-carousel-dots {
    pointer-events: none;
}

.agt-listing-card[hidden] {
    display: none;
}

.agt-card-image {
    position: relative;
    border-radius: var(--agt-radius-card);
    overflow: hidden;
    aspect-ratio: 20 / 19;
    background: var(--agt-gray-200);
    margin-bottom: 0.75rem;
    outline: none;
}

.agt-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.45s var(--agt-ease);
    will-change: transform;
}

.agt-carousel-slide {
    flex: 0 0 100%;
    height: 100%;
}

.agt-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s var(--agt-ease);
}

.agt-listing-card:hover .agt-carousel-slide img {
    transform: scale(1.03);
}

.agt-carousel-zone {
    position: absolute;
    top: 50%;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--agt-shadow-sm);
    cursor: pointer;
    z-index: 3;
    opacity: 0;
    transform: translateY(-50%) scale(0.9);
    transition: opacity 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--agt-ink);
}

.agt-carousel-zone::before {
    font-family: 'bootstrap-icons';
}

.agt-carousel-zone--prev {
    inset-inline-start: 0.65rem;
}

.agt-carousel-zone--prev::before {
    content: '\f284';
}

.agt-carousel-zone--next {
    inset-inline-end: 0.65rem;
}

.agt-carousel-zone--next::before {
    content: '\f285';
}

.agt-carousel:hover .agt-carousel-zone,
.agt-listing-card:hover .agt-carousel-zone,
.agt-carousel:focus-within .agt-carousel-zone {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Toque não tem hover: as setas ficam sempre visíveis (na visão "Tudo" o deslize rola a fileira, não as fotos). */
@media (hover: none) {
    .agt-carousel-zone {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}

.agt-carousel-dots {
    position: absolute;
    bottom: 0.65rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.3rem;
    z-index: 3;
}

.agt-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s, background 0.2s;
}

.agt-carousel-dot.is-active {
    background: #fff;
    transform: scale(1.2);
}

.agt-card-badge {
    position: absolute;
    top: 0.75rem;
    inset-inline-start: 0.75rem;
    background: rgba(255, 255, 255, 0.96);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: var(--agt-radius-pill);
    box-shadow: var(--agt-shadow-sm);
    z-index: 4;
}

.agt-card-fav {
    position: absolute;
    top: 0.6rem;
    inset-inline-end: 0.6rem;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 1.3rem;
    z-index: 4;
    cursor: pointer;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
    transition: transform 0.15s;
}

.agt-card-fav:active {
    transform: scale(0.88);
}

.agt-card-fav.is-active {
    color: var(--agt-pink);
}

.agt-card-body-btn {
    border: none;
    background: transparent;
    padding: 0;
    text-align: start;
    width: 100%;
    cursor: pointer;
    color: inherit;
}

.agt-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

[dir='rtl'] .bi-chevron-left, [dir='rtl'] .bi-chevron-right, [dir='rtl'] .bi-arrow-left, [dir='rtl'] .bi-arrow-right, [dir='rtl'] .bi-arrow-right-short {
    display: inline-block;
    transform: scaleX(-1);
}

/* Título em alfabeto latino numa página RTL: corta no fim do texto, mas segue alinhado com o restante do cartão. */
[dir='rtl'] .agt-card h3[dir='auto'] {
    text-align: right;
}

.agt-card-meta {
    font-size: 0.875rem;
    color: var(--agt-gray-500);
    margin: 0.1rem 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agt-card-price {
    font-size: 0.875rem;
    margin: 0.35rem 0 0;
}

.agt-card-price del {
    color: var(--agt-gray-500);
    margin-inline-end: 0.25rem;
}

.agt-card-price strong {
    font-weight: 600;
}

.agt-rating {
    flex-shrink: 0;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.agt-rating i {
    font-size: 0.7rem;
    color: var(--agt-ink);
}

.agt-empty-state {
    text-align: center;
    color: var(--agt-gray-500);
    padding: 2rem;
    background: var(--agt-gray-100);
    border-radius: 16px;
    margin-top: 1rem;
}

/* ---------- Confiança, CTA e rodapé ---------- */

.agt-trust {
    padding-top: 2.5rem;
}

.agt-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.agt-trust-grid > div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 1.25rem;
    border-radius: 16px;
    border: 1px solid var(--agt-gray-200);
}

.agt-trust-grid i {
    color: var(--agt-pink);
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}

.agt-trust-grid strong {
    font-weight: 600;
    font-size: 0.9375rem;
}

.agt-trust-grid span {
    font-size: 0.8125rem;
    color: var(--agt-gray-500);
}

.agt-cta-wrap {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
}

.agt-cta-band {
    color: #fff;
    border-radius: 24px;
    padding: clamp(2rem, 5vw, 3.5rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background-size: cover;
    background-position: center;
}

.agt-cta-band h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.agt-cta-band p {
    max-width: 520px;
    margin: 0;
    opacity: 0.9;
}

.agt-footer {
    background: var(--agt-gray-100);
    border-top: 1px solid var(--agt-gray-200);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.agt-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.agt-footer-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--agt-ink);
    margin-bottom: 1rem;
}

.agt-footer-col li + li {
    margin-top: 0.7rem;
}

.agt-footer-link {
    padding: 0;
    border: none;
    background: none;
    font-size: 0.875rem;
    color: var(--agt-ink);
    text-align: start;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
}

.agt-footer-link:hover {
    color: var(--agt-gray-500);
    text-decoration: none;
}

.agt-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--agt-gray-200);
    font-size: 0.875rem;
    color: var(--agt-ink);
}

.agt-footer-legal,
.agt-footer-locale {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.agt-footer-locale {
    gap: 1.5rem;
    font-weight: 600;
}

.agt-footer-locale i {
    margin-inline-end: 0.25rem;
}

/* ---------- Modal de filtros ---------- */

.agt-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: agt-fade 0.2s ease;
}

.agt-modal-backdrop[hidden] {
    display: none !important;
}

.agt-modal {
    background: #fff;
    width: min(560px, 100%);
    border-radius: 20px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--agt-shadow-lg);
    animation: agt-sheet-up 0.3s var(--agt-ease);
}

.agt-modal-header,
.agt-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.agt-modal-header {
    border-bottom: 1px solid var(--agt-gray-200);
}

.agt-modal-heading {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.agt-modal-footer {
    border-top: 1px solid var(--agt-gray-200);
}

.agt-modal-body {
    padding: 1.5rem;
    overflow: auto;
}

.agt-modal-label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.agt-modal-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.agt-modal-checks label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9375rem;
    cursor: pointer;
}

.agt-modal-checks input {
    width: 20px;
    height: 20px;
    accent-color: var(--agt-ink);
}

.agt-amenity-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.agt-amenity-group + .agt-amenity-group {
    margin-top: 1.25rem;
}

.agt-amenity-group-title {
    margin: 0 0 0.7rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--agt-gray-500);
}

.agt-amenity-toggle {
    margin-top: 1rem;
    padding: 0;
    border: none;
    background: none;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--agt-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.agt-amenity {
    position: relative;
    cursor: pointer;
}

.agt-amenity input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.agt-amenity span {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.1rem;
    border: 1px solid var(--agt-gray-200);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--agt-ink);
    background: #fff;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.agt-amenity span i {
    font-size: 1.05rem;
}

.agt-amenity:hover span {
    border-color: var(--agt-ink);
}

.agt-amenity input:checked + span {
    border-color: var(--agt-ink);
    background: var(--agt-gray-100);
    box-shadow: inset 0 0 0 1px var(--agt-ink);
}

.agt-amenity input:focus-visible + span {
    outline: 2px solid var(--agt-ink);
    outline-offset: 2px;
}

.agt-modal-close,
.agt-sheet-close {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: transparent;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.15s;
}

.agt-modal-close:hover,
.agt-sheet-close:hover {
    background: var(--agt-gray-100);
}

.agt-sheet-spacer {
    width: 32px;
}

/* ---------- Idioma e região / Moeda ---------- */

.agt-locale-modal {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    animation: agt-fade 0.2s ease;
}

.agt-locale-modal[hidden],
.agt-locale-pane[hidden],
.agt-locale-item[hidden],
.agt-locale-empty[hidden] {
    display: none !important;
}

.agt-locale-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.agt-locale-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(1032px, 100%);
    max-height: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--agt-shadow-lg);
    animation: agt-sheet-up 0.3s var(--agt-ease);
}

.agt-locale-head {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin: 0 1.5rem;
    padding-top: 0.5rem;
    border-bottom: 1px solid var(--agt-gray-200);
}

.agt-locale-head .agt-modal-close {
    flex-shrink: 0;
}

.agt-locale-tabs {
    display: flex;
    gap: 1.75rem;
    min-width: 0;
}

.agt-locale-tab {
    position: relative;
    padding: 1.1rem 0;
    white-space: nowrap;
    border: none;
    background: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--agt-gray-500);
    cursor: pointer;
}

.agt-locale-tab:hover,
.agt-locale-tab.is-active {
    color: var(--agt-ink);
}

.agt-locale-tab.is-active::after {
    content: '';
    position: absolute;
    inset-inline-start: 0;
    inset-inline-end: 0;
    bottom: -1px;
    height: 2px;
    background: var(--agt-ink);
}

.agt-locale-body {
    overflow-y: auto;
    padding: 1.75rem 1.5rem 2rem;
    overscroll-behavior: contain;
}

.agt-locale-pane-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.agt-locale-pane-head h2 {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--agt-ink);
}

.agt-locale-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: min(280px, 100%);
    padding: 0.55rem 1rem;
    border: 1px solid var(--agt-gray-300);
    border-radius: 999px;
    color: var(--agt-gray-500);
    cursor: text;
}

.agt-locale-search:focus-within {
    border-color: var(--agt-ink);
    box-shadow: 0 0 0 1px var(--agt-ink);
}

.agt-locale-search input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.875rem;
    color: var(--agt-ink);
}

.agt-locale-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
}

.agt-locale-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.65rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--agt-ink);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.agt-locale-item:hover {
    background: var(--agt-gray-100);
    color: var(--agt-ink);
}

.agt-locale-item.is-current {
    border-color: var(--agt-ink);
}

.agt-locale-item img {
    flex-shrink: 0;
    border-radius: 50%;
    object-fit: cover;
}

.agt-locale-item-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

.agt-locale-item-text strong,
.agt-locale-item-text small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agt-locale-item-text strong {
    font-size: 0.875rem;
    font-weight: 500;
}

.agt-locale-item-text small {
    font-size: 0.8rem;
    color: var(--agt-gray-500);
}

.agt-locale-empty,
.agt-locale-note {
    margin: 1.25rem 0 0;
    font-size: 0.8rem;
    color: var(--agt-gray-500);
}

.agt-locale-empty {
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 1100px) {
    .agt-locale-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .agt-locale-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.agt-range {
    accent-color: var(--agt-pink);
}

.agt-price-filter {
    --agt-lo: 0%;
    --agt-hi: 100%;
}

.agt-price-histo {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 64px;
    padding: 0 11px;
    margin-top: 0.75rem;
}

.agt-price-histo span {
    flex: 1;
    min-width: 0;
    border-radius: 2px 2px 0 0;
    background: var(--agt-gray-300);
}

.agt-price-histo span.is-in {
    background: var(--agt-pink);
}

.agt-price-slider {
    position: relative;
    height: 22px;
    margin-top: -11px;
}

.agt-price-slider::before {
    content: "";
    position: absolute;
    inset-inline-start: 11px;
    inset-inline-end: 11px;
    top: 10px;
    height: 2px;
    background: linear-gradient(90deg, var(--agt-gray-300) var(--agt-lo), var(--agt-ink) var(--agt-lo), var(--agt-ink) var(--agt-hi), var(--agt-gray-300) var(--agt-hi));
}

.agt-price-slider input {
    position: absolute;
    inset: 0;
    width: 100%;
    margin: 0;
    background: none;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.agt-price-slider input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--agt-gray-300);
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    cursor: grab;
    pointer-events: auto;
}

.agt-price-slider input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--agt-gray-300);
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    cursor: grab;
    pointer-events: auto;
}

.agt-price-slider input:focus-visible::-webkit-slider-thumb {
    outline: 2px solid var(--agt-ink);
    outline-offset: 2px;
}

.agt-price-slider input:focus-visible::-moz-range-thumb {
    outline: 2px solid var(--agt-ink);
    outline-offset: 2px;
}

.agt-price-boxes {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.agt-price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 7rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--agt-gray-300);
    border-radius: var(--agt-radius-pill);
}

.agt-price-box span {
    font-size: 0.75rem;
    color: var(--agt-gray-500);
}

@keyframes agt-sheet-up {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Toast ---------- */

.agt-toast {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: var(--agt-ink);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: var(--agt-radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s var(--agt-ease), opacity 0.2s, visibility 0.3s;
    z-index: 9999;
    max-width: 90vw;
    text-align: center;
}

.agt-toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* ---------- Aviso de página (sucesso, erro, atenção, informação) ---------- */

.agt-notice {
    --agt-notice-accent: #2563eb;
    --agt-notice-tint: #eff6ff;
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    margin-top: 1.25rem;
    padding-block: 0.875rem;
    padding-inline: 1rem 0.75rem;
    background: #fff;
    border: 1px solid var(--agt-gray-200);
    border-radius: var(--agt-radius-card);
    box-shadow: var(--agt-shadow-sm);
    color: var(--agt-ink);
    font-size: 0.9375rem;
    line-height: 1.45;
    animation: agt-notice-in 0.35s var(--agt-ease);
}

.agt-notice--success { --agt-notice-accent: #16a34a; --agt-notice-tint: #ecfdf3; }
.agt-notice--danger { --agt-notice-accent: #dc2626; --agt-notice-tint: #fef2f2; }
.agt-notice--warning { --agt-notice-accent: #d97706; --agt-notice-tint: #fffbeb; }

.agt-notice-icon {
    flex: none;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--agt-notice-tint);
    color: var(--agt-notice-accent);
    font-size: 1rem;
}

.agt-notice-body {
    flex: 1;
    min-width: 0;
    padding-top: 0.3rem;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.agt-notice-list {
    margin: 0;
    padding-inline-start: 1.1rem;
    font-weight: 400;
}

.agt-notice-list li + li { margin-top: 0.2rem; }

.agt-notice-close {
    flex: none;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--agt-gray-500);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.agt-notice-close:hover,
.agt-notice-close:focus-visible {
    background: var(--agt-gray-100);
    color: var(--agt-ink);
}

.agt-notice.is-leaving {
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s var(--agt-ease);
}

@keyframes agt-notice-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    .agt-notice { animation: none; }
}

/* ---------- Chrome mobile (escondido no desktop) ---------- */

.agt-mheader,
.agt-tabbar,
.agt-sheet {
    display: none;
}

@media (max-width: 1199.98px) {
    .agt-tab span {
        font-size: 0.875rem;
    }

    .agt-tab {
        padding: 0 0.6rem;
    }

    .agt-header-actions .agt-btn-primary {
        display: none;
    }

    body.agt-view-all .agt-cards {
        grid-auto-columns: calc((100% - 3 * 1.5rem) / 4);
    }
}

@media (max-width: 991.98px) {
    .agt-topbar-links a:not(:first-child) {
        display: none;
    }

    .agt-tab i {
        display: none;
    }

    body.agt-view-all .agt-cards {
        grid-auto-columns: calc((100% - 2 * 1.5rem) / 3);
    }
}

/* ---------- Mobile (estilo app) ---------- */

@media (max-width: 767.98px) {
    html {
        scroll-padding-top: calc(var(--agt-mheader-h) + 16px);
    }

    body.agt-body {
        padding-top: var(--agt-mheader-h);
    }

    .agt-topbar,
    .agt-header,
    .agt-search-section {
        display: none;
    }

    .agt-mheader {
        display: block;
        position: fixed;
        top: 0;
        inset-inline-start: 0;
        inset-inline-end: 0;
        z-index: 1050;
        background: #fff;
        border-bottom: 1px solid var(--agt-gray-200);
        padding-top: env(safe-area-inset-top, 0px);
        transition: transform 0.28s var(--agt-ease), box-shadow 0.2s;
        will-change: transform;
    }

    .agt-mheader.is-chrome-hidden {
        transform: translateY(-100%);
        pointer-events: none;
    }

    .agt-mheader-search {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.75rem 1rem 0.5rem;
    }

    .agt-mpill {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 0.85rem;
        height: 56px;
        padding: 0 1.25rem;
        border: 1px solid var(--agt-gray-200);
        border-radius: var(--agt-radius-pill);
        background: #fff;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
        text-align: start;
        color: var(--agt-ink);
        cursor: pointer;
        transition: transform 0.15s;
    }

    .agt-mpill:active {
        transform: scale(0.98);
    }

    .agt-mpill > i {
        font-size: 1.15rem;
    }

    .agt-mpill-text {
        min-width: 0;
        display: flex;
        flex-direction: column;
        line-height: 1.25;
    }

    .agt-mpill-text strong {
        font-size: 0.875rem;
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .agt-mpill-text small {
        font-size: 0.75rem;
        color: var(--agt-gray-500);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .agt-mfilter {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1px solid var(--agt-gray-300);
        background: #fff;
        color: var(--agt-ink);
        font-size: 1rem;
        cursor: pointer;
    }

    .agt-mtabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        padding: 0 0.25rem;
    }

    .agt-mtab {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        padding: 0.4rem 0 0.6rem;
        border: none;
        background: transparent;
        color: var(--agt-gray-500);
        text-decoration: none;
        font-size: 0.6875rem;
        font-weight: 500;
        letter-spacing: -0.01em;
        cursor: pointer;
        transition: color 0.2s;
        min-width: 0;
    }

    .agt-mtab span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .agt-mtab i {
        font-size: 1.3rem;
        line-height: 1;
    }

    .agt-mtab::after {
        content: '';
        position: absolute;
        bottom: -1px;
        inset-inline-start: 22%;
        inset-inline-end: 22%;
        height: 2px;
        border-radius: 2px;
        background: var(--agt-ink);
        transform: scaleX(0);
        transition: transform 0.25s var(--agt-ease);
    }

    .agt-mtab.is-active {
        color: var(--agt-ink);
        font-weight: 600;
    }

    .agt-mtab.is-active::after {
        transform: scaleX(1);
    }

    .agt-filter-bar {
        position: static;
        box-shadow: none !important;
    }

    .agt-filter-toolbar {
        padding-top: 1rem;
        padding-bottom: 0.25rem;
    }

    .agt-filter-more {
        display: none;
    }

    .agt-section {
        padding-top: 1.25rem;
    }

    .agt-section-title {
        font-size: 1.15rem;
    }

    .agt-row-nav {
        display: none !important;
    }

    .agt-cards {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    body.agt-view-all .agt-cards {
        grid-auto-columns: 72%;
        gap: 1rem;
        margin: 0 calc(var(--bs-gutter-x, 1.5rem) * -0.5);
        padding: 0 calc(var(--bs-gutter-x, 1.5rem) * 0.5);
        scroll-padding: 0 calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    }

    body.agt-view-all .agt-card-image {
        aspect-ratio: 1 / 1;
    }

    .agt-modal-backdrop {
        align-items: flex-end;
        padding: 0;
    }

    .agt-modal {
        border-radius: 20px 20px 0 0;
        max-height: 92vh;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .agt-modal-checks {
        grid-template-columns: 1fr;
    }

    .agt-cta-wrap {
        padding-top: 1.5rem;
    }

    .agt-footer {
        padding-top: 2rem;
        padding-bottom: calc(var(--agt-tabbar-h) + env(safe-area-inset-bottom, 0px) + 1.5rem);
    }

    .agt-footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 1rem;
    }

    .agt-footer-col {
        padding: 1.5rem 0;
    }

    .agt-footer-col + .agt-footer-col {
        border-top: 1px solid var(--agt-gray-200);
    }

    .agt-footer-col li + li {
        margin-top: 1rem;
    }

    .agt-footer-bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .agt-toast {
        bottom: calc(var(--agt-tabbar-h) + env(safe-area-inset-bottom, 0px) + 0.75rem);
    }

    /* Tab bar inferior */
    .agt-tabbar {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        position: fixed;
        inset-inline-start: 0;
        inset-inline-end: 0;
        bottom: 0;
        z-index: 1050;
        min-height: var(--agt-tabbar-h);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--agt-gray-200);
        transition: transform 0.28s var(--agt-ease);
        will-change: transform;
    }

    .agt-tabbar.is-chrome-hidden {
        transform: translateY(100%);
        pointer-events: none;
    }

    .agt-tabbar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        min-width: 0;
        border: none;
        background: transparent;
        color: var(--agt-gray-500);
        font-size: 0.6875rem;
        font-weight: 500;
        cursor: pointer;
    }

    .agt-tabbar-item i {
        font-size: 1.35rem;
        line-height: 1;
    }

    .agt-tabbar-item.is-active {
        color: var(--agt-pink);
        font-weight: 600;
    }

    /* Busca em tela cheia */
    .agt-sheet {
        position: fixed;
        inset: 0;
        z-index: 2100;
        display: flex;
        flex-direction: column;
        background: var(--agt-gray-100);
        animation: agt-sheet-up 0.3s var(--agt-ease);
    }

    .agt-sheet[hidden] {
        display: none;
    }

    .agt-sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: calc(env(safe-area-inset-top, 0px) + 0.75rem) 1rem 0.75rem;
    }

    .agt-sheet-close {
        border: 1px solid var(--agt-gray-300);
        background: #fff;
    }

    .agt-sheet-title {
        font-weight: 600;
    }

    .agt-sheet-body {
        flex: 1;
        overflow-y: auto;
        padding: 0.25rem 1rem calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
    }

    .agt-sheet .agt-search-wrap {
        max-width: none;
    }

    .agt-sheet .agt-search-bar {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        border: none;
        border-radius: 24px;
        padding: 0.5rem;
        background: #fff !important;
        box-shadow: var(--agt-shadow);
    }

    .agt-sheet .agt-search-field {
        height: auto;
        padding: 1rem;
        border-radius: 16px;
    }

    .agt-sheet .agt-search-field::before {
        display: none;
    }

    .agt-sheet .agt-search-field + .agt-search-field {
        border-top: 1px solid var(--agt-gray-200);
    }

    .agt-sheet .agt-search-field.is-focused {
        box-shadow: none;
        background: var(--agt-gray-100);
    }

    .agt-sheet .agt-search-field span {
        font-size: 1rem;
        color: var(--agt-ink);
    }

    .agt-sheet .agt-search-submit {
        justify-content: center;
        margin: 0.5rem 0 0;
        height: 52px;
    }

    .agt-sheet .agt-search-panel {
        position: static;
        width: auto;
        transform: none;
        margin-top: 0.75rem;
        border-radius: 24px;
        box-shadow: var(--agt-shadow);
        padding: 1.25rem;
    }

    .agt-sheet .agt-dest-grid {
        grid-template-columns: 1fr;
    }

    .agt-sheet .agt-search-panel[data-panel='when'] {
        padding: 1.25rem 1rem 1rem;
    }

    .agt-sheet .agt-cal-months {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .agt-sheet .agt-cal-day {
        max-height: none;
    }

    .agt-sheet .agt-cal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .agt-sheet .agt-cal-flex {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .agt-sheet .agt-link-clear {
        align-self: flex-end;
    }

    .agt-locale-modal {
        padding: 0;
    }

    .agt-locale-panel {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .agt-locale-head {
        gap: 1rem;
        margin: 0 1rem;
        padding-top: calc(0.25rem + env(safe-area-inset-top, 0px));
    }

    .agt-locale-tabs {
        gap: 1.25rem;
    }

    .agt-locale-body {
        padding: 1.25rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    }

    .agt-locale-pane-head {
        flex-direction: column;
        align-items: stretch;
    }

    .agt-locale-pane-head h2 {
        font-size: 1.15rem;
    }

    .agt-locale-search {
        width: 100%;
    }

    .agt-locale-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ==========================================================================
   Menu do header, Entrar ou cadastrar-se, Visibilidade e Perfil (padrão Airbnb)
   ========================================================================== */

html.agt-modal-open {
    overflow: hidden;
}

.agt-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: none;
    border-radius: 10px;
    background: var(--agt-ink);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}

.agt-btn-dark:hover {
    background: #000;
    color: #fff;
}

.agt-btn-dark:active,
.agt-btn-primary:active {
    transform: scale(0.98);
}

/* ---------- Header ---------- */

.agt-nav-host {
    align-items: center;
    padding: 0.7rem 1rem;
    border-radius: var(--agt-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--agt-ink);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}

.agt-nav-host:hover {
    background: var(--agt-gray-100);
    color: var(--agt-ink);
}

.agt-nav-round,
.agt-nav-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
}

.agt-nav-round {
    border: none;
    background: var(--agt-gray-150);
    color: var(--agt-ink);
    font-size: 1.15rem;
    transition: background 0.15s, box-shadow 0.15s;
}

.agt-nav-round:hover,
.agt-nav-round[aria-expanded='true'] {
    background: var(--agt-gray-200);
    color: var(--agt-ink);
}

.agt-nav-avatar {
    overflow: hidden;
    background: #222;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.agt-nav-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agt-nav-dot {
    position: absolute;
    top: 6px;
    inset-inline-end: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--agt-pink);
    box-shadow: 0 0 0 2px #fff;
}

.agt-menu {
    width: 280px;
    padding: 0.5rem 0;
    border: none;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.04);
    font-size: 0.9rem;
    max-height: calc(100dvh - 96px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.agt-menu form {
    margin: 0;
}

.agt-menu-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.7rem 1.25rem;
    border: none;
    background: none;
    color: var(--agt-ink);
    text-align: start;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s;
}

.agt-menu-item i {
    font-size: 1.1rem;
    width: 1.2rem;
    text-align: center;
}

.agt-menu-item:hover,
.agt-menu-item:focus-visible {
    background: var(--agt-gray-100);
    color: var(--agt-ink);
}

.agt-menu-badge {
    margin-inline-start: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: var(--agt-pink);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.agt-menu-sep {
    height: 1px;
    margin: 0.4rem 1.25rem;
    background: var(--agt-gray-200);
}

.agt-menu-host {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem;
    color: var(--agt-ink);
    text-decoration: none;
    transition: background 0.12s;
}

.agt-menu-host:hover {
    background: var(--agt-gray-100);
    color: var(--agt-ink);
}

.agt-menu-host strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.agt-menu-host small {
    display: block;
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--agt-gray-500);
}

.agt-menu-host img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    object-fit: contain;
}

/* ---------- Entrar ou cadastrar-se ---------- */

.agt-modal--auth {
    width: min(568px, 100%);
    max-height: min(92vh, 860px);
    overflow: hidden;
}

.agt-auth-flow,
.agt-vis-form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: inherit;
}

.agt-auth-head {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 0.75rem 1rem 0;
}

.agt-auth-icon {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: var(--agt-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.15s;
}

.agt-auth-icon:hover {
    background: var(--agt-gray-100);
}

.agt-auth-scroll {
    overflow-y: auto;
    padding: 0.25rem 2rem 2rem;
    overscroll-behavior: contain;
}

/* Sem a barra do "voltar" acima (ex.: concluir cadastro com Google), o título precisa do próprio respiro. */
.agt-auth-flow > .agt-auth-scroll:first-child {
    padding-top: 2rem;
}

.agt-auth-mark {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 1rem;
}

.agt-auth-title {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 0.5rem;
}

.agt-auth-step[data-agt-step-panel='email'] .agt-auth-title {
    margin-bottom: 1.75rem;
}

.agt-auth-sub {
    color: var(--agt-gray-500);
    margin-bottom: 1.5rem;
    overflow-wrap: anywhere;
}

.agt-auth-sub strong {
    color: var(--agt-ink);
    font-weight: 600;
}

.agt-auth-input {
    display: block;
    width: 100%;
    min-height: 56px;
    padding: 0.85rem 1rem;
    border: 1px solid #b0b0b0;
    border-radius: 12px;
    background: #fff;
    color: var(--agt-ink);
    font-size: 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.agt-auth-input::placeholder {
    color: #717171;
}

.agt-auth-input:focus {
    outline: none;
    border-color: var(--agt-ink);
    box-shadow: 0 0 0 1px var(--agt-ink);
}

.agt-birth {
    display: flex;
    gap: 0.5rem;
}

.agt-birth .agt-auth-input {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.agt-birth .agt-auth-input.is-year {
    flex-grow: 1.4;
}

.agt-auth-input:disabled {
    background: var(--agt-gray-100);
    color: var(--agt-gray-500);
}

select.agt-auth-input {
    appearance: auto;
}

.agt-auth-code {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.5em;
    padding-inline-start: calc(1rem + 0.5em);
}

.agt-auth-stack .agt-auth-input:first-of-type {
    border-end-start-radius: 0;
    border-end-end-radius: 0;
}

.agt-auth-stack .agt-auth-input:last-of-type {
    margin-top: -1px;
    border-start-start-radius: 0;
    border-start-end-radius: 0;
}

.agt-auth-stack .agt-auth-input:focus {
    position: relative;
    z-index: 1;
}

.agt-auth-password {
    position: relative;
}

.agt-auth-password .agt-auth-input {
    padding-inline-end: 5.5rem;
}

.agt-auth-toggle {
    position: absolute;
    inset-inline-end: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    padding: 0.35rem 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--agt-ink);
    text-decoration: underline;
    cursor: pointer;
}

.agt-auth-hint {
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--agt-gray-500);
    margin: 0.5rem 0 0;
}

.agt-auth-hint a,
.agt-auth-legal a,
.agt-vis-sub a,
.agt-pf-lead a {
    color: var(--agt-ink);
    font-weight: 600;
    text-decoration: underline;
}

.agt-auth-group {
    margin: 0 0 1.5rem;
    padding: 0;
    border: 0;
    min-width: 0;
}

.agt-auth-group legend,
.agt-auth-group legend label,
.agt-pf-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
    float: none;
    width: auto;
    padding: 0;
}

.agt-pf-label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.agt-auth-marketing {
    border-radius: 12px;
    background: var(--agt-gray-100);
    padding: 1rem 1.1rem;
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
    color: var(--agt-gray-500);
}

.agt-auth-marketing p {
    margin: 0 0 0.75rem;
}

.agt-auth-marketing label {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    color: var(--agt-ink);
    cursor: pointer;
}

.agt-auth-marketing input {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    accent-color: var(--agt-ink);
}

.agt-auth-legal {
    font-size: 0.8rem;
    color: var(--agt-gray-500);
    margin-bottom: 0;
}

.agt-auth-error {
    margin: 0.75rem 0 0;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: #fff1f2;
    color: #c13515;
    font-size: 0.85rem;
    display: flex;
    gap: 0.5rem;
}

.agt-auth-error::before {
    content: '\F33A';
    font-family: 'bootstrap-icons';
}

.agt-auth-notice {
    margin: 0.75rem 0 0;
    font-size: 0.85rem;
    color: #008a05;
}

.agt-auth-error[hidden],
.agt-auth-notice[hidden] {
    display: none;
}

.agt-auth-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 1.25rem;
    border-radius: 10px;
    font-size: 1rem;
    justify-content: center;
}

.agt-auth-submit.is-loading {
    color: transparent !important;
    position: relative;
    pointer-events: none;
}

.agt-auth-submit.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    animation: agt-spin 0.7s linear infinite;
}

@keyframes agt-spin {
    to {
        transform: rotate(360deg);
    }
}

.agt-auth-or {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin: 1.4rem 0;
    font-size: 0.78rem;
    color: var(--agt-gray-500);
}

.agt-auth-or::before,
.agt-auth-or::after {
    content: '';
    flex: 1;
    border-top: 1px solid var(--agt-gray-300);
}

.agt-auth-social {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    padding: 0 1.4rem;
    border: 1px solid var(--agt-ink);
    border-radius: 10px;
    background: #fff;
    color: var(--agt-ink);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.agt-auth-social span {
    flex: 1;
    text-align: center;
    margin-inline-end: 20px;
}

.agt-auth-social:hover {
    background: var(--agt-gray-100);
    color: var(--agt-ink);
}

.agt-auth-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.agt-auth-link {
    border: none;
    background: none;
    padding: 0;
    color: var(--agt-ink);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.agt-auth-link:hover {
    color: var(--agt-ink);
}

.agt-auth-link:disabled {
    color: var(--agt-gray-500);
    text-decoration: none;
    cursor: default;
}

/* Página /signin */

.agt-auth-shell {
    display: flex;
    justify-content: center;
    padding: 3rem 0 4rem;
}

.agt-auth-card {
    width: min(568px, 100%);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.agt-auth-card .agt-auth-head {
    min-height: 44px;
}

/* ---------- Visibilidade do perfil ---------- */

.agt-vis-title {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 0.5rem;
}

.agt-vis-sub {
    color: var(--agt-gray-500);
    margin-bottom: 1.25rem;
}

.agt-vis-options {
    display: flex;
    flex-direction: column;
}

.agt-vis-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 0;
    cursor: pointer;
}

.agt-vis-option strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.agt-vis-option small {
    display: block;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--agt-gray-500);
}

.agt-vis-option input {
    appearance: none;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 1.5px solid #b0b0b0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    transition: border 0.15s;
}

.agt-vis-option input:checked {
    border: 7px solid var(--agt-ink);
}

.agt-vis-option input:focus-visible {
    outline: 2px solid var(--agt-ink);
    outline-offset: 2px;
}

.agt-vis-preview {
    margin-top: 1rem;
    padding: 1.5rem 1.25rem 1.25rem;
    border-radius: 16px;
    background: var(--agt-gray-100);
    text-align: center;
}

.agt-vis-preview > p {
    font-weight: 600;
    margin-bottom: 1rem;
}

.agt-vis-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.agt-vis-cards figure {
    margin: 0;
}

.agt-vis-cards figcaption {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.agt-vis-mock {
    position: relative;
    height: 130px;
    padding: 0.9rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--agt-gray-200);
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    overflow: hidden;
}

.agt-vis-mock-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.25rem;
}

.agt-vis-mock-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--agt-gray-300);
}

.agt-vis-mock-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.agt-vis-mock-lines i,
.agt-vis-mock-line {
    display: block;
    height: 6px;
    border-radius: 3px;
    background: var(--agt-gray-200);
}

.agt-vis-mock-lines i:last-child,
.agt-vis-mock-line--short {
    width: 60%;
}

.agt-vis-mock--limited {
    background: linear-gradient(180deg, #fff 52%, var(--agt-gray-150) 52%);
}

.agt-vis-mock-lock {
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    transform: translateX(-50%);
    color: var(--agt-gray-500);
    font-size: 1rem;
}

.agt-vis-footer {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid var(--agt-gray-200);
}

/* ---------- Perfil ---------- */

.agt-pf {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
}

.agt-pf-h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.agt-pf-h2 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 2.5rem 0 1rem;
}

.agt-pf-h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.agt-pf-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 4rem;
}

.agt-pf-nav {
    border-inline-end: 1px solid var(--agt-gray-200);
    padding-inline-end: 2rem;
    min-height: 60vh;
}

.agt-pf-nav nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.agt-pf-nav a {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    color: var(--agt-ink);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}

.agt-pf-nav a:hover {
    background: var(--agt-gray-100);
    color: var(--agt-ink);
}

.agt-pf-nav a.is-active {
    background: var(--agt-gray-150);
}

.agt-pf-nav-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--agt-gray-100);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 1.05rem;
    font-weight: 600;
    flex-shrink: 0;
}

.agt-pf-nav-ico img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agt-pf-headrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.agt-pf-chip {
    border: none;
    border-radius: 8px;
    background: var(--agt-gray-150);
    color: var(--agt-ink);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.agt-pf-chip:hover {
    background: var(--agt-gray-200);
    color: var(--agt-ink);
}

.agt-pf-top {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--agt-gray-200);
}

.agt-pf-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 110px;
    align-items: center;
    gap: 1.5rem;
    width: min(380px, 100%);
    padding: 1.75rem 1.5rem;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.agt-pf-card-id {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

.agt-pf-card-id strong {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 0.6rem;
    overflow-wrap: anywhere;
}

.agt-pf-card-id > span {
    font-size: 0.82rem;
    color: var(--agt-gray-500);
}

.agt-pf-avatar-lg,
.agt-pf-avatar-xl {
    position: relative;
    border-radius: 50%;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.agt-pf-avatar-lg {
    width: 104px;
    height: 104px;
    font-size: 2.6rem;
}

.agt-pf-avatar-lg img,
.agt-pf-avatar-xl img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.agt-pf-verified {
    position: absolute;
    inset-inline-end: -2px;
    bottom: 4px;
    color: var(--agt-pink);
    font-size: 1.6rem;
    background: #fff;
    border-radius: 50%;
    line-height: 1;
}

.agt-pf-card-stats {
    margin: 0;
}

.agt-pf-card-stats > div {
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--agt-gray-200);
}

.agt-pf-card-stats > div:last-child {
    border-bottom: 0;
}

.agt-pf-card-stats dt {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.1;
}

.agt-pf-card-stats dd {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 500;
}

.agt-pf-cta {
    max-width: 260px;
    padding-top: 0.25rem;
}

.agt-pf-cta h3 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.agt-pf-cta p {
    font-size: 0.92rem;
    color: var(--agt-gray-500);
    margin-bottom: 1.25rem;
}

.agt-pf-cta .agt-btn-primary {
    display: inline-flex;
    padding: 0.8rem 1.4rem;
    border-radius: 10px;
    font-size: 0.95rem;
}

.agt-pf-public {
    padding-top: 2rem;
}

.agt-pf-facts {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 2rem;
}

.agt-pf-facts li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.agt-pf-facts i {
    font-size: 1.2rem;
    line-height: 1.3;
}

.agt-pf-bio-public {
    white-space: pre-line;
    line-height: 1.6;
}

.agt-pf-section {
    padding: 2rem 0;
    border-bottom: 1px solid var(--agt-gray-200);
}

.agt-pf-section:first-of-type {
    padding-top: 0;
}

.agt-pf-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Meu perfil (edição) */

body.agt-pf-editing .agt-app-main {
    padding-bottom: 6rem;
}

.agt-pf-edit {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 5rem;
    max-width: 1080px;
    margin: 0 auto;
}

.agt-pf-edit-photo {
    position: sticky;
    top: calc(var(--agt-header-h) + 2rem);
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agt-pf-avatar-xl {
    width: 220px;
    height: 220px;
    font-size: 6rem;
}

.agt-pf-photo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: -1.4rem;
    padding: 0.55rem 1rem;
    border-radius: var(--agt-radius-pill);
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    z-index: 1;
    transition: transform 0.15s;
}

.agt-pf-photo-btn:hover {
    transform: scale(1.03);
}

.agt-pf-photo-btn:focus-within {
    outline: 2px solid var(--agt-ink);
    outline-offset: 2px;
}

.agt-pf-photo-error {
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: #c13515;
    text-align: center;
}

.agt-pf-lead {
    color: var(--agt-gray-500);
    max-width: 520px;
    margin-bottom: 1.5rem;
}

.agt-pf-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3.5rem;
}

.agt-pf-field {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    width: 100%;
    padding: 1.1rem 0;
    border: none;
    border-bottom: 1px solid var(--agt-gray-200);
    background: none;
    color: var(--agt-gray-500);
    text-align: start;
    cursor: pointer;
    transition: color 0.15s;
}

.agt-pf-field:hover {
    color: var(--agt-ink);
}

.agt-pf-field i {
    font-size: 1.3rem;
    line-height: 1.2;
    color: var(--agt-ink);
}

.agt-pf-field-label {
    display: block;
}

.agt-pf-field.is-filled {
    color: var(--agt-ink);
}

.agt-pf-field-value {
    display: block;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.agt-pf-field-value:empty {
    display: none;
}

.agt-pf-bio {
    padding: 1.25rem 1.25rem 1.1rem;
    border: 1.5px dashed var(--agt-gray-300);
    border-radius: 14px;
}

.agt-pf-bio.is-filled {
    border-style: solid;
    border-color: var(--agt-gray-200);
}

.agt-pf-bio-text {
    color: var(--agt-gray-500);
    margin-bottom: 0.5rem;
    white-space: pre-line;
}

.agt-pf-bio.is-filled .agt-pf-bio-text {
    color: var(--agt-ink);
}

.agt-pf-bio-btn {
    border: none;
    background: none;
    padding: 0;
    font-weight: 600;
    text-decoration: underline;
    color: var(--agt-ink);
    cursor: pointer;
}

.agt-pf-footer {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 900;
    padding: 0.9rem 0;
    background: #fff;
    border-top: 1px solid var(--agt-gray-200);
}

.agt-pf-done {
    min-width: 120px;
}

/* Modais de "Meu perfil" */

.agt-modal--pf {
    width: min(568px, 100%);
    overflow: hidden;
}

.agt-modal--pf form {
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-height: inherit;
}

.agt-modal--pf-tall {
    height: min(720px, 90vh);
}

.agt-pf-modal-body {
    padding: 0.5rem 1.5rem 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.agt-pf-modal-title {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0.5rem 0 0.4rem;
}

.agt-pf-modal-help {
    color: var(--agt-gray-500);
    margin-bottom: 1.5rem;
}

.agt-pf-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--agt-gray-200);
}

.agt-pf-counter {
    margin: 0.5rem 0 0;
    text-align: end;
    font-size: 0.75rem;
    color: var(--agt-gray-500);
}

.agt-pf-counter strong {
    color: var(--agt-ink);
}

.agt-pf-textarea {
    resize: vertical;
    min-height: 130px;
}

.agt-pf-search {
    position: relative;
    margin: 1rem 0 0.5rem;
}

.agt-pf-search i {
    position: absolute;
    inset-inline-start: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
}

.agt-pf-search .agt-auth-input {
    min-height: 48px;
    border-radius: var(--agt-radius-pill);
    padding-inline-start: 2.75rem;
}

.agt-pf-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.agt-pf-checklist label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--agt-gray-200);
    cursor: pointer;
}

.agt-pf-checklist input,
.agt-switch {
    flex-shrink: 0;
    cursor: pointer;
}

.agt-pf-lang-local {
    display: block;
    color: var(--agt-gray-500);
    font-size: 0.8125rem;
}

.agt-pf-checklist input {
    width: 22px;
    height: 22px;
    accent-color: var(--agt-ink);
}

.agt-pf-empty {
    padding: 1.5rem 0;
    color: var(--agt-gray-500);
    text-align: center;
}

.agt-pf-switch-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    cursor: pointer;
}

.agt-pf-switch-row strong {
    display: block;
    font-weight: 500;
}

.agt-pf-switch-row small {
    display: block;
    font-size: 0.8rem;
    color: var(--agt-gray-500);
}

.agt-switch {
    appearance: none;
    position: relative;
    width: 48px;
    height: 32px;
    margin: 0;
    border-radius: 16px;
    background: #b0b0b0;
    transition: background 0.2s;
}

.agt-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    inset-inline-start: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s var(--agt-ease);
}

.agt-switch:checked {
    background: var(--agt-ink);
}

.agt-switch:checked::after {
    transform: translateX(16px);
}

[dir='rtl'] .agt-switch:checked::after {
    transform: translateX(-16px);
}

.agt-switch:focus-visible {
    outline: 2px solid var(--agt-ink);
    outline-offset: 2px;
}

.agt-pf-birth {
    margin-top: 1.25rem;
}

@media (max-width: 991.98px) {
    .agt-pf-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
    }

    .agt-pf-nav {
        border-inline-end: 0;
        padding-inline-end: 0;
        min-height: 0;
        min-width: 0;
    }

    .agt-pf-nav nav {
        scrollbar-width: none;
    }

    .agt-pf-nav nav::-webkit-scrollbar {
        display: none;
    }

    .agt-pf-headrow {
        flex-wrap: wrap;
        row-gap: 0.75rem;
    }

    .agt-pf-nav nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
    }

    .agt-pf-nav a {
        white-space: nowrap;
    }

    .agt-pf-edit {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .agt-pf-edit-photo {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .agt-auth-scroll {
        padding: 0.25rem 1.5rem 1.5rem;
    }

    .agt-auth-flow > .agt-auth-scroll:first-child {
        padding-top: 1.5rem;
    }

    .agt-auth-shell {
        padding: 1.5rem 0 3rem;
    }

    .agt-auth-card {
        box-shadow: none;
        border-radius: 0;
    }

    .agt-modal--auth,
    .agt-modal--pf {
        width: 100%;
    }

    .agt-pf-h1 {
        font-size: 1.6rem;
    }

    .agt-pf-top {
        flex-direction: column;
    }

    .agt-pf-cta {
        max-width: none;
    }

    .agt-pf-fields,
    .agt-pf-facts {
        grid-template-columns: 1fr;
    }

    .agt-pf-avatar-xl {
        width: 160px;
        height: 160px;
        font-size: 4.5rem;
    }

    .agt-pf-footer {
        bottom: calc(var(--agt-tabbar-h) + env(safe-area-inset-bottom, 0px));
    }

    body.agt-pf-editing .agt-app-main {
        padding-bottom: 10rem;
    }

    .agt-pf-row {
        flex-wrap: wrap;
    }
}

@media (max-width: 767.98px) {
    .agt-header-actions .agt-nav-round,
    .agt-header-actions .agt-nav-avatar,
    .agt-header-actions .dropdown {
        display: none;
    }
}

/* ===== Configurações da conta (padrão Airbnb: navegação à esquerda, linhas "Editar" à direita) ===== */
.agt-set {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 0;
    padding-top: 2.5rem;
    padding-bottom: 5rem;
    min-height: calc(100vh - var(--agt-header-h) - 120px);
}

.agt-set-nav {
    border-inline-end: 1px solid var(--agt-gray-200);
    padding-inline-end: 2rem;
}

.agt-set-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 1.75rem;
}

.agt-set-nav nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.agt-set-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    color: var(--agt-ink);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}

.agt-set-nav a i {
    font-size: 1.35rem;
    width: 1.5rem;
    text-align: center;
}

.agt-set-nav a:hover {
    background: var(--agt-gray-100);
    color: var(--agt-ink);
}

.agt-set-nav a.is-active {
    background: var(--agt-gray-150);
    font-weight: 600;
}

.agt-set-main {
    padding-inline-start: 5rem;
    max-width: 820px;
}

.agt-set-h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
}

.agt-set-h2 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 2.5rem 0 0.5rem;
}

.agt-set-h1 + .agt-set-h2 {
    margin-top: 0;
}

.agt-set-row {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--agt-gray-200);
    transition: opacity 0.2s;
}

.agt-set-main.is-busy .agt-set-row:not(.is-editing) {
    opacity: 0.3;
    pointer-events: none;
}

.agt-set-row-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.agt-set-row-text {
    flex: 1;
    min-width: 0;
}

.agt-set-label {
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 0.25rem;
    color: var(--agt-ink);
}

.agt-set-value {
    color: var(--agt-gray-500);
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

.agt-set-help {
    color: var(--agt-gray-500);
    font-size: 0.875rem;
    margin: 0.35rem 0 0;
    max-width: 56ch;
}

.agt-set-help a {
    color: var(--agt-ink);
    font-weight: 600;
    text-decoration: underline;
}

[data-agt-set-row] .agt-set-help {
    display: none;
}

[data-agt-set-row].is-editing .agt-set-help {
    display: block;
}

[data-agt-set-row].is-editing .agt-set-value {
    display: none;
}

.agt-set-action {
    flex-shrink: 0;
    background: none;
    border: 0;
    padding: 0;
    color: var(--agt-ink);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}

.agt-set-action:hover {
    color: #000;
}

.agt-set-action:focus-visible {
    outline: 2px solid var(--agt-ink);
    outline-offset: 3px;
    border-radius: 4px;
}

.agt-set-form {
    display: none;
    margin-top: 1.25rem;
}

[data-agt-set-row].is-editing .agt-set-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.agt-set-form > * {
    width: 100%;
}

.agt-set-form > .agt-set-save {
    width: auto;
    margin-top: 0.25rem;
}

.agt-set-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.agt-set-field label,
.agt-set-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--agt-gray-500);
    margin-bottom: 0.35rem;
}

.agt-set-field .agt-auth-input {
    min-height: 52px;
}

.agt-auth-input.is-invalid {
    border-color: #c13515;
    box-shadow: 0 0 0 1px #c13515;
    background: #fff8f6;
}

.agt-set-error {
    color: #c13515;
    font-size: 0.8125rem;
    margin: 0.4rem 0 0;
}

.agt-set-error a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.agt-set-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #008a05;
}

.agt-set-device-ico {
    font-size: 1.75rem;
    line-height: 1;
    color: var(--agt-ink);
}

.agt-set-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-inline-end: 0.4rem;
    border-radius: 50%;
    background: #008a05;
    vertical-align: middle;
}

.agt-set-switch {
    display: inline-flex !important;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    font-size: 0.9375rem;
    width: auto !important;
}

.agt-set-switch input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.agt-set-switch-track {
    position: relative;
    width: 48px;
    height: 32px;
    border-radius: var(--agt-radius-pill);
    background: #b0b0b0;
    flex-shrink: 0;
    transition: background 0.2s var(--agt-ease);
}

.agt-set-switch-track::after {
    content: "";
    position: absolute;
    top: 2px;
    inset-inline-start: 2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s var(--agt-ease);
}

.agt-set-switch input:checked + .agt-set-switch-track {
    background: var(--agt-ink);
}

.agt-set-switch input:checked + .agt-set-switch-track::after {
    transform: translateX(16px);
}

[dir="rtl"] .agt-set-switch input:checked + .agt-set-switch-track::after {
    transform: translateX(-16px);
}

.agt-set-switch input:focus-visible + .agt-set-switch-track {
    outline: 2px solid var(--agt-ink);
    outline-offset: 2px;
}

@media (max-width: 991.98px) {
    .agt-set {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 1.5rem;
    }

    .agt-set-nav {
        min-width: 0;
        border-inline-end: 0;
        padding-inline-end: 0;
        margin-bottom: 1.5rem;
    }

    .agt-set-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .agt-set-nav nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 0.5rem;
        scrollbar-width: none;
        margin-inline: -0.75rem;
        padding-inline: 0.75rem;
    }

    .agt-set-nav nav::-webkit-scrollbar {
        display: none;
    }

    .agt-set-nav a {
        white-space: nowrap;
        padding: 0.55rem 1rem;
        border: 1px solid var(--agt-gray-300);
        border-radius: var(--agt-radius-pill);
        font-size: 0.875rem;
    }

    .agt-set-nav a i {
        font-size: 1rem;
        width: auto;
    }

    .agt-set-nav a.is-active {
        background: var(--agt-ink);
        border-color: var(--agt-ink);
        color: #fff;
    }

    .agt-set-main {
        padding-inline-start: 0;
    }

    .agt-set-h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .agt-set-grid {
        grid-template-columns: 1fr;
    }
}

.agt-toast i {
    margin-inline-end: 0.4rem;
    color: #3ecf6e;
}

/* ===== Listas de favoritos (modal "Salvar na lista de favoritos") ===== */
.agt-wl { width: min(568px, calc(100vw - 2rem)); max-height: min(720px, calc(100vh - 4rem)); padding: 0; border: 0; border-radius: 12px; box-shadow: var(--agt-shadow-lg); color: var(--agt-ink); overflow: hidden; }
.agt-wl[open] { display: flex; animation: agt-wl-in .28s var(--agt-ease); }
.agt-wl::backdrop { background: rgba(0, 0, 0, .5); }
@keyframes agt-wl-in { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.agt-wl-view { display: flex; flex-direction: column; width: 100%; min-height: 0; }
.agt-wl-view[hidden] { display: none; }
.agt-wl-head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: .5rem; padding: .9rem 1.25rem; border-bottom: 1px solid var(--agt-gray-200); }
.agt-wl-head h2 { margin: 0; text-align: center; font-size: 1rem; font-weight: 700; }
.agt-wl-icon { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: var(--agt-ink); font-size: .95rem; }
button.agt-wl-icon:hover { background: var(--agt-gray-100); }
.agt-wl-body { padding: 1.5rem; overflow-y: auto; min-height: 0; flex: 1 1 auto; }
.agt-wl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1rem; }
.agt-wl-tile { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; padding: 0; border: 0; background: transparent; text-align: start; color: inherit; min-width: 0; }
.agt-wl-cover { display: block; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--agt-gray-150); box-shadow: 0 2px 8px rgba(0, 0, 0, .12); margin-bottom: .55rem; transition: transform .2s var(--agt-ease); }
.agt-wl-tile:hover .agt-wl-cover { transform: scale(1.02); }
.agt-wl-cover img { width: 100%; height: 100%; object-fit: cover; }
.agt-wl-tile strong { font-size: 1rem; font-weight: 600; line-height: 1.25; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agt-wl-tile small { font-size: .875rem; color: var(--agt-gray-500); }
.agt-wl-foot { padding: 1rem 1.5rem; border-top: 1px solid var(--agt-gray-200); }
.agt-wl-foot.is-split { display: flex; align-items: center; justify-content: space-between; }
.agt-wl-dark { border: 0; border-radius: 8px; padding: .85rem 1.5rem; background: var(--agt-ink); color: #fff; font-weight: 600; font-size: 1rem; }
.agt-wl-dark.is-block { width: 100%; }
.agt-wl-dark:disabled { background: var(--agt-gray-300); color: #fff; cursor: not-allowed; }
.agt-wl-link { border: 0; background: transparent; padding: .5rem .25rem; font-weight: 600; text-decoration: underline; color: var(--agt-ink); }
.agt-wl-field { display: block; position: relative; border: 1px solid #b0b0b0; border-radius: 8px; padding: .55rem .9rem .5rem; }
.agt-wl-field:focus-within { border-color: var(--agt-ink); box-shadow: 0 0 0 1px var(--agt-ink); }
.agt-wl-field span { display: block; font-size: .75rem; color: var(--agt-gray-500); }
.agt-wl-field input { width: 100%; border: 0; outline: 0; padding: .1rem 0 0; font-size: 1rem; background: transparent; }
.agt-wl-count { display: block; margin-top: .5rem; font-size: .75rem; font-weight: 600; color: var(--agt-gray-500); }
@media (max-width: 575.98px) {
    .agt-wl { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
}
.agt-wl-cover.is-empty { display: flex; align-items: center; justify-content: center; color: var(--agt-gray-500); font-size: 2rem; }

/* ---------- Mapa dos resultados (Mostrar mapa) ---------- */
.agt-smap-toggle {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    z-index: 1040;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    border: 0;
    border-radius: 999px;
    background: #222;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    transform: translateX(-50%);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.agt-smap-toggle:hover { transform: translateX(-50%) scale(1.04); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); }
.agt-smap-toggle:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.agt-smap {
    position: fixed;
    top: var(--agt-smap-top, 80px);
    inset-inline-end: 0;
    bottom: 0;
    width: 42%;
    z-index: 20;
    background: #e8eef1;
}
.agt-smap-on .agt-trust,
.agt-smap-on .agt-cta-wrap,
.agt-smap-on .agt-footer { display: none; }
@media (min-width: 992px) {
    .agt-smap-on [data-agt-section] { padding-inline-end: 42%; }
    .agt-smap-on [data-agt-section] .agt-cards { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
    .agt-smap-on [data-agt-section] .container { max-width: none; }
    .agt-smap-on [data-agt-section] .container { padding-inline-start: 1.5rem; padding-inline-end: 1.5rem; }
    .agt-smap-on .agt-smap-toggle { inset-inline-start: 29%; }
}
@media (max-width: 991.98px) {
    .agt-smap { inset-inline-start: 0; width: auto; z-index: 1035; }
    .agt-smap-on { overflow: hidden; }
}
@media (max-width: 767.98px) {
    .agt-smap { bottom: calc(var(--agt-tabbar-h) + env(safe-area-inset-bottom, 0px)); }
    .agt-smap-toggle { bottom: calc(var(--agt-tabbar-h) + env(safe-area-inset-bottom, 0px) + 1rem); }
}
.agt-smap-pin { background: none; border: 0; }
.agt-smap-pin span {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: #fff;
    color: #222;
    font-size: 0.8125rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.18);
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.agt-smap-pin:hover span,
.agt-smap-pin.is-hover span { transform: translate(-50%, -50%) scale(1.08); }
.agt-smap-pin.is-hover span,
.agt-smap-pin.is-active span { background: #222; color: #fff; }
.agt-smap-place { background: none; border: 0; }
.agt-smap-place span {
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--agt-pink);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 2px 8px rgba(0, 0, 0, 0.25);
    transform: translate(-50%, -50%);
}
.agt-smap-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22); }
.agt-smap-popup .leaflet-popup-content { margin: 0; width: 280px !important; }
.agt-smap-popup .leaflet-popup-tip-container { display: none; }
.agt-smap-card { display: block; color: #222; text-decoration: none; }
.agt-smap-card:hover { color: #222; }
.agt-smap-card img { display: block; width: 100%; aspect-ratio: 20 / 13; object-fit: cover; }
.agt-smap-card-body { display: grid; gap: 2px; padding: 0.75rem 0.875rem 0.875rem; font-size: 0.875rem; }
.agt-smap-card-body strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agt-smap-card-body em { font-style: normal; font-size: 0.8125rem; }
.agt-smap-card-body em i { font-size: 0.7rem; }
.agt-smap-card-body small { color: #6a6a6a; font-size: 0.8125rem; }
.agt-smap-card-body span { margin-top: 2px; }
.agt-smap.leaflet-container { font-family: inherit; }
.agt-smap.leaflet-container a.agt-smap-card,
.agt-smap.leaflet-container a.agt-smap-card:hover { color: #222; }

/* ---------- Busca: campo "Onde" digitável, sugestões, paginação ---------- */
.agt-where-input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.875rem;
    color: var(--agt-ink);
    outline: none;
    text-overflow: ellipsis;
}
.agt-where-input::placeholder { color: var(--agt-gray-500); }
.agt-where-input::-webkit-search-cancel-button { cursor: pointer; }
.agt-search-field--input { cursor: text; }
.agt-place-list { list-style: none; margin: 0 0 0.5rem; padding: 0; }
.agt-place-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.55rem 0.6rem;
    border: 0;
    border-radius: 14px;
    background: transparent;
    text-align: start;
    cursor: pointer;
}
.agt-place-item:hover,
.agt-place-item.is-active { background: var(--agt-gray-100); }
.agt-place-item strong { display: block; font-size: 0.9rem; font-weight: 600; }
.agt-place-item small { display: block; font-size: 0.75rem; color: var(--agt-gray-500); }
.agt-place-empty { margin: 0.25rem 0.6rem 0.75rem; font-size: 0.875rem; color: var(--agt-gray-500); }
.agt-filter-more { position: relative; }
.agt-filter-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--agt-ink);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}
.agt-more-wrap { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin: 2rem 0 0.5rem; }
.agt-more-wrap[hidden] { display: none; }
.agt-more-hint { margin: 0; font-size: 0.875rem; color: var(--agt-gray-500); }
.agt-more-btn {
    padding: 0.8rem 1.6rem;
    border: 1px solid var(--agt-ink);
    border-radius: 10px;
    background: #fff;
    color: var(--agt-ink);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}
.agt-more-btn:hover { background: var(--agt-gray-100); }
.agt-more-btn:disabled { opacity: 0.5; cursor: progress; }
[data-agt-section].is-loading .agt-cards { opacity: 0.45; pointer-events: none; transition: opacity 0.15s; }
.agt-smap-area {
    position: fixed;
    z-index: 1036;
    top: calc(var(--agt-smap-top, 80px) + 16px);
    inset-inline-end: 21%;
    transform: translateX(50%);
    display: none;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.1rem;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: var(--agt-ink);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    cursor: pointer;
}
.agt-smap-on .agt-smap-area:not([hidden]) { display: inline-flex; }
@media (max-width: 991.98px) {
    .agt-smap-area { right: 50%; }
}
@media (max-width: 767.98px) {
    .agt-sheet .agt-where-input { font-size: 1rem; }
}

/* ---------- Checkout: cross-sell dos extras do anúncio ---------- */
.agt-co-upsell-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.agt-co-upsell-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--agt-gray-200, #e5e5e5); border-radius: 14px; }
.agt-co-upsell-form { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.agt-co-upsell-form .form-select, .agt-co-upsell-form .form-control { width: auto; min-width: 0; border-radius: 10px; }
.agt-co-upsell-form .form-control { max-width: 5rem; }
@media (max-width: 575.98px) { .agt-co-upsell-form { width: 100%; } .agt-co-upsell-form .form-select { flex: 1; } }
.agt-co-extra-remove { background: none; border: 0; padding: 0; color: var(--agt-gray-600, #6a6a6a); font-size: .8125rem; text-decoration: underline; cursor: pointer; }
.agt-co-extra-remove:hover { color: var(--agt-ink); }
.agt-co-upsell-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; flex: none; }
.agt-co-upsell-list span { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.agt-co-upsell-list strong { font-size: .95rem; line-height: 1.3; }
.agt-co-upsell-list small { color: var(--agt-gray-600, #6a6a6a); }
.agt-co-upsell-add {
    flex: none; padding: .5rem 1rem; border: 1px solid var(--agt-ink); border-radius: var(--agt-radius-pill); background: #fff;
    font-weight: 600; font-size: .875rem; color: var(--agt-ink); text-decoration: none; transition: background .15s;
}
.agt-co-upsell-add:hover { background: var(--agt-gray-100); color: var(--agt-ink); text-decoration: none; }
