/* ── HOTEL SEARCH — usa las variables definidas en flight-search.css ── */

#mt-hotel-search-wrapper .mt-search-title { margin-bottom: 16px; }

#mt-hotels-list {
    display: grid;
    gap: 16px;
}

.mt-hotel-card {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    background: #fff;
    border-radius: var(--mt-radius, 8px);
    box-shadow: var(--mt-shadow, 0 2px 10px rgba(0,0,0,0.06));
    overflow: hidden;
    padding-right: 16px;
    transition: box-shadow 0.2s;
}

.mt-hotel-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.mt-hotel-card-media {
    flex: 0 0 180px;
    width: 180px;
    height: 160px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mt-hotel-img-main {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.mt-hotel-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F4F7FB;
    font-size: 40px;
    width: 100%;
    height: 100%;
}

.mt-hotel-thumbs {
    display: flex;
    gap: 2px;
    height: 50px;
    flex-shrink: 0;
}

.mt-hotel-thumb {
    flex: 1;
    width: 0; /* fuerza a que flex reparta el ancho en partes iguales */
    height: 100%;
    object-fit: cover;
    display: block;
}

.mt-hotel-img-clickable { cursor: pointer; }

.mt-hotel-desc {
    font-size: 12px;
    color: #666;
    margin: 2px 0 0;
    line-height: 1.4;
}

.mt-hotel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mt-hotel-tag {
    background: #E9F7EF;
    color: #1B7A43;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.mt-hotel-card-body {
    flex: 1 1 260px;
    min-width: 0;
    padding: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mt-hotel-name {
    margin: 0;
    font-size: 16px;
    color: var(--mt-primary, #1A4E8A);
    line-height: 1.3;
}

.mt-hotel-stars { font-size: 13px; letter-spacing: 1px; }

.mt-hotel-rating { display: flex; align-items: center; gap: 6px; font-size: 13px; }

.mt-hotel-rating-badge {
    background: var(--mt-primary, #1A4E8A);
    color: #fff;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.mt-hotel-reviews { color: #777; }

.mt-hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.mt-hotel-amenities span {
    background: #F4F7FB;
    color: #444;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
}

.mt-hotel-card-price {
    flex: 0 0 200px;
    width: 200px;
    padding: 14px 0 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    border-left: 1px solid #EEF2F7;
}

.mt-btn-hotel-add {
    width: 100%;
    margin-top: 6px;
}

@media (max-width: 720px) {
    .mt-hotel-card {
        flex-direction: column;
        padding-right: 0;
    }
    .mt-hotel-card-media { width: 100%; flex-basis: auto; }
    .mt-hotel-card-body { padding: 14px 16px; }
    .mt-hotel-card-price {
        width: 100%;
        border-left: none;
        border-top: 1px solid #EEF2F7;
        padding: 14px 16px;
    }
}
