@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

:root {
  --beige: #f6eadb;
  --bordo: #6b1f2a;
  --dorado: #c8a96a;
  --negro: #1a1a1a;
  --blanco: #ffffff;
}

body {
  background: var(--beige);
  color: var(--negro);
}

/* HEADER */
.header {
  background: var(--bordo);
  color: var(--blanco);
  text-align: center;
  padding: 25px 15px;
}

.header h1 {
  font-size: 30px;
  letter-spacing: 3px;
  font-weight: 700;
}

.header p {
  font-size: 14px;
  opacity: 0.9;
}

/* MENU */
.menu {
  margin-top: 12px;
}

.menu a {
  color: var(--blanco);
  margin: 0 12px;
  text-decoration: none;
  font-weight: 500;
}

.menu a:hover {
  color: var(--dorado);
}

/* HERO */
.hero {
  text-align: center;
  padding: 90px 20px;
  background: linear-gradient(135deg, var(--beige), #fff);
}

.hero h2 {
  font-size: 38px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 20px;
}

/* BOTONES */
.btn {
  background: var(--bordo);
  color: white;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn:hover {
  background: #4d141c;
  transform: scale(1.05);
}

/* SECCIONES */
.section {
  padding: 70px 20px;
  text-align: center;
}

.section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--bordo);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* CARD */
.card {
  background: white;
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
  border-top: 3px solid var(--dorado);
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  color: var(--bordo);
  margin-bottom: 10px;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--bordo);
  font-weight: 600;
  text-decoration: none;
}

/* MAYORISTA */
.mayorista {
  background: white;
  border-top: 3px solid var(--bordo);
  border-bottom: 3px solid var(--bordo);
}

/* CONTACTO */
.section a {
  color: var(--bordo);
  font-weight: 600;
  text-decoration: none;
}

/* REDES */
.redes {
  background: white;
}

.redes-box {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.insta {
  background: linear-gradient(45deg, #6b1f2a, #c8a96a);
}

.wsp {
  background: #25d366;
}

/* FOOTER */
.footer {
  background: var(--bordo);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* WHATSAPP FLOTANTE */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  padding: 15px 18px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* ========================= */
/* CATÁLOGO HORIZONTAL 🔥 */
/* ========================= */

.productos-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 10px;
}

.productos-scroll::-webkit-scrollbar {
  height: 6px;
}

.productos-scroll::-webkit-scrollbar-thumb {
  background: var(--bordo);
  border-radius: 10px;
}

.producto {
  min-width: 180px;
  background: white;
  padding: 15px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.producto:hover {
  transform: scale(1.05);
}

.producto img {
  width: 100%;
  border-radius: 10px;
}

.section .btn {
  margin-top: 20px;
  display: inline-block;
}
/* ========================= */
/* CATÁLOGO COMPLETO 🛍️ */
/* ========================= */

.catalogo {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 por fila */
  gap: 25px;
  padding: 40px;
}

.catalogo .producto {
  min-width: auto; /* importante para que no se rompa el grid */
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .catalogo {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .catalogo {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .catalogo {
    grid-template-columns: 1fr;
  }
}
/* ========================= */
/* AJUSTES PRODUCTO 🛍️ */
/* ========================= */

.catalogo .producto {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* PRECIO MÁS VISIBLE */
.catalogo .precio {
  color: var(--bordo);
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
}

/* TEXTO PRODUCTO */
.catalogo .producto p {
  margin: 5px 0;
}

/* BOTÓN ABAJO */
.catalogo .producto .btn {
  margin-top: auto;
}
/* ========================= */
/* CATÁLOGO COMPLETO 🛍️ */
/* ========================= */

.catalogo {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  padding: 40px;
}

.catalogo .producto {
  min-width: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* PRECIO */
.catalogo .precio {
  color: var(--bordo);
  font-size: 20px;
  font-weight: 700;
  margin-top: 10px;
}

/* TEXTO */
.catalogo .producto p {
  margin: 5px 0;
}

/* BOTÓN ABAJO */
.catalogo .producto .btn {
  margin-top: auto;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .catalogo {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .catalogo {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .catalogo {
    grid-template-columns: 1fr;
  }
}


/* ========================= */
/* PÁGINA DE PRODUCTO 📄 */
/* ========================= */

.frase {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--bordo);
  font-style: italic;
}

/* CONTENEDOR DE IMÁGENES */
.section img {
  width: 260px;
  margin: 10px;
  border-radius: 12px;
  transition: 0.3s;
}

/* EFECTO HOVER */
.section img:hover {
  transform: scale(1.05);
}

/* PRECIO EN PRODUCTO */
.section h2 {
  margin-top: 15px;
  color: var(--bordo);
  font-size: 26px;
}

/* BOTÓN WHATSAPP MÁS PRO */
.wsp {
  background: #25d366;
}

.wsp:hover {
  transform: scale(1.08);
}


/* ========================= */
/* DETALLE EXTRA PRO ✨ */
/* ========================= */

.producto {
  cursor: pointer;
}

.producto:hover {
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
