/* =========================================================
   style.css — Zira Indumentaria
   Paleta: tonos pastel rosados, crema y malva suave
   Fuentes: Cormorant Garamond (display) + DM Sans (body)
   ========================================================= */

/* ---- Variables de diseño ---- */
:root {
  --rosa:       #f2c4ce;    /* rosa pastel principal */
  --rosa-deep:  #e8a0b0;    /* rosa más saturado para hovers */
  --malva:      #d4a5b5;    /* acento malva */
  --crema:      #fdf8f5;    /* fondo principal */
  --crema-2:    #f7f0eb;    /* fondo alterno */
  --nude:       #e8dcd5;    /* bordes y separadores */
  --texto:      #3a2d2d;    /* color de texto oscuro */
  --texto-soft: #7a6060;    /* texto secundario */
  --blanco:     #ffffff;
  --sombra:     0 8px 32px rgba(180, 120, 130, 0.13);
  --sombra-hover: 0 16px 48px rgba(180, 120, 130, 0.22);
  --radius:     18px;
  --radius-sm:  10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset y base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--crema);
  color: var(--texto);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 245, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--nude);
  transition: box-shadow var(--transition);
}

/* Sombra cuando se hace scroll (se agrega con JS) */
.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(180,120,130,0.10);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo en la navbar */
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--texto);
  letter-spacing: 0.05em;
}

/* Links de navegación */
.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--texto-soft);
  letter-spacing: 0.03em;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--malva);
}

/* Botón del carrito */
.cart-btn {
  position: relative;
  background: var(--rosa);
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--texto);
  transition: background var(--transition), transform var(--transition);
}

.cart-btn:hover {
  background: var(--rosa-deep);
  transform: scale(1.08);
}

/* Contador de ítems en el carrito */
.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--malva);
  color: var(--blanco);
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--crema);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 24px 48px;
  background: var(--crema);
}

/* Blobs de fondo decorativos */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--rosa) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: floatBlob 8s ease-in-out infinite;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, var(--malva) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  animation: floatBlob 10s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(20px, -20px) scale(1.05); }
}

/* Contenido central del hero */
.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.9s ease both;
}

.hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--malva);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 300;
  line-height: 1;
  color: var(--texto);
  margin-bottom: 20px;
}

.hero-title em {
  font-style: italic;
  color: var(--malva);
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--texto-soft);
  margin-bottom: 36px;
  font-weight: 300;
}

/* Botón principal */
.btn-primary {
  display: inline-block;
  background: var(--texto);
  color: var(--crema);
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(58,45,45,0.18);
}

.btn-primary:hover {
  background: var(--malva);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(180,120,130,0.30);
}

/* Tarjetas flotantes decorativas del hero */
.hero-card {
  position: absolute;
  background: var(--blanco);
  border: 1px solid var(--nude);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--texto-soft);
  box-shadow: var(--sombra);
  z-index: 2;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-card i {
  font-size: 1rem;
  color: var(--rosa-deep);
}

.card-left  { bottom: 22%; left: 6%; animation-delay: -2s; }
.card-right { top: 25%;    right: 6%; animation-delay: -4s; }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* =========================================================
   SECCIONES COMUNES
   ========================================================= */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--malva);
  margin-bottom: 8px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--texto);
  line-height: 1.15;
}

.section-sub {
  margin-top: 10px;
  color: var(--texto-soft);
  font-size: 0.95rem;
  font-weight: 300;
}

/* =========================================================
   CATÁLOGO
   ========================================================= */
.catalogo {
  padding: 100px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---- Filtros ---- */
.filtros {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 52px;
}

.filtro-btn {
  padding: 9px 22px;
  border: 1.5px solid var(--nude);
  background: var(--blanco);
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--texto-soft);
  cursor: pointer;
  transition: all var(--transition);
}

.filtro-btn:hover,
.filtro-btn.active {
  background: var(--texto);
  border-color: var(--texto);
  color: var(--crema);
}

/* ---- Grid de productos ---- */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

/* ---- Tarjeta de producto ---- */
.producto-card {
  background: var(--blanco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  /* Animación al aparecer */
  animation: fadeInUp 0.5s ease both;
}

.producto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra-hover);
}

/* Estado oculto para filtro */
.producto-card.hidden {
  display: none;
}

/* Contenedor de imagen */
.producto-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--crema-2);
}

.producto-card:hover .producto-img-principal {
  transform: scale(1.06);
}

/* Etiqueta de categoría sobre la imagen */
.producto-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(253,248,245,0.90);
  backdrop-filter: blur(6px);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--malva);
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--nude);
}

/* =========================================================
   CARRUSEL DE IMÁGENES EN CARD
   ========================================================= */

/* Transición de opacidad en la imagen al cambiar */
.producto-img-principal {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, opacity 0.18s ease;
}

/* Flechas */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(253, 248, 245, 0.88);
  backdrop-filter: blur(6px);
  border: 1px solid var(--nude);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--texto);
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.22s ease, background 0.2s ease;
  z-index: 5;
  padding: 0;
}

.carousel-btn:hover {
  background: var(--rosa);
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

/* Mostrar flechas solo al hacer hover en la card */
.producto-card:hover .carousel-btn {
  opacity: 1;
}

/* Puntos indicadores */
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: rgba(253, 248, 245, 0.55);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot.active {
  background: var(--blanco);
  transform: scale(1.25);
}

/* Info del producto */
.producto-info {
  padding: 18px 18px 20px;
}

.producto-nombre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--texto);
  margin-bottom: 4px;
}

.producto-precio {
  font-size: 0.95rem;
  color: var(--malva);
  font-weight: 500;
  margin-bottom: 14px;
}

/* Botón agregar al carrito */
.btn-agregar {
  width: 100%;
  padding: 11px;
  background: var(--rosa);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--texto);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background var(--transition), transform var(--transition);
}

.btn-agregar:hover {
  background: var(--rosa-deep);
  transform: scale(1.02);
}

/* Selector de colores */
.colores-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.color-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 50px;
  border: 1px solid var(--nude);
  background: transparent;
  color: var(--texto);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.color-btn:hover:not(:disabled) {
  border-color: var(--malva);
  color: var(--malva);
}

.color-btn--activo {
  background: var(--texto);
  border-color: var(--texto);
  color: var(--crema);
}

.color-btn--agotado {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Color en el carrito */
.cart-item-color {
  display: inline-block;
  font-size: 0.7rem;
  background: var(--rosa);
  color: var(--texto);
  padding: 2px 8px;
  border-radius: 50px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 400;
}

/* =========================================================
   CARRITO — Overlay y Panel
   ========================================================= */

/* Fondo oscuro cuando el carrito está abierto */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(58,45,45,0.35);
  z-index: 1100;
  backdrop-filter: blur(2px);
  animation: fadeIn 0.3s ease;
}

.cart-overlay.open {
  display: block;
}

/* Panel lateral del carrito */
.cart-panel {
  position: fixed;
  top: 0;
  right: -480px; /* oculto fuera de pantalla */
  width: min(480px, 100vw);
  height: 100%;
  background: var(--crema);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(58,45,45,0.12);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Encabezado del carrito */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--nude);
}

.cart-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--texto-soft);
  transition: color var(--transition);
}

.cart-close:hover {
  color: var(--texto);
}

/* Lista de ítems (scrollable) */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Mensaje de carrito vacío */
.cart-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--texto-soft);
}

.cart-empty i {
  font-size: 3rem;
  color: var(--nude);
  display: block;
  margin-bottom: 12px;
}

/* Ítem individual del carrito */
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--blanco);
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: 0 2px 10px rgba(180,120,130,0.08);
}

.cart-item-img {
  width: 64px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-nombre {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.cart-item-precio {
  font-size: 0.82rem;
  color: var(--malva);
}

/* Controles de cantidad */
.cart-item-controles {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.ctrl-btn {
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--nude);
  background: var(--crema);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.ctrl-btn:hover {
  background: var(--rosa);
  border-color: var(--rosa);
}

.ctrl-cantidad {
  font-size: 0.88rem;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}

/* Botón eliminar ítem */
.btn-eliminar {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--nude);
  font-size: 1rem;
  transition: color var(--transition);
  flex-shrink: 0;
}

.btn-eliminar:hover {
  color: #c07a8a;
}

/* ---- Resumen / Summary ---- */
.cart-summary {
  padding: 16px 24px 28px;
  border-top: 1px solid var(--nude);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 500;
}

.cart-total {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--malva);
}

/* ---- Alias de pago ---- */
.alias-box {
  background: var(--crema-2);
  border: 1px solid var(--nude);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.alias-label {
  font-size: 0.75rem;
  color: var(--texto-soft);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.alias-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.alias-text {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--texto);
}

.alias-copy-btn {
  background: var(--texto);
  color: var(--crema);
  border: none;
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'DM Sans', sans-serif;
  transition: background var(--transition);
  white-space: nowrap;
}

.alias-copy-btn:hover {
  background: var(--malva);
}

/* Mensaje de copiado (oculto por defecto) */
.alias-copied {
  font-size: 0.75rem;
  color: var(--malva);
  margin-top: 6px;
  opacity: 0;
  transition: opacity var(--transition);
}

.alias-copied.show {
  opacity: 1;
}

/* ---- Fila total en efectivo ---- */
.cart-total-efectivo-row {
  background: #f0faf4;
  border: 1.5px solid #b6e8c8;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: -4px;
}

.cart-total-efectivo-row span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: #2d7a50;
  font-weight: 500;
}

.cart-total-efectivo-row i {
  font-size: 1rem;
}

.cart-total-efectivo {
  font-size: 1rem;
  font-weight: 700;
  color: #1f6b42;
}

.descuento-badge {
  background: #25a060;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
  letter-spacing: 0.03em;
  vertical-align: middle;
}


.pasos-compra {
  background: var(--blanco);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.pasos-titulo {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.paso {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.paso:last-child {
  margin-bottom: 0;
}

.paso-num {
  width: 22px;
  height: 22px;
  background: var(--rosa);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--texto);
}

.paso p {
  font-size: 0.8rem;
  color: var(--texto-soft);
  line-height: 1.4;
}

/* ---- Botón WhatsApp principal ---- */
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: var(--blanco);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
  text-align: center;
}

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

/* ---- Vaciar carrito ---- */
.btn-vaciar {
  background: none;
  border: 1.5px solid var(--nude);
  border-radius: var(--radius-sm);
  padding: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--texto-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition);
}

.btn-vaciar:hover {
  border-color: #c07a8a;
  color: #c07a8a;
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contacto {
  padding: 100px 24px;
  background: var(--crema-2);
  text-align: center;
}

.contacto-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}

/* Botones de contacto */
.btn-contact-wa,
.btn-contact-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
}

.btn-contact-wa {
  background: #25D366;
  color: var(--blanco);
}

.btn-contact-wa:hover {
  background: #1db955;
  transform: translateY(-2px);
}

.btn-contact-ig {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
  color: var(--blanco);
}

.btn-contact-ig:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* =========================================================
   ENVÍOS
   ========================================================= */
.envios {
  padding: 100px 24px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.envios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0 auto 48px;
  max-width: 640px;
}

.envio-card {
  background: var(--crema);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.envio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.envio-card--destacado {
  background: var(--texto);
  color: var(--crema);
  border-color: var(--texto);
}

.envio-card--destacado .envio-desc {
  color: rgba(255,255,255,0.75);
}

.envio-icon {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--acento);
}

.envio-card--destacado .envio-icon {
  color: var(--crema);
}

.envio-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.envio-desc {
  font-size: 0.88rem;
  color: var(--texto-suave);
  line-height: 1.65;
  margin: 0;
}

/* Botón WhatsApp de la sección envíos */
.btn-envios-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: var(--blanco);
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity var(--transition), transform var(--transition);
}

.btn-envios-wa:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* =========================================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 28px rgba(37,211,102,0.55);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--texto);
  color: var(--crema);
  text-align: center;
  padding: 36px 24px;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(253,248,245,0.5);
}

/* =========================================================
   ANIMACIONES
   ========================================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Clase utilitaria para animar elementos al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE — Celular
   ========================================================= */
@media (max-width: 768px) {

  /* Navbar: ocultar links y agrandar logo */
  .nav-links {
    display: none; /* En mobile se puede agregar un menú hamburguesa luego */
  }

  /* Hero: ajustar tarjetas flotantes */
  .hero-card { display: none; }

  /* Catálogo: columnas */
  .productos-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  /* Envíos grid: 1 columna en mobile */
  .envios-grid {
    grid-template-columns: 1fr;
  }

  /* Pasos de compra más compactos */
  .cart-summary {
    padding: 12px 16px 20px;
  }
}

@media (max-width: 480px) {
  .productos-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .btn-contact-wa,
  .btn-contact-ig {
    width: 100%;
    justify-content: center;
  }
}
