/* ==========================================================================
   ATENEA STORE — DISEÑO Y SISTEMA VISUAL PREMIUM
   "Tu estilo, tu esencia, tu poder"
   Paleta: Negro profundo (#171717, #0D0D0D), Blanco (#FFFFFF), Dorado (#C5A15A),
           Fondo claro secundario (#F5F1E9, #EDE6D8)
   Tipografías: Bricolage Grotesque (Títulos) / DM Sans (Cuerpo & UI)
   ========================================================================== */

:root {
  --ink-900: #0a0a0a;
  --ink-800: #121212;
  --ink: #171717;
  --ink-600: #24221f;
  --ink-500: #332f2b;
  --white: #ffffff;
  --paper: #f5f1e9;
  --paper-card: #ece5d8;
  --paper-warm: #faf7f2;
  --gold: #c5a15a;
  --gold-hover: #d8b875;
  --gold-pale: #eadaad;
  --gold-dim: rgba(197, 161, 90, 0.16);
  --gold-border: rgba(197, 161, 90, 0.35);
  --muted: #8c8273;
  --muted-light: #b5ac9e;
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-light: rgba(23, 23, 23, 0.12);
  --success: #2e7d32;
  --warning: #c78d10;
  --danger: #b71c1c;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Bricolage Grotesque', system-ui, sans-serif;
  --display: var(--serif);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.22);
  --transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

.shell {
  width: min(1280px, 92%);
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   CINTA / MARQUEE ANIMADA
   ========================================================================== */
.announcement {
  height: 38px;
  background: var(--ink-900);
  color: var(--gold-hover);
  border-bottom: 1px solid rgba(197, 161, 90, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 25;
}

.announcement-track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
  min-width: max-content;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.announcement i {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   CABECERA & NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 84px;
  background: rgba(18, 18, 18, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--white);
  transition: var(--transition);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  transition: transform 0.25s ease;
  text-decoration: none;
}

.brand-lockup:hover {
  transform: translateY(-1px);
}

.brand-crest-wrap {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  position: relative;
}

.brand-crest-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(197, 161, 90, 0.45));
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.brand-lockup:hover .brand-crest-svg {
  transform: rotate(5deg) scale(1.08);
  filter: drop-shadow(0 0 16px rgba(197, 161, 90, 0.75));
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 2px rgba(197, 161, 90, 0.3), 0 0 20px rgba(197, 161, 90, 0.45);
  background: radial-gradient(circle, #222 0%, #121212 100%);
  padding: 1px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.brand-lockup:hover .brand-logo-img {
  transform: rotate(5deg) scale(1.08);
  box-shadow: 0 0 0 3px rgba(197, 161, 90, 0.55), 0 0 28px rgba(197, 161, 90, 0.7);
  border-color: var(--gold-hover);
}

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

.brand-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.brand-sub {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #d1c8ba;
  padding: 8px 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.action-btn {
  background: transparent;
  border: 0;
  color: #dfd7cb;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: var(--transition);
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
}

.action-btn svg {
  width: 20px;
  height: 20px;
}

.badge-count {
  position: absolute;
  top: 3px;
  right: 3px;
  background: var(--gold);
  color: var(--ink-900);
  font-size: 9px;
  font-weight: 900;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.cart-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 1px solid var(--gold-border);
  color: var(--gold-hover);
  padding: 8px 16px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

.cart-pill-btn:hover {
  background: var(--gold);
  color: var(--ink-900);
  border-color: var(--gold);
}

.cart-pill-btn:hover .badge-count {
  background: var(--ink-900);
  color: var(--gold);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ==========================================================================
   HERO EDITORIAL DE ALTA GAMA
   ========================================================================== */
/* ==========================================================================
   HERO EDITORIAL FULL SCREEN — VIDEO DE FONDO Y TIPOGRAFÍA ANTON
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 122px);
  min-height: calc(100dvh - 122px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background: var(--ink-900);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero-video {
    object-position: center 43%;
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.40) 0%, rgba(14, 14, 14, 0.26) 48%, rgba(14, 14, 14, 0.82) 100%),
              radial-gradient(ellipse at center, rgba(14, 14, 14, 0.05) 0%, rgba(14, 14, 14, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 50px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(56px, 11vw, 115px);
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 14px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title-light {
  color: var(--white);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.hero-title-gold {
  color: var(--gold);
  text-shadow: 0 4px 30px rgba(197, 161, 90, 0.45);
}

.hero-copy {
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.7;
  color: #ded6c8;
  margin: 0 auto 30px;
  max-width: 540px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--ink-900);
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(197, 161, 90, 0.3);
}

.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197, 161, 90, 0.5);
}

.btn-ghost-light {
  background: rgba(14, 14, 14, 0.55);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold);
  color: var(--gold-pale);
  transform: translateY(-2px);
}

.btn-wa-icon {
  color: #25d366;
  transition: var(--transition);
  flex-shrink: 0;
}

.btn:hover .btn-wa-icon {
  transform: scale(1.15);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: var(--ink-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-video-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-pale);
  background: rgba(14, 14, 14, 0.65);
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(197, 161, 90, 0.3);
  backdrop-filter: blur(6px);
  margin-bottom: 24px;
}

.hero-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 8px #4caf50;
  display: inline-block;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-video-control {
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  font-size: 11px;
  padding: 0 0 0 8px;
  margin-left: 4px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  transition: color 0.2s;
}

.hero-video-control:hover {
  color: var(--gold);
}

.hero-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
  max-width: 650px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #cfc6b6;
}

.hero-badge-item svg {
  color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.atenea-campaign-strip {
  background: #0c0c0b;
  border-bottom: 1px solid rgba(197,161,90,.32);
  color: var(--gold-pale);
  padding: 15px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.5;
}

.atenea-campaign-strip span { color: var(--gold); margin: 0 9px; }
.atenea-campaign-strip b { color: rgba(255,255,255,.55); margin: 0 8px; }

/* ==========================================================================
   PROMO DE CULTO: DÍAS 8 · 18 · 28 (SENCILLO, ELEGANTE Y COMPACTO)
   ========================================================================== */
.atenea-power-strip {
  padding: 46px 0 40px;
  background: linear-gradient(180deg, #161616 0%, #101010 100%);
  border-top: 1px solid rgba(197, 161, 90, 0.25);
  border-bottom: 1px solid rgba(197, 161, 90, 0.25);
  position: relative;
}

.atenea-power-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.power-strip-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(197, 161, 90, 0.25);
  border-radius: 16px;
  padding: 28px 32px 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.power-strip-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.power-strip-heading {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--white);
  margin: 0 0 6px;
  text-transform: uppercase;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #FFEBB3 0%, #C5A15A 50%, #947128 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.power-strip-sub {
  font-size: 14px;
  color: #b5ac9e;
  margin: 0 auto 24px;
  max-width: 580px;
}

.power-strip-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.power-strip-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(197, 161, 90, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  transition: all 0.25s ease;
}

.power-strip-pill:hover {
  border-color: var(--gold);
  background: rgba(197, 161, 90, 0.06);
  transform: translateY(-2px);
}

.power-strip-pill.featured {
  background: rgba(197, 161, 90, 0.08);
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(197, 161, 90, 0.2);
}

.power-pill-num {
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  color: var(--gold);
  flex-shrink: 0;
}

.power-pill-text b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.power-pill-text small {
  font-size: 11px;
  color: #b5ac9e;
  display: block;
}

.power-pill-text code {
  color: var(--gold-hover);
  font-weight: 800;
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 4px;
  border-radius: 4px;
}

.power-strip-footer {
  display: flex;
  justify-content: center;
}

.power-strip-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-pale);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 161, 90, 0.35);
  padding: 8px 20px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.power-strip-wa-btn:hover {
  background: var(--gold);
  color: var(--ink-900);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.wa-dot-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px #25d366;
}

/* ==========================================================================
   SUITE UNIFICADA: LOGOS DE MARCAS + BUSCADOR + FILTROS
   ========================================================================== */
/* Filtros compactos del catálogo */
#marcas {
  display: grid;
  gap: 10px;
  padding: 14px;
  margin-bottom: 20px;
  background: #1d1c1a;
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  color: var(--white);
}
#marcas .unified-search-bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, auto) auto auto;
  align-items: center;
  gap: 8px;
}
#marcas .unified-search-field { position: relative; min-width: 0; }
#marcas .unified-search-field > svg {
  position: absolute; left: 11px; top: 50%; transform: translateY(-50%);
  color: var(--gold-hover); pointer-events: none;
}
#marcas .catalog-search-input, #marcas .catalog-select {
  min-width: 0; width: 100%; height: 38px; margin: 0; border-radius: 7px;
  background: #282622; color: #fff; border: 1px solid #625744; font-size: 13px;
}
#marcas .catalog-search-input { padding: 8px 36px; }
#marcas .catalog-search-input::placeholder { color: #c4baaa; }
#marcas .catalog-search-input::-webkit-search-cancel-button { display: none; }
#marcas .stock-toggle-label {
  min-height: 38px; margin: 0; padding: 4px 8px; border: 0; font-size: 13px; color: #f4ead6;
}
#marcas .catalog-curation-pills, #marcas .unified-brands-grid {
  display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0;
}
#marcas .curation-pill, #marcas .brand-filter-card {
  min-height: 34px; padding: 4px 9px; border: 1px solid #625744; border-radius: 6px;
  background: #282622; color: #f4ead6; font-size: 12px; font-weight: 700;
  text-transform: none; letter-spacing: 0; cursor: pointer; box-shadow: none;
}
#marcas .curation-pill { border-color: transparent; }
#marcas .curation-pill.active, #marcas .brand-filter-card.active {
  background: var(--gold); color: var(--ink-900); border-color: var(--gold);
}
#marcas button:hover { border-color: var(--gold-hover); transform: none; }
#marcas .unified-status-row { color: #c4baaa; font-size: 12px; }
@media (max-width: 768px) {
  #marcas { gap: 8px; padding: 10px; }
  #marcas .unified-search-bar-row { grid-template-columns: minmax(0, 1fr) auto; }
  #marcas .unified-search-field { grid-column: 1 / -1; }
}

@media (max-width: 992px) {
  .power-strip-pills { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 768px) {
  .atenea-power-strip { padding: 32px 0 28px; }
  .power-strip-card { padding: 20px 16px; }
  .power-strip-heading { font-size: 26px; }
  .power-strip-pills { grid-template-columns: 1fr; gap: 10px; }
  .power-strip-pill { padding: 12px 14px; }
}

/* ==========================================================================
   SECCIONES Y ENCABEZADOS
   ========================================================================== */
.section {
  padding: 110px 0;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

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

.section-title {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0;
}

.section-desc {
  max-width: 440px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   CATÁLOGO & BARRA DE FILTROS
   ========================================================================== */
.catalog-toolbar-wrap {
  background: var(--paper-warm);
  border: 1px solid var(--line-light);
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 38px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

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

.brand-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.chip-btn {
  background: transparent;
  border: 1px solid rgba(23, 23, 23, 0.16);
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 30px;
  white-space: nowrap;
  transition: var(--transition);
  color: var(--ink);
}

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

.chip-btn.active {
  background: var(--ink);
  color: var(--gold);
  border-color: var(--ink);
}

.catalog-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-search-input {
  background: var(--white);
  border: 1px solid rgba(23, 23, 23, 0.15);
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 4px;
  min-width: 200px;
  outline: none;
  transition: var(--transition);
}

.catalog-search-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.catalog-select {
  background: var(--white);
  border: 1px solid rgba(23, 23, 23, 0.15);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
}

.stock-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.stock-toggle-label input {
  accent-color: var(--gold);
}

/* ==========================================================================
   GRILLA DE PRODUCTOS & TARJETAS
   ========================================================================== */
/* ==========================================================================
   CURACIÓN DE COLECCIONES & CONTROLES VISUALES DE CATÁLOGO
   ========================================================================== */
.catalog-curation-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  align-items: center;
}

.curation-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c9c5bd;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.curation-pill:hover {
  border-color: var(--gold);
  color: #ffffff;
  background: rgba(197, 161, 90, 0.12);
  transform: translateY(-2px);
}

.curation-pill.active {
  background: linear-gradient(135deg, #FFEBB3 0%, #C5A15A 50%, #8F6B23 100%);
  color: #121214;
  border-color: #C5A15A;
  box-shadow: 0 4px 16px rgba(197, 161, 90, 0.35);
}

.curation-pill .pill-sparkle {
  color: var(--gold);
}
.curation-pill.active .pill-sparkle {
  color: #121214;
}

.catalog-view-switcher {
  display: flex;
  gap: 4px;
  background: var(--paper-warm);
  padding: 3px;
  border-radius: 6px;
  border: 1px solid rgba(23, 23, 23, 0.1);
  margin-left: auto;
}

.view-switch-btn {
  background: transparent;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.view-switch-btn:hover {
  color: var(--ink);
}

.view-switch-btn.active {
  background: var(--white);
  color: var(--gold);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.catalog-search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #ece8df;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--muted);
  cursor: pointer;
}
.catalog-search-clear:hover {
  background: var(--gold);
  color: #121214;
}

.catalog-count-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--ink);
}

.live-status-dot {
  width: 7px;
  height: 7px;
  background: #2e7d32;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #2e7d32;
  animation: liveDotPulse 2s infinite ease-in-out;
}

@keyframes liveDotPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* ==========================================================================
   GRILLA DE PRODUCTOS & TARJETAS DE ALTA GAMA
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 22px;
}

.product-grid.product-grid-duo {
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 30px;
}

.product-card {
  background: #ffffff;
  border: 1px solid rgba(23, 23, 23, 0.09);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: all 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.035);
  animation: cardFadeIn 0.5s ease backwards;
}

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

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(197, 161, 90, 0.55);
  box-shadow: 0 20px 42px -12px rgba(0, 0, 0, 0.12), 0 0 28px rgba(197, 161, 90, 0.14);
}

.product-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at 50% 45%, #27272a 0%, #111113 100%);
  overflow: hidden;
  cursor: pointer;
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.product-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.product-img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-card:hover .product-img-hover {
  opacity: 1;
  transform: scale(1.08);
}

.product-quick-view-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 11px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 12, 0.94) 100%);
  color: #DFBE7A;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.28s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  z-index: 2;
}

.product-card:hover .product-quick-view-hover {
  opacity: 1;
  transform: translateY(0);
}

.product-badge-stack {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 3;
  pointer-events: none;
}

.product-demo-badge {
  position: static;
  background: rgba(14, 14, 16, 0.92);
  color: #DFBE7A;
  border: 1px solid rgba(197, 161, 90, 0.5);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  text-transform: uppercase;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  display: inline-block;
}

.product-discount-pill {
  align-self: flex-start;
  background: linear-gradient(135deg, #FFEBB3 0%, #C5A15A 50%, #8F6B23 100%);
  color: #0b0b0c;
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(197, 161, 90, 0.45);
}

.product-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.product-fav-btn:hover {
  background: #ffffff;
  transform: scale(1.14);
  color: #c93b3b;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.product-fav-btn.active {
  color: #c93b3b;
  background: #ffffff;
}

.product-fav-btn.heart-pulse {
  animation: heartPulse 0.45s ease;
}

@keyframes heartPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.product-fav-btn svg {
  width: 18px;
  height: 18px;
  transition: all 0.2s ease;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: #ffffff;
}

.product-brand-ref {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.ref-tag {
  color: #888888;
  font-weight: 700;
  font-family: monospace;
  font-size: 9.5px;
  background: #f4f3ef;
  padding: 1px 6px;
  border-radius: 3px;
}

.brand-gold-dot {
  color: var(--gold);
}

.product-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.22;
  margin: 0 0 10px;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-title:hover {
  color: var(--gold);
}

.product-price-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.product-price-current {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.product-price-old {
  font-size: 13px;
  color: #888888;
  text-decoration: line-through;
  white-space: nowrap;
}

.product-saving-pill {
  background: rgba(197, 161, 90, 0.14);
  color: #8F6B23;
  border: 1px solid rgba(197, 161, 90, 0.35);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}

.product-size-section {
  margin-bottom: 16px;
}

.product-size-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
}

.size-hint-label {
  font-size: 10px;
  font-weight: 700;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-stock-feedback {
  font-size: 10px;
  font-weight: 800;
  color: #b45309;
}

.product-sizes-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}

.size-pill {
  border: 1px solid rgba(23, 23, 23, 0.16);
  background: #fdfdfd;
  padding: 4px 8px;
  font-size: 10.5px;
  font-weight: 800;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--ink);
}

.size-pill:hover {
  border-color: var(--gold);
  color: var(--ink-900);
  background: var(--gold-dim);
  transform: translateY(-1px);
}

.size-pill.selected {
  border-color: var(--gold);
  background: var(--gold);
  color: #121214;
  box-shadow: 0 2px 8px rgba(197, 161, 90, 0.35);
  transform: translateY(-1px);
}

.size-pill.out-of-stock {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
  background: #f5f5f5;
}

.size-more-pill {
  font-size: 10px;
  color: var(--muted);
  font-weight: 700;
}

.product-actions-bar {
  margin-top: auto;
  display: flex;
  gap: 8px;
}

.btn-card-add {
  flex: 1;
  background: #171717;
  color: #ffffff;
  border: 1px solid #171717;
  border-radius: 9999px;
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.28s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-card-add:hover:not(:disabled) {
  background: var(--gold);
  color: #171717;
  border-color: var(--gold);
  box-shadow: 0 6px 20px rgba(197, 161, 90, 0.4);
  transform: translateY(-2px);
}

.btn-card-add:disabled {
  background: #e5e5e5;
  color: #999999;
  border-color: #e5e5e5;
  cursor: not-allowed;
}

.btn-card-add.added-success {
  background: #2e7d32;
  color: #ffffff;
  border-color: #2e7d32;
  box-shadow: 0 6px 18px rgba(46, 125, 50, 0.35);
}

.btn-card-icon {
  transition: transform 0.25s ease;
  font-weight: 900;
}

.btn-card-add:hover .btn-card-icon {
  transform: translateX(4px);
}

.btn-card-quick {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(23, 23, 23, 0.16);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s ease;
}

.btn-card-quick:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--paper-warm);
  transform: scale(1.06);
}

.product-trust-footer {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  color: #8c8980;
  letter-spacing: 0.02em;
}

.trust-check {
  color: #2e7d32;
  font-weight: 900;
}

/* ==========================================================================
   MARCAS CURADURÍA
   ========================================================================== */
.brand-strip-container {
  background: var(--ink-900);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  padding: 80px 0;
  color: var(--white);
}

.brand-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.brand-card-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 18px 26px;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.brand-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: var(--transition);
}

.brand-card-item:hover {
  border-color: var(--gold);
  background: rgba(197, 161, 90, 0.07);
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
}

.brand-card-item:hover::before {
  background: var(--gold);
}

.brand-card-item svg {
  color: var(--gold);
  opacity: 0.88;
  margin-bottom: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(197, 161, 90, 0.2));
}

.brand-card-item:hover svg {
  color: var(--white);
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 4px 16px rgba(197, 161, 90, 0.5));
}

.brand-card-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #ede6da;
  margin-bottom: 4px;
  transition: color 0.25s ease;
}

.brand-card-item:hover .brand-card-name {
  color: var(--gold-hover);
}

.brand-card-sub {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.brand-card-item:hover .brand-card-sub {
  color: var(--gold);
}

.brand-disclaimer {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  max-width: 780px;
  margin: 32px auto 0;
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink-900);
  color: #dfd7cc;
  padding: 90px 0 30px;
  border-top: 1px solid var(--line-dark);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand-col p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 13px;
  color: #c9c0b1;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid var(--line-dark);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   DRAWERS (CARRITO & FAVORITOS) & MODALS
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: var(--paper-warm);
  z-index: 95;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

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

.drawer-header {
  padding: 24px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(197, 161, 90, 0.25);
}

.drawer-header h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.04em;
}

.drawer-close-btn {
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.drawer-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-item-card {
  display: grid;
  grid-template-columns: 75px 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.drawer-item-img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
  background: #111;
}

.drawer-item-info h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
}

.drawer-item-meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
}

.drawer-item-price {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.drawer-qty-controls {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-light);
  border-radius: 3px;
  overflow: hidden;
}

.drawer-qty-btn {
  background: transparent;
  border: 0;
  padding: 4px 8px;
  cursor: pointer;
  font-weight: 700;
}

.drawer-qty-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.drawer-qty-val {
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
}

.drawer-remove-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
}

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

.drawer-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.drawer-empty-icon {
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 16px;
}

.drawer-empty-state h3 {
  font-family: var(--serif);
  font-size: 28px;
  margin: 0 0 10px;
}

.drawer-empty-state p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.drawer-footer {
  padding: 24px;
  background: var(--white);
  border-top: 1px solid var(--line-light);
}

.drawer-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.drawer-subtotal-row span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.drawer-subtotal-row strong {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink);
}

.drawer-shipping-tip {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.drawer-footer .btn {
  width: 100%;
}

/* ==========================================================================
   MODAL DE DETALLE DE PRODUCTO
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal-content-card {
  background: var(--white);
  width: min(960px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-sm);
  position: relative;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gold-border);
}

/* Ficha de producto en crema, con el dorado de Atenea. */
#productModal .modal-content-card {
  background: var(--paper-warm);
  color: var(--ink);
  border: 1px solid var(--gold-border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow-x: hidden;
  scrollbar-width: thin;
}
#productModal .modal-close-corner {
  background: var(--paper-warm);
  border-color: var(--gold-border);
  color: var(--ink);
}

.modal-close-corner {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
}

.modal-close-corner:hover {
  background: var(--gold);
  color: #0b0b0c;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 0 16px rgba(197, 161, 90, 0.5);
}

/* Ficha de producto */
.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 56px);
  padding: 44px;
  align-items: start;
}

.product-detail-gallery { min-width: 0; }
.gallery-main-view {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  overflow: hidden;
}
.gallery-main-view img, .gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gallery-thumbs-row:empty { display: none; }
.gallery-thumb {
  display: block; width: 64px; height: 64px; padding: 3px;
  border: 2px solid transparent; border-radius: 8px; overflow: hidden;
  background: #fff; cursor: pointer;
}
.gallery-thumb img { border-radius: 4px; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--gold); }
.product-detail-info { min-width: 0; padding-top: 5px; }
.detail-meta-header { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; }
.detail-brand-badge { color: #755a28; font-size: 13px; font-weight: 800; }
.detail-sku-pill { color: #62574b; font-size: 12px; overflow-wrap: anywhere; }
.detail-title {
  font: 700 clamp(26px, 3.5vw, 45px)/1.08 var(--display);
  color: var(--ink); letter-spacing: -.045em; margin: 9px 0 17px;
}
.detail-price-box { display: grid; gap: 7px; margin-bottom: 21px; }
.detail-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.detail-price-main { color: var(--ink); font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; letter-spacing: -.035em; }
.detail-price-old { font-size: 14px; color: #62574b; text-decoration: line-through; }
.detail-discount-tag { color: var(--ink); background: #f2e4c7; padding: 2px 7px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.detail-stock-badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.detail-stock-badge.stock-in { background: #e1f1e7; color: #245138; }
.detail-stock-badge.stock-low { background: #efe5d7; color: #554636; }
.detail-option-group { margin-bottom: 17px; }
.detail-option-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 10px; align-items: baseline; margin-bottom: 7px; }
.option-title { font-size: 13px; font-weight: 800; color: var(--ink); }
.size-guide-link {
  padding: 0; background: none; border: 0; color: #755a28; text-decoration: underline;
  cursor: pointer; font-size: 13px; font-weight: 700;
}
.size-picker-grid { display: flex; flex-wrap: wrap; gap: 7px; }
.size-picker-btn {
  min-width: 48px; min-height: 44px; padding: 5px 9px; display: grid; place-content: center;
  background: #fff; border: 1px solid #b9aa92; border-radius: 8px; color: var(--ink); cursor: pointer;
}
.size-picker-btn[hidden] { display: none; }
.size-picker-btn.active, .size-picker-btn:hover:not(:disabled) { border-color: var(--gold); background: #f2e4c7; }
.size-picker-btn .size-num { font-size: 14px; font-weight: 800; }
.size-picker-btn .size-cm { font-size: 11px; color: #62574b; }
.size-picker-btn.out-of-stock { opacity: .55; cursor: not-allowed; text-decoration: line-through; }
.detail-actions-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; margin-top: 8px; }
.detail-actions-row .btn {
  min-height: 46px; margin: 0; padding: 10px 12px; border-radius: 9px;
  text-transform: none; letter-spacing: 0; font-size: 13px; text-align: center; justify-content: center;
}
.modal-add-btn:disabled { cursor: not-allowed; opacity: .5; }
.modal-fav-btn, .modal-wa-btn { border-color: #b9aa92; color: var(--ink); background: #fff; }
.modal-fav-btn { min-width: 46px; font-size: 19px !important; }
.modal-fav-btn:hover, .modal-wa-btn:hover { border-color: var(--gold); background: #f2e4c7; }
.detail-desc { color: #62574b; margin-top: 22px; padding-top: 14px; border-top: 1px solid #ddd1bc; }
.detail-desc-title { color: var(--ink); font-size: 14px; margin: 0 0 5px; }
.detail-desc p { margin: 0; font-size: 14px; }

/* ==========================================================================
   MODAL DE BÚSQUEDA Y GUÍA DE TALLAS
   ========================================================================== */
.modal-sm {
  width: min(600px, 100%);
  padding: 32px;
}

.search-input-giant {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--gold);
  font-family: var(--serif);
  font-size: 28px;
  padding: 10px 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  margin-bottom: 24px;
}

.search-results-box {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.size-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 16px;
}

.size-table th,
.size-table td {
  padding: 10px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line-light);
}

.size-table th {
  background: var(--ink);
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.size-table tr:hover td {
  background: var(--paper-warm);
}

/* ==========================================================================
   PÁGINA DE CHECKOUT (checkout.html)
   ========================================================================== */
.checkout-page-body {
  background: var(--paper);
  min-height: 100vh;
}

.checkout-top-bar {
  background: var(--ink-900);
  border-bottom: 1px solid var(--line-dark);
  padding: 18px 0;
}

.checkout-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-back-link {
  color: #c4baa9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.checkout-container {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  padding: 60px 0 100px;
  align-items: start;
}

.checkout-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.checkout-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-light);
}

.checkout-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-control {
  border: 1px solid rgba(23, 23, 23, 0.18);
  background: var(--white);
  padding: 12px 14px;
  font-size: 13px;
  border-radius: 4px;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.order-summary-box {
  background: var(--ink-900);
  color: var(--white);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 30px;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-lg);
}

.summary-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
}

.summary-items-list {
  max-height: 240px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-right: 6px;
}

.summary-item-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #ded6c8;
}

.summary-coupon-wrap {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.coupon-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  padding: 10px 12px;
  font-size: 12px;
  text-transform: uppercase;
  border-radius: 4px;
}

.coupon-btn {
  background: var(--gold);
  color: var(--ink-900);
  border: 0;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
}

.summary-costs {
  border-top: 1px solid var(--line-dark);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #cfc5b4;
}

.summary-line.total-line {
  border-top: 1px solid var(--line-dark);
  padding-top: 14px;
  margin-top: 6px;
  font-size: 18px;
  color: var(--white);
}

.summary-line.total-line strong {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--gold);
}

.btn-place-order {
  width: 100%;
  margin-top: 24px;
}

/* ==========================================================================
   PANEL ADMINISTRATIVO (admin.html)
   ========================================================================== */
.admin-shell-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: var(--paper);
}

.admin-sidebar {
  background: var(--ink-900);
  color: var(--white);
  border-right: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  z-index: 50;
}

.admin-sidebar-backdrop { display: none; }

.admin-sidebar-header {
  padding: 24px 20px;
  border-bottom: 1px solid var(--line-dark);
}

.admin-nav {
  display: flex;
  flex-direction: column;
  padding: 16px 10px;
  gap: 4px;
  flex: 1;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: #bdb3a3;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}

.admin-nav-item svg {
  width: 18px;
  height: 18px;
  color: #8f8473;
  transition: var(--transition);
}

.admin-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.admin-nav-item:hover svg {
  color: var(--gold);
}

.admin-nav-item.active {
  background: var(--gold);
  color: var(--ink-900);
}

.admin-nav-item.active svg {
  color: var(--ink-900);
}

.admin-sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--line-dark);
}

.admin-view-store-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line-dark);
  color: #ded6c8;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
}

.admin-view-store-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.admin-main-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line-light);
  padding: 18px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 30;
}

.admin-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-section-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

.admin-body-content {
  padding: 36px;
  flex: 1;
}

.admin-panel-section {
  display: none;
}

.admin-panel-section.active {
  display: block;
}

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

@media (max-width: 768px) {
  .admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(0,0,0,.56);
  }

  .admin-sidebar-backdrop.active { display: block; }
  .admin-sidebar { width: min(86vw, 320px); box-shadow: 18px 0 48px rgba(0,0,0,.35); }
  .admin-topbar { gap: 12px; }
  .admin-topbar > div:last-child > div { display: none; }
  .admin-body-content { padding: 18px 14px; }
  .admin-table { min-width: 760px; }
  .admin-table-head { min-width: 720px; }
}

/* KPI Cards */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.kpi-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.kpi-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.kpi-value {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}

.kpi-sub {
  font-size: 11px;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Tablas Admin */
.admin-table-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  overflow-y: hidden;
  margin-bottom: 28px;
}

.admin-table-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-table-head h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th,
.admin-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}

.admin-table th {
  background: var(--paper-warm);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-table tr:hover td {
  background: rgba(245, 241, 233, 0.5);
}

.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-pending { background: #fff3e0; color: #e65100; }
.status-confirmed { background: #e8f5e9; color: #2e7d32; }
.status-shipped { background: #e1f5fe; color: #0277bd; }
.status-review { background: #f3e5f5; color: #7b1fa2; }
.status-rejected { background: #ffebee; color: #c62828; }

/* Switch Toggle */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--gold);
}

input:checked + .slider:before {
  transform: translateX(18px);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MÓVIL Y TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .brand-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .checkout-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--ink-900);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--line-dark);
    display: none;
    box-shadow: var(--shadow-lg);
  }

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

  .hero h1 {
    font-size: clamp(44px, 11vw, 64px);
    line-height: 0.95;
  }

  .catalog-curation-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .catalog-curation-pills::-webkit-scrollbar {
    display: none;
  }

  .catalog-view-switcher {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .product-body {
    padding: 14px 12px;
  }

  .product-title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .product-price-current {
    font-size: 17px;
  }

  .btn-card-add {
    padding: 10px 12px;
    font-size: 10px;
    letter-spacing: 0.04em;
  }

  .btn-card-quick {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }

  .product-detail-layout {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .brand-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }


  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .admin-sidebar {
    position: fixed;
    transform: translateX(-100%);
    transition: var(--transition);
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-topbar {
    padding: 14px 20px;
  }

  .admin-body-content {
    padding: 20px 14px;
  }

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

/* ==========================================================================
   BRAND SHOWCASE GRID (DESKTOP & RESPONSIVE)
   ========================================================================== */
.brand-strip-container {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 25%, #1d1b17 0%, #111111 100%);
  border-top: 1px solid rgba(197, 161, 90, 0.22);
  border-bottom: 1px solid rgba(197, 161, 90, 0.22);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.brand-strip-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.brand-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

@media (min-width: 1024px) {
  .brand-showcase-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.brand-card-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(197, 161, 90, 0.2);
  border-radius: 8px;
  padding: 30px 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(4px);
  outline: none;
}

.brand-card-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(197, 161, 90, 0.16), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.brand-card-item:hover {
  background: rgba(197, 161, 90, 0.08);
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55), 0 0 22px rgba(197, 161, 90, 0.25);
}

.brand-card-item:hover::before {
  opacity: 1;
}

.brand-card-item svg {
  color: #f0ebe1;
  transition: all 0.3s ease;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.brand-card-item:hover svg {
  color: var(--gold);
  transform: scale(1.1);
  filter: drop-shadow(0 4px 12px rgba(197, 161, 90, 0.4));
}

.brand-card-name {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: 0.08em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.brand-card-item:hover .brand-card-name {
  color: var(--gold-pale);
}

.brand-card-sub {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-pale);
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.brand-card-item:hover .brand-card-sub {
  opacity: 1;
  color: var(--gold);
}

.brand-disclaimer {
  max-width: 680px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

/* ========================================================================
   ATENEA MOBILE REFINEMENT — jerarquía editorial, inspirada en el templo
   ======================================================================== */
.catalog-empty-state {
  grid-column: 1 / -1;
  min-height: 330px;
  display: grid;
  grid-template-columns: 170px minmax(0, 520px);
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 52px;
  background: linear-gradient(135deg, #171717, #0d0d0d);
  border: 1px solid var(--gold-border);
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.catalog-empty-state::before { content:''; position:absolute; inset:10px; border:1px solid rgba(197,161,90,.2); pointer-events:none; }
.catalog-empty-mark { width:145px; height:145px; border-radius:50%; border:1px solid var(--gold-border); display:grid; place-items:center; color:var(--gold); font:600 102px/1 var(--serif); position:relative; box-shadow:inset 0 0 30px rgba(197,161,90,.12); }
.catalog-empty-state h3 { margin:0 0 12px; color:var(--gold-pale); font:600 42px/.95 var(--serif); letter-spacing:-.035em; }
.catalog-empty-state p { max-width:500px; color:#c9c0b3; margin:0 0 22px; font-size:14px; }
.catalog-empty-state .eyebrow { margin-bottom:12px; color:var(--gold); }

@media (max-width: 768px) {
  body { font-size:14px; overflow-x:hidden; }
  .shell { width:min(calc(100% - 32px), 640px); }
  .announcement { height:31px; }
  .announcement-track { gap:24px; font-size:9px; letter-spacing:.14em; animation-duration:24s; }
  .site-header { height:66px; }
  .navbar { gap:8px; }
  .menu-toggle { width:38px; height:42px; justify-content:center; align-items:center; padding:0; }
  .menu-toggle span { width:21px; }
  .brand-lockup { gap:9px; min-width:0; }
  .brand-crest-wrap { width:40px; height:40px; flex:0 0 40px; }
  .brand-crest-svg { width:100%; height:100%; }
  .brand-logo-img { width:39px; height:39px; flex:0 0 39px; }
  .brand-name { font-size:19px; letter-spacing:.08em; white-space:nowrap; }
  .brand-sub { font-size:7px; letter-spacing:.2em; white-space:nowrap; }
  .nav-actions { gap:1px; }
  .action-btn { display:none; }
  .cart-pill-btn {
    width: 42px;
    height: 42px;
    min-width: 42px;
    max-width: 42px;
    padding: 0;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(35, 33, 29, 0.9), rgba(18, 18, 18, 0.98));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 12px rgba(197, 161, 90, 0.25);
    position: relative;
  }
  .cart-pill-btn .cart-text-label { display:none; }
  .cart-pill-btn svg { width:20px; height:20px; stroke:var(--gold-hover); }
  .cart-pill-btn:active { transform:scale(0.92); background:var(--gold); }
  .cart-pill-btn:active svg { stroke:var(--ink-900); }
  .cart-pill-btn .badge-count {
    top: -4px;
    right: -4px;
    border: 2px solid #121212;
  }
  .nav-links { top:66px; padding:22px 24px 28px; gap:6px; background:rgba(10,10,10,.98); }
  .nav-links a { display:block; width:100%; padding:13px 0; font-size:12px; border-bottom:1px solid rgba(255,255,255,.08); }
  .hero { min-height:calc(100dvh - 97px); display:flex; align-items:center; justify-content:center; text-align:center; }
  .hero-video { object-position: center 43% !important; }
  .hero::before, .hero::after, .hero-architecture, .hero-seal { display:none !important; }
  .hero-shade { background:linear-gradient(180deg, rgba(5,5,5,.28) 0%, rgba(5,5,5,.38) 45%, rgba(5,5,5,.91) 100%); }
  .hero-content { padding:56px 0 36px; max-width:none; display:flex; flex-direction:column; align-items:center; text-align:center; }
  .hero-title { width:100%; font-family:var(--display) !important; font-size:clamp(45px, 13vw, 64px) !important; line-height:.9 !important; letter-spacing:0 !important; text-align:center; }
  .hero-title span { max-width:100%; white-space:nowrap; }
  .eyebrow { font-size:9px; letter-spacing:.22em; margin-bottom:14px; gap:6px; justify-content:center; }
  .hero-copy { font-size:13px; max-width:320px; line-height:1.62; margin:16px auto 22px; color:#e7dfd4; text-align:center; }
  .hero-actions { display:grid; grid-template-columns:1fr; gap:9px; width:min(100%, 340px); margin:0 auto 20px; }
  .hero-actions .btn { width:100%; min-height:48px; border-radius:9999px; }
  .btn { padding:14px 18px; font-size:10px; letter-spacing:.13em; }
  .hero-badges { gap:0; display:grid; grid-template-columns:repeat(3,1fr); margin-top:20px; padding-top:16px; border-top:1px solid rgba(255,255,255,.12); width:100%; }
  .hero-badge-item { gap:5px; padding:0 6px; font-size:8px; line-height:1.35; letter-spacing:.02em; align-items:center; justify-content:center; text-align:center; }
  .hero-badge-item + .hero-badge-item { border-left:1px solid rgba(255,255,255,.12); }
  .hero-badge-item svg { width:14px; height:14px; }
  .atenea-campaign-strip { padding:11px 0; font-size:9px; letter-spacing:.09em; }
  .atenea-campaign-strip span { margin:0 4px; }.atenea-campaign-strip b { margin:0 4px; }
  .atenea-power-days { padding: 52px 0 44px; }
  .power-header { margin-bottom: 34px; }
  .power-title { font-size: 32px; }
  .power-desc { font-size: 13px; line-height: 1.6; }
  .power-cards-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
  .power-card { padding: 26px 20px; }
  .power-card.featured { transform: none; }
  .power-day-num { font-size: 48px; }
  .power-card-title { font-size: 20px; }
  .power-card-copy { font-size: 12.5px; margin-bottom: 18px; }
  .power-bottom-strip { flex-direction: column; align-items: flex-start; gap: 16px; padding: 18px; }
  .power-bottom-cta { width: 100%; justify-content: center; }
  .section { padding:64px 0; }.section-head { display:block; margin-bottom:28px; }.section-title { font-size:45px; line-height:.86; }.section-desc { font-size:13px; margin-top:16px; max-width:340px; }
  .catalog-toolbar-wrap { padding:14px; margin-bottom:24px; border-radius:0; box-shadow:none; }.catalog-filter-row { display:block; }
  .brand-chips { margin:0 -2px 13px; gap:6px; scrollbar-width:none; }.brand-chips::-webkit-scrollbar { display:none; }.chip-btn { padding:7px 13px; font-size:9px; }
  .catalog-controls { display:grid; grid-template-columns:1fr 1fr; gap:8px; }.catalog-search-input { grid-column:1/-1; min-width:0; min-height:42px; width:100%; }.catalog-select { width:100%; min-width:0; padding:8px; font-size:10px; }.stock-toggle-label { justify-content:center; font-size:10px; padding:9px 3px; border:1px solid var(--line-light); min-height:39px; }
  .catalog-toolbar-wrap > div:last-child { margin-top:3px; gap:10px; font-size:10px !important; }.catalog-toolbar-wrap > div:last-child span:last-child { text-align:right; font-size:9px; }
  .product-grid { gap:12px 10px; }
  .product-card { border-radius:8px; }
  .product-badge-stack { top:8px; left:8px; gap:4px; }
  .product-demo-badge { font-size:7.5px; padding:2px 6px; letter-spacing:.06em; }
  .product-discount-pill { font-size:8px; padding:2px 5px; }
  .product-fav-btn { top:6px; right:6px; width:30px; height:30px; }
  .product-fav-btn svg { width:15px; height:15px; }
  .product-body { padding:12px 10px 12px; }
  .product-title { font-size:16px; line-height:1.1; min-height:34px; margin-bottom:8px; }
  .product-brand-ref { font-size:8px; letter-spacing:.06em; margin-bottom:5px; }
  .product-price-current { font-size:18px; white-space:nowrap; }
  .product-price-old { font-size:11px; white-space:nowrap; }
  .product-price-box { margin-bottom:8px; white-space:nowrap; }
  .product-sizes-row { margin-bottom:10px; gap:3px; }
  .size-pill { padding:3px 6px; font-size:8.5px; border-radius:3px; }
  .btn-card-add { min-height:38px; padding:8px; font-size:9px; letter-spacing:.06em; border-radius:9999px; }

  #productModal { padding: 10px; }
  #productModal .modal-content-card { max-height: 94dvh; border-radius: 14px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 16px; padding: 16px 14px 22px; }
  .gallery-main-view { aspect-ratio: 4 / 3; }
  .gallery-thumb { width: 50px; height: 50px; }
  .detail-title { margin-bottom: 12px; }
  .detail-price-box { margin-bottom: 16px; }
  .detail-actions-row { grid-template-columns: minmax(0, 1fr) auto; }
  .modal-wa-btn { grid-column: 1 / -1; }
  .catalog-empty-state { grid-template-columns:1fr; min-height:0; gap:19px; padding:35px 23px; text-align:center; }.catalog-empty-mark { width:89px; height:89px; margin:auto; font-size:65px; }.catalog-empty-state h3 { font-size:34px; }.catalog-empty-state p { font-size:12px; }.catalog-empty-state .btn { width:100%; }
  .brand-showcase-grid { grid-template-columns:repeat(2, 1fr) !important; gap:10px !important; }
  .brand-strip-container { padding:56px 0; }
  .brand-card-item { padding:22px 12px 18px !important; }
  .brand-card-item svg { width:46px; height:24px; margin-bottom:10px; }
  .brand-card-name { font-size:20px !important; }
  .brand-card-sub { font-size:7.5px !important; letter-spacing:.1em; }
  .brand-disclaimer { font-size:10px; margin-top:20px; }
  .site-footer { padding:55px 0 21px; }.footer-bottom { display:block; font-size:9px; line-height:1.55; }.footer-bottom div + div { margin-top:9px; }
}

/* ==========================================================================
   BOTÓN FLOTANTE WHATSAPP VIP Y MICRO-ANIMACIONES
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 85;
  background: linear-gradient(135deg, rgba(28, 28, 28, 0.96), rgba(14, 14, 14, 0.98));
  color: var(--white);
  border: 1.5px solid var(--gold);
  border-radius: 9999px;
  padding: 8px 18px 8px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(197, 161, 90, 0.25);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
}

.whatsapp-float-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.5);
  transition: transform 0.3s ease;
}

.whatsapp-float-icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.whatsapp-float-btn:hover {
  background: var(--gold);
  color: var(--ink-900);
  border-color: var(--gold-hover);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px rgba(197, 161, 90, 0.5);
}

.whatsapp-float-btn:hover .whatsapp-float-icon-wrap {
  transform: scale(1.1) rotate(6deg);
}

.whatsapp-float-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 9999px;
  border: 2px solid #25d366;
  opacity: 0;
  animation: waPulse 2.6s infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(0.96); opacity: 0.75; }
  50% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}

@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    background: #25d366;
    border: 2px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 22px rgba(37, 211, 102, 0.45);
  }
  .whatsapp-float-btn .whatsapp-float-label {
    display: none;
  }
  .whatsapp-float-btn .whatsapp-float-icon-wrap {
    width: 100%;
    height: 100%;
    background: transparent;
    box-shadow: none;
  }
  .whatsapp-float-btn .whatsapp-float-icon-wrap svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
  }
  .whatsapp-float-pulse {
    border-color: #25d366;
    inset: -5px;
  }
}

[data-storefront-hero] .hero-video {
  object-position: center var(--hero-position, 50%);
  filter: brightness(var(--hero-brightness, 1));
}
[data-storefront-hero] .hero-video[hidden] { display: none; }
[data-storefront-hero] .hero-shade {
  box-shadow: inset 0 0 0 100vmax rgb(0 0 0 / var(--hero-shade, 0));
}
[data-storefront-hero] .hero-title {
  max-width: 100%;
  overflow-wrap: anywhere;
}
[data-storefront-hero] .hero-title span { max-width: 100%; white-space: normal; }
@media (max-width: 768px) {
  [data-storefront-hero] .hero-video { object-position: center var(--hero-position, 43%) !important; }
}

.storefront-editor { padding: clamp(16px, 4vw, 32px); }
.storefront-editor h3 { font: 28px var(--serif); margin: 0 0 20px; }
.storefront-editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
#storefrontForm fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
#storefrontForm input[type="file"] { max-width: 100%; }
.storefront-ranges { display: grid; gap: 8px; margin: 0 0 20px; }
.storefront-ranges label { display: grid; gap: 4px; }
.storefront-ranges input { accent-color: var(--gold); }
.storefront-preview.hero { min-height: 320px; border-radius: 10px; }
.storefront-preview .hero-content { width: 100%; padding: 28px 14px; }
.storefront-preview .hero-title { font-size: clamp(25px, 4vw, 54px); }
.storefront-preview .hero-copy { font-size: 14px; }
@media (max-width: 960px) {
  .storefront-editor-layout { grid-template-columns: minmax(0, 1fr); }
}

.admin-order-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 8px 14px;
  margin: 0 0 20px;
  padding: 14px;
  background: var(--paper-warm);
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  font-size: 13px;
}
.admin-order-details dt { color: var(--muted); }
.admin-order-details dd { margin: 0; overflow-wrap: anywhere; }

.admin-gallery { list-style: none; padding: 0; display: grid; gap: 8px; margin: 12px 0 0; }
.admin-gallery li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--gold-border);
  border-radius: 6px;
}
.admin-gallery li img { width: 46px; height: 46px; object-fit: cover; border-radius: 4px; }
.admin-gallery li span { flex: 1; font-size: 13px; }

#tab-pos label { display: block; margin: 10px 0 4px; }
#tab-pos .btn { margin-top: 12px; }
.pos-lines { display: grid; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pos-lines li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line-light); }
#posReceiptDialog { width: min(440px, 92vw); max-height: 90dvh; padding: 20px; border: 1px solid var(--gold-border); border-radius: 10px; color: var(--ink); }
#posReceiptDialog::backdrop { background: rgb(0 0 0 / .68); }
#posReceipt { overflow-wrap: anywhere; }
.pos-receipt-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
@media print {
  body:has(#posReceiptDialog[open]) > :not(#posReceiptDialog) { display: none !important; }
  #posReceiptDialog[open] { position: static; width: auto; max-height: none; margin: 0; padding: 0; border: 0; }
  #posReceiptDialog::backdrop, .pos-receipt-actions { display: none; }
}

#posReturnForm { border-top: 1px solid var(--line-light); margin-top: 14px; padding-top: 12px; }
#posReturnForm label { display: block; margin-top: 8px; }
#posReturnForm button { margin-top: 12px; }
@media print {
  #posReturnForm { display: none !important; }
}

#operationAlerts { margin-bottom: 20px; }
#operationAlerts h3 { margin-bottom: 8px; }

.review-panel {
  position: fixed;
  z-index: 20000;
  right: 12px;
  bottom: 12px;
  width: min(350px, calc(100vw - 24px));
  max-height: min(62dvh, 550px);
  overflow: auto;
  padding: 12px;
  background: #211e1a;
  color: #fff7ea;
  border: 1px solid #b89359;
  border-radius: 12px;
  box-shadow: 0 6px 30px #0006;
  font: 14px/1.45 system-ui, sans-serif;
}
.review-panel-bar, .review-panel nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-panel-bar strong { margin-right: auto; }
.review-panel a { color: #f7d99f; text-decoration: underline; }
.review-panel button {
  border: 1px solid #b89359;
  border-radius: 5px;
  padding: 5px 9px;
  background: #31291e;
  color: inherit;
  cursor: pointer;
}
.review-panel button:disabled { opacity: .55; }
.review-panel nav { margin-bottom: 8px; }
.review-panel p { margin: 8px 0; }
.review-panel form { margin-top: 10px; }
.review-panel textarea { display: block; width: 100%; margin: 4px 0 8px; padding: 6px; border-radius: 4px; }
.review-panel ol { padding-left: 22px; margin: 10px 0 0; }
.review-panel li { margin: 8px 0; overflow-wrap: anywhere; white-space: pre-wrap; }
.review-panel li button { display: block; margin-top: 4px; }
.review-marker { position: fixed; z-index: 19999; outline: 3px solid #b05b19; pointer-events: none; }
.review-selecting, .review-selecting body * { cursor: crosshair !important; }

/* Ajustes puntuales en fichas e interacciones del panel */
.product-media-wrap, .product-image-wrap { background: #fff; }
#productModal .detail-actions-row .btn-gold { color: var(--ink-900); }
.admin-nav-group { display: grid; gap: 3px; }
.admin-nav-group > span { padding: 8px 13px 2px; color: #bdb3a3; font-size: 11px; font-weight: 800; }
.admin-order-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-order-filters input { width: min(270px, 100%); }
.admin-page .admin-table-head { flex-wrap: wrap; min-width: 0; }
@media (max-width: 768px) {
  .admin-page .admin-sidebar { visibility: hidden; }
  .admin-page .admin-sidebar.open { visibility: visible; }
}

/* Tipografía original en los dos elementos de portada. */
#inicio .hero-title {
  font-family: var(--hero-title-family, 'Anton', Impact, sans-serif) !important;
  font-weight: var(--hero-title-weight, 400);
}
.site-header .brand-name, .checkout-brand .brand-name { font-family: 'Cormorant Garamond', Garamond, Georgia, serif; }
.site-header .brand-sub, .checkout-brand .brand-sub { font-family: 'Manrope', system-ui, sans-serif; }

/* Inventario y caja */
.inventory-tools {
  display: flex; flex-wrap: wrap; align-items: end; gap: 12px 20px;
  margin-bottom: 14px; padding: 14px;
}
.inventory-tools > div { flex: 1 1 240px; min-width: 0; }
.inventory-tools label, .pos-panel label { display: block; margin-bottom: 5px; font-weight: 700; font-size: 13px; }
.inventory-tools .form-control, .pos-panel .form-control { width: 100%; min-width: 0; }
.inventory-tools .inventory-stock-filter { display: flex; align-items: center; gap: 6px; min-height: 40px; margin: 0; }
.inventory-list, .pos-secondary { display: grid; gap: 9px; }
.inventory-product { border-radius: 10px; overflow: hidden; }
.inventory-product summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 14px; cursor: pointer; list-style: none;
}
.inventory-product summary::-webkit-details-marker { display: none; }
.inventory-product summary::after { content: '+'; color: #745827; font-size: 18px; line-height: 1; }
.inventory-product[open] summary::after { content: '−'; }
.inventory-product summary > div { flex: 1; min-width: 0; }
.inventory-identity { display: flex; align-items: center; gap: 12px; }
.inventory-photo {
  flex: 0 0 54px; width: 54px; height: 54px; display: grid; place-items: center;
  border: 1px solid var(--line-light); border-radius: 8px; overflow: hidden;
  background: #fff; color: #62574b; font-size: 10px; text-align: center;
}
.inventory-photo img { width: 100%; height: 100%; object-fit: contain; }
.inventory-product small { display: block; font-size: 12px; color: #62574b; overflow-wrap: anywhere; }
.inventory-product ul { margin: 0; padding: 0 14px; list-style: none; }
.inventory-line {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 6px 12px; border-top: 1px solid var(--line-light); padding: 8px 0;
}
.inventory-quantity { display: grid; grid-template-columns: 36px minmax(52px, auto) 36px; align-items: center; gap: 5px; text-align: center; }
.inventory-quantity .inline-btn { min-height: 36px; padding: 0; }
.inventory-quantity .inline-btn:disabled { opacity: .45; cursor: not-allowed; }
.inventory-low { background: #f5ead6; color: #66491c; border-radius: 5px; font-weight: 800; }

.pos-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 14px; align-items: start; }
.pos-panel { min-width: 0; padding: clamp(14px, 2.8vw, 24px); border-radius: 12px; }
.pos-panel h2 { margin: 0 0 14px; font: 700 23px/1.1 var(--display); }
.pos-panel > .form-control { margin-bottom: 12px; }
.pos-panel .btn { margin-top: 0 !important; border-radius: 8px; min-height: 44px; text-transform: none; letter-spacing: 0; }
.pos-panel #posAdd, .pos-panel #posSubmit { width: 100%; }
.pos-panel .pos-selection { min-height: 20px; margin: 0 0 10px; color: #62574b; font-size: 13px; }
.pos-empty { padding: 10px; margin: 0 0 10px; color: #62574b; background: var(--paper-warm); border-radius: 6px; }
.pos-total { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px; margin: 9px 0 13px; background: #f2e7d1; border-radius: 7px; }
.pos-total output { font: 700 19px/1.2 var(--display); }
.pos-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.pos-secondary { margin-top: 14px; }
.pos-secondary summary { font-weight: 800; cursor: pointer; }
.pos-secondary details[open] summary { margin-bottom: 12px; }
.pos-closure-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#posStatus:empty { display: none; }
@media (max-width: 800px) {
  .pos-workspace { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .pos-fields { grid-template-columns: minmax(0, 1fr); }
  .inventory-product summary { padding-inline: 10px; }
}

.support-editor {
  display: grid; gap: 10px; padding: clamp(16px, 4vw, 28px);
  max-width: 720px;
}
.support-editor h3 { margin: 0 0 8px; font-size: clamp(20px, 4vw, 26px); }
.support-editor label { font-weight: 700; font-size: 13px; }
.support-editor .form-control { width: 100%; }
.support-editor textarea { resize: vertical; }
.support-editor small, .support-actions span { color: #62574b; }
.support-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }

.checkout-card.checkout-choice { padding: clamp(16px, 3vw, 24px); }
.checkout-choice .checkout-card-title {
  font-size: clamp(18px, 3vw, 22px); margin: 0 0 12px; padding: 0; border: 0;
}
.checkout-choice select { width: 100%; min-height: 44px; }
.payment-options { display: grid; gap: 6px; }
.payment-option {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border: 1px solid var(--line-light); border-radius: 8px;
  cursor: pointer; min-height: 44px;
}
.payment-option[hidden] { display: none; }
.payment-option input { accent-color: #89692f; margin: 0; }
.payment-option:has(input:checked) { border-color: #89692f; background: var(--paper-warm); }
.payment-option strong { display: block; font-size: 14px; }
.payment-option small, .checkout-choice-note { color: #62574b; font-size: 12px; }
.checkout-choice-note { margin: 8px 0 0; }

[data-storefront-hero] .hero-title {
  font-family: var(--hero-title-family, 'Anton', Impact, sans-serif) !important;
  font-weight: var(--hero-title-weight, 400);
}
[data-hero-typography="bricolage"] { --hero-title-family: 'Bricolage Grotesque', system-ui, sans-serif; --hero-title-weight: 800; }
[data-hero-typography="cormorant"] { --hero-title-family: 'Cormorant Garamond', Georgia, serif; --hero-title-weight: 700; }
[data-hero-typography="dm"] { --hero-title-family: 'DM Sans', system-ui, sans-serif; --hero-title-weight: 800; }

[data-hero-alignment="center"] .hero-content { text-align: center; align-items: center; }
[data-hero-alignment="center"] .hero-title { text-align: center; }
[data-hero-alignment="center"] .hero-copy { margin-inline: auto; }
[data-hero-alignment="center"] .hero-actions { justify-content: center; }
[data-hero-alignment="left"] .hero-content { text-align: left; align-items: start; }
[data-hero-alignment="left"] .hero-title { text-align: left; align-items: start; }
[data-hero-alignment="left"] .hero-copy { margin-inline: 0; }
[data-hero-alignment="left"] .hero-actions { margin-inline: 0; justify-content: start; }

.inventory-list .inventory-product { margin-bottom: 0; }
.inventory-line { align-items: start; }
.inventory-batch { grid-column: 1 / -1; display: flex; gap: 5px; align-items: center; justify-content: end; }
.inventory-batch input { width: 72px; padding: 6px; }
.inventory-add { border-top: 1px solid var(--line-light); }
.inventory-product .inventory-add summary { justify-content: start; color: #745827; font-weight: 700; }
.inventory-product .inventory-add summary::after { content: '+'; }
.inventory-product .inventory-add[open] summary::after { content: '−'; }
.inventory-add-form { display: grid; gap: 8px; padding: 0 14px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inventory-add-form label, .publication-entry label { display: grid; gap: 4px; font-size: 13px; }
.inventory-add-form .form-control { min-width: 0; width: 100%; }
.inventory-add-form button { justify-self: start; }
@media (max-width: 500px) {
  .inventory-quantity { justify-content: end; }
}

#publicationForm > h3, #publicationForm > p { margin: 0; }
#publicationForm fieldset { min-width: 0; }
#publicationForm > fieldset { border: 0; margin: 0; padding: 0; }
.publication-entry {
  display: grid; gap: 8px; margin: 14px 0; padding: 12px;
  border: 1px solid var(--line-light); border-radius: 8px;
}
.publication-entry legend { padding-inline: 4px; font-size: 13px; font-weight: 700; }
.publication-countdown { margin: 18px auto; }
.publication-countdown p { color: var(--gold-pale); font-size: 13px; margin: 0 0 8px; }
.publication-clock { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.publication-clock span {
  display: grid; min-width: 55px; padding: 6px; border: 1px solid var(--gold-border); border-radius: 8px;
  color: var(--gold-pale); font-size: 11px;
}
.publication-clock b { font-size: 22px; font-variant-numeric: tabular-nums; color: var(--white); }
.published-posts:not([hidden]) {
  display: grid; gap: 10px; margin: 16px auto;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
}
.published-posts article {
  padding: 14px; border: 1px solid var(--gold-border); border-radius: 8px;
  text-align: left; color: var(--white); overflow-wrap: anywhere;
}
.published-posts h3 { margin: 0; }
.published-posts p { margin: 6px 0; white-space: pre-wrap; }
.published-posts a { color: var(--gold-pale); text-decoration: underline; }

.pos-products { display: grid; gap: 8px; margin-block-start: 8px; max-height: 470px; overflow: auto; }
.pos-products details { border: 1px solid var(--line-light); border-radius: 8px; }
.pos-products summary { display: flex; align-items: center; gap: 10px; padding: 8px; cursor: pointer; list-style: none; }
.pos-products summary::after { content: '+'; margin-inline-start: auto; padding-inline: 4px; }
.pos-products details[open] summary::after { content: '−'; }
.pos-products summary::-webkit-details-marker { display: none; }
.pos-products img { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; background: #fff; border-radius: 6px; }
.pos-products small, .pos-sizes small { display: block; font-size: 12px; }
.pos-sizes { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 8px 8px; }
.pos-sizes button { min-height: 44px; }
.pos-line-controls { display: flex; gap: 6px; flex-shrink: 0; }

@media (min-width: 769px) {
  .admin-shell-layout { grid-template-columns: clamp(208px, 23vw, 245px) minmax(0, 1fr); }
}
.admin-sidebar { background: #151413; }
.admin-sidebar-header { padding: 18px 14px; }
.admin-sidebar-header .brand-lockup {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 9px;
  max-width: 100%; align-items: center;
}
.admin-sidebar-header .brand-crest-wrap { width: 42px; height: 42px; margin: 0; }
.admin-sidebar-header .brand-name { font-size: 19px; letter-spacing: .12em; }
.admin-sidebar-header .brand-sub { display: block; font-size: 9px; letter-spacing: .09em; white-space: normal; }
.admin-sidebar .admin-nav { padding: 10px; gap: 12px; }
.admin-sidebar .admin-nav-group { grid-template-columns: minmax(0, 1fr); }
.admin-sidebar .admin-nav-group > span { color: #bcb09a; padding: 6px 10px 3px; }
.admin-sidebar .admin-nav-item { gap: 9px; padding: 9px 10px; min-height: 40px; letter-spacing: .01em; border-radius: 8px; }
.admin-sidebar .admin-nav-item svg { flex: 0 0 17px; }
.admin-sidebar .admin-nav-item.active .tab-badge { background: #171717; color: #fff; }
.admin-sidebar-footer { padding: 12px; }
.admin-sidebar-footer .admin-view-store-btn { border-radius: 8px; }

.promotion-editor { padding: clamp(16px, 3vw, 26px); border-radius: 14px; }
.promotion-editor h3 { font-size: clamp(20px, 2.5vw, 27px); margin: 0 0 5px; }
.promotion-editor p { margin: 0 0 14px; color: #62574b; }
.promotion-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.campaign-toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px;
  border: 1px solid var(--line-light); background: var(--paper-warm); font-size: 13px; font-weight: 700; cursor: pointer;
}
.campaign-toggle input, .campaign-products input { accent-color: #897037; }
.campaign-inventory { padding: 12px; border-radius: 10px; background: var(--paper-warm); border: 1px solid var(--line-light); margin-bottom: 14px; }
.campaign-inventory summary, .publication-entry summary { cursor: pointer; font-weight: 700; }
.campaign-inventory p { margin: 6px 0 10px; font-size: 13px; }
.campaign-products { display: grid; gap: 6px; max-height: 230px; overflow: auto; margin-top: 8px; }
.campaign-products label { display: flex; gap: 8px; align-items: center; font-size: 13px; padding: 5px; }
#publicationForm > p { margin-bottom: 14px; }
.publication-entry { display: block; background: var(--paper-warm); }
.publication-entry-fields { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 950px) {
  .publication-entry-fields { grid-template-columns: 1fr 1fr; }
  .publication-entry-fields label:nth-child(-n+2) { grid-column: 1 / -1; }
}
#publicationStatus, #campaignStatus { margin-top: 8px; }

#promos .power-strip-card {
  background: radial-gradient(ellipse at 50% 0%, #503b20 0%, #23201b 43%, #151413 78%);
  border-color: #957443;
}
#promos .publication-clock { gap: clamp(5px, 1.5vw, 15px); }
#promos .publication-clock span {
  min-width: clamp(51px, 10vw, 88px); border-radius: 10px; padding: 9px 5px;
  background: rgba(255,255,255,.045); color: #f0dbc0; text-transform: uppercase;
}
#promos .publication-clock b { color: #ffe5ad; font-size: clamp(23px, 5vw, 40px); line-height: 1.1; }

#posCart li { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
#posCart .pos-line-payment { grid-column: 1 / -1; width: min(185px, 100%); padding: 6px 8px; font-size: 13px; }

.checkout-top-inner { gap: 12px; }
.checkout-brand .brand-name {
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: .055em; line-height: 1;
}
.checkout-brand .brand-sub { letter-spacing: .09em; font-size: 10px; }
#checkoutOrderStatus:empty { display: none; }
#checkoutOrderStatus { color: #ffe0b0; }
#offersStatus { color: #e1d5c4; margin: 6px 0 14px; }
.product-gallery-upload { border: 1px dashed #a88c59; background: var(--paper-warm); border-radius: 9px; padding: 12px; }
.product-gallery-upload p { margin: 0 0 8px; font-size: 13px; }
#productGalleryList { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 138px), 1fr)); gap: 10px; padding: 0; margin-top: 10px; }
#productGalleryList li { display: grid; min-width: 0; gap: 5px; grid-template-columns: 1fr 1fr; align-items: center; }
#productGalleryList li > span, .gallery-zoom { grid-column: 1 / -1; }
#productGalleryList img { display: block; width: 100%; height: 112px; object-fit: contain; background: #fff; }
.gallery-zoom { padding: 0; cursor: zoom-in; border: 1px solid var(--line-light); border-radius: 6px; overflow: hidden; }
#productPhotoPreview { border: 1px solid var(--line-light); border-radius: 12px; text-align: center; }
#productPhotoPreview::backdrop { background: #000b; }
#productPhotoPreview img { display: block; max-width: min(80vw, 760px); max-height: 72dvh; margin-bottom: 8px; object-fit: contain; }
@media (max-width: 480px) {
  .checkout-top-inner .checkout-back-link { font-size: 11px; letter-spacing: 0; text-align: right; }
  .checkout-brand .brand-sub { font-size: 9px; }
  .checkout-page-body .form-control { font-size: 16px; }
}
#orderSuccessModal [hidden] { display: none; }
#cancelOrderStatus:empty { display: none; }
#cancelOrderStatus { margin: 0; }
.switch input:focus-visible + .slider { outline: 2px solid #816327; outline-offset: 3px; }
#otherCityGroup[hidden] { display: none; }
.checkout-main-content, .checkout-sidebar, .checkout-card .form-group { min-width: 0; }
.checkout-card select { max-width: 100%; }
.checkout-brand .brand-crest-wrap { flex-shrink: 0; }
.offers-landing #offersStatus { color: var(--muted); }
.size-guide-dismiss { margin-top: 18px; min-height: 44px; }
#sizeGuideModal .modal-close-corner { top: 10px; right: 10px; background: #f0ede7; color: #171717; }
.discovery-page { padding-block: clamp(25px, 5vw, 70px); }
.discovery-page h1 { font-size: clamp(26px, 5vw, 40px); }
.discovery-list { columns: 2 220px; padding-inline-start: 22px; }
.discovery-list li { break-inside: avoid; padding-block: 5px; }
.discovery-list a { text-decoration: underline; }
.discovery-product { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.discovery-product img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 12px; }
.discovery-product p { overflow-wrap: anywhere; }
#publicationCountdown:not([hidden]) { display: block; width: fit-content; }
#publicationCountdown:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
#ofertas-888 {
  width: min(930px, calc(100% - 28px)); max-height: min(88dvh, 780px);
  margin: auto; padding: 0; overflow: hidden;
  border: 1px solid var(--gold-border); border-radius: 20px;
  background: #f6f2eb; color: #211d17;
}
#ofertas-888[open] { display: flex; flex-direction: column; }
#ofertas-888::backdrop { background: rgb(0 0 0 / 74%); }
.offers-dialog-heading, .offers-dialog-footer {
  flex: 0 0 auto; padding: 12px clamp(14px, 3vw, 25px); background: #fffaf3;
}
.offers-dialog-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid #e7ded0;
}
.offers-dialog-heading h2 { margin: 0; font-size: clamp(24px, 4vw, 38px); line-height: 1.1; }
.offers-close {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid #ded2c0; border-radius: 50%; background: #f6f2eb; color: #211d17; cursor: pointer;
}
.offers-scroll { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: clamp(12px, 3vw, 25px); }
.offers-dialog-footer { display: flex; justify-content: center; border-top: 1px solid #e7ded0; }
.offers-dialog-footer .btn { padding: 9px 18px; min-height: 44px; }
#ofertas-888 .published-posts:not([hidden]) {
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0;
}
#ofertas-888 .published-posts + .published-posts:not([hidden]) { margin-top: 12px; }
#ofertas-888 article {
  position: relative; display: flex; flex-direction: column; gap: 7px; min-width: 0;
  border: 1px solid #e7ded0; border-radius: 12px; padding: 10px;
  background: #fff; color: #211d17;
}
#ofertas-888 article img {
  width: 100%; height: auto; aspect-ratio: 1; object-fit: contain;
  border-radius: 8px; background: #f7f4ef;
}
#ofertas-888 article h3 { font-size: clamp(13px, 2vw, 17px); line-height: 1.3; overflow-wrap: anywhere; }
.offer-discount {
  position: absolute; inset: 16px auto auto 16px;
  background: #261f13; color: #ffe4a5; border-radius: 6px;
  padding: 3px 6px; font-size: 11px; font-weight: 800;
}
#ofertas-888 article:not(:has(img)) .offer-discount { position: static; align-self: start; }
.offer-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 8px; margin-top: auto; }
.offer-prices strong { color: #382b17; font-size: clamp(13px, 2vw, 17px); }
.offer-prices del { color: #706357; font-size: 11px; }
#ofertas-888 article a {
  display: grid; place-items: center; min-height: 44px; margin-top: 3px;
  border-radius: 7px; background: #f3ead6; color: #302512;
  font-size: 13px; font-weight: 700; text-decoration: none;
}
@media (max-width: 600px) {
  #ofertas-888 { width: calc(100% - 16px); max-height: 92dvh; border-radius: 15px; }
  #ofertas-888 .published-posts:not([hidden]) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #ofertas-888 article { padding: 7px; }
  .offer-discount { inset: 12px auto auto 12px; }
}
.pos-cash-tool:not([hidden]) { display: grid; gap: 6px; background: var(--paper-warm); padding: 12px; border-radius: 8px; }
.pos-cash-tool p { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; margin: 0; }
#posCashChange { font-weight: 700; }
#posCashChange:empty { display: none; }
body:has(#ofertas-888[open]) { overflow: hidden; }
.confirmation-email-list { list-style: none; margin: 0; padding: 0; }
.confirmation-email-list li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 10px; border-top: 1px solid var(--line-light); }
.confirmation-email-list small { display: block; overflow-wrap: anywhere; }
.confirmation-email-list strong { display: block; overflow-wrap: anywhere; font-size: 12px; }
