a {
    font-weight: normal;
}

.package {
    background-color: #FFF;
    border-radius: 10px;
    border: solid 1px #CCC;
    margin-bottom: 20px;
    text-decoration: none !important;
    overflow: hidden;
}

.package > .card-body {
    padding:5px;
}

.package img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #666;
}

.package-title{
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0 0 10px 0;
    text-align: center;
    border-bottom: solid 1px #CCC;
}

.package-title h4 {
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.package-services {
    padding-left: 5px;
    padding-bottom: 3px;
    margin: 0;
    font-size: 13px;
    font-family: Helvetica;
}

.package-price {
    border-top: solid 1px #CCC;
    padding-top: 10px;
    margin-bottom: 10px;
}

.package-price small {
    margin: 0;
    padding: 0;
    font-size: 12px;
}

.package-price h3 {
    margin: 0;
    padding: 0;
    line-height: 0.6;
}


.package-footer {
    text-align: center;
    border-top: solid 1px #CCC;
    padding: 8px;
}

.original-price {
    padding: 0;
    margin: 0;
    font-size: 16px;
    color: red;
    line-height: 2;
}

.blue-banner {
    background-color: #3276d8;
    color: #FFF;
    border-radius: 10px
}

.pink-banner {
    background-color: #B71155;
    color: #FFF;
    border-radius: 10px
}

.hz-banner-pic {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}


.avatar {
    border-radius: 50%;
    height: 45px;
    object-fit: cover;
    object-position: center;
    width: 45px;
    border: solid 1px #CCC;
}

/* ============================================================
   Layout responsive del listado de resultados (results.html)
   Mobile: barra de orden/filtro con botones que abren modales.
   Desktop (>=992px): filtros en sidebar izquierdo + barra de orden arriba.
   ============================================================ */

.results-searchbar {
    background: linear-gradient(135deg, #575770 0%, #16213e 100%);
}

/* ---- Barra orden/filtro (mobile) ---- */
.results-toolbar {
    display: flex;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
    margin-bottom: 12px;
}

.results-toolbar__btn {
    flex: 1 1 0;
    height: 50px;
    border: 0;
    background: #fff;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background .2s ease;
}

.results-toolbar__btn:first-child {
    border-right: 1px solid #e0e0e0;
}

.results-toolbar__btn i {
    color: #0066cc;
    font-size: 18px;
}

.results-toolbar__btn:hover {
    background: #f8f9fa;
}

.results-toolbar__btn--primary {
    background: var(--brand-btn-bg, linear-gradient(135deg, #0066cc 0%, #0052a3 100%));
    color: var(--brand-btn-text, #fff);
}

.results-toolbar__btn--primary i {
    color: #fff;
}

.results-toolbar__btn--primary:hover {
    background: var(--brand-btn-bg, linear-gradient(135deg, #0052a3 0%, #003d7a 100%));
}

/* ---- Títulos de grupos de filtro (modal + sidebar) ---- */
.filter-group-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
    color: #1a1a2e;
    margin: 18px 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eef0f4;
}

.filter-group-title:first-of-type {
    margin-top: 0;
}

/* Pista de multi-selección junto al título del grupo */
.filter-group-hint {
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0;
    text-transform: none;
    color: #9aa3b2;
}

/* ---- Encabezado de resultados (antes sin estilo) ---- */
.results-header {
    text-align: center;
    margin: 24px 0 8px;
}

.results-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin: 0 0 6px;
}

.title-highlight {
    color: #3276d8;
}

.results-subtitle {
    font-size: 14px;
    color: #667;
    margin: 0 auto 10px;
    max-width: 640px;
}

.results-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef3fb;
    color: #3276d8;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
}

/* Tarjetas de igual altura en el grid */
.results-grid .package-card {
    width: 100%;
    height: 100%;
}

/* ---- Desktop (>=992px) ---- */
@media (min-width: 992px) {
    .results-layout {
        max-width: 1200px;
        margin: 16px auto 0;
    }

    /* Sidebar de filtros (izquierda) */
    .filters-card {
        background: #fff;
        border: 1px solid #eef0f4;
        border-radius: 14px;
        box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
        padding: 18px;
        position: sticky;
        top: 20px;
    }

    .filters-card__header {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 800;
        font-size: 16px;
        color: #1a1a2e;
        margin-bottom: 12px;
    }

    .filters-card__header i {
        color: #3276d8;
    }

    /* Barra de orden (arriba de los resultados) */
    .results-sortbar {
        align-items: center;
        gap: 10px;
        background: #fff;
        border: 1px solid #eef0f4;
        border-radius: 12px;
        box-shadow: 0 2px 14px rgba(0, 0, 0, .06);
        padding: 10px 14px;
        margin-bottom: 16px;
    }

    .results-sortbar__label {
        font-weight: 700;
        color: #1a1a2e;
        font-size: 14px;
        white-space: nowrap;
    }

    .results-sortbar__label i {
        color: #3276d8;
        margin-right: 4px;
    }

    .results-sortbar__field {
        min-width: 150px;
    }

    .results-sortbar__count {
        margin-left: auto;
        color: #667;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
    }

    .results-header {
        text-align: left;
    }

    .results-title {
        font-size: 28px;
    }
}

/* ---- Paginación (estilos movidos desde inline) ---- */
.pagination-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px 15px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.pagination-heading {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pagination-heading__current {
    color: #007bff;
    font-size: 16px;
}

.results-pagination .pagination {
    margin: 0;
    flex-wrap: wrap;
    gap: 8px;
}

.results-pagination .page-link {
    border-radius: 10px;
    padding: 10px 16px;
    font-weight: 600;
    color: #495057;
    border: 2px solid #e9ecef;
    background: #fff;
    transition: all 0.3s ease;
    min-width: 45px;
}

.results-pagination .page-link[rel="prev"],
.results-pagination .page-link[rel="next"] {
    color: #007bff;
    border-color: #007bff;
}

.results-pagination .page-item.active .page-link {
    font-weight: 700;
    color: #fff;
    border-color: #007bff;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.results-pagination .page-item.disabled .page-link {
    padding: 10px 12px;
    color: #6c757d;
    border: none;
    background: transparent;
    min-width: 35px;
}

.pagination-note {
    color: #6c757d;
    font-size: 13px;
    margin-top: 20px;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ============================================================
   Filtros: agregados (precio / noches / limpiar) + acento de marca
   ============================================================ */
.filters-card__header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filters-card__clear {
    margin-left: auto;
    background: none;
    border: none;
    color: #3276d8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.filters-card__clear:hover { text-decoration: underline; }

.filters-card .form-check-input:checked {
    background-color: #3276d8;
    border-color: #3276d8;
}

.filters-card .form-check-input:focus,
.results-sortbar .js-sort:focus {
    border-color: #3276d8;
    box-shadow: 0 0 0 3px rgba(50, 118, 216, .15);
}

.filters-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.filters-price__input {
    width: 100%;
    border: 1.5px solid #e3e6ec;
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
    color: #374151;
    background: #fff;
}

.filters-price__input:focus {
    outline: none;
    border-color: #3276d8;
    box-shadow: 0 0 0 3px rgba(50, 118, 216, .15);
}

.filters-price__sep { color: #9aa3b2; }

.filters-nights {
    border-radius: 10px;
}

/* Modales mobile de filtro/orden: check de marca + precio */
#filter_modal .form-check-input:checked,
#order_modal .form-check-input:checked {
    background-color: #3276d8;
    border-color: #3276d8;
}

#filter_modal .filters-price__input:focus,
#order_modal .js-sort:focus,
#filter_modal .filters-nights:focus {
    border-color: #3276d8;
    box-shadow: 0 0 0 3px rgba(50, 118, 216, .15);
}

/* ============================================================
   Filtros modernos: chips/pills seleccionables
   ============================================================ */
.filter-group {
    margin-bottom: 16px;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    margin: 0;
    cursor: pointer;
}

.filter-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.filter-chip span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border: 1.5px solid #e3e6ec;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    background: #fff;
    transition: border-color .15s ease, background .15s ease, color .15s ease;
    white-space: nowrap;
    line-height: 1.1;
}

.filter-chip span i { font-size: 12px; }

.filter-chip:hover span {
    border-color: #3276d8;
    color: #3276d8;
}

.filter-chip input:checked + span {
    background: #3276d8;
    border-color: #3276d8;
    color: #fff;
}

.filter-chip input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(50, 118, 216, .25);
}

.filters-select {
    border-radius: 10px;
    border: 1.5px solid #e3e6ec;
}

.filters-select:focus {
    border-color: #3276d8;
    box-shadow: 0 0 0 3px rgba(50, 118, 216, .15);
}

/* Unificar acento de marca en la toolbar (antes #0066cc) */
.results-toolbar__btn i { color: #3276d8; }

.results-toolbar__btn--primary {
    background: var(--brand-btn-bg, linear-gradient(135deg, #3276d8 0%, #1f4e8f 100%));
}

.results-toolbar__btn--primary i { color: #fff; }

.results-toolbar__btn--primary:hover {
    background: var(--brand-btn-bg, linear-gradient(135deg, #2a64bd 0%, #16213e 100%));
}
