/* ==================== RESET BÁSICO ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap");

*,
*::after,
*::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    padding: 1rem;
    font-family: "Inter", sans-serif;
    line-height: 1.5;
    color: hsl(0, 0%, 30%);
}

h2{
    font-size: 1rem;
}
ul {
    list-style: none;
}

/* main{
      box-sizing: border-box;
    border: 5px solid #c6939177;  borde rosado
  
}
 */

.headingcontainer h1 {
  font-size: 4rem;
  color: #ddd;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s ease-in-out;
  will-change: opacity, transform;
  word-break: normal;
  overflow-wrap: break-word;
  max-width: 100%;
  line-height: 1.2;
}

@media (max-width: 650px) {
  .headingcontainer {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .headingcontainer h1 {
    font-size: 1.5rem;              /* Más pequeño para móviles */
    text-align: center;
    word-break: normal;             /* Evita cortar las palabras */
    overflow-wrap: break-word;      /* Permite romper solo si es necesario */
    line-height: 1.3;               /* Espacio entre líneas */
    max-width: 100%;
    margin: 0 auto;
  }
}
.brand {
    color: #ddd;
    text-transform: uppercase;
}

.block {
    height: 500px;
    background-color: transparent;
    background-size: cover;
    border-radius: 20px;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 1rem;
    column-gap: 1rem;
}



.navigation {
    display: flex;
    justify-content: space-between;
}



    .navigation {
        position: relative;
        align-items: center;
    }




.headingcontainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 2rem 0;
}


/* TITULO PRINCIPAL */

.headingcontainer h1 {
    font-size: 3rem;
    color: #C69491;
    text-shadow: 1px 9px 3px #000000a9;
    text-transform: uppercase;
}



.flex-end {
    display: flex;
    justify-content: flex-end;
}

.flex-column {
    flex-direction: column;
}



@media (max-width: 768px) {
    .products {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 1rem;
        column-gap: 1rem;
    }

    .navigation{
        display: flex;
        flex-direction: column;
    }
  }




body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #B7AC9B;
  color: #333;
}


/* ==================== HEADER Y NAVEGACIÓN ==================== */
header {
  background-color: #1c1c1b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 30px;
  box-shadow: #6a5d52; /* sombra más intensa */
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s ease;
}

.logo {
  max-height: 130px;
  width: auto;
  display: block;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;

  /* Mejor visibilidad sobre fondo oscuro */
  filter: brightness(1.4) contrast(1.2) drop-shadow(0 0 12px rgba(255, 255, 255, 0.7));
}

.logo:hover {
  transform: scale(1.08); /* más sutil y elegante */
  filter: brightness(1.6) contrast(1.3) drop-shadow(0 0 16px rgba(255, 255, 255, 0.9));
}


a {
  text-decoration: none;
}




/* ==================== CONTENIDO PRINCIPAL (MAIN) ==================== */
main {
  background-color: #E2E2DE;
  padding: 40px 20px;
}

h1.media-title, h2.media-title {
  width: 100%;
  font-family: 'Segoe UI', sans-serif;  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 auto 30px;
  color: #C69491;
  font-size: 3rem;
  text-shadow: 1px 7px 3px #ffffffa9;
  text-transform: uppercase;
}

#mediahr, #prinhr {
  border: none;
  height: 4px;
  width: 80%;
  margin: 30px auto;
  border-radius: 5px;
  background: linear-gradient(90deg, #B7AC9B, #C69491, #F9C8C2);
}

#perfumes, #bsplash, #cyb {
  scroll-margin-top: 190px;
}

#hogar, #novedad, #accesorios {
  scroll-margin-top: 190px;
}







/* ==================== NAV ==================== */
nav {
  background-color: transparent;
  padding: 15px 20px;
  border-bottom: 3px solid #b7ac9b;
  font-family: sans-serif;
  position: relative;
  z-index: 10;
}

.nav-links {
  display: flex;
  flex-wrap: wrap; /* 🔑 permite que los li bajen en lugar de desbordar */
  list-style: none;
  gap: 10px;
}


.nav-links a {
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  color: #C69491; /* Blanco casi sólido para buen contraste */
  font-weight: 700;
  font-size: 20px;

  /* Sombra más suave para evitar efecto borroso */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.466);

  /* Fondo translúcido opcional para mejorar legibilidad */
  background-color: rgba(255, 255, 255, 0.055);
  padding: 5px 10px;
  border-radius: 8px;

  /* Transición para efectos suaves si se usan :hover */
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  color: #F9C8C2;             /* Color al pasar el mouse */
  transform: scale(1.1);      /* Zoom suave */
  font-weight: 900;
  text-decoration: underline; /* Línea debajo */
  transition: transform 0.3s ease, color 0.3s ease;
}

.carrito {
  font-size: 1.2em;
  cursor: pointer;
}



/* ==================== NAV ==================== */
nav {
  background-color: transparent;
  padding: 15px 20px;
  border-bottom: 3px solid #b7ac9b;
  font-family: sans-serif;
  position: relative;
  z-index: 10;
}

.nav-links {
  display: flex;
  flex-wrap: wrap; /* permite que los li bajen en lugar de desbordar */
  list-style: none;
  gap: 10px;
}

.nav-links a {
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  color: #C69491;
  font-weight: 700;
  font-size: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.466);
  background-color: rgba(255, 255, 255, 0.055);
  padding: 5px 10px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav a:hover {
  color: #F9C8C2;
  transform: scale(1.1);
  font-weight: 900;
  text-decoration: underline;
  transition: transform 0.3s ease, color 0.3s ease;
}

.carrito {
  font-size: 1.2em;
  cursor: pointer;
}

/* ==================== MENU DESPLEGABLE ==================== */
#menu-desplegable {
  background-color: #979086;
  color: #e2e2de;
  text-shadow: 1px 2px 1px #000;
  border: none;
  padding: 10px 140px; /* Desktop */
  cursor: pointer;
  font-size: 30px;
  font-weight: 600;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

.nav-comp {
  list-style: none;
  margin-top: 10px;
  padding: 0;
  display: none;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.nav-comp.show {
  display: flex;
}

.nav-comp li {
  width: 100%;
}

.nav-comp li a {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  color: #6a5d52;
  text-shadow: 2px 1px 2px #10010194;
  background-color: #1b1b17;
  padding: 10px 15px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 400;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  transition: background 0.3s;
}

.nav-comp li a:hover {
  background-color: #ddd;
}

/* ========== MENÚ HAMBURGUESA ========== */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  color: #7D9094;
  font-weight: 800;
  width: 30px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #C69491;
  border-radius: 3px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #6a5d52;
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 10px 10px;
    border-top: 2px solid #C69491;
    font-family: Montserrat;
    font-size: 15px;
  }
}

#contador {
  color: #fcfcfc;
  font-weight: 700;
}

/* ===== Logo general ===== */
.logo {
  max-height: 100px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* ==================== RESPONSIVE ==================== */

/* Móviles generales */
@media (max-width: 600px) {
  #menu-desplegable {
    width: 100%;
    font-size: 18px;
    padding: 10px 0;
  }

  .nav-comp li a {
    font-size: 16px;
  }

  .logo {
    max-height: 50px;
    width: auto;
  }

  .nav-links {
    gap: 5px;
  }
}

/* Tablets */
@media (min-width: 601px) and (max-width: 1024px) {
  #menu-desplegable {
    width: 100%;
    font-size: 22px;
    padding: 12px 0;
  }

  .nav-comp li a {
    font-size: 17px;
  }

  .logo {
    max-height: 60px;
  }
}

/* Móviles grandes (ej: iPhone 14 Pro Max) */
@media (max-width: 428px) {
  #menu-desplegable {
    font-size: 20px;
    padding: 8px 20px;
  }

  .nav-comp li a {
    font-size: 14px;
    padding: 8px 10px;
  }

  .nav-links {
    gap: 3px;
  }

  .logo {
    max-height: 45px;
    width: auto;
  }
}

/* Móviles portrait específicos */
@media (max-width: 600px) and (orientation: portrait) {
  .logo {
    max-height: 40px;
  }

  .nav-links a {
    font-size: 14px;
    padding: 6px 8px;
  }

  .nav-links {
    gap: 5px;
  }

  nav {
    padding: 10px 15px;
  }
}

/* Móviles landscape específicos */
@media (max-width: 600px) and (orientation: landscape) {
  .logo {
    max-height: 35px;
  }

  .nav-links a {
    font-size: 12px;
    padding: 4px 6px;
  }

  .nav-links {
    gap: 3px;
  }

  nav {
    padding: 5px 10px;
  }

  #menu-desplegable {
    font-size: 18px;
    padding: 6px 12px;
  }
}

/* Tablets landscape */
@media (min-width: 601px) and (max-width: 1024px) and (orientation: landscape) {
  .logo {
    max-height: 50px;
  }

  .nav-links a {
    font-size: 16px;
    padding: 8px 10px;
  }

  .nav-links {
    gap: 10px;
  }

  nav {
    padding: 10px 20px;
  }

  #menu-desplegable {
    font-size: 22px;
    padding: 10px 50px;
  }
}



/*////  ESTILO DE  MENU 2 HAMBURGUESA   /////////////////////////////////////////////
/* ===== Responsive Móvil ===== */
@media (max-width: 768px) {
  /* Mostrar hamburguesa */
  .menu-toggle {
    display: flex;
    position: fixed;
    top: 30px; /* más arriba */
    right: 60px; /* justo a la izquierda del carrito */
    z-index: 1100;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  /* Menú lateral derecho */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -50%; /* empieza fuera de pantalla */
    width: 50%; /* mitad de pantalla */
    height: 100%;
    background-color: #111;
    padding-top: 80px;
    gap: 20px;
    transition: right 0.4s ease;
    z-index: 1000;
    overflow: hidden;
  }

  .nav-links.show {
    right: 0;
  }

  /* Barra lateral neon izquierda */
  .nav-links.show::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0; /* al lado izquierdo del menú derecho */
    width: 8px;
    height: 100%;
    background: linear-gradient(to bottom, #C69491, #C69491 50%, transparent 100%);
    clip-path: polygon(0% 0%, 30% 0%, 40% 100%, 0% 100%);
    border-radius: 10px 0 0 10px;
    pointer-events: none;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    padding: 12px 20px;
    font-size: 18px;
    color: #fff;
    display: block;
  }

  /* Transformación hamburguesa a X */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
/* Overlay negro con texto VELOUR a la izquierda del menú derecho */
#menu-overlay {
  position: fixed;
  top: 0;
  left: 0; /* izquierda de la pantalla */
  width: 50%; /* mitad izquierda de la pantalla */
  height: 100%;
  background-color: #000;
  display: none; /* se activa cuando se abre el menú */
  justify-content: center;
  align-items: center;
  z-index: 900; /* detrás del menú derecho */
}

#menu-overlay span {
  color: #C69491;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 2px;
}


/*////  FIN MENU 2    /////////////////////////////////////////////















/* ==================== PRODUCTOS ==================== */
.productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 100%;
  margin-bottom: -10px;
  padding: 120px;
}

.producto {
  background-color: #B7AC9B;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 20px 16px 10px rgba(0, 0, 0, 0.24);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.producto img {
  width: 60%;
  border-radius: 28px;
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
  object-fit: cover;
}

/* Imagen principal y secundaria */
.imagen-container {
  position: relative;
  width: 90%;
  height: 350px;
  overflow: hidden;
  border-radius: 20px;
  overflow: hidden;         /* Recorta contenido fuera del borde */

  
}

.imagen-container img {
  position: absolute;
  top: 50%;
  left: 55%;
  width: 80%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
  
}

.imagen-principal {
  z-index: 1;
  opacity: 1;
  filter: brightness(1);
  border-radius: 20px;


}

.imagen-hover {
  z-index: 2;
  opacity: 0;
  filter: brightness(40%);
  transform: translate(-50%, -50%) scale(1); /* Estado normal */
  transform-origin: center center;
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
  

  
}

.producto:hover .imagen-hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.2);
  filter: brightness(-1);
  
  
}

.producto:hover .imagen-principal {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.98);
  filter: brightness(0.7);
  
}

/* Información del producto */
.producto-info {
  margin-top: auto;
}

.producto h2 {
  margin: 15px 0 10px;
  font-size: 28px;
  color: #6a5d52;
  text-shadow: 3px 2px 2px #000000ef;
  background-color: rgba(72, 63, 63, 0.24); /* Fondo negro con 50% de opacidad */
  padding: 5px 10px; /* Espaciado interno para que el fondo se note */
  border-radius: 5px; /* Bordes redondeados opcionales */
  display: inline-block; /* Para que el fondo se ajuste solo al texto */
}

.producto p {
  margin-bottom: 15px;
  color: #C69491;
  font-weight: 700;
  font-size: 30px;
  text-shadow: 2px 3px 1px #000;
}

.producto-descripcion {
  font-size: 20px !important;
  color: #333 !important;       /* color independiente del resto de los textos */
  margin: 5px 0;
  text-shadow: 2px 3px 10px #ffffff !important;
  line-height: 1.3;  /* para que se vea más legible */
  font-style: italic; /* opcional, para diferenciar visualmente */
}

.producto button {
  background-color: #60665A;
  color: #F9C8C2;
  border: none;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.producto button:hover {
  background-color: #c9a4a4;
  color: #60665A;
  text-shadow: 1px 2px 1px #000;
}





.productos-slider {
  width: 100%;
  max-width: 1200px; /* o el ancho que quieras */
  overflow: hidden; /* oculta productos fuera del contenedor */
  position: relative;
  margin: 0 auto;


/* Fondo con imagen */
  background-image: url('../productos/velas/fondovela.jpeg');
  background-size: cover;       /* cubre todo el contenedor */
  background-position: center;  /* centra la imagen */
  background-repeat: no-repeat; /* que no se repita */
  border-radius: 20px;
}
.fondovela {
  background-image: url('../productos/perfumes/fondoperfume.jpg');
  background-position: center;
  padding: 20px;
  background-size: cover;       /* cubre todo el contenedor */

}


.fondodifusor {
  background-image: url('../productos/bsplash/fondobsplash.jpg');
  background-position: center;
  padding: 20px;
  background-size: cover;       /* cubre todo el contenedor */

}

/* Fondo diferente para Velas aromaticas */
.fondo2 {
  background-image: url('../productos/cyb/fondocyb3.jpg');
  background-position: top;
  padding: 20px;
}



/* Fondo diferente para el NewArrival */
.fondo3{
  background-image: url('../productos/cyb/fondocyb3.jpg');
  background-position: top;
}


/* Fondo diferente para el vestido */
.vestidos{
  background-image: url('../productos/novedad/fondo3.jpeg');
  background-position: center;
}


/* para [pantallas menosres a 750px] mas chicas cambiamos el fondo*/ 
@media (max-width: 750px) {
  .productos-slider {
    background-image: url('../img/FondoCarr.jpg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    border-radius: 20px;
  }
}







/*Video accesorio*/



/* Fondo de video */
/* Contenedor principal con video de fondo */


/* Fondo de video DE ACCESORIOS U OTROS*/
.video-fondo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.video-fondo iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

/* Asegura que todos los demás elementos estén encima del video */
.productos-slider, slider-btn > *:not(.video-fondo) {
  position: relative;
  z-index: 1;
}



/*////////////////////////////*/


.productos {
  display: flex;
  gap: 20px; /* espacio entre productos */
  transition: transform 0.5s ease;
}

.producto {
  flex: 0 0 calc((100% - 2 * 20px) / 3); /* 3 productos visibles, descontando 2 gaps */
  max-width: calc((100% - 2 * 20px) / 3);
  box-sizing: border-box;
}




.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #6a5d52; /* rosa semitransparente */
  color: white;
  border: none;
  padding: 12px 18px;
  font-size: 30px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
  user-select: none;
}

/* Hover cambia el color del botón */
.slider-btn:hover {
  background-color: #c9a4a4;
}

/* Botón izquierda */
.slider-btn.prev {
  left: 10px;
}

/* Botón derecha */
.slider-btn.next {
  right: 10px;
}

/* Opcional: cambiar cursor si el botón está deshabilitado */
/* .slider-btn:disabled {
  cursor: default;
  opacity: 0.5;
} */








/* ==================== MEDIA SECTION ==================== */
.media-section {
  padding: 40px 20px;
  background-color: #E2E2DE;
  text-align: center;
  margin-top: 20px;
/*   box-sizing: border-box;
  border: 5px solid #96aca08e; */  /* borde rosado */
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.media-item {
  background-color: #B7AC9B;
  padding: 60px 20px;
  border: 1px solid #6a5d52;
  border-radius: 10px;
  font-size: 18px;
  color: #555;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.media-item:hover {
  transform: scale(1.03);
}

.media-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* Overlay de imagen */
.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}
 

/* TEXTO DE NUESTRA TIENDA LOS MENUS */
.image-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1c1c1b;
  text-shadow: 1px 2px #6a5d52;
  font-weight: 800;
  background-color: #e2e2de98;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 20px;
  text-align: center;
  pointer-events: none;
  z-index: 2;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #6a5d5276;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  border-radius: 10px;
}

.image-wrapper:hover .image-overlay {
  opacity: 1;
}

.image-wrapper:hover img {
  transform: scale(1.05);
}







/* ========== RESPONSIVE SLIDER: UN SOLO PRODUCTO EN PANTALLAS PEQUEÑAS ========== */
@media (max-width: 708px) {
  .slider-btn {
    display: block; /* Mostrar botones también en móviles */
  }

  .productos-slider {
    overflow: hidden; /* No scroll manual, solo con botones */
  }

  .productos {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    padding: 40px;
    transition: transform 0.5s ease;
    width: 100%;
  }

  .producto {
    flex: 0 0 100%; /* Mostrar 1 producto a la vez */
    max-width: 100%;
    scroll-snap-align: center;
  }
}




/* ==================== FOOTER ==================== */
/* ====================         ==================== */
/* ==================== FOOTER ==================== */
/* ====================         ==================== */
.footer {
  background-color: #1c1c1b;
  color: #C69491;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Nueva estructura para izquierda (logo + redes) */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  flex: 1 1 200px;
}

.logofoot {
  width: 150px;
  height: auto;
}

/* Información centrada */
.footer-info {
  flex: 2 1 500px;
}

.footer h3,
.footer h4 {
  color: #c9a4a4;
  margin-bottom: 15px;
}

.footer p {
  margin: 5px 0;
  font-size: 14px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: #7D9094;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #C69491;
}


.tzaltech {
  font-weight: bold;
  color: #C69491;   /* mismo tono que usás en el footer */
  text-decoration: none;
  transition: color 0.3s;
}

.tzaltech:hover {
  color: #ffffff;   /* resalta al pasar el mouse */
  text-decoration: underline;
}


/* ==================== MÉTODOS DE PAGO ==================== */
.footer-payments {
  flex: 1 1 250px;
  text-align: center;
}

.footer-payments h4 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #c9a4a4;
}

.payment-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 2rem;
  color: #7D9094;
}

.payment-icons i {
  transition: color 0.3s;
}

.payment-icons i:hover {
  color: #C69491;
}

.payment-logo {
  height: 35px;
  width: auto;
  filter: brightness(0) invert(0.7); /* para que combine con el estilo */
  transition: filter 0.3s;
}

.payment-logo:hover {
  filter: brightness(1) invert(0.4);
}


/* Scroll suave para toda la página */
html {
  scroll-behavior: smooth;
}


/* ==================== whatsapp ==================== */

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 10px rgba(0,0,0,0.4);
}

.whatsapp-float i {
  line-height: 60px;
}



/* ==================== RESPONSIVE ==================== */
@media (max-width: 992px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .carrito {
    align-self: flex-end;
  }

  .media-title {
    font-size: 2rem;
    padding: 0 10px;
  }
}

@media (max-width: 600px) {
  .media-grid {
    grid-template-columns: 1fr;
  }

  .media-item {
    padding: 40px 15px;
  }

  .media-title {
    font-size: 1.6rem;
    padding: 0 10px;
  }
  



  
}
.footer-map {
  margin-top: 40px;
  text-align: center;
  padding: 0 10px;
  max-width: 100%;
  box-sizing: border-box;
}

.footer-map iframe {
  width: 100%;
  max-width: 1200px;   /* máximo ancho en escritorio */
  height: 300px;       /* altura base para móvil y pantallas pequeñas */
  border: 0;
  border-radius: 8px;
  transition: height 0.3s ease;
}

/* En pantallas medianas */
@media (min-width: 768px) {
  .footer-map iframe {
    height: 350px;
  }
}

/* En pantallas grandes (escritorio) */
@media (min-width: 1024px) {
  .footer-map iframe {
    width: 50vw;       /* ocupa 90% del ancho de la ventana */
    max-width: none;   /* quitamos el límite para aprovechar el 90vw */
    height: 250px;     /* menos alto para más forma horizontal */
  }
}