/* 3% Store — tema claro, orientado a producto.
   Estructura: barra de anuncios → header con buscador y mega menú → vistas (inicio / catálogo / producto) → footer.
   Marca: negro + blanco + naranja #e8501c. Tipografía: Archivo (display) + Manrope (texto). */

:root {
  --bg: #ffffff;
  --tile: #f4f4f5;
  --tile-2: #ececee;
  --fg: #111113;
  --muted: #6b6b73;
  --line: #e7e7ea;
  --accent: #e8501c;
  --accent-soft: #fdeee8;
  --ok: #15803d;
  --wa: #17a354;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 12px 32px rgba(17, 17, 19, .10);
  --display: 'Archivo', 'Arial Black', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, sans-serif;
  --header-h: 116px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: min(1320px, 100% - 40px); margin-inline: auto; }
.display { font-family: var(--display); font-stretch: 115%; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: .98; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-weight: 800; font-size: 14px; letter-spacing: .01em;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn-dark { background: var(--fg); color: #fff; }
.btn-dark:hover { background: #2a2a2e; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: #cf4415; }
.btn-line { border: 1.5px solid var(--fg); }
.btn-line:hover { background: var(--fg); color: #fff; }
.btn:active, .icon-btn:active, .sizes button:active { transform: scale(0.96); }

/* ── View transition & micro-interactions ─────────── */
@keyframes viewFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.view-enter {
  animation: viewFadeIn 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cartBadgeBounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.45); }
  70% { transform: scale(0.92); }
  100% { transform: scale(1); }
}
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #128a46; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ── Announcement bar ──────────────────────────────── */
.topbar { background: #0a0a0c; color: #fff; font-size: 12.5px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar .wrap { display: flex; justify-content: center; align-items: center; min-height: 36px; gap: 24px; overflow: hidden; padding-block: 4px; }
.topbar span { white-space: nowrap; opacity: .92; }
.topbar b { color: #ff8555; font-weight: 800; }
.topbar-main { letter-spacing: .02em; font-weight: 700; }
@media (max-width: 860px) {
  .topbar { text-align: center; font-size: 12px; }
  .topbar .wrap { justify-content: center; min-height: 32px; gap: 0; }
  .topbar span:not(.topbar-main) { display: none; }
  .topbar span.topbar-main { white-space: normal; text-wrap: balance; line-height: 1.3; padding: 3px 12px; }   /* en pantallas angostas el aviso baja a dos líneas en vez de cortarse a los lados */
}

/* ── Header ────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(1.8) blur(12px);
  -webkit-backdrop-filter: saturate(1.8) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.98);
  box-shadow: 0 4px 22px rgba(17,17,19,.08);
  border-color: rgba(0,0,0,.08);
}
.hrow { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo { display: inline-flex; align-items: center; line-height: 1; flex: none; }
.logo img { height: 42px; width: auto; object-fit: contain; }
.logo b { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 30px; letter-spacing: -.03em; }
.logo small { font-size: 9px; font-weight: 800; letter-spacing: .5em; color: var(--accent); margin-top: 1px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; place-items: center; }
.menu-btn svg, .icon-btn svg { width: 22px; height: 22px; }

.search { position: relative; flex: 1; max-width: 640px; margin-inline: auto; }
.search input {
  width: 100%; height: 44px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--tile); padding: 0 18px 0 46px; font-size: 14.5px; font-weight: 500;
  transition: border-color .15s, background .15s;
}
.search input:focus { outline: none; background: #fff; border-color: var(--fg); }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search > svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px; z-index: 60; max-height: 70vh; overflow: auto;
}
.suggest a { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
.suggest a:hover, .suggest a.active { background: var(--tile); }
.suggest .thumb { width: 52px; height: 52px; border-radius: 8px; background: var(--tile); overflow: hidden; display: grid; place-items: center; }
.suggest .thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.suggest .s-name { font-size: 13.5px; font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.suggest .s-brand { font-size: 11.5px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.suggest .s-price { font-weight: 800; font-size: 14px; }
.suggest .s-all { display: block; text-align: center; padding: 10px; font-weight: 800; font-size: 13.5px; border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0; }
.suggest .s-empty { padding: 14px; color: var(--muted); font-size: 14px; }

.hactions { display: flex; align-items: center; gap: 6px; flex: none; }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; transition: background .15s; }
.icon-btn:hover { background: var(--tile); }
.count-badge { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.count-badge:empty, .count-badge[data-n="0"] { display: none; }
.count-badge.badge-bounce { animation: cartBadgeBounce 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

/* Main nav + mega menu */
.mainnav { display: flex; align-items: center; gap: 2px; height: 46px; }
.mainnav > a, .mainnav > button {
  height: 46px; padding: 0 14px; display: inline-flex; align-items: center;
  font-size: 13.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase;
  border-bottom: 2.5px solid transparent; transition: border-color .15s, color .15s;
}
.mainnav > a:hover, .mainnav > button:hover, .mainnav > .open { border-bottom-color: var(--fg); }
.mainnav .sale { color: var(--accent); }
.mainnav .sale:hover { border-bottom-color: var(--accent); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(17,17,19,.08); z-index: 40;
}
.mega .wrap { display: grid; grid-template-columns: repeat(4, 1fr) 1.15fr; gap: 28px; padding-block: 28px 32px; }
.mega h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mega li a { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.mega li a:hover { color: var(--accent); }
.mega li a small { color: var(--muted); font-weight: 500; }
.mega li.all a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; margin-top: 4px; }
.mega-feature { background: var(--tile); border-radius: var(--radius); padding: 18px; display: grid; align-content: space-between; min-height: 220px; position: relative; overflow: hidden; }
.mega-feature img { position: absolute; right: -6%; bottom: -4%; width: 72%; mix-blend-mode: multiply; }
.mega-feature b { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 22px; text-transform: uppercase; line-height: 1; position: relative; max-width: 60%; }
.mega-feature span { position: relative; font-weight: 800; font-size: 13px; text-decoration: underline; }
.mega-brands { grid-template-columns: repeat(6, 1fr) !important; }
.brand-cell { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 12px; text-align: center; font-family: var(--display); font-stretch: 110%; font-weight: 900; text-transform: uppercase; font-size: 15px; transition: border-color .15s; }
.brand-cell small { display: block; font-family: var(--body); font-weight: 600; font-size: 11.5px; color: var(--muted); text-transform: none; margin-top: 3px; }
.brand-cell:hover { border-color: var(--fg); }
.brand-cell { display: grid; align-content: center; justify-items: center; }
.brand-cell .bc-logo { display: flex; align-items: center; justify-content: center; height: 44px; margin-bottom: 4px; color: var(--fg); }
.brand-cell .bc-logo .bl { height: calc(var(--h, 28px) * 1.1); max-height: 44px; max-width: 100%; }
.bl-img { width: auto; }
.bl-mono { filter: brightness(0); }

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .mainnav { display: none; }
  .menu-btn { display: grid; }
  .hrow { gap: 10px; }
  .search { order: 3; flex-basis: 100%; max-width: none; }
  .hrow { flex-wrap: wrap; height: auto; padding-block: 10px; }
  .logo img { height: 34px; }
  .logo b { font-size: 26px; }
  .hactions { margin-left: auto; }
}

/* Mobile drawer menu */
.scrim {
  position: fixed; inset: 0; background: rgba(17,17,19,.48); z-index: 80;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: scrimFade 0.2s ease forwards;
}
@keyframes scrimFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.side {
  position: fixed; top: 0; bottom: 0; width: min(400px, 92vw); background: #fff; z-index: 81; display: flex; flex-direction: column; box-shadow: var(--shadow);
  animation: sideSlideRight 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.side.left { left: 0; animation-name: sideSlideLeft; }
.side.right { right: 0; }
@keyframes sideSlideRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
@keyframes sideSlideLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
.side-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.side-head h3 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: 20px; }
.side-body { flex: 1; overflow: auto; padding: 8px 18px 18px; }
.close-x { width: 38px; height: 38px; border-radius: 99px; display: grid; place-items: center; font-size: 22px; }
.close-x:hover { background: var(--tile); }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary, .mnav > a { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 15px 0; font-weight: 800; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; cursor: pointer; }
.mnav > a { border-bottom: 1px solid var(--line); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after { content: '+'; font-size: 20px; font-weight: 500; }
.mnav details[open] summary::after { content: '–'; }
.mnav .sub { display: grid; gap: 10px; padding: 0 0 16px 4px; }
.mnav .sub a { font-weight: 600; font-size: 14.5px; display: flex; justify-content: space-between; }
.mnav .sub a small { color: var(--muted); }

/* ── Sections / headings ───────────────────────────── */
main { min-height: 60vh; }
.section { padding-block: 40px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; line-height: 1; }
.sec-head p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.sec-head .link { font-size: 14px; white-space: nowrap; }

/* ── Hero ──────────────────────────────────────────── */
.hero { padding-top: 20px; }
/* ── Portada: banners que se deslizan, baraja de tarjetas y tira de logos ──────── */
.btn-light { background: #fff; color: var(--fg); }
.btn-light:hover { background: #ececee; }
.bl { display: block; width: auto; height: var(--h, 28px); fill: currentColor; }

.hs { position: relative; height: clamp(470px, 42vw, 580px); border-radius: 22px; overflow: hidden; background: var(--tile); isolation: isolate; touch-action: pan-y; }
.hs-slide { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 44px); padding: clamp(24px, 4vw, 52px) clamp(24px, 7vw, 96px);
  transform: translateX(100%); visibility: hidden; transition: transform .5s cubic-bezier(0.16, 1, 0.3, 1); --sub: #45454c; --hl: var(--accent); --scrim: 244, 244, 245; background: var(--tile); color: var(--fg); }
.hs-slide.is-active { transform: none; visibility: visible; z-index: 1; }
.hs-slide[data-theme="ink"] { background: #111113; color: #fff; --sub: #b9b9c1; --hl: #ff8555; --scrim: 17, 17, 19; }
.hs-slide[data-theme="orange"] { background: var(--accent); color: #111113; --sub: #111113; --hl: #fff; --scrim: 232, 80, 28; }
.hs-slide[data-theme="blue"] { background: linear-gradient(120deg, #0b2a78 0%, #1746b8 100%); color: #fff; --sub: #d9e2fb; --hl: #ff8555; --scrim: 11, 42, 120; }
.hs-slide[data-theme="gold"] { background: linear-gradient(130deg, #24160b 0%, #5e4119 100%); color: #f6e7c8; --sub: #e7d4ad; --hl: #e6c27a; --scrim: 36, 22, 11; }
.hs-slide[data-theme="red"] { background: linear-gradient(120deg, #9d0e1b 0%, #d4202c 100%); color: #fff; --sub: #fff1ee; --hl: #ffd66b; --scrim: 157, 14, 27; }
.hs-banner { display: block; padding: 0; background: #111113; }
.hs-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Banner con foto de fondo: la foto ocupa todo el banner y el color del tema la cubre desde la izquierda para que el texto se lea */
.hs-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hs-photo img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.hs-photo img.is-loaded { opacity: 1; }
.hs-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--scrim), 1) 0%, rgba(var(--scrim), .95) 38%, rgba(var(--scrim), .6) 58%, rgba(var(--scrim), 0) 82%); }
.hs-slide.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.hs-slide.rev .hs-copy { grid-column: 2; grid-row: 1; }
.hs-slide.rev .hs-art { grid-column: 1; grid-row: 1; }
.rev .hs-photo::after { background: linear-gradient(270deg, rgba(var(--scrim), 1) 0%, rgba(var(--scrim), .95) 38%, rgba(var(--scrim), .6) 58%, rgba(var(--scrim), 0) 82%); }
.has-photo .hs-copy { position: relative; z-index: 1; }
.has-photo .hs-art { z-index: 1; }
.has-photo .hs-rates { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); height: auto; padding: 4px 24px; border-radius: 18px; background: rgba(17, 17, 19, .46); -webkit-backdrop-filter: blur(16px) brightness(.6); backdrop-filter: blur(16px) brightness(.6); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .has-photo .hs-rates { background: rgba(17, 17, 19, .84); } }
.has-photo .hs-rates span { font-size: clamp(18px, 2.2vw, 28px); }
.has-photo .hs-rates b { font-size: clamp(24px, 3vw, 38px); }
.has-photo .hs-rates li:first-child { border-top: 0; }
.has-photo .hs-rates li:last-child { border-bottom: 0; }

.hs-copy { display: grid; gap: 16px; justify-items: start; align-content: center; min-width: 0; }
.hs-title { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; font-size: clamp(28px, 4.1vw, 54px); text-wrap: balance; }
.hs-title em { font-style: normal; color: var(--hl); }
.hs-copy p { margin: 0; max-width: 44ch; font-size: 16px; color: var(--sub); text-wrap: pretty; }
.hero-ctas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.hero-ctas .btn { padding-inline: 18px; }
.hs-logos { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hs-logos .bl { height: calc(var(--h) * 1.55); }
.hs-wordmark { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 32px; letter-spacing: .1em; text-transform: uppercase; }

/* Productos del banner: tarjetas blancas (foto arriba, rótulo en su propia franja) que se abren en abanico;
   las fotos oficiales sin fondo flotan sin tarjeta y sin rótulo */
.hs-art { position: relative; width: 100%; height: 100%; max-height: 430px; min-width: 0; }
.hs-card { position: absolute; display: flex; flex-direction: column; width: 46%; aspect-ratio: 1 / 1.08; background: #fff; border-radius: 16px; overflow: hidden; color: var(--muted); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .45); }
.hs-card img { flex: 1 1 0; min-height: 0; width: 100%; box-sizing: border-box; padding: 8% 8% 0; object-fit: contain; transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1); }
.hs-card:hover img { transform: translateY(-4px); }
.hs-card .cap { flex: none; padding: 6px 14px 12px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hs-card:nth-child(1) { left: 0; top: 14%; transform: rotate(-6deg); z-index: 1; }
.hs-card:nth-child(2) { left: 27%; top: 2%; transform: rotate(2deg); z-index: 3; }
.hs-card:nth-child(3) { left: 54%; top: 20%; transform: rotate(8deg); z-index: 2; }
.hs-art.bare .hs-card { display: block; background: none; box-shadow: none; overflow: visible; width: 58%; aspect-ratio: auto; color: inherit; }
.hs-art.bare .hs-card img { width: 100%; height: auto; padding: 0; filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .35)); }
.hs-art.bare .hs-card .cap { display: none; }
.hs-art.bare .hs-card:nth-child(1) { left: 0; top: 30%; transform: rotate(-5deg); }
.hs-art.bare .hs-card:nth-child(2) { left: 24%; top: 2%; transform: rotate(-3deg); }
.hs-art.bare .hs-card:nth-child(3) { left: 42%; top: 36%; transform: rotate(-7deg); }

/* Banner de envíos: las tarifas como lista tipográfica */
.hs-rates { list-style: none; margin: 0; padding: 0; display: grid; align-content: center; height: 100%; }
.hs-rates li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 16px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.hs-rates li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.hs-rates span { font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: clamp(20px, 2.6vw, 32px); letter-spacing: -.01em; }
.hs-rates b { font-family: var(--display); font-weight: 900; font-size: clamp(26px, 3.4vw, 44px); color: var(--hl); }
.hs-rates small { grid-column: 1 / -1; font-size: 13.5px; color: var(--sub); }

/* Controles */
.hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--fg); border: 0; cursor: pointer; box-shadow: 0 8px 20px -8px rgba(17, 17, 19, .5); transition: background .15s, transform .15s; }
.hs-arrow:hover { background: #ececee; }
.hs-prev { left: 16px; }
.hs-next { right: 16px; }
.hs-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 3; display: flex; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(17, 17, 19, .55); }
.hs-dot { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .6); cursor: pointer; transition: width .3s cubic-bezier(0.16, 1, 0.3, 1), background .2s; }
.hs-dot::before { content: ''; position: absolute; inset: -10px -4px; }
.hs-dot[aria-current="true"] { width: 22px; background: #fff; }

/* Baraja de tarjetas del primer banner */
.deck { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1.08 / 1; max-height: 100%; }
.deck-card { position: absolute; inset: 6% 18% 6% 0; background: #fff; border-radius: 18px; display: grid; place-items: center; overflow: hidden; box-shadow: 0 16px 34px -16px rgba(17, 17, 19, .30); transform-origin: 20% 80%;
  transition: transform .75s cubic-bezier(0.16, 1, 0.3, 1), opacity .5s linear;
  animation: deckIn .8s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
.deck-card img { width: 80%; height: 80%; object-fit: contain; transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1); }
.deck-card[data-pos="0"]:hover img { transform: translateY(-4px); }
.deck-card .cap { position: absolute; left: 14px; right: 14px; bottom: 12px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .4s linear; }
.deck-card:not([data-pos="0"]) .cap { opacity: 0; }   /* solo la tarjeta de adelante muestra su rótulo: las de atrás quedan tapadas */
.deck-card[data-pos="0"] { transform: rotate(-1.5deg); z-index: 5; }
.deck-card[data-pos="1"] { transform: translate(8%, -3%) scale(.95) rotate(2.5deg); z-index: 4; }
.deck-card[data-pos="2"] { transform: translate(16%, -6%) scale(.9) rotate(6deg); z-index: 3; opacity: .92; }
.deck-card[data-pos="3"] { transform: translate(20%, -8%) scale(.86) rotate(8deg); z-index: 2; opacity: 0; }
.deck-card[data-pos="out"] { transform: translate(-70%, -6%) rotate(-16deg); z-index: 6; opacity: 0; transition: transform .5s cubic-bezier(.55, 0, .8, .2), opacity .4s linear .1s; }
@keyframes deckIn { from { opacity: 0; transform: translate(0, 28px) scale(.94) rotate(0deg); } }

/* Tira de logos de marcas: corre sin parar y cada logo lleva al catálogo de la marca */
.brand-strip { margin-top: 22px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.bs-track { display: flex; width: max-content; animation: brandRun 70s linear infinite; }
.bs-set { display: flex; align-items: center; flex: none; }
.bs-logo { display: flex; align-items: center; padding: 14px clamp(30px, 4.6vw, 64px); color: var(--fg); opacity: .82; transition: opacity .2s, color .2s; }
.bs-logo:hover, .bs-logo:focus-visible { opacity: 1; color: var(--accent); }
.brand-strip:hover .bs-track, .brand-strip:focus-within .bs-track, .brand-strip.is-paused .bs-track { animation-play-state: paused; }
@keyframes brandRun { to { transform: translateX(-50%); } }

@media (max-width: 860px) {
  .hs { height: 660px; }
  .hs-slide { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; padding: 28px 22px 66px; gap: 16px; }
  .hs-banner { padding: 0; }
  .hs-photo::after { background: linear-gradient(180deg, rgba(var(--scrim), 1) 0%, rgba(var(--scrim), .94) 34%, rgba(var(--scrim), .55) 60%, rgba(var(--scrim), .1) 100%); }
  .has-photo .hs-rates { padding: 2px 20px; }
  .hs-slide.rev { grid-template-columns: 1fr; }
  .hs-slide.rev .hs-copy, .hs-slide.rev .hs-art { grid-column: 1; grid-row: auto; }
  .rev .hs-photo::after { background: linear-gradient(180deg, rgba(var(--scrim), 1) 0%, rgba(var(--scrim), .94) 34%, rgba(var(--scrim), .55) 60%, rgba(var(--scrim), .1) 100%); }                                    /* el banner con tu propia imagen va de borde a borde */
  .hs-arrow { display: none; }
  .hs-title { font-size: clamp(26px, 7.4vw, 36px); }
  .hs-copy { gap: 12px; }
  .hs-copy p { font-size: 15px; }
  .hs-art { max-height: none; height: 100%; min-height: 220px; }
  .hs-more { display: none; }                                   /* la segunda frase del primer banner no cabe en el celular */
  .deck { width: auto; height: 100%; max-width: 100%; max-height: 330px; justify-self: center; }
  .hs-card { width: 50%; }
  .hs-art.bare .hs-card { width: 64%; }
  .hs-art.bare .hs-card:nth-child(1) { top: 36%; }
  .hs-art.bare .hs-card:nth-child(2) { left: 20%; top: 0; }
  .hs-art.bare .hs-card:nth-child(3) { left: 36%; top: 40%; }
}
/* Con "reducir movimiento": no hay cambio automático ni baraja; los logos se muestran quietos en una fila que se ajusta */
@media (prefers-reduced-motion: reduce) {
  .deck-card { animation: none; }
  .hs-photo img { transition: none; }
  .bs-track { animation: none; width: auto; }
  .bs-set { flex-wrap: wrap; justify-content: center; }
  .bs-set + .bs-set { display: none; }
  .brand-strip { -webkit-mask-image: none; mask-image: none; }
}

/* ── Category tiles ───────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat-tile {
  background: var(--tile); border-radius: var(--radius); aspect-ratio: 4 / 5; position: relative; overflow: hidden; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .25s ease, background .2s;
}
.cat-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17,17,19,.08);
  background: var(--tile-2);
}
.cat-tile b { font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: clamp(20px, 2.2vw, 28px); line-height: 1; position: relative; z-index: 1; }
.cat-tile small { display: block; font-size: 13px; color: var(--muted); font-weight: 700; margin-top: 6px; position: relative; z-index: 1; }
.cat-tile .go { position: relative; z-index: 1; width: 40px; height: 40px; border-radius: 99px; background: #fff; display: grid; place-items: center; font-weight: 900; transition: background .2s, color .2s; }
.cat-tile:hover .go { background: var(--fg); color: #fff; }
.cat-tile img { position: absolute; inset: auto -4% 8% auto; width: 88%; height: 62%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s; }
.cat-tile:hover img { transform: scale(1.06) rotate(-3deg); }
.cat-tile .art { position: absolute; right: 10%; bottom: 14%; width: 46%; }
@media (min-width: 1101px) { .cat-tile b { font-size: clamp(18px, 1.7vw, 24px); } }   /* con 5 mosaicos cada uno es más angosto */
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cat-tile b { font-size: 17px; font-stretch: 100%; } }   /* "ACCESORIOS" no cabía en la mitad de un celular */

/* Gender cards */
.gender-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gender-card { border-radius: var(--radius); background: var(--fg); color: #fff; padding: 22px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.gender-card:nth-child(2) { background: var(--accent); }
.gender-card:nth-child(3) { background: #2c2c31; }
.gender-card b { font-family: var(--display); font-stretch: 118%; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 46px); line-height: .9; }
.gender-card .chips-row { display: flex; gap: 6px; flex-wrap: wrap; position: relative; z-index: 1; }
.gender-card .chips-row span { font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.14); }
.gender-card .chips-row span:hover { background: #fff; color: var(--fg); }
@media (max-width: 760px) { .gender-grid { grid-template-columns: 1fr; } }

/* ── Product rail ──────────────────────────────────── */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-nav { display: flex; gap: 8px; }
.rail-nav button { width: 38px; height: 38px; border-radius: 99px; border: 1.5px solid var(--line); display: grid; place-items: center; font-weight: 900; transition: border-color .15s; }
.rail-nav button:hover { border-color: var(--fg); }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); } }
@media (max-width: 760px) { .rail { grid-auto-columns: 46%; } }

/* ── Product card ──────────────────────────────────── */
.pcard {
  display: flex; flex-direction: column; gap: 10px; min-width: 0; user-select: none; -webkit-user-select: none;
  transition: transform .22s cubic-bezier(0.16, 1, 0.3, 1);
}
.pcard:hover { transform: translateY(-3px); }
.pimg {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); background: var(--tile); overflow: hidden;
  transition: box-shadow .25s ease, background .25s ease;
}
.pcard:hover .pimg { box-shadow: 0 10px 24px rgba(17, 17, 19, .07); }
.pimg::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: auto; background: transparent; }
.pimg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 9%;
  mix-blend-mode: multiply; transition: opacity .3s, transform .35s;
  pointer-events: none; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; -webkit-user-drag: none;
}
.pimg img.alt { opacity: 0; }
.pcard:hover .pimg img.main { transform: scale(1.04); }
.pcard:hover .pimg img.alt + img.main, .pcard:hover .pimg.has-alt img.main { opacity: 0; }
.pcard:hover .pimg.has-alt img.alt { opacity: 1; }
.pimg .art { position: absolute; inset: 0; display: grid; place-items: center; }
.pimg .art svg { width: 62%; max-height: 66%; filter: drop-shadow(0 10px 10px rgba(0,0,0,.14)); }
.pimg .art svg.tall { width: 36%; }
.pimg .wm { position: absolute; left: 12px; top: 10px; right: 12px; font-family: var(--display); font-stretch: 115%; font-weight: 900; text-transform: uppercase; font-size: 15px; line-height: 1; opacity: .85; }
.ptag { position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; background: #fff; }
.ptag.sale { background: var(--accent); color: #fff; }
.ptag.new { background: var(--fg); color: #fff; }
.pbody { display: flex; flex-direction: column; gap: 3px; padding-inline: 2px; }
.pbrand { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pname { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pprice { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.pprice b { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pprice s { font-size: 13px; color: var(--muted); }
.pprice .off { font-size: 12.5px; font-weight: 800; color: var(--accent); }
.pmeta { font-size: 12px; color: var(--muted); font-weight: 600; }

/* ── Brands strip ──────────────────────────────────── */
.brand-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 960px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }

/* Promo banner */
.promo { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 22px; overflow: hidden; background: var(--fg); color: #fff; min-height: 340px; }
.promo-copy { padding: clamp(26px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.promo-copy h2 { margin: 0 0 14px; font-size: clamp(30px, 4vw, 52px); }
.promo-copy p { margin: 0 0 24px; color: #c4c4ca; max-width: 42ch; }
.promo img { width: 100%; height: 100%; object-fit: cover; }
.promo .btn-line { border-color: #fff; color: #fff; }
.promo .btn-line:hover { background: #fff; color: var(--fg); }
@media (max-width: 860px) { .promo { grid-template-columns: 1fr; } .promo img { max-height: 280px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: s; }
.step { background: var(--tile); border-radius: var(--radius); padding: 22px; position: relative; }
.step::before { counter-increment: s; content: '0' counter(s); font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 34px; color: var(--accent); line-height: 1; display: block; margin-bottom: 10px; }
.step b { display: block; font-size: 16px; margin-bottom: 4px; }
.step span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ── Catalog (PLP) ─────────────────────────────────── */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding-top: 22px; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }
.crumbs span::before { content: '/'; margin-right: 8px; color: #c4c4ca; }
.plp-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; padding-block: 10px 18px; flex-wrap: wrap; }
.plp-head h1 { margin: 0; font-size: clamp(28px, 3.6vw, 44px); }
.plp-head .count { color: var(--muted); font-weight: 600; font-size: 14px; margin-top: 6px; }
.plp-tools { display: flex; gap: 10px; align-items: center; }
.select { height: 42px; border-radius: 999px; border: 1.5px solid var(--line); padding: 0 38px 0 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='1.8' fill='none'/%3E%3C/svg%3E") no-repeat right 15px center; appearance: none; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.filter-toggle { display: none; }
.plp { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: start; padding-bottom: 60px; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; padding-right: 6px; scrollbar-width: thin; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 800; font-size: 14px; cursor: pointer; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid; border-bottom: 2px solid; rotate: 45deg; translate: 0 -3px; transition: rotate .2s; }
.fgroup[open] summary::after { rotate: -135deg; translate: 0 2px; }
.fgroup summary .n { margin-left: auto; margin-right: 12px; font-size: 11px; font-weight: 800; background: var(--fg); color: #fff; border-radius: 99px; padding: 1px 7px; }
.fopts { display: grid; gap: 2px; padding-bottom: 14px; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; }
.fopt:hover { background: var(--tile); }
.fopt input { appearance: none; width: 18px; height: 18px; border: 1.5px solid #b9b9c0; border-radius: 5px; display: grid; place-items: center; flex: none; cursor: pointer; margin: 0; }
.fopt input[type=radio] { border-radius: 99px; }
.fopt input:checked { background: var(--fg); border-color: var(--fg); }
.fopt input:checked::after { content: ''; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; translate: 0 -1px; }
.fopt input[type=radio]:checked::after { width: 6px; height: 6px; border: 0; background: #fff; border-radius: 99px; rotate: 0deg; translate: 0; }
.fopt small { margin-left: auto; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.fsearch { width: 100%; height: 36px; border-radius: 8px; border: 1.5px solid var(--line); padding: 0 10px; margin-bottom: 6px; font-size: 13.5px; }
.fmore { font-size: 13px; font-weight: 800; text-decoration: underline; padding: 6px 4px; justify-self: start; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 800; font-size: 14px; cursor: pointer; }
.switch { appearance: none; width: 40px; height: 23px; border-radius: 99px; background: #d4d4d8; position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 99px; background: #fff; transition: translate .2s; }
.switch:checked { background: var(--accent); }
.switch:checked::after { translate: 17px 0; }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.active-chips button { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 99px; background: var(--tile); font-size: 13px; font-weight: 700; }
.active-chips button:hover { background: var(--tile-2); }
.active-chips button::after { content: '×'; font-size: 16px; line-height: 1; }
.active-chips .clear { background: none; text-decoration: underline; }
.active-chips .clear::after { content: none; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
.more { display: grid; justify-items: center; gap: 12px; margin-top: 40px; }
.progress { width: 220px; height: 3px; background: var(--line); border-radius: 9px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--fg); }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; background: var(--tile); border-radius: var(--radius); }
.empty b { display: block; font-size: 18px; margin-bottom: 6px; }
@media (max-width: 1180px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .plp { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filter-toggle { display: inline-flex; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
}

/* ── Product page (PDP) ────────────────────────────── */
.pdp { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding-block: 14px 40px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.thumbs { display: grid; gap: 10px; align-content: start; }
.thumbs button { aspect-ratio: 1; border-radius: 10px; background: var(--tile); overflow: hidden; border: 2px solid transparent; }
.thumbs button.on { border-color: var(--fg); }
.thumbs img {
  width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply;
  pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none;
}
.stage { aspect-ratio: 1; border-radius: 18px; background: var(--tile); position: relative; overflow: hidden; display: grid; place-items: center; user-select: none; -webkit-user-select: none; }
.stage::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: auto; background: transparent; }
.stage img {
  width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply;
  pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none;
}
.stage .art svg { width: 60%; }
.stage .art svg.tall { width: 34%; }
.buybox { position: sticky; top: calc(var(--header-h) + 18px); display: grid; gap: 18px; }
.buybox .pbrand a:hover { color: var(--accent); }
.buybox h1 { margin: 2px 0 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.sku { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.price-big { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-big b { font-family: var(--display); font-stretch: 110%; font-weight: 900; font-size: 34px; line-height: 1; }
.price-big s { color: var(--muted); font-size: 16px; }
.price-big .off { background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 13px; padding: 3px 9px; border-radius: 6px; }
.size-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 800; font-size: 14px; }
.size-head button { font-size: 13px; font-weight: 700; text-decoration: underline; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); gap: 8px; }
.sizes button { height: 46px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; transition: border-color .15s, background .15s, color .15s; }
.sizes button:hover { border-color: var(--fg); }
.sizes button.on { background: var(--fg); color: #fff; border-color: var(--fg); }
.size-note { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.size-warn { color: var(--accent); font-weight: 700; font-size: 13px; }
.buy-actions { display: grid; gap: 10px; }
.assure { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 960px) {
  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { grid-auto-flow: column; grid-auto-columns: 64px; order: 2; overflow-x: auto; }
  .buybox { position: static; }
}

/* ── Cart drawer ───────────────────────────────────── */
.cart-lines { display: grid; gap: 0; }
.cline { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cline .thumb { width: 76px; height: 76px; border-radius: 10px; background: var(--tile); overflow: hidden; display: grid; place-items: center; }
.cline .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.cline .thumb svg { width: 60%; }
.cline .thumb svg.tall { width: 34%; }
.cline-top { display: flex; justify-content: space-between; gap: 10px; }
.cline-name { font-weight: 700; font-size: 14px; line-height: 1.3; }
.cline-meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.cline-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 99px; height: 34px; }
.qty button { width: 32px; height: 100%; font-weight: 800; font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-weight: 800; font-size: 14px; }
.remove { font-size: 12.5px; color: var(--muted); text-decoration: underline; }
.cart-foot { border-top: 1px solid var(--line); padding: 16px 18px 18px; display: grid; gap: 10px; background: #fff; }
.row { display: flex; justify-content: space-between; font-size: 14px; font-variant-numeric: tabular-nums; }
.row.total { font-size: 18px; font-weight: 800; padding-top: 4px; }
.gift { background: var(--accent-soft); color: #9a3412; border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 700; }
.small-note { font-size: 12.5px; color: var(--muted); text-align: center; }
.cart-empty { text-align: center; padding: 48px 10px; }
.cart-empty b { display: block; font-size: 17px; margin-bottom: 6px; }

/* ── Modal ─────────────────────────────────────────── */
.modal {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px;
  background: rgba(17,17,19,.52);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: scrimFade 0.2s ease forwards;
}
.modal-card {
  background: #fff; border-radius: 20px; width: min(560px, 100%); max-height: 88vh; overflow: auto; padding: 24px 26px; box-shadow: var(--shadow);
  animation: modalPop 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.modal-card h3 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: 22px; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 12px; }
.size-table th, .size-table td { padding: 9px 8px; text-align: center; border-bottom: 1px solid var(--line); }
.size-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.size-table tr.hl td { background: var(--accent-soft); font-weight: 800; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; translate: -50% 0; background: #161619; color: #fff;
  padding: 13px 22px; border-radius: 999px; font-size: 14px; font-weight: 700; z-index: 100;
  box-shadow: 0 14px 34px rgba(0,0,0,.22); display: flex; gap: 14px; align-items: center;
  border: 1px solid rgba(255,255,255,.1);
  animation: toastSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes toastSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.toast button { color: #ff8555; font-weight: 800; text-decoration: underline; }

/* ── Footer ────────────────────────────────────────── */
.site-footer { background: var(--fg); color: #d4d4d8; margin-top: 30px; }
.fcols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-block: 48px 34px; }
.fcols h5 { margin: 0 0 14px; color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.fcols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.fcols a:hover { color: #fff; text-decoration: underline; }
.fcols .logo img { height: 48px; margin-bottom: 6px; }
.fcols .logo b { color: #fff; }
.fcols p { font-size: 14px; max-width: 34ch; }
.fbottom { border-top: 1px solid #2a2a2e; padding-block: 18px; font-size: 13px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #9e9ea6; }
@media (max-width: 860px) { .fcols { grid-template-columns: 1fr 1fr; } }

/* Skeleton / reduced motion */
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ── Iconos, páginas de contenido (Envíos, Rastreo), pedido y confianza ───────── */
:root { --accent-ink: #c2410c; }            /* naranja para TEXTO pequeño sobre claro (contraste 5.2:1; el --accent solo da 3.8:1) */
::selection { background: var(--accent-soft); color: var(--fg); }
input, select, textarea { caret-color: var(--accent); }

.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Títulos de página */
.page-title { font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 4.2vw, 48px); letter-spacing: -.02em; line-height: 1.02; margin: 18px 0 10px; text-wrap: balance; }
.page-lead { max-width: 62ch; margin: 0 0 30px; font-size: 16px; color: #45454c; text-wrap: pretty; }
.sub-title { font-family: var(--display); font-stretch: 108%; font-weight: 900; text-transform: uppercase; font-size: 20px; letter-spacing: -.01em; line-height: 1.1; margin: 44px 0 10px; }
.sub-title.first { margin-top: 0; }

/* Envíos: calculadora + tarifas agrupadas */
.ship-layout { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.ship-calc { background: var(--tile); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; position: sticky; top: calc(var(--header-h) + 16px); }
.ship-calc label { font-size: 13px; font-weight: 800; }
.ship-calc .select { width: 100%; background-color: #fff; }
.ship-out { display: grid; grid-template-columns: auto 1fr; gap: 4px 26px; align-items: end; padding-top: 10px; }
.ship-out .fig { display: grid; gap: 4px; min-width: 0; }
.ship-out small { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.ship-out b { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: clamp(34px, 8vw, 48px); line-height: 1; }
.ship-out b.accent { color: var(--accent); }
.ship-out .time b { font-size: clamp(17px, 4vw, 21px); line-height: 1.15; text-transform: uppercase; letter-spacing: -.01em; }
.ship-note { grid-column: 1 / -1; margin: 8px 0 0; font-size: 14px; color: var(--muted); }

.rates { list-style: none; margin: 0; padding: 0; }
.rate { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.rate:last-child { border-bottom: 1px solid var(--line); }
.rate h3 { margin: 0; font-size: 17px; font-weight: 800; }
.rate .price { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 26px; line-height: 1; text-align: right; }
.rate p { margin: 0; grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.rate .where { margin-top: 8px; color: #45454c; line-height: 1.7; max-width: 62ch; }
.rate.on h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }

.flow { list-style: none; margin: 0; padding: 0; counter-reset: f; display: grid; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.flow li:last-child { border-bottom: 1px solid var(--line); }
.flow li::before { content: counter(f); grid-row: span 2; font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 24px; line-height: 1; color: var(--accent); }
.flow b { font-size: 16px; }
.flow span { grid-column: 2; color: var(--muted); font-size: 14.5px; }
.cta-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 36px; padding: 18px 20px; background: var(--tile); border-radius: var(--radius); font-size: 15px; transition: background .15s; }
.cta-row:hover { background: var(--tile-2); }

/* Rastreo */
.track-layout { display: grid; grid-template-columns: minmax(0, 520px) minmax(280px, 380px); justify-content: start; gap: clamp(28px, 6vw, 80px); align-items: start; }
.track-form { display: flex; gap: 10px; max-width: 520px; }
.track-input { flex: 1; min-width: 0; height: 48px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 20px; font: inherit; font-size: 16px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.track-input::placeholder { color: var(--muted); font-weight: 700; }
.track-input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.track-result { display: grid; gap: 16px; margin-top: 26px; max-width: 520px; }
.track-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 18px; }
.track-head .muted { font-size: 13px; }
.track-msg { background: var(--tile); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14.5px; }
.timeline { list-style: none; margin: 4px 0 0; padding: 0; display: grid; }
.timeline li { position: relative; display: grid; gap: 2px; padding: 0 0 24px 34px; color: var(--muted); font-size: 15px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #c9c9cf; z-index: 1; box-sizing: border-box; }
.timeline li::after { content: ''; position: absolute; left: 7px; top: 20px; bottom: -2px; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.done { color: var(--fg); }
.timeline li.done::before { background: var(--ok); border-color: var(--ok); }
.timeline li.done::after { background: var(--ok); }
.timeline li.now { color: var(--fg); }
.timeline li.now::before { background: var(--accent); border-color: var(--accent); }
.timeline li b { font-size: 16px; }
.timeline li span { color: #45454c; font-size: 14px; max-width: 44ch; }
.track-help p { margin: 0 0 14px; font-size: 14.5px; color: #45454c; }
.bubble { background: color-mix(in srgb, var(--wa) 13%, #fff); border-radius: 14px 14px 14px 4px; padding: 14px 16px; font-size: 14px; display: grid; gap: 6px; }
.bubble p { margin: 0; color: var(--fg); text-wrap: balance; }
.bubble .dim { color: #45454c; font-size: 13px; }
.bubble mark { background: none; color: inherit; font-weight: 900; border-bottom: 2px solid var(--accent); white-space: nowrap; }

/* Franja de pedido (portada) */
.order-band { background: var(--fg); color: #fff; border-radius: 22px; padding: clamp(26px, 4.5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 64px); align-items: end; }
.order-band h2 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 4.4vw, 54px); letter-spacing: -.02em; line-height: 1; text-wrap: balance; }
.order-band h2 em { font-style: normal; color: #ff8555; }
.order-band p { margin: 16px 0 0; color: #b6b6be; max-width: 46ch; font-size: 15.5px; text-wrap: pretty; }
.ob-side { display: grid; gap: 14px; }
.ob-pay { list-style: none; margin: 0; padding: 0; }
.ob-pay li { padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: 18px; letter-spacing: -.01em; }
.ob-pay li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.ob-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.ob-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: inherit; font-weight: 800; font-size: 14.5px; color: #fff; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }
.ob-link:hover { color: #ff8555; }

/* Prueba social: citas sin tarjeta */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.quote { margin: 0; border-top: 2px solid var(--fg); padding-top: 16px; display: grid; gap: 12px; align-content: start; }
.quote img { width: 100%; max-height: 380px; object-fit: cover; object-position: top; border-radius: var(--radius-sm); background: var(--tile); }
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 600; text-wrap: pretty; }
.quote figcaption { font-size: 13px; color: var(--muted); font-weight: 700; }

/* Bolsa: pie compacto */
.cart-foot { gap: 8px; }
.cf-ship { display: grid; gap: 6px; }
.cf-ship label { font-size: 12.5px; font-weight: 800; color: var(--muted); }
.cf-ship .select { width: 100%; }
.eta { font-size: 12.5px; color: var(--muted); }
.eta a { text-decoration: underline; text-underline-offset: 2px; }
.first-check { display: flex; gap: 10px; align-items: center; min-height: 36px; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.first-check input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }

/* Ficha: compartir y bloque de garantías */
.share-btn { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 44px; padding: 0 2px; font: inherit; font-weight: 800; font-size: 14px; color: var(--fg); background: none; border: 0; cursor: pointer; }
.share-btn:hover { color: var(--accent-ink); }
.assure > div { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 15px 16px; font-size: 13.5px; align-items: start; }
.assure > div + div { border-top: 1px solid var(--line); }
.assure .as-ic { display: grid; place-items: center; height: 24px; color: var(--fg); font-style: normal; }
.assure b { display: block; font-size: 14px; margin-bottom: 2px; }
.assure span { color: var(--muted); }
.assure a { color: var(--fg); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* Medios de pago (ventana) */
.pay-list { list-style: none; margin: 0 0 6px; padding: 0; }
.pay-list li { padding: 13px 0; border-top: 1px solid var(--line); font-family: var(--display); font-stretch: 112%; font-weight: 900; text-transform: uppercase; font-size: 17px; }
.pay-list li:last-child { border-bottom: 1px solid var(--line); }
.pay-qr { display: grid; gap: 8px; justify-items: center; margin-top: 16px; text-align: center; }
.pay-qr img { width: min(240px, 70%); border-radius: var(--radius-sm); border: 1px solid var(--line); }

@media (max-width: 980px) {
  .quotes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .ship-layout, .track-layout, .order-band { grid-template-columns: 1fr; }
  .ship-calc { position: static; }
  .order-band { align-items: start; }
}
@media (max-width: 560px) {
  .quotes { grid-template-columns: 1fr; }
  .track-form { flex-direction: column; }
  .track-input { flex: none; width: 100%; }
}

/* Bolsa: el precio de cada línea no se parte en dos renglones */
.cline-top b { white-space: nowrap; }

/* Sin renglones con una sola palabra en los textos nuevos */
.ship-note, .rate p, .flow span, .timeline li span, .track-help p, .order-band p, .quote blockquote, .page-lead { text-wrap: pretty; }
