/* Voucher location modal – scoped for Hot Offers pages */
@font-face {
    font-family: "Athenor";
    src: url("../../assets/fonts/AthenorMediantsDemoRegular-7OLA4.ttf") format("truetype");
}

.hot-offers-page {
    --tropical-emerald: #064e3b;
    --tropical-teal: #0d9488;
    --tropical-turquoise: #14b8a6;
    --vista-gray: #f8fafc;
    --vista-sand: #fdfcf8;
    --text-dark: #1e293b;
    --text-muted: #64748b;
}

.hot-offers-page .ho-destination-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow-y: auto;
    overflow-x: hidden;
}

.hot-offers-page .ho-destination-modal[hidden] {
    display: none !important;
}

.hot-offers-page .ho-destination-modal .intro-columns {
    position: fixed;
    inset: 0;
    z-index: 1;
    display: flex;
    overflow: hidden;
}

.hot-offers-page .ho-destination-modal .intro-col {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
}

.hot-offers-page .ho-destination-modal .intro-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.08);
}

.hot-offers-page .ho-destination-modal .intro-col-name {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: "Athenor", serif;
    font-size: 2.2rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 10;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
}

.hot-offers-page .ho-destination-modal .intro-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.72) 100%);
    opacity: 0;
    pointer-events: none;
}

.hot-offers-page .ho-destination-modal .search-panel.vista-style {
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    background: #fff;
    padding: 3rem 4rem;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    width: 95%;
    max-width: 800px;
    text-align: center;
}

.hot-offers-page .ho-destination-modal .search-panel.vista-style h2 {
    font-family: "Athenor", serif;
    font-size: 2.2rem;
    color: var(--tropical-emerald);
    line-height: 1.2;
    margin: 0 0 0.35rem;
}

.hot-offers-page .ho-destination-modal .search-panel.vista-style h4 {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.hot-offers-page .ho-destination-modal .portal-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0 0;
    text-align: left;
}

.hot-offers-page .ho-destination-modal .portal-category + .portal-category {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.hot-offers-page .ho-destination-modal .portal-category h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--tropical-emerald);
    margin-bottom: 1.25rem;
    font-weight: 800;
    opacity: 0.7;
}

.hot-offers-page .ho-destination-modal .portal-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.8rem;
}

.hot-offers-page .ho-destination-modal .vista-option.mini {
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 12px;
    background: var(--vista-gray);
    border: 1px solid rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hot-offers-page .ho-destination-modal .vista-option.mini i {
    font-size: 1rem;
    color: var(--tropical-teal);
    width: 20px;
    text-align: center;
}

.hot-offers-page .ho-destination-modal .vista-option.mini span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.hot-offers-page .ho-destination-modal .vista-option.mini:hover {
    background: var(--vista-sand);
    border-color: var(--tropical-turquoise);
    transform: translateX(5px);
}

.hot-offers-page .ho-destination-modal .vista-option.mini.selected {
    background: #fff;
    border-color: var(--tropical-emerald);
    box-shadow: 0 5px 20px rgba(6, 78, 59, 0.15);
}

.hot-offers-page .ho-destination-modal .vista-option.mini.is-disabled {
    cursor: not-allowed;
    opacity: 0.45;
    filter: grayscale(0.4);
    pointer-events: none;
}

.hot-offers-page .ho-voucher-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(6, 78, 59, 0.08);
    color: #064e3b;
    font-size: 0.82rem;
    font-weight: 600;
}

.hot-offers-page .ho-voucher-location-badge button {
    border: none;
    background: transparent;
    color: #0d9488;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

@media (max-width: 768px) {
    .hot-offers-page .ho-destination-modal .intro-columns {
        flex-direction: column;
    }

    .hot-offers-page .ho-destination-modal .intro-col {
        clip-path: inset(0 0 100% 0);
        -webkit-clip-path: inset(0 0 100% 0);
    }

    .hot-offers-page .ho-destination-modal .search-panel.vista-style {
        padding: 2rem 1.25rem;
        border-radius: 24px;
    }

    .hot-offers-page .ho-destination-modal .portal-grid {
        gap: 1.5rem;
    }

    .hot-offers-page .ho-destination-modal .portal-category + .portal-category {
        padding-top: 1.5rem;
    }

    .hot-offers-page .ho-destination-modal .portal-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }
}
