*{
box-sizing:border-box;
}

.productos-hero{
padding:80px 0 70px;
background:linear-gradient(135deg,#0f0f12,#1b1b22);
color:#fff;
text-align:center;
}

.productos-badge{
display:inline-flex;
padding:8px 16px;
border-radius:999px;
background:rgba(255,255,255,.12);
font-size:14px;
font-weight:600;
margin-bottom:18px;
}

.productos-hero h1{
font-size:44px;
font-weight:800;
margin-bottom:14px;
}

.productos-hero p{
max-width:680px;
margin:0 auto 28px;
color:#d6d6dc;
font-size:17px;
}

.productos-buscador{
max-width:720px;
margin:auto;
display:flex;
background:#fff;
border-radius:18px;
overflow:hidden;
box-shadow:0 18px 45px rgba(0,0,0,.25);
}

.productos-buscador input{
flex:1;
border:0;
outline:0;
padding:18px 22px;
font-size:15px;
}

.productos-buscador button{
width:64px;
border:0;
background:#111;
color:#fff;
font-size:18px;
}

.productos-section,
.productos-listado-section{
padding:45px 0 10px;
}

.productos-listado-section{
padding-bottom:70px;
}

.productos-section-header{
display:flex;
align-items:end;
justify-content:space-between;
gap:20px;
margin-bottom:24px;
}

.productos-section-header span{
display:block;
font-size:13px;
font-weight:700;
text-transform:uppercase;
letter-spacing:.6px;
color:#777;
margin-bottom:6px;
}

.productos-section-header h2{
font-size:28px;
font-weight:800;
margin:0;
color:#111;
}

.limpiar-filtros{
text-decoration:none;
font-weight:700;
color:#111;
background:#f3f3f5;
padding:10px 16px;
border-radius:999px;
transition:.2s;
}

.limpiar-filtros:hover{
background:#111;
color:#fff;
}

.categorias-grid,
.subcategorias-grid{
display:flex;
flex-wrap:wrap;
gap:12px;
}

.categoria-chip,
.subcategoria-chip{
display:inline-flex;
align-items:center;
gap:9px;
text-decoration:none;
padding:13px 18px;
border-radius:999px;
background:#fff;
border:1px solid #e7e7ec;
color:#222;
font-weight:700;
box-shadow:0 8px 20px rgba(0,0,0,.04);
transition:.2s;
}

.categoria-chip:hover,
.subcategoria-chip:hover,
.categoria-chip.active,
.subcategoria-chip.active{
background:#111;
border-color:#111;
color:#fff;
transform:translateY(-2px);
}

.subcategoria-chip{
padding:11px 16px;
font-size:14px;
}

.sin-subcategorias{
padding:14px 18px;
border-radius:14px;
background:#f7f7f9;
color:#777;
font-weight:600;
}

.producto-card{
height:100%;
background:#fff;
border:1px solid #ececf1;
border-radius:24px;
overflow:hidden;
box-shadow:0 14px 34px rgba(0,0,0,.06);
transition:.25s;
}

.producto-card:hover{
transform:translateY(-6px);
box-shadow:0 20px 45px rgba(0,0,0,.11);
}

.producto-img{
height:230px;
display:flex;
align-items:center;
justify-content:center;
background:#f7f7f9;
text-decoration:none;
overflow:hidden;
}

.producto-img img{
width:100%;
height:100%;
object-fit:contain;
padding:20px;
transition:.25s;
}

.producto-card:hover .producto-img img{
transform:scale(1.04);
}

.producto-img-placeholder{
width:100%;
height:100%;
display:flex;
align-items:center;
justify-content:center;
font-size:42px;
color:#bbb;
}

.producto-info{
padding:20px;
}

.producto-tags{
display:flex;
flex-wrap:wrap;
gap:7px;
margin-bottom:12px;
}

.producto-tags span{
font-size:11px;
font-weight:800;
text-transform:uppercase;
background:#f2f2f5;
color:#555;
padding:6px 9px;
border-radius:999px;
}

.producto-info h3{
font-size:18px;
font-weight:800;
margin-bottom:10px;
line-height:1.3;
}

.producto-info h3 a{
color:#111;
text-decoration:none;
}

.producto-info p{
font-size:14px;
color:#777;
line-height:1.6;
margin-bottom:18px;
}

.producto-footer{
display:flex;
align-items:center;
justify-content:space-between;
gap:12px;
margin-top:auto;
}

.producto-precio{
font-size:20px;
font-weight:900;
color:#111;
white-space:nowrap;
}

.btn-producto{
text-decoration:none;
background:#111;
color:#fff;
padding:10px 14px;
border-radius:999px;
font-size:13px;
font-weight:800;
transition:.2s;
}

.btn-producto:hover{
background:#333;
color:#fff;
}

.sin-productos{
text-align:center;
padding:60px 20px;
background:#fff;
border:1px solid #ececf1;
border-radius:24px;
box-shadow:0 14px 34px rgba(0,0,0,.06);
}

.sin-productos i{
font-size:46px;
color:#999;
margin-bottom:18px;
}

.sin-productos h3{
font-weight:800;
margin-bottom:8px;
}

.sin-productos p{
color:#777;
margin-bottom:22px;
}

@media(max-width:768px){

.productos-hero{
padding:60px 0 50px;
}

.productos-hero h1{
font-size:34px;
}

.productos-buscador{
border-radius:14px;
}

.productos-buscador input{
padding:15px;
font-size:14px;
}

.productos-section-header{
align-items:flex-start;
flex-direction:column;
}

.productos-section-header h2{
font-size:24px;
}

.producto-img{
height:210px;
}

}

@media(max-width:480px){

.productos-hero h1{
font-size:30px;
}

.categoria-chip,
.subcategoria-chip{
width:100%;
justify-content:center;
}

.producto-footer{
flex-direction:column;
align-items:flex-start;
}

.btn-producto{
width:100%;
text-align:center;
}

}