/* ═══════════════════════════════════════════
   HALO ESSENCE — Design System v3.0
   Futuristic · Elegant · Responsive
═══════════════════════════════════════════ */

:root {
  --bg:            #080808;
  --bg-2:          #0b0b0b;
  --surface:       #111111;
  --surface-2:     #161616;
  --surface-light: #1d1d1d;
  --gold:          #c9a84c;
  --gold-bright:   #e8c97a;
  --gold-light:    #f5e0a0;
  --gold-dim:      rgba(201, 168, 76, 0.12);
  --gold-glow:     rgba(201, 168, 76, 0.05);
  --text-main:     #eeeef0;
  --text-muted:    #888888;
  --accent:        #6c63ff;
  --danger:        #ff4757;
  --radius:        14px;
  --radius-sm:     8px;
  --transition:    all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-serif:    'Cormorant Garamond', 'Playfair Display', serif;
  --font-ui:       'Space Grotesk', sans-serif;
  --font-display:  'Cinzel', serif;
  --font-mono:     'Space Mono', monospace;
  --gold-gradient: linear-gradient(135deg, #c9a84c 0%, #f5e0a0 40%, #c9a84c 60%, #a07830 100%);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}



/* ─────────────────────────────────────
   SPLASH SCREEN — Fiel al logo real
───────────────────────────────────── */
#splash-screen {
  position: fixed;
  inset: 0;
  background: #060606;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease-out, visibility 1s ease-out;
  overflow: hidden;
}

#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-bg-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 10s linear infinite;
}

@keyframes gridDrift {
  from { transform: translateY(0); }
  to   { transform: translateY(60px); }
}

.splash-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: splashEntry 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes splashEntry {
  from { opacity: 0; transform: scale(0.8) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* Splash logo — idéntico al logo.jpg */
.splash-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* La H grande con el halo orbital */
.splash-logo-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  margin-bottom: 0.3rem;
}

.logo-big-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: 9rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(201,168,76,0.4));
}

/* El anillo/halo elíptico horizontal que rodea la H */
.logo-halo-ring {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 155px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid;
  border-color: var(--gold-bright);
  box-shadow:
    0 0 12px rgba(201,168,76,0.7),
    0 0 30px rgba(201,168,76,0.3),
    inset 0 0 8px rgba(201,168,76,0.2);
  z-index: 3;
  animation: haloGlow 3s ease-in-out infinite alternate;
}

@keyframes haloGlow {
  from { box-shadow: 0 0 10px rgba(201,168,76,0.6), 0 0 25px rgba(201,168,76,0.2); }
  to   { box-shadow: 0 0 20px rgba(201,168,76,0.9), 0 0 50px rgba(201,168,76,0.5), inset 0 0 15px rgba(201,168,76,0.3); }
}

/* "HALO" — serif grande como en el logo */
.logo-word-halo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: 12px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.35rem;
}

/* ━ ESSENCE ━ */
.logo-essence-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.4rem;
}

.logo-dash {
  color: var(--gold);
  font-size: 0.6rem;
  opacity: 0.8;
  letter-spacing: -2px;
}

.logo-word-essence {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 6px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 400;
}

/* PERFUMES */
.logo-word-perfumes {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 6px;
  color: rgba(201,168,76,0.7);
  font-weight: 400;
  text-transform: uppercase;
}

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

/* ─────────────────────────────────────
   HEADER
───────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6, 6, 6, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.12);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.85rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand / Logo en header — fiel al logo.jpg */
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  flex-shrink: 0;
}

/* El icono de la H con el halo */
.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-h {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  position: relative;
  z-index: 2;
}

/* Halo elíptico en el header */
.brand-halo {
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 13px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 6px rgba(201,168,76,0.5);
  z-index: 3;
}

/* Texto del brand a la derecha */
.brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  line-height: 1;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 5px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

/* ─ ESSENCE ─ row */
.brand-essence-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-dash {
  height: 1px;
  width: 12px;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.7;
}

.brand-essence {
  font-family: 'Cinzel', serif;
  font-size: 0.52rem;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 400;
}

.brand-perfumes {
  font-family: var(--font-ui);
  font-size: 0.42rem;
  letter-spacing: 4px;
  color: rgba(201,168,76,0.6);
  text-transform: uppercase;
  margin-top: 1px;
  text-align: center;
}
/* Nav */
.header-nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

/* Header Actions */
.header-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition);
  font-family: var(--font-ui);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.icon-btn i { font-size: 1.1rem; }
.icon-btn:hover { color: var(--gold); }

.cart-btn {
  background: var(--gold-glow);
  border: 1px solid var(--gold-dim);
  padding: 0.5rem 1rem;
  border-radius: 30px;
}

.cart-btn:hover {
  background: var(--gold-dim);
  color: var(--gold-bright);
  border-color: rgba(201,168,76,0.4);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 0 5% 1rem;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.mobile-nav .nav-link {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
}

.mobile-nav.open { display: flex; }

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 5%;
  overflow: hidden;
  text-align: center;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.12), transparent 70%);
  top: -200px; right: -100px;
}

.hero-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.1), transparent 70%);
  bottom: -100px; left: -100px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--gold-dim);
  border-radius: 30px;
  background: var(--gold-glow);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}

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

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  width: auto;
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.hero-deco {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.3;
  pointer-events: none;
}

.deco-circle {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  position: relative;
}

.deco-circle::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.4);
}

.deco-lines {
  position: absolute;
  top: 50%;
  right: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-50%);
  margin-right: 20px;
}

.deco-lines span {
  display: block;
  height: 1px;
  background: linear-gradient(to left, var(--gold-dim), transparent);
}

.deco-lines span:nth-child(1) { width: 60px; }
.deco-lines span:nth-child(2) { width: 100px; }
.deco-lines span:nth-child(3) { width: 60px; }

/* ─────────────────────────────────────
   STATS BAR
───────────────────────────────────── */
.stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 1.5rem 5%;
  background: var(--surface);
  border-top: 1px solid rgba(201,168,76,0.08);
  border-bottom: 1px solid rgba(201,168,76,0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 2.5rem;
  gap: 0.2rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 700;
}

.stat-icon {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.1rem;
}

.stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.07);
}

/* ─────────────────────────────────────
   MAIN / CATALOG
───────────────────────────────────── */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 5%;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.section-title em {
  color: var(--gold);
  font-style: italic;
}

/* ─── Controls ─── */
.catalog-controls-container {
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.catalog-top-controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 2; /* Give more space to search */
  min-width: 200px;
}

.top-actions {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .search-box { flex: 1 1 100%; }
  .top-actions { flex: 1 1 100%; justify-content: space-between; }
}

.filter-select-mini {
  background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c9a84c' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-main);
  padding: 0.85rem 2.8rem 0.85rem 1.2rem;
  border-radius: 50px;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
  height: 48px;
  display: flex;
  align-items: center;
}

.filter-select-mini:hover {
  border-color: rgba(201,168,76,0.5);
  background-color: var(--surface-2);
}

.filter-select-mini:focus {
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.search-box i {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.search-box input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 50px;
  color: var(--text-main);
  font-family: var(--font-ui);
  font-size: 0.95rem; /* Larger font for readability */
  transition: var(--transition);
}

.search-box input:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface-2);
  box-shadow: 0 0 15px var(--gold-glow);
}

.filter-toggle-btn {
  white-space: nowrap;
  padding: 0 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  height: 48px;
}

/* Advanced Filters Area */
.advanced-filters {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 1.5rem;
  display: none; /* Toggleable */
  flex-direction: column;
  gap: 1.5rem;
  animation: slideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.advanced-filters.active {
  display: flex;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.filter-section {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.filter-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-tag {
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  color: var(--text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.filter-tag:hover {
  border-color: rgba(201,168,76,0.4);
  color: var(--text-main);
}

.filter-tag.active {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
  font-weight: 600;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 600px) {
  .filter-row { grid-template-columns: 1fr; }
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
}

.price-input {
  width: 100px;
  padding: 0.6rem 0.8rem;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.price-input:focus {
  outline: none;
  border-color: var(--gold);
}

.stock-filters {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Custom Checkbox */
.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.custom-checkbox input { display: none; }

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  position: relative;
  transition: var(--transition);
}

.custom-checkbox input:checked + .checkmark {
  background: var(--gold);
  border-color: var(--gold);
}

.checkmark::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 0.6rem;
  color: #000;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-checkbox input:checked + .checkmark::after {
  transform: translate(-50%, -50%) scale(1);
}

.filter-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1rem;
}

.btn-link {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-decoration: underline;
  cursor: pointer;
  transition: var(--transition);
}

.btn-link:hover { color: var(--gold); }

/* ─── Offers Section ─── */
#offers-section {
  background: radial-gradient(circle at center, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
  border-radius: 20px;
  margin-bottom: 4rem;
}

.price-old {
  font-size: 1.4rem; /* Casi igual al precio nuevo (1.6rem) */
  color: #ff4757;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  opacity: 0.5; /* Un poco más transparente para que el nuevo resalte */
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: -1px;
}

.offer-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 800;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
  font-family: var(--font-mono);
  text-transform: uppercase;
  animation: pulseOffer 2s infinite;
}

@keyframes pulseOffer {
  0% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4); }
  50% { transform: scale(1.05); box-shadow: 0 4px 25px rgba(255, 71, 87, 0.6); }
  100% { transform: scale(1); box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4); }
}

.product-card.is-offer {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 10px rgba(201, 168, 76, 0.1);
}


.custom-select-option {
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.custom-select-option:last-child { border-bottom: none; }

.custom-select-option:hover, .custom-select-option.selected {
  background: var(--gold-glow);
  color: var(--gold);
}

/* ─── Loading ─── */
#loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem;
  color: var(--text-muted);
}

.loading-spinner {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.loading-spinner span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  animation: bounce 1.2s ease-in-out infinite;
}

.loading-spinner span:nth-child(2) { animation-delay: 0.2s; }
.loading-spinner span:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%            { transform: scale(1); opacity: 1; }
}

#empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem;
  color: var(--text-muted);
}

/* ─────────────────────────────────────
   CATALOG GRID
───────────────────────────────────── */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

/* ─── Product Card ─── */
.product-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 168, 76, 0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px var(--gold-glow);
}

.product-card:hover::before { opacity: 1; }

.product-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  height: 220px;
  background: white; /* Fondo blanco para perfumes con fondo blanco */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,0.03));
  pointer-events: none;
}

.product-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
}

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

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 30px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-mono);
}

.product-brand {
  font-size: 0.68rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.3rem;
  font-family: var(--font-mono);
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.6rem;
  font-weight: 400;
  line-height: 1.2;
}

.product-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.product-usage {
  font-size: 0.68rem;
  background: rgba(255,255,255,0.04);
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.06);
}

.product-tag {
  font-size: 0.65rem;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-weight: 500;
  border: 1px solid;
}

.tag-gender {
  background: rgba(255,255,255,0.03);
  color: var(--text-muted);
  border-color: rgba(255,255,255,0.06);
}

.tag-style {
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold);
  border-color: rgba(201, 168, 76, 0.2);
}

.product-notes {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
  line-height: 1.6;
}

.product-price-section {
  display: flex;
  flex-direction: column; /* Cambiamos a columna para que los precios grandes no choquen */
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  gap: 0.2rem;
}

.price-ars {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: -1px;
}

/* Quantity Selector */
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  background: var(--surface-2);
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  width: fit-content;
  border: 1px solid rgba(255,255,255,0.05);
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.8rem;
  font-weight: 700;
}

.qty-btn:hover {
  background: var(--gold-dim);
  color: var(--gold);
  border-color: var(--gold);
}

.qty-val {
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 20px;
  text-align: center;
  font-family: var(--font-mono);
  color: #fff;
}

/* Admin info on cards */
.admin-info {
  background: rgba(255, 0, 0, 0.06);
  border: 1px dashed rgba(255, 71, 87, 0.4);
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.78rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-family: var(--font-mono);
}
.admin-info span { color: var(--danger); font-weight: 600; }

/* ─────────────────────────────────────
   BUTTONS
───────────────────────────────────── */
.btn {
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #b8922e 100%);
  color: #0a0a0a;
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
}

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

.btn-outline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

/* ─────────────────────────────────────
   ABOUT SECTION
───────────────────────────────────── */
.about-section {
  margin-top: 6rem;
  position: relative;
  overflow: hidden;
}

.about-inner {
  background: var(--surface);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: calc(var(--radius) * 1.5);
  padding: 5rem;
  position: relative;
  overflow: hidden;
}

.about-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.about-deco {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.08;
}

.about-ring {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 60px solid var(--gold);
}

.about-text {
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.about-title {
  margin-bottom: 1.5rem;
  text-align: left;
}

.about-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.about-pillars {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.about-pillar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-pillar i {
  color: var(--gold);
  font-size: 1rem;
}

/* Admin Manual Lists Tweaks */
#order-items-container, #sale-items-container {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.price-input {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 4px;
  padding: 0.2rem 0.4rem;
  font-family: var(--font-mono);
}

/* Custom Select Premium Styles */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.2rem;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.custom-select-trigger:hover {
  border-color: rgba(201,168,76,0.3);
}

.custom-select-wrapper.open .custom-select-trigger {
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #111;
  border: 1px solid var(--gold-dim);
  border-radius: 10px;
  z-index: 1000;
  display: none;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.custom-select-wrapper.open .custom-select-options {
  display: block;
}

.custom-select-option {
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.custom-select-option:last-child { border-bottom: none; }

.custom-select-option:hover, .custom-select-option.selected {
  background: var(--gold-glow);
  color: var(--gold);
}

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
.site-footer {
  margin-top: 6rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3rem 5%;
  background: var(--surface);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ─────────────────────────────────────
   ADMIN PANEL
───────────────────────────────────── */
#admin-panel {
  display: none;
  background: var(--surface);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 3rem;
  animation: fadeSlideIn 0.4s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 1rem;
}

.admin-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.tool-card {
  background: var(--surface-2);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}

.tool-card:hover {
  border-color: var(--gold-dim);
}

.tool-title {
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-ui);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ─────────────────────────────────────
   MODALS
───────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 1rem;
}

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

.modal-content {
  background: var(--surface);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 460px;
  position: relative;
  transform: translateY(24px) scale(0.98);
  transition: var(--transition);
  max-height: 92vh;
  overflow-y: auto;
}

.modal-content--large {
  max-width: 560px;
}

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

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.modal-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-glow);
  border: 1px solid var(--gold-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  margin: 0 auto 1.2rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
  margin-bottom: 0.4rem;
  text-align: center;
  font-weight: 400;
}

.modal-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 1.8rem;
  line-height: 1.6;
}

/* ─────────────────────────────────────
   FORMS
───────────────────────────────────── */
.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid rgba(255,255,255,0.07);
  color: var(--text-main);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(201,168,76,0.03);
  box-shadow: 0 0 0 3px var(--gold-glow);
}

.form-control--gold {
  border-color: rgba(201,168,76,0.5);
  font-size: 1.15rem;
  font-weight: 700;
  border-width: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.address-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.field-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  display: block;
}

.field-hint span { color: var(--gold); }

.shipping-notice {
  font-size: 0.78rem;
  color: var(--gold);
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* calc preview */
.calc-preview-box {
  background: rgba(201,168,76,0.04);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.calc-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.calc-value {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}

/* Cart items */
.cart-items {
  margin-bottom: 1.5rem;
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 0.9rem;
  border: 1px solid rgba(255,255,255,0.05);
}

/* ─────────────────────────────────────
   TOAST
───────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--surface-2);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s;
  z-index: 5000;
  opacity: 0;
  pointer-events: none;
  font-size: 0.88rem;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ─────────────────────────────────────
   WHATSAPP FLOTANTE
───────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1); }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--surface-2);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateX(5px);
  transition: var(--transition);
  font-family: var(--font-ui);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--surface-2);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-deco { display: none; }
}

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }

  .header-inner { padding: 0.8rem 5%; }

  .hero { min-height: 75vh; padding: 4rem 5%; }
  .hero-title { font-size: clamp(2.8rem, 10vw, 5rem); }

  .stats-bar { gap: 0; padding: 1rem 2%; }
  .stat-item { padding: 0.5rem 1rem; }
  .stat-divider { display: none; }

  .admin-tools { grid-template-columns: 1fr; }

  .about-inner { padding: 3rem 2rem; }
  .about-ring { display: none; }
  .about-pillars { gap: 1rem; }

  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
  }
  .search-box { max-width: 100%; }
  .filter-group { justify-content: center; }

  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }

  .catalog-controls { flex-direction: column; align-items: stretch; gap: 0.8rem; }
  .search-box { max-width: none; min-width: 0; }
  .filter-group { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .custom-select-wrapper { min-width: 0; }

  .form-row { grid-template-columns: 1fr; }

  .modal-content { padding: 2rem 1.5rem; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .about-title { text-align: center; }
  .about-text .section-eyebrow { display: block; text-align: center; }

  .whatsapp-float { bottom: 1.2rem; right: 1.2rem; width: 54px; height: 54px; font-size: 1.5rem; }

  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-image-side {
    height: 300px;
  }
  .detail-info-side {
    padding: 2rem;
  }
  .detail-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .detail-actions {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .stat-label { font-size: 0.65rem; letter-spacing: 0.5px; }
  .product-card-body { padding: 1.2rem; }
  .hero-eyebrow { font-size: 0.65rem; letter-spacing: 2px; }
  .filter-group { grid-template-columns: 1fr; }
  .custom-select-trigger { border-radius: 12px; }
  .brand-text { display: none; }
}

/* Admin Tabs Styling - Premium HALO Style */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.4rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.admin-tab-btn {
  flex: 1;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
}

.admin-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.admin-tab-btn.active {
  color: var(--gold);
  background: var(--gold-glow);
  box-shadow: inset 0 0 10px rgba(201, 168, 76, 0.1);
  border: 1px solid var(--gold-dim);
}

.admin-tab-content {
  display: none;
  animation: tabFadeIn 0.3s ease;
}

.admin-tab-content.active {
  display: block;
}

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

/* ═══════════════ HERO MOTION (hx) ═══════════════ */
.hero.hx {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5% 3rem;
  overflow: hidden;
  align-items: stretch;
  text-align: left;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(201,168,76,0.08), transparent 60%), var(--bg);
}
.hx-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .35; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hx-orb {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0;
  transition: transform 1.2s cubic-bezier(0.16,1,0.3,1);
  animation: hxFloat 9s ease-in-out infinite alternate;
}
.hx-orb--1 { width: 420px; height: 420px; top: -8%; right: -5%; background: rgba(201,168,76,0.16); }
.hx-orb--2 { width: 340px; height: 340px; bottom: -12%; left: -8%; background: rgba(108,99,255,0.10); animation-delay: -4s; }
.hx-ring {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.15); top: 50%; left: 50%;
  margin: -260px 0 0 -260px; pointer-events: none; z-index: 0;
  animation: hxSpin 40s linear infinite;
}
.hx-ring::before {
  content: '✦'; position: absolute; top: -10px; left: 50%; color: var(--gold);
  font-size: .8rem; transform: translateX(-50%);
}
@keyframes hxFloat { from { transform: translateY(-20px); } to { transform: translateY(25px); } }
@keyframes hxSpin { to { transform: rotate(360deg); } }

.hx-mono {
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .25em;
  text-transform: uppercase; color: var(--text-muted);
}
.hx-topbar {
  display: flex; justify-content: space-between; gap: 1rem;
  position: relative; z-index: 2; margin-bottom: 2.5rem;
}

/* mega title */
.hx-title {
  position: relative; z-index: 2; margin: 0;
  font-family: var(--font-display);
  font-weight: 600; line-height: .92; letter-spacing: .01em;
  font-size: clamp(3.4rem, 14.5vw, 12.5rem);
  color: var(--text-main);
}
.hx-line { display: block; overflow: hidden; }
.hx-line--2 { text-align: right; }
.hx-word {
  display: inline-block; transform: translateY(110%);
  animation: hxUp 1.2s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hx-line--2 .hx-word { animation-delay: .18s; }
.hx-gold {
  background: var(--gold-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: hxUp 1.2s cubic-bezier(0.16,1,0.3,1) .18s forwards, hxShimmer 5s linear 1.5s infinite;
}
@keyframes hxUp { to { transform: translateY(0); } }
@keyframes hxShimmer { to { background-position: 200% center; } }

/* reveal helper */
.hx-reveal {
  opacity: 0; transform: translateY(24px);
  animation: hxFade .9s cubic-bezier(0.16,1,0.3,1) var(--d, 0s) forwards;
}
@keyframes hxFade { to { opacity: 1; transform: translateY(0); } }

/* sub row */
.hx-subrow {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap; margin-top: 3rem;
}
.hx-desc {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.15rem; line-height: 1.55; color: #c9c9cc; margin: 0;
}

/* word rotator */
.hx-rotator { display: flex; flex-direction: column; gap: .4rem; }
.hx-rotator-window { height: 1.6em; overflow: hidden; }
.hx-rotator-track { display: flex; flex-direction: column; transition: transform .8s cubic-bezier(0.16,1,0.3,1); }
.hx-rotator-track span {
  height: 1.6em; line-height: 1.6em;
  font-family: var(--font-display); font-size: 1.25rem; color: var(--gold-bright);
  letter-spacing: .08em; white-space: nowrap;
}

/* CTA */
.hx-cta {
  position: relative; overflow: hidden; display: inline-flex; align-items: center;
  padding: 1rem 2.2rem; border: 1px solid var(--gold); border-radius: 999px;
  text-decoration: none; isolation: isolate;
  transition: box-shadow .3s, transform .3s;
}
.hx-cta-bg {
  position: absolute; inset: 0; background: var(--gold-gradient); z-index: 0;
  transform: translateX(-101%);
  transition: transform .7s cubic-bezier(0.16,1,0.3,1);
}
.hx-cta:hover .hx-cta-bg { transform: translateX(0); }
.hx-cta-text {
  position: relative; z-index: 1; font-family: var(--font-ui); font-weight: 600;
  font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright);
  transition: color .4s;
}
.hx-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.25); }
.hx-cta:hover .hx-cta-text { color: #0a0a0a; }
.hx-cta-text i { transition: transform .4s; display: inline-block; }
.hx-cta:hover .hx-cta-text i { transform: translateX(4px) rotate(45deg); }

/* bottom */
.hx-bottom {
  position: relative; z-index: 2; margin-top: 3.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.hx-scrollline {
  flex: 1; height: 1px; background: rgba(201,168,76,0.2);
  position: relative; overflow: hidden;
}
.hx-scrollline::after {
  content: ''; position: absolute; top: 0; left: -30%;
  width: 30%; height: 100%; background: var(--gold);
  animation: hxSweep 2.6s cubic-bezier(0.16,1,0.3,1) infinite;
}
@keyframes hxSweep { to { left: 130%; } }

/* marquee */
.hx-marquee {
  overflow: hidden; white-space: nowrap;
  border-top: 1px solid rgba(201,168,76,0.18);
  border-bottom: 1px solid rgba(201,168,76,0.18);
  background: var(--bg-2); padding: .9rem 0;
}
.hx-marquee-track { display: inline-flex; animation: hxMarquee 28s linear infinite; }
.hx-marquee-track span {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
  flex-shrink: 0; padding-right: 2rem;
}
.hx-marquee:hover .hx-marquee-track { animation-play-state: paused; }
@keyframes hxMarquee { to { transform: translateX(-50%); } }

/* scroll-reveal for the rest of the page */
.sr { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(0.16,1,0.3,1), transform .9s cubic-bezier(0.16,1,0.3,1); }
.sr.sr-in { opacity: 1; transform: none; }

@media (max-width: 768px) {
  .hx-hide-mobile { display: none; }
  .hero.hx { padding: 5.5rem 6% 2.5rem; min-height: 92svh; }
  .hx-line--2 { text-align: left; padding-left: 12vw; }
  .hx-subrow { margin-top: 2.2rem; gap: 1.4rem; }
  .hx-desc { font-size: 1rem; }
  .hx-ring { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-word, .hx-reveal { animation: none !important; transform: none; opacity: 1; }
  .hx-orb, .hx-ring, .hx-scrollline::after, .hx-marquee-track, .hx-gold { animation: none !important; }
  .sr { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════ FULL-PAGE MOTION REDESIGN (hx2) ═══════════════ */

/* grano global fijo sobre toda la página */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── liquid glass base ── */
.lg-glass, #site-header, .product-card, .stats-bar .stat-item,
.custom-order-notice, .about-inner, .hxf-btn {
  position: relative;
}

/* ── HEADER: barra glass flotante ── */
#site-header {
  background: rgba(8,8,8,0.55) !important;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08), 0 10px 40px rgba(0,0,0,0.4);
}
#site-header .nav-link { position: relative; }
#site-header .nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .5s cubic-bezier(0.16,1,0.3,1);
}
#site-header .nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ── STATS BAR: tarjetas glass ── */
.stats-bar {
  background: var(--bg-2);
  gap: 1rem; padding: 2rem 5%;
}
.stats-bar .stat-item {
  background: rgba(255,255,255,0.015);
  backdrop-filter: blur(4px);
  border-radius: 18px;
  padding: 1.1rem 1.8rem;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.12);
  transition: transform .4s cubic-bezier(0.16,1,0.3,1), border-color .4s, box-shadow .4s;
}
.stats-bar .stat-item:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,0.45);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 12px 30px rgba(201,168,76,0.12);
}
.stats-bar .stat-divider { display: none; }

/* ── SECCIONES: labels editoriales ── */
.section-header { position: relative; }
.section-eyebrow {
  font-family: var(--font-mono) !important;
  font-size: .62rem !important; letter-spacing: .3em !important;
  text-transform: uppercase; color: var(--text-muted) !important;
}
#catalog-section .section-eyebrow::before { content: '[ 02 ] — '; color: var(--gold); }
.about-section .section-eyebrow::before { content: '[ 03 ] — '; color: var(--gold); }
.section-title {
  font-size: clamp(2.4rem, 6.5vw, 4.8rem) !important;
  letter-spacing: .015em;
  line-height: 1.02 !important;
}

/* ── AVISO PEDIDOS: glass ── */
.custom-order-notice {
  background: rgba(255,255,255,0.015) !important;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201,168,76,0.25) !important;
  border-radius: 24px !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08);
  overflow: hidden;
}
.custom-order-notice::before {
  content: ''; position: absolute; top: -60%; left: -20%;
  width: 50%; height: 220%; transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.06), transparent);
  animation: hxSheen 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hxSheen { 0%,100% { left: -40%; } 50% { left: 110%; } }

/* ── PRODUCT CARDS: glass + entrada animada + hover cine ── */
.product-card {
  background: rgba(255,255,255,0.02) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.07) !important;
  border-radius: 26px !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08);
  animation: hxCardIn .8s cubic-bezier(0.16,1,0.3,1) backwards;
  transition: transform .5s cubic-bezier(0.16,1,0.3,1), border-color .5s, box-shadow .5s !important;
}
@keyframes hxCardIn { from { opacity: 0; transform: translateY(34px) scale(.97); } }
.product-card:nth-child(3n+2) { animation-delay: .08s; }
.product-card:nth-child(3n)   { animation-delay: .16s; }
.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201,168,76,0.5) !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.12), 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(201,168,76,0.1);
}
.product-card img { transition: transform .8s cubic-bezier(0.16,1,0.3,1); }
.product-card:hover img { transform: scale(1.06); }

/* ── ABOUT: panel glass con anillo ── */
.about-inner {
  background: rgba(255,255,255,0.015);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 32px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08);
  padding: 3.5rem !important;
  overflow: hidden;
}
.about-ring { animation: hxSpin 30s linear infinite; }
.about-pillar {
  transition: transform .4s cubic-bezier(0.16,1,0.3,1), color .4s;
}
.about-pillar:hover { transform: translateY(-4px); color: var(--gold-bright); }

/* ── CTA FINAL ── */
.hxf-cta {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 1.6rem; padding: 8rem 5% 7rem;
  background: radial-gradient(ellipse 70% 80% at 50% 110%, rgba(201,168,76,0.12), transparent 65%), var(--bg);
}
.hxf-ring {
  position: absolute; width: 640px; height: 640px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.14); top: 50%; left: 50%;
  margin: -320px 0 0 -320px; pointer-events: none;
  animation: hxSpin 50s linear infinite reverse;
}
.hxf-ring::after {
  content: '✦'; position: absolute; bottom: -9px; left: 50%; transform: translateX(-50%);
  color: var(--gold); font-size: .8rem;
}
.hxf-title {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 9vw, 7.5rem); line-height: 1; color: var(--text-main);
  letter-spacing: .01em;
}
.hxf-title em {
  display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: .55em; margin-top: .3rem;
  background: var(--gold-gradient); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: hxShimmer 5s linear infinite;
}

/* ── FOOTER: palabra gigante ── */
.site-footer.hxf { position: relative; overflow: hidden; padding-top: 2rem; }
.hxf-giant {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(6rem, 24vw, 22rem); line-height: .8; text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.16);
  user-select: none; pointer-events: none;
  transform: translateY(18%);
  margin-bottom: -2rem;
}
.site-footer.hxf .footer-inner { position: relative; z-index: 1; }

/* scrollbar dorada */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.3); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.55); }

@media (max-width: 768px) {
  .about-inner { padding: 2rem !important; }
  .hxf-cta { padding: 5rem 6% 4.5rem; }
  .hxf-ring { width: 340px; height: 340px; margin: -170px 0 0 -170px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-card, .custom-order-notice::before, .about-ring, .hxf-ring, .hxf-title em { animation: none !important; }
}
.stats-bar .stat-item.sr:nth-child(2) { transition-delay: .1s; }
.stats-bar .stat-item.sr:nth-child(3) { transition-delay: .2s; }
.stats-bar .stat-item.sr:nth-child(4) { transition-delay: .3s; }

/* ═══════════════ HERO CARRUSEL (hx3) ═══════════════ */
.hero.hx { transition: background 900ms cubic-bezier(0.4,0,0.2,1); }

/* título fantasma detrás del carrusel */
.hx3-ghost {
  position: absolute; inset-inline: 5%; top: 50%;
  transform: translateY(-58%);
  z-index: 1; pointer-events: none; user-select: none;
  font-size: clamp(3.6rem, 16.5vw, 15rem);
}
.hx3-ghost .hx-word:not(.hx-gold) {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(238,238,240,0.35);
}

/* escenario */
.hx3-stage {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.hx3-item {
  position: absolute; left: 50%; bottom: 0;
  height: 60%; aspect-ratio: 0.62 / 1;
  transition: transform 700ms cubic-bezier(0.4,0,0.2,1),
              filter 700ms cubic-bezier(0.4,0,0.2,1),
              opacity 700ms cubic-bezier(0.4,0,0.2,1),
              left 700ms cubic-bezier(0.4,0,0.2,1),
              bottom 700ms cubic-bezier(0.4,0,0.2,1),
              height 700ms cubic-bezier(0.4,0,0.2,1);
  will-change: transform, filter, opacity, left;
  pointer-events: auto; cursor: pointer;
}
/* fallback: tarjeta glass si no se pudo recortar la foto */
.hx3-item.hx3-card {
  border-radius: 24px; overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.35);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.15),
              0 30px 60px rgba(0,0,0,0.65),
              0 0 60px rgba(201,168,76,0.12);
}
.hx3-item.hx3-card img { object-fit: cover; object-position: center; }

/* botella recortada (PNG sin fondo) */
.hx3-item.is-cut { background: none; border: none; box-shadow: none; }
.hx3-item.is-cut img {
  object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 34px 36px rgba(0,0,0,0.7))
          drop-shadow(0 0 50px rgba(201,168,76,0.18));
}
.hx3-item.is-cut.is-center img {
  filter: drop-shadow(0 40px 45px rgba(0,0,0,0.75))
          drop-shadow(0 0 70px rgba(201,168,76,0.28));
}

.hx3-item img {
  width: 100%; height: 100%;
  -webkit-user-drag: none; user-select: none;
}
/* roles */
.hx3-item.is-center {
  transform: translateX(-50%) scale(1.1);
  height: 62%; bottom: 13%;
  z-index: 20; filter: none; opacity: 1;
  animation: hx3Float 5s ease-in-out infinite alternate;
}
@keyframes hx3Float {
  from { transform: translateX(-50%) scale(1.1) translateY(0) rotate(-1.2deg); }
  to   { transform: translateX(-50%) scale(1.1) translateY(-16px) rotate(1.2deg); }
}
.hx3-item.is-left  { left: 27%; height: 26%; bottom: 26%; transform: translateX(-50%); filter: blur(2.5px); opacity: .8; z-index: 10; }
.hx3-item.is-right { left: 73%; height: 26%; bottom: 26%; transform: translateX(-50%); filter: blur(2.5px); opacity: .8; z-index: 10; }
.hx3-item.is-back  { left: 50%; height: 18%; bottom: 42%; transform: translateX(-50%); filter: blur(5px); opacity: .55; z-index: 5; }
.hx3-item.is-hidden { opacity: 0; transform: translateX(-50%) scale(.6); z-index: 1; pointer-events: none; }

/* piso reflejo */
.hx3-stage::after {
  content: ''; position: absolute; left: 50%; bottom: 9%;
  width: min(420px, 60vw); height: 34px; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.28), transparent 70%);
  filter: blur(8px);
  transition: width 700ms cubic-bezier(0.4,0,0.2,1);
}

/* info del perfume activo */
.hx3-info {
  position: absolute; z-index: 21;
  left: 5%; top: 24%;
  display: flex; flex-direction: column; gap: .3rem;
  max-width: 300px; pointer-events: none;
}
.hx3-name-window { overflow: hidden; }
.hx3-name {
  display: inline-block;
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.15;
  color: var(--gold-bright);
  text-shadow: 0 4px 30px rgba(0,0,0,0.8);
}
.hx3-name.hx3-swap { animation: hx3NameIn .7s cubic-bezier(0.16,1,0.3,1); }
@keyframes hx3NameIn { from { transform: translateY(110%); opacity: 0; } }

/* flechas */
.hx3-arrows { display: flex; gap: .8rem; margin-top: 1.2rem; }
.hx3-arrow {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,0.02); color: var(--gold-bright);
  border: 1.5px solid rgba(201,168,76,0.5);
  backdrop-filter: blur(4px);
  font-size: 1rem; cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s;
}
.hx3-arrow:hover { transform: scale(1.1); background: var(--gold); color: #0a0a0a; }
.hx3-arrow:active { transform: scale(.95); }

/* subrow encima del stage */
.hx3-subrow { z-index: 22; position: relative; margin-top: auto; align-items: flex-end; }
.hx3-left { display: flex; flex-direction: column; }
.hero.hx { min-height: 100svh; }

@media (max-width: 768px) {
  .hx3-ghost { inset-inline: 6%; transform: translateY(-75%); }
  .hx3-ghost .hx-line--2 { text-align: left; padding-left: 10vw; }
  .hx3-item.is-center { height: 44%; bottom: 25%; }
  @keyframes hx3Float {
    from { transform: translateX(-50%) scale(1.05) translateY(0) rotate(-1deg); }
    to   { transform: translateX(-50%) scale(1.05) translateY(-10px) rotate(1deg); }
  }
  .hx3-item.is-left  { left: 15%; height: 15%; bottom: 34%; }
  .hx3-item.is-right { left: 85%; height: 15%; bottom: 34%; }
  .hx3-item.is-back  { height: 12%; bottom: 48%; }
  .hx3-info { top: 17%; left: 6%; max-width: 220px; }
  .hx3-arrow { width: 46px; height: 46px; }
  .hx3-stage::after { bottom: 21%; }
}
@media (prefers-reduced-motion: reduce) {
  .hx3-item, .hx3-item.is-center { animation: none !important; transition: none; }
  .hx3-name.hx3-swap { animation: none; }
}

/* ═══════════════ SPLASH INTRO CINEMATOGRÁFICA ═══════════════ */

/* salida tipo cortina hacia arriba */
#splash-screen.hidden {
  transform: translateY(-100%);
  opacity: 1; visibility: hidden;
  transition: transform 1s cubic-bezier(0.76, 0, 0.24, 1), visibility 0s 1s;
}
#splash-screen {
  background:
    radial-gradient(ellipse 60% 45% at 50% 42%, rgba(201,168,76,0.07), transparent 65%),
    #060606;
}

/* coreografía del logo: cada pieza entra en secuencia */
.splash-content { animation: none; }
.splash-logo-mark { overflow: visible; }
.logo-big-h {
  opacity: 0;
  animation: spH 1.1s cubic-bezier(0.16,1,0.3,1) .15s forwards;
}
@keyframes spH {
  from { opacity: 0; transform: translateY(40px) scale(.85); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
.logo-halo-ring {
  opacity: 0;
  animation: spRing 1.3s cubic-bezier(0.16,1,0.3,1) .55s forwards,
             spRingPulse 3s ease-in-out 1.9s infinite;
}
@keyframes spRing {
  from { opacity: 0; transform: translate(-50%, -50%) rotate(-14deg) scaleX(0.1); }
  to   { opacity: 1; transform: translate(-50%, -50%) rotate(0deg) scaleX(1); }
}
@keyframes spRingPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(201,168,76,0.35)); }
  50%      { filter: drop-shadow(0 0 18px rgba(232,201,122,0.7)); }
}
.logo-word-halo {
  opacity: 0;
  animation: spWord 1s cubic-bezier(0.16,1,0.3,1) .85s forwards;
}
@keyframes spWord {
  from { opacity: 0; transform: translateY(18px); letter-spacing: .55em; filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.logo-essence-row { opacity: 0; animation: spFade .9s ease 1.15s forwards; }
.logo-essence-row .logo-dash {
  display: inline-block; transform: scaleX(0);
  animation: spDash .8s cubic-bezier(0.16,1,0.3,1) 1.2s forwards;
}
.logo-essence-row .logo-dash:first-child { transform-origin: right; }
.logo-essence-row .logo-dash:last-child { transform-origin: left; }
@keyframes spDash { to { transform: scaleX(1); } }
.logo-word-perfumes {
  opacity: 0;
  animation: spWord 1s cubic-bezier(0.16,1,0.3,1) 1.4s forwards;
}
@keyframes spFade { to { opacity: 1; } }

/* barrido de brillo diagonal sobre todo el splash */
.splash-shine {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(245,224,160,0.09) 48%, rgba(245,224,160,0.16) 50%, rgba(245,224,160,0.09) 52%, transparent 60%);
  transform: translateX(-120%);
  animation: spShine 1.1s cubic-bezier(0.4,0,0.2,1) 1.7s forwards;
}
@keyframes spShine { to { transform: translateX(120%); } }

/* pie: tag + progreso */
.splash-foot {
  position: absolute; bottom: 7%; left: 50%; transform: translateX(-50%);
  z-index: 4; width: min(520px, 80vw);
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  opacity: 0; animation: spFade .8s ease .9s forwards;
}
.splash-tag {
  font-family: var(--font-mono); font-size: .58rem;
  letter-spacing: .32em; text-transform: uppercase; color: var(--text-muted);
  text-align: center;
}
.splash-progress {
  width: 100%; height: 1px; background: rgba(201,168,76,0.15);
  overflow: hidden; border-radius: 99px;
}
.splash-progress span {
  display: block; height: 100%; width: 100%;
  background: var(--gold-gradient);
  transform: scaleX(0); transform-origin: left;
  animation: spBar 2.1s cubic-bezier(0.4,0,0.2,1) .3s forwards;
}
@keyframes spBar { to { transform: scaleX(1); } }

/* destellos ✦ */
.splash-spark {
  position: absolute; left: var(--sx); top: var(--sy); z-index: 2;
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 10px 2px rgba(232,201,122,0.6);
  opacity: 0;
  animation: spSpark 1.6s ease var(--sd) infinite;
}
@keyframes spSpark {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50%      { opacity: 1; transform: scale(1.4); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-big-h, .logo-halo-ring, .logo-word-halo, .logo-essence-row,
  .logo-word-perfumes, .splash-foot { animation: none !important; opacity: 1 !important; transform: none !important; }
  .splash-shine, .splash-spark { display: none; }
  .logo-essence-row .logo-dash { animation: none; transform: none; }
  #splash-screen.hidden { transform: none; opacity: 0; transition: opacity .5s; }
}

/* ═══════════════ PACK FINAL: skeleton, cursor, tilt, modal glass, fly-cart ═══════════════ */

/* skeleton de carga */
.skeleton-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.skeleton-card {
  border-radius: 26px; padding: 1.2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: .8rem;
}
.skeleton-img { aspect-ratio: 1/1.05; border-radius: 18px; }
.skeleton-line { height: 12px; border-radius: 99px; }
.skeleton-btn { height: 42px; border-radius: 12px; margin-top: .4rem; }
.skeleton-img, .skeleton-line, .skeleton-btn {
  background: linear-gradient(100deg, rgba(255,255,255,0.04) 40%, rgba(201,168,76,0.10) 50%, rgba(255,255,255,0.04) 60%);
  background-size: 250% 100%;
  animation: skShimmer 1.6s linear infinite;
}
@keyframes skShimmer { to { background-position: -150% 0; } }

/* cursor dorado (solo desktop con mouse) */
@media (pointer: fine) {
  .hxcur-dot, .hxcur-ring {
    position: fixed; top: 0; left: 0; z-index: 99999; pointer-events: none;
    border-radius: 50%; transform: translate(-50%, -50%);
  }
  .hxcur-dot {
    width: 6px; height: 6px; background: var(--gold-bright);
    box-shadow: 0 0 10px rgba(232,201,122,0.8);
  }
  .hxcur-ring {
    width: 34px; height: 34px;
    border: 1.5px solid rgba(201,168,76,0.55);
    transition: width .25s, height .25s, border-color .25s, background-color .25s;
  }
  body.hxcur-hover .hxcur-ring {
    width: 56px; height: 56px;
    border-color: rgba(232,201,122,0.9);
    background: rgba(201,168,76,0.08);
  }
}

/* modal glass */
.modal-content {
  background: rgba(18,18,18,0.75) !important;
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(201,168,76,0.22) !important;
  border-radius: 28px !important;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 30px 80px rgba(0,0,0,0.7) !important;
}
.modal-overlay { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* producto que vuela al carrito */
.hxfly {
  position: fixed; z-index: 100000; pointer-events: none;
  border-radius: 14px; object-fit: cover;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 30px rgba(201,168,76,0.3);
  transition: all .85s cubic-bezier(0.5, -0.1, 0.3, 1);
}
@keyframes cartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35) rotate(-8deg); }
  100% { transform: scale(1); }
}
.cart-btn.bump { animation: cartBump .5s cubic-bezier(0.16,1,0.3,1); color: var(--gold-bright) !important; }

@media (prefers-reduced-motion: reduce) {
  .skeleton-img, .skeleton-line, .skeleton-btn { animation: none; }
  .hxcur-dot, .hxcur-ring { display: none !important; }
}

/* ═══════════════ NOVEDADES / FAQ / TOP / SUGERENCIAS ═══════════════ */

/* FAQ acordeón */
.hx-faq { padding: 5rem 5%; max-width: 900px; margin: 0 auto; }
.hx-faq .section-header { text-align: center; margin-bottom: 3rem; }
.hx-faq-item {
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.hx-faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 1.6rem .4rem;
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; color: var(--text-main);
  transition: color .3s, padding-left .4s cubic-bezier(0.16,1,0.3,1);
}
.hx-faq-q:hover { color: var(--gold-bright); padding-left: .9rem; }
.hx-faq-q i {
  color: var(--gold); font-size: .85rem; flex-shrink: 0;
  transition: transform .5s cubic-bezier(0.16,1,0.3,1);
}
.hx-faq-item.open .hx-faq-q { color: var(--gold-bright); }
.hx-faq-item.open .hx-faq-q i { transform: rotate(135deg); }
.hx-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .6s cubic-bezier(0.16,1,0.3,1);
}
.hx-faq-a p {
  margin: 0; padding: 0 .4rem 1.6rem;
  font-size: .95rem; line-height: 1.7; color: var(--text-muted); max-width: 90%;
}
.hx-faq-a strong { color: var(--gold); }

/* volver arriba */
#hx-top {
  position: fixed; bottom: 2rem; left: 2rem; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(17,17,17,0.7); color: var(--gold-bright);
  border: 1.5px solid rgba(201,168,76,0.5);
  backdrop-filter: blur(8px); cursor: pointer; font-size: .95rem;
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .4s, transform .4s cubic-bezier(0.16,1,0.3,1), background-color .3s, color .3s;
}
#hx-top.show { opacity: 1; transform: none; pointer-events: auto; }
#hx-top:hover { background: var(--gold); color: #0a0a0a; }

/* toast glass */
.toast {
  background: rgba(20,20,20,0.75) !important;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201,168,76,0.4);
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.1), 0 12px 40px rgba(0,0,0,0.6);
}

/* sugerencias del buscador */
.search-box { position: relative; }
.search-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 500;
  background: rgba(15,15,15,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201,168,76,0.25); border-radius: 16px;
  box-shadow: inset 0 1px 1px rgba(255,255,255,0.08), 0 20px 50px rgba(0,0,0,0.6);
  overflow: hidden;
  animation: hxFade .3s cubic-bezier(0.16,1,0.3,1);
}
.search-suggest-item {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem 1rem; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background-color .2s, padding-left .3s;
}
.search-suggest-item:last-child { border-bottom: none; }
.search-suggest-item:hover { background: rgba(201,168,76,0.1); padding-left: 1.3rem; }
.search-suggest-item img { width: 38px; height: 38px; object-fit: cover; border-radius: 9px; flex-shrink: 0; }
.search-suggest-item .ss-name { font-size: .88rem; color: var(--text-main); line-height: 1.2; }
.search-suggest-item .ss-brand { font-family: var(--font-mono); font-size: .55rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* zoom en la imagen del modal de detalle */
#detail-img { transition: transform .4s cubic-bezier(0.16,1,0.3,1); cursor: zoom-in; }
#detail-img.zoomed { transform: scale(2); cursor: zoom-out; }
.detail-img-wrap, #detail-img { overflow: hidden; }

@media (max-width: 768px) {
  .hx-faq-q { font-size: 1.15rem; }
  #hx-top { bottom: 1.2rem; left: 1.2rem; width: 42px; height: 42px; }
}

/* catálogo compacto */
.hx-card-hidden { display: none !important; }
.hx-seeall-wrap {
  display: flex; justify-content: center;
  margin: 2.5rem 0 1rem;
}
#hx-seeall .hx-cta-text i { transform: rotate(0); }
#hx-seeall:hover .hx-cta-text i { transform: translateY(3px) rotate(0); }

/* stats bar uniforme */
.stats-bar {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem; max-width: 1200px; margin: 0 auto;
}
.stats-bar .stat-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: .35rem;
  padding: 1.4rem 1rem;
}
.stat-ico {
  color: var(--gold); font-size: 1.1rem; margin-bottom: .25rem;
  opacity: .9;
}
.stats-bar .stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem; font-weight: 700; line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats-bar .stat-label {
  font-family: var(--font-mono); font-size: .55rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-muted); line-height: 1.5;
}
@media (max-width: 900px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .stat-item:last-child { grid-column: span 2; }
}

/* banner de pedidos rediseñado */
.custom-order-notice.hx-order {
  display: flex; align-items: center; gap: 2rem;
  text-align: left !important;
  padding: 2rem 2.5rem !important;
  max-width: 1000px !important;
  margin: 0 auto 2.5rem !important;
}
.hx-order-icon {
  flex-shrink: 0;
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.08);
  color: var(--gold-bright); font-size: 1.4rem;
  animation: hxFloat 4s ease-in-out infinite alternate;
}
.hx-order-text { flex: 1; }
.hx-order-tag { color: var(--gold) !important; display: block; margin-bottom: .4rem; }
.hx-order-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-size: 1.9rem !important; font-weight: 600;
  color: var(--text-main) !important;
  margin: 0 0 .4rem !important; line-height: 1.1;
}
.hx-order-title em { font-style: italic; color: var(--gold-bright); }
.hx-order-text p { margin: 0; font-size: .92rem; line-height: 1.6; color: var(--text-muted); max-width: 480px; }
.hx-order-text strong { color: var(--gold); }
.hx-order-btn { flex-shrink: 0; }

@media (max-width: 820px) {
  .custom-order-notice.hx-order {
    flex-direction: column; text-align: center !important;
    gap: 1.2rem; padding: 2rem 1.5rem !important;
  }
  .hx-order-text p { max-width: none; }
}
