/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= VARIABLES ================= */
:root {
  --black: #000;
  --white: #fff;
  --gold: #d4af37;
  --beige: #f5f0ea;
}

/* ================= BODY ================= */
body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--beige);
  color: var(--black);
  line-height: 1.6;
  font-weight: 400;

  padding-top: 90px;
}
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
  color: var(--black);
}
.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 30px;
}
.products h2,
.cart h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-align: center;
}
.product-card h3 {
  font-size: 1.2rem;
  margin: 15px 0 8px;
}
.price {
  font-size: 1rem;
  font-weight: 500;
  color: #000;
}



/* ================= HEADER ================= */
.header {
  display: flex;
  align-items: center;
  padding: 20px 60px;
  background: #f5f0ea;
  border-bottom: 1px solid #e5e5e5;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  transition: transform 0.4s ease;
}

.header.hide {
  transform: translateY(-100%);
}

/* LOGO */
.logo img {
  display: block;
  max-width: 120px;
  height: auto;
}

/* ================= NAV MENU DESKTOP ================= */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
  
}


.nav-menu a {
  text-decoration: none;
  color: black;
  font-size: 14px;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 5px;
  font-weight: 700;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--black);
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: #d4af37  ; /* LILA */
}

.nav-menu a:hover::after {
  width: 100%;
  background: #d4af37; /* LILA */
}

/* ================= IDIOMAS ================= */
.language-switch button {
  background: transparent;
  border: 1px solid var(--black);
  padding: 5px 10px;
  margin-left: 5px;
  cursor: pointer;
  font-size: 12px;
}

.language-switch button:hover {
  background: var(--black);
  color: var(--white);
}

/* ================= MENU HAMBURGUESA ================= */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(to bottom, #fff, var(--beige));
  padding: 120px 20px;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  letter-spacing: 1px;
  margin-bottom: 30px;
  
}

.btn {
  display: inline-block;
  background: var(--black);
  color: white;
  padding: 14px 36px;
  text-decoration: none;
  letter-spacing: 1px;
  border: 1px solid var(--black);
  transition: all 0.4s ease;
}

.btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ================= PRODUCTOS ================= */
.products {
  padding: 80px 40px;
  background: whitesmoke;
  text-align: center;
}

.products h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px;
}

 .product-card {
  background: #f8f4ec;
  border: 1px solid #d4af37;
  padding: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}


.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.25);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-bottom: 1px solid #eee;
  border-radius: 6px;;
}

.product-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin: 15px 0 5px;
}

.price {
  color: var(--gold);
  font-weight: bold;
  margin-bottom: 10px;
}

.product-card button {
  background: var(--black);
  color: white;           /* ✅ TEXTO NEGRO */
  border: 1px solid var(--black);
  padding: 10px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-card button:hover {
  background: var(--gold);      /* 👈 DORADO AL HOVER */
  color: var(--black);
  border-color: var(--gold);
  transform: translateY(-2px);
}



/* ================= CARRITO ================= */
.cart {
  padding: 40px;
  background: var(--beige);
}

.cart h2 {
  text-align: center;
  margin-bottom: 20px;
}

#cart-items {
  list-style: none;
  max-width: 400px;
  margin: 0 auto 20px;
}

#cart-items li {
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

#cart-total {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
}

/* ================= FOOTER ================= */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 30px;
  text-align: center;
  font-size: 14px;
}

/* ================= ANIMACIÓN ================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE MÓVIL ================= */
@media (max-width: 768px) {

  

  .logo img {
    max-width: 90px;
  }

  .menu-toggle {
    display: block;
  }

  

  .hero {
    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  

  .cart {
    padding: 30px 20px;
  }

  .cart .btn {
    width: 100%;
  }
}
/* ANIMACIONES PREMIUM */

/* Tarjetas de producto */
.product-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
/* Botones elegantes */
.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  transform: scale(1.03);
}
/* Animación de entrada suave */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* MICROINTERACCIONES PREMIUM */

/* Contenedor de producto */
.product-card {
  overflow: hidden;
  border-radius: 8px;
}

/* Imagen del producto */
.product-card img {
  transition: transform 0.6s ease;

}

/* Zoom suave al pasar el mouse */
.product-card:hover img {
  transform: scale(1.08);
}
/* Overlay elegante */
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  opacity: 0;
  transition: opacity 0.4s ease;
}
/* ANIMACIÓN SUAVE DE ENTRADA */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card:hover::after {
  opacity: 1;
}
/* FIX PARA MICROINTERACCIONES */
.product-card {
  position: relative;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .products h2,
  .cart h2 {
    font-size: 1.8rem;
  }
}






/* ASEGURAR QUE NADA BLOQUEE LOS BOTONES */
.product-card * {
  pointer-events: auto;
}

.product-card::before,
.product-card::after {
  pointer-events: none;
}
/* TOAST - PRODUCTO AGREGADO */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--black);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 30px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 2000;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}





@keyframes cartBounce {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1); }
}
/* OVERLAY */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

/* PANEL DEL CARRITO */
.cart-panel {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  height: 100%;
  background: white;
  padding: 20px;
  box-shadow: -10px 0 30px rgba(0,0,0,0.2);
  transition: right 0.4s ease;
  z-index: 1600;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  right: 0;
}

.cart-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* HEADER */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.close-cart {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #000;
}

/* LISTA */
#cart-items {
  flex: 1;
  list-style: none;
  overflow-y: auto;
  padding: 0;
}

#cart-items li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* TOTAL */
#cart-total {
  font-weight: bold;
  margin: 20px 0;
  text-align: center;
}
/* ITEM DEL CARRITO */
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}

/* BOTÓN ELIMINAR */
.remove-item {
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease, transform 0.2s ease;
}

.remove-item:hover {
  color: var(--gold);
  transform: scale(1.2);
}
/* ================= CARRITO RESPONSIVE MÓVIL ================= */
@media (max-width: 768px) {

  .cart-panel {
    width: 85%;              /* MÁS ANGOSTO */
    max-width: 300px;        /* NO SE HACE GIGANTE */
    padding: 15px;           /* MÁS COMPACTO */
  }

  .cart-header h2 {
    font-size: 1.4rem;
  }

  #cart-items li {
    font-size: 13px;
    padding: 8px 0;
  }

  #cart-total {
    font-size: 15px;
  }

  .cart-panel .btn {
    font-size: 13px;
    padding: 10px;
  }

}
/* ================= FIX CARRITO MOVIL DEFINITIVO ================= */
@media (max-width: 768px) {

  .cart-panel {
    width: 90vw !important;      /* ocupa 90% del ancho */
    max-width: 280px !important; /* nunca más grande */
    padding: 12px !important;
  }

  .cart-header h2 {
    font-size: 1.2rem !important;
  }

  #cart-items li {
    font-size: 12px !important;
    padding: 6px 0 !important;
  }

  #cart-total {
    font-size: 14px !important;
  }

  .cart-panel .btn {

    font-size: 12px !important;
    padding: 8px !important;
  }
}

.cart-item div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item button {
  background: black;
  color: white;
  border: none;
  width: 22px;
  height: 22px;
  cursor: pointer;
}

.cart-item button:hover {
  background: var(--gold);
  color: black;
}
/* BOTÓN ELIMINAR (X) */
.remove-item {
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease, transform 0.2s ease;
}

.remove-item:hover {
  color: var(--gold);
  transform: scale(1.2);
}
/* ================= COOKIES ================= */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: var(--black);
  padding: 16px 22px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 3000;
  max-width: 90%;
  font-size: 14px;
}

.cookie-banner p {
  margin: 0;
  line-height: 1.4;
}

.cookie-banner button {
  background: var(--black);
  color: white;
  border: none;
  padding: 8px 18px;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.cookie-banner button:hover {
  background: var(--gold);
  color: var(--black);
}

/* MOBILE */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
/* ================= COOKIE BANNER ================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #111;
  color: white;
  padding: 16px 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  z-index: 3000;
  font-size: 14px;
}

.cookie-banner p {
  max-width: 70%;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.btn-accept {
  background: var(--gold);
  color: black;
  border: none;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
}

.btn-decline {
  background: transparent;
  color: white;
  border: 1px solid white;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 13px;
}

.btn-accept:hover {
  opacity: 0.9;
}

.btn-decline:hover {
  background: white;
  color: black;
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner p {
    max-width: 100%;
  }
}
/* ================= BENEFICIOS ================= */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 80px 40px;
  background: var(--beige);
  text-align: center;
}

.benefit h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.benefit p {
  font-size: 0.95rem;
  color: #555;
}

/* MOBILE */
@media (max-width: 768px) {
  .benefits {
    padding: 50px 20px;
    gap: 25px;
  }
}


/* ================= ABOUT ================= */
.about {
  background: whitesmoke;
  padding: 80px 20px;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
}

.about h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.about p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.7;
}


/* BOTÓN WHATSAPP */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #023619;
  color: black;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: #0F6F63;
  color: #000;
  transform: translateY(-2px);
}
/* HERO INICIO */
.hero-home {
  min-height: 100vh;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  background: none;
  padding: 0;
  border-radius: 0;
  margin-top: 100px;
}

.hero-content h1 {
  color: black; /* TEXTO NEGRO */
  font-size: 3.6rem;
  margin-bottom: 25px;
  text-shadow: 0px 3px 10px rgba(255, 255, 255, 0.6);

  -webkit-text-stroke: 1px black; /* 👈 borde negro */

}

.hero-btn {
  display: inline-block;
  background: black;
  color: white;
  padding: 14px 30px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #d4af37; /* dorado */
  color: black;
}

/* OCULTAR BOTONES ES / EN SOLO EN MÓVIL */
@media (max-width: 768px) {
  .lang-switch {
    display: none;
  }
}

/* OCULTAR BOTONES ES / EN SOLO EN MÓVIL */
@media (max-width: 768px) {
  header button {
    display: none;
  }
}

/* OCULTAR BOTONES ES / EN EN COMPUTADOR */
@media (min-width: 1024px) {
  .language-switch {
    display: none !important;
  }
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icons i {
  font-size: 1.5rem;
  color: #000;
  cursor: pointer;
}

.social-icons a:hover i {
  color: #b7a6c9; /* lila */
}

/* VIDEO INTRO HERO */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--beige);
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero preparado para capas */
.hero-home {
  position: relative;
  overflow: hidden;
}

/* Contenido encima del video */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Ocultar video cuando termine */
.hero-video.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

/* ================= CONTACTO ================= */
.contact {
  padding: 80px 20px;
  background: var(--white);
  text-align: center;
}

.contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.contact-text {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1rem;
  color: #555;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );
  color: black;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.instagram-btn:hover {
  filter: brightness(0.9);
  transform: translateY(-2px);
}

/* ================= ICONO WHATSAPP FLOTANTE ================= */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 3000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1); 
}

.contact {
  padding: 80px 20px;
  background: var(--beige);
  text-align: center;
}

.contact h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.contact p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

.contact-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.whatsapp-btn {
  background: #07aa01;
  color: black;
  padding: 14px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: #14a575;
  transform: translateY(-2px);
}

.whatsapp-btn.secondary {
  background: #111;
}

.whatsapp-btn.secondary:hover {
  background: #333;
  transform: scale(1.1);
}


.agotado {
  background-color: #eeecf0;
  color: #050007;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 8px;
}

.btn-agotado {
  background-color: #d9d9d9;
  color: #666;
  cursor: not-allowed;
  border: none;
}



@media (max-width: 768px) {

  .hero-home {
    min-height: 70vh;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

}

@media (max-width: 768px) {

  .btn,
  .product-card button,
  .whatsapp-btn,
  .instagram-btn {
    padding: 8px 18px;
    font-size: 13px;
  }

}

/* HEADER CELULAR PERFECTO */
@media (max-width: 768px) {

  body {
  padding-top: 70px;
}

  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 20px;
  }

  /* Menú izquierda */
  .menu-toggle {
    font-size: 1.8rem;
  }

  /* Logo perfectamente centrado */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .logo img {
    height: 40px;
  }

  /* Redes derecha */
  .social-icons {
    display: flex;
    gap: 12px;
  }

  .social-icons a {
    font-size: 1.4rem;
  }

  /* Ocultamos lo que no queremos arriba */
  
  .language-switch {
    display: none;
  }

  /* MENÚ LATERAL SOLO EN CELULAR */
.nav-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100vh;
  background: white;
  transition: 0.3s ease;
  padding: 60px 25px;
  z-index: 1000;

  display: flex;
  flex-direction: column;
  gap: 25px;

  align-items: flex-start;   /* 🔥 ESTA LÍNEA ES LA CLAVE */
  text-align: left;          /* 🔥 Y ESTA */
}

.nav-menu a {
  width: 100%;
  text-align: left;
}

.nav-menu.active {
  left: 0;
}

/* 🔥 ALINEAR TEXTO A LA IZQUIERDA */
  .nav-menu {
    align-items: flex-start;
    text-align: left;
  }

  .nav-menu a {
    text-align: left;
    width: 100%;
    display: block;
  }

/* FONDO OSCURO */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 900;
}

.overlay.active {
  display: block;
}

}

/* OCULTAR ES / EN EN TABLET */
@media (min-width: 769px) and (max-width: 1023px) {
  .language-switch {
    display: none !important;
  }
}



/* ================= PRODUCTOS RESPONSIVE PERFECTO ================= */

/* TABLET */
@media (max-width: 1023px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CELULAR */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-card {
    padding: 15px;
  }

  .product-card h3 {
    font-size: 0.85rem;
    line-height: 1.2;
    min-height: 45px;
    margin: 6px 0 4px;
  }

  .price {
    font-size: 0.8rem;
  }

  .product-card button {
    width: 100%;
    font-size: 11px;
    padding: 6px;
  }

  
}

/* BADGE AGOTADO SOBRE IMAGEN */
.product-image {
  position: relative;
}

.sold-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.842);
  color: white;
  font-size: 10px;
  padding: 6px 10px;
  border-radius: 4px;
  letter-spacing: 1px;
}

/* ================= MODAL IMAGEN ================= */

.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 5000;
}

.image-modal img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
  animation: zoomIn 0.3s ease;
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 35px;
  color: white;
  cursor: pointer;
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ================= ICONO CARRITO HEADER ================= */

.cart-icon-header {
  position: relative;
  cursor: pointer;
  font-size: 1.5rem;
  color: black;
  transition: transform 0.3s ease;
}

.cart-icon-header:hover {
  transform: scale(1.1);
  color: #8e4491;
}

/* Contador */
.cart-icon-header #cart-count {
  position: absolute;
  top: -6px;
  right: -10px;
  background: black;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 16px;
  text-align: center;
}







/* ================= SLIDER MARCA ================= */

.brand-slider {
  padding: 80px 20px;
  background: #f5f0ea;
  text-align: center;
}

.brand-slider h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: black;
}

.slider {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
  position: relative;
}

/* DOTS */
.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  transition: background-color 0.3s ease;
}

.dot.active {
  background: #d4af37; /* dorado elegante */
}