/* VAULT TCG: tienda. Paleta acero + latón; display industrial condensado. */
:root {
  --accent: #C9962E; --accent-tl: #8A6416; --accent-td: #D9A93E; --on-accent: #1B2430;
  --font-display: "Big Shoulders", "Arial Narrow", "Liberation Sans Narrow", "Roboto Condensed", sans-serif;
  --font-stencil: "Big Shoulders Stencil", var(--font-display);
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-sm: 4px; --r: 6px; --r-lg: 10px;
  --wrap: 1360px;
}
:root, :root[data-theme="light"] {
  color-scheme: light;
  --bg: #EDEFF2; --panel: #FFFFFF; --panel-2: #F5F6F8; --ink: #1B2430; --muted: #5B6573; --line: #D5DAE0; --line-2: #E6E9ED;
  --brass: var(--accent); --brass-ink: var(--accent-tl); --sale: #C2362F; --stock: #2F7D4F; --warn: #9A5B00;
  --bar: #1B2430; --on-bar: #E9ECEF; --tint: #FBF6EA; --shadow: 0 12px 40px rgba(27, 36, 48, .18);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #12161C; --panel: #1A2029; --panel-2: #20272F; --ink: #E6E9EE; --muted: #9AA4B2; --line: #2E3744; --line-2: #262E39;
  --brass: var(--accent); --brass-ink: var(--accent-td); --sale: #EE6B62; --stock: #57B985; --warn: #E2A33A;
  --bar: #0C0F13; --on-bar: #D7DCE3; --tint: #252117; --shadow: 0 12px 40px rgba(0, 0, 0, .5);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font-body); font-variant-numeric: tabular-nums; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--panel); padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.loading { padding: 80px 24px; color: var(--muted); }
.empty { color: var(--muted); padding: 18px 0; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: var(--r);
  border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--ink); }
.btn-primary { background: var(--brass); border-color: var(--brass); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.06); border-color: var(--brass); }
.btn-block { width: 100%; }
.btn-lg { min-height: 50px; font-size: 16px; padding: 0 26px; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; }
.link-btn:hover { color: var(--ink); }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r); border: 1px solid transparent; background: none; cursor: pointer; color: var(--ink); }
.icon-btn:hover { border-color: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }

/* Anuncio y cabecera */
.announce { background: var(--bar); color: var(--on-bar); text-align: center; font-size: 13px; padding: 8px 16px; }
.announce a { text-decoration: none; }
.announce a:hover { text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--panel); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; color: var(--brass); }
.logo-word { font-family: var(--font-stencil); font-weight: 800; font-size: 30px; letter-spacing: .04em; line-height: 1; }
.logo-word span { font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; vertical-align: 5px; border: 1.5px solid currentColor; padding: 1px 5px 0; border-radius: 3px; margin-left: 2px; }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14px; color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-color: var(--brass); }
.search { flex: 1; max-width: 380px; margin-left: auto; position: relative; }
.search svg { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }
.search input { width: 100%; height: 40px; border-radius: var(--r); border: 1px solid var(--line); background: var(--panel-2); padding: 0 12px 0 38px; }
.search input:focus { background: var(--panel); }
.header-actions { display: flex; align-items: center; gap: 4px; }
:root[data-theme="dark"] .i-moon, :root:not([data-theme="dark"]) .i-sun { display: none; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 10px; border-radius: var(--r); border: 1px solid var(--ink); background: var(--ink); color: var(--panel); font-weight: 600; cursor: pointer; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { min-width: 22px; height: 22px; border-radius: 11px; background: var(--brass); color: var(--on-accent); font-size: 12px; font-weight: 700; display: grid; place-items: center; padding: 0 6px; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.3); } }

/* Carrusel */
.hero { margin-top: 20px; position: relative; }
.hero-viewport { overflow: hidden; border-radius: var(--r-lg); background: var(--bar); }
.hero-track { display: flex; transition: transform .55s cubic-bezier(.2, .7, .2, 1); touch-action: pan-y; }
.slide { flex: 0 0 100%; position: relative; aspect-ratio: 1440 / 450; min-height: 260px; }
.slide-link { display: block; height: 100%; color: #fff; text-decoration: none; position: relative; }
.slide picture, .slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px;
  padding: 0 clamp(24px, 6vw, 88px); max-width: 720px; background: linear-gradient(90deg, rgba(14, 18, 24, .72), rgba(14, 18, 24, 0)); max-width: none; }
.slide-title { font-family: var(--font-stencil); font-size: clamp(34px, 5vw, 68px); line-height: .95; max-width: 12ch; letter-spacing: .01em; }
.slide-copy p { font-size: clamp(15px, 1.4vw, 18px); max-width: 42ch; color: #E3E7EC; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #1B2430; cursor: pointer; display: grid; place-items: center; }
.hero-nav svg { width: 22px; height: 22px; }
.hero-nav.prev { left: 36px; } .hero-nav.next { right: 36px; }
.hero-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dot { width: 28px; height: 4px; border-radius: 2px; border: 0; background: rgba(255, 255, 255, .45); cursor: pointer; padding: 0; }
.dot[aria-current="true"] { background: var(--brass); }

/* Bloques promo */
.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 12px; }
.promo { display: grid; gap: 4px; padding: 16px 18px 16px 20px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--brass); border-radius: var(--r); text-decoration: none; }
.promo:hover { border-color: var(--ink); border-left-color: var(--brass); }
.promo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 8px; }
.promo-title { font-family: var(--font-display); font-weight: 800; font-size: 21px; line-height: 1.1; }
.promo-text { color: var(--muted); font-size: 14px; }
.promo-cta { font-weight: 600; font-size: 14px; color: var(--brass-ink); margin-top: 4px; text-decoration: underline; text-underline-offset: 3px; }

/* Pedido rápido */
.qo { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; margin-top: 40px; align-items: start; }
.qo-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; margin-bottom: 16px; }
.qo-title { font-family: var(--font-stencil); font-size: clamp(36px, 4vw, 52px); }
.qo-intro { color: var(--muted); max-width: 60ch; }
.qo-tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.qo-tab { flex-shrink: 0; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px 8px; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--muted); cursor: pointer; }
.qo-tab:hover { color: var(--ink); }
.qo-tab[aria-selected="true"] { color: var(--ink); border-color: var(--brass); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 0; }
.toolbar .tb-search { flex: 1 1 220px; }
.toolbar input[type="search"], .toolbar select, .fl select, .fl input { height: 38px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 0 10px; }
.toolbar input[type="search"] { width: 100%; }
.chk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.chk input { width: 18px; height: 18px; accent-color: var(--brass); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.seg button { border: 0; background: var(--panel); padding: 0 12px; height: 36px; cursor: pointer; font-size: 14px; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--panel); }
.tab-intro { background: var(--tint); border-left: 3px solid var(--brass); padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; margin-bottom: 4px; }
.qo-section { margin-top: 18px; }
.qo-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 8px; }
.qo-section-head h3 { font-size: 26px; }
.qo-count { color: var(--muted); font-size: 13px; }
.qo-note { color: var(--muted); font-size: 14px; margin: -2px 0 10px; max-width: 75ch; }

.ptable-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ptable { width: 100%; border-collapse: collapse; }
.ptable thead th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); background: var(--panel-2); padding: 8px 14px; border-bottom: 1px solid var(--line); }
.ptable tbody tr + tr > * { border-top: 1px solid var(--line-2); }
.ptable .pcell { text-align: left; font-weight: inherit; padding: 12px 14px; vertical-align: top; }
.vcell { padding: 10px; vertical-align: top; width: 210px; border-left: 1px solid var(--line-2); }
.cols-1 .vcell { width: 240px; }
.pinfo { display: flex; gap: 14px; align-items: flex-start; }
.pthumb { flex-shrink: 0; width: 64px; height: 64px; border-radius: var(--r-sm); overflow: hidden; background: var(--panel-2); border: 1px solid var(--line-2); }
.pthumb img { width: 100%; height: 100%; object-fit: cover; }
.ptext { min-width: 0; display: grid; gap: 4px; }
.pname { font-weight: 600; text-decoration: none; line-height: 1.3; }
.pname:hover { text-decoration: underline; text-underline-offset: 3px; }
.pmeta { color: var(--muted); font-size: 12.5px; display: flex; flex-wrap: wrap; }
.pmeta span + span::before { content: ""; display: inline-block; width: 1px; height: .8em; background: var(--line); margin: 0 8px; vertical-align: -1px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.badge-pre { background: var(--tint); border-color: var(--brass); color: var(--brass-ink); }
.badge-hot { background: var(--sale); border-color: var(--sale); color: #fff; }
.more-opts { display: inline-block; margin: 8px 0 0 78px; font-size: 13px; color: var(--brass-ink); }

.vblock { display: grid; gap: 4px; padding: 8px 10px; border-radius: var(--r); border: 1px solid transparent; transition: background .15s, border-color .15s; }
.vblock.has-qty { background: var(--tint); border-color: var(--brass); }
.vtop { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.vname { font-weight: 600; }
.vstock { color: var(--stock); white-space: nowrap; }
.vblock.low .vstock { color: var(--warn); font-weight: 600; }
.vblock.out .vstock { color: var(--muted); }
.vblock.out .vprice { color: var(--muted); }
.vprice { font-size: 16px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.vprice s { color: var(--muted); font-size: 13px; }
.vprice .sale { color: var(--sale); }
.vlimit { font-size: 12px; color: var(--muted); }
.stepper { display: grid; grid-template-columns: 34px 1fr 34px; height: 34px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--panel); margin-top: 2px; }
.step { border: 0; background: var(--panel-2); font-size: 18px; line-height: 1; cursor: pointer; color: var(--ink); }
.step:hover:not(:disabled) { background: var(--brass); color: var(--on-accent); }
.step:disabled { color: var(--line); cursor: default; }
.step-qty { width: 100%; border: 0; text-align: center; background: transparent; font-weight: 700; -moz-appearance: textfield; appearance: textfield; min-width: 0; }
.step-qty::-webkit-inner-spin-button, .step-qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-gap { height: 36px; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.pcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.pcard-img { display: block; aspect-ratio: 1; background: var(--panel-2); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-body { padding: 12px; display: grid; gap: 6px; }
.pcard-vars { display: grid; gap: 6px; margin-top: 4px; }
.pcard .vblock { border-color: var(--line-2); }

/* Resumen fijo */
.qo-aside { position: sticky; top: 88px; }
.summary { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 12px; }
.summary-head { display: flex; justify-content: space-between; align-items: baseline; }
.summary-title { font-size: 26px; }
.summary-head span, .summary-empty { color: var(--muted); font-size: 14px; }
.summary-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 320px; overflow: auto; }
.summary-lines li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.sl-name { display: grid; } .sl-name small { color: var(--muted); }
.sl-total { font-weight: 600; white-space: nowrap; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; }
.summary-total strong { font-size: 22px; }
.summary-more { font-size: 13px; color: var(--muted); }
.ship-hint { font-size: 13px; color: var(--muted); background: var(--panel-2); padding: 8px 10px; border-radius: var(--r-sm); }
.summary-actions { display: flex; justify-content: space-between; font-size: 13px; }
.summary-actions a { color: var(--muted); }
.cartbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; display: none; }
.cartbar button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 54px; padding: 0 18px; border: 0; border-radius: var(--r-lg);
  background: var(--ink); color: var(--panel); font-weight: 600; box-shadow: var(--shadow); cursor: pointer; }
.cartbar strong { color: var(--brass); }

/* Destacados */
.spot { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 56px; }
.spot-card { border-radius: var(--r-lg); overflow: hidden; position: relative; min-height: 260px; }
.pre { display: grid; grid-template-columns: 220px 1fr; background: var(--panel); border: 1px solid var(--line); text-decoration: none; }
.pre-media { background: var(--panel-2); } .pre-media img { width: 100%; height: 100%; object-fit: cover; }
.pre-copy { padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.pre-copy h2 { font-size: 32px; }
.pre-price strong { font-size: 24px; }
.pre-date { color: var(--muted); }
.flash { background: var(--bar); color: var(--on-bar); display: flex; }
.flash-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.flash-copy { position: relative; padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; justify-content: center; }
.flash-copy h2 { font-family: var(--font-stencil); font-size: clamp(34px, 3.4vw, 46px); color: #fff; }
.flash-copy p { color: #C7CED7; max-width: 46ch; }
.countdown { display: flex; gap: 8px; margin: 4px 0 6px; }
.countdown span { display: grid; place-items: center; min-width: 62px; padding: 8px 6px; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r); font-size: 12px; color: #AEB7C2; }
.countdown b { font-family: var(--font-display); font-size: 34px; line-height: 1; color: var(--brass); }
.flash.ended .btn { display: none; }

/* Nosotros */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; margin-top: 72px; padding: 40px 0; border-top: 1px solid var(--line); }
.section-title { font-size: clamp(30px, 3vw, 40px); }
.about-intro p { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 46ch; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.facts li { display: grid; gap: 6px; }
.facts svg { width: 28px; height: 28px; color: var(--brass-ink); }
.facts h3 { font-size: 22px; }
.facts p { color: var(--muted); }

/* Calendario y noticias */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.section-head a { font-size: 14px; color: var(--muted); }
.cal, .news { margin-top: 56px; }
.cal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.cal-box { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.cal-sub { font-size: 22px; margin-bottom: 10px; }
.cal-list { list-style: none; margin: 0; padding: 0; display: grid; }
.cal-list li + li { border-top: 1px solid var(--line-2); }
.cal-item { display: flex; gap: 14px; align-items: center; padding: 10px 0; text-decoration: none; }
.cal-item strong { display: block; font-weight: 600; }
.cal-item small { color: var(--muted); font-size: 13px; }
.date-chip { flex-shrink: 0; width: 52px; text-align: center; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 0; background: var(--panel-2); }
.date-chip b { display: block; font-family: var(--font-display); font-size: 24px; line-height: 1; }
.date-chip span { font-size: 11px; color: var(--muted); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.post-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 8px; text-decoration: none; align-content: start; }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-sm); }
.post-card time { font-size: 13px; color: var(--muted); }
.post-card h3 { font-size: 24px; }
.post-card p { color: var(--muted); }
.post-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; }

/* Pie */
.site-footer { margin-top: 80px; background: var(--bar); color: var(--on-bar); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 32px; }
.site-footer h2 { font-size: 20px; margin-bottom: 12px; color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #C7CED7; text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { color: #AEB7C2; font-size: 14px; margin-top: 10px; max-width: 34ch; }
.footer-brand .logo { color: #fff; }
.socials { display: flex; gap: 6px; margin-top: 14px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #3A4554; border-radius: var(--r); }
.socials svg { width: 18px; height: 18px; }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; height: 42px; border-radius: var(--r); border: 1px solid #3A4554; background: #11161D; color: #fff; padding: 0 12px; }
.form-msg { font-size: 13px; margin-top: 8px; min-height: 1em; }
.contact-lines { margin-top: 16px; font-size: 14px; color: #AEB7C2; display: grid; gap: 4px; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 18px; border-top: 1px solid #2B3442; font-size: 13px; color: #8E98A5; }

/* Carrito lateral */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(12, 15, 19, .5); opacity: 0; transition: opacity .2s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--panel); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .22s ease; box-shadow: var(--shadow); }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 28px; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot:empty { display: none; }
.drawer-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer-empty { padding: 24px 0 12px; color: var(--muted); }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px 0; align-items: start; }
.cart-line + .cart-line { border-top: 1px solid var(--line-2); }
.cl-img { width: 56px; height: 56px; border-radius: var(--r-sm); overflow: hidden; background: var(--panel-2); }
.cl-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-info { display: grid; gap: 4px; min-width: 0; }
.cl-name { font-weight: 600; text-decoration: none; }
.cl-var { color: var(--muted); font-size: 13px; }
.cl-info .stepper { width: 128px; }
.cl-total { text-align: right; display: grid; gap: 6px; font-weight: 600; }
.line-error { color: var(--sale); font-size: 13px; }

/* Páginas internas */
.page-title { font-size: clamp(34px, 4vw, 52px); margin: 32px 0 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a + a::before { content: "/"; margin-right: 8px; color: var(--line); }
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 16px; }
.gallery-main { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumbs button { width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--panel); cursor: pointer; }
.thumbs button[aria-current="true"] { border: 2px solid var(--brass); }
.pdp-info { display: grid; gap: 14px; align-content: start; }
.pdp-title { font-size: clamp(32px, 3.4vw, 46px); }
.pdp-vars { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.pdp-vars .vblock { border-color: var(--line); background: var(--panel); }
.pdp-vars .vblock.has-qty { background: var(--tint); border-color: var(--brass); }
.pdp-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--panel); }
.specs div { padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.specs dt { font-size: 12px; color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.rich { max-width: 68ch; line-height: 1.65; }
.rich p, .rich ul { margin: 0 0 14px; }
.rich h2 { font-size: 28px; margin: 24px 0 8px; }
.rich h3 { font-size: 22px; margin: 18px 0 6px; }
.rich a { color: var(--brass-ink); }
.related { margin-top: 56px; }
.related .section-title { margin-bottom: 14px; }

.shop-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; padding: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 8px; }
.fl { display: grid; gap: 4px; font-size: 12px; color: var(--muted); }
.fl-search { flex: 1 1 220px; } .fl-search input { width: 100%; }
.shop .qo { margin-top: 8px; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.panel h2 { font-size: 24px; margin-bottom: 12px; }
.cart-layout, .checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.cart-layout .cart-lines { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 4px 20px; }
.cart-side, .checkout-side { position: sticky; top: 88px; display: grid; gap: 12px; }
.cart-side .panel { display: grid; gap: 12px; }
.empty-state { padding: 40px 0; display: grid; gap: 16px; justify-items: start; }

fieldset { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); padding: 18px 20px 20px; margin: 0 0 16px; display: grid; gap: 14px; }
legend { font-family: var(--font-display); font-weight: 800; font-size: 22px; padding: 0 6px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, textarea { height: 44px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 0 12px; width: 100%; }
textarea { height: auto; padding: 10px 12px; resize: vertical; }
.field .help { color: var(--muted); font-size: 13px; }
.field-error { color: var(--sale); font-size: 13px; }
.field-error:empty { display: none; }
.invalid input, .invalid select { border-color: var(--sale); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choices { display: grid; gap: 8px; }
.choice { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--brass); background: var(--tint); }
.choice input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brass); }
.choice strong { display: block; }
.choice small { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--sale); background: color-mix(in srgb, var(--sale) 10%, transparent); padding: 10px 12px; border-radius: var(--r); margin-bottom: 12px; }
.coupon { display: grid; gap: 6px; }
.coupon label { font-weight: 600; font-size: 14px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--line); border-radius: var(--r); padding: 0 12px; background: var(--panel); text-transform: uppercase; }
.quote-lines { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.quote-lines li { display: flex; justify-content: space-between; gap: 10px; }
.quote-lines small { color: var(--muted); display: block; }
.totals { display: grid; gap: 6px; margin: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.totals div { display: flex; justify-content: space-between; }
.totals dt { color: var(--muted); } .totals dd { margin: 0; }
.totals .grand { font-size: 20px; font-weight: 700; padding-top: 6px; } .totals .grand dt { color: var(--ink); }
.ok { color: var(--stock); }

.order-page { max-width: 860px; }
.order-page .panel { margin-top: 16px; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0; margin: 8px 0 0; counter-reset: s; }
.timeline li { counter-increment: s; font-size: 13px; color: var(--muted); padding-top: 12px; border-top: 4px solid var(--line); }
.timeline li::before { content: counter(s) ". "; }
.timeline li.done { border-color: var(--brass); color: var(--ink); }
.timeline li.current { border-color: var(--brass); color: var(--ink); font-weight: 700; }
.pay-box { border-color: var(--brass); background: var(--tint); }
.pay-data { white-space: pre-wrap; font: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; margin: 12px 0 0; }
.notice { padding: 12px 14px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); margin-top: 16px; }
.notice-bad { border-color: var(--sale); color: var(--sale); }
.order-items { width: 100%; border-collapse: collapse; font-size: 14px; }
.order-items td { padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.order-items td:last-child { text-align: right; }
.track-form { display: grid; gap: 14px; max-width: 420px; margin-top: 20px; }
.events-list .cal-item { align-items: flex-start; }
.events-list p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.page-error { padding: 60px 24px; display: grid; gap: 14px; justify-items: start; }

.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); background: var(--ink); color: var(--panel); padding: 10px 16px; border-radius: var(--r); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 70; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1180px) {
  .qo, .shop .qo { grid-template-columns: minmax(0, 1fr); }
  .qo-aside { display: none; }
  .cartbar:not([hidden]) { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 16px; }
}
@media (max-width: 960px) {
  .header-row { flex-wrap: wrap; gap: 10px 16px; padding-top: 10px; padding-bottom: 10px; }
  .nav { order: 4; width: 100%; overflow-x: auto; }
  .search { order: 3; max-width: none; flex-basis: 100%; }
  .header-actions { margin-left: auto; }
  .about, .pdp, .cart-layout, .checkout-grid { grid-template-columns: minmax(0, 1fr); }
  .cart-side, .checkout-side { position: static; }
  .hero-nav { display: none; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 14px; }
  .site-header { position: static; }
  .logo-word { font-size: 24px; }
  .logo-mark { width: 28px; height: 28px; }
  .header-actions { gap: 0; }
  .header-actions .icon-btn { width: 36px; }
  .cart-label { display: none; }
  .slide { aspect-ratio: 4 / 5; max-height: 460px; }
  .slide-copy { justify-content: flex-end; padding-bottom: 44px; background: linear-gradient(0deg, rgba(14, 18, 24, .85), rgba(14, 18, 24, 0) 75%); }
  .ptable thead { display: none; }
  .ptable, .ptable tbody { display: block; }
  .ptable tr { display: grid; grid-template-columns: 1fr 1fr; }
  .ptable tbody tr + tr > * { border-top: 0; }
  .ptable tbody tr + tr { border-top: 1px solid var(--line); }
  .ptable .pcell { grid-column: 1 / -1; padding-bottom: 4px; }
  .vcell { width: auto; border-left: 0; padding: 4px 8px 10px; }
  .vcell-empty { display: none; }
  .cols-1 .vcell { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr; }
  .pre { grid-template-columns: 1fr; } .pre-media { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
  .row-2 { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .toolbar .seg { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
