/* Colores Corporativos */
:root {
    --hpl-blue: #002147;
    --hpl-red: #ff0000;
    --hpl-gray: #f4f7f6;
}

/* Encabezados */
.header-line {
    width: 60px;
    height: 4px;
    background: var(--hpl-red);
    border-radius: 2px;
}

/* Filtros Nivel 1 */
.filter-btn-modern {
    background: transparent;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-btn-modern.active {
    background: var(--hpl-blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 33, 71, 0.2);
}

/* Subcategorías Pill */
.sub-pill {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 6px 18px;
    margin: 4px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    transition: 0.3s;
}

.sub-pill.active, .sub-pill:hover {
    border-color: var(--hpl-red);
    color: var(--hpl-red);
    background: rgba(255, 0, 0, 0.05);
}

/* Card de Producto HPL */
.hpl-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.hpl-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hpl-img-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.hpl-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hpl-card:hover .hpl-img-wrapper img {
    transform: scale(1.1);
}

/* Overlay Elegante */
.hpl-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,33,71,0.9), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.hpl-card:hover .hpl-overlay {
    opacity: 1;
}

.hpl-btn-view {
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border: 2px solid #fff;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.hpl-btn-view:hover {
    background: var(--hpl-red);
    border-color: var(--hpl-red);
    color: #fff;
}

/* Contenido de la Card */
.hpl-content {
    padding: 25px;
}

.hpl-tag {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--hpl-red);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hpl-subtag {
    font-size: 0.65rem;
    font-weight: 600;
    color: #888;
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 4px;
}

.hpl-title {
    font-size: 1.25rem;
    color: var(--hpl-blue);
    font-weight: 800;
    margin-top: 5px;
}



    /* Modal XL en pantallas grandes */
    @media (min-width: 1200px) {
        .modal-xl { max-width: 1140px; }
    }

    /* Scroll personalizado y minimalista */
    .custom-scroll {
        max-height: 350px;
        overflow-y: auto;
    }
    .custom-scroll::-webkit-scrollbar {
        width: 6px;
    }
    .custom-scroll::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
    .custom-scroll::-webkit-scrollbar-thumb {
        background: #001a35; /* Color Azul de tu marca */
        border-radius: 10px;
    }

    .hover-lift:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
    }
