/* ===== Tokens ===== */
:root {
  --bg: #0B0B0B;
  --surface: #151515;
  --surface-2: #1E1E1E;
  --text: #F2F2F2;
  --muted: #A3A3A3;
  --border: #2A2A2A;
  --accent: #C6FF00;
  --accent-ink: #0B0B0B;
  --pink: #FF4FA3;
  --light: #F2F0EA;
  --light-text: #141414;
  --light-muted: #555;

  --font-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --header-h: 68px;
  --gutter: 16px;
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  /* La cinta girada (.marquee) sobresale a propósito por los lados. `clip` la recorta sin crear
     un contenedor de scroll, así el header sticky sigue funcionando. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  margin: 0 0 .4em;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: .005em;
  text-transform: uppercase;
}
h2 { font-size: clamp(2.2rem, 5.5vw + .5rem, 4.2rem); }
h3 { font-size: 1.5rem; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - var(--gutter) * 2, 1200px);
  margin-inline: auto;
}
.container--narrow { width: min(100% - var(--gutter) * 2, 820px); }
.center { text-align: center; margin-top: 40px; }

.outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1 var(--font-body);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  transition: transform .2s ease-out, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { box-shadow: 0 0 0 4px rgba(198, 255, 0, .2), 0 10px 30px rgba(198, 255, 0, .25); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--dark { background: var(--bg); color: var(--accent); }
.btn--dark:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .85rem; }
.btn--block { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  background: rgba(11, 11, 11, .8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-color: var(--border); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 8px; }
.header__inner .logo { margin-right: auto; }

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
}
.cart-btn:hover { color: var(--accent); }
.cart-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn .badge { position: absolute; top: 0; right: -2px; }

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--text);
}
.logo span { color: var(--accent); }
.logo em { font-style: normal; color: var(--pink); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span { height: 2px; background: var(--text); transition: transform .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.nav {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px var(--gutter) 28px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; }
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav ul a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.nav ul a:hover { color: var(--accent); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .cart-btn { order: 2; margin-left: 12px; }
  .nav {
    order: 1;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    padding: 0;
    background: none;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav ul { display: flex; gap: 28px; }
  .nav ul a {
    padding: 6px 0;
    border: 0;
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 500;
    text-transform: none;
    color: var(--muted);
  }
  .nav ul a:hover { color: var(--text); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 56px;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 90% 20%, rgba(198, 255, 0, .12), transparent 70%),
    radial-gradient(500px 360px at 0% 100%, rgba(255, 79, 163, .10), transparent 70%),
    var(--bg);
}
.hero__inner { display: grid; gap: 40px; align-items: center; }

.hero__kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
}

.hero__title {
  font-size: clamp(3.4rem, 11vw + .5rem, 7.5rem);
  line-height: .92;
  margin-bottom: 24px;
}
.hero__title span { display: block; }
.hero__title .outline { -webkit-text-stroke-width: 2.5px; }

.hero__lead { max-width: 34em; color: var(--muted); font-size: 1.1rem; }
.hero__lead strong { color: var(--text); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__art {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin-inline: auto;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero__art::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: var(--accent);
}
.hero__photo {
  position: relative;
  width: 72%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 3px solid var(--bg);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .5);
  transform: rotate(-4deg);
  animation: float 6s ease-in-out infinite;
}

.sticker {
  position: absolute;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
  white-space: nowrap;
}
.sticker--1 { top: 6%; left: 0; background: var(--pink); color: #fff; transform: rotate(-8deg); }
.sticker--2 { bottom: 10%; left: -2%; background: var(--text); color: var(--bg); transform: rotate(5deg); }
.sticker--3 { top: 20%; right: 0; background: var(--bg); color: var(--accent); border: 2px solid var(--accent); transform: rotate(9deg); }

@keyframes float {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: translateY(-10px) rotate(-2deg); }
}

/* Entrada escalonada del hero */
.js .hero__title span,
.js .hero__lead,
.js .hero__actions,
.js .hero__art { animation: rise .7s ease-out both; }
.js .hero__title span:nth-child(2) { animation-delay: .08s; }
.js .hero__title span:nth-child(3) { animation-delay: .16s; }
.js .hero__lead { animation-delay: .26s; }
.js .hero__actions { animation-delay: .34s; }
.js .hero__art { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

@media (min-width: 900px) {
  .hero { padding: calc(var(--header-h) + 72px) 0 96px; }
  .hero__inner { grid-template-columns: 1.15fr 1fr; gap: 48px; }
}

/* ===== Marquee ===== */
.marquee {
  overflow: hidden;
  background: var(--accent);
  color: var(--accent-ink);
  transform: rotate(-1.5deg);
  margin: 0 -2%;
  border-block: 2px solid var(--bg);
}
.marquee__track {
  display: flex;
  gap: 28px;
  width: max-content;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { padding-block: clamp(4rem, 10vw, 7.5rem); }
.section--alt { background: var(--surface); }
.section--light { background: var(--light); color: var(--light-text); }
.section--light h2, .section--light h3 { color: var(--light-text); }

.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p:last-child { color: var(--muted); }
.section--light .section__head p:last-child { color: var(--light-muted); }

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.eyebrow--dark { background: var(--light-text); color: var(--accent); }

/* ===== Filters ===== */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font: 500 .95rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* ===== Products ===== */
.products { display: grid; gap: 20px; }
@media (min-width: 640px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .products { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s ease-out, border-color .25s;
}
.product:hover { transform: translateY(-4px); border-color: #3a3a3a; }
.product[hidden] { display: none; }

.product__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease-out; }
.product:hover .product__media img { transform: scale(1.05); }

.product__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: var(--pink);
  color: #fff;
  border-radius: 6px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.product__body { display: flex; flex-direction: column; gap: 14px; flex: 1; padding: 22px; }
.product__body h3 { margin: 0; }
.product__body p { margin: 0; color: var(--muted); font-size: .95rem; }
.product__price { font-weight: 700; color: var(--accent); }
.product__body .product__collection { margin-bottom: 4px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product__body .product__meta { font-size: .9rem; }

.product--custom {
  justify-content: center;
  background: var(--accent);
  border-color: var(--accent);
}
.product--custom .product__body { justify-content: center; padding: 32px 26px; }
.product--custom h3 { font-size: 2.2rem; color: var(--accent-ink); }
.product--custom .product__body p { color: rgba(11, 11, 11, .75); }
.product--custom .btn { margin-top: 8px; }

.product__label { display: block; margin-bottom: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.swatch {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 2px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent); }

.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size {
  min-width: 44px;
  min-height: 40px;
  padding: 6px 10px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font: 700 .85rem var(--font-body);
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.size:hover { border-color: var(--text); }
.size[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.size.is-soldout { color: var(--muted); text-decoration: line-through; cursor: not-allowed; opacity: .55; }
.size.is-soldout:hover { border-color: var(--border); }
/* Color agotado: una raya diagonal sobre la muestra. */
.swatch.is-soldout { position: relative; opacity: .6; }
.swatch.is-soldout::after { content: ""; position: absolute; inset: 50% -2px auto; height: 2px; background: var(--text); transform: rotate(-45deg); }
.product__add:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.cart-item__soldout { color: var(--accent); }
.co-error { margin: 0 0 12px; padding: 12px 14px; border: 1px solid #FF6B6B; border-radius: var(--radius-sm); color: #FFB3B3; font-weight: 700; }

.product__add { margin-top: auto; }
.product__body .product__hint { color: var(--accent); font-size: .85rem; font-weight: 700; }
.product__hint:empty { display: none; }

/* ===== Carrito ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(0, 0, 0, .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.cart-overlay.is-open { opacity: 1; visibility: visible; }

.cart {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(100%, 420px);
  background: var(--bg);
  border-left: 1px solid var(--border);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .25s ease-out, visibility .25s;
}
.cart.is-open { visibility: visible; transform: none; transition: transform .25s ease-out, visibility 0s; }

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--border);
}
.cart__head h2 { margin: 0; font-size: 1.8rem; }
.cart__close {
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.cart__items { flex: 1; overflow-y: auto; padding: 0 var(--gutter); }
.cart__empty { padding: 48px 0; text-align: center; color: var(--muted); }
.cart__foot { padding: 16px var(--gutter); border-top: 1px solid var(--border); }
.cart__foot[hidden] { display: none; }
.cart__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 700; }
.cart__total strong { color: var(--accent); font-size: 1.25rem; }
.cart__note { margin: 6px 0 14px; font-size: .85rem; color: var(--muted); }

.cart-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 72px; height: 72px; flex-shrink: 0; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item h3 { margin: 0 0 2px; font-size: 1.1rem; }
.cart-item p { margin: 0 0 8px; font-size: .85rem; color: var(--muted); }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .9rem; }
.cart-item__remove {
  min-height: 32px;
  margin-top: 4px;
  padding: 4px 0;
  background: none;
  border: 0;
  color: var(--muted);
  font: 500 .8rem var(--font-body);
  text-decoration: underline;
  cursor: pointer;
}
.cart-item__remove:hover { color: var(--text); }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: 8px; }
.qty button {
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}
.qty button:hover { color: var(--accent); }
.qty span { min-width: 24px; text-align: center; font-weight: 700; }

/* ===== Finalizar compra ===== */
.checkout { padding-block: calc(var(--header-h) + 32px) clamp(3rem, 8vw, 6rem); }
.checkout h1 { font-size: clamp(2.6rem, 8vw, 4.5rem); margin-bottom: 24px; }
.checkout__grid { display: grid; gap: 24px; }
.checkout__grid[hidden] { display: none; }
.checkout__form fieldset { margin: 0 0 24px; padding: 0 0 8px; border: 0; border-bottom: 1px solid var(--border); }
.checkout__form legend { padding: 0; margin-bottom: 12px; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; }

.co-field { margin-bottom: 16px; }
.co-field label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 700; }
.co-optional { font-weight: 400; color: var(--muted); }
.co-field input, .co-field select, .co-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: 500 1rem var(--font-body);
}
.co-field textarea { resize: vertical; }
.co-field input::placeholder { color: var(--muted); }
.co-field input:focus, .co-field select:focus, .co-field textarea:focus { outline: none; border-color: var(--accent); }
.co-note { margin: 8px 0 16px; font-size: .85rem; color: var(--muted); }

.pay-options { display: grid; gap: 8px; margin-bottom: 12px; }
.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 500;
  cursor: pointer;
}
.pay-option:hover { border-color: var(--text); }
.pay-option:has(input:checked) { border-color: var(--accent); }
.pay-option input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.pay-details:empty { display: none; }
.pay-details { margin-bottom: 16px; padding: 14px; background: var(--surface); border-radius: var(--radius-sm); font-size: .9rem; color: var(--muted); }
.pay-details p { margin: 0 0 6px; }
.pay-details p:last-child { margin: 0; }
.pay-details dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 8px 0 0; }
.pay-details dd { margin: 0; color: var(--text); font-weight: 700; overflow-wrap: anywhere; }

.checkout__summary { padding: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.checkout__summary h2 { font-size: 1.8rem; }
.checkout__summary ul { list-style: none; margin: 0 0 16px; padding: 0; }
.checkout__summary li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.checkout__summary li strong { flex-shrink: 0; font-size: .85rem; }
.checkout__summary small { display: block; color: var(--muted); }
.co-note[hidden] { display: none; }

@media (min-width: 900px) {
  .checkout__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
  .checkout__summary { position: sticky; top: calc(var(--header-h) + 16px); grid-column: 2; grid-row: 1; }
}

/* ===== Tienda ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.no-scroll { overflow: hidden; }
.nav ul a[aria-current="page"] { color: var(--accent); }

.shop-head {
  padding: calc(var(--header-h) + 40px) 0 32px;
  background: radial-gradient(600px 300px at 90% 0%, rgba(198, 255, 0, .10), transparent 70%), var(--bg);
}
.shop-head h1 { font-size: clamp(3.4rem, 11vw + .5rem, 7rem); line-height: .95; margin-bottom: 12px; }
.shop-head__lead { margin: 0; max-width: 34em; color: var(--muted); }

.shop { display: grid; gap: 32px; padding-bottom: clamp(4rem, 10vw, 7rem); }
.shop__main { min-width: 0; }

.shop__toolbar { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.shop__search { grid-column: 1 / -1; }
.shop__search input, .shop__sort select, .filter__price input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: 500 1rem var(--font-body);
}
.shop__search input::placeholder { color: var(--muted); }
.shop__search input:focus, .shop__sort select:focus, .filter__price input:focus { outline: none; border-color: var(--accent); }

.shop__sort { display: flex; align-items: center; gap: 8px; justify-content: flex-end; min-width: 0; }
.shop__sort label { font-size: .85rem; color: var(--muted); }
.shop__sort select { width: auto; max-width: 170px; }

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: 0;
}
.badge[hidden] { display: none; }

.shop__results { margin: 16px 0 12px; font-size: .95rem; color: var(--muted); }

.shop__active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.shop__active[hidden] { display: none; }
.tag, .tag-clear { min-height: 36px; font: 500 .85rem var(--font-body); cursor: pointer; }
.tag {
  padding: 6px 12px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.tag:hover { border-color: var(--accent); }
.tag-clear { padding: 6px 8px; background: none; border: 0; color: var(--accent); text-decoration: underline; }

.shop__empty {
  margin-bottom: 20px;
  padding: 32px 24px;
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.shop__empty[hidden] { display: none; }
.shop__empty h2 { font-size: 1.8rem; }
.shop__empty p { color: var(--muted); }

/* Panel de filtros: pantalla completa en móvil, columna fija en escritorio */
.shop__filters {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  visibility: hidden;
  transform: translateX(-100%);
  transition: transform .25s ease-out, visibility .25s;
}
.shop__filters.is-open { visibility: visible; transform: none; transition: transform .25s ease-out, visibility 0s; }
.shop__filters form {
  flex: 1;
  overflow-y: auto;
  padding: 0 var(--gutter);
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.shop__filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  border-bottom: 1px solid var(--border);
}
.shop__filters-head h2 { margin: 0; font-size: 1.8rem; }
.shop__filters-close {
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.shop__filters-foot { padding: 12px var(--gutter); border-top: 1px solid var(--border); }

.filter { border-bottom: 1px solid var(--border); }
.filter summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding-right: 28px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
}
.filter summary::-webkit-details-marker { display: none; }
.filter summary:hover { color: var(--accent); }
.filter summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease-out, margin-top .2s ease-out;
}
.filter[open] summary::after { margin-top: -2px; transform: rotate(-135deg); }
.filter__options { display: grid; gap: 2px; padding-bottom: 16px; }

.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  font-size: .95rem;
  cursor: pointer;
}
.opt input { width: 18px; height: 18px; flex-shrink: 0; margin: 0; accent-color: var(--accent); cursor: pointer; }
.opt:hover .opt__label { color: var(--accent); }
.opt__label { flex: 1; }
.opt__count { font-size: .8rem; color: var(--muted); }
.opt.is-empty { opacity: .45; }
.opt__dot { width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid #555; }

/* Tallas como botones */
.filter__options--talla { display: flex; flex-wrap: wrap; gap: 8px; }
.opt--talla { position: relative; min-width: 48px; min-height: 44px; justify-content: center; border: 1.5px solid var(--border); border-radius: 8px; font-weight: 700; }
.opt--talla input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.opt--talla .opt__label { flex: none; }
.opt--talla .opt__count { display: none; }
.opt--talla:hover { border-color: var(--text); }
.opt--talla:has(input:checked) { background: var(--accent); border-color: var(--accent); }
.opt--talla:has(input:checked) .opt__label { color: var(--accent-ink); }
.opt--talla:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 3px; }

.filter__price { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 16px; }
.filter__price label { font-size: .85rem; color: var(--muted); }
.filter__price input { margin-top: 4px; }

/* Tarjetas compactas: dos columnas en móvil, como en las tiendas de ropa */
.products--shop { grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 639px) {
  .products--shop .product__body { padding: 12px; gap: 10px; }
  .products--shop .product__body h3 { font-size: 1.15rem; }
  .products--shop .product__body .product__collection { font-size: .65rem; }
  .products--shop .product__body .product__meta,
  .products--shop .product__price { font-size: .85rem; }
  .products--shop .product__tag { top: 8px; left: 8px; font-size: .65rem; }
  .products--shop .size { min-width: 40px; padding: 6px; }
  .products--shop .swatch { width: 28px; height: 28px; }
  .products--shop .btn { min-height: 44px; padding: 10px 8px; font-size: .75rem; }
  .product--custom .product__body { padding: 16px 12px; }
  .products--shop .product--custom h3 { font-size: 1.5rem; }
}
@media (min-width: 640px) { .products--shop { gap: 20px; } }
@media (min-width: 1200px) { .products--shop { grid-template-columns: repeat(3, 1fr); } }

@media (min-width: 960px) {
  .shop { grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
  .shop__filters {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    z-index: auto;
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
    /* Separa los números de la barra de desplazamiento */
    padding-right: 14px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    background: none;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .shop__filters form { flex: none; overflow: visible; padding: 0; }
  .shop__filters-head { padding: 0 0 12px; }
  .shop__filters-close, .shop__filters-foot, .shop__filters-open { display: none; }
  .shop__toolbar { grid-template-columns: 1fr auto; }
  .shop__search { grid-column: auto; }
}

/* ===== Steps ===== */
.steps { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border: 2px solid var(--light-text);
  border-radius: var(--radius);
  box-shadow: 6px 6px 0 var(--light-text);
  transition: transform .2s ease-out, box-shadow .2s ease-out;
}
.step:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--light-text); }
.step__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--light-text);
}
.step p { margin: 0; color: var(--light-muted); }

/* ===== Why DTF ===== */
.why { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .why { grid-template-columns: 1fr 1fr; gap: 64px; } }
.why__text p:last-child { color: var(--muted); }
.hl { background: var(--accent); color: var(--accent-ink); padding: 0 .15em; }

.why__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.why__list li {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.why__list strong { font-size: 1.1rem; }
.why__list span { color: var(--muted); font-size: .95rem; }

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; }
}
.gallery__item { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }

.ph {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ph span { padding: 6px 12px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: var(--text); }
.ph--1 { background: linear-gradient(135deg, #2b2b2b, #3d3d3d); }
.ph--2 { background: linear-gradient(160deg, var(--accent), #8fbf00); }
.ph--3 { background: linear-gradient(135deg, var(--pink), #b8336f); }
.ph--4 { background: linear-gradient(135deg, #3d3d3d, #1b1b1b); }
.ph--5 { background: repeating-linear-gradient(45deg, #1e1e1e 0 14px, #262626 14px 28px); }

/* ===== FAQ ===== */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  position: relative;
  padding: 22px 52px 22px 0;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-top: -18px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform .25s, background .25s, color .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq summary:hover { color: var(--accent); }
.faq details p { margin: 0; padding: 0 52px 22px 0; color: var(--muted); }

/* ===== CTA ===== */
.cta { background: var(--accent); color: var(--accent-ink); padding-block: clamp(4rem, 10vw, 7rem); }
.cta__inner { display: grid; gap: 28px; justify-items: start; }
.cta h2 { font-size: clamp(2.8rem, 8vw + .5rem, 6rem); margin: 0; color: var(--accent-ink); }
.cta .outline { -webkit-text-stroke-color: var(--accent-ink); }
@media (min-width: 900px) {
  .cta__inner { grid-template-columns: 1fr auto; align-items: end; }
}

/* ===== Footer ===== */
.footer { padding: 56px 0 0; border-top: 1px solid var(--border); }
.footer__inner { display: grid; gap: 28px; padding-bottom: 36px; }
@media (min-width: 768px) { .footer__inner { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.footer__inner p { margin-top: 12px; max-width: 36em; color: var(--muted); }
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__links a { font-weight: 500; text-decoration: none; color: var(--text); }
.footer__links a:hover { color: var(--accent); }
.footer__bottom { padding-block: 22px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--muted); }
.footer__bottom p { margin: 0; }

/* ===== WhatsApp flotante ===== */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45);
  transition: transform .2s ease-out;
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease-out, transform .6s ease-out; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
