body{
font-family:Arial,sans-serif;
background:#e6d3b3;
margin:0;
color:#000;
}

/* CABECERA */

.cabecera{
background:#222;
color:white;
padding:15px 20px;
display:flex;
align-items:center;
justify-content:space-between;
flex-wrap:wrap;
}

.logo img{
height:60px;
}

/* MENU */

.menu{
display:flex;
gap:20px;
}

.menu a{
color:white;
text-decoration:none;
font-size:15px;
}

/* MOVILES */

@media (max-width:700px){

.cabecera{
flex-direction:column;
align-items:center;
}

.logo img{
height:55px;
margin-bottom:10px;
}

.menu{
width:100%;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:10px;
text-align:center;
}

.menu a{
padding:6px 0;
}

}

/* CONTENEDOR PRODUCTOS */

.contenedor{
max-width:1200px;
margin:auto;
padding:20px;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
}

/* TARJETAS PRODUCTO */

.producto{
background:white;
padding:15px;
border-radius:8px;
box-shadow:0 0 10px rgba(0,0,0,0.1);
text-align:center;
}

.producto img{
width:100%;
height:auto;
border-radius:6px;
}

.producto h3{
margin:10px 0;
font-size:18px;
}

.descripcion{
font-size:14px;
color:#555;
height:60px;
overflow:hidden;
}

.precio{
font-size:20px;
margin:10px 0;
}

.boton{
display:inline-block;
padding:10px 16px;
background:#000;
color:white;
text-decoration:none;
border-radius:4px;
}

.boton:hover{
background:#444;
}

/* PAGINA PRODUCTO */

.contenedor-detalle{
max-width:1000px;
margin:auto;
padding:30px;
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
}

.detalle-imagen img{
width:100%;
border-radius:8px;
}

.detalle-info h2{
margin-top:0;
}

.detalles{
margin-top:20px;
line-height:1.6;
}

/* RESPONSIVE */

/* tablets */

@media (max-width:900px){

.contenedor{
grid-template-columns:repeat(2,1fr);
}

}

/* móviles */

@media (max-width:700px){

.menu{
width:100%;
justify-content:center;
margin-top:10px;
flex-wrap:wrap;
gap:15px;
}

}

/* móviles pequeños */

@media (max-width:600px){

.cabecera{
flex-direction:column;
text-align:center;
}

.logo img{
height:50px;
}

}

/* celulares */

@media (max-width:500px){

.contenedor{
grid-template-columns:1fr;
}

}

/* detalle producto */

@media (max-width:800px){

.contenedor-detalle{
grid-template-columns:1fr;
}

}