/* ========================= */
/* CONTENEDOR */
/* ========================= */

.categoria-container{

max-width:1400px;
margin:auto;

padding:40px 20px;

}

/* ========================= */
/* HEADER CATEGORIA */
/* ========================= */

.categoria-header{

display:flex;

align-items:flex-start;
justify-content:space-between;

gap:20px;

margin-bottom:35px;

flex-wrap:wrap;

}

.breadcrumb-custom{

display:flex;

align-items:center;

gap:8px;

margin-bottom:12px;

font-size:14px;

font-weight:400;

color:#777;

line-height:1;

}

.breadcrumb-custom a,
.breadcrumb-custom a:visited,
.breadcrumb-custom a:focus,
.breadcrumb-custom a:active{

color:#111;

text-decoration:none;

font-weight:400;

outline:none;

box-shadow:none;

}

.breadcrumb-custom a:hover{

color:#555 !important;

text-decoration:none !important;

}

.breadcrumb-custom .sep{

color:#bbb;

font-size:12px;

}

.categoria-titulo{

font-size:48px;

font-weight:300;

line-height:1.1;

margin-bottom:18px;

color:#111;

}

.categoria-total{

font-size:15px;

color:#666;

font-weight:400;

}

.categoria-total strong{

font-weight:700;

color:#111;

}

/* ========================= */
/* ORDENAR */
/* ========================= */

.orden-select-top{

display:flex;
align-items:center;
gap:12px;

}

.orden-select-top label{

font-size:14px;
font-weight:600;

color:#444;

}

.orden-select-top select{

height:42px;

padding:0 15px;

border:1px solid #ddd;

border-radius:12px;

background:#fff;

outline:none;

}

/* ========================= */
/* LAYOUT */
/* ========================= */

.categoria-layout{

display:grid;

grid-template-columns:280px 1fr;

gap:25px;

align-items:flex-start;

}

/* ========================= */
/* SIDEBAR */
/* ========================= */

.sidebar-filtros{

position:sticky;
top:20px;

}

.sidebar-inner{

background:#fff;

border:1px solid #eee;

border-radius:20px;

padding:22px;

}

/* ========================= */
/* FILTROS */
/* ========================= */

.filtro-box{

padding-bottom:22px;

margin-bottom:22px;

border-bottom:1px solid #f0f0f0;

}

.filtro-box:last-child{

border:none;
margin-bottom:0;
padding-bottom:0;

}

.filtro-header{

display:flex;

align-items:center;
justify-content:space-between;

}

.filtro-titulo{

font-size:15px;
font-weight:700;

margin-bottom:16px;

color:#111;

}

/* ========================= */
/* SWITCH */
/* ========================= */

.switch{

position:relative;

display:inline-block;

width:48px;
height:26px;

}

.switch input{

opacity:0;
width:0;
height:0;

}

.slider{

position:absolute;

cursor:pointer;

top:0;
left:0;
right:0;
bottom:0;

background:#ccc;

transition:.3s;

border-radius:50px;

}

.slider:before{

position:absolute;

content:"";

height:20px;
width:20px;

left:3px;
bottom:3px;

background:white;

transition:.3s;

border-radius:50%;

}

.switch input:checked + .slider{

background:#b720eb;

}

.switch input:checked + .slider:before{

transform:translateX(22px);

}

/* ========================= */
/* PRECIO */
/* ========================= */

.precio-valores{

display:flex;

justify-content:space-between;

font-size:14px;

margin-bottom:12px;

color:#666;

}

.slider-precio{

width:100%;

accent-color:#b720eb;

}

/* ========================= */
/* CATEGORIAS */
/* ========================= */

.lista-categorias{

display:flex;
flex-direction:column;

gap:12px;

}

.lista-categorias a{

text-decoration:none;

color:#444;

font-size:14px;

transition:.2s;

}

.lista-categorias a:hover{

color:#b720eb;

padding-left:5px;

}

/* ========================= */
/* PRODUCTOS */
/* ========================= */

.categoria-productos-grid{

display:grid;

grid-template-columns:
repeat(auto-fill,minmax(250px,1fr));

gap:22px;

}

/* ========================= */
/* CARD */
/* ========================= */

.categoria-producto-card{

position:relative;

background:#fff;

border:1px solid #eee;

border-radius:24px;

overflow:hidden;

transition:.25s;

text-decoration:none;

color:#111;

display:flex;
flex-direction:column;

}

.producto-card:hover{

transform:translateY(-6px);

box-shadow:
0 12px 30px rgba(0,0,0,.08);

}

/* ========================= */
/* BADGES */
/* ========================= */

.badge-oferta{

position:absolute;

top:15px;
left:15px;

background:#ff2e2e;

color:#fff;

font-size:11px;
font-weight:700;

padding:6px 10px;

border-radius:50px;

z-index:5;

}

.badge-preventa{

position:absolute;

top:15px;
right:15px;

background:#111;

color:#fff;

font-size:11px;
font-weight:700;

padding:6px 10px;

border-radius:50px;

z-index:5;

}

.badge-cuotas{

position:absolute;

bottom:15px;
left:15px;

background:#b720eb;

color:#fff;

font-size:10px;
font-weight:700;

text-align:center;

padding:8px 10px;

border-radius:12px;

line-height:1.3;

z-index:5;

}

/* ========================= */
/* IMAGEN */
/* ========================= */

.producto-img-box{

height:260px;

display:flex;

align-items:center;
justify-content:center;

padding:25px;

background:#fff;

}

.producto-img{

max-width:100%;
max-height:100%;

object-fit:contain;

transition:.3s;

}

.producto-card:hover .producto-img{

transform:scale(1.05);

}

/* ========================= */
/* INFO */
/* ========================= */

.producto-info{

padding:20px;

display:flex;
flex-direction:column;

gap:10px;

}

.producto-nombre{

font-size:15px;
font-weight:600;

line-height:1.5;

min-height:48px;

color:#111;

}

/* ========================= */
/* TEMPORIZADOR */
/* ========================= */

.temporizador-box{

background:#faf7ff;

border-radius:12px;

padding:12px;

margin-top:5px;

}

.barra-tiempo{

width:100%;
height:6px;

background:#eee;

border-radius:50px;

overflow:hidden;

margin-bottom:10px;

}

.barra-progreso{

height:100%;

background:#b720eb;

width:100%;

transition:1s linear;

}

.temporizador{

font-size:13px;
font-weight:600;

color:#b720eb;

}

/* ========================= */
/* RATING */
/* ========================= */

.producto-rating{

font-size:13px;

color:#ffb400;

display:flex;
align-items:center;
gap:6px;

}

.producto-rating span{

color:#666;

}

/* ========================= */
/* ENVIO */
/* ========================= */

.producto-envio{

font-size:13px;

color:#00a650;

font-weight:600;

}

/* ========================= */
/* PRECIOS */
/* ========================= */

.precio-anterior{

font-size:14px;

color:#999;

text-decoration:line-through;

}

.descuento-texto{

font-size:13px;

font-weight:700;

color:#00a650;

}

.precio{

font-size:28px;
font-weight:800;

color:#111;

line-height:1;

}

.precio-extra{

font-size:12px;

color:#777;

line-height:1.5;

}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media(max-width:1100px){

.categoria-layout{

grid-template-columns:1fr;

}

.sidebar-filtros{

position:relative;
top:auto;

}

}

@media(max-width:768px){

.categoria-header{

flex-direction:column;

align-items:flex-start;

}

.productos-grid{

grid-template-columns:
repeat(2,1fr);

gap:16px;

}

.producto-img-box{

height:180px;

padding:15px;

}

.producto-info{

padding:15px;

}

.precio{

font-size:22px;

}

}

@media(max-width:520px){

.productos-grid{

grid-template-columns:1fr;

}

.categoria-titulo{

font-size:36px;

}

}