/* ----------------------------- */
/*   PÁGINA DE PRODUTOS PREMIUM  */
/* ----------------------------- */

.sb-products-page{
    display:flex;
    gap:40px;
    padding-top:120px;
    padding-bottom:60px;
}

/* SIDEBAR (FILTRO) */
.sb-filter{
    min-width:240px;
    max-width:260px;
    padding:25px 18px;
    border-radius:14px;
    background:#fff;
    box-shadow:0 4px 20px rgba(0,0,0,.07);
    height:max-content;
}

.sb-filter h3{
    font-size:20px;
    font-weight:700;
    margin-bottom:16px;
    color:#111;
}

#sb-filter-list{
    list-style:none;
    padding:0;
    margin:0;
}

#sb-filter-list li{
    padding:10px 0;
    font-size:15px;
    cursor:pointer;
    transition:.2s;
    border-bottom:1px solid rgba(0,0,0,.08);
}

#sb-filter-list li:hover{
    color:var(--primary);
}

#sb-filter-list li.active{
    color:#fff;
    background:var(--primary);
    padding:10px;
    border-radius:8px;
    border:none;
}

/* GRID DE PRODUTOS */
.sb-products-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    width:100%;
}

/* CARD */
.sb-product-card{
    background:#fff;
    border-radius:14px;
    padding:14px;
    text-align:center;
    box-shadow:0 4px 18px rgba(0,0,0,.08);
    transition:.2s ease;
}

.sb-product-card:hover{
    transform:translateY(-4px);
    box-shadow:0 8px 24px rgba(0,0,0,.15);
}

.sb-thumb img{
    width:100%;
    border-radius:10px;
}

/* TÍTULO */
.sb-p-title{
    font-size:15px;
    font-weight:600;
    margin-top:10px;
}

/* CATEGORIA */
.sb-p-cat{
    font-size:12px;
    color:#555;
}

/* AÇÕES */
.sb-p-actions{
    display:flex;
    flex-direction:column;
    gap:6px;
    margin-top:10px;
}

.sb-view-link{
    font-size:13px;
    color:var(--primary);
    text-decoration:none;
}

/* ----------------------------- */
/* RESPONSIVIDADE REAL           */
/* ----------------------------- */

@media (max-width:1200px){
    .sb-products-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

@media (max-width:992px){
    .sb-products-page{
        flex-direction:column;
        gap:24px;
    }
    .sb-filter{
        width:100%;
        max-width:100%;
        min-width:100%;
    }
}

@media (max-width:768px){
    .sb-products-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:480px){
    .sb-products-grid{
        grid-template-columns:1fr;
    }
}
