:root{
    --rojo: #ff0000;
    --rojo-hover: #cc0000;
    --oscuro: #1c1c28;

}

/*------Topbar--------------*/
.topbar{
    background: var(--oscuro);
    color: #fff;
    font-size: 0.9rem;
    padding: 6px 0;
}
.topbar a{
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
}


.main-nav .nav-link.activo{
    color: var(--rojo);
    position: relative;
}
.main-nav .nav-link.activo::after{
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -.4rem;
    height: 3px;
    background: var(--rojo);
    border-radius: 3px;
}
.topbar a:hover{
    color: var(--rojo);
}
.topbar .bi {
    color: var(--rojo);
}

/*------------------------*/
.btn-multico{
    background: var(--rojo);
    border-color: var(--rojo);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .3);
}
.btn-multico:hover{
    background: var(--rojo-hover);
    border-color: var(--rojo-hover);
    color: #fff;
}
.btn-outline-multico{
    background: #fff;
    border: 1px solid var(--rojo);
    color: var(--rojo);
    font-weight: 600;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .2);
}
.btn-outline-multico:hover{
    background: var(--rojo);
    border-color: var(--rojo);
    color: #fff;
}
.btn-lg{
    font-size: 1rem;
    padding: .8rem 1.6rem;
}
.btn-lg i{
    margin-left: .5rem;
    vertical-align: middle;
}

/* Barra superior */
.topbar{
    background: var(--oscuro);
    padding: .3rem 0;
    font-weight: 600;
    font-size: .8rem;
}
.topbar a{
    color: #fff;
    text-decoration: none;
}
.topbar a:hover{ color: var(--gris-claro); }
.topbar i{ color: var(--rojo); }

/* Navbar */
.main-nav{
    background: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}
.main-nav .nav-link{
    color: var(--oscuro);
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
}
.main-nav .nav-link:hover{ color: var(--rojo); }

/*--------------------Baner superior----------------------*/
.pl-hero{
    position: relative;
    overflow: hidden;
    padding: clamp(1rem, 3vh, 2rem) 0 clamp(1.5rem, 5vh, 3rem);
    background: linear-gradient(180deg, #a9a9ac 0%, #d9d9db 45%, #f3f3f4 100%);
}
.pl-migas{
    margin: 0 0 .8rem;
    font-size: .75rem;
}
.pl-migas a{color: #000; text-decoration: none;}
.pl-migas a:hover{color: var(--rojo);}
.pl-migas span{color: var(--rojo);}

.pl-hero h1{
    margin: 0 0 .6rem;
    font-weight: 900;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: #000;
    text-shadow: 2px 3px 4px rgba(0, 0, 0, .3);
}
.pl-hero p{
    margin: 0;
    max-width: 42ch;
    font-size: clamp(.9rem, 1.6vw, 1.1rem);
    line-height: 1.25;
}

.pl-hero-img{
    display: none;
    position: absolute;
    top: 0;right: 0; bottom: 0;
    width: 38%;
    background: #2b2b2b;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 0 50%);
}
.pl-hero-img img{
    position: absolute;
    inset: 8px 0 8px 0;
    width: 100%;
    height: calc(100% - 16px);
    object-fit: cover;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 14% 100%, 0 50%);
}
@media(min-width: 992px){
    .pl-hero-img{display: block;}
}


/*--------------------Cuerpo: flitro + productos---------------*/
.pl-main{
    padding: clamp(1.2rem, 4vh, 2.5rem) 0 clamp(2rem, 6vh, 4rem);
    background: #fff;
}
.pl-layout{
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media(min-width: 992px){
    .pl-layout{grid-template-columns: 230px 1fr; gap: 0;}
}

/*Filtro*/
.pl-lateral{
    padding-right: 0;
}
@media (min-width: 992px){
    .pl-lateral{
        padding-right: 1.5rem;
        border-right: 2px solid #ccc;    /* la línea vertical del diseño */
        margin-right: 1.5rem;
    }
    .pl-filtro{
        position: sticky;                /* se queda pegado al hacer scroll por la lista */
        top: calc(var(--cab-h) + 1rem);  /* justo debajo de la cabecera */
    }
}

.pl-filtro{
    padding: 1rem;
    border: 1px solid #ccc;
}
.pl-filtro h2{
    margin: 0 0 .8rem;
    font-size: .95rem;
    font-weight: 700;
}
.pl-filtro h3{
    margin: 0 0 .5rem;
    font-size: .8rem;
    font-weight: 600;
}

.pl-radio{
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .6rem;
    font-size: .8rem;
    cursor: pointer;
}
.pl-radio input{accent-color: var(--rojo);}

@media(max-width: 991.98px){
    #pl-categorias{display: flex; flex-wrap: wrap; gap: .3rem 1.2rem;}
    .pl-radio{margin-bottom: 0;}
}

/*------------------------------Rejilla de tarjetas----------------------------*/
.pl-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.pl-estado{
    margin: 0;
    padding: 2rem 0;
    text-align: center;
    color: #555;
}
.pl-card{
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: .8rem;
    align-items: center;
    padding: 1.2rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
    transition: transform .25s, box-shadow .25s;
}
.pl-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
}
.pl-card-img img{
    display: block;
    width: 100%;
    height: clamp(130px, 18vh, 170px);
    object-fit: contain;
}
.pl-card-body{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}
.pl-pill{
    padding: .1rem .9rem;
    margin-bottom: .8rem;
    border: 1px solid var(--rojo);
    border-radius: 20px;
    color: var(--rojo);
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
}
.pl-card h3{
    margin: 0 0 .5rem;
    font-size: 1.05rem;
    font-weight: 700;
}
.pl-card p{
    margin: 0 0 1rem;
    font-size: .8rem;
    line-height: 1.3;
    color: #333;
}
.pl-card .btn{
    width: 100%;
    margin-top: auto;
    font-size: .75rem;
}
@media(max-width: 400px){
    .pl-card{grid-template-columns: 1fr;}
}








































/*----------------------FOOTER------------------------------------------*/
.pie{
    background: #17171d;
    color: #fff;
    padding: 2.5rem 1rem 1.2rem;
}
.pie-logo{margin-bottom: 1rem;}
.pie-desc{
    max-width: 30ch;
    font-size: .85rem;
    line-height: 1.3;
    margin: 0;
    color: #b4b4db;
}
.pie h3{
    margin:0 0 .8rem;
    font-size: .85rem;
    font-weight: 700;
    color: #e4e4e8;
}
.pie ul{
    list-style: none;
    margin: 0;
    padding: 0;
}
.pie li{margin-bottom: .5rem;}
.pie a{
    color: #b4b4bd;
    font-size: .85rem;
    font-weight: 300;
    text-decoration: none;
}
.pie a:hover{color:var(--rojo);}
.pie li i{margin-right: .3rem;}

/*Franja*/
.pie-legal{
    color: #8e8e99;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem;
    margin-top: 2rem;
    padding-top: 1px solid #aaa;
    font-size: .7rem;
    font-weight: 300;
}
.pie-legal a{font-size: .7rem;color: #8e8e99;}
.pie-enlace a+a{
    margin-left: .6rem;
    padding-left: .6rem;
    border-left: 1px solid #aaa;
}
