:root {
  --primary: #ff2d75;
  --primary-hover: #e01b60;
  --primary-light: #fff0f5;
  --primary-soft: #ffe4ec;
  --accent-purple: #9333ea;
  --accent-gold: #f59e0b;
  --text-dark: #18181b;
  --text-muted: #71717a;
  --bg-gradient: linear-gradient(135deg, #fff5f8 0%, #ffffff 50%, #fdf2f8 100%);
  --card-bg: rgba(255, 255, 255, 0.85);
  --border-glass: rgba(255, 182, 193, 0.35);
  --shadow-sm: 0 4px 12px rgba(255, 45, 117, 0.08);
  --shadow-md: 0 10px 30px rgba(255, 45, 117, 0.12);
  --shadow-lg: 0 20px 45px rgba(255, 45, 117, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  overscroll-behavior-y: none;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background: var(--bg-gradient);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

/* Ambient glow blobs */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  animation: pulseBlob 8s ease-in-out infinite alternate;
}

.glow-1 {
  top: -100px;
  right: -50px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #ffb3d1 0%, rgba(255,255,255,0) 70%);
}

.glow-2 {
  bottom: 100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #fbcfe8 0%, rgba(255,255,255,0) 70%);
}

@keyframes pulseBlob {
  0% { transform: scale(1) translateY(0); }
  100% { transform: scale(1.15) translateY(25px); }
}

/* Header & Top Bar */
.promo-topbar {
  background: linear-gradient(90deg, #ff2d75, #ec4899, #a855f7);
  color: #fff;
  padding: 10px 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.promo-topbar:hover {
  filter: brightness(1.05);
}

.promo-badge {
  background: rgba(255, 255, 255, 0.25);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.3s ease;
  will-change: transform;
}

.main-header.header-hidden {
  transform: translateY(-105%);
  box-shadow: none;
  pointer-events: none;
}

.navbar {
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
}

.navbar-wrapper {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Fila 1: Logo, Buscador Central y Acciones Rápidas */
.navbar-top {
  max-width: 1360px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 44px;
  width: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 45, 117, 0.18);
  transition: var(--transition-smooth);
  object-fit: cover;
}

.brand-wrapper:hover .brand-logo-img {
  transform: rotate(-3deg) scale(1.05);
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ff2d75 0%, #db2777 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin: 0;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: #9d174d;
  letter-spacing: 0.5px;
  display: block;
}

/* Acciones Rápidas a la Derecha */
.header-right-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

#btn-google-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 36px;
  padding: 0 14px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.5px solid #f43f5e;
  font-weight: 800;
  font-size: 0.82rem;
  color: #e11d48;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.12);
  transition: all 0.2s;
  white-space: nowrap;
  box-sizing: border-box;
}

#btn-google-login:hover {
  background: #fff1f2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.2);
}

#header-user-badge {
  display: none;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px 0 4px;
  border-radius: 9999px;
  background: #fff0f5;
  border: 1.5px solid #fbcfe8;
  cursor: pointer;
  box-sizing: border-box;
  transition: all 0.2s;
}

#header-user-badge:hover {
  background: #fdf2f8;
  border-color: #f472b6;
}

#header-user-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

#header-user-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: #9f1239;
}

#header-user-points {
  background: #e11d48;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 900;
}

/* Cart badge button / Deseos */
.cart-trigger-btn {
  position: relative;
  background: #fff;
  border: 1.5px solid #fbcfe8;
  height: 36px;
  padding: 0 14px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.82rem;
  color: #1e293b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  transition: var(--transition-smooth);
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.cart-trigger-btn:hover {
  border-color: #f43f5e;
  color: #e11d48;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.15);
  transform: translateY(-1px);
}

.cart-count-badge {
  background: #ff2d75;
  color: white;
  border-radius: 50%;
  min-width: 19px;
  height: 19px;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  padding: 0 5px;
  box-sizing: border-box;
}

/* ----------------------------------------------------
   FILA 2: BARRA DE CATEGORÍAS & NAVEGACIÓN (SUBNAV)
   ---------------------------------------------------- */
.navbar-bottom {
  width: 100%;
  border-top: 1px solid rgba(251, 207, 232, 0.55);
  background: rgba(255, 255, 255, 0.75);
  padding: 5px 20px 6px;
  box-sizing: border-box;
}

.nav-menu {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  box-sizing: border-box;
}

.nav-menu li {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-btn {
  background: #ffffff;
  border: 1.5px solid #f1f5f9;
  height: 35px;
  padding: 0 16px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #475569;
  border-radius: 9999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  box-sizing: border-box;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn:hover {
  background: #fdf2f8;
  color: #db2777;
  border-color: #fbcfe8;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(219, 39, 119, 0.12);
}

.nav-btn.active {
  background: linear-gradient(135deg, #ff2d75, #db2777);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(255, 45, 117, 0.32);
}

.pos-pill-btn {
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: white !important;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.pos-pill-btn:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  max-width: 1300px;
  margin: 25px auto 40px;
  padding: 0 24px;
}

.hero-banner {
  background: linear-gradient(135deg, #ffe4ec 0%, #fff0f5 50%, #fce7f3 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  padding: 40px 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 45, 117, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.15;
  color: #831843;
  margin-bottom: 16px;
}

.hero-title span {
  background: linear-gradient(135deg, #ff2d75, #db2777);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.05rem;
  color: #701a75;
  line-height: 1.6;
  margin-bottom: 26px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, #ff2d75 0%, #db2777 100%);
  color: white;
  border: none;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(255, 45, 117, 0.35);
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 45, 117, 0.45);
}


.hero-carousel-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glass);
  position: relative;
  text-align: center;
  transition: var(--transition-smooth);
}

.hero-carousel-card:hover {
  transform: translateY(-4px);
}

.hero-image-wrapper {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #fff8fa;
}

.hero-image-wrapper img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-carousel-card:hover .hero-image-wrapper img {
  transform: scale(1.08);
}

.hero-card-meta {
  margin-top: 16px;
}

.hero-card-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: #db2777;
  background: #fce7f3;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 8px;
}

.hero-card-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.hero-card-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  margin-top: 4px;
}

/* Section Containers */
.content-section {
  max-width: 1440px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: #1e1b4b;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ====================================================
   BARRA DE CATEGORÍAS PROFESIONAL (ESTILO BOUTIQUE LUXE)
   ==================================================== */
.category-filter {
  display: flex;
  flex-wrap: wrap; /* En PC y monitores se adaptan en filas fluidas sin cortarse nunca */
  gap: 10px;
  align-items: center;
  padding: 4px 0 16px;
  margin-bottom: 22px;
}

.filter-pill {
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 8px 18px;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #334155;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filter-pill:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Estado Activo: Elegancia editorial luxury, alto contraste */
.filter-pill.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22) !important;
  transform: translateY(-1px);
}

/* Products Grid (Optimizado para PC: 5-6 columnas en pantallas grandes, 4 en laptops) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 16px;
}

.product-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 45, 117, 0.4);
}

.product-card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  z-index: 2;
  max-width: 85%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-stock {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2.5px 7px;
  border-radius: 20px;
  z-index: 2;
}

.product-img-box {
  height: 185px;
  background: #fff8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
}

.product-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-box img {
  transform: scale(1.06);
}

.product-details {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-brand {
  font-size: 0.72rem;
  font-weight: 800;
  color: #9d174d;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 3px;
}

.product-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.45em;
}

.product-desc-wrap {
  margin-bottom: 8px;
  flex-grow: 1;
}

.product-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

.product-desc-more {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #db2777;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: all 0.2s ease;
}

.product-desc-more:hover {
  color: #9d174d;
  text-decoration: underline;
}

.product-isp {
  font-size: 0.68rem;
  color: #64748b;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

.product-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.2px;
  line-height: 1;
}

.btn-add-cart {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.btn-add-cart svg {
  width: 13px;
  height: 13px;
}

.btn-add-cart:hover {
  background: #e11d48;
  color: white;
  border-color: #e11d48;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(225, 29, 72, 0.25);
}

.btn-add-cart:hover svg {
  fill: white;
  stroke: white;
}

/* Estados de Productos Agotados (FOMO & Prueba Social) */
.product-card.is-soldout {
  border-color: rgba(226, 232, 240, 0.95);
  background: #fafafb;
}

.product-card.is-soldout .product-img-box img {
  filter: grayscale(12%) contrast(92%);
  opacity: 0.88;
}

.product-soldout-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  z-index: 2;
  pointer-events: none;
  animation: fadeInSoldOut 0.3s ease;
}

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

.soldout-tag {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.45);
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.soldout-sub {
  color: #f1f5f9;
  font-size: 0.68rem;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.2px;
}

.product-card-badge.soldout-badge {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.35) !important;
}

.product-price.soldout-price {
  color: #64748b;
  font-weight: 700;
}

.btn-soldout-action {
  background: #f1f5f9;
  color: #475569;
  border: 1.5px solid #cbd5e1;
  padding: 8px 13px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-smooth);
}

.btn-soldout-action:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.pmodal-soldout-banner {
  background: #fff1f2;
  border: 1.5px solid #fecdd3;
  color: #9f1239;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  margin: 10px 0 14px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

/* Modals & POS Screen */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modales que pueden abrirse desde el Asistente Virtual o con prioridad máxima */
#product-detail-modal.modal-overlay,
#cart-modal.modal-overlay {
  z-index: 1000010 !important;
}

#image-lightbox-modal.modal-overlay {
  z-index: 1000020 !important;
}

.modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-glass);
  padding: 32px;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  background: #e2e8f0;
  transform: rotate(90deg);
}

/* ====================================================
   MODAL LISTA DE DESEOS (BLINDADA CONTRA DESBORDES)
==================================================== */
.cart-modal-content {
  max-width: 480px !important;
  width: 95% !important;
  padding: 24px 20px !important;
  box-sizing: border-box !important;
  border-radius: 20px !important;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fdfafb;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #fce7f3;
  gap: 10px;
  box-sizing: border-box;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.cart-item-thumb {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
  border: 1px solid #fce7f3;
  flex-shrink: 0;
}

.cart-item-text {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.8rem;
  color: #db2777;
  font-weight: 800;
  margin-top: 2px;
}

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

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: white;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #334155;
  transition: all 0.15s ease;
}

.cart-qty-btn:hover {
  background: #fdf2f8;
  border-color: #f472b6;
  color: #db2777;
}

.cart-qty-val {
  font-weight: 800;
  font-size: 0.88rem;
  min-width: 18px;
  text-align: center;
}

/* ====================================================
   MODAL DETALLE DE PRODUCTO + ASESORA CHATBOT
==================================================== */
.product-modal-content {
  max-width: 1280px !important;
  width: 95vw !important;
  height: 90vh !important;
  max-height: 92vh !important;
  padding: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.45) !important;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  flex: 1;
  min-height: 0;
  height: calc(100% - 54px);
  overflow: hidden;
  transition: all 0.25s ease;
}

/* Modo Chat al 100%: toma todo el protagonismo de la pantalla */
.product-modal-grid.mode-chat-full {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.product-modal-grid.mode-chat-full .pmodal-product-side {
  display: none !important;
}

.product-modal-grid.mode-chat-full .pmodal-chat-side {
  display: flex !important;
  width: 100% !important;
  flex: 1 !important;
  height: 100% !important;
}

.product-modal-grid.mode-chat-full .pchat-messages-box {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 24px;
}

.product-modal-grid.mode-chat-full .pchat-chips-wrap {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
}

.product-modal-grid.mode-chat-full .pchat-input-bar {
  max-width: 960px;
  width: 100%;
  margin: 0 auto 14px;
}

/* Modo Ficha 100% */
.product-modal-grid.mode-info-full {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
}

.product-modal-grid.mode-info-full .pmodal-chat-side {
  display: none !important;
}

.product-modal-grid.mode-info-full .pmodal-product-side {
  display: flex !important;
  width: 100% !important;
  max-width: 980px;
  margin: 0 auto;
  border-right: none;
}

/* Modo Dividido (Split) */
.product-modal-grid.mode-split {
  display: grid !important;
  grid-template-columns: 1fr 1.15fr !important;
}

.product-modal-grid.mode-split .pmodal-product-side {
  display: flex !important;
}

.product-modal-grid.mode-split .pmodal-chat-side {
  display: flex !important;
}

.pmodal-product-side {
  padding: 24px;
  overflow-y: auto;
  background: #ffffff;
  border-right: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pmodal-back-btn {
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  color: #db2777;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.pmodal-back-btn:hover {
  background: #fce7f3;
  color: #9d174d;
}

.pmodal-img-wrap {
  position: relative;
  background: #fff8fa;
  border-radius: 16px;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid #fce7f3;
}

.pmodal-img-wrap img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.pmodal-img-wrap img:hover {
  transform: scale(1.05);
}

.pmodal-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pmodal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 4px 0 8px;
}

.pmodal-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

/* Barra de Navegación Superior del Modal (Escritorio y Móvil) */
.pmodal-nav-tabs {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 2px solid #fce7f3;
  padding: 8px 16px;
  gap: 12px;
  z-index: 10;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  flex-shrink: 0;
}

.pmodal-nav-back-btn {
  background: #fdf2f8;
  border: 1.5px solid #fbcfe8;
  color: #db2777;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(219, 39, 119, 0.1);
}

.pmodal-nav-back-btn:hover {
  background: #db2777;
  color: #ffffff;
  border-color: #db2777;
  transform: translateX(-2px);
}

.pmodal-tabs-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pmodal-tab-btn {
  padding: 7px 15px;
  border-radius: 999px;
  border: 1.5px solid #fbcfe8;
  background: #fff8fa;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.pmodal-tab-btn:hover {
  background: #fdf2f8;
  color: #db2777;
  border-color: #f472b6;
}

.pmodal-tab-btn.active {
  background: linear-gradient(135deg, #ff2d75, #db2777);
  color: #ffffff;
  border-color: #db2777;
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.25);
}

/* Indicador visual de scroll hacia descripción */
.pmodal-scroll-cue {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(135deg, #fff1f2, #fce7f3);
  border: 1.5px dashed #f43f5e;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 10px 0 6px;
  cursor: pointer;
  font-size: 0.82rem;
  color: #9f1239;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.12);
  transition: all 0.2s ease;
}

.pmodal-scroll-cue:hover {
  background: #ffe4e6;
  border-color: #e11d48;
  transform: translateY(-1px);
}

.pmodal-scroll-arrow {
  display: inline-block;
  animation: bounceDown 1.3s infinite ease-in-out;
  font-size: 1.15rem;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* Encabezado y caja mejorada de descripción */
.pmodal-desc-box {
  background: #fff8fa;
  border: 1.5px solid #fbcfe8;
  border-radius: 14px;
  padding: 14px 16px;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(219, 39, 119, 0.04);
}

.pmodal-desc-box.pmodal-desc-box-highlight {
  outline: 3px solid #ff2d75;
  box-shadow: 0 0 22px rgba(255, 45, 117, 0.45);
}

.pmodal-desc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pmodal-desc-badge {
  display: inline-block;
  background: #fce7f3;
  color: #9d174d;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 6px;
}

.pmodal-desc-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #334155;
  margin: 0;
  white-space: pre-line;
}

.btn-ask-assistant-callout {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 14px;
  background: linear-gradient(135deg, #ffffff, #fdf2f8);
  border: 1.5px solid #fbcfe8;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.btn-ask-assistant-callout:hover {
  background: #fce7f3;
  border-color: #db2777;
  transform: translateY(-1px);
}

.pmodal-chat-side {
  display: flex;
  flex-direction: column;
  background: #fdfafb;
  height: 100%;
  overflow: hidden;
}

.pchat-header {
  background: linear-gradient(135deg, #fdf2f8, #fce7f3);
  padding: 10px 18px;
  border-bottom: 1px solid #fbcfe8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.pchat-header-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.pchat-back-catalog-btn {
  background: #ffffff;
  border: 1.5px solid #f472b6;
  color: #db2777;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(219, 39, 119, 0.12);
}

.pchat-back-catalog-btn:hover {
  background: #db2777;
  color: #ffffff;
  transform: translateX(-2px);
}

.pchat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2d75, #db2777);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(219, 39, 119, 0.25);
  flex-shrink: 0;
}

.pchat-titles {
  display: flex;
  flex-direction: column;
}

.pchat-header-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: #831843;
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

.pchat-header-status {
  font-size: 0.72rem;
  color: #059669;
  font-weight: 700;
}

.pchat-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pchat-back-to-info-btn,
.pchat-toggle-mode-btn {
  background: #ffffff;
  border: 1.5px solid #fbcfe8;
  color: #831843;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pchat-back-to-info-btn:hover,
.pchat-toggle-mode-btn:hover {
  background: #fdf2f8;
  color: #db2777;
  border-color: #db2777;
}

.pchat-messages-box {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
}

.pchat-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.84rem;
  line-height: 1.45;
  animation: fadeIn 0.25s ease;
}

.pchat-msg.bot {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #f1f5f9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.pchat-msg.user {
  background: linear-gradient(135deg, #ff2d75, #db2777);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  font-weight: 600;
}

.chat-product-recommendation {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #fbcfe8;
  border-radius: 14px;
  padding: 10px 12px;
  margin-top: 10px;
  margin-bottom: 0;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.05);
}

.chat-product-recommendation:hover {
  transform: translateY(-3px);
  border-color: #ff2d75;
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.16);
}

.cprod-main-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cprod-thumb {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: white;
  border-radius: 12px;
  border: 1px solid #fce7f3;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  padding: 3px;
}

.chat-product-recommendation:hover .cprod-thumb {
  transform: scale(1.08);
}

.cprod-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cprod-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.28;
}

.cprod-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 3px;
}

.cprod-price {
  font-size: 0.98rem;
  font-weight: 900;
  color: #db2777;
}

.cprod-click-hint {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ff2d75;
  background: #fdf2f8;
  border: 1px solid #fce7f3;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.chat-product-recommendation:hover .cprod-click-hint {
  background: #ff2d75;
  color: white;
  border-color: #ff2d75;
}

.cprod-actions {
  display: flex;
  gap: 8px;
  border-top: 1px dashed #fce7f3;
  padding-top: 10px;
  margin-top: 8px;
}

.cprod-btn-view,
.cprod-btn-wish {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  border: none;
}

.cprod-btn-view {
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  color: #be185d;
}

.cprod-btn-view:hover {
  background: #fce7f3;
  color: #9d174d;
}

.cprod-btn-wish {
  background: linear-gradient(135deg, #ff2d75, #db2777);
  color: white;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.25);
}

.cprod-btn-wish:hover {
  background: linear-gradient(135deg, #e11d48, #be185d);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

.cprod-table-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #fff1f6, #fdf2f8);
  border: 1.5px solid #fbcfe8;
  color: #db2777;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 99px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  margin-top: 4px;
  font-family: inherit;
  box-shadow: 0 1px 3px rgba(225, 29, 72, 0.08);
}
.cprod-table-pill:hover {
  background: linear-gradient(135deg, #ff2d75, #db2777);
  color: #ffffff;
  border-color: #ff2d75;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.28);
}

.chat-attached-cards-wrap {
  margin-top: 18px;
  padding: 16px;
  background: linear-gradient(135deg, #fff7fa 0%, #fff1f6 100%);
  border: 1.5px solid #fbcfe8;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(225, 29, 72, 0.05);
}

.chat-attached-cards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.chat-attached-cards-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
}

.chat-attached-cards-subtitle {
  font-size: 0.74rem;
  color: #be185d;
  font-weight: 600;
}

.chat-attached-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 12px;
}

.pchat-chips-wrap {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 14px;
  background: #ffffff;
  border-top: 1px solid #f8fafc;
  scrollbar-width: none;
}
.pchat-chips-wrap::-webkit-scrollbar {
  display: none;
}

.pchat-chip {
  background: #fdf2f8;
  border: 1px solid #fce7f3;
  color: #be185d;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.pchat-chip:hover {
  background: #fce7f3;
  color: #9d174d;
  transform: translateY(-1px);
}

.pchat-input-bar {
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.pchat-input-bar input {
  flex: 1;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
}

.pchat-input-bar input:focus {
  border-color: #ff2d75;
}

.pchat-send-btn {
  background: linear-gradient(135deg, #ff2d75, #db2777);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.pchat-send-btn:hover {
  transform: scale(1.05);
}

/* POS Terminal Interface Styles */
.pos-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}

.pos-panel {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.pos-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pos-items-list {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.pos-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #fafafa;
  border-radius: var(--radius-sm);
  border: 1px solid #f1f5f9;
}

.pos-item-info h5 {
  font-size: 0.9rem;
  font-weight: 700;
}

.pos-item-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pos-qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: white;
  cursor: pointer;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background: var(--primary);
  color: white;
}

/* Mercado Pago POS checkout card */
.mp-checkout-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px dashed #22c55e;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 16px;
  text-align: center;
}

.mp-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: #009ee3;
  font-size: 0.85rem;
  background: white;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 158, 227, 0.15);
}

.btn-charge-pos {
  width: 100%;
  background: linear-gradient(135deg, #009ee3 0%, #007ebb 100%);
  color: white;
  border: none;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0, 158, 227, 0.3);
  transition: var(--transition-smooth);
}

.btn-charge-pos:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 158, 227, 0.4);
}


/* Instagram Feed Grid */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.insta-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 260px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-glass);
  cursor: pointer;
}

.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: white;
  opacity: 0.9;
  transition: var(--transition-smooth);
}

.insta-card:hover img {
  transform: scale(1.08);
}

.insta-card:hover .insta-overlay {
  opacity: 1;
}

.insta-client {
  font-weight: 800;
  font-size: 0.9rem;
}

.insta-comment {
  font-size: 0.78rem;
  opacity: 0.9;
  margin-top: 4px;
}

/* Footer Ultra-Limpio y Compacto (Centrado en Productos y Club Bella) */
.main-footer {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  padding: 24px 20px 18px;
  margin-top: 36px;
}

.footer-simple-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-badges-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-pill {
  background: #fdf2f8;
  border: 1px solid #fce7f3;
  color: #9d174d;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
}

.footer-simple-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 6px 0;
}

.footer-brand-compact {
  max-width: 480px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.footer-logo {
  width: 30px !important;
  height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

.footer-brand-title {
  font-family: Outfit, sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #831843;
}

.footer-brand-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.footer-quick-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-nav-link {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-nav-link:hover {
  background: #fdf2f8;
  color: #db2777;
  border-color: #fbcfe8;
}

.footer-bottom-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #94a3b8;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.footer-pos-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s ease;
}

.footer-pos-link:hover {
  color: #64748b;
}

@media (max-width: 768px) {
  .main-footer {
    padding: 18px 12px 14px;
    margin-top: 24px;
  }
  .footer-simple-container {
    gap: 12px;
  }
  .footer-simple-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .footer-brand-header {
    justify-content: center;
  }
  .footer-quick-nav {
    justify-content: center;
    width: 100%;
  }
  .footer-nav-link {
    font-size: 0.76rem;
    padding: 6px 10px;
  }
  .footer-bottom-compact {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .hero-banner {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
  .pos-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ====================================================
   LAPTOP INTERMEDIA (769px - 1100px): Header Adaptativo
   ==================================================== */
@media (min-width: 769px) and (max-width: 1100px) {
  .navbar-top {
    padding: 7px 16px;
    gap: 12px;
  }
  .brand-logo-img {
    height: 38px;
    width: 38px;
  }
  .brand-title {
    font-size: 1.35rem;
  }
  .brand-subtitle {
    display: none;
  }
  .client-search-header-box {
    max-width: 340px;
    min-width: 180px;
  }
  .header-instagram-btn .insta-label,
  .header-app-btn .app-label,
  .cart-trigger-btn .cart-label {
    display: none;
  }
  .header-instagram-btn {
    padding: 0 10px;
  }
  .header-app-btn {
    padding: 0 9px;
  }
  .cart-trigger-btn {
    padding: 0 10px;
  }
  .nav-menu {
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: flex-start;
    padding: 0 4px;
  }
  .nav-btn {
    height: 33px;
    padding: 0 12px;
    font-size: 0.80rem;
  }
}

@media (max-width: 768px) {
  /* Barra superior promocional compacta */
  .promo-topbar {
    padding: 5px 12px;
    font-size: 0.72rem;
    gap: 6px;
    line-height: 1.25;
  }
  .promo-badge {
    padding: 2px 6px;
    font-size: 0.62rem;
  }

  /* Encabezado y Navbar optimizados para teléfono */
  .navbar-top {
    padding: 8px 12px 6px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
  }

  .brand-wrapper {
    order: 1;
    gap: 8px;
  }
  .brand-logo-img {
    height: 34px;
    width: 34px;
    border-radius: 10px;
  }
  .brand-title {
    font-size: 1.25rem;
    line-height: 1.1;
  }
  .brand-subtitle {
    display: none;
  }

  /* Botones de acción derecha (Club & Deseos) */
  .header-right-actions {
    order: 2;
    margin-left: auto;
    gap: 6px;
  }
  .header-instagram-btn,
  .header-app-btn {
    display: none !important;
  }
  #btn-google-login {
    height: 32px !important;
    padding: 0 9px !important;
    font-size: 0.72rem !important;
    border-radius: 14px !important;
    gap: 4px !important;
  }
  .cart-trigger-btn {
    height: 32px !important;
    padding: 0 9px !important;
    font-size: 0.72rem !important;
    border-radius: 14px !important;
    gap: 4px !important;
  }
  .cart-trigger-btn .cart-label {
    display: none;
  }
  .cart-count-badge {
    min-width: 17px;
    height: 17px;
    font-size: 0.66rem;
    padding: 0 4px;
  }
  #header-user-badge {
    height: 32px !important;
    padding: 0 8px 0 3px !important;
    gap: 5px !important;
    border-radius: 14px !important;
  }
  #header-user-img {
    width: 24px !important;
    height: 24px !important;
  }
  #header-user-name {
    font-size: 0.72rem !important;
    max-width: 65px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #header-user-points {
    font-size: 0.65rem !important;
    padding: 1px 6px !important;
  }

  /* Buscador del encabezado en celular (Fila completa) */
  .client-search-header-box {
    order: 3;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 2px 0 0 0;
  }
  .client-search-header-box input {
    height: 34px;
    padding: 0 28px 0 32px;
    font-size: 0.78rem;
    border-radius: 10px;
  }
  .client-search-icon {
    left: 10px;
    width: 14px;
    height: 14px;
  }

  /* Barra de Navegación Deslizable en Celular (Pills nativas suaves) */
  .navbar-bottom {
    padding: 4px 8px 6px;
    border-top: 1px solid rgba(251, 207, 232, 0.45);
  }
  .nav-menu {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: flex-start !important;
    gap: 6px !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
  }
  .nav-menu::-webkit-scrollbar {
    display: none;
  }
  .nav-menu li {
    flex-shrink: 0 !important;
    width: auto !important;
    display: flex !important;
  }
  .nav-btn {
    flex-shrink: 0 !important;
    width: auto !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0 12px !important;
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    border-radius: 9999px !important;
    white-space: nowrap !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #f1f5f9 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }
  .nav-btn.active {
    background: linear-gradient(135deg, #ff2d75, #db2777) !important;
    color: #ffffff !important;
    border-color: #db2777 !important;
    box-shadow: 0 2px 8px rgba(219, 39, 119, 0.25) !important;
  }
  .nav-btn-perfumes {
    background: linear-gradient(135deg, #2b1124 0%, #4a044e 100%) !important;
    color: #fef3c7 !important;
    border: 1.5px solid #f59e0b !important;
    box-shadow: 0 2px 6px rgba(74, 4, 78, 0.25) !important;
  }
  .nav-btn-perfumes.active {
    background: linear-gradient(135deg, #1f0b1a 0%, #701a75 100%) !important;
    color: #fffbeb !important;
    border-color: #fbbf24 !important;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45) !important;
  }
  .nav-btn-oasis {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #fde68a !important;
    border: 1.5px solid #d4af37 !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2) !important;
  }
  .nav-btn-oasis.active {
    background: linear-gradient(135deg, #090d16 0%, #1e1b4b 100%) !important;
    color: #fef08a !important;
    border-color: #facc15 !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35) !important;
  }

  /* ====================================================
     CATÁLOGO DE PRODUCTOS (2 COLUMNAS EN CELULAR)
  ==================================================== */
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
  .content-section {
    padding: 0 12px !important;
    margin-bottom: 28px !important;
  }
  .product-card {
    border-radius: 14px !important;
  }
  .product-card-badge {
    top: 8px !important;
    left: 8px !important;
    font-size: 0.65rem !important;
    padding: 2px 7px !important;
    border-radius: 12px !important;
  }
  .product-img-box {
    height: 145px !important;
    padding: 10px !important;
  }
  .product-details {
    padding: 10px 8px !important;
  }
  .product-brand {
    font-size: 0.65rem !important;
    margin-bottom: 2px !important;
  }
  .product-title {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 2.05rem !important;
  }
  .product-desc {
    display: none !important;
  }
  .product-points-tag {
    font-size: 0.65rem !important;
    padding: 3px 5px !important;
    background: #fdf2f8 !important;
    color: #9d174d !important;
    border-radius: 6px !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .product-bottom {
    padding-top: 6px !important;
    gap: 4px !important;
    align-items: center !important;
  }
  .product-price {
    font-size: 1.05rem !important;
  }
  .btn-add-cart {
    padding: 5px 8px !important;
    font-size: 0.72rem !important;
    gap: 4px !important;
    border-radius: 12px !important;
  }
  .btn-add-cart svg {
    width: 12px !important;
    height: 12px !important;
  }

  /* Modal de Producto y Asesora en Celular (Pestañas Dinámicas) */
  .product-modal-content {
    width: 96% !important;
    max-height: 92vh !important;
    height: 92vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    position: relative !important;
  }
  .product-modal-content .modal-close-btn {
    top: 8px !important;
    right: 8px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 1.15rem !important;
    z-index: 30 !important;
    background: #fdf2f8 !important;
    color: #9f1239 !important;
    border: 1px solid #fbcfe8 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
  }
  .pmodal-tab-split-btn {
    display: none !important;
  }
  .pmodal-nav-tabs {
    display: flex !important;
    padding: 6px 44px 6px 8px !important;
    gap: 6px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .pmodal-nav-back-text {
    display: none !important;
  }
  .pmodal-nav-back-btn {
    padding: 6px 10px !important;
  }
  .pmodal-tab-btn {
    padding: 6px 10px !important;
    font-size: 0.75rem !important;
    letter-spacing: -0.2px !important;
  }
  .pchat-header {
    padding: 8px 10px !important;
  }
  .pchat-back-catalog-btn span {
    display: none !important;
  }
  .pchat-back-catalog-btn {
    padding: 5px 8px !important;
  }
  .pchat-toggle-mode-btn {
    display: none !important;
  }
  .product-modal-grid {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
  }
  .pmodal-product-side {
    flex: 1 !important;
    min-height: 0 !important;
    height: 100% !important;
    padding: 16px 14px 28px !important;
    border-right: none !important;
    border-bottom: none !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .pmodal-img-wrap {
    height: 200px !important;
    padding: 10px !important;
  }
  .pmodal-title {
    font-size: 1.18rem !important;
  }
  .pmodal-chat-side {
    flex: 1 !important;
    min-height: 0 !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }
  .pchat-messages-box {
    flex: 1 !important;
    max-height: none !important;
    min-height: 0 !important;
    padding: 12px 10px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .pchat-back-to-info-btn {
    display: inline-flex !important;
  }
  .mobile-tab-hidden {
    display: none !important;
  }
  .gemini-editor-grid {
    grid-template-columns: 1fr !important;
  }

  .cart-modal-content {
    width: 95% !important;
    padding: 18px 12px !important;
  }

  /* ====================================================
     SECCIÓN CLUB BELLA & PUNTOS (OPTIMIZACIÓN PARA TELÉFONO)
  ==================================================== */
  .club-view-container {
    padding: 0 12px !important;
    margin-top: 14px !important;
  }
  .club-intro-box {
    margin-bottom: 16px !important;
  }
  .club-intro-emoji {
    font-size: 1.6rem !important;
  }
  .club-title {
    font-size: 1.25rem !important;
    margin-bottom: 4px !important;
  }
  .club-subtitle {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  /* Tarjetas de pasos 1, 2, 3 */
  .club-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }
  .club-step-card {
    padding: 14px 16px !important;
    border-radius: 14px !important;
  }
  .club-step-number {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
  }
  .club-step-card h4 {
    font-size: 0.98rem !important;
    margin-bottom: 4px !important;
  }
  .club-step-card p {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  /* Tarjeta de autenticación / registro Club Bella */
  .club-auth-box {
    padding: 18px 14px !important;
    border-radius: 16px !important;
    margin-bottom: 16px !important;
  }
  .club-auth-icon-circle {
    width: 44px !important;
    height: 44px !important;
    font-size: 1.3rem !important;
    margin: 0 auto 10px !important;
  }
  .club-auth-title {
    font-size: 1.15rem !important;
    margin-bottom: 6px !important;
    line-height: 1.25 !important;
  }
  .club-auth-desc {
    font-size: 0.78rem !important;
    margin-bottom: 14px !important;
    line-height: 1.4 !important;
  }
  .club-auth-btn {
    font-size: 0.85rem !important;
    padding: 10px 18px !important;
    width: 100% !important;
    justify-content: center !important;
  }
  .club-auth-checkmarks {
    font-size: 0.72rem !important;
    gap: 6px !important;
    margin-top: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Pase Digital Seguro en Celular */
  .digital-pass-card {
    padding: 16px 14px !important;
    border-radius: 16px !important;
    margin-bottom: 16px !important;
  }
  #pass-user-avatar {
    width: 42px !important;
    height: 42px !important;
  }
  #pass-user-tier {
    font-size: 0.68rem !important;
    padding: 2px 7px !important;
  }
  #pass-user-name {
    font-size: 1.2rem !important;
  }
  #pass-user-email {
    font-size: 0.72rem !important;
  }
  #pass-user-points {
    font-size: 1.7rem !important;
    line-height: 1.1 !important;
  }
  #pass-user-redeem-val {
    font-size: 0.72rem !important;
  }

  /* Cajas de vitrina de canje e historial */
  .club-card-box {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    margin-bottom: 16px !important;
  }
  .club-card-box h4 {
    font-size: 0.95rem !important;
  }
  .redeemable-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .redeemable-card {
    padding: 8px 10px !important;
    border-radius: 10px !important;
    gap: 10px !important;
  }
}

/* Estilos de Impresión Térmica para Boletas POS (Calibrado 80mm con 76mm útil) */
@media print {
  @page { 
    margin: 0mm !important; 
    size: 80mm auto !important; 
  }
  /* Oculta absolutamente toda la interfaz externa del panel */
  body > *:not(#pos-receipt-modal),
  .print\:hidden,
  .admin-header,
  .admin-nav,
  .admin-container {
    display: none !important;
  }
  body, html {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 80mm !important;
    height: auto !important;
    overflow: visible !important;
  }
  /* Desactiva flex, fixed y centrado en el modal durante impresión */
  #pos-receipt-modal {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    top: 0 !important;
    left: 0 !important;
    inset: auto !important;
    width: 80mm !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
  }
  #pos-receipt-modal .modal-content {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    width: 100% !important;
    max-width: 80mm !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
  }
  #pos-receipt-modal .modal-close-btn,
  #pos-receipt-modal button {
    display: none !important;
  }
  /* Contenedor del recibo térmico */
  #printable-receipt {
    display: block !important;
    visibility: visible !important;
    position: static !important;
    top: 0 !important;
    left: 0 !important;
    width: 76mm !important;
    max-width: 76mm !important;
    box-sizing: border-box !important;
    background: white !important;
    color: black !important;
    font-family: monospace !important;
    z-index: 99999 !important;
    padding: 2mm !important;
    margin: 0 auto !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
  }
  #printable-receipt * {
    visibility: visible !important;
  }
  /* Timbre / Código de barra térmico nítido */
  #printable-receipt img {
    display: block !important;
    max-width: 250px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    image-rendering: pixelated !important;
  }
  #printable-receipt svg,
  #printable-receipt canvas {
    display: block !important;
    max-width: 250px !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }
}



/* ====================================================
   CARRUSEL HERO ESTILO MAKEMORE (DROGGOL/COVER STYLE)
==================================================== */
.makemore-hero-carousel-section {
  max-width: 1300px;
  margin: 20px auto 35px;
  padding: 0 24px;
}

.makemore-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  background: #1e293b;
}

/* ====================================================
   TIMELINE STORIES / POWERPOINT BARRA DE CAPÍTULOS
   ==================================================== */
.carousel-story-timeline {
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.story-seg {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
  padding: 2px 4px;
  transition: all 0.25s ease;
}

.story-seg-fill {
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.story-seg-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ff2d75, #fb7185);
  transition: width 0.3s ease;
}

.story-seg.passed .story-seg-fill::after {
  width: 100%;
  background: #ff2d75;
}

.story-seg.active .story-seg-fill::after {
  width: 100%;
  animation: storyProgress 6s linear forwards;
}

@keyframes storyProgress {
  from { width: 0%; }
  to { width: 100%; }
}

.story-seg-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.story-seg:hover .story-seg-label {
  color: #ffffff;
}

.story-seg.active .story-seg-label {
  color: #ffb4d6;
  font-weight: 900;
}

.makemore-slide-timeline {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.timeline-pill {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
  .carousel-story-timeline {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 4px 6px;
    gap: 4px;
  }
  .story-seg-label {
    display: none; /* En pantallas pequeñas se priorizan las barritas para limpieza visual */
  }
  .story-seg-fill {
    height: 3px;
  }
}

.makemore-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}

.makemore-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* Slide 1: Promoción Oficial Desodorantes Corporales 2x$10.000 */
.makemore-slide-deo-promo {
  background-image: url('/images/banners/banner_desodorantes_promo.jpg');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #ffffff;
}

.makemore-slide-deo-promo .makemore-slide-pill {
  display: none !important;
}

@media (min-width: 641px) {
  .makemore-slide-deo-promo {
    background-image: url('/images/banners/banner_desodorantes_landscape.jpg');
    background-size: cover;
    background-position: center center;
  }
}

/* Slide 2: Promoción Oficial Fragrance World 50ml 2x$15.000 */
.makemore-slide-fw-promo {
  background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.72) 100%), url('/images/banners/banner_perfumes_ia.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #0f172a;
}

@media (min-width: 641px) {
  .makemore-slide-fw-promo {
    background-image: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.5) 55%, rgba(15, 23, 42, 0.25) 100%), url('/images/banners/banner_perfumes_ia.jpg');
    background-size: cover;
    background-position: center center;
  }
}

/* Slide 2, 4 & 5: Rutina K-Beauty SKIN1004 Madagascar Centella */
.makemore-slide-centella-master {
  background-image: url('/images/banners/banner_centella_mobile.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #faf8f5;
}

@media (min-width: 641px) {
  .makemore-slide-centella-master {
    background-image: url('/images/banners/banner_centella_landscape.jpg');
    background-size: cover;
    background-position: center center;
  }
}

/* Slide 3: Ampoule 100% Pura Centella */
.makemore-slide-centella-ampoule {
  background-image: url('/images/products/prod_prod_skin1004-madagascar-centella-ampoule-100-pura.jpg');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #faf8f5;
}

@media (min-width: 641px) {
  .makemore-slide-centella-ampoule {
    background-image: url('/images/banners/banner_centella_landscape.jpg');
    background-size: cover;
    background-position: center left;
  }
}

.makemore-slide:hover .makemore-pill-btn {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

/* Píldora de Categoría Flotante No Invasiva (No tapa productos) */
.makemore-slide-pill {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 9999px;
  padding: 8px 12px 8px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.16);
  max-width: calc(100% - 56px);
  pointer-events: auto;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.makemore-slide:hover .makemore-slide-pill {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.makemore-pill-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.makemore-pill-badge {
  background: linear-gradient(135deg, rgba(255, 45, 117, 0.15) 0%, rgba(219, 39, 119, 0.2) 100%);
  color: #db2777;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(251, 207, 232, 0.9);
  white-space: nowrap;
}

.makemore-pill-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.makemore-pill-btn {
  background: linear-gradient(135deg, #ff2d75 0%, #db2777 100%);
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 45, 117, 0.35);
  transition: all 0.2s ease;
}

.makemore-pill-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(255, 45, 117, 0.45);
}

/* ====================================================
   BUSCADOR DE PRODUCTOS PARA CLIENTES
==================================================== */
.client-search-header-box {
  position: relative;
  flex: 1;
  max-width: 480px;
  min-width: 240px;
  display: flex;
  align-items: center;
}

.client-search-header-box input {
  width: 100%;
  height: 38px;
  padding: 0 34px 0 38px;
  border-radius: 9999px;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.client-search-header-box input:focus {
  background: white;
  border-color: #ff2d75;
  box-shadow: 0 0 0 3px rgba(255, 45, 117, 0.15);
}

.client-search-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.68rem;
  color: #475569;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-clear-btn:hover {
  background: #cbd5e1;
  color: #0f172a;
}

/* Buscador en Catálogo Principal */
.catalog-search-bar-wrap {
  margin-bottom: 20px;
}

.catalog-search-input-box {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.catalog-search-input-box input {
  width: 100%;
  padding: 12px 145px 12px 46px;
  border-radius: 14px;
  border: 1.5px solid #cbd5e1;
  background: white;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.catalog-search-input-box input:focus {
  border-color: #db2777;
  box-shadow: 0 0 0 4px rgba(219, 39, 119, 0.12);
}

.catalog-search-input-box svg.catalog-search-lens,
.catalog-search-input-box > svg {
  position: absolute;
  left: 16px;
  pointer-events: none;
  z-index: 2;
}

/* Grupo ordenado de acciones a la derecha del buscador (Limpiar y Chatear) */
.catalog-search-actions {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  z-index: 3;
}

.catalog-clear-btn {
  position: static !important;
  transform: none !important;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}

.catalog-clear-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #94a3b8;
}

.chat-btn-text-mob {
  display: none;
}

.chat-btn-text-full {
  display: inline;
}

.catalog-search-feedback {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: #9d174d;
  font-weight: 600;
}

.catalog-search-feedback button {
  background: none;
  border: none;
  color: #db2777;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.82rem;
}

.btn-makemore-outline {
  background: white;
  color: #be185d;
  border: 1.5px solid #fbcfe8;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.btn-makemore-outline:hover {
  background: #fff1f6;
  border-color: #f472b6;
  transform: translateY(-2px);
}

/* Flechas MakeMore */
.makemore-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: #1e293b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.makemore-carousel-nav:hover {
  background: #ff2d75;
  color: white;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(255, 45, 117, 0.4);
}

.makemore-carousel-nav.prev {
  left: 20px;
}

.makemore-carousel-nav.next {
  right: 20px;
}

/* Indicadores Estilo Píldora MakeMore (light-pill) */
.makemore-carousel-indicators {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 30px;
}

.indicator-pill {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.indicator-pill.active {
  width: 32px;
  background: #ff2d75;
  box-shadow: 0 0 10px rgba(255, 45, 117, 0.8);
}

@media (max-width: 900px) {
  .makemore-carousel {
    height: 440px;
  }
  .makemore-slide-pill {
    bottom: 20px;
    left: 20px;
    max-width: calc(100% - 40px);
  }
  .makemore-carousel-nav {
    width: 38px;
    height: 38px;
  }
  .makemore-carousel-nav.prev { left: 10px; }
  .makemore-carousel-nav.next { right: 10px; }
}

@media (max-width: 640px) {
  .makemore-hero-carousel-section {
    padding: 0 12px;
    margin: 10px auto 20px;
  }
  .makemore-carousel {
    height: 380px;
    border-radius: 18px;
  }
  .makemore-slide-pill {
    bottom: 18px;
    left: 12px;
    right: 12px;
    max-width: calc(100% - 24px);
    justify-content: space-between;
    padding: 6px 10px 6px 14px;
    background: rgba(255, 255, 255, 0.94);
  }
  .makemore-pill-title {
    display: none; /* En celular se oculta para no tapar el fondo */
  }
  .makemore-pill-badge {
    font-size: 0.72rem;
    padding: 3px 8px;
  }
  .makemore-pill-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }
  .makemore-carousel-nav {
    display: none; /* En móviles se usa deslizamiento táctil (swipe) */
  }
  .makemore-carousel-indicators {
    bottom: 8px;
  }
  .client-search-header-box {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 6px;
  }
}

/* ====================================================
   ESTILOS DE LISTADO POS EN MESÓN
==================================================== */
.pos-cat-pill {
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.pos-cat-pill:hover {
  background: #fce7f3;
  color: #be185d;
  border-color: #fbcfe8;
}
.pos-cat-pill.active {
  background: #ff2d75;
  color: white;
  border-color: #ff2d75;
  box-shadow: 0 2px 6px rgba(255, 45, 117, 0.3);
}

.pos-product-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}
.pos-product-row:hover {
  background: #fff5f8;
  border-color: #fbcfe8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 45, 117, 0.08);
}
.pos-product-row.row-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background: #f8fafc;
}
.pos-product-row.row-disabled:hover {
  transform: none;
  box-shadow: none;
  background: #f8fafc;
  border-color: #e2e8f0;
}

.pos-product-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  object-fit: contain;
  flex-shrink: 0;
  padding: 2px;
}

.pos-product-info {
  flex-grow: 1;
  min-width: 0;
}

.pos-product-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
  margin-bottom: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pos-product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #64748b;
  flex-wrap: wrap;
}

.pos-product-sku {
  font-family: monospace;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  color: #334155;
  font-weight: 600;
}

.pos-product-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.pos-product-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #db2777;
}

.pos-add-btn {
  background: linear-gradient(135deg, #ff2d75 0%, #db2777 100%);
  color: white;
  border: none;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}
.pos-add-btn:hover {
  box-shadow: 0 4px 10px rgba(255, 45, 117, 0.35);
  transform: scale(1.05);
}

/* ============================================================
   👑 BOUTIQUE DE PERFUMES & 🖤 OASIS VARONES EN BELLA TEEN
   ============================================================ */
.nav-btn-perfumes {
  background: linear-gradient(135deg, #2b1124 0%, #4a044e 100%) !important;
  color: #fef3c7 !important;
  border: 1.5px solid #f59e0b !important;
  box-shadow: 0 3px 10px rgba(74, 4, 78, 0.25);
  font-weight: 800;
}
.nav-btn-perfumes:hover,
.nav-btn-perfumes.active {
  background: linear-gradient(135deg, #1f0b1a 0%, #701a75 100%) !important;
  color: #fffbeb !important;
  border-color: #fbbf24 !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45) !important;
}
.perfumes-text-full {
  display: inline;
}

.nav-btn-oasis {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #fde68a !important;
  border: 1.5px solid #d4af37 !important;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.2);
}
.nav-btn-oasis:hover,
.nav-btn-oasis.active {
  background: linear-gradient(135deg, #090d16 0%, #1e1b4b 100%) !important;
  color: #fef08a !important;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35) !important;
}

.oasis-text-mob {
  display: none;
}
.oasis-text-full {
  display: inline;
}
@media (max-width: 768px) {
  .oasis-text-mob {
    display: inline !important;
  }
  .oasis-text-full {
    display: none !important;
  }
}

.filter-pill.oasis-pill {
  border-color: #cbd5e1;
  color: #0f172a;
  font-weight: 600;
}
.filter-pill.oasis-pill:hover {
  background: #f1f5f9;
  border-color: #0f172a;
  color: #0f172a;
}
.filter-pill.oasis-pill.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
}

/* Vitrina & Carrusel de Invitación al Oasis Varones */
.oasis-entry-banner {
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 55%),
              linear-gradient(135deg, #090d16 0%, #111827 55%, #1e1b4b 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  border-radius: 20px;
  padding: 16px 18px 18px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 28px rgba(9, 13, 22, 0.22);
  position: relative;
  overflow: hidden;
}
.oasis-entry-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.oasis-entry-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 240px;
}
.oasis-entry-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.oasis-entry-text .oasis-entry-kicker {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 2px;
}
.oasis-entry-text h4 {
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}
.oasis-entry-text p {
  color: #cbd5e1;
  font-size: 0.8rem;
  margin: 2px 0 0;
  line-height: 1.35;
}
.oasis-entry-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.oasis-carousel-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
}
.oasis-carousel-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #fde68a;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.oasis-carousel-arrow:hover {
  background: #d4af37;
  color: #090d16;
  transform: scale(1.06);
}
.oasis-entry-cta {
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
  color: #090d16;
  font-weight: 800;
  font-size: 0.83rem;
  padding: 9px 16px;
  border-radius: 30px;
  border: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.oasis-entry-cta:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5);
}

/* Carrusel horizontal de productos Men dentro del Oasis Banner */
.oasis-men-carousel-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 2px 4px;
}
.oasis-men-carousel-viewport::-webkit-scrollbar {
  display: none;
}
.oasis-men-carousel-track {
  display: flex;
  gap: 12px;
  width: max-content;
}
.oasis-men-card {
  width: 178px;
  flex-shrink: 0;
  background: rgba(17, 24, 39, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
}
.oasis-men-card:hover {
  border-color: #fbbf24;
  background: rgba(30, 41, 59, 0.96);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}
.oasis-men-card-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #fde68a;
  font-size: 0.63rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 10px;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.oasis-men-card-img {
  width: 100%;
  height: 118px;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 8px;
  padding: 6px;
}
.oasis-men-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.oasis-men-card:hover .oasis-men-card-img img {
  transform: scale(1.06);
}
.oasis-men-card-brand {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #fbbf24;
  display: block;
  margin-bottom: 2px;
}
.oasis-men-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 8px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2em;
}
.oasis-men-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.oasis-men-card-price {
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 900;
  color: #fef08a;
}
.oasis-men-card-wish {
  background: rgba(212, 175, 55, 0.18);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #fde68a;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.oasis-men-card-wish:hover {
  background: #d4af37;
  color: #090d16;
}

/* Panel Inmersivo cuando el usuario está DENTRO del Oasis Varones */
.oasis-varones-lounge {
  background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.16), transparent 60%),
              linear-gradient(135deg, #090d16 0%, #111827 55%, #172554 100%);
  border: 2px solid #d4af37;
  border-radius: 22px;
  padding: 24px 22px;
  margin-bottom: 22px;
  color: #f8fafc;
  box-shadow: 0 14px 36px rgba(9, 13, 22, 0.28);
  animation: fadeIn 0.3s ease;
}
.oasis-lounge-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.oasis-lounge-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212, 175, 55, 0.16);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.oasis-lounge-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
}
.oasis-lounge-title span {
  color: #fbbf24;
}
.oasis-lounge-desc {
  color: #cbd5e1;
  font-size: 0.88rem;
  max-width: 680px;
  line-height: 1.45;
  margin: 0;
}
.oasis-lounge-pillars {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.oasis-pillar-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.oasis-pillar-chip strong {
  color: #fde68a;
  font-size: 0.78rem;
}
.oasis-pillar-chip span {
  color: #94a3b8;
  font-size: 0.7rem;
}
.oasis-subfilters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.oasis-subpill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: #e2e8f0;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.oasis-subpill:hover,
.oasis-subpill.active {
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
  color: #090d16;
  border-color: #fbbf24;
  font-weight: 800;
}

/* ====================================================
   BOUTIQUE DE PERFUMES ÁRABES & DUPES DE LUJO
==================================================== */
.nav-btn-perfumes {
  background: linear-gradient(135deg, #2b1124 0%, #4a044e 100%) !important;
  color: #fef3c7 !important;
  border: 1.5px solid #f59e0b !important;
  box-shadow: 0 2px 6px rgba(74, 4, 78, 0.25) !important;
}
.nav-btn-perfumes.active {
  background: linear-gradient(135deg, #1f0b1a 0%, #701a75 100%) !important;
  color: #fffbeb !important;
  border-color: #fbbf24 !important;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45) !important;
}
.perfumes-text-full {
  display: inline;
}

/* Píldora Perfumes en barra de categorías: Estilo sobrio de boutique */
.filter-pill.perfume-pill {
  border-color: #e2e8f0;
  color: #334155;
  font-weight: 600;
}
.filter-pill.perfume-pill:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}
.filter-pill.perfume-pill.active {
  background: #0f172a !important;
  color: #ffffff !important;
  border-color: #0f172a !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22) !important;
}

/* Cabecera Minimalista de Perfumes */
.perfume-minimal-header {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  padding: 13px 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  animation: fadeIn 0.2s ease;
}

.perfume-minimal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 11px;
}

.perfume-minimal-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.perfume-minimal-tag {
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #b45309;
}

.perfume-minimal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #18181b;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.perfume-count-pill {
  background: #fafaf9;
  border: 1px solid #e7e5e4;
  color: #78716c;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Fila de Chips Sub-filtros */
.perfume-chips-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.perfume-chips-row::-webkit-scrollbar {
  display: none;
}

.perfume-chip {
  background: #f4f4f5;
  color: #3f3f46;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.perfume-chip:hover {
  background: #e4e4e7;
  color: #18181b;
}

.perfume-chip.active {
  background: #18181b;
  color: #ffffff;
  font-weight: 700;
  border-color: #18181b;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Estilo de tarjetas cuando Oasis Varones está activo */
.products-grid.oasis-theme-grid .product-card {
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}
.products-grid.oasis-theme-grid .product-card:hover {
  border-color: #d4af37;
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.22);
}
.products-grid.oasis-theme-grid .product-card-badge {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fde68a;
  border: 1px solid #d4af37;
}
.products-grid.oasis-theme-grid .product-price {
  color: #0f172a;
}

@media (max-width: 768px) {
  .perfume-minimal-header {
    padding: 10px 12px;
    margin-bottom: 14px;
    border-radius: 14px;
  }
  .perfume-minimal-title {
    font-size: 1.02rem;
  }
  .perfume-minimal-bar {
    margin-bottom: 8px;
  }
  .perfume-chip {
    font-size: 0.72rem;
    padding: 5px 11px;
  }

  .oasis-entry-banner {
    padding: 13px 12px 14px;
    gap: 12px;
  }
  .oasis-entry-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .oasis-entry-actions {
    width: 100%;
    justify-content: space-between;
  }
  .oasis-entry-cta {
    flex: 1;
    text-align: center;
  }
  .oasis-men-card {
    width: 152px;
    padding: 8px;
  }
  .oasis-men-card-img {
    height: 102px;
  }
  .oasis-varones-lounge {
    padding: 18px 14px;
  }
  .oasis-lounge-title {
    font-size: 1.3rem;
  }
  .category-filter {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 2px 4px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .category-filter::-webkit-scrollbar {
    display: none;
  }
  .category-filter .filter-pill {
    flex-shrink: 0;
    padding: 7px 15px;
    font-size: 0.82rem;
  }
}


/* ====================================================
   BARRA DE ESTADO DE TIENDA FÍSICA & BOTÓN CÓMO LLEGAR & PWA
==================================================== */
.store-status-bar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #fce7f3;
  padding: 6px 16px;
  position: relative;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.03);
}

.store-status-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
}

.store-status-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.status-indicator-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.status-indicator-dot.dot-open {
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDotGreen 2s infinite;
}

.status-indicator-dot.dot-closed {
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}

@keyframes pulseDotGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.store-status-text {
  font-weight: 800;
  color: #1e293b;
}

.store-location-badge {
  color: #475569;
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.store-location-badge:hover {
  color: #db2777;
  text-decoration: underline;
}

.store-status-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-store-maps {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fdf2f8;
  color: #be123c;
  border: 1px solid #fecdd3;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-store-maps:hover {
  background: #ffe4e6;
  border-color: #f43f5e;
  transform: translateY(-1px);
}

.btn-pwa-install {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: white;
  border: none;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.25);
  transition: all 0.2s ease;
}

.btn-pwa-install:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}

/* Banner de descuento destacado */
.promo-topbar.active-discount {
  background: linear-gradient(90deg, #be123c, #e11d48, #f43f5e, #be123c) !important;
  background-size: 300% 100% !important;
  animation: gradientShift 6s ease infinite !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.25);
}

.promo-topbar.active-discount .promo-badge {
  background: #ffedd5 !important;
  color: #9a3412 !important;
  border: 1px solid #fed7aa;
  font-weight: 900 !important;
  animation: pulseBadge 1.8s infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Badge de stock real en tienda en modal */
.pdetail-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 20px;
  margin: 6px 0 10px;
}

.stock-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

@media (max-width: 640px) {
  .store-status-container {
    font-size: 0.74rem;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 5px;
    padding: 3px 0;
  }
  .store-status-left {
    justify-content: center;
  }
  .store-status-right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .store-location-badge {
    display: inline-flex;
    font-size: 0.73rem;
    font-weight: 700;
    color: #334155;
  }
}

/* ====================================================
   BARRA FLOTANTE DE INSTALACIÓN DE APP (PWA)
==================================================== */
.mobile-pwa-bar {
  position: fixed;
  bottom: 16px;
  left: 12px;
  right: 12px;
  max-width: 460px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid #fbcfe8;
  border-radius: 18px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(225, 29, 72, 0.22);
  z-index: 999;
  animation: slideUpPwaBar 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpPwaBar {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.mobile-pwa-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.mobile-pwa-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid #f43f5e;
  flex-shrink: 0;
}

.mobile-pwa-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mobile-pwa-text strong {
  font-size: 0.86rem;
  color: #831843;
  line-height: 1.2;
}

.mobile-pwa-text span {
  font-size: 0.74rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-pwa-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-pwa-cta {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.35);
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.btn-pwa-cta:hover {
  transform: translateY(-1px);
}

.btn-pwa-close {
  background: #f1f5f9;
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #94a3b8;
  font-size: 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ====================================================
   CUADRO DESTACADO DE GOOGLE (CUADRA GOOGLE HERO)
==================================================== */
.google-auth-hero-card {
  background: #ffffff;
  border: 2px solid #4285F4;
  border-radius: 20px;
  padding: 22px 18px;
  margin: 0 auto 16px;
  max-width: 350px;
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.15);
  transition: all 0.2s ease;
}

.google-auth-hero-card:hover {
  border-color: #2b70e0;
  box-shadow: 0 8px 26px rgba(66, 133, 244, 0.22);
  transform: translateY(-1px);
}

.google-framed-btn {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 28px;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  color: #1f2937;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.google-framed-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

/* Botón Header Google Destacado */
#btn-google-login {
  background: white !important;
  border: 1.5px solid #f43f5e !important;
  color: #831843 !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.12) !important;
}

#btn-google-login:hover {
  background: #fff1f2 !important;
  transform: translateY(-1px);
}

.badge-bonus-pts {
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: white;
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 900;
}

/* ----------------------------------------------------
   BOTÓN OFICIAL INSTAGRAM DESTACADO (@bellateenl3)
---------------------------------------------------- */
.header-instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 14px;
  border-radius: 9999px;
  box-shadow: 0 3px 12px rgba(220, 39, 67, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.header-instagram-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 18px rgba(220, 39, 67, 0.55);
  filter: brightness(1.08);
}

.header-instagram-btn:active {
  transform: translateY(0) scale(0.97);
}

.header-instagram-btn .insta-svg {
  stroke: white;
  flex-shrink: 0;
}

/* ----------------------------------------------------
   BOTÓN OFICIAL DESCARGAR APP (ANDROID APK)
---------------------------------------------------- */
.header-app-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  background: #fff0f5;
  color: #be185d !important;
  text-decoration: none !important;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 12px;
  border-radius: 9999px;
  border: 1.5px solid #fbcfe8;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  box-sizing: border-box;
}

.header-app-btn:hover {
  background: #fdf2f8;
  border-color: #f472b6;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.18);
  color: #9d174d !important;
}

.header-app-btn:active {
  transform: translateY(0);
}

.header-app-btn .app-svg {
  stroke: #be185d;
  flex-shrink: 0;
}

.header-chat-btn {
  border-color: #fbcfe8 !important;
  color: #e11d48 !important;
  background: #fff1f2 !important;
}

.header-chat-btn:hover {
  background: #ffe4e6 !important;
  border-color: #f43f5e !important;
  color: #be123c !important;
}

.chat-icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* ----------------------------------------------------
   BOTÓN VOLVER ARRIBA INTELIGENTE (SCROLL TO TOP)
---------------------------------------------------- */
.btn-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: #e11d48;
  border: 1.5px solid #fbcfe8;
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.22), 0 2px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.btn-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.btn-scroll-top:hover {
  background: #fff1f2;
  color: #be123c;
  border-color: #f43f5e;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.35);
  transform: translateY(-3px) scale(1.08);
}

.btn-scroll-top:active {
  transform: translateY(0) scale(0.94);
}

.btn-scroll-top svg {
  stroke: currentColor;
  transition: transform 0.2s ease;
}

.btn-scroll-top:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .btn-scroll-top {
    bottom: 20px;
    right: 18px;
    width: 42px;
    height: 42px;
  }
  .btn-scroll-top svg {
    width: 20px;
    height: 20px;
  }
  .header-instagram-btn .insta-label,
  .header-app-btn .app-label {
    display: none;
  }
  .header-instagram-btn {
    padding: 6px 9px;
  }
  .header-app-btn {
    padding: 6px 8px;
  }
}

/* ====================================================
   BADGES DE GÉNERO EN PRODUCTOS (FEMENINO / MASCULINO / UNISEX)
   ==================================================== */
.prod-gender-pill {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  letter-spacing: 0.2px;
  line-height: 1.2;
}
.prod-gender-pill.female {
  background: #fdf2f8;
  color: #db2777;
  border: 1px solid #fbcfe8;
}
.prod-gender-pill.male {
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #334155;
}
.prod-gender-pill.unisex {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* ====================================================
   BUSCADOR HÍBRIDO + ASISTENTE DE VENTAS INTELIGENTE
   ==================================================== */
.search-ai-prompts-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 2px 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.search-ai-prompts-row::-webkit-scrollbar {
  display: none;
}
.search-ai-pill-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #be185d;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.search-ai-chip {
  background: #fdf2f8;
  color: #9d174d;
  border: 1px solid #fbcfe8;
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
  font-family: inherit;
}
.search-ai-chip:hover {
  background: #fce7f3;
  color: #831843;
  border-color: #f472b6;
  transform: translateY(-1px);
}

/* Tarjeta del Asistente en Búsqueda */
.catalog-assistant-box {
  margin-top: 10px;
  background: #ffffff;
  border: 1.5px solid #fbcfe8;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 4px 16px rgba(219, 39, 119, 0.08);
  animation: fadeIn 0.22s ease;
}
.assistant-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
  padding-bottom: 9px;
  border-bottom: 1px dashed #fce7f3;
}
.assistant-card-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.assistant-kicker {
  background: linear-gradient(135deg, #ff2d75, #db2777);
  color: white;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 6px;
}
.assistant-card-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0;
}
.assistant-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: all 0.15s ease;
  line-height: 1;
}
.assistant-close-btn:hover {
  color: #e11d48;
  background: #ffe4e6;
}
.assistant-advice-text {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #334155;
  margin: 0 0 10px;
}
.assistant-advice-text strong {
  color: #0f172a;
}
.assistant-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid #f8fafc;
}
.assistant-filter-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
}
.assistant-filter-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.assistant-filter-chip:hover {
  background: #e2e8f0;
  color: #1e293b;
}
.assistant-filter-chip.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

@media (max-width: 768px) {
  .catalog-assistant-box {
    padding: 12px 13px;
  }
  .assistant-card-title {
    font-size: 0.86rem;
  }
  .assistant-advice-text {
    font-size: 0.82rem;
    line-height: 1.5;
  }
}

/* ====================================================
   CONSOLA DE CHAT Y ASESORÍA EN BÚSQUEDA (AMBOS MUNDOS)
   ==================================================== */
.search-chat-trigger-btn {
  background: linear-gradient(135deg, #ff2d75 0%, #db2777 100%);
  color: #ffffff;
  border: none;
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.28);
  transition: all 0.2s ease;
  font-family: inherit;
}
.search-chat-trigger-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.38);
  filter: brightness(1.05);
}
.search-chat-trigger-btn:active {
  transform: translateY(0);
}

/* ==============================================================
   MODAL DE PANTALLA COMPLETA: ASESORA VIRTUAL BELLA TEEN
   ============================================================== */
.search-chat-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.search-chat-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.25s ease;
}

.search-chat-container {
  position: relative;
  z-index: 2;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  background: #fdf4f8;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: none;
  border-radius: 0;
  border: none;
  animation: fullChatSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* En Desktop / Pantalla Ancha: Aprovechamiento completo de pantalla y costados */
@media (min-width: 769px) {
  .search-chat-container {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }
  .search-chat-header {
    padding: 14px 32px;
  }
  .search-chat-title {
    font-size: 1.05rem;
  }
  .search-chat-subtitle {
    font-size: 0.8rem;
  }
  .search-chat-messages {
    padding: 24px 40px;
    gap: 18px;
  }
  .search-chat-bubble.bot {
    padding: 22px 32px;
  }
  .chat-attached-cards-wrap {
    padding: 20px 26px;
    margin-top: 20px;
  }
  .chat-attached-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 16px;
  }
  .search-chat-followups {
    padding: 12px 40px;
  }
  .search-chat-input-bar {
    padding: 14px 40px;
  }
  .search-chat-input-bar input {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
}

/* En Mobile: 100% Pantalla completa sin bordes ni esquinas */
@media (max-width: 768px) {
  .search-chat-container {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    border: none;
  }
}

/* Cabecera del chat a pantalla completa */
.search-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ffffff 0%, #fff1f6 100%);
  border-bottom: 1.5px solid #fce7f3;
  box-shadow: 0 2px 10px rgba(225, 29, 72, 0.04);
  flex-shrink: 0;
}

.search-chat-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1.5px solid #fbcfe8;
  color: #db2777;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 7px 12px;
  border-radius: 99px;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
  font-family: inherit;
}
.search-chat-btn-back:hover {
  background: #fdf2f8;
  border-color: #ff2d75;
  color: #be185d;
  transform: translateX(-2px);
}

.search-chat-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.search-chat-header-text {
  min-width: 0;
}

.search-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff2d75, #db2777);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 3px 10px rgba(225, 29, 72, 0.28);
  flex-shrink: 0;
}

.search-chat-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.search-chat-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.search-chat-live-pill {
  font-size: 0.64rem;
  font-weight: 800;
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 1px 7px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.search-chat-subtitle {
  font-size: 0.72rem;
  color: #64748b;
  display: block;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.search-chat-btn-clear {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}
.search-chat-btn-clear:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.search-chat-btn-close {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  font-family: inherit;
}
.search-chat-btn-close:hover {
  background: #ffe4e6;
  border-color: #fbcfe8;
  color: #e11d48;
}

/* Hilo de mensajes a pantalla completa */
.search-chat-messages {
  flex: 1;
  padding: 16px 20px;
  max-height: none;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #f8fafc;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.search-chat-bubble {
  max-width: 90%;
  font-size: 0.9rem;
  line-height: 1.6;
  border-radius: 18px;
  padding: 14px 18px;
  animation: fadeIn 0.18s ease;
  word-break: break-word;
}

.search-chat-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.search-chat-bubble.bot {
  align-self: flex-start;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #fce7f3;
  border-bottom-left-radius: 4px;
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.04);
  max-width: 100%;
  width: 100%;
  padding: 18px 22px;
}

.chat-text-link {
  color: #db2777;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.chat-text-link:hover {
  color: #9d174d;
  background: #fdf2f8;
  border-radius: 4px;
}

/* Tablas comparativas dentro del chat - Estilo Boutique de Lujo */
.chat-table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 14px 0;
  border-radius: 14px;
  border: 1.5px solid #fbcfe8;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(225, 29, 72, 0.05);
}
.chat-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  min-width: 580px;
}
.chat-table th {
  background: linear-gradient(135deg, #fff1f6 0%, #fdf2f8 100%);
  color: #be185d;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 12px 14px;
  border-bottom: 2px solid #fbcfe8;
  text-align: left;
  white-space: nowrap;
}
.chat-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #334155;
}
.chat-table tr:last-child td {
  border-bottom: none;
}
.chat-table tr:nth-child(even) {
  background: #fffbfe;
}
.chat-table tr:hover {
  background: #fdf2f8;
}

/* Chips de Repreguntas Contextuales */
.search-chat-followups {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  border-top: 1px dashed #fce7f3;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex-shrink: 0;
}
.search-chat-followups::-webkit-scrollbar {
  display: none;
}
.search-chat-followup-chip {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  color: #be123c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 99px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
  font-family: inherit;
}
.search-chat-followup-chip:hover {
  background: #ffe4e6;
  border-color: #f43f5e;
  transform: translateY(-1px);
}

/* Barra de Entrada de Repregunta */
.search-chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1.5px solid #f1f5f9;
  flex-shrink: 0;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
}
.search-chat-input-bar input {
  flex: 1;
  border: 1.5px solid #cbd5e1;
  border-radius: 99px;
  padding: 10px 16px;
  font-size: 0.88rem;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s ease;
  background: #f8fafc;
}
.search-chat-input-bar input:focus {
  border-color: #db2777;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(219, 39, 119, 0.12);
}
.search-chat-send-btn {
  background: linear-gradient(135deg, #ff2d75, #db2777);
  color: #ffffff;
  border: none;
  border-radius: 99px;
  padding: 10px 18px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  font-family: inherit;
  flex-shrink: 0;
}
.search-chat-send-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.search-chat-send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.search-chat-voice-btn {
  background: #f8fafc;
  color: #475569;
  border: 1.5px solid #cbd5e1;
  border-radius: 99px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}
.search-chat-voice-btn:hover {
  background: #fdf2f8;
  color: #db2777;
  border-color: #f472b6;
  transform: scale(1.05);
}
.search-chat-voice-btn.recording {
  background: #ef4444 !important;
  color: #ffffff !important;
  border-color: #dc2626 !important;
  animation: micPulse 1.2s infinite ease-in-out;
}
@keyframes micPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
    transform: scale(1.08);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    transform: scale(1);
  }
}
.cprod-soldout-pill {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 99px;
  letter-spacing: 0.3px;
}
.cprod-btn-soldout {
  width: 50%;
  padding: 8px 10px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.cprod-btn-soldout:hover {
  background: #e2e8f0;
  color: #1e293b;
}

@media (max-width: 768px) {
  .search-chat-header {
    padding: 10px 12px;
  }
  .search-chat-messages {
    padding: 12px 14px;
    gap: 12px;
  }
  .search-chat-bubble {
    max-width: 92%;
    font-size: 0.84rem;
    padding: 10px 13px;
  }
  .search-chat-btn-back span {
    font-size: 0.75rem;
  }
  .btn-clear-text {
    display: none;
  }
  .search-chat-trigger-btn span {
    font-size: 0.72rem;
  }
  .search-chat-trigger-btn {
    padding: 5px 10px;
  }
  .catalog-search-input-box input {
    padding: 11px 126px 11px 40px;
    font-size: 0.88rem;
  }
  .catalog-search-input-box svg.catalog-search-lens {
    left: 12px;
    width: 18px;
    height: 18px;
  }
  .catalog-search-actions {
    right: 6px;
    gap: 5px;
  }
  .catalog-clear-btn {
    width: 22px;
    height: 22px;
    font-size: 0.68rem;
  }
}

@media (max-width: 440px) {
  .chat-btn-text-full {
    display: none;
  }
  .chat-btn-text-mob {
    display: inline;
  }
  .catalog-search-input-box input {
    padding: 10px 105px 10px 38px;
    font-size: 0.84rem;
  }
}




/* ====================================================
   SECCIÓN DE VIDEOS VIRALES & REELS EN TIENDA
==================================================== */
.viral-videos-preview-section {
  max-width: 1280px;
  margin: 12px auto 26px auto;
  padding: 0 16px;
}

.viral-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.viral-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #db2777;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  padding: 3px 10px;
  border-radius: 20px;
}

.viral-preview-title {
  font-family: Outfit, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin: 6px 0 2px 0;
  line-height: 1.2;
}

.viral-preview-subtitle {
  font-size: 0.86rem;
  color: #64748b;
  margin: 0;
}

.btn-view-all-videos {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: #be185d;
  border: 1.5px solid #fbcfe8;
  font-family: Outfit, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 24px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.06);
  transition: all 0.2s ease;
}

.btn-view-all-videos:hover {
  background: #fdf2f8;
  border-color: #db2777;
  color: #9d174d;
  transform: translateX(2px);
}

.carousel-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  color: #db2777;
  border: 1.5px solid #fbcfe8;
  font-size: 1.35rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
  line-height: 1;
  user-select: none;
}

.carousel-nav-btn:hover {
  background: #fdf2f8;
  border-color: #db2777;
  color: #be185d;
  transform: scale(1.08);
}

.viral-reels-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #fbcfe8 transparent;
}

.viral-reels-strip::-webkit-scrollbar {
  height: 6px;
}

.viral-reels-strip::-webkit-scrollbar-track {
  background: transparent;
}

.viral-reels-strip::-webkit-scrollbar-thumb {
  background: #fbcfe8;
  border-radius: 10px;
}

/* Card individual de Video Reel */
.reel-preview-card {
  flex: 0 0 200px;
  width: 200px;
  height: 310px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #0f172a;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.reel-preview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(225, 29, 72, 0.22);
}

.reel-thumb-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.reel-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.reel-preview-card:hover .reel-thumb-img {
  transform: scale(1.05);
}

.reel-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
}

.reel-badge-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(225, 29, 72, 0.9);
  backdrop-filter: blur(4px);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.reel-duration-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 8px;
}

.reel-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e11d48;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
  opacity: 0.9;
}

.reel-preview-card:hover .reel-play-indicator {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ffffff;
  color: #db2777;
  opacity: 1;
}

.reel-card-info {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  color: white;
  z-index: 2;
}

.reel-card-title {
  font-family: Outfit, sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.reel-card-product-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  color: #0f172a;
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
}

.reel-card-product-pill:hover {
  transform: scale(1.03);
}

.reel-pill-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.reel-pill-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #0f172a;
}

.reel-pill-price {
  color: #db2777;
  font-weight: 900;
}

/* ====================================================
   VISTA DEDICADA: VIEW-VIDEOS
==================================================== */
.videos-view-container {
  max-width: 1200px;
  margin: 20px auto 40px auto;
  padding: 0 16px;
}

.videos-header-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #831843 60%, #be123c 100%);
  border-radius: 24px;
  padding: 32px 24px;
  color: white;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(131, 24, 67, 0.2);
  position: relative;
  overflow: hidden;
}

.videos-header-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.videos-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  color: #fbcfe8;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.videos-main-title {
  font-family: Outfit, sans-serif;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 0 10px 0;
  line-height: 1.15;
  color: #ffffff;
}

.videos-main-subtitle {
  font-size: 0.95rem;
  color: #fed7aa;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.45;
  opacity: 0.95;
}

.videos-filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.video-filter-pill {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  color: #475569;
  font-family: Outfit, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.video-filter-pill:hover {
  border-color: #f472b6;
  color: #db2777;
}

.video-filter-pill.active {
  background: linear-gradient(135deg, #e11d48, #db2777);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.28);
}

.videos-reels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.videos-reels-grid .reel-preview-card {
  width: 100%;
  height: 350px;
  flex: none;
}

/* ====================================================
   MODAL REPRODUCTOR DE REEL
==================================================== */
.video-modal-overlay {
  display: none;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  z-index: 99999;
}

.video-reel-modal-content {
  max-width: 380px;
  width: 92%;
  height: 85vh;
  max-height: 720px;
  padding: 0;
  background: #000000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  display: flex;
  flex-direction: column;
}

.video-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  color: white;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  z-index: 10;
  cursor: pointer;
  transition: transform 0.2s;
}

.video-modal-close:hover {
  transform: scale(1.1);
}

.video-player-frame {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

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

.reel-controls-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.reel-sound-toggle,
.reel-play-toggle {
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.reel-sound-toggle:hover,
.reel-play-toggle:hover {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.8);
}

.reel-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 35%, rgba(0, 0, 0, 0.95) 100%);
  padding: 30px 16px 16px 16px;
  color: white;
  z-index: 5;
}

.reel-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.reel-badge-tag {
  background: #e11d48;
  color: white;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
}

.reel-views-pill {
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 600;
}

.reel-modal-title {
  font-family: Outfit, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 4px 0;
  color: #ffffff;
  line-height: 1.25;
}

.reel-modal-desc {
  font-size: 0.78rem;
  color: #e2e8f0;
  margin: 0 0 12px 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reel-product-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.reel-prod-thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #fce7f3;
}

.reel-prod-info {
  flex: 1;
  min-width: 0;
}

.reel-prod-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  color: #059669;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reel-prod-name {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  margin: 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.reel-prod-price {
  font-family: Outfit, sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  color: #be185d;
}

.reel-prod-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.btn-reel-view,
.btn-reel-add {
  font-family: Outfit, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease;
}

.btn-reel-view {
  background: #f1f5f9;
  color: #334155;
}

.btn-reel-view:hover {
  background: #e2e8f0;
}

.btn-reel-add {
  background: linear-gradient(135deg, #e11d48, #db2777);
  color: white;
  box-shadow: 0 2px 8px rgba(225, 29, 72, 0.3);
}

.btn-reel-add:hover {
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .reel-preview-card {
    flex: 0 0 170px;
    width: 170px;
    height: 270px;
  }
  .viral-preview-title {
    font-size: 1.25rem;
  }
  .videos-reels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .videos-reels-grid .reel-preview-card {
    height: 290px;
  }
  .video-reel-modal-content {
    width: 95%;
    height: 80vh;
  }
}
