/* ==========================================================================
   HS PERFUMES - Estilo Dark Luxury & Modern Boutique (30 ml & 60 ml)
   ========================================================================== */

:root,
[data-theme="light"] {
  /* Fondos Modo Claro (Boutique de Lujo Blanca / Alabastro) */
  --bg-main: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --bg-media: #f8fafc;

  /* Acentos Dorados de Alta Legibilidad */
  --gold-primary: #b38914;
  --gold-hover: #99730e;
  --gold-light: #78350f;
  --gold-glow: rgba(179, 137, 20, 0.16);
  --gold-border: rgba(179, 137, 20, 0.28);

  /* Tipografía */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;

  /* Bordes & Separadores */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-card: rgba(15, 23, 42, 0.08);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-gold: 0 8px 25px rgba(179, 137, 20, 0.14);
  --shadow-ambient: rgba(15, 23, 42, 0.06);

  /* Acentos de Estado */
  --accent-green: #16a34a;
  --accent-mp: #0284c7;
  --accent-danger: #dc2626;

  /* Tipografías y Dimensiones */
  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.15s ease;
}

[data-theme="dark"] {
  /* Fondos Modo Oscuro (Obsidian & Gold Luxury) */
  --bg-main: #0b0c10;
  --bg-surface: #13151b;
  --bg-card: #181b24;
  --bg-elevated: #222633;
  --bg-glass: rgba(19, 21, 27, 0.88);
  --bg-media: #0d0f14;

  /* Acentos Dorados Brillantes */
  --gold-primary: #d4af37;
  --gold-hover: #e5c04e;
  --gold-light: #f5e49e;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-border: rgba(212, 175, 55, 0.3);

  /* Tipografía */
  --text-main: #f3f4f6;
  --text-muted: #9ba1b0;
  --text-subtle: #6b7280;

  /* Bordes & Separadores */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.08);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.15);
  --shadow-ambient: rgba(0, 0, 0, 0.5);

  --accent-green: #25d366;
  --accent-mp: #009ee3;
  --accent-danger: #ef4444;
}

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

html {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--gold-hover);
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-announcement-bar {
  background: linear-gradient(90deg, #fef3c7, #fffbeb, #fef3c7);
  border-bottom: 1px solid var(--gold-border);
  padding: 8px 0;
  font-size: 0.85rem;
  color: #78350f;
  position: relative;
  z-index: 50;
  transition: var(--transition-smooth);
}

[data-theme="dark"] .top-announcement-bar {
  background: linear-gradient(90deg, #1b1606, #2d2407, #1b1606);
  color: var(--gold-light);
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.announcement-tag {
  background: var(--gold-primary);
  color: #0b0c10;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.btn-text {
  background: none;
  border: none;
  color: var(--text-main);
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: inherit;
}

/* ==========================================================================
   SITE HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
  padding: 12px 0;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: #0d0e12;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 14px var(--gold-glow);
  border: 1.5px solid var(--gold-border);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-wrapper:hover .brand-icon {
  transform: scale(1.05);
  box-shadow: 0 6px 18px var(--gold-glow);
}

.brand-icon img,
.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-main);
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--gold-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.btn-icon {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-icon:hover {
  background: var(--bg-elevated);
  color: var(--gold-primary);
  border-color: var(--gold-border);
}

.theme-toggle-btn {
  border-radius: var(--radius-full);
}

.theme-toggle-btn i {
  color: var(--gold-primary);
  font-size: 0.95rem;
}

.btn-cart {
  background: linear-gradient(135deg, var(--gold-primary), #b38b1d);
  border: none;
  color: #0b0c10;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px var(--gold-glow);
  transition: var(--transition-smooth);
}

.btn-cart:hover {
  background: linear-gradient(135deg, var(--gold-hover), #c99e23);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--gold-glow);
}

.cart-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #0b0c10;
  color: var(--gold-primary);
  border: 1px solid var(--gold-primary);
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 60px 0 50px;
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.08), transparent 60%);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 580px;
}

.value-props {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 34px;
}

.prop-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.prop-icon {
  width: 38px;
  height: 38px;
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1rem;
}

.prop-info {
  display: flex;
  flex-direction: column;
}

.prop-info strong {
  font-size: 0.95rem;
  color: var(--text-main);
}

.prop-info span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  font-family: var(--font-sans);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary), #ab841b);
  color: #0b0c10;
  box-shadow: 0 4px 18px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-hover), #c29723);
  transform: translateY(-2px);
  color: #0b0c10;
}

.btn-secondary {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--gold-border);
  color: var(--gold-primary);
}

/* Luxury Bottle Card en Hero */
.hero-visual {
  position: relative;
}

.luxury-bottle-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-surface));
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.bottle-emblem {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
  background: #0d0e12;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 24px var(--gold-glow);
  transition: transform 0.3s ease;
}

.bottle-emblem:hover {
  transform: scale(1.06) rotate(2deg);
}

.hero-emblem-badge {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bottle-tag {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--gold-primary);
  margin-bottom: 8px;
  font-weight: 700;
}

.bottle-headline {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.bottle-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.hero-dual-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.bottle-price-pill {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bottle-price-pill span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.bottle-price-pill strong {
  font-size: 1rem;
  color: var(--gold-primary);
}

/* ==========================================================================
   PROMOTIONS SECTION
   ========================================================================== */
.promos-section {
  padding: 30px 0 45px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header-compact {
  text-align: center;
  margin-bottom: 28px;
}

.subheading {
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: var(--gold-primary);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 6px;
}

.section-header-compact h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-main);
}

.promos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.promo-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-surface));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: var(--transition-smooth);
}

.promo-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
}

.promo-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.promo-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.promo-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.promo-benefit {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--gold-primary);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ==========================================================================
   CATALOG SECTION
   ========================================================================== */
.catalog-section {
  padding: 60px 0;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.catalog-title-group {
  max-width: 600px;
  min-width: 0;
}

.catalog-title-group h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 6px;
  color: var(--text-main);
  word-break: break-word;
}

.catalog-title-group p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.catalog-controls {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 440px;
  min-width: 0;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-subtle);
  font-size: 0.9rem;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 12px 40px 12px 40px;
  border-radius: var(--radius-md);
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
  font-family: inherit;
  outline: none;
  transition: var(--transition-smooth);
}

.search-box input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.clear-search {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.filter-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-pill:hover {
  background: var(--bg-elevated);
  color: var(--text-main);
}

.filter-pill.active {
  background: var(--gold-primary);
  color: #0b0c10;
  border-color: var(--gold-primary);
}

.results-meta {
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 24px;
}

/* Grid de Productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

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

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md), 0 8px 20px var(--shadow-ambient);
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.12;
  background: var(--bg-media);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-subtle);
}

.product-placeholder i {
  font-size: 3.5rem;
  color: rgba(212, 175, 55, 0.35);
}

.badge-gender {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--bg-surface);
  color: var(--gold-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-sm);
}

.badge-volume {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.product-model {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.product-desc {
  font-size: 0.8rem;
  color: var(--text-subtle);
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Selector de Tamaño 30ml vs 60ml en la card */
.size-selector-container {
  margin-bottom: 14px;
}

.size-selector-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: block;
}

.size-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--bg-elevated);
  padding: 3px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.size-pill {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.size-pill.active {
  background: var(--gold-primary);
  color: #0b0c10;
  font-weight: 700;
}

.size-pill .size-price {
  font-size: 0.7rem;
  opacity: 0.85;
}

.product-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.price-container {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.price-val {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.price-promo-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.product-actions {
  display: flex;
  gap: 8px;
}

.qty-control {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-main);
  width: 32px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.qty-btn:hover {
  background: var(--bg-elevated);
  color: var(--gold-primary);
}

.qty-val {
  width: 28px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-add-cart {
  flex-grow: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-add-cart:hover {
  background: var(--gold-primary);
  color: #0b0c10;
}

/* ==========================================================================
   HELP BANNER (WHATSAPP ASESORAMIENTO)
   ========================================================================== */
.help-banner {
  padding: 50px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="dark"] .help-banner {
  background: radial-gradient(circle at 50% 50%, #161a22 0%, #0b0c10 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.help-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.help-text h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.help-text p {
  color: var(--text-muted);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-whatsapp:hover {
  background: #20ba59;
  color: #fff;
  transform: translateY(-2px);
}

.wpp-btn-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: block;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  padding: 40px 0 30px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

[data-theme="dark"] .site-footer {
  background: #08090b;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo-wrapper {
  margin-bottom: 8px;
  display: inline-block;
  transition: transform 0.25s ease;
}

.footer-logo-wrapper:hover {
  transform: scale(1.03);
}

.footer-brand-logo {
  max-height: 75px;
  width: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  display: inline-block;
}

.footer-brand p {
  color: var(--text-subtle);
  font-size: 0.85rem;
  margin-top: 6px;
}

.footer-bottom {
  color: var(--text-subtle);
  font-size: 0.78rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  width: 100%;
}

/* ==========================================================================
   CART DRAWER & CHECKOUT
   ========================================================================== */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -10px 0 30px var(--shadow-ambient);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.drawer-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-primary);
}

.drawer-title h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-main);
}

.btn-close-drawer,
.btn-close-modal {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 6px;
  transition: var(--transition-smooth);
}

.btn-close-drawer:hover,
.btn-close-modal:hover {
  color: var(--gold-primary);
}

.drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-subtle);
}

.cart-empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--border-subtle);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: var(--radius-md);
}

.cart-item-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--bg-media);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-badge-vol {
  display: inline-block;
  font-size: 0.68rem;
  background: var(--gold-glow);
  color: var(--gold-primary);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
}

.cart-item-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.cart-item-price {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-remove-item {
  background: none;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  padding: 6px;
}

.btn-remove-item:hover {
  color: var(--accent-danger);
}

.drawer-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 24px;
  background: var(--bg-main);
}

.cart-summary-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.promo-savings {
  color: var(--gold-light);
  font-weight: 600;
}

.total-row {
  border-top: 1px dashed var(--border-subtle);
  padding-top: 10px;
  margin-top: 10px;
  font-size: 1.15rem;
  color: var(--text-main);
}

.promo-hint-box {
  font-size: 0.8rem;
  color: var(--gold-primary);
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-top: 10px;
  display: none;
}

.checkout-form .form-group {
  margin-bottom: 12px;
}

.checkout-form label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.checkout-form input,
select,
textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  outline: none;
  font-family: inherit;
}

.checkout-form input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 2px var(--gold-glow);
}

.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.btn-whatsapp-checkout {
  background: #25d366;
  color: #fff;
  font-weight: 700;
  width: 100%;
  padding: 14px;
}

.btn-whatsapp-checkout:hover {
  background: #20ba59;
  color: #fff;
}

.btn-mp-checkout {
  background: #009ee3;
  color: #fff;
  font-weight: 700;
  width: 100%;
  padding: 14px;
}

.btn-mp-checkout:hover {
  background: #0087c2;
  color: #fff;
}

/* ==========================================================================
   ADMIN MODAL & DASHBOARD
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal-window,
.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 1000px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md), 0 0 40px rgba(0,0,0,0.8);
  overflow: hidden;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-primary);
}

.modal-title h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
}

/* Admin Login View */
.admin-login-card {
  max-width: 380px;
  margin: 30px auto;
  text-align: center;
}

.lock-circle {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 18px;
}

.admin-login-card h4 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.admin-login-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.admin-login-hint {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 14px;
}

/* Tabs */
.admin-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.admin-tab {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: var(--transition-smooth);
  position: relative;
}

.admin-tab:hover {
  color: var(--text-main);
  background: var(--bg-elevated);
}

.admin-tab.active {
  color: #0b0c10;
  background: var(--gold-primary);
}

.badge-tab {
  background: var(--accent-danger);
  color: #fff;
  font-size: 0.68rem;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

.pane-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 14px;
  flex-wrap: wrap;
}

.pane-title-group h4 {
  font-size: 1.15rem;
  color: var(--text-main);
}

.pane-title-group p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.pane-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.order-filter-pills {
  display: flex;
  gap: 6px;
}

.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.admin-table th {
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table-thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-media);
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.status-badge {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-block;
}

.status-confirmada, .status-active {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.status-pendiente {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-cancelada, .status-suspended {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.action-buttons {
  display: flex;
  gap: 6px;
}

.btn-table-action {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.btn-table-action:hover {
  color: var(--gold-primary);
  border-color: var(--gold-border);
}

.btn-table-action.confirm-action {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
  color: #25d366;
}

.btn-table-action.confirm-action:hover {
  background: #25d366;
  color: #0b0c10;
}

.btn-table-action.danger:hover {
  color: var(--accent-danger);
  border-color: var(--accent-danger);
}

/* Configuración de Costos Dual Formato */
.costs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cost-format-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.cost-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin-bottom: 14px;
}

.margin-preview-box {
  background: var(--gold-glow);
  border: 1px solid var(--gold-border);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 0.88rem;
}

.margin-preview-box strong {
  color: #25d366;
  font-size: 0.95rem;
}

/* Calculadora de Promos */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.calc-results-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.calc-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 14px;
}

.calc-metrics-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.calc-metric-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
}

.calc-metric-row.highlight {
  font-size: 1.1rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--gold-border);
  padding-bottom: 10px;
  margin-top: 4px;
}

.calc-advice {
  font-size: 0.85rem;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-muted);
}

/* Analíticas & KPIs */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.kpi-card.profit-card {
  border-color: rgba(37, 211, 102, 0.35);
  background: var(--bg-card);
}

[data-theme="dark"] .kpi-card.profit-card {
  background: linear-gradient(145deg, #18241b, #121914);
}

.kpi-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.kpi-info {
  display: flex;
  flex-direction: column;
}

.kpi-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.kpi-info strong {
  font-size: 1.3rem;
  color: var(--text-main);
}

.rankings-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.ranking-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
}

.ranking-card h4 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-table th, .mini-table td {
  padding: 8px 10px;
  font-size: 0.8rem;
}

/* Secciones de Precios y Form */
.admin-card-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.admin-card-section h4 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-card-section p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.mp-config-box {
  background: rgba(0, 158, 227, 0.06);
  border: 1px solid rgba(0, 158, 227, 0.25);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.mp-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.mp-header i {
  color: var(--accent-mp);
  font-size: 1.4rem;
  margin-top: 2px;
}

.admin-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.admin-status-badge {
  font-size: 0.8rem;
  color: #25d366;
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group-checkbox {
  margin-top: 10px;
}

.form-group-checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-group-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-primary);
}

.image-uploader {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.image-preview {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  background: var(--bg-media);
  border: 1px dashed var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  animation: slideInToast 0.3s ease;
}

.toast-success i { color: #25d366; }
.toast-error i { color: #ef4444; }
.toast-info i { color: var(--gold-primary); }

@keyframes slideInToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .costs-grid, .calc-grid, .rankings-grid {
    grid-template-columns: 1fr;
  }
  .catalog-header {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-controls {
    min-width: 100%;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   OUT OF STOCK BANNER & CARD STYLES
   ========================================================================== */
.out-of-stock-section {
  padding: 10px 0 25px;
}

.out-of-stock-card {
  background: var(--bg-card);
  border: 1px solid rgba(234, 179, 8, 0.4);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .out-of-stock-card {
  background: linear-gradient(145deg, #fffbeb, #fef3c7);
  border: 1px solid rgba(217, 119, 6, 0.3);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.08);
}

[data-theme="dark"] .out-of-stock-card {
  background: linear-gradient(145deg, #1c1810, #14120d);
  border: 1px solid rgba(234, 179, 8, 0.35);
}

.stock-warning-tag {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.out-of-stock-header h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.out-of-stock-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.out-of-stock-groups {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stock-gender-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stock-gender-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.stock-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stock-out-pill {
  background: var(--bg-surface);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: var(--text-main);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stock-out-pill small {
  color: #eab308;
  font-size: 0.7rem;
}

.badge-stock-out {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(234, 179, 8, 0.9);
  color: #0b0c10;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  z-index: 5;
  letter-spacing: 0.5px;
}

.product-card.is-out-of-stock .product-img {
  filter: grayscale(0.5) contrast(0.9);
  opacity: 0.7;
}

.btn-add-cart.disabled {
  background: var(--bg-surface) !important;
  border-color: var(--border-subtle) !important;
  color: var(--text-subtle) !important;
  cursor: not-allowed !important;
}

.status-stock-out {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.status-stock-in {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

/* ==========================================================================
   FORMATS SHOWCASE (BANNERS 30ML & 60ML)
   ========================================================================== */
.formats-showcase-section {
  padding: 30px 0 10px 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.showcase-banner-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.showcase-banner-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
}

.showcase-banner-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
  transition: filter var(--transition-smooth);
}

.showcase-banner-card:hover .showcase-banner-img {
  filter: brightness(0.95);
}

.showcase-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(11, 12, 16, 0.95) 0%, rgba(11, 12, 16, 0.75) 60%, transparent 100%);
  padding: 16px 20px;
}

.showcase-badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.showcase-card-overlay h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.showcase-card-overlay p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.35;
  margin: 0;
}

/* ==========================================================================
   TAG FILTERS (CHIPS Y FAMILIAS OLFATIVAS)
   ========================================================================== */
.tag-filters-bar {
  margin-top: 14px;
  margin-bottom: 24px;
  padding: 14px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

[data-theme="dark"] .tag-filters-bar {
  background: rgba(17, 19, 24, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.tag-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.tag-filters-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.clear-tags-btn {
  background: none;
  border: none;
  color: #f87171;
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.clear-tags-btn:hover {
  background: rgba(248, 113, 113, 0.1);
}

.tag-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition-fast);
}

.tag-chip:hover {
  background: var(--gold-glow);
  border-color: var(--gold-border);
  color: var(--text-main);
  transform: translateY(-1px);
}

.tag-chip.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #0b0c10;
  font-weight: 700;
  box-shadow: 0 0 12px var(--gold-glow);
}

.tag-chip-count {
  font-size: 0.7rem;
  opacity: 0.85;
  background: rgba(0, 0, 0, 0.2);
  padding: 1px 6px;
  border-radius: var(--radius-full);
  margin-left: 2px;
}

/* ==========================================================================
   PRODUCT CARDS: TAGS BADGES
   ========================================================================== */
.product-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 0 10px 0;
}

.product-tag-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-tag-chip:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background: var(--gold-glow);
}

/* ==========================================================================
   ADMIN: GESTIÓN DE ETIQUETAS Y ASIGNACIÓN MASIVA
   ========================================================================== */
.tags-admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
}

@media (max-width: 992px) {
  .tags-admin-grid {
    grid-template-columns: 1fr;
  }
}

.tags-crud-panel,
.tags-bulk-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
}

.tag-create-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
}

.tags-badge-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
}

.tag-admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  transition: border-color var(--transition-fast);
}

.tag-admin-item:hover {
  border-color: var(--gold-border);
}

.tag-admin-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tag-color-circle {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.tag-admin-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.tag-admin-count {
  font-size: 0.75rem;
  color: var(--text-subtle);
  background: var(--bg-elevated);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.tag-admin-actions {
  display: flex;
  gap: 6px;
}

.btn-icon-tag {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.btn-icon-tag:hover {
  color: var(--text-main);
  background: var(--bg-elevated);
}

.btn-icon-tag.btn-delete:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
}

/* Asignación Masiva / Grupal */
.bulk-search-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.bulk-search-controls input {
  flex: 1;
}

.bulk-selection-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.btn-text-action {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 0.78rem;
  cursor: pointer;
  text-decoration: underline;
}

.bulk-perfumes-scroll {
  max-height: 280px;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.bulk-perfume-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  transition: background var(--transition-fast);
  user-select: none;
}

.bulk-perfume-item:hover {
  background: var(--bg-elevated);
}

.bulk-perfume-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
}

.bulk-perfume-tags-inline {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
}

.bulk-tag-pill-mini {
  font-size: 0.65rem;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--gold-glow);
  color: var(--gold-primary);
}

.bulk-actions-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.bulk-multiselect {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  padding: 6px;
  font-size: 0.85rem;
}

.bulk-multiselect option {
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 2px;
}

.bulk-multiselect option:checked {
  background: var(--gold-primary);
  color: #0b0c10;
}

/* Checkboxes de etiquetas en Product Edit Modal */
.product-tags-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  max-height: 180px;
  overflow-y: auto;
}

.tag-checkbox-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.tag-checkbox-item:hover {
  color: var(--text-main);
}

.tag-checkbox-item input[type="checkbox"] {
  accent-color: var(--gold-primary);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* ==========================================================================
   GALERÍA DE FOTOS REALES & SHOWCASE INTERACTIVO
   ========================================================================== */
.btn-gallery-hero {
  border-color: var(--gold-border) !important;
  color: var(--gold-primary) !important;
}

.btn-gallery-hero:hover {
  background: var(--gold-glow) !important;
  border-color: var(--gold-primary) !important;
  color: var(--text-main) !important;
}

.real-gallery-section {
  padding: 60px 0 70px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

[data-theme="dark"] .real-gallery-section {
  background: radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.05) 0%, rgba(11, 12, 16, 1) 75%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.section-header-centered {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.section-header-centered h2 {
  font-size: 2.2rem;
  color: var(--text-main);
  margin: 10px 0 12px;
  font-family: var(--font-serif);
}

.section-lead-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.section-lead-text strong {
  color: var(--gold-primary);
}

/* Tabs de filtrado de galería */
.gallery-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.gallery-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gallery-tab-btn i {
  font-size: 0.85rem;
}

.gallery-tab-btn:hover {
  background: var(--bg-elevated);
  border-color: var(--gold-border);
  color: var(--text-main);
}

.gallery-tab-btn.active {
  background: linear-gradient(135deg, var(--gold-primary), #b38914);
  border-color: var(--gold-primary);
  color: #0c0d12;
  box-shadow: 0 4px 14px var(--gold-glow);
}

/* Grid de fotos reales */
.real-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
  box-shadow: var(--shadow-sm);
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-md), var(--shadow-gold);
}

.gallery-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-media);
}

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

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

.gallery-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bg-surface);
  color: var(--gold-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--gold-border);
  letter-spacing: 0.03em;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.gallery-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.gallery-zoom-pill {
  background: rgba(12, 14, 18, 0.85);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.gallery-card:hover .gallery-zoom-overlay {
  opacity: 1;
}

.gallery-card-info {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-card-title {
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 6px;
  font-weight: 700;
}

.gallery-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.gallery-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease-out;
}

.lightbox-container {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 92vh;
  background: #111319;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.2);
  display: flex;
  flex-direction: column;
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.lightbox-close-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: #ef4444;
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 45%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: var(--gold-primary);
  color: #0b0c10;
  transform: scale(1.1);
}

.lightbox-prev {
  left: 14px;
}

.lightbox-next {
  right: 14px;
}

.lightbox-media-wrap {
  width: 100%;
  max-height: 68vh;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #090a0d;
  overflow: hidden;
}

.lightbox-media-wrap img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  display: block;
}

.lightbox-info-pane {
  padding: 18px 24px;
  background: #111319;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lightbox-badge {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.lightbox-counter {
  font-size: 0.8rem;
  color: var(--text-subtle);
  font-weight: 600;
}

.lightbox-title {
  color: #fff;
  font-size: 1.25rem;
  margin: 0 0 6px 0;
  font-family: var(--font-serif);
}

.lightbox-desc {
  color: #9ba1b0;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   MOBILE WEBAPP & RESPONSIVE RULES
   ========================================================================== */
@media (max-width: 768px) {
  .real-gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
  }
  .section-header-centered h2 {
    font-size: 1.7rem;
  }
  .lightbox-media-wrap {
    max-height: 55vh;
  }
  .lightbox-media-wrap img {
    max-height: 55vh;
  }
}

/* Mobile WebApp Styles (Smartphones & Tablets < 640px) */
@media (max-width: 640px) {
  .container {
    padding: 0 12px;
  }

  /* Compact Sticky Header */
  .site-header {
    padding: 8px 0;
  }
  .brand-wrapper {
    gap: 8px;
  }
  .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .brand-title {
    font-size: 1.12rem;
    letter-spacing: 0.8px;
  }
  .brand-tagline {
    display: none;
  }
  .header-actions {
    gap: 6px;
  }
  .theme-label,
  .action-label {
    display: none;
  }
  .btn-icon {
    padding: 8px 10px;
    border-radius: var(--radius-sm);
  }
  .btn-cart {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
  }
  .cart-total-preview {
    display: none;
  }

  /* Hero Section */
  .hero-section {
    padding: 32px 0 24px;
  }
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 14px;
  }
  .hero-description {
    font-size: 0.92rem;
    margin-bottom: 22px;
  }
  .value-props {
    gap: 12px;
    margin-bottom: 24px;
  }
  .prop-item {
    gap: 12px;
  }
  .prop-icon {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }
  .luxury-bottle-card {
    padding: 24px 18px;
  }
  .bottle-headline {
    font-size: 1.25rem;
  }

  /* Catalog Header & Controls */
  .catalog-section {
    padding: 24px 0 36px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }
  .catalog-header {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 12px;
    gap: 12px;
    box-sizing: border-box;
  }
  .catalog-title-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .catalog-title-group h2 {
    font-size: 1.5rem;
  }
  .catalog-title-group p {
    font-size: 0.85rem;
  }
  .catalog-controls {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 10px;
    box-sizing: border-box;
  }
  .search-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .search-box input {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    font-size: 16px !important; /* Prevents iOS Safari auto-zoom */
    padding: 11px 36px 11px 38px !important;
    box-sizing: border-box !important;
  }

  /* Segmented Gender Pills (Full width 4-column bar - Never overflows) */
  .filter-pills {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 5px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
  }
  .filter-pill {
    width: 100% !important;
    min-width: 0 !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 8px 2px !important;
    font-size: 0.76rem !important;
    white-space: nowrap !important;
    border-radius: var(--radius-full) !important;
  }

  /* Tag Filters Bar on Mobile */
  .tag-filters-bar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 4px !important;
    margin-bottom: 16px !important;
    padding: 10px 10px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: var(--radius-md) !important;
  }
  .tag-filters-header {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
  }
  .tag-filters-title {
    font-size: 0.76rem !important;
  }
  .clear-tags-btn {
    font-size: 0.72rem !important;
    padding: 2px 6px !important;
  }

  /* Horizontal swipe for tags & gallery buttons inside constrained containers */
  .tag-chips-container,
  .gallery-filter-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 2px 2px 6px 2px !important;
    gap: 7px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tag-chips-container::-webkit-scrollbar,
  .gallery-filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .tag-chip {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 5px 11px !important;
    font-size: 0.75rem !important;
  }
  .gallery-tab-btn {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: 0.78rem !important;
  }

  /* 2-COLUMN CATALOG GRID (App Store / Zara style) */
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .product-card {
    border-radius: var(--radius-md);
  }
  .product-media {
    aspect-ratio: 1 / 1.05;
  }
  .badge-gender,
  .badge-volume {
    font-size: 0.65rem;
    padding: 2px 6px;
  }
  .product-body {
    padding: 10px 8px;
  }
  .product-brand {
    font-size: 0.65rem;
    letter-spacing: 1px;
    margin-bottom: 2px;
  }
  .product-name {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 2px;
  }
  .product-model {
    font-size: 0.72rem;
    margin-bottom: 4px;
  }
  .product-desc {
    display: none; /* Keep mobile card clean and compact */
  }
  .product-card-tags {
    margin: 4px 0 6px 0;
    gap: 3px;
  }
  .product-tag-chip {
    font-size: 0.62rem;
    padding: 1px 5px;
  }

  /* Size Selector on Mobile */
  .size-selector-container {
    margin-bottom: 8px;
  }
  .size-selector-label {
    font-size: 0.65rem;
    margin-bottom: 2px;
  }
  .size-pills {
    gap: 4px;
    padding: 2px;
  }
  .size-pill {
    padding: 4px 2px;
    font-size: 0.7rem;
  }
  .size-pill .size-price {
    font-size: 0.64rem;
  }

  /* Footer & Action Buttons on Mobile */
  .product-footer {
    padding-top: 8px;
    gap: 8px;
  }
  .price-val {
    font-size: 1.05rem;
  }
  .product-actions {
    flex-direction: column;
    gap: 6px;
  }
  .qty-control {
    width: 100%;
    justify-content: space-between;
    height: 32px;
  }
  .qty-btn {
    width: 36px;
    height: 32px;
  }
  .qty-val {
    font-size: 0.82rem;
  }
  .btn-add-cart {
    width: 100%;
    padding: 8px 6px;
    font-size: 0.78rem;
    justify-content: center;
  }

  /* Mobile Full-Width Cart Drawer */
  .cart-drawer {
    max-width: 100% !important;
    width: 100% !important;
  }
  .drawer-body {
    padding: 16px;
  }
  .drawer-footer {
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }

  /* Admin & Modals on Mobile */
  .modal-backdrop {
    padding: 8px;
  }
  .admin-modal-window,
  .modal-dialog {
    max-width: 100%;
    max-height: 98vh;
    border-radius: var(--radius-md);
  }
  .modal-header {
    padding: 12px 16px;
  }
  .modal-body {
    padding: 14px;
  }
  .costs-grid,
  .calc-grid,
  .rankings-grid,
  .form-grid {
    grid-template-columns: 1fr !important;
  }

  /* Help Banner & Footer */
  .help-banner {
    padding: 36px 0;
  }
  .help-content {
    flex-direction: column;
    text-align: center;
  }
  .btn-whatsapp {
    width: 100%;
  }
}

/* ==========================================================================
   ADMIN LOGIN BADGE & EMBLEM
   ========================================================================== */
.admin-login-badge {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 4px 20px var(--gold-glow);
  background: #0d0e12;
}

.admin-login-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   BOTÓN FLOTANTE OFICIAL WHATSAPP
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111317;
  color: #ffffff;
  padding: 6px 18px 6px 6px;
  border-radius: 9999px;
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px var(--gold-glow);
  cursor: pointer;
  outline: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.whatsapp-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(179, 137, 20, 0.45);
}

.whatsapp-float-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.whatsapp-float-text {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #f8fafc;
  white-space: nowrap;
}

.whatsapp-float-pulse {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  animation: wppPulse 2.4s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  opacity: 0;
}

@keyframes wppPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.9;
  }
  60% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .whatsapp-float-btn {
    bottom: 18px;
    right: 16px;
    padding: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    justify-content: center;
  }
  .whatsapp-float-avatar {
    width: 100%;
    height: 100%;
  }
  .whatsapp-float-text {
    display: none;
  }
  .whatsapp-float-pulse {
    top: 0;
    left: 0;
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================================
   PROMOTIONS ADMIN & SIMULATION STYLES
   ========================================================================== */
.promo-admin-explainer {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 14px;
  margin-bottom: 18px;
}

.promo-admin-explainer .explainer-icon {
  font-size: 1.25rem;
  color: var(--gold-primary);
  margin-top: 2px;
}

.promo-admin-explainer .explainer-text {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.5;
}

.promo-admin-explainer .explainer-text strong {
  color: var(--gold-light);
  display: block;
  margin-bottom: 2px;
}

.promo-sim-preview-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-top: 6px;
}

.promo-sim-preview-box .preview-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.promo-sim-preview-box p {
  font-size: 0.85rem;
  color: var(--text-main);
  margin: 0;
  line-height: 1.4;
}

.badge-promo-type {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.badge-type-combo {
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.badge-type-2x1 {
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
  border: 1px solid rgba(236, 72, 153, 0.3);
}

.badge-type-bulk {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-format {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   DESCARGAR CATÁLOGO PDF (MODAL & BOTONES)
   ========================================================================== */
.btn-catalog-pdf-hero {
  border-color: rgba(239, 68, 68, 0.4);
  color: var(--text-main);
  background: rgba(239, 68, 68, 0.06);
}

.btn-catalog-pdf-hero:hover {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.2);
}

.catalog-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-catalog-pdf-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--gold-border);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-light);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-catalog-pdf-header:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
}

.catalog-download-dialog {
  max-width: 680px;
  width: 95%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-border);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.catalog-download-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 18px 0;
}

.catalog-download-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.catalog-download-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: all 0.25s ease;
}

.catalog-download-item:hover {
  border-color: var(--gold-border);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.catalog-download-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.catalog-download-icon.male {
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.catalog-download-icon.female {
  background: rgba(244, 114, 182, 0.14);
  color: #f472b6;
  border: 1px solid rgba(244, 114, 182, 0.25);
}

.catalog-download-icon.unisex {
  background: rgba(168, 85, 247, 0.14);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.catalog-download-info {
  flex: 1;
  min-width: 0;
}

.catalog-download-info h5 {
  margin: 0 0 3px 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.3px;
}

.catalog-download-info p {
  margin: 0 0 6px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.catalog-download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog-pill {
  font-size: 0.72rem;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.18);
  padding: 2px 7px;
  border-radius: 4px;
  line-height: 1.3;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.catalog-download-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 600px) {
  .catalog-download-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .catalog-download-item .btn-download {
    width: 100%;
    justify-content: center;
  }
  
  .catalog-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


