/* ===========================
   RESET GENERAL
=========================== */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Segoe UI", Arial, sans-serif;
}

body{
  background:#f2f2f2;
  color:#222;
}

/* ===========================
   NAVBAR ELEGANTE
=========================== */
.navbar{
  background:#111;
  color:white;
  padding:14px 28px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:sticky;
  top:0;
  z-index:100;
  border-bottom:2px solid #facc15;
}

.logo{
  font-size:22px;
  font-weight:800;
}

/* botones del navbar */
.nav-buttons{
  display:flex;
  gap:12px;
}

.btn,
.btn-outline{
  padding:9px 18px;
  border-radius:8px;
  font-size:14px;
  cursor:pointer;
  transition:.25s ease;
}

/* botón principal */
.btn{
  background:#facc15;
  border:none;
  font-weight:700;
}

.btn:hover{
  background:#eab308;
}

/* botón contorno */
.btn-outline{
  background:transparent;
  border:2px solid #facc15;
  color:#facc15;
}

.btn-outline:hover{
  background:#facc15;
  color:black;
}

/* ===========================
   CONTENIDO
=========================== */
.container{
  width:92%;
  max-width:1200px;
  margin:auto;
}

/* títulos */
.section-title{
  text-align:center;
  font-size:26px;
  font-weight:800;
  margin:25px 0;
}

/* ===========================
   GRID DE PRODUCTOS
=========================== */
.productos-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px,1fr));
  gap:22px;
}

/* tarjeta de producto */
.producto-card{
  background:white;
  border-radius:12px;
  padding:16px;
  border:1px solid #ddd;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  transition:.25s ease;
}

.producto-card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 25px rgba(0,0,0,.12);
}

/* imagenes iguales */
.producto-card img{
  width:100%;
  height:210px;
  object-fit:cover;
  border-radius:10px;
}

/* texto producto */
.producto-card h3{
  margin-top:10px;
  font-size:18px;
  font-weight:700;
}

/* precio */
.price{
  color:#e11d48;
  font-weight:800;
  font-size:20px;
  margin:6px 0;
}

/* cantidad + botón */
.qty-container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:10px;
}

.qty{
  width:70px;
  padding:6px;
  border-radius:8px;
  border:1px solid #bbb;
}

/* botón agregar */
.btn-add{
  background:#22c55e;
  border:none;
  color:white;
  font-weight:700;
  padding:9px 12px;
  border-radius:8px;
  cursor:pointer;
}

.btn-add:hover{
  background:#16a34a;
}

/* textarea reseña */
.comment{
  width:100%;
  margin-top:10px;
  border-radius:8px;
  padding:6px;
  border:1px solid #ccc;
  resize:none;
}


