/* =====================================================================
   SANTO PECADO — Sistema visual
   Negro #080808 · Negro 2 #111111 · Oro #C5A15A · Oro claro #E4C989
   Rojo #701B24 · Blanco #F4F1EB
   ===================================================================== */
:root {
  --black: #080808;
  --black-2: #111111;
  --black-3: #171615;
  --black-4: #1f1d1a;
  --gold: #C5A15A;
  --gold-light: #E4C989;
  --gold-dark: #8a6d36;
  --red: #701B24;
  --red-bright: #9b2633;
  --white: #F4F1EB;
  --muted: #9b958a;
  --muted-2: #6f6a61;
  --line: rgba(197, 161, 90, .16);
  --line-strong: rgba(197, 161, 90, .38);
  --success: #6fbf73;
  --warning: #e0b04f;
  --danger: #e2646f;
  --info: #7fa7d9;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .85), 0 2px 0 rgba(255, 255, 255, .02) inset;
  --shadow-gold: 0 18px 50px -20px rgba(197, 161, 90, .45);
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gold-metal: linear-gradient(135deg, #f6e4b0 0%, #C5A15A 38%, #8a6d36 62%, #E4C989 100%);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 400 15px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
body::before { /* grano de textura */
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: var(--gold-light); text-decoration: none; transition: color .2s; }
a:hover { color: var(--white); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: .04em; line-height: 1.15; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; position: relative; z-index: 1; }
.container--narrow { width: min(880px, 100% - 32px); }
.site-main { flex: 1; position: relative; z-index: 1; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.gold { color: var(--gold-light); }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--black); padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.ico { width: 18px; height: 18px; stroke-width: 1.6; flex-shrink: 0; vertical-align: -3px; }
.ico--sm { width: 15px; height: 15px; }
.ico--lg { width: 26px; height: 26px; }
.text-metal { background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------ Botones */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.7em;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  font: 600 13px/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn--gold { background: var(--gold-metal); background-size: 180% 180%; color: #140f07; box-shadow: var(--shadow-gold); }
.btn--gold:hover { color: #140f07; background-position: 100% 0; box-shadow: 0 22px 60px -18px rgba(228, 201, 137, .6); }
.btn--gold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--outline { border-color: var(--line-strong); color: var(--gold-light); }
.btn--outline:hover { border-color: var(--gold); color: var(--white); background: rgba(197, 161, 90, .08); }
.btn--red { background: linear-gradient(135deg, var(--red-bright), var(--red)); color: var(--white); box-shadow: 0 18px 50px -22px rgba(155, 38, 51, .9); }
.btn--red:hover { color: var(--white); }
.btn--ghost { color: var(--white); border-color: rgba(244, 241, 235, .14); }
.btn--ghost:hover { border-color: var(--line-strong); color: var(--gold-light); }
.btn--danger { color: var(--danger); border-color: rgba(226, 100, 111, .35); }
.btn--danger:hover { background: rgba(226, 100, 111, .1); color: #ff9aa3; }
.btn--sm { padding: .7em 1.15em; font-size: 11.5px; }
.btn--xs { padding: .5em .85em; font-size: 10.5px; letter-spacing: .1em; }
.btn--lg { padding: 1.15em 2.2em; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold-light); cursor: pointer; }
.link-btn:hover { color: var(--white); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; height: 44px; padding: 0 10px;
  border-radius: 999px; border: 1px solid var(--line);
  background: rgba(17, 17, 17, .6); color: var(--white); cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
  position: relative;
}
.icon-btn:hover { border-color: var(--line-strong); color: var(--gold-light); }

/* ------------------------------------------------------------ Marca */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand__emblem { position: relative; width: 74px; height: 38px; display: inline-block; }
.brand__wing { position: absolute; top: 2px; width: 34px; height: 28px; }
.brand__wing--l { left: 0; }
.brand__wing--r { right: 0; transform: scaleX(-1); }
.brand__cross { position: absolute; left: 50%; top: 0; width: 18px; height: 34px; transform: translateX(-50%); filter: drop-shadow(0 0 8px rgba(197, 161, 90, .55)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 800; letter-spacing: .22em; font-size: 17px; text-transform: uppercase; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand__sub { font-size: 9.5px; letter-spacing: .55em; color: var(--muted); text-transform: uppercase; margin-top: 6px; }
.brand__img { max-height: 46px; width: auto; }
.brand--lg .brand__emblem { width: 110px; height: 56px; }
.brand--lg .brand__wing { width: 50px; height: 42px; }
.brand--lg .brand__cross { width: 26px; height: 50px; }
.brand--lg .brand__name { font-size: 24px; }

/* ------------------------------------------------------------ Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
/* El desenfoque va en un pseudo-elemento: backdrop-filter en el header convertiría al menú móvil (position: fixed) en hijo recortado */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(8, 8, 8, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); transition: background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-scrolled::before { background: rgba(8, 8, 8, .9); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  color: rgba(244, 241, 235, .78); font-size: 13.5px; font-weight: 500; letter-spacing: .03em;
}
.main-nav__link:hover, .main-nav__link.is-active { color: var(--gold-light); }
.main-nav__link.is-active { background: rgba(197, 161, 90, .08); }
.main-nav__mobile-account { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.account-btn__name { font-size: 13px; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-btn__count {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--red-bright); color: var(--white);
  border-radius: 999px; font-size: 11px; font-weight: 700;
  box-shadow: 0 0 0 2px var(--black);
}
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.18); } }
.nav-toggle { display: none; }
.avatar { border-radius: 50%; object-fit: cover; }
.avatar--sm { width: 26px; height: 26px; }
.avatar--lg { width: 72px; height: 72px; border: 2px solid var(--line-strong); }

/* Dropdowns */
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); left: 50%;
  min-width: 290px; padding: 8px;
  background: rgba(17, 17, 17, .98);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  z-index: 60;
}
.drop--right { left: auto; right: 0; transform: translateY(8px); min-width: 220px; }
.has-drop:hover > .drop, .has-drop.is-open > .drop, .has-drop:focus-within > .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-drop:hover > .drop--right, .has-drop.is-open > .drop--right, .has-drop:focus-within > .drop--right { transform: translateY(0); }
.drop::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.drop__item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 12px; border-radius: 10px; color: var(--white);
  background: none; border: 0; text-align: left; cursor: pointer; font-size: 14px;
}
.drop__item .ico { color: var(--gold); }
.drop__item small { display: block; color: var(--muted); font-size: 12px; }
.drop__item strong { font-weight: 500; }
.drop__item:hover { background: rgba(197, 161, 90, .08); color: var(--gold-light); }
.drop__item--gold { color: var(--gold-light); }
.drop__all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; padding: 10px; border-top: 1px solid var(--line); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }

/* ------------------------------------------------------------ Alertas */
.flash-stack { display: grid; gap: 10px; margin-top: 18px; }
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; border-radius: 12px;
  background: var(--black-2); border: 1px solid var(--line);
  font-size: 14px;
  animation: slideIn .4s var(--ease);
}
.alert > span { flex: 1; }
.alert--success { border-color: rgba(111, 191, 115, .4); } .alert--success > .ico { color: var(--success); }
.alert--error { border-color: rgba(226, 100, 111, .45); background: linear-gradient(90deg, rgba(112, 27, 36, .25), var(--black-2)); } .alert--error > .ico { color: var(--danger); }
.alert--warning { border-color: rgba(224, 176, 79, .4); } .alert--warning > .ico { color: var(--warning); }
.alert--info > .ico { color: var(--info); }
.alert__close { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 0; }
.alert__close:hover { color: var(--white); }
@keyframes slideIn { from { opacity: 0; transform: translateY(-6px); } }
.notice { padding: 14px 18px; border-radius: 12px; border: 1px dashed var(--line-strong); background: rgba(197, 161, 90, .05); font-size: 14px; display: flex; gap: 12px; align-items: flex-start; }
.notice .ico { color: var(--gold); margin-top: 2px; }
.notice--red { border-color: rgba(155, 38, 51, .6); background: rgba(112, 27, 36, .14); }
.notice--red .ico { color: var(--danger); }

/* Toasts */
.toast-stack { position: fixed; bottom: 20px; right: 20px; z-index: 200; display: grid; gap: 10px; width: min(380px, calc(100% - 40px)); }
.toast { display: flex; gap: 12px; align-items: center; padding: 14px 16px; background: rgba(17, 17, 17, .97); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: var(--shadow); font-size: 14px; animation: toastIn .4s var(--ease); }
.toast.is-error { border-color: rgba(226, 100, 111, .6); }
.toast .ico { color: var(--gold); }
.toast.is-error .ico { color: var(--danger); }
.toast a { margin-left: auto; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(.97); } }

/* ------------------------------------------------------------ Secciones */
.section { padding: 96px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(17, 17, 17, .8) 15%, rgba(17, 17, 17, .8) 85%, transparent); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head--left { text-align: left; margin-left: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; flex-wrap: wrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-weight: 600; }
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.eyebrow::after { transform: scaleX(-1); }
.section-head--left .eyebrow::before { display: none; }
.section-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 16px; margin: 0; }
.ornament { width: 240px; height: 20px; color: var(--gold); opacity: .7; display: block; margin: 0 auto; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); border: 0; margin: 28px 0; }

.page-hero { padding: 64px 0 40px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -40% 10% auto; height: 420px; background: radial-gradient(closest-side, rgba(197, 161, 90, .14), transparent); pointer-events: none; }
.page-hero h1 { font-size: clamp(30px, 5vw, 52px); }
.page-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; letter-spacing: .06em; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold-light); }
.breadcrumbs span[aria-current] { color: var(--gold-light); }

/* ------------------------------------------------------------ HERO */
.hero {
  position: relative; overflow: hidden;
  min-height: min(880px, calc(100vh - var(--header-h)));
  display: grid; place-items: center;
  padding: 80px 0 140px;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__norte, .hero__santos { position: absolute; top: 0; bottom: 0; width: 55%; }
.hero__norte { left: 0; background: radial-gradient(ellipse 80% 70% at 20% 60%, rgba(112, 27, 36, .55), transparent 70%), linear-gradient(90deg, rgba(60, 12, 18, .5), transparent); }
.hero__santos { right: 0; background: radial-gradient(ellipse 80% 70% at 80% 55%, rgba(197, 161, 90, .25), transparent 70%), linear-gradient(270deg, rgba(40, 32, 16, .55), transparent); }
.hero__beam { position: absolute; left: 50%; top: -10%; width: 2px; height: 120%; background: linear-gradient(180deg, transparent, rgba(228, 201, 137, .55), transparent); transform: translateX(-50%); box-shadow: 0 0 60px 18px rgba(228, 201, 137, .12); }
.hero__rosary { position: absolute; left: 50%; top: 50%; width: min(760px, 120vw); height: min(760px, 120vw); transform: translate(-50%, -55%); opacity: .22; animation: spin 140s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -55%) rotate(360deg); } }
.hero__skyline { position: absolute; bottom: 0; height: 220px; width: 50%; z-index: -1; }
.hero__skyline--norte { left: 0; color: #1a0a0d; }
.hero__skyline--santos { right: 0; color: #15120c; }
.hero__skyline svg { width: 100%; height: 100%; }
.hero__fade { position: absolute; inset: auto 0 0; height: 220px; background: linear-gradient(transparent, var(--black)); z-index: -1; }
.hero__inner { text-align: center; position: relative; }
.hero__wings { position: relative; width: min(600px, 100%); height: 210px; margin: 0 auto -40px; }
.hero__wing { position: absolute; top: 0; width: 48%; height: 100%; filter: drop-shadow(0 0 22px rgba(197, 161, 90, .25)); animation: wingL 7s ease-in-out infinite; transform-origin: 100% 70%; }
.hero__wing--l { left: 0; }
.hero__wing--r { right: 0; transform: scaleX(-1); animation-name: wingR; transform-origin: 50% 70%; }
@keyframes wingL { 50% { transform: rotate(-2.5deg) translateY(-4px); } }
@keyframes wingR { 0%, 100% { transform: scaleX(-1); } 50% { transform: scaleX(-1) rotate(-2.5deg) translateY(-4px); } }
.hero__cross { position: absolute; left: 50%; top: 10px; width: 60px; height: 96px; transform: translateX(-50%); filter: drop-shadow(0 0 24px rgba(228, 201, 137, .6)); }
.hero__halo { position: absolute; left: 50%; top: -14px; width: 110px; height: 34px; transform: translateX(-50%); opacity: .85; animation: halo 5s ease-in-out infinite; }
@keyframes halo { 50% { opacity: .45; transform: translateX(-50%) translateY(-3px); } }
.hero__brand { font-family: var(--font-display); font-weight: 800; font-size: clamp(16px, 2.2vw, 20px); letter-spacing: .7em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; padding-left: .7em; }
.hero__title { font-size: clamp(42px, 8.5vw, 104px); line-height: .98; letter-spacing: .06em; margin-bottom: 22px; text-shadow: 0 10px 60px rgba(0, 0, 0, .8); }
.hero__title .text-metal { display: inline-block; filter: drop-shadow(0 4px 30px rgba(197, 161, 90, .35)); }
.hero__subtitle { font-family: var(--font-serif); font-style: italic; font-size: clamp(19px, 2.4vw, 26px); color: rgba(244, 241, 235, .82); margin-bottom: 38px; }
.hero__actions { justify-content: center; }
.hero__worlds { display: flex; justify-content: center; gap: 22px; margin-top: 56px; font-size: 11px; letter-spacing: .45em; text-transform: uppercase; color: var(--muted); }
.hero__worlds span { display: inline-flex; align-items: center; gap: 10px; }
.hero__worlds .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--red { background: var(--red-bright); box-shadow: 0 0 14px var(--red-bright); }
.dot--gold { background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.hero__scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 10px; letter-spacing: .4em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__scroll::after { content: ""; width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ------------------------------------------------------------ Tarjetas de categoría */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative; overflow: hidden;
  padding: 30px 28px 26px; min-height: 220px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--black-3), var(--black-2) 60%);
  display: flex; flex-direction: column; color: var(--white);
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.cat-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, var(--cat-glow, rgba(197, 161, 90, .16)), transparent 55%); opacity: .7; transition: opacity .4s; }
.cat-card[data-world="norte"] { --cat-glow: rgba(155, 38, 51, .35); }
.cat-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow); color: var(--white); }
.cat-card:hover::before { opacity: 1; }
.cat-card__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-strong); background: rgba(8, 8, 8, .5); color: var(--gold-light); margin-bottom: auto; position: relative; }
.cat-card__icon .ico { width: 24px; height: 24px; }
.cat-card h3 { font-size: 20px; margin: 26px 0 8px; position: relative; }
.cat-card p { color: var(--muted); font-size: 14px; margin: 0 0 16px; position: relative; }
.cat-card__foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); position: relative; }
.cat-card__foot .ico { transition: transform .3s var(--ease); }
.cat-card:hover .cat-card__foot .ico { transform: translateX(5px); }
.cat-card__world { position: absolute; top: 22px; right: 22px; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-2); }

/* ------------------------------------------------------------ Tarjetas de producto */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.product-card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  background: var(--black-2); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow), 0 0 0 1px var(--line-strong); border-color: transparent; }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--black-3); display: block; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.92); }
.product-card:hover .product-card__media img { transform: scale(1.06); filter: saturate(1.05); }
.product-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(17, 17, 17, .95)); }
.product-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.product-card__body { padding: 4px 20px 20px; display: flex; flex-direction: column; flex: 1; position: relative; }
.product-card__cat { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.product-card__name { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: .04em; color: var(--white); margin: 0 0 8px; line-height: 1.25; }
.product-card__name a { color: inherit; }
.product-card__name a:hover { color: var(--gold-light); }
.product-card__desc { color: var(--muted); font-size: 13.5px; margin: 0 0 18px; flex: 1; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price__now { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--gold-light); letter-spacing: .02em; }
.price__old { font-size: 12.5px; color: var(--muted-2); text-decoration: line-through; }
.price--lg .price__now { font-size: 34px; }
.price--lg .price__old { font-size: 16px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: rgba(8, 8, 8, .78); border: 1px solid var(--line-strong); color: var(--gold-light); backdrop-filter: blur(6px); }
.badge--red { background: rgba(112, 27, 36, .92); border-color: rgba(226, 100, 111, .5); color: var(--white); }
.badge--gold { background: var(--gold-metal); color: #140f07; border-color: transparent; }
.badge--demo { background: rgba(127, 167, 217, .15); border-color: rgba(127, 167, 217, .5); color: #b8d0ee; }
.badge--muted { color: var(--muted); border-color: rgba(244, 241, 235, .15); }

/* ------------------------------------------------------------ Paquetes exclusivos */
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pack {
  position: relative; border-radius: 20px; padding: 2px; background: linear-gradient(160deg, var(--line-strong), transparent 40%, transparent 60%, rgba(155, 38, 51, .5));
  transition: transform .4s var(--ease);
}
.pack:hover { transform: translateY(-8px); }
.pack__inner { height: 100%; border-radius: 18px; background: radial-gradient(circle at 50% 0%, rgba(197, 161, 90, .12), transparent 60%), var(--black-2); padding: 34px 28px 28px; display: flex; flex-direction: column; text-align: center; }
.pack__icon { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-strong); }
.pack__icon img { width: 100%; height: 100%; object-fit: cover; }
.pack h3 { font-size: 22px; margin-bottom: 6px; }
.pack ul { list-style: none; padding: 0; margin: 18px 0 24px; text-align: left; display: grid; gap: 10px; font-size: 14px; color: rgba(244, 241, 235, .85); flex: 1; }
.pack li { display: flex; gap: 10px; }
.pack li .ico { color: var(--gold); margin-top: 3px; }
.pack .price { align-items: center; margin-bottom: 20px; }
.pack--center { background: linear-gradient(160deg, var(--gold), transparent 45%, transparent 55%, var(--gold-dark)); }

/* ------------------------------------------------------------ Beneficios */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.benefit { background: var(--black); padding: 34px 28px; transition: background .3s; }
.benefit:hover { background: var(--black-2); }
.benefit .ico { width: 30px; height: 30px; color: var(--gold); margin-bottom: 18px; }
.benefit h3 { font-size: 16px; margin-bottom: 8px; letter-spacing: .08em; }
.benefit p { color: var(--muted); font-size: 14px; margin: 0; }

/* ------------------------------------------------------------ Dos mundos */
.worlds { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); position: relative; }
.world { position: relative; padding: 64px 52px; min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.world::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform 1.2s var(--ease); }
.world:hover::before { transform: scale(1.05); }
.world--norte::before { background: radial-gradient(circle at 30% 20%, rgba(155, 38, 51, .55), transparent 60%), linear-gradient(200deg, #2a0b10, #0c0506 70%); }
.world--santos::before { background: radial-gradient(circle at 70% 20%, rgba(197, 161, 90, .35), transparent 60%), linear-gradient(160deg, #1f1a10, #080808 70%); }
.world__art { position: absolute; inset: 0; z-index: -1; opacity: .9; }
.world__art svg { position: absolute; bottom: 0; width: 100%; height: 70%; }
.world__label { font-size: 11px; letter-spacing: .5em; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.world--norte .world__label { color: #ff8f99; }
.world--santos .world__label { color: var(--gold); }
.world h3 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 14px; }
.world--norte h3 { color: #f6dcdc; text-shadow: 0 0 40px rgba(155, 38, 51, .7); }
.world p { color: rgba(244, 241, 235, .75); max-width: 420px; }
.world__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 26px; }
.world__tags span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(244, 241, 235, .14); background: rgba(8, 8, 8, .35); }
.world--norte .world__tags span { border-color: rgba(226, 100, 111, .35); }
.worlds__seal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 50%; background: var(--black); border: 1px solid var(--line-strong); display: grid; place-items: center; z-index: 2; box-shadow: 0 0 0 10px rgba(8, 8, 8, .6), 0 0 60px rgba(197, 161, 90, .25); }
.worlds__seal svg { width: 30px; height: 48px; }

/* ------------------------------------------------------------ FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq { border: 1px solid var(--line); border-radius: 12px; background: var(--black-2); transition: border-color .3s, background .3s; }
.faq[open] { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(197, 161, 90, .05), var(--black-2)); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 500; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--gold); transition: transform .3s var(--ease); }
.faq[open] summary .ico { transform: rotate(45deg); }
.faq__body { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 20px; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.faq-group h2 .ico { color: var(--gold); }

/* ------------------------------------------------------------ Discord CTA */
.discord-cta { position: relative; overflow: hidden; border-radius: 24px; padding: 64px; border: 1px solid var(--line-strong); background: radial-gradient(circle at 15% 50%, rgba(88, 101, 242, .22), transparent 50%), radial-gradient(circle at 90% 20%, rgba(197, 161, 90, .2), transparent 50%), var(--black-2); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.discord-cta h2 { font-size: clamp(28px, 3.6vw, 42px); }
.discord-cta p { color: var(--muted); font-size: 16px; }
.discord-cta__art { position: relative; height: 220px; }
.discord-cta__art svg { position: absolute; }
.discord-cta__art .w1 { width: 46%; height: 70%; left: 0; top: 10%; }
.discord-cta__art .w2 { width: 46%; height: 70%; right: 0; top: 10%; transform: scaleX(-1); }
.discord-cta__art .c { width: 54px; height: 90px; left: 50%; top: 18%; transform: translateX(-50%); }
.discord-cta__list { display: flex; flex-wrap: wrap; gap: 18px; margin: 18px 0 28px; color: rgba(244, 241, 235, .8); font-size: 14px; }
.discord-cta__list span { display: inline-flex; gap: 8px; align-items: center; }
.discord-cta__list .ico { color: var(--gold); }

/* Banners */
.banner-strip { display: grid; gap: 18px; }
.banner { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--line-strong); min-height: 180px; display: flex; align-items: center; padding: 34px 44px; background: linear-gradient(100deg, rgba(112, 27, 36, .5), rgba(17, 17, 17, .9) 60%); isolation: isolate; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 8, .92), rgba(8, 8, 8, .3)); }
.banner h3 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 6px; }
.banner p { color: rgba(244, 241, 235, .78); margin-bottom: 16px; }

/* ------------------------------------------------------------ Tienda */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: start; padding-bottom: 96px; }
.shop-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 22px; }
.side-box { background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-box h4 { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-family: var(--font-body); font-weight: 600; }
.side-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; color: rgba(244, 241, 235, .8); font-size: 14px; }
.side-nav a .ico { color: var(--gold); width: 16px; height: 16px; }
.side-nav a:hover, .side-nav a.is-active { background: rgba(197, 161, 90, .08); color: var(--gold-light); }
.side-nav a small { margin-left: auto; color: var(--muted-2); font-size: 12px; }
.side-nav--sub a { padding-left: 36px; font-size: 13.5px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.toolbar__count { color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: rgba(244, 241, 235, .8); background: var(--black-2); }
.chip:hover, .chip.is-active { border-color: var(--gold); color: var(--gold-light); }
.empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.empty .ico { width: 40px; height: 40px; color: var(--gold); margin: 0 auto 14px; display: block; }
.empty h3 { color: var(--white); }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line); color: var(--white); font-size: 14px; }
.pagination a:hover { border-color: var(--gold); color: var(--gold-light); }
.pagination .is-current { background: var(--gold-metal); color: #140f07; border-color: transparent; font-weight: 700; }
.cat-index { display: grid; gap: 22px; padding-bottom: 96px; }
.cat-index__item { display: grid; grid-template-columns: 340px 1fr; gap: 28px; padding: 28px; border-radius: var(--radius); background: var(--black-2); border: 1px solid var(--line); }
.cat-index__item .cat-card { min-height: 100%; }
.subcat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; align-content: start; }
.subcat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); color: var(--white); font-size: 14px; background: var(--black); transition: border-color .2s, transform .2s; }
.subcat:hover { border-color: var(--line-strong); color: var(--gold-light); transform: translateY(-2px); }
.subcat .ico { color: var(--gold); }
.subcat small { margin-left: auto; color: var(--muted-2); }

/* ------------------------------------------------------------ Ficha de producto */
.product-page { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; padding: 24px 0 72px; align-items: start; }
/* min-width: 0 evita que imágenes o tablas anchas desborden las columnas de la rejilla en móvil */
.product-page > *, .shop-layout > *, .cart-layout > *, .account-layout > *, .page-layout > * { min-width: 0; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--black-2); box-shadow: var(--shadow); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.gallery__main .product-card__badges { top: 16px; left: 16px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumb { flex: 0 0 86px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; padding: 0; background: none; opacity: .6; transition: opacity .2s, border-color .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active, .gallery__thumb:hover { opacity: 1; border-color: var(--gold); }
.product-info h1 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 14px; }
.product-info__lead { font-size: 17px; color: rgba(244, 241, 235, .8); }
.product-info__price { display: flex; align-items: flex-end; gap: 18px; margin: 26px 0; padding: 22px 0; border-block: 1px solid var(--line); flex-wrap: wrap; }
.save-tag { padding: 6px 12px; border-radius: 999px; background: rgba(112, 27, 36, .6); border: 1px solid rgba(226, 100, 111, .45); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.stock-line { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.stock-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }
.stock-line.is-out .dot { background: var(--danger); box-shadow: 0 0 10px var(--danger); }
.buy-box { display: grid; gap: 12px; }
.buy-box__row { display: flex; gap: 12px; flex-wrap: wrap; }
.buy-box__row .btn { flex: 1; min-width: 180px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; height: 48px; }
.qty button { width: 42px; height: 100%; background: none; border: 0; color: var(--gold-light); cursor: pointer; font-size: 18px; }
.qty button:hover { background: rgba(197, 161, 90, .1); }
.qty input { width: 46px; height: 100%; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 38px; }
.qty--sm button { width: 34px; }
.qty--sm input { width: 36px; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.trust div { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); padding: 12px; border-radius: 10px; border: 1px solid var(--line); }
.trust .ico { color: var(--gold); }
.tabs { margin-top: 10px; }
.tabs__nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs__btn { padding: 14px 18px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); cursor: pointer; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.tabs__btn:hover { color: var(--white); }
.tabs__btn.is-active { color: var(--gold-light); border-bottom-color: var(--gold); }
.tabs__panel { padding: 24px 0; }
.tabs__panel:not(.is-active) { display: none; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ico { color: var(--gold); margin-top: 3px; }
.spec-list { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-list div { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-list div:last-child { border-bottom: 0; }
.prose { color: rgba(244, 241, 235, .84); font-size: 15.5px; }
.prose h2 { font-size: 22px; margin-top: 1.6em; color: var(--gold-light); }
.prose h3 { font-size: 17px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--white); }

/* ------------------------------------------------------------ Formularios */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 241, 235, .72); font-weight: 500; }
.field small, .hint { color: var(--muted-2); font-size: 12.5px; }
.input, .select, .textarea {
  width: 100%; padding: 13px 15px;
  background: rgba(8, 8, 8, .65); border: 1px solid rgba(244, 241, 235, .12); border-radius: 10px;
  color: var(--white); transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--line-strong); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(197, 161, 90, .13); background: rgba(8, 8, 8, .9); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.textarea--code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13.5px; min-height: 340px; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23C5A15A' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.select option { background: var(--black-2); }
.input-icon { position: relative; }
.input-icon .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.input-icon .input { padding-left: 42px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14px; color: rgba(244, 241, 235, .85); }
.check input { appearance: none; flex: 0 0 20px; width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line-strong); background: rgba(8, 8, 8, .6); cursor: pointer; display: grid; place-items: center; margin-top: 1px; transition: background .2s, border-color .2s; }
.check input:checked { background: var(--gold-metal); border-color: var(--gold); }
.check input:checked::after { content: ""; width: 6px; height: 10px; border: solid #140f07; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.check input:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

/* ------------------------------------------------------------ Paneles / tarjetas */
.panel { background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 22px; }
.panel__title { font-size: 18px; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.panel__title .ico { color: var(--gold); }
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.panel__head .panel__title { margin: 0; }

/* Auth */
.auth-wrap { min-height: calc(100vh - var(--header-h) - 120px); display: grid; place-items: center; padding: 56px 0 96px; }
.auth-card { width: min(470px, 100%); position: relative; }
.auth-card .panel { padding: 40px 36px; }
.auth-card__head { text-align: center; margin-bottom: 28px; }
.auth-card__head svg { width: 36px; height: 58px; margin: 0 auto 14px; display: block; }
.auth-card__head h1 { font-size: 28px; margin-bottom: 8px; }
.auth-card__head p { color: var(--muted); margin: 0; }
.auth-form { display: grid; gap: 18px; }
.auth-sep { display: flex; align-items: center; gap: 14px; color: var(--muted-2); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; margin: 6px 0; }
.auth-sep::before, .auth-sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.btn--discord { background: #5865F2; color: #fff; }
.btn--discord:hover { color: #fff; background: #4752c4; }
.auth-foot { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14px; }

/* Carrito / checkout */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; padding-bottom: 96px; }
.cart-items { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 20px; align-items: center; padding: 16px; background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); }
.cart-item__img { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-family: var(--font-display); font-size: 17px; color: var(--white); }
.cart-item__meta { color: var(--muted); font-size: 13px; }
.cart-item__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cart-item__total { font-family: var(--font-display); color: var(--gold-light); font-size: 18px; }
.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14.5px; color: rgba(244, 241, 235, .85); }
.summary-row--total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 18px; font-size: 16px; color: var(--white); }
.summary-row--total strong { font-family: var(--font-display); font-size: 26px; color: var(--gold-light); }
.summary-row--discount { color: var(--success); }
.coupon-form { display: flex; gap: 8px; margin: 16px 0; }
.coupon-form .input { text-transform: uppercase; }
.coupon-tag { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; border: 1px dashed rgba(111, 191, 115, .5); background: rgba(111, 191, 115, .07); font-size: 13.5px; margin: 14px 0; }
.mini-items { display: grid; gap: 12px; margin-bottom: 16px; }
.mini-item { display: flex; gap: 12px; align-items: center; font-size: 14px; }
.mini-item img { width: 52px; height: 40px; object-fit: cover; border-radius: 6px; }
.mini-item span { flex: 1; }
.pay-methods { display: grid; gap: 12px; }
.pay-method { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8, 8, 8, .5); cursor: pointer; transition: border-color .2s, background .2s; }
.pay-method:hover { border-color: var(--line-strong); }
.pay-method:has(input:checked) { border-color: var(--gold); background: rgba(197, 161, 90, .07); }
.pay-method input { accent-color: var(--gold); margin-top: 4px; }
.pay-method strong { display: block; }
.pay-method small { color: var(--muted); }
.steps { display: flex; justify-content: center; gap: 10px; margin-bottom: 34px; flex-wrap: wrap; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }
.steps span { display: inline-flex; align-items: center; gap: 8px; }
.steps span::after { content: ""; width: 34px; height: 1px; background: var(--line); margin-left: 8px; }
.steps span:last-child::after { display: none; }
.steps b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 600; }
.steps .is-done b, .steps .is-current b { background: var(--gold-metal); color: #140f07; border-color: transparent; }
.steps .is-current { color: var(--gold-light); }

/* Cuenta */
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 32px; align-items: start; padding: 20px 0 96px; }
.account-nav { position: sticky; top: calc(var(--header-h) + 20px); background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.account-nav__user { display: flex; align-items: center; gap: 12px; padding: 8px 8px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.account-nav__user .avatar-ph { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-metal); color: #140f07; font-weight: 700; font-family: var(--font-display); }
.account-nav__user strong { display: block; }
.account-nav__user small { color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: radial-gradient(rgba(197, 161, 90, .14), transparent 70%); }
.stat__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stat__label .ico { color: var(--gold); width: 16px; height: 16px; }
.stat__value { font-family: var(--font-display); font-size: 28px; font-weight: 700; margin-top: 8px; color: var(--white); }
.stat__hint { font-size: 12.5px; color: var(--muted-2); }
.stat--red::after { background: radial-gradient(rgba(155, 38, 51, .3), transparent 70%); }
.id-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(8, 8, 8, .5); }
.id-card + .id-card { margin-top: 12px; }
.id-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(197, 161, 90, .1); color: var(--gold); }
.id-card__icon--discord { background: rgba(88, 101, 242, .18); color: #9aa3ff; }
.id-card small { color: var(--muted); display: block; }
.code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; word-break: break-all; color: var(--gold-light); }

/* Tablas */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--black-2); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.table th { text-align: left; font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(8, 8, 8, .4); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid rgba(197, 161, 90, .08); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background .2s; }
.table tbody tr:hover { background: rgba(197, 161, 90, .04); }
.table .num { text-align: right; white-space: nowrap; }
.table .actions { text-align: right; white-space: nowrap; }
.table .actions > * { display: inline-flex; vertical-align: middle; margin-left: 6px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; white-space: nowrap; border: 1px solid; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--pending_payment { color: var(--warning); border-color: rgba(224, 176, 79, .35); background: rgba(224, 176, 79, .08); }
.status--paid { color: #8fd694; border-color: rgba(111, 191, 115, .35); background: rgba(111, 191, 115, .08); }
.status--pending_delivery { color: var(--info); border-color: rgba(127, 167, 217, .35); background: rgba(127, 167, 217, .08); }
.status--processing { color: #c6a3ff; border-color: rgba(198, 163, 255, .35); background: rgba(198, 163, 255, .08); }
.status--delivered { color: var(--gold-light); border-color: var(--line-strong); background: rgba(197, 161, 90, .1); }
.status--cancelled { color: var(--muted); border-color: rgba(244, 241, 235, .15); }
.status--refunded { color: var(--danger); border-color: rgba(226, 100, 111, .35); background: rgba(226, 100, 111, .07); }
.status--pending, .status--open { color: var(--warning); border-color: rgba(224, 176, 79, .35); }
.status--failed { color: var(--danger); border-color: rgba(226, 100, 111, .35); }
.status--answered { color: var(--info); border-color: rgba(127, 167, 217, .35); }
.status--closed { color: var(--muted); border-color: rgba(244, 241, 235, .15); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--line-strong); }
.timeline li { position: relative; padding: 0 0 20px 32px; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 13px; height: 13px; border-radius: 50%; background: var(--black); border: 2px solid var(--gold); }
.timeline li.is-internal::before { border-color: var(--red-bright); }
.timeline time { display: block; color: var(--muted-2); font-size: 12px; }

/* Progreso de pedido */
.progress-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 10px 0 28px; }
.progress-steps div { text-align: center; position: relative; font-size: 12px; color: var(--muted-2); letter-spacing: .06em; }
.progress-steps div::before { content: ""; position: absolute; top: 14px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.progress-steps div:first-child::before { display: none; }
.progress-steps b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 8px; background: var(--black); border: 1px solid var(--line); position: relative; z-index: 1; }
.progress-steps .is-done { color: var(--gold-light); }
.progress-steps .is-done b { background: var(--gold-metal); color: #140f07; border-color: transparent; }
.progress-steps .is-done::before { background: var(--gold); }

/* Tickets */
.messages { display: grid; gap: 14px; }
.msg { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--black-2); max-width: 88%; }
.msg--staff { margin-left: auto; border-color: var(--line-strong); background: linear-gradient(160deg, rgba(197, 161, 90, .09), var(--black-2)); }
.msg__head { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.msg__head strong { color: var(--gold-light); }
.msg__body { white-space: pre-wrap; word-wrap: break-word; font-size: 14.5px; }

/* Help */
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.help-card { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--black-2); color: var(--white); transition: border-color .3s, transform .3s var(--ease); }
.help-card:hover { border-color: var(--line-strong); transform: translateY(-4px); color: var(--white); }
.help-card .ico { width: 26px; height: 26px; color: var(--gold); }
.help-card h3 { font-size: 16px; margin-bottom: 4px; }
.help-card p { color: var(--muted); font-size: 13.5px; margin: 0; }
.page-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; padding-bottom: 96px; align-items: start; }

/* Footer */
.site-footer { position: relative; margin-top: auto; padding: 80px 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--black), #050505); overflow: hidden; z-index: 1; }
.site-footer__glow { position: absolute; left: 50%; top: -200px; width: 800px; height: 400px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(197, 161, 90, .1), transparent); pointer-events: none; }
.footer-quote { text-align: center; margin-bottom: 56px; }
.footer-quote p { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 2.6vw, 28px); color: var(--gold-light); margin: 18px auto 0; max-width: 760px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-family: var(--font-body); font-weight: 600; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: rgba(244, 241, 235, .7); font-size: 14px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col--brand p { margin-top: 18px; font-size: 14px; max-width: 340px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.social { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold-light) !important; }
.social:hover { border-color: var(--gold); background: rgba(197, 161, 90, .1); }
.footer-mail { margin-top: 18px; font-size: 14px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: rgba(244, 241, 235, .6); }
.footer-bottom .muted { max-width: 640px; }

/* Minimal layout (instalador, errores) */
.body--minimal { background: radial-gradient(ellipse at 50% 0%, rgba(197, 161, 90, .12), transparent 50%), radial-gradient(ellipse at 0% 100%, rgba(112, 27, 36, .25), transparent 50%), var(--black); }
.minimal-main { width: min(760px, 100% - 32px); margin: 0 auto; padding: 56px 0 80px; position: relative; z-index: 1; }
.minimal-brand { display: flex; justify-content: center; margin-bottom: 36px; }
.error-page { text-align: center; padding: 40px 0; }
.error-page__code { font-family: var(--font-display); font-size: clamp(80px, 16vw, 160px); line-height: 1; margin-bottom: 10px; }
.req-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.req-list li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.req-list .ok { color: var(--success); }
.req-list .bad { color: var(--danger); }
.req-list .warn { color: var(--warning); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .4s; }
.reveal-stagger.is-visible > *:nth-child(n+7) { transition-delay: .46s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ Responsive */
@media (max-width: 1100px) {
  .main-nav__link { padding: 10px 10px; font-size: 13px; }
  .header-login { display: none; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .account-btn__name { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: rgba(8, 8, 8, .98); backdrop-filter: blur(10px);
    padding: 20px 16px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav__link { padding: 16px; font-size: 17px; border-radius: 12px; justify-content: space-between; font-family: var(--font-display); letter-spacing: .08em; }
  .main-nav__mobile-account { display: block; margin-top: 20px; }
  .has-drop .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; margin: 4px 0 8px; min-width: 0; }
  .has-drop.is-open .drop { display: block; transform: none; }
  .has-drop:hover > .drop:not(.drop--right) { transform: none; }
  .account-drop .drop { position: absolute; display: block; opacity: 0; visibility: hidden; }
  .account-drop.is-open .drop { opacity: 1; visibility: visible; }
  .cat-grid, .pack-grid { grid-template-columns: 1fr 1fr; }
  .worlds { grid-template-columns: 1fr; }
  .worlds__seal { top: 50%; }
  .discord-cta { grid-template-columns: 1fr; padding: 44px 32px; }
  .discord-cta__art { display: none; }
  .shop-layout, .cart-layout, .account-layout, .page-layout { grid-template-columns: 1fr; }
  .shop-side, .summary, .account-nav, .gallery { position: static; }
  .shop-side { grid-template-columns: 1fr; }
  .product-page { grid-template-columns: 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-index__item { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .section { padding: 68px 0; }
  .brand__emblem { width: 56px; height: 30px; }
  .brand__wing { width: 26px; height: 22px; }
  .brand__cross { width: 14px; height: 28px; }
  .brand__name { font-size: 14px; letter-spacing: .16em; }
  .brand__sub { letter-spacing: .4em; font-size: 8.5px; }
  .header-actions { gap: 6px; }
  .icon-btn { min-width: 40px; height: 40px; }
  .hero { padding: 40px 0 120px; min-height: auto; }
  .hero__wings { height: 130px; margin-bottom: -20px; }
  .hero__cross { width: 40px; height: 64px; }
  .hero__halo { width: 74px; top: -12px; }
  .hero__brand { letter-spacing: .4em; font-size: 13px; }
  .hero__worlds { flex-direction: column; align-items: center; gap: 10px; margin-top: 40px; }
  .hero__actions .btn { width: 100%; }
  .hero__skyline { height: 120px; }
  .cat-grid, .pack-grid, .benefits, .form-grid, .form-grid--3, .trust { grid-template-columns: 1fr; }
  .world { padding: 44px 26px; min-height: 400px; }
  .worlds__seal { width: 70px; height: 70px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card__body { padding: 2px 12px 14px; }
  .product-card__name { font-size: 15px; }
  .product-card__desc { display: none; }
  .product-card__foot { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 12px; }
  .product-card__foot .btn { width: 100%; }
  .price__now { font-size: 16px; }
  .cart-item { grid-template-columns: 80px 1fr; }
  .cart-item__actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .panel { padding: 22px 18px; }
  .auth-card .panel { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { padding: 16px; }
  .stat__value { font-size: 22px; }
  .id-card { grid-template-columns: auto 1fr; }
  .id-card > :last-child { grid-column: 1 / -1; }
  .msg { max-width: 100%; }
  .banner { padding: 26px 22px; }
  .progress-steps div { font-size: 10.5px; }
  .discord-cta { padding: 36px 22px; }
  .toast-stack { right: 12px; left: 12px; width: auto; bottom: 12px; }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
}
