:root {
    --orilao-soft-pink: rgba(255, 56, 92, 0.08);
}

body[data-page="home"] .hero-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.94)),
        url("../images/front/banniere.png") center/cover no-repeat;
}

body.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1rem;
    background:
        linear-gradient(rgba(12, 18, 28, 0.56), rgba(12, 18, 28, 0.7)),
        url("../theme-web/images/crops/auth-background.png") center/cover no-repeat;
}

body.auth-page[data-page="signup"] {
    background:
        linear-gradient(rgba(12, 18, 28, 0.58), rgba(12, 18, 28, 0.72)),
        url("../theme-web/images/reference/11-signup.png") center/cover no-repeat;
}

.auth-card--wide {
    width: min(720px, calc(100vw - 2rem));
}

.alert {
    max-width: min(620px, calc(100vw - 2rem));
    margin: 0 auto 1rem;
    border-radius: 16px;
}

.site-header {
    box-shadow: none;
}

.orilao-topnav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 0 0 1rem;
}

.orilao-topnav a {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--muted);
}

.orilao-topnav a.is-active,
.orilao-topnav a:hover {
    color: var(--brand);
}

.search-input-shell input,
.search-input-shell select {
    width: 100%;
    border: 0;
    background: transparent;
    outline: 0;
    color: var(--ink);
    min-width: 0;
}

.search-input-shell select {
    appearance: none;
}

.search-submit-btn {
    border: 0;
    cursor: pointer;
}

.orilao-hero-badges {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.orilao-hero-badges .instant-badge {
    position: static;
}

.favorite-form {
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 2;
}

.favorite-form .heart-btn {
    border: 0;
}

.property-topline h3 a,
.compact-card-copy h3 a,
.service-provider-card h3 a {
    color: inherit;
}

.property-meta--secondary {
    margin-top: 0.35rem;
    color: var(--muted);
}

.orilao-dashboard-tabs {
    margin-bottom: 1.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.orilao-dashboard-tabs .ghost-btn {
    white-space: nowrap;
}

.orilao-dashboard-tabs .ghost-btn.is-active {
    border-color: rgba(255, 56, 92, 0.25);
    box-shadow: var(--shadow-sm);
    color: var(--brand);
}

.dropdown-form {
    margin: 0;
}

.dropdown-form button {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    color: inherit;
    font: inherit;
}

.user-dropdown--compact {
    min-width: 160px;
}

.user-dropdown hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0.3rem 0;
}

.host-avatar,
.thread-photo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ff6986 0%, #ff385c 100%);
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    flex: 0 0 auto;
}

.service-provider-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.orilao-real-map {
    padding: 0;
    min-height: 360px;
    overflow: hidden;
}

.orilao-map-canvas,
#property-map,
#search-results-map {
    width: 100%;
    min-height: 360px;
    height: 100%;
}

.leaflet-container {
    font-family: "Manrope", "Segoe UI", sans-serif;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    box-shadow: var(--shadow-sm);
}

.orilao-thumb-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.orilao-thumb-row .property-thumb {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 18px;
    border: 2px solid transparent;
    cursor: pointer;
}

.orilao-thumb-row .property-thumb.is-active {
    border-color: var(--brand);
}

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

.compact-card--favorited {
    align-items: stretch;
}

.compact-card--favorited .compact-card-media {
    width: 180px;
}

.compact-card--favorited .compact-card-media img {
    height: 100%;
    object-fit: cover;
}

.service-provider-card {
    padding: 1.5rem;
}

.orilao-notice-stack {
    display: grid;
    gap: 1rem;
}

.orilao-notice {
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.orilao-notice__title {
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.table > :not(caption) > * > * {
    padding: 0.9rem 0.75rem;
    border-color: var(--line);
}

.table thead th {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mini-input {
    display: block;
    width: 100%;
}

.mini-input span {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.setting-card .muted-copy p:last-child,
.setting-card .muted-copy > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .header-shell {
        min-height: 76px;
    }

    .auth-card,
    .auth-card--wide {
        width: min(100%, 680px);
    }

    .account-layout,
    .property-layout,
    .search-map-layout {
        grid-template-columns: 1fr;
    }

    .compact-card--favorited .compact-card-media {
        width: 140px;
    }
}

@media (max-width: 767.98px) {
    .header-actions {
        gap: 0.5rem;
    }

    .property-grid {
        grid-template-columns: 1fr;
    }

    .destination-grid,
    .experience-grid,
    .testimonial-grid,
    .stats-grid,
    .chart-grid,
    .listing-card-grid {
        grid-template-columns: 1fr;
    }

    .orilao-thumb-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .compact-card--favorited {
        flex-direction: column;
    }

    .compact-card--favorited .compact-card-media {
        width: 100%;
    }
}
