/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(to bottom, #3c2626, #4a2f2f);
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

/* ENCABEZADO DEL CATÁLOGO */
.encabezado-catalogo {
  background-color: #4a2f2f; /* mismo tono bordó */
  padding: 100px 20px 60px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.encabezado-catalogo h1 {
  font-family: 'Cinzel', serif;
  color: #ffffff;
  font-size: 2.8rem;
  margin: 0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}


/* BARRA SUPERIOR */
.barra-superior {
  background: linear-gradient(to right, #2c0e0e, #4b1c1c);
  color: white;
  padding: 8px 0;
  overflow: hidden;
  font-size: 0.9rem;
}

.mensaje-scroll {
  white-space: nowrap;
  animation: deslizar 15s linear infinite;
  padding-left: 100%;
}

@keyframes deslizar {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* HEADER */
header {
  background-color: #0e0e0e;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #c59d5f;
}

/* --- HERO PRINCIPAL DEFINITIVO --- */
.hero {
  height: 60vh; /* más visual, ocupa 60% de pantalla */
  background-image: url('img/fondo-arabes.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(60, 30, 30, 0.95) 100%
  );
  z-index: 1;
}


.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
}

.hero-content h1 {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff8f3;
  letter-spacing: 1px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  color: #f5e9d7;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

.btn-hero {
  display: inline-block;
  background-color: #c5a17d;
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.btn-hero:hover {
  background-color: #b48c64;
  transform: scale(1.05);
}

/* CATALOGO */
.catalogo {
  padding: 60px 20px;
  background-color: #fdf8f4;
  color: #1e1e1e;
  text-align: center;
}

.catalogo h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  font-family: 'Cinzel', serif;
}

.categorias {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.categoria {
  position: relative;
  width: 300px;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.categoria:hover {
  transform: scale(1.03);
}

.categoria .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.categoria h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.categoria a {
  background-color: #c59d5f;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.categoria a:hover {
  background-color: #b18a4e;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ENVÍO GRATIS */
.envio-banner {
  background-color: #fff3e6;
  text-align: center;
  color: #6b2f2f;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 10px;
}

/* PAGOS Y ENVÍOS */
.pagos-envios {
  background-color: #fdf8f4;
  color: #1e1e1e;
  text-align: center;
  padding: 60px 20px;
}

.pagos-envios h2 {
  font-size: 1.8rem;
  font-family: 'Cinzel', serif;
  margin-bottom: 30px;
}

.pagos-envios .logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.logo-pago {
  text-align: center;
  max-width: 200px;
}

.logo-pago img {
  max-width: 120px;
  height: auto;
  margin-bottom: 10px;
}

.logo-pago .correo {
  max-width: 100px;
}

/* CONSULTAS CTA */
.cta-secundario {
  background-color: #3d1e1e;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.cta-secundario h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-family: 'Cinzel', serif;
}

/* FOOTER */
footer {
  background-color: #0e0e0e;
  color: white;
  text-align: center;
  padding: 20px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .categorias {
    flex-direction: column;
    align-items: center;
  }

  .categoria {
    width: 90%;
    height: 300px;
  }

  .pagos-envios .logos {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero {
    padding: 80px 20px;
  }
}
.pagos-envios {
  background-color: #fdf8f4;
  color: #1e1e1e;
  padding: 50px 20px;
  text-align: center;
}

.pagos-envios .bloque {
  margin-bottom: 40px;
}

.pagos-envios h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.fila-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.fila-logos img {
  height: 40px;
  object-fit: contain;
  background-color: white;
  padding: 5px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.destacado-mes {
  background-color: #fff8f3;
  padding: 60px 20px;
  text-align: center;
}

.destacado-mes h2 {
  font-size: 2rem;
  font-family: 'Cinzel', serif;
  margin-bottom: 40px;
  color: #1a0f0f;
}

.destacado-contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.destacado-contenido .video {
  flex: 1 1 500px;
  max-width: 600px;
}

.destacado-contenido .info {
  flex: 1 1 400px;
  text-align: left;
  color: #1e1e1e;
}

.destacado-contenido .info h3 {
  font-size: 1.6rem;
  margin-bottom: 20px;
  font-family: 'Cinzel', serif;
}

.destacado-contenido .info p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.destacado-contenido .btn {
  background-color: #b88c4a;
  color: white;
  padding: 10px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.destacado-contenido .btn:hover {
  background-color: #a1783e;
}
.destacado-slider {
  background-color: #fdf5ef;
  padding: 60px 20px;
}

.destacado-slider h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: center;
  color: #1a0f0f;
}

.slider-contenedor {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: auto;
}

.slide {
  display: none;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.slide.activo {
  display: flex;
}

.slide iframe {
  width: 100%;
  max-width: 500px;
  height: 280px;
  border-radius: 10px;
  flex-shrink: 0;
}

.slide .info {
  max-width: 500px;
  flex: 1;
  font-family: 'Montserrat', sans-serif;
  text-align: left;
}

.slide .info h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.slide .info p {
  margin: 5px 0;
  color: #333;
  font-size: 1rem;
  line-height: 1.6;
}

.slide .btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #c69c6d;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.slide .btn:hover {
  background-color: #a1783e;
}

.indicadores {
  margin-top: 25px;
  text-align: center;
}

.indicadores .dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.indicadores .dot.activo {
  background-color: #c69c6d;
}

/* Encabezado del catálogo */
.encabezado-catalogo {
  background-image: url('img/fondo-arabes.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.encabezado-catalogo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(40, 20, 20, 0.6); /* Oscurece el fondo para que el texto se lea mejor */
  z-index: 0;
}

.encabezado-catalogo h1 {
  position: relative;
  font-family: 'Cinzel', serif;
  font-size: 2.8rem;
  color: #fff8f3;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 1;
}
/* --- SECCIÓN DE CONTACTO --- */
.contacto {
  background-color: #3c1f20; /* bordó oscuro elegante */
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25); /* 🌑 sombra superior */
  position: relative;
  z-index: 5;
}

.contacto h2 {
  font-family: 'Cinzel', serif;
  font-size: 28px;
  margin-bottom: 25px;
  color: #fff;
}

.botones-contacto {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.btn-whatsapp,
.btn-instagram {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-whatsapp {
  background-color: #d2b48c; /* dorado suave */
  color: #fff;
}

.btn-whatsapp:hover {
  background-color: #c5a17d;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: white;
}

.btn-instagram:hover {
  opacity: 0.9;
  transform: scale(1.05);
}
html {
  scroll-behavior: smooth;
}
.carrito-flotante {
  position: fixed;
  bottom: 25px; /* 👈 ahora abajo */
  right: 25px;  /* 👈 se mantiene a la derecha */
  background-color: #5a2c2c;
  color: white;
  font-size: 1.8rem;
  padding: 10px 15px;
  border-radius: 50px;
  cursor: pointer;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  transition: transform 0.2s ease;
}

.carrito-flotante:hover {
  transform: scale(1.1);
}

#contador-carrito {
  background-color: #fff;
  color: #5a2c2c;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  margin-left: 5px;
  min-width: 20px;
  text-align: center;
}

/* ==========================================================
   🌙 OPTIMIZACIÓN MOBILE - ESTILO ESENZZIA (INDEX)
   (solo aplica en pantallas menores a 768px)
========================================================== */
@media (max-width: 768px) {

  /* --- GENERAL --- */
  html, body {
    width: 100%;
    overflow-x: hidden !important;
    background-color: #ffffff;
  }

  /* --- HEADER --- */
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
  }

  header h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
  }

  nav a {
    font-size: 0.95rem;
  }

  /* --- HERO PRINCIPAL --- */
  .hero {
    height: auto;
    min-height: 60vh;
    background-attachment: scroll;
    background-position: center;
    padding: 60px 15px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.9rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
    margin: 15px 0 25px;
  }

  .btn-hero {
    padding: 12px 24px;
    font-size: 0.95rem;
    border-radius: 6px;
  }

  /* --- CATEGORÍAS --- */
  .catalogo {
    padding: 40px 15px;
  }

  .catalogo h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .categorias {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .categoria {
    width: 90%;
    height: 250px;
  }

  .categoria .overlay h3 {
    font-size: 1.1rem;
  }

  .categoria .overlay a {
    font-size: 0.9rem;
    padding: 8px 18px;
  }

  /* --- SECCIÓN DESTACADO DEL MES --- */
  .destacado-slider {
    padding: 40px 15px;
  }

  .destacado-slider h2 {
    font-size: 1.5rem;
  }

  .slide {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .slide iframe {
    width: 100%;
    height: 220px;
    max-width: 100%;
  }

  .slide .info {
    text-align: center;
    padding: 10px;
  }

  .slide .info h3 {
    font-size: 1.2rem;
  }

  .slide .info p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .slide .btn {
    padding: 8px 18px;
    font-size: 0.9rem;
  }

  /* --- MÉTODOS DE PAGO / ENVÍO --- */
  .pagos-envios {
    padding: 40px 10px;
  }

  .pagos-envios h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
  }

  .fila-logos img {
    height: 28px;
  }

  /* --- SECCIÓN CONTACTO --- */
  .contacto {
    padding: 40px 15px;
  }

  .contacto h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .botones-contacto {
    flex-direction: column;
    gap: 15px;
  }

  .btn-whatsapp,
  .btn-instagram {
    width: 100%;
    text-align: center;
  }

  /* --- FOOTER --- */
  footer {
    font-size: 0.85rem;
    padding: 15px;
  }

  /* --- CARRITO FLOTANTE --- */
  .carrito-flotante {
    bottom: 15px;
    right: 15px;
    padding: 8px 12px;
    font-size: 1.4rem;
  }

  #contador-carrito {
    font-size: 0.8rem;
    min-width: 18px;
  }
}













/* Cartel superior "Próximamente" */
.proximamente{
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  padding: 12px 18px;
  background: #641a2b;          /* bordó */
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-align: center;
  letter-spacing: .3px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  z-index: 9999;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .35s ease, opacity .35s ease;
}
.proximamente.mostrar{
  transform: translateY(0);
  opacity: 1;
}
body.banner-open{
  /* opcional: bajá el contenido mientras aparece el banner */
  scroll-margin-top: 56px;
}
