body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: #f4f4f4;
  color: #1C1C1C;
}

header {
  background: #1C1C1C;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-family: 'Playfair Display', serif;
}

header ul {
  list-style: none;
  display: flex;
  gap: 1rem;
}

header a {
  color: white;
  text-decoration: none;
}

header a:hover {
  color: #C9A227;
}

.hero {
  background: url('images/hero-ecommerce.jpg') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  background: rgba(0,0,0,0.6);
  color: white;
  text-align: center;
  padding: 2rem;
}

.cta {
  background: #C9A227;
  color: black;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
}

.cta:hover {
  background: #7B2D26;
  color: white;
}

.productos {
  padding: 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.add-to-cart {
  background: #7B2D26;
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 5px;
  cursor: pointer;
}

.add-to-cart:hover {
  background: #C9A227;
  color: black;
}

/* Carrito lateral */
.carrito {
  position: fixed;
  top: 80px;
  right: 0;
  width: 280px;
  background: #fff;
  border-left: 2px solid #1C1C1C;
  padding: 1rem;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
}

.carrito h2 {
  margin-top: 0;
}

.carrito ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contacto {
  padding: 2rem;
  text-align: center;
}

footer {
  background: #1C1C1C;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}