/**
 * OM Hotel Archive · Catálogo de hoteles
 * Hereda variables y estilos generales del om-archive.css
 */

/* Cards de hotel - grid */
.om-hotel-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 0 20px;
    margin-top: 8px;
}

.om-hotel-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #1A1A2E;
    box-shadow: 0 4px 18px rgba(41,16,143,.08);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s, border-color .3s;
    border: 1px solid #ece9f7;
    position: relative;
    isolation: isolate;
}

.om-hotel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 38px rgba(41,16,143,.18);
    border-color: rgba(195,63,188,.3);
    color: #1A1A2E;
}

.om-hotel-card__img {
    aspect-ratio: 16/10;
    background-size: cover;
    background-position: center;
    background-color: #ece9f7;
    position: relative;
}

.om-hotel-card__img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(41,16,143,.35) 100%);
    pointer-events: none;
}

.om-hotel-card__stars {
    position: absolute;
    top: 12px; left: 12px;
    z-index: 2;
    background: linear-gradient(135deg, #EC199C, #C33FBC);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    letter-spacing: .3px;
    box-shadow: 0 4px 12px rgba(236,25,156,.35);
}

.om-hotel-card__flag {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 2;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #29108F;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
}

.om-hotel-card__body {
    padding: 16px 18px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.om-hotel-card__title {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
    color: #29108F;
    letter-spacing: -.2px;
}

.om-hotel-card__location {
    font-size: 12.5px;
    color: #6b7280;
    margin: 0;
    font-weight: 600;
}

.om-hotel-card__desc {
    font-size: 13.5px;
    color: #4a4a5e;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.om-hotel-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 4px;
}

.om-hotel-card__tag {
    font-size: 11px;
    font-weight: 600;
    color: #5C1F9E;
    background: linear-gradient(135deg, rgba(195,63,188,.08), rgba(41,16,143,.06));
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(195,63,188,.18);
}

.om-hotel-card__footer {
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(41,16,143,.03), rgba(195,63,188,.03));
    border-top: 1px solid #f1eef9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.om-hotel-card__promos {
    font-size: 12px;
    font-weight: 700;
    color: #5C1F9E;
}

.om-hotel-card__cta {
    font-size: 12.5px;
    font-weight: 800;
    color: transparent;
    background: linear-gradient(135deg, #29108F, #C33FBC);
    -webkit-background-clip: text;
    background-clip: text;
    white-space: nowrap;
}

/* Empty state */
.om-arch__empty {
    text-align: center;
    padding: 60px 20px 80px;
}
.om-arch__empty h3 {
    font-size: 20px;
    font-weight: 800;
    color: #29108F;
    margin: 0 0 8px;
}
.om-arch__empty p {
    color: #6b7280;
    font-size: 14.5px;
}
.om-arch__empty a {
    color: #29108F;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid rgba(195,63,188,.3);
    transition: border-color .2s;
}
.om-arch__empty a:hover { border-bottom-color: #C33FBC; }

/* Paginación */
.om-arch__pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 40px 20px 0;
    flex-wrap: wrap;
}
.om-arch__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #ece9f7;
    border-radius: 10px;
    color: #5C1F9E;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: all .2s;
}
.om-arch__pagination .page-numbers:hover {
    background: linear-gradient(135deg, #29108F, #C33FBC);
    color: #fff;
    border-color: transparent;
}
.om-arch__pagination .page-numbers.current {
    background: linear-gradient(135deg, #29108F, #C33FBC);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(41,16,143,.25);
}

/* Responsive */
@media (max-width: 768px) {
    .om-hotel-cards {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 14px;
        padding: 0 12px;
    }
    .om-hotel-card__title { font-size: 15px; }
    .om-hotel-card__body { padding: 14px 16px 12px; }
    .om-hotel-card__footer { padding: 10px 16px; }
}
@media (max-width: 480px) {
    .om-hotel-cards {
        grid-template-columns: 1fr;
    }
}
