/* Camiseta Fútbol Pro — hoja de estilos única */
/* Fuentes alojadas en la propia web (sin Google Fonts) */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(/fonts/barlow-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(/fonts/barlow-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(/fonts/barlow-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-display: swap; src: url(/fonts/big-shoulders-display-latin-800-normal.woff2) format("woff2"); }

:root {
  --ink: #0e1b33;
  --ink-2: #26334d;
  --muted: #5b6475;
  --line: #e2e5ea;
  --surface: #f2f4f1;
  --bg: #ffffff;
  --brand: #f7941d;      /* naranja de la marca */
  --brand-dark: #e5820c;
  --error: #b42318;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 6px;
  --r-md: 10px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Cabecera ---------- */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 7px 16px;
}
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1;
}
.wordmark span { color: var(--brand); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
@media (max-width: 420px) { .brand .wordmark { font-size: 22px; } .brand img { width: 34px; height: 34px; } }
.topbar strong { color: var(--brand); font-weight: 600; }
@media (max-width: 600px) { .topbar .hide-sm { display: none; } }
.cart-link {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-weight: 600;
  padding: 8px 12px; border-radius: var(--r-sm);
}
.cart-link:hover { background: var(--surface); }
.cart-count {
  min-width: 24px; height: 24px; padding: 0 6px;
  border-radius: 12px; background: var(--ink); color: #fff;
  font-size: 13px; display: inline-grid; place-items: center;
}
.cart-count[data-n="0"] { background: var(--line); color: var(--muted); }

/* ---------- Portada ---------- */
.hero { padding: 48px 0 28px; }
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  max-width: 13ch;
}
.hero p { margin: 0; color: var(--muted); font-size: 18px; max-width: 46ch; }

/* Banner de portada */
.hero-banner { position: relative; background: #070d1a; color: #fff; overflow: hidden; isolation: isolate; }
.hero-banner picture, .hero-banner img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-banner picture { z-index: -2; }
.hero-banner img { object-fit: cover; object-position: 70% center; }
.hero-content { position: relative; }
html { scroll-behavior: smooth; }
#catalogo { scroll-margin-top: 72px; } /* que la cabecera fija no tape el título */
.hero-banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(7, 13, 26, .92) 0%, rgba(7, 13, 26, .75) 38%, rgba(7, 13, 26, 0) 65%);
}
.hero-content { min-height: clamp(400px, 38vw, 540px); display: flex; flex-direction: column; justify-content: center; padding-top: 40px; padding-bottom: 40px; }
.hero-content > * { max-width: 560px; }
.hero-banner h1 {
  font-family: var(--display); font-weight: 800; font-size: clamp(46px, 6.2vw, 86px);
  line-height: .92; letter-spacing: -0.01em; margin: 0 0 18px; max-width: 11ch;
}
.hero-banner h1 span { color: var(--brand); }
.hero-sub { font-size: 19px; color: #d5dbe6; margin: 0 0 26px; max-width: 38ch; }
.hero-banner .hero-cta { flex: 0 0 auto; align-self: flex-start; padding: 0 32px; }
.hero-steps { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; color: #d5dbe6; }
.hero-steps li { display: flex; align-items: center; gap: 8px; }
.hero-steps b {
  width: 24px; height: 24px; border-radius: 50%; flex: 0 0 24px; display: grid; place-items: center;
  border: 1.5px solid var(--brand); color: var(--brand); font-size: 13px;
}
@media (max-width: 699px) {
  /* Móvil: franja con la camiseta arriba y el texto debajo, sin solaparse */
  .hero-banner picture { position: relative; display: block; height: 230px; }
  .hero-banner img { object-position: center 45%; }
  .hero-banner::after { inset: 0 0 auto 0; height: 231px; background: linear-gradient(180deg, rgba(7, 13, 26, 0) 55%, #070d1a 100%); }
  .hero-content { min-height: 0; padding-top: 6px; padding-bottom: 28px; }
  .hero-banner h1 { font-size: clamp(44px, 12.5vw, 58px); }
  .hero-sub { font-size: 17px; margin-bottom: 20px; }
  .hero-banner .hero-cta { align-self: stretch; }
  .hero-steps { margin-top: 18px; font-size: 14px; flex-direction: column; gap: 8px; }
}
.catalog-title { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 44px); line-height: 1; margin: 44px 0 0; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0 20px; }
.chip {
  border: 1px solid var(--line); background: var(--bg);
  padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 500;
}
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  padding-bottom: 64px;
}
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 1060px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { text-decoration: none; display: block; }
.card-img { aspect-ratio: 1; background: var(--surface); border-radius: var(--r-md); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-img img { transform: scale(1.03); }
.card h2 { font-size: 17px; font-weight: 600; line-height: 1.3; margin: 12px 0 2px; }
.card .variant { color: var(--muted); font-size: 14px; margin: 0; }
.price { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
.card .price { display: block; margin-top: 8px; }

/* ---------- Ficha de producto ---------- */
.product { display: grid; gap: 28px; padding: 24px 0 64px; }
.product > *, .checkout > * { min-width: 0; }
@media (min-width: 900px) { .product { grid-template-columns: 1.1fr 1fr; gap: 56px; padding-top: 40px; } }

.gallery-main { position: relative; aspect-ratio: 1; background: var(--surface); border-radius: var(--r-md); overflow: hidden; }
.gallery-track {
  display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.gallery-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gallery-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(14, 27, 51, .3); transition: width .2s, background .2s; }
.gallery-dots span.on { width: 20px; border-radius: 4px; background: var(--ink); }
@media (min-width: 900px) { .gallery-dots { display: none; } }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button {
  flex: 0 0 72px; aspect-ratio: 1; padding: 0; border: 2px solid transparent;
  border-radius: var(--r-sm); overflow: hidden; background: var(--surface); cursor: pointer;
}
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.info h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(34px, 4.6vw, 52px); line-height: 0.98; margin: 0 0 8px;
}
.info .variant { color: var(--muted); margin: 0 0 16px; }
.info .price { font-size: 40px; }

.field { margin-top: 26px; }
legend.field-label { padding: 0; width: 100%; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; margin-bottom: 10px; }
.field-label small { font-weight: 400; color: var(--muted); font-size: 14px; }

.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.sizes button {
  height: 48px; border: 1px solid var(--line); background: var(--bg);
  border-radius: var(--r-sm); font-weight: 600; cursor: pointer;
}
.sizes button[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.options { display: grid; gap: 8px; }
.option {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; cursor: pointer;
}
.option:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.option input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }

/* Personalización: la pieza protagonista */
.custom {
  margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
.custom-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--bg); border: 0; padding: 16px; cursor: pointer; text-align: left; font-weight: 600;
}
.custom-toggle .plus { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--brand); }
.free-badge {
  background: var(--brand); color: var(--ink); border-radius: 999px; padding: 4px 12px;
  font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: .06em; text-transform: uppercase;
}
.custom { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.custom-body { display: none; padding: 0 16px 18px; }
.custom[data-open="true"] .custom-body { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .custom[data-open="true"] .custom-body { grid-template-columns: 1fr 180px; align-items: start; } }
.custom-fields { display: grid; gap: 12px; }

.shirt-back { position: relative; width: 180px; justify-self: center; }
.shirt-back svg { width: 100%; height: auto; display: block; }
.shirt-back .name, .shirt-back .num {
  position: absolute; left: 0; right: 0; text-align: center; color: #fff;
  font-family: var(--display); font-weight: 800; line-height: 1; pointer-events: none;
}
.shirt-back .name { top: 29%; font-size: 17px; letter-spacing: 0.06em; padding: 0 22%; white-space: nowrap; overflow: hidden; }
.shirt-back .num { top: 40%; font-size: 72px; }
.shirt-back .name:empty::before { content: "NOMBRE"; opacity: .35; }
.shirt-back .num:empty::before { content: "10"; opacity: .35; }

.input, .select, textarea.input {
  width: 100%; height: 48px; padding: 0 14px; border: 1px solid #c9ced6;
  border-radius: var(--r-sm); background: var(--bg); font-size: 16px;
}
textarea.input { height: 84px; padding: 12px 14px; resize: vertical; }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.input[aria-invalid="true"] { border-color: var(--error); }
.field-hint { margin: -6px 0 0; font-size: 13px; color: var(--muted); }
label.lbl { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-sm); }
.qty button { width: 44px; height: 46px; border: 0; background: none; font-size: 20px; cursor: pointer; }
.qty output { min-width: 32px; text-align: center; font-weight: 600; }

.buy-row { display: flex; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: var(--r-sm); border: 0;
  font-weight: 600; font-size: 17px; cursor: pointer; text-decoration: none;
}
.btn-primary { background: var(--brand); color: var(--ink); flex: 1; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:disabled { background: #f6c58c; cursor: not-allowed; }
.btn-ghost { background: var(--surface); color: var(--ink); }
.form-error { color: var(--error); font-size: 15px; margin: 10px 0 0; min-height: 1em; }

.facts { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: 10px; }
.facts svg { flex: 0 0 20px; margin-top: 2px; }
.desc { color: var(--ink-2); margin-top: 28px; max-width: 60ch; }
.desc h2 { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--ink); margin: 0 0 8px; }
.desc p { margin: 0 0 12px; }
.desc ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.desc li { position: relative; padding-left: 22px; font-size: 16px; }
.desc li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* Prueba social */
.social { padding: 8px 0 64px; }
.social-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; margin-bottom: 18px; }
.social h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 44px); line-height: 1; margin: 0; }
.social-sub, .social-score { margin: 0; color: var(--muted); }
.social-score strong { color: var(--ink); }
.stars { color: var(--brand); letter-spacing: 2px; font-size: 18px; }
.stars span { color: #3a4763; }
.social-score .stars span { color: var(--line); }
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin;
}
@media (max-width: 699px) { .reviews { grid-auto-columns: 78%; margin-right: -16px; padding-right: 16px; } }
.review {
  scroll-snap-align: start; display: flex; flex-direction: column;
  background: var(--ink); color: #d5dbe6; border-radius: 14px; overflow: hidden;
}
.review-img { aspect-ratio: 4 / 5; background: #1b2944; }
.review-img img { width: 100%; height: 100%; object-fit: cover; }
.review-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.review-tag {
  align-self: flex-start; border: 1px solid var(--brand); color: var(--brand); background: rgba(247, 148, 29, .1);
  border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.review p { margin: 0; font-size: 16px; line-height: 1.55; flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; border-top: 1px solid #26334d; padding-top: 14px; margin-top: 4px; }
.review footer > span:last-child { display: grid; font-size: 13px; line-height: 1.35; }
.review footer strong { color: #fff; font-size: 15px; }
.review footer small { color: #8a96ab; font-size: 12px; }
.avatar {
  width: 36px; height: 36px; flex: 0 0 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand); color: var(--ink); font-weight: 700; font-size: 16px;
}
.verified { color: var(--brand); font-weight: 600; }
/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; min-width: 56px; padding: 0 14px; border-radius: 999px;
  background: #25d366; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: 0 6px 20px rgba(14, 27, 51, .25); transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(14, 27, 51, .3); }
.wa-float svg { flex: 0 0 28px; }
@media (max-width: 699px) { .wa-float .wa-label { display: none; } .wa-float { padding: 0; justify-content: center; } }

.added {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  max-width: 460px; margin: 0 auto;
  background: var(--ink); color: #fff; border-radius: var(--r-md);
  padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transform: translateY(140%); transition: transform .25s ease;
}
.added[data-show="true"] { transform: none; }
/* En móvil el aviso deja sitio al botón de WhatsApp (abajo a la derecha) */
@media (max-width: 699px) { .added { right: 84px; } }
.added a { color: #fff; font-weight: 600; }

/* ---------- Carrito y pago ---------- */
.checkout { display: grid; gap: 32px; padding: 32px 0 72px; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1fr 400px; gap: 48px; align-items: start; } }
.page-title { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 64px); line-height: 1; margin: 0 0 8px; }
h2.section { font-family: var(--display); font-weight: 800; font-size: 28px; margin: 36px 0 14px; }

.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--r-sm); background: var(--surface); }
.line h3 { font-size: 16px; margin: 0 0 4px; font-weight: 600; line-height: 1.3; }
.line .meta { font-size: 14px; color: var(--muted); margin: 0; }
.line .right { text-align: right; display: grid; gap: 8px; justify-items: end; align-content: space-between; }
.line .qty button { width: 34px; height: 34px; font-size: 17px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 14px; }

.form-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

.summary { background: var(--surface); border-radius: var(--r-md); padding: 22px; }
@media (min-width: 960px) { .summary { position: sticky; top: 84px; } }
.summary h2 { margin-top: 0; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; }
.sum-total { border-top: 1px solid #d6dad2; margin-top: 8px; padding-top: 14px; align-items: baseline; }
.sum-total .price { font-size: 34px; }
.pay-note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
#pay-box { margin-top: 18px; }
.pay-loading { margin: 0; min-height: 152px; display: grid; place-items: center; color: var(--muted); font-size: 14px; border-radius: 4px; background: linear-gradient(90deg, #eceee9 25%, #f6f7f4 50%, #eceee9 75%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
#paypal-buttons { min-height: 0; }
.wallet-btn { height: 48px; margin-bottom: 10px; }
.wallet-btn button { width: 100% !important; height: 48px !important; border-radius: 4px !important; }
.apple-pay-btn {
  display: block; width: 100%; border: 0; border-radius: 4px; cursor: pointer;
  -webkit-appearance: -apple-pay-button; -apple-pay-button-type: pay; -apple-pay-button-style: black;
}
.pay-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; margin: 14px 0 10px; }
.pay-divider::before, .pay-divider::after { content: ""; flex: 1; height: 1px; background: #d6dad2; }
.card-field { min-height: 56px; }
.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
#card-pay { margin-top: 6px; }
.legal-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-top: 16px; }
.legal-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ink); }

.empty { padding: 60px 0; }
.empty p { color: var(--muted); }

/* ---------- Gracias ---------- */
.thanks { padding: 56px 0 80px; max-width: 640px; }
.thanks .order-no {
  font-family: var(--display); font-weight: 800; font-size: clamp(36px, 7vw, 60px);
  line-height: 1; margin: 18px 0 6px; letter-spacing: 0.02em;
}
.thanks ol { padding-left: 20px; color: var(--ink-2); }
.thanks li { margin-bottom: 8px; }

/* ---------- Textos legales ---------- */
.legal { max-width: 720px; padding: 32px 0 72px; }
.legal h2 { font-family: var(--display); font-weight: 800; font-size: 30px; margin: 44px 0 10px; scroll-margin-top: 80px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal h4 { font-size: 16px; margin: 18px 0 6px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal li ul { margin-top: 6px; }
.legal-index { font-size: 15px; color: var(--muted); margin-top: 8px; }
.legal-date { color: var(--muted); font-size: 14px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0 14px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.legal-table th { background: var(--surface); font-weight: 600; }

/* ---------- Pie ---------- */
.site-footer { background: var(--ink); color: #c9d0dc; padding: 40px 0 28px; font-size: 15px; }
.site-footer .wrap { display: grid; gap: 24px; }
@media (min-width: 760px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .wordmark { color: #fff; font-size: 24px; }
.site-footer .wordmark span { color: var(--brand); }
.site-footer .brand img { width: 48px; height: 48px; filter: invert(1); }
.site-footer h3 { color: #fff; font-size: 15px; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: #c9d0dc; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid #2a3753; padding-top: 18px; font-size: 13px; }

/* ---------- Cookies ---------- */
.cookies {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 10px 30px rgba(14, 27, 51, .16); padding: 18px;
}
.cookies p { margin: 0 0 14px; font-size: 15px; }
.cookies .actions { display: flex; gap: 10px; }
.cookies .btn { height: 44px; flex: 1; font-size: 15px; }
.cookies .btn-accept { background: var(--ink); color: #fff; }

/* Guía de tallas */
.guide-btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0;
  font-weight: 500; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.size-info { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); }
.size-info:empty { display: none; }
@media (max-width: 699px) { .info .field, .info .custom { margin-top: 20px; } .product { padding-top: 16px; } }
.sheet {
  width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0;
  border-radius: var(--r-md); color: var(--ink); overflow: auto;
}
.sheet::backdrop { background: rgba(14, 27, 51, .55); }
.sheet-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding: 20px 20px 8px; position: sticky; top: 0; background: var(--bg);
}
.sheet-head h2 { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.05; margin: 0; }
.sheet-close { width: 40px; height: 40px; flex: 0 0 40px; border: 0; border-radius: 50%; background: var(--surface); font-size: 24px; line-height: 1; cursor: pointer; }
.table-scroll { overflow-x: auto; padding: 8px 20px 0; }
.size-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table thead th { font-size: 13px; font-weight: 600; color: var(--muted); white-space: normal; vertical-align: bottom; }
.size-table tbody th button {
  min-width: 48px; height: 36px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg); font-weight: 600; cursor: pointer;
}
.size-table tbody tr:hover { background: var(--surface); }
.size-table tbody tr[data-current] th button { background: var(--ink); color: #fff; border-color: var(--ink); }
.sheet-note { font-size: 14px; color: var(--muted); margin: 10px 20px 0; }
.how-to { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: center; margin: 16px 20px 20px; padding: 16px; background: var(--surface); border-radius: var(--r-md); }
.how-to svg { width: 100%; height: auto; color: var(--ink); }
.how-to p { margin: 0 0 6px; font-size: 15px; }
.how-to p:last-child { margin: 0; color: var(--muted); }
@media (max-width: 480px) { .how-to { grid-template-columns: 80px 1fr; } .size-table { font-size: 14px; } .size-table th, .size-table td { padding: 9px 5px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
