
/*==================================================
=                CONTENEDOR PRINCIPAL
==================================================*/
.menu{
    display:flex;
    gap:35px;
    padding:40px;
    max-width:1400px;
    width:100%;
    margin:auto;
    align-items:flex-start;
}

/*==================================================
=                MENÚ LATERAL
==================================================*/

.categorias{
    width:250px;
    background:#fff;
    border-radius:20px;
    padding:25px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    flex-shrink:0;
}

.categorias h2{
    text-align:center;
    color:#6f4e37;
    margin-bottom:25px;
}

.categorias ul{
    list-style:none;
}

.categorias li{
    margin:18px 0;
}

.categorias a{
    text-decoration:none;
    color:#4a3319;
    font-weight:bold;
    display:block;
    transition:.3s;
}

.categorias a:hover{
    color:#b8956a;
    transform:translateX(6px);
}

/*==================================================
=             CONTENIDO DEL MENÚ
==================================================*/

.contenido-menu{
    flex:1;
}

/*==================================================
=          TÍTULO + BUSCADOR
==================================================*/

.encabezado-menu{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:35px;
}

.menu-title{
    font-size:3rem;
    color:#6f4e37;
}

.buscador input{
    width:320px;
    padding:12px;
    border:1px solid #bbb;
    border-radius:8px;
    outline:none;
    font-size:16px;
}

/*==================================================
=            SECCIONES
==================================================*/

.categoria{
    margin-bottom:50px;
}

.titulo-seccion{
    font-size:2rem;
    color:#4a3319;
    border-bottom:2px solid #c8a67c;
    padding-bottom:10px;
    margin-bottom:25px;
}

/*==================================================
=             GRID DE PRODUCTOS
==================================================*/

.productos-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
    gap:30px;
}

/*==================================================
=              TARJETA DEL PRODUCTO
==================================================*/

.tarjeta-producto{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 6px 18px rgba(0,0,0,.10);
    transition:.3s;
}

.tarjeta-producto:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 25px rgba(0,0,0,.18);
}

/*==================================================
=             IMAGEN DEL PRODUCTO
==================================================*/

.tarjeta-producto img{
    width:100%;
    height:220px;
    object-fit:cover;
    display:block;
}

/*==================================================
=           INFORMACIÓN DEL PRODUCTO
==================================================*/

.tarjeta-info{
    padding:18px;
}

.tarjeta-info h3{
    color:#4a3319;
    font-size:1.5rem;
}

.tarjeta-info hr{
    margin:12px 0;
    border:none;
    border-top:1px solid #d7b58d;
}

.tarjeta-info p{
    color:#555;
    line-height:1.5;
    min-height:70px;
}

/*==================================================
=            PRECIO
==================================================*/

.producto-precio{
    margin-top:18px;
    background:#f0e6dc;
    color:#6f4e37;
    padding:12px;
    text-align:center;
    border-radius:10px;
    font-size:1.2rem;
    font-weight:bold;
}
