/* ==========================================================================
   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: Cormorant Garamond (Títulos) / Manrope (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: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Cormorant Garamond', Garamond, Georgia, 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);
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 14px rgba(197, 161, 90, 0.25);
}

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

.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
}

.brand-sub {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.24em;
  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 {
  position: relative;
  min-height: calc(100vh - 122px);
  min-height: calc(100dvh - 122px);
  display: flex;
  align-items: center;
  background: var(--ink-900) url('public/assets/hero-atenea-premium.png') center right / cover no-repeat;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.72) 46%, rgba(10, 10, 10, 0.3) 100%),
              linear-gradient(0deg, rgba(10, 10, 10, 0.7) 0%, transparent 40%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(197, 161, 90, 0.25);
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: 'ATENEA · ATENEA · ATENEA · ATENEA · ATENEA';
  position: absolute;
  right: -185px;
  bottom: 20px;
  color: rgba(255,255,255,0.055);
  font-family: var(--serif);
  font-size: clamp(78px, 13vw, 190px);
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
}

.hero-architecture {
  position: absolute;
  right: 7%;
  bottom: 0;
  display: flex;
  gap: clamp(12px, 2.4vw, 34px);
  align-items: end;
  opacity: .26;
  z-index: 1;
  pointer-events: none;
}

.hero-architecture span {
  width: clamp(25px, 4vw, 55px);
  height: clamp(170px, 32vw, 380px);
  border-top: 12px solid rgba(234,218,173,.85);
  border-bottom: 18px solid rgba(234,218,173,.6);
  background: repeating-linear-gradient(90deg, rgba(234,218,173,.7) 0 2px, transparent 2px 7px);
  box-shadow: 0 0 32px rgba(197,161,90,.3);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  max-width: 680px;
}

.hero-seal {
  position: absolute;
  right: -90px;
  top: 94px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(197,161,90,.5);
  border-radius: 50%;
  color: rgba(234,218,173,.38);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 124px;
  line-height: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.eyebrow.dark {
  color: #7b6338;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(54px, 7.5vw, 105px);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.04em;
  margin: 0;
}

.hero h1 strong,
.gold-text {
  color: var(--gold);
  font-weight: 600;
}

.hero-copy {
  font-size: 16px;
  line-height: 1.8;
  color: #ded6c8;
  margin: 28px 0 38px;
  max-width: 490px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

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

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

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

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

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

.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-badges {
  display: flex;
  gap: 28px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
}

.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: 17px;
  height: 17px;
  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; }

.atenea-ritual {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    linear-gradient(90deg, rgba(197,161,90,.08) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(0deg, rgba(197,161,90,.06) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--paper-warm);
  border-bottom: 1px solid var(--line-light);
}

.atenea-ritual::after {
  content: 'Α';
  position: absolute;
  right: 3%;
  top: -88px;
  color: rgba(197,161,90,.10);
  font: 700 300px/1 var(--serif);
  pointer-events: none;
}

.ritual-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; position: relative; z-index: 1; }
.ritual-intro { padding: 18px 34px 18px 0; }
.ritual-intro h2 { margin: 0 0 14px; font: 600 clamp(36px,4vw,60px)/.88 var(--serif); letter-spacing:-.045em; }
.ritual-intro h2 em { color: var(--gold); font-weight: 600; }
.ritual-intro p { max-width: 410px; color: var(--muted); font-size: 14px; margin: 0; }
.ritual-card { min-height: 215px; display: flex; flex-direction: column; padding: 27px; background: rgba(255,255,255,.72); border: 1px solid rgba(23,23,23,.12); color: var(--ink); transition: var(--transition); }
.ritual-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.ritual-card-dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.ritual-glyph { color: var(--gold); font: 600 35px/1 var(--serif); margin-bottom: 22px; }
.ritual-card b { font-size: 12px; letter-spacing:.15em; }
.ritual-card small { color: var(--muted); font-size: 12px; line-height: 1.55; margin-top: 7px; }
.ritual-card-dark small { color: #c8c0b4; }
.ritual-arrow { color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing:.1em; text-transform:uppercase; margin-top:auto; }

/* ==========================================================================
   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
   ========================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(23, 23, 23, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}

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

.product-media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #111111;
  overflow: hidden;
  cursor: pointer;
}

.product-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-demo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(18, 18, 18, 0.88);
  color: var(--gold-pale);
  border: 1px solid rgba(197, 161, 90, 0.4);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  text-transform: uppercase;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  z-index: 2;
}

.product-fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: var(--transition);
  z-index: 3;
}

.product-fav-btn:hover {
  background: var(--white);
  transform: scale(1.1);
  color: #c93b3b;
}

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

.product-fav-btn svg {
  width: 18px;
  height: 18px;
}

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

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

.product-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--ink);
  cursor: pointer;
  transition: var(--transition);
}

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

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

.product-price-current {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
}

.product-price-old {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}

.product-sizes-row {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.size-pill {
  border: 1px solid rgba(23, 23, 23, 0.14);
  background: transparent;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition);
}

.size-pill:hover,
.size-pill.selected {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--ink);
}

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

.product-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.btn-card-add {
  background: var(--ink);
  color: var(--white);
  border: 0;
  padding: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-card-add:hover {
  background: var(--gold);
  color: var(--ink-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(5, 1fr);
  gap: 20px;
  align-items: center;
}

.brand-card-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 35px 20px;
  text-align: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.brand-card-item:hover {
  border-color: var(--gold-border);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.brand-card-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #ede6da;
}

.brand-card-sub {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 6px;
}

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

/* ==========================================================================
   EXPERIENCIA / PILARES DE COMPRA
   ========================================================================== */
.experience-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  padding: 36px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.pillar-num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 16px;
}

.pillar-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--ink);
}

.pillar-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   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);
}

.modal-close-corner {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(23, 23, 23, 0.08);
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close-corner:hover {
  background: var(--ink);
  color: var(--white);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  padding: 40px;
}

.product-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-main-view {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #111;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.gallery-main-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs-row {
  display: flex;
  gap: 10px;
}

.gallery-thumb {
  width: 65px;
  height: 65px;
  border: 1px solid var(--line-light);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.65;
  transition: var(--transition);
}

.gallery-thumb.active,
.gallery-thumb:hover {
  opacity: 1;
  border-color: var(--gold);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  display: flex;
  flex-direction: column;
}

.detail-brand-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.detail-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 10px;
}

.detail-sku {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 24px;
}

.detail-price-main {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}

.detail-stock-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stock-in {
  background: #e8f5e9;
  color: #2e7d32;
}

.stock-low {
  background: #fff8e1;
  color: #f57f17;
}

.detail-option-group {
  margin-bottom: 22px;
}

.detail-option-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.size-guide-link {
  color: var(--gold);
  text-decoration: underline;
  cursor: pointer;
  font-size: 11px;
}

.size-picker-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.size-picker-btn {
  border: 1px solid var(--line-light);
  background: var(--white);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
}

.size-picker-btn small {
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
}

.size-picker-btn:hover,
.size-picker-btn.active {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--ink);
}

.detail-actions-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  margin-top: 24px;
}

.detail-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

/* ==========================================================================
   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);
}

.carrier-options-grid,
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.carrier-radio-card,
.payment-radio-card {
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.carrier-radio-card:hover,
.payment-radio-card:hover,
.carrier-radio-card.selected,
.payment-radio-card.selected {
  border-color: var(--gold);
  background: var(--paper-warm);
}

.carrier-radio-card.selected,
.payment-radio-card.selected {
  box-shadow: 0 0 0 2px var(--gold);
}

.payment-details-box {
  background: var(--paper-warm);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-top: 20px;
}

.bank-info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(23, 23, 23, 0.12);
  font-size: 13px;
}

.bank-info-row strong {
  color: var(--ink);
}

.cali-badge-alert {
  background: #e8f5e9;
  border: 1px solid #81c784;
  color: #1b5e20;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 14px;
}

.national-badge-alert {
  background: #fff8e1;
  border: 1px solid #ffe082;
  color: #bf360c;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 14px;
}

.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-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;
}

/* 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: 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);
  }
  .experience-pillars {
    grid-template-columns: repeat(2, 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;
  }

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

  .product-body {
    padding: 12px;
  }

  .product-title {
    font-size: 16px;
  }

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

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

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

  .experience-pillars {
    grid-template-columns: 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;
  }

  .carrier-options-grid,
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }

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

/* ========================================================================
   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(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:8px; min-width:0; }
  .brand-logo-img { width:39px; height:39px; flex:0 0 39px; }
  .brand-name { font-size:18px; letter-spacing:.06em; white-space:nowrap; }
  .brand-sub { font-size:7px; letter-spacing:.17em; white-space:nowrap; }
  .nav-actions { gap:1px; }
  .action-btn { display:none; }
  .cart-pill-btn { min-width:43px; width:43px; height:40px; padding:0; border:1px solid rgba(197,161,90,.55); border-radius:50%; }
  .cart-pill-btn .cart-text-label { display:none; }
  .cart-pill-btn svg { width:18px; height:18px; }
  .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); align-items:flex-end; background-position:63% center; }
  .hero::before { inset:9px; border-color:rgba(197,161,90,.22); }
  .hero::after { right:-118px; bottom:126px; font-size:88px; transform:rotate(-90deg); transform-origin:center; opacity:.75; }
  .hero-shade { background:linear-gradient(180deg, rgba(5,5,5,.40) 0%, rgba(5,5,5,.74) 40%, rgba(5,5,5,.97) 100%), linear-gradient(90deg, rgba(5,5,5,.36), rgba(5,5,5,.16)); }
  .hero-architecture { right:auto; left:14px; bottom:0; gap:10px; opacity:.17; }
  .hero-architecture span { width:21px; height:140px; border-top-width:7px; border-bottom-width:10px; }
  .hero-content { padding:64px 0 38px; max-width:none; }
  .hero-seal { width:104px; height:104px; right:-37px; top:58px; font-size:73px; border-color:rgba(197,161,90,.38); }
  .eyebrow { font-size:9px; letter-spacing:.22em; margin-bottom:14px; gap:6px; }
  .hero h1 { font-size:clamp(50px, 15.3vw, 70px); line-height:.84; max-width:350px; text-shadow:0 3px 28px rgba(0,0,0,.5); }
  .hero-copy { font-size:13px; max-width:310px; line-height:1.62; margin:20px 0 24px; color:#e7dfd4; }
  .hero-actions { display:grid; grid-template-columns:1fr; gap:9px; }
  .hero-actions .btn { width:100%; min-height:51px; }
  .btn { padding:14px 18px; font-size:10px; letter-spacing:.13em; }
  .hero-badges { gap:0; display:grid; grid-template-columns:repeat(3,1fr); margin-top:25px; padding-top:17px; }
  .hero-badge-item { gap:5px; padding:0 8px; font-size:8px; line-height:1.35; letter-spacing:.025em; align-items:flex-start; }
  .hero-badge-item + .hero-badge-item { border-left:1px solid rgba(255,255,255,.12); }
  .hero-badge-item svg { width:14px; height:14px; margin-top:1px; }
  .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-ritual { padding:49px 0 38px; background-size:36px 36px; }
  .atenea-ritual::after { font-size:210px; top:-43px; right:-18px; }
  .ritual-grid { grid-template-columns:1fr 1fr; gap:9px; }
  .ritual-intro { grid-column:1/-1; padding:0 4px 14px; }
  .ritual-intro h2 { font-size:42px; margin-bottom:10px; }.ritual-intro p { font-size:13px; max-width:330px; }
  .ritual-card { min-height:183px; padding:19px 16px; }.ritual-glyph { font-size:28px; margin-bottom:17px; }
  .ritual-card b { font-size:10px; letter-spacing:.1em; }.ritual-card small { font-size:10px; line-height:1.45; }.ritual-arrow { font-size:9px; letter-spacing:.05em; }
  .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:11px 9px; }.product-card { border-radius:0; }.product-demo-badge { top:7px; left:7px; font-size:7px; padding:3px 5px; letter-spacing:.07em; }.product-fav-btn { top:6px; right:6px; width:30px; height:30px; }.product-fav-btn svg { width:15px; height:15px; }
  .product-body { padding:11px 10px 10px; }.product-title { font-size:17px; line-height:1.03; min-height:35px; }.product-brand-ref { font-size:8px; letter-spacing:.06em; margin-bottom:5px; gap:5px; }.product-brand-ref span:last-child { display:none; }.product-price-current { font-size:18px; }.product-price-box { margin-bottom:8px; }.product-sizes-row { margin-bottom:9px; gap:3px; }.size-pill { padding:2px 6px; font-size:8px; }.btn-card-add { min-height:37px; padding:8px; font-size:8px; letter-spacing:.06em; }
  .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 { gap:8px; }.brand-strip-container { padding:56px 0; }.brand-card-item { padding:23px 8px; }.brand-card-name { font-size:24px; }.brand-card-sub { font-size:7px; letter-spacing:.1em; }.brand-disclaimer { font-size:10px; margin-top:20px; }
  .experience-pillars { gap:9px; margin-top:26px; }.pillar-card { padding:23px 20px; min-height:0; }.pillar-num { font-size:28px; margin-bottom:9px; }.pillar-card h3 { font-size:14px; margin-bottom:5px; }.pillar-card p { font-size:12px; }
  .site-footer { padding:55px 0 21px; }.footer-bottom { display:block; font-size:9px; line-height:1.55; }.footer-bottom div + div { margin-top:9px; }
}
