/* public/css/shop/catalogo.css */
.container-fluid-catalogo { padding-left: 2rem; padding-right: 2rem; }
.filter-sidebar { background-color: #fff; border-right: 1px solid #eee; height: 100%; padding-right: 20px; }
.filter-title { font-weight: 800; color: var(--cenco-indigo); margin-bottom: 12px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }

.custom-scrollbar { scrollbar-width: thin; scrollbar-color: var(--cenco-green) #f1f1f1; }
.custom-scrollbar::-webkit-scrollbar { width: 6px; }
.custom-scrollbar::-webkit-scrollbar-thumb { background-color: var(--cenco-green); border-radius: 10px; }

.filter-link { color: #666; text-decoration: none; display: block; padding: 4px 0; transition: all 0.2s; font-size: 0.95rem; }
.filter-link:hover, .filter-link.active { color: var(--cenco-green); font-weight: bold; padding-left: 5px; }

/* Slider noUiSlider */
.noUi-connect { background: var(--cenco-indigo); }
.noUi-horizontal { height: 6px; border: none; background: #e0e0e0; border-radius: 5px; }
.noUi-handle { width: 18px; height: 18px; right: -9px; top: -7px; border-radius: 50%; border: 2px solid var(--cenco-indigo); background: var(--cenco-green); box-shadow: none; cursor: pointer; }
.noUi-handle::before, .noUi-handle::after { display: none; }
.noUi-handle:hover { transform: scale(1.2); transition: transform 0.2s; }

/* Cards */
.card-prod { border: 1px solid #f0f0f0; transition: all 0.3s ease; }
.card-prod:hover { border-color: var(--cenco-green); transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08); z-index: 2; }
.card-img-wrapper { height: 280px; padding: 20px; display: flex; align-items: center; justify-content: center; }
.card-img-wrapper img { max-height: 100%; max-width: 100%; object-fit: contain; transition: transform 0.3s; }
.card-prod:hover .card-img-wrapper img { transform: scale(1.05); }

/* Paginación */
.page-link { color: var(--cenco-indigo); border: none; margin: 0 3px; border-radius: 8px; font-weight: bold; }
.page-item.active .page-link { background-color: var(--cenco-green); color: white; }

/* Sidebar Títulos */
.filter-title-custom {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8e8e93;
    margin-bottom: 12px;
}

/* Categorías (Estilo Menú Vertical) */
.cat-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 4px;
    border-radius: 12px;
    color: var(--cenco-indigo);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    background: transparent;
}

.cat-item i {
    margin-right: 10px;
    transition: transform 0.2s ease;
}

.cat-item:hover {
    background: #f0f4f8;
    color: var(--cenco-green);
    padding-left: 20px;
}

.cat-item.active {
    background: var(--cenco-indigo);
    color: white !important;
    box-shadow: 0 4px 12px rgba(42, 27, 94, 0.15);
}

/* Marcas (Estilo Pills / Etiquetas) */
.brand-pill {
    display: inline-block;
    padding: 6px 14px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
}

.brand-pill:hover {
    border-color: var(--cenco-green);
    color: var(--cenco-green);
    background: #f1faf1;
    transform: translateY(-2px);
}

.brand-pill.active {
    background: var(--cenco-green);
    color: white !important;
    border-color: var(--cenco-green);
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.2);
}

/* Normaliza los nombres de las marcas en el sidebar */
.sidebar-marca-link {
    text-transform: capitalize !important;
    display: block;
    padding: 4px 0;
    transition: all 0.2s ease;
    color: #4b5563; /* Gris elegante */
    text-decoration: none;
}

.sidebar-marca-link:hover {
    color: var(--cenco-indigo);
    padding-left: 5px;
}

/* Mejora general de las sombras y bordes */
.rounded-4 { border-radius: 1rem !important; }
.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.04) !important; }
/* Scrollbar fina para que no se vea tosco */
.custom-scrollbar::-webkit-scrollbar { width: 5px; }
.custom-scrollbar::-webkit-scrollbar-track { background: #f8f9fa; }
.custom-scrollbar::-webkit-scrollbar-thumb { background: #d1d1d6; border-radius: 10px; }

.tarjeta-seleccionada {
    background-color: rgba(133, 194, 38, 0.12) !important;
    border: 2px solid #85C226 !important;
    transition: all 0.3s ease;
}