/* ==========================================================================
   PERFUMES — COMPONENTES DE UI & MICROINTERACCIONES SENIOR
   Nav, Hero 3D, Catálogo, Cards 3D (Zoom solo en imagen, sin elevación de tarjeta),
   Agotado con oscurecimiento, Skeletons Flash, Modales, Botones, Footer y WhatsApp estilo WhaShopping
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVEGACIÓN MINIMALISTA SUPERIOR
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
  z-index: var(--z-nav);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline-color);
  transition: all var(--transition-normal);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-brand-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Selector Flotante de Moneda (USD / BCV Bs.) */
.currency-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.05);
  border: 1px solid var(--hairline-color);
  border-radius: var(--radius-full);
  padding: 3px;
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.currency-pill:hover {
  background: rgba(15, 23, 42, 0.09);
}

.currency-option {
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.currency-option.active {
  background: #FFFFFF;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* Indicador en Vivo de Tasa BCV (En desktop junto al selector) */
.bcv-rate-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.bcv-rate-badge .indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-full);
  background: #10B981;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

/* Cintillo Exclusivo para Móviles (Tasa oficial arriba, Fecha Valor abajo) */
.mobile-bcv-ribbon {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--hairline-color);
  border-radius: var(--radius-md);
  padding: 8px 18px;
  margin: 0 auto 28px;
  width: fit-content;
  max-width: 92%;
  text-align: center;
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
}

.mobile-bcv-ribbon .ribbon-rate-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.mobile-bcv-ribbon .ribbon-date-line {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.2;
}

.mobile-bcv-ribbon .ribbon-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: #10B981;
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   2. SECCIÓN 1: HERO CON VIDEO SCROLL 3D
   -------------------------------------------------------------------------- */
.hero-scroller-track {
  position: relative;
  height: 100vh;
}

.hero-sticky-stage {
  position: relative;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform-origin: center center;
  will-change: transform;
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(255, 255, 255, 0.85) 95%),
              linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, transparent 25%, transparent 70%, #FFFFFF 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-content-layer {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 36px 28px;
  max-width: 900px;
  margin: 0 auto;
  pointer-events: none;
  will-change: transform, opacity;
  background: radial-gradient(ellipse at center, rgba(11, 14, 20, 0.6) 0%, rgba(11, 14, 20, 0.25) 60%, transparent 100%);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #FBBF24;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 22px;
}

.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: #FBBF24;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 7.5vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.85), 0 2px 6px rgba(0, 0, 0, 0.95);
  margin-bottom: 24px;
}

.hero-title em {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: #FDE68A;
  display: block;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
  font-size: clamp(14px, 1.6vw, 19px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  max-width: 54ch;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-cta-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--text-main);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -8px rgba(15, 23, 42, 0.45);
}

.hero-cta-btn:hover::before {
  left: 100%;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-light);
  pointer-events: none;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -48px;
  left: 0;
  width: 100%;
  height: 48px;
  background: var(--text-main);
  animation: scroll-drop 2.2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scroll-drop {
  0% { top: -48px; }
  60%, 100% { top: 48px; }
}

/* --------------------------------------------------------------------------
   3. SECCIÓN 2: CATÁLOGO DE 10 PERFUMES
   REQUISITO: SIN ELEVACIÓN EN LA TARJETA, SOLO ZOOM EN LA IMAGEN
   -------------------------------------------------------------------------- */
.catalog-section {
  position: relative;
  z-index: 10;
  padding: 100px clamp(16px, 4vw, 64px) 120px;
  max-width: 1520px;
  margin: 0 auto;
}

.catalog-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.catalog-header-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  margin-bottom: 12px;
}

.catalog-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 16px;
}

.catalog-header p {
  font-size: 15px;
  color: var(--text-muted);
}

/* Cuadrícula de Perfumes (5 columnas x 2 filas en Desktop) */
.catalog-grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 28px);
  grid-template-columns: repeat(5, 1fr);
}

/* Tarjeta Estable: CERO ELEVACIÓN en hover (fija y elegante) */
.perfume-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow-rest);
  border: 1px solid var(--hairline-color);
  /* Sin transform translateY ni tilt en la tarjeta */
  transition: box-shadow var(--transition-normal);
}

.perfume-card:hover {
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.1);
}

/* ESTADO AGOTADO: Oscurecimiento sutil y elegante (sin exagerar) */
.perfume-card.sold-out {
  background: #F8FAFC;
}

.perfume-card.sold-out .card-media-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 20, 0.16);
  backdrop-filter: blur(0px);
  z-index: 3;
  pointer-events: none;
}

.perfume-card.sold-out .card-image {
  filter: grayscale(0.22) brightness(0.92) !important;
}

.perfume-card.sold-out .sold-out-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.perfume-card.sold-out .btn-whatsapp-order {
  background: #E2E8F0;
  color: #94A3B8;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}

.perfume-card.sold-out .btn-whatsapp-order::before {
  display: none;
}

/* Contenedor de la Imagen & Efecto Zoom Exclusivo */
.card-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #F8FAFC;
  margin-bottom: 18px;
  cursor: pointer;
}

/* Skeleton Shimmer Moderno tipo Flash */
.skeleton-box {
  position: absolute;
  inset: 0;
  background: #F1F5F9;
  z-index: 2;
  overflow: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.skeleton-box::after {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.skeleton-box.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Imagen con Efecto Revelado Flash (Ajuste uniforme contain para todos los perfumes) */
.card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.5s ease-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.card-image.loaded {
  opacity: 1;
}

/* Zoom suave y elegante al pasar sobre la imagen */
.card-media-wrapper:hover .card-image.loaded {
  transform: scale(1.06);
}

/* Destello Flash Bloom al finalizar la descarga */
.card-image.flash-bloom {
  animation: flash-reveal 0.35s ease-out;
}

@keyframes flash-reveal {
  0% { filter: brightness(1.7) blur(3px); }
  100% { filter: brightness(1) blur(0); }
}

/* Badge para ampliar imagen a pantalla completa */
.zoom-hint-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  opacity: 0;
  transform: scale(0.85);
  transition: all var(--transition-fast);
  z-index: 3;
}

.card-media-wrapper:hover .zoom-hint-btn {
  opacity: 1;
  transform: scale(1);
}

/* Metadatos del Perfume */
.card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-index {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 6px;
}

.card-house {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}

.card-pricing {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
}

.price-main {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-converted {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* Botón de Pedido por WhatsApp con Spinner */
.btn-whatsapp-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  background: #0F172A;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.btn-whatsapp-order::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: left 0.45s ease;
}

.btn-whatsapp-order:hover {
  background: var(--whatsapp-green);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -4px var(--whatsapp-glow);
}

.btn-whatsapp-order:hover::before {
  left: 100%;
}

.btn-whatsapp-order:active {
  transform: scale(0.97);
}

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: var(--radius-full);
  animation: spin 0.6s linear infinite;
}

.btn-whatsapp-order.loading .btn-text,
.btn-whatsapp-order.loading .btn-icon {
  display: none;
}

.btn-whatsapp-order.loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   3.1 BANNER DE FACILIDAD DE PAGO EN DOS PARTES (15 Y 30 DE NOVIEMBRE)
   -------------------------------------------------------------------------- */
.installment-plan-banner {
  margin-top: 56px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.installment-plan-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366F1, #C5A059, #0EA5E9);
}

.installment-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.installment-headline {
  font-size: clamp(15px, 2vw, 19px);
  color: var(--text-main);
  line-height: 1.5;
  font-weight: 500;
  max-width: 64ch;
}

.installment-headline strong {
  color: #0F172A;
  font-weight: 800;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 2px;
}

.installment-subtext {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 680px) {
  .installment-plan-banner {
    margin-top: 36px;
    padding: 22px 14px;
    border-radius: var(--radius-md);
  }
  .installment-headline {
    font-size: 14px;
  }
  .installment-subtext {
    font-size: 11px;
  }
}

/* --------------------------------------------------------------------------
   4. MODAL LIGHTBOX / VISOR EN PANTALLA COMPLETA 1:1
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(11, 13, 20, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-container {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.92);
  transition: transform 0.35s var(--ease-spring);
}

.lightbox-modal.open .lightbox-container {
  transform: scale(1);
}

.lightbox-image-frame {
  max-height: 72vh;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--modal-shadow);
}

.lightbox-image-frame img {
  max-height: 72vh;
  width: auto;
  object-fit: contain;
}

.lightbox-details {
  margin-top: 18px;
  text-align: center;
  color: #FFFFFF;
}

.lightbox-details h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 4px;
}

.lightbox-details p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.lightbox-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   5. SECCIÓN 3: FOOTER MINIMALISTA DE LUJO (ICONO WHATSAPP ESTILO WIFIKEY)
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 10;
  background: #0B0E14;
  color: #FFFFFF;
  padding: 80px clamp(20px, 5vw, 64px) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-brand h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer-col-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  max-width: 36ch;
  line-height: 1.6;
}

.footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 18px;
}

.footer-location-info {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
}

.footer-location-info strong {
  color: #FFFFFF;
  display: block;
}

.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #34D399; /* Emerald 400 igual que en WIFIkey */
  font-size: 14px;
  font-weight: 600;
  margin-top: 8px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-whatsapp-link:hover {
  color: #6EE7B7;
  transform: translateX(3px);
}

.footer-bottom-bar {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
   6. BURBUJA FLOTANTE DE WHATSAPP (ESTILO WHASHOPPING PRO)
   -------------------------------------------------------------------------- */
@keyframes wa-float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

@keyframes wa-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.animate-wa-float {
  animation: wa-float 3s ease-in-out infinite;
}

.animate-wa-blink {
  animation: wa-blink 1.5s ease-in-out infinite;
}

.floating-whatsapp-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-floating);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.floating-whatsapp-container.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

/* Tooltip lateral interactivo estilo WhaShopping */
.wa-tooltip-box {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  white-space: nowrap;
}

.wa-tooltip-eyebrow {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 3px;
}

.wa-tooltip-title {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

/* Botón Circular con SVG oficial y Punto Verde Parpadeante */
.floating-whatsapp-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--whatsapp-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  outline: none;
}

.floating-whatsapp-btn:hover {
  background: #20BA5A;
  transform: scale(1.08);
}

.floating-whatsapp-btn .status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #25D366;
  border: 2px solid #FFFFFF;
  border-radius: var(--radius-full);
  animation: wa-blink 1.5s ease-in-out infinite;
}
