/* ================================
   Dali Cosmetics – Tema femenino elegante
   Base (colores de la empresa)
================================ */
:root{
  --primary:   #ff69b4; /* marrón oscuro/dorado */
  --secondary: #fe00ac; /* rosa polvoriento */
  --bg:        #fff0f6; /* rosa muy claro/peachy-pink */
  --panel:     #ffe6f0; /* panel/tarjeta */
  --text:      #551152; /* marrón oscuro/dorado */
  --muted:     #D4A69F; /* rosa polvoriento */
  --border:    #ffd6e7; /* dorado claro */
}


*{margin:0;padding:0;box-sizing:border-box}
html,body{height:100%}
body{
  font-family: "Poppins",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Layout global */
main{width:min(1100px,92%);margin:2rem auto}
h1,h2,h3{font-weight:700}
h2{color:var(--secondary);letter-spacing:.3px;margin:1rem 0 1.25rem}

/* ================================
   HEADER PRINCIPAL
================================ */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #F7E9E8; /* Fondo */
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* NAV PRINCIPAL */
.main-nav {
  padding: 1rem 2rem;
  position: relative; 
  display: flex;
  align-items: center;
  justify-content: center; /* ayuda al centrado */
}

/* Contenedor del logo centrado */
.logo-container {
  margin-top: 1.5rem; /* Empuja el logo hacia abajo */
  position: absolute;
  left: 50%;
  top: 50%; /* 🔽 lo mantenemos centrado verticalmente en la franja rosa */
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Logo responsivo */
.nav-logo {
  height: 70px;
  width: auto;
  animation: girarPink 3s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(255,105,180,0.4));
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 80px;
}


/* Hover: efecto elegante */
.nav-logo:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 12px rgba(255,20,147,0.6));
}

/* Animación de giro + pulso rosa */
@keyframes girarPink {
  0% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 0 6px rgba(255,182,193,0.4));
  }
  25% {
    transform: rotate(10deg) scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255,105,180,0.5));
  }
  50% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 0 12px rgba(255,20,147,0.6));
  }
  75% {
    transform: rotate(-10deg) scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255,105,180,0.5));
  }
  100% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 0 6px rgba(255,182,193,0.4));
  }
}
/* BOTONES DERECHA */
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-actions a {
  text-decoration: none;
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

/* Responsivo en móviles */
@media (max-width: 768px) {
  .nav-logo {
    height: 80px; /* más pequeño en móvil */
    margin-top: 70px
  }
}
/* ================================
   SUBNAV (categorías catálogo adaptado)
================================ */

/* 🔹 Forzar que el subnav siempre sea flex centrado */
.navbar.subnav {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  padding: 8px 0;
  margin-top: 2.4rem;  /* o más si se ve muy pegado */
}

/* 🔹 Ajustar el container interno */
.subnav .container-fluid {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

/* 🔹 Los enlaces se distribuyen en varias filas centrados */
.subnav .subnav-links {
  display: flex !important;
  flex-direction: row !important; /* No columna en móvil */
  flex-wrap: wrap !important;     /* Permite multilínea */
  justify-content: center !important;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 🔸 Estilo cartoon pinky para los botones del subnav */
.subnav .subnav-links li a {
  color: #fff !important;
  background-color: #ff69b4; /* pinky base */
  border: 2px solid #f8bbd0;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 #c2185b, 4px 4px 0 #f06292;
  transition: all 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hover cartoon */
.subnav .subnav-links li a:hover {
  background-color: #f06292;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 2px 2px 0 #c2185b, 6px 6px 0 #f06292;
}

/* Activo */
.subnav .subnav-links li a.active {
  background-color: #d81b60;
  box-shadow: inset 0 0 0 2px #fff, 2px 2px 0 #880e4f;
}


/* Responsive */
@media (max-width: 768px) {
  .subnav .subnav-links li a {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}


/* ================================
   SUBNAV2 (categorías catálogo adaptado)
================================ */

/* 🔹 Forzar que el subnav siempre sea flex centrado */
.navbar.subnav2 {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100%;
  padding: 8px 0;
  margin-top: 0.4rem;  /* o más si se ve muy pegado */
}

/* 🔹 Ajustar el container interno */
.subnav2 .container-fluid {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
}

/* 🔹 Los enlaces se distribuyen en varias filas centrados */
.subnav2 .subnav-links2 {
  display: flex !important;
  flex-direction: row !important; /* No columna en móvil */
  flex-wrap: wrap !important;     /* Permite multilínea */
  justify-content: center !important;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 🔸 Estilo cartoon pinky para los botones del subnav */
.subnav2 .subnav-links2 li a {
  color: #fff !important;
  background-color: #ff69b4; /* pinky base */
  border: 2px solid #f8bbd0;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 14px;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 #c2185b, 4px 4px 0 #f06292;
  transition: all 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Hover cartoon */
.subnav2 .subnav-links2 li a:hover {
  background-color: #f06292;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 2px 2px 0 #c2185b, 6px 6px 0 #f06292;
}

/* Activo */
.subnav2 .subnav-links2 li a.active {
  background-color: #d81b60;
  box-shadow: inset 0 0 0 2px #fff, 2px 2px 0 #880e4f;
}


/* Responsive */
@media (max-width: 768px) {
  .subnav2 .subnav-links2 li a {
    font-size: 0.85rem;
    padding: 8px 16px;
  }
}

/* ================================
 Hero (index)
================================ */
.hero {
  width: 100%;   /* ancho de toda la ventana */
  height: 60vh;   /* ocupa 60% de la altura de la ventana */
  margin: 0;      /* quita márgenes */
  padding: 0;     /* quita padding */
  overflow: hidden; /* evita scroll horizontal si algo se desborda */
}
.hero h2{color:#553A11;font-size:2rem;margin-bottom:.5rem}
.hero p{color:var(--secondary)}
.btn{
  display:inline-block;margin-top:1rem;padding:.7rem 1.2rem;border-radius:10px;
  font-weight:600;border:1px solid var(--border);
  background: var(--primary); color:#fff;
  transition: transform .15s ease, filter .2s ease, background-color .2s ease;
}
.btn:hover{transform: translateY(-1px); filter: brightness(1.05)}
.btn:active{transform: translateY(0) scale(.98)}

.hero img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* que la imagen se recorte y cubra toda el área */
}
/* =======================
   ESTILO DE PRODUCTOS EN CARD
   ======================= */

/* 🌸 Grid de productos - móviles (por defecto) */
#lista-productos {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ Fuerza 2 columnas en móviles */
  gap: 25px;
  padding: 20px;
}

/* Media query para pantallas medianas (tabletas) */
@media (min-width: 768px) {
  #lista-productos {
    grid-template-columns: repeat(auto-fill, minmax(250px, 2fr));
  }
}

/* Media query para pantallas grandes (escritorios) */
@media (min-width: 1024px) {
  #lista-productos {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}


/* 🌸 Tarjeta */
.producto-card {
  background: linear-gradient(145deg, #fff0f6, #ffe6f0); /* degrade rosadito */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(255, 182, 193, 0.35);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #ffd6e7;
}

.producto-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 24px rgba(255, 105, 180, 0.35);
}

/* 🌸 Imagen */
.producto-card .imagen-container {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 2px solid #ffd6e7;
}

.producto-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.producto-card:hover img {
  transform: scale(1.08);
}

/* 🌸 Etiquetas */
.etiqueta {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 20px;
  background: #ff69b4;
  color: #fff;
  box-shadow: 0 2px 6px rgba(255, 105, 180, 0.5);
}

.etiqueta-nuevo { background: #ff4da6; }
.etiqueta-promocion { background: #ff8c94; }
.etiqueta-ultimos { background: #ff1744; }
.agotado-label { background: #9e9e9e; }

/* 🌸 Info */
.producto-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #d63384;
  margin: 15px 12px 5px;
  font-family: "Comic Neue", "Poppins", cursive;
}

.producto-card .categoria {
  font-size: 14px;
  color: #888;
  margin: 0 12px 10px;
}

/* 🌸 Precios */
.precios {
  margin: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.precio-detalle {
  color: #e91e63;
  font-weight: bold;
  font-size: 15px;
}

.precio-mayor {
  color: #ad1457;
  font-weight: bold;
  font-size: 15px;
  background: #ffd6e7;
  padding: 3px 8px;
  border-radius: 10px;
  display: inline-block;
}

/* 🌸 Cantidad */
.cantidad-control {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 12px 0;
  gap: 6px;
}

.cantidad-control button {
  background: #ffb6c1;
  border: none;
  padding: 6px 12px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
  color: #fff;
}

.cantidad-control button:hover {
  background: #ff69b4;
}

.cantidad-control input {
  width: 55px;
  text-align: center;
  border: 1px solid #f8a1c4;
  border-radius: 10px;
  font-size: 14px;
  padding: 5px;
  background: #fff0f6;
  color: #d63384;
}

/* 🌸 Botones */
.btn {
  display: block;
  margin: 6px 12px;
  padding: 10px;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.btn.ver-detalles {
  background: #ffe6f0;
  color: #d63384;
  border: 1px solid #ffb6c1;
}

.btn.ver-detalles:hover {
  background: #ffd6e7;
  transform: scale(1.05);
}

.btn.agregar {
  background: #ff69b4;
  color: white;
  box-shadow: 0 4px 10px rgba(255, 105, 180, 0.3);
}

.btn.agregar:hover {
  background: #d63384;
  transform: scale(1.07);
}

.btn.agregar:disabled {
  background: #bbb;
  cursor: not-allowed;
}

/*ANIMACION AGREGAR FLOTANTE*/
.fly-image {
  position: fixed;
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 8px;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}
/* Estilo del nombre clickeable */
.link-nombre {
  color: inherit;        /* Usa el mismo color del h3 */
  text-decoration: none; /* Quita el subrayado */
  font-weight: inherit;  /* Mantiene el grosor del texto */
  font-size: inherit;    /* Mantiene el tamaño */
  font-family: inherit;  /* Mantiene la fuente */
  display: inline-block; /* Permite área clickeable */
}

.link-nombre:hover {
  text-decoration: underline; /* Opcional: subrayado al pasar el mouse */
  cursor: pointer;
}
/* ================================
 Footer
================================ */
.footer {
  background: var(--panel);
  color: var(--text);
  padding: 2rem 1rem;
  font-family: sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-col h4 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text);
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer .logo {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer .social a {
  color: var(--primary);
  font-size: 1.2rem;
  margin-right: 10px;
  transition: color 0.3s;
}

.footer .social a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

/* ================================
 Utilidades
================================ */
.hidden{display:none!important}

/* ================================
Formulario de contacto
================================ */
.form-contacto {
  background: var(#0606ff);
  padding: 2rem;
  border: 1px solid var(#0606ff);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-contacto label {
  font-weight: 600;
  color: var(#0606ff);
  font-size: .95rem;
}

.form-contacto input,
.form-contacto textarea {
  background: #0606ff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .7rem 1rem;
  color: var(--text);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}

.form-contacto input:focus,
.form-contacto textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(85,58,17,.3);
  outline: none;
}

.form-contacto .btn {
  align-self: flex-start;
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--border);
  font-weight: 600;
}
.form-contacto .btn:hover {
  background: var(--secondary);
  color: #553A11;
}

/* ================================
 Slider (hero)
================================ */
/* SLIDER ADAPTATIVO */
.slider {
  position: relative;
  width: 100%;       /* ocupa todo el ancho del hero */
  height: 65vh;      /* ocupa gran parte de la altura de la pantalla */
  margin: 0 auto;
  overflow: hidden;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
  height: 100%;
}

.slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* hace que la imagen cubra todo */
}

/* Botones */
.slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(85,58,17,.6);
  border: none;
  color: var(--secondary);
  font-size: 2rem;
  padding: .3rem .8rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s;
}
.slider button:hover {
  background: rgba(85,58,17,.7);
  color: #fff;
}
.prev { left: 10px; }
.next { right: 10px; }


/* CATALOGO PERSONALIZACION */

.categorias-nav {
  margin: 20px 0;
  text-align: center;
}

.categorias-nav ul {
  display: flex;
  justify-content: center;
  gap: 15px;
  list-style: none;
  padding: 0;
}

.categorias-nav li {
  background: var(--primary); /* Usando el color marrón oscuro/dorado */
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
  border: 2px solid var(--border); /* Borde dorado claro */
}

.categorias-nav li:hover,
.categorias-nav li.activo {
  background: var(--secondary); /* Rosa polvoriento */
  color: var(--text); /* Color marrón oscuro/dorado para el texto */
}

.barra-filtros {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.barra-filtros input,
.barra-filtros select {
  padding: 8px 12px;
  border-radius: 8px;
  border: 2px solid var(--border); /* Borde dorado claro */
  background: var(--bg); /* Rosa claro/peachy-pink */
  color: var(--text); /* Marrón oscuro/dorado para el texto */
}

.barra-filtros input:focus,
.barra-filtros select:focus {
  outline: none;
  border-color: var(--secondary); /* Rosa polvoriento para el borde al enfocar */
  box-shadow: 0 0 5px var(--secondary); /* Resplandor rosa alrededor del campo */
}


/*   PERSONALIZACION CARRITO*/

/* Imagen de productos */
.imagen-container {
  position: relative;
  width: 100%;
  height: auto;
}

/* Franja diagonal para productos agotados */
.agotado-label {
  position: absolute;
  top: 10px;
  left: 10px;
  transform: rotate(45deg);
  background-color: red;
  color: white;
  font-weight: bold;
  padding: 5px 15px;
  font-size: 16px;
  text-transform: uppercase;
}

/* Opacidad y estilo adicional para productos agotados */
.agotado {
  opacity: 0.6; /* Hace que los productos agotados se vean más desactivados */
}

.etiqueta {
  position: absolute;
  top: 10px;
  left: -35px;
  transform: rotate(-45deg);
  padding: 5px 40px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  z-index: 1;
}

.etiqueta-nuevo {
  background-color: green;
}

.etiqueta-promocion {
  background-color: orange;
}

.agotado-label {
  background-color: red;
}

.etiqueta-ultimos{
  background-color: purple;
}

/* 🔥 ESTILO CARRITO PRO E-COMMERCE 🔥 */
.item-carrito {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffe6f7; /* Fondo rosa suave */
  border: 1px solid #f1c6d6; /* Borde suave en rosa */
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item-carrito:hover {
  transform: scale(1.05); /* Aumenta ligeramente al pasar el ratón */
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.item-carrito img.miniatura {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #f0b3d1; /* Borde rosa claro */
}

.item-carrito .detalle {
  flex: 1;
  margin-left: 20px;
  font-family: 'Poppins', Arial, sans-serif; /* Fuente más moderna y suave */
}

.item-carrito .detalle h4 {
  margin: 0;
  font-size: 18px; /* Letra más grande para mayor legibilidad */
  font-weight: 700;
  color: #e91e63; /* Rosa fuerte */
}

.item-carrito .detalle p {
  margin: 4px 0 0;
  font-size: 16px; /* Mayor tamaño de letra */
  color: #d81b60; /* Rosa intermedio */
}

.item-carrito .detalle .precio {
  margin-top: 8px;
  font-size: 20px; /* Precio más grande */
  font-weight: 700;
  color: #ff4081; /* Rosa brillante */
}

.item-carrito .controles {
  display: flex;
  align-items: center;
  gap: 12px; /* Más espacio entre los controles */
}

.item-carrito button {
  padding: 10px 16px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-size: 16px; /* Botón con letra más grande */
  font-weight: 600;
  transition: all 0.2s ease;
}

/* Botones de cantidad */
.item-carrito button.menos, .item-carrito button.mas {
  background: #f8bbd0; /* Rosa claro para botones */
  color: #880e4f; /* Rosa oscuro para el texto */
  border: 1px solid #f06292; /* Borde más llamativo */
}

.item-carrito button.menos:hover, .item-carrito button.mas:hover {
  background: #f48fb1; /* Hover con rosa más oscuro */
}

/* Botón eliminar */
.item-carrito button.eliminar {
  background: #ff4081; /* Rosa brillante para el botón de eliminar */
  color: #fff;
  font-weight: 600;
  padding: 10px 16px;
  box-shadow: 0 3px 6px rgba(255,64,129,0.3);
}

.item-carrito button.eliminar:hover {
  background: #e91e63; /* Hover con rosa fuerte */
}

/* ✅ Para simular los grandes e-commerce */
.item-carrito .badge-oferta {
  display: inline-block;
  background: #ff80ab; /* Rosa vibrante para la etiqueta de oferta */
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 8px;
  margin-top: 6px;
}


/*FORMULARIO CARRITO*/

/* ================================
   🔹 MODAL FACTURA PINKY + ESTRELLITAS
================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(255, 182, 193, 0.3); /* rosado suave translúcido */
  backdrop-filter: blur(6px);
  animation: fadeIn 0.3s ease-in-out;
}

/* Fondo con estrellitas */
.modal::before {
  content: "✨ ✨ ✨";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 10%;
  left: 5%;
  font-size: 2rem;
  color: rgba(255, 182, 193, 0.6);
  animation: starsMove 6s infinite linear;
  pointer-events: none;
}

@keyframes starsMove {
  0% { transform: translateY(0) translateX(0); opacity: 0.8; }
  50% { transform: translateY(-20px) translateX(10px); opacity: 0.5; }
  100% { transform: translateY(0) translateX(0); opacity: 0.8; }
}

.modal-content {
  background: linear-gradient(145deg, #fff0f6, #ffe6f0);
  margin: 8% auto;
  padding: 25px 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 10px 25px rgba(255, 105, 180, 0.4);
  animation: slideDown 0.4s ease-in-out;
  border: 2px solid #ffb6c1;
  position: relative;
  z-index: 2;
}

.modal-content h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
  text-align: center;
  font-weight: bold;
  color: #ff4da6;
  text-shadow: 0 1px 2px rgba(255, 20, 147, 0.2);
}

/* Mensaje motivador */
.modal-content .mensaje {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  color: #e75480;
  margin-bottom: 18px;
  padding: 10px;
  background: rgba(255, 182, 193, 0.2);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(255, 20, 147, 0.15);
}

.modal-content label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 600;
  color: #e75480;
}

.modal-content input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 2px solid #ffc0cb;
  border-radius: 10px;
  background: #fff;
  transition: all 0.3s ease;
}

.modal-content input:focus {
  border-color: #ff4da6;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 20, 147, 0.5);
}

.btn-generar {
  display: block;
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #ff66b2, #ff1493);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.3s;
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
}

.btn-generar:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ff80bf, #ff3385);
  box-shadow: 0 6px 16px rgba(255, 20, 147, 0.5);
}

.cerrar {
  color: #ff69b4;
  float: right;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}

.cerrar:hover {
  color: #ff1493;
}

/* Animaciones */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideDown {
  from {transform: translateY(-30px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}
/* ================================
   DETALLE PRODUCTO
================================ */
.detalle-producto {
  margin-top: 2rem;
}

.producto-info {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap; /* ✅ hace responsive en pantallas pequeñas */
}





/* ================================
   🎀 Drop-in estilo Rosita Girly
   ================================ */
   :root {
    --girly-bg:        #fff0f6;
    --girly-panel:     #ffe6f0;
    --girly-primary:   #ff69b4;
    --girly-secondary: #ffb6c1;
    --girly-accent:    #d63384;
    --girly-border:    #ffd6e7;
  }
  
  /* 🌸 Fondo general */
  body {
    background: var(--girly-bg);
    color: var(--girly-accent);
  }
  
  /* 🌸 Header rosita con sombra */
  .main-header {
    background: var(--girly-panel);
    box-shadow: 0 3px 10px rgba(255, 182, 193, 0.3);
  }
  
  /* 🌸 Subnav girly */
  .subnav {
    background: var(--girly-panel);
    border-color: var(--girly-border);
    box-shadow: 0 3px 8px rgba(255, 182, 193, 0.25);
  }
  .subnav-links li a {
    background: var(--girly-primary);
    border-color: var(--girly-border);
  }
  .subnav-links li a:hover,
  .subnav-links li a.activo {
    background: var(--girly-secondary);
    color: var(--girly-accent);
    box-shadow: 0 4px 10px rgba(255, 182, 193, 0.45);
  }
  
  /* 🌸 Botones */
  .btn {
    background: var(--girly-primary);
    border: 1px solid var(--girly-border);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 105, 180, 0.3);
  }
  .btn:hover {
    background: var(--girly-accent);
    transform: scale(1.05);
  }
  
  /* 🌸 Tarjetas de productos */
  .producto-card {
    background: linear-gradient(145deg, var(--girly-bg), var(--girly-panel));
    border: 2px solid var(--girly-border);
    box-shadow: 0 6px 16px rgba(255, 182, 193, 0.35);
  }
  .producto-card:hover {
    box-shadow: 0 12px 28px rgba(255, 105, 180, 0.45);
  }
  
  /* 🌸 Títulos en tarjetas */
  .producto-card h3 {
    color: var(--girly-accent);
  }
  
  /* 🌸 Inputs y selects girly */
  input, textarea, select {
    border: 1px solid var(--girly-border);
    background: var(--girly-panel);
    color: var(--girly-accent);
    border-radius: 10px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }
  input:focus, textarea:focus, select:focus {
    border-color: var(--girly-primary);
    box-shadow: 0 0 6px rgba(255,105,180,0.4);
    outline: none;
  }
  
  /* 🌸 Footer girly */
  footer {
    color: var(--girly-accent);
    border-top: 2px solid var(--girly-border);
  }
  
  /* 🌸 Slider */
  .slider {
    border: 2px solid var(--girly-border);
    box-shadow: 0 8px 18px rgba(255,182,193,.35);
  }
  .slider button {
    background: rgba(255,105,180,.6);
    color: #fff;
  }
  .slider button:hover {
    background: rgba(214,51,132,.8);
  }



  /* PERSONALIZACION EFECTOS ESPECIALES PARA LA PAGINA CORAZONES Y ESTERLLAS
  EFECTOS ESPECIALES INTEGRADOS CON INDEX.HTML Y EFECTOS-MAGICOS.JS
  EFECTOS ESPECIALES 
  */
  .floating-hearts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* para que no bloqueen clics */
    overflow: hidden;
    z-index: 9999; /* encima de todo */
  }
  
  .heart {
    position: absolute;
    bottom: -20px;
    color: #ff69b4;
    font-size: 16px;
    animation: floatUp 6s linear infinite;
    opacity: 0.7;
  }
  
  @keyframes floatUp {
    0% { transform: translateY(0) scale(0.8); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(-120vh) scale(1.2); opacity: 0; }
  }

  /* Contenedor de estrellitas ✨ */
.sparkly {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

/* Estrellitas ✨ */
.star {
  position: absolute;
  bottom: -20px;
  animation: floatSparkle linear infinite;
  opacity: 0.7;
}

/* Keyframes: suben + parpadean */
@keyframes floatSparkle {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 1;
    transform: translateY(-20vh) scale(1.1);
  }
  40% {
    opacity: 0.5;
    transform: translateY(-40vh) scale(0.9);
  }
  60% {
    opacity: 1;
    transform: translateY(-60vh) scale(1.2);
  }
  80% {
    opacity: 0.6;
    transform: translateY(-80vh) scale(1);
  }
  100% {
    transform: translateY(-100vh) scale(1);
    opacity: 0;
  }
}

/* FIN EFECTOS ESPECIALES */

/*ESTILOS MODAL NUEVO */

.modal-confirmacion {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4caf50;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.modal-confirmacion.mostrar {
  opacity: 1;
  pointer-events: auto;
}


/* ESTILOS ULTIMO CARRITO EMERGENTE */
.carrito-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 105, 180, 0.9); /* rosado con transparencia */
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  display: none; /* oculto por defecto */
  z-index: 10001;
  text-align: center;
  width: auto;       /* 👈 solo ocupa el espacio necesario */
  max-width: 250px;  /* 👈 evita que crezca demasiado */
  box-shadow: 0px 4px 12px rgba(0,0,0,0.25);
  animation: fadeSlideUp 0.3s ease;
}

.carrito-toast p {
  margin: 0;
  font-size: 14px;
  font-weight: bold;
}

.carrito-toast .btn-ir-carrito {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  background: #ff1493;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
}

.carrito-toast .btn-ir-carrito:hover {
  background: #d60f80;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* Contenedor de cantidad */
.acciones-carrito {
  margin-top: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Label */
.acciones-carrito label {
  font-weight: bold;
  color: #d63384; /* rosa fuerte */
  font-size: 14px;
}

/* === STEPPER === */
.stepper {
  display: flex;
  align-items: center;
  border: 2px solid #ff69b4;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
}

.step-btn {
  background: #ff69b4;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  transition: background 0.2s;
}

.step-btn:hover {
  background: #ff1493;
}

/* Input cantidad dentro del stepper */
#cantidad {
  width: 50px;
  text-align: center;
  border: none;
  font-size: 14px;
  font-weight: bold;
  color: #d63384;
  background: #fff;
  pointer-events: none; /* no editable directamente */
}

/* Botón "Agregar al carrito" */
.acciones-carrito .btn.agregar {
  background: linear-gradient(90deg, #ff69b4, #ff1493);
  color: white;
  font-weight: bold;
  border-radius: 8px;
  padding: 8px 14px;
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.acciones-carrito .btn.agregar:hover {
  background: linear-gradient(90deg, #ff85c1, #d60f80);
  transform: scale(1.05);
}

/* === BOTÓN CATÁLOGO (sin bordes marrones) === */
.btn-catalogo {
  background: linear-gradient(90deg, #ff69b4, #ff1493);
  border: none !important;
  color: white !important;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: bold;
  box-shadow: 0px 3px 8px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}

.btn-catalogo:hover {
  background: linear-gradient(90deg, #ff85c1, #d60f80);
  transform: scale(1.05);
}


/* ===================== */
/* 📱 MENÚ RESPONSIVE    */
/* ===================== */

/* Desktop (normal visible) */
.subnav {
  display: flex; /* visible en desktop */
  justify-content: center;
  margin-top: 10px;
}

.subnav-links {
  display: flex;
  gap: 20px;
}

.subnav.active {
  display: block;
}

/* Botón hamburguesa oculto en desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #ff1493; /* rosa fuerte */
  border-radius: 3px;
}

/* ===================== */
/* Mobile (max-width 768px) */
/* ===================== */
@media (max-width: 768px) {
  .subnav {
    display: none;
    position: absolute;
    top: 65px;
    right: 10px;
    background: linear-gradient(145deg, #fff0f6, #ffe6f0); /* 🎨 degradado rosa suave */
    border: 1px solid #ffd6e8;
    border-radius: 16px;
    padding: 18px 15px;
    width: 220px;
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.25); /* sombra rosada difusa */
    z-index: 2000;
  }

  .subnav.active {
    display: block;
    animation: fadeIn 0.35s ease;
  }

  .subnav-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .subnav-links a {
    background: linear-gradient(145deg, #ff8ac6, #ff69b4); /* degradado rosa */
    color: #fff;
    text-align: center;
    padding: 8px 14px;
    border-radius: 25px; /* pastilla */
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 3px 6px rgba(255, 20, 147, 0.2);
    transition: all 0.2s ease;
  }

  .subnav-links a:hover {
    background: linear-gradient(145deg, #ff69b4, #ff1493);
    transform: scale(1.05); /* efecto sutil */
  }

  /* título catálogo */
  .subnav-links span {
    font-size: 14px;
    font-weight: bold;
    color: #d63384;
    margin-bottom: 6px;
    text-align: center;
  }
}

/* Animación */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ================================
   GALERÍA DEL PRODUCTO
================================ */
.galeria-producto {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1 1 320px;
  max-width: 420px;
}

/* Imagen principal */
.imagen-principal-container {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.imagen-principal {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  cursor: zoom-in; /* cursor lupa */
}
.imagen-principal:hover {
  transform: scale(1.02);
}

/* Miniaturas tipo ML */
.galeria-thumbs {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.galeria-thumbs img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s;
}
.galeria-thumbs img:hover {
  border-color: var(--secondary);
  transform: scale(1.08);
}
.galeria-thumbs img.activo {
  border-color: var(--primary);
}

/* ================================
   DESCRIPCIÓN DEL PRODUCTO
================================ */
.descripcion {
  flex: 2 1 400px;
}

.descripcion h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.descripcion p {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #444;
}

.descripcion button {
  padding: 0.8rem 1.4rem;
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.descripcion button:hover {
  background-color: var(--secondary);
  transform: translateY(-2px);
}

/* ================================
   PRODUCTOS RECOMENDADOS
================================ */
.recomendados {
  margin-top: 2.5rem;
  width: 100%;
  position: relative;
}

.recomendados h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #222;
}

/* Carrusel */
.carousel {
  display: flex;
  align-items: center;
  position: relative;
}

.carousel-window {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-track .card {
  flex: 0 0 auto;
  width: 200px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fdfdfd, #ffffff);
  color: #333;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.carousel-track .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.carousel-track .card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.6rem;
}

/* Botones flechas */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.3s, transform 0.2s;
}
.carousel-btn:hover {
  background: #fff;
  transform: scale(1.1);
}
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

/* Placeholder íconos */
.icon-left, .icon-right {
  font-size: 1.5rem;
  pointer-events: none;
}

/* ================================
   ANIMACIONES
================================ */
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
  to { opacity: 0; transform: translateX(100%); }
}

/* ================================
   RESPONSIVE
================================ */

/* Tablets */
@media (max-width: 1024px) {
  .carousel .card {
    width: 160px;
  }
  .carousel .card img {
    height: 120px;
  }
}

/* Celulares grandes */
@media (max-width: 768px) {
  .carousel-track { gap: 0.8rem; }
  .carousel .card {
    width: 140px;
    padding: 0.8rem;
  }
  .carousel .card img {
    height: 100px;
  }
  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
}

/* Celulares pequeños */
@media (max-width: 480px) {
  .carousel .card {
    width: 120px;
    padding: 0.6rem;
  }
  .carousel .card h3 {
    font-size: 0.9rem;
  }
  .carousel .card .precio {
    font-size: 0.85rem;
  }
  .carousel .card img {
    height: 90px;
  }
}

/* ================================
   ZOOM LATERAL
================================ */
#zoom-sidebar {
  flex: 1;
  display: none; /* oculto por defecto */
  border: 1px solid var(--border, #ddd);
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-width: 500px;   /* 🔥 aseguramos que sea grande */
  min-height: 500px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

#zoom-sidebar.activo {
  display: block;
}

#zoom-img {
  width: 100%;
  height: 100%;
  object-fit: contain;  /* la imagen completa, sin recorte */
  transition: transform 0.25s ease;
}

/* Responsive: en pantallas chicas el zoom baja */
@media (max-width: 1024px) {
  #zoom-sidebar {
    max-width: 100%;
    min-width: auto;
    min-height: auto;
    order: 3; /* baja debajo de galería/descripcion */
  }
}



/* FRANJA PUBLICITARIA (versión moderna y estable) */


.announcement-bar {
  background: linear-gradient(90deg, #d63384, #f06595);
  color: #fff;
  padding: 10px;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: .5px;
}

.marquee {
  display: inline-block;
  padding-left: 100%; /* arranca fuera */
  animation: marquee 60s linear infinite;
}

.marquee span {
  display: inline-block;
  margin-right: 80rem; /* ← espacio entre textos */
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* OVERLAY DE CARGA CARRITO DE COMPRAS */

/* ================================
   Overlay de carga con logo
================================ */
#overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.overlay-content {
  text-align: center;
  color: white;
  font-size: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overlay-logo {
  width: 80px;
  margin-bottom: 15px;
}

.spinner {
  border: 6px solid rgba(255,255,255,0.3);
  border-top: 6px solid #fff;
  border-radius: 50%;
  width: 50px; height: 50px;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}


/* Contenedor de botones flotantes */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

/* Botón de WhatsApp */
.btn-whatsapp {
  background: #25D366;
  color: white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.btn-whatsapp:hover { transform: scale(1.1); }

/* Botón de Carrito */
.btn-carrito {
 background: #d63384; /* púrpura elegante */
  color: white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.btn-carrito:hover { transform: scale(1.1); }

/* Botón de Catálogo */
.btn-catalogo {
  background: #d63384; /* púrpura elegante */
  color: white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}
.btn-catalogo:hover { transform: scale(1.1); }


/* Footer */
.carrito-footer {
  border-top: 1px solid #ddd;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#finalizar-compra {
  background: #d63384;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

#finalizar-compra:hover {
  background: #b02668;
}

/* Overlay */
.overlay-carrito {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: none;
  z-index: 9999;
}

.overlay-carrito.visible {
  display: block;
}

/* =======================
   FORMULARIO DE CONTACTO
========================== */

.contact-form-container {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  background: linear-gradient(145deg, #ffe6f0, #fff0f6); /* Fondo pinky suave */
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(233, 30, 99, 0.2); /* Más suave y glowy */
  text-align: center;
  border: 2px solid #f8bbd0;
  animation: fadeIn 0.4s ease-in-out;
  backdrop-filter: blur(4px); /* Suavidad adicional */
}

.contact-form-container h2 {
  color: #e91e63;
  font-size: 2.2em;
  font-weight: 800;
  margin-bottom: 25px;
  font-family: 'Poppins', sans-serif;
}

/* Etiquetas */
.form-label {
  font-size: 1.1em;
  color: #d81b60;
  margin-bottom: 8px;
  display: block;
  font-weight: 600;
}

/* Inputs */
.form-control {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #f48fb1;
  padding: 14px 18px;
  font-size: 1em;
  background-color: #ffeef5;
  color: #333;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

.form-control::placeholder {
  color: #c2185b;
  opacity: 0.6;
}

.form-control:focus {
  border-color: #f06292;
  box-shadow: 0 0 12px rgba(233, 30, 99, 0.4);
  background-color: #fff;
  outline: none;
}

/* Textarea específica */
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Botón */
.btn-pinky {
  background-color: #ec407a;
  color: white;
  border-radius: 12px;
  width: 100%;
  font-size: 18px;
  padding: 14px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(236, 64, 122, 0.3);
}

.btn-pinky:hover {
  background-color: #c2185b;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(236, 64, 122, 0.4);
}

/* Espaciado entre campos */
.mb-3 {
  margin-bottom: 25px;
}

/* Animaciones */
.contact-form-container .form-control,
.contact-form-container .btn-pinky {
  transition: all 0.3s ease;
}

.contact-form-container .form-control:focus,
.contact-form-container .btn-pinky:hover {
  transform: scale(1.02);
}

/* Fade in */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsivo */
@media (max-width: 768px) {
  .contact-form-container {
    padding: 30px 20px;
  }

  .contact-form-container h2 {
    font-size: 1.8em;
  }

  .btn-pinky {
    font-size: 16px;
  }
}


.acciones-carrito {
  display: flex;
  gap: 1rem; /* espacio entre botones */
}

.acciones-carrito button {
  flex: 1; /* cada botón ocupa el mismo ancho */
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: bold;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.3s;
}

/* 🔹 Estilo botón Volver */
.btn-volver {
  background: linear-gradient(135deg, #ff66b2, #ff1493);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
}

.btn-volver:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ff80bf, #ff3385);
  box-shadow: 0 6px 16px rgba(255, 20, 147, 0.5);
}

/* 🔹 Estilo botón Factura */
.btn-factura {
  background: linear-gradient(135deg, #ff66b2, #ff1493);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(255, 105, 180, 0.4);
}

.btn-factura:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ff80bf, #ff3385);
  box-shadow: 0 6px 16px rgba(255, 20, 147, 0.5);
}


/* FILTROS DE BÚSQUEDA */

/* Contenedor general */
.catalogo-controles {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  background: #fff0f6;
  padding: 24px;
  margin-bottom: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Inputs y selects */
.catalogo-controles input,
.catalogo-controles select {
  background-color: #ff69b4; /* rosa fuerte */
  color: white;
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 0 #d1478c;
}

/* Hover */
.catalogo-controles input:hover,
.catalogo-controles select:hover {
  background-color: #f06292;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #c2185b;
}

/* Focus */
.catalogo-controles input:focus,
.catalogo-controles select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 105, 180, 0.4);
}

/* Input de búsqueda */
.catalogo-controles input {
  flex: 1;
  min-width: 220px;
}

/* Select (ordenar y categoría) */
.catalogo-controles select {
  min-width: 180px;
}

/* Buscador específico */
.nav-search {
  margin-top: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .catalogo-controles {
    padding: 20px 16px;
  }

  .nav-search {
    margin-top: 12px;
  }

  .nav-search input {
    width: 100%;
    max-width: 300px;
  }

  .catalogo-controles input,
  .catalogo-controles select {
    width: 100%;
    max-width: 100%;
  }
}


/* ================================
   🎨 Tonos de productos
================================ */
.tonos-container {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 10px 0;
}

.tono-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ccc;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #fff;
  background-size: cover;   /* 🔹 Ajusta imagen como fondo */
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border 0.3s, background 0.3s;
}

/* Si el tono tiene imagen interna */
.tono-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

/* Número en esquina */
.tono-btn .tono-num {
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 0.65rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 1px 4px;
  border-radius: 8px;
  pointer-events: none;
}

/* Hover */
.tono-btn:hover:not(.sin-stock) {
  border: 2px solid #888;
  background-color: #f1f1f1;
}

/* Seleccionado */
.tono-btn.seleccionado,
.tono-btn.activo {
  border: 2px solid gold;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.7);
}

/* Sin stock */
.tono-btn.sin-stock {
  cursor: not-allowed;
  opacity: 0.6;
}

.tono-btn.sin-stock::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 6px,
    red 6px,
    red 10px
  );
  pointer-events: none;
}

/* ================================
🎨 Tonos en el carrito
================================ */
.tono-circulo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}




/* Estilo para la section específica */
main > section:nth-child(4) {
  margin-top: 80px;
  display: grid; /* Activa Grid */
  grid-template-columns: repeat(2, 1fr); /* 2 columnas */
  gap: 16px; /* separación entre columnas */
  align-items: center; /* centra verticalmente */
  justify-items: center; /* centra horizontalmente */
}

main > section:nth-child(4)  {
  padding: 0;
}

main > section:nth-child(4)  img {
  max-width: 100%;   /* nunca excede el ancho del contenedor */
  width: 70%;        /* controla el tamaño (ajusta según quieras) */
  height: auto;      /* mantiene proporción */
  display: block;    /* elimina el espacio fantasma debajo/los bordes */
  margin: 0 auto;    /* centra la imagen */
}



