:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --soft: #f3f3f1;
  --line: #e4e4e1;
  --muted: #6d6d6a;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ol, ul, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  max-width: var(--max); margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { height: 38px; width: auto; }
.brand__word { height: 24px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none; font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); } }

.bag-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px 0 12px;
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  transition: transform .15s var(--ease);
}
.bag-btn:active { transform: scale(.96); }
.bag-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.bag-btn__count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center; font-size: 12px; font-variant-numeric: tabular-nums;
}
.bag-btn__count.bump { animation: bump .35s var(--ease); }
@keyframes bump { 40% { transform: scale(1.3); } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 0; border: 1.5px solid transparent;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s var(--ease);
  user-select: none;
}
.btn:active { transform: scale(.98); }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.45); }
@media (hover: hover) {
  .btn--dark:hover { background: #2a2a2a; }
  .btn--light:hover { background: #e9e9e6; }
  .btn--outline:hover { background: var(--ink); color: var(--paper); }
  .btn--ghost-light:hover { border-color: var(--paper); }
}

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: transparent; border: 0; border-radius: 999px;
}
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
@media (hover: hover) { .icon-btn:hover { background: var(--soft); } }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
.eyebrow--dark { color: var(--muted); }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--ink); color: var(--paper);
  min-height: clamp(440px, calc(100svh - var(--header-h) - 120px), 600px);
}
.hero__media { position: relative; overflow: hidden; background: #e9e9e6; }
.hero__slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  opacity: 0; transition: opacity .9s ease;
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  transform: scale(1.06); transition: transform 5s linear;
}
.hero__slide.is-active img { transform: scale(1); }
.hero__copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(32px, 4.5vw, 64px) var(--gutter);
  gap: 16px;
}
.hero__copy > * { animation: rise .8s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: .08s; }
.hero__copy > *:nth-child(3) { animation-delay: .16s; }
.hero__copy > *:nth-child(4) { animation-delay: .22s; }
.hero__copy > *:nth-child(5) { animation-delay: .28s; }
.hero__copy > *:nth-child(6) { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero__title {
  font-size: clamp(50px, 6vw, 96px);
  font-weight: 850; font-stretch: 68%;
  line-height: .88; letter-spacing: -.01em; text-transform: uppercase;
}
.hero__lead { max-width: 34ch; font-size: clamp(15px, 1.2vw, 17px); color: rgba(255,255,255,.75); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }

/* Producto que se está viendo en el carrusel */
.hero__now {
  display: grid; gap: 10px; max-width: 420px;
  margin-top: 10px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15);
}
.hero__bars { display: flex; gap: 6px; }
.hero__bars button {
  position: relative; flex: 1; max-width: 56px; height: 22px;
  padding: 0; border: 0; background: none;
}
.hero__bars button::before, .hero__bars i {
  content: ""; position: absolute; left: 0; top: 10px; height: 2px;
}
.hero__bars button::before { right: 0; background: rgba(255,255,255,.22); }
.hero__bars i { width: 0; background: var(--paper); }
.hero__bars .is-done i { width: 100%; }
.hero__bars .is-active i { animation: fillBar var(--dur, 4s) linear forwards; }
@keyframes fillBar { to { width: 100%; } }
.hero__caption {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 4px 0; border: 0; background: none; color: var(--paper); text-align: left;
  font-size: 14px;
}
.hero__caption span { color: rgba(255,255,255,.75); }
.hero__caption strong { font-weight: 700; font-variant-numeric: tabular-nums; }
.hero__caption svg {
  width: 18px; height: 18px; margin-left: auto; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s var(--ease);
}
@media (hover: hover) {
  .hero__caption:hover span { color: var(--paper); }
  .hero__caption:hover svg { transform: translateX(4px); }
}

/* Ticker */
.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.ticker__track {
  display: flex; width: max-content;
  animation: ticker 28s linear infinite;
}
.ticker span {
  padding: 14px 28px; white-space: nowrap;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  display: flex; align-items: center; gap: 28px;
}
.ticker span::after { content: ""; width: 6px; height: 6px; background: var(--ink); border-radius: 999px; margin-left: 28px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 112px) var(--gutter); }
.section__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-bottom: 20px; margin-bottom: clamp(24px, 3vw, 40px);
  border-bottom: 1.5px solid var(--ink);
}
.section__title {
  font-size: clamp(40px, 6vw, 80px); font-weight: 850; font-stretch: 68%;
  line-height: .9; text-transform: uppercase;
}
.section__meta { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Filtros por categoría */
.filters {
  display: flex; gap: 8px; margin-bottom: clamp(28px, 3vw, 40px);
  overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
}
.filters::-webkit-scrollbar { display: none; }
.filters button {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transition: background-color .2s, color .2s, border-color .2s;
}
.filters button span { font-size: 12px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .filters button:hover { border-color: var(--ink); } }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters button[aria-pressed="true"] span { color: rgba(255,255,255,.6); }

/* Bloques de categoría */
.cat-block + .cat-block { margin-top: clamp(48px, 6vw, 80px); }
.cat-block { animation: rise .45s var(--ease) both; }
.cat-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-bottom: 18px;
}
.cat-head h3 {
  font-size: clamp(26px, 2.6vw, 36px); font-weight: 850; font-stretch: 68%;
  line-height: 1; text-transform: uppercase;
}
.cat-head span { font-size: 13px; color: var(--muted); }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.card { position: relative; text-align: left; background: none; border: 0; padding: 0; display: block; width: 100%; }
.card__media { position: relative; aspect-ratio: 3 / 4.4; overflow: hidden; background: var(--soft); }
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%;
  transition: opacity .5s var(--ease), transform .8s var(--ease);
}
.card__media img + img { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__media img:first-child { transform: scale(1.03); }
  .card:hover .card__media img + img { opacity: 1; }
}
.card__add {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  min-height: 44px; display: grid; place-items: center;
  background: var(--paper); color: var(--ink);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
@media (hover: hover) { .card:hover .card__add { opacity: 1; transform: none; } }
.card__body { display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; }
.card__name { font-size: 15px; font-weight: 700; }
.card__color { display: flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); margin-top: 2px; }
.card__color i { width: 10px; height: 10px; border-radius: 999px; background: var(--c); box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.card__price { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Destacados: dos fotos + texto */
.detail {
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: var(--soft);
}
.detail__media { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
/* En computador la foto llena el alto del texto (con un mínimo) y no lo empuja: así no se alarga */
.detail__media button {
  position: relative; display: block; padding: 0; border: 0; background: #e9e9e6; overflow: hidden;
  min-height: clamp(440px, 72vh, 600px);
}
.detail__media img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transition: transform .8s var(--ease);
}
@media (hover: hover) { .detail__media button:hover img { transform: scale(1.03); } }
.detail__copy {
  padding: clamp(32px, 4vw, 56px) var(--gutter);
  display: flex; flex-direction: column; justify-content: center; gap: 18px;
  max-width: 560px;
}
.detail__title {
  font-size: clamp(34px, 4vw, 56px); font-weight: 850; font-stretch: 68%;
  line-height: .92; text-transform: uppercase;
}
.detail__list { display: grid; gap: 0; counter-reset: d; }
.detail__list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 0;
  padding: 13px 0; border-top: 1px solid #d6d6d2;
  counter-increment: d;
}
.detail__list li:last-child { border-bottom: 1px solid #d6d6d2; }
.detail__list li::before {
  content: counter(d, decimal-leading-zero);
  grid-row: span 2; font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 3px;
}
.detail__list strong { font-size: 17px; text-transform: uppercase; letter-spacing: .04em; }
.detail__list span { color: #4a4a47; }
.detail__copy .btn { align-self: flex-start; }


/* Footer */
.footer { background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 96px) var(--gutter) 28px; }
.footer__inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap;
}
.footer__logo { width: 150px; }
.footer__cols { display: flex; gap: clamp(48px, 8vw, 120px); }
.footer__cols div { display: grid; gap: 10px; align-content: start; }
.footer__label { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.footer__cols a, .footer__link-btn {
  text-decoration: none; font-size: 16px; color: var(--paper);
  background: none; border: 0; padding: 0; text-align: left;
}
@media (hover: hover) { .footer__cols a:hover, .footer__link-btn:hover { text-decoration: underline; text-underline-offset: 4px; } }
.footer__legal {
  max-width: var(--max); margin: 56px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 13px; color: rgba(255,255,255,.5);
}

/* Dialog base */
dialog { padding: 0; border: 0; color: var(--ink); background: var(--paper); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(10,10,10,.5); }
body.lock { overflow: hidden; }

/* Product sheet */
.sheet {
  width: min(1040px, calc(100% - 48px));
  max-height: calc(100dvh - 48px);
  margin: auto;
}
.sheet[open] { animation: sheetIn .4s var(--ease); }
.sheet[open]::backdrop { animation: fade .3s ease; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes fade { from { opacity: 0; } }
.sheet__inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; }
.sheet__close { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--paper); }
.sheet__gallery { background: var(--soft); display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 10px; }
.sheet__main { order: 2; position: relative; aspect-ratio: 3 / 4.4; overflow: hidden; }
.sheet__main img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: opacity .25s; }
.sheet__thumbs { order: 1; display: grid; gap: 8px; align-content: start; }
.sheet__thumbs button {
  padding: 0; border: 1.5px solid transparent; background: none; aspect-ratio: 3 / 4.4; overflow: hidden;
}
.sheet__thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.sheet__thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.sheet__info { padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 22px; overflow-y: auto; max-height: calc(100dvh - 48px); }
.sheet__title { font-size: clamp(36px, 4vw, 52px); font-weight: 850; font-stretch: 68%; line-height: .9; text-transform: uppercase; padding-right: 40px; }
.sheet__price { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; margin-top: -8px; }

.opt legend, .opt__label {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px;
}
.opt legend span { font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: 14px; color: var(--muted); }
.opt--row { display: flex; align-items: center; justify-content: space-between; }
.opt--row .opt__label { margin: 0; }
.opt__error { color: #b3261e; font-size: 14px; margin-top: 8px; }

.swatches { display: flex; flex-wrap: wrap; gap: 12px; }
.swatches button {
  width: 36px; height: 36px; border-radius: 999px; border: 0; padding: 0;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 0 var(--paper), 0 0 0 0 var(--ink);
  transition: box-shadow .2s var(--ease);
}
.swatches button[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 3px var(--paper), 0 0 0 4.5px var(--ink); }

.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button {
  min-width: 56px; height: 48px; padding: 0 14px;
  background: var(--paper); border: 1.5px solid var(--line);
  font-size: 14px; font-weight: 700;
  transition: border-color .15s, background-color .15s, color .15s;
}
@media (hover: hover) { .sizes button:hover { border-color: var(--ink); } }
.sizes button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sizes.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); }
.qty button { width: 44px; height: 44px; border: 0; background: none; font-size: 18px; }
.qty output { min-width: 32px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }

.sheet__cta { display: grid; gap: 10px; }
.sheet__details { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: #3d3d3a; }
.sheet__details li { display: flex; gap: 10px; }
.sheet__details li::before { content: ""; width: 14px; height: 1.5px; background: var(--ink); margin-top: 11px; flex: none; }
.sheet__help { font-size: 14px; color: var(--muted); }
.sheet__help a { color: var(--ink); font-weight: 600; }

/* Drawer */
.drawer {
  margin: 0 0 0 auto; height: 100dvh; width: min(440px, 100%);
}
.drawer[open] { animation: drawerIn .38s var(--ease); }
.drawer[open]::backdrop { animation: fade .3s ease; }
@keyframes drawerIn { from { transform: translateX(100%); } }
.drawer__inner { height: 100%; display: flex; flex-direction: column; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--line);
}
.drawer__head h2 { font-size: 26px; font-weight: 850; font-stretch: 68%; text-transform: uppercase; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.bag-list li {
  display: grid; grid-template-columns: 80px 1fr auto; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.bag-list img { width: 80px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 35%; background: var(--soft); }
.bag-item__name { font-weight: 700; }
.bag-item__meta { font-size: 14px; color: var(--muted); }
.bag-item__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 10px; }
.bag-item__qty button { width: 34px; height: 34px; border: 0; background: none; }
.bag-item__qty span { min-width: 24px; text-align: center; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.bag-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.bag-item__price { font-weight: 700; font-variant-numeric: tabular-nums; }
.bag-item__remove { background: none; border: 0; padding: 4px 0; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.bag-empty { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 56px 0; }
.bag-empty img { width: 72px; opacity: .9; }
.bag-empty p { color: var(--muted); }
.drawer__foot {
  border-top: 1px solid var(--line); padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
  display: grid; gap: 12px; background: var(--paper);
}
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.total strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.drawer__note { font-size: 13px; color: var(--muted); margin-top: -6px; }
.field { display: grid; gap: 4px; }
.field span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input {
  height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 0;
  font: inherit; font-size: 16px; background: var(--paper); color: var(--ink);
}
.field input:focus { outline: none; border-color: var(--ink); }
.drawer__foot[hidden] { display: none; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 50;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--ink); color: var(--paper);
  padding: 14px 22px; font-size: 14px; font-weight: 600;
  transition: opacity .25s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  /* Celular y tablet: igual que la versión original (fotos arriba, texto abajo) */
  .detail { grid-template-columns: 1fr; }
  .detail__media button { min-height: 0; aspect-ratio: 9 / 14; }
  .detail__media img { object-position: center 40%; }
  .detail__copy { max-width: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 58px; }
  .nav { display: none; }
  .brand__mark { height: 34px; }
  .brand__word { height: 21px; }
  .bag-btn__label { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { aspect-ratio: 9 / 8; }
  .hero__copy { padding-top: 28px; padding-bottom: 36px; gap: 14px; }
  .hero__actions .btn { flex: 1 1 0; padding: 0 12px; letter-spacing: .08em; white-space: nowrap; }
  .card__body { flex-direction: column; gap: 2px; }
  .card__name, .card__price { font-size: 14px; }
  .card__color { font-size: 13px; }
  .footer__inner { flex-direction: column; }
  .footer__logo { width: 120px; }

  .sheet { width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; }
  .sheet[open] { animation-name: sheetUp; }
  @keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
  .sheet__inner { grid-template-columns: 1fr; height: 100%; overflow-y: auto; }
  .sheet__gallery { grid-template-columns: 1fr; padding: 0; gap: 0; position: relative; }
  .sheet__main { order: 1; aspect-ratio: 4 / 5; }
  .sheet__thumbs {
    order: 2; position: absolute; left: 12px; bottom: 12px; z-index: 2;
    grid-template-columns: repeat(2, 48px); gap: 6px;
  }
  .sheet__thumbs button { background: var(--paper); }
  .sheet__info { max-height: none; overflow: visible; padding: 24px 16px 0; }
  .sheet__cta {
    position: sticky; bottom: 0; background: var(--paper);
    margin: 0 -16px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
  }
  .sheet__details { padding-bottom: 8px; }
  .sheet__help { padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* FAQ */
.faq__list { max-width: 880px; margin: 0 auto; }
.faq .section__head { max-width: 880px; margin-left: auto; margin-right: auto; justify-content: center; text-align: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: clamp(17px, 1.6vw, 20px); font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 14px 1.8px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.8px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 48px 24px 0; color: #4a4a47; max-width: 64ch; }
.faq details[open] p { animation: rise .35s var(--ease); }

/* Reseñas */
.reviews .section__head { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.reviews__demo { text-align: center; }
.reviews__demo {
  margin: -16px 0 24px; padding: 10px 14px; font-size: 13px;
  border: 1px dashed var(--muted); color: var(--muted);
}
.reviews__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.review {
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(22px, 2.4vw, 32px); background: var(--soft);
}
.review__stars { display: flex; gap: 3px; }
.review__stars svg { width: 16px; height: 16px; fill: var(--ink); }
.review__stars svg.off { fill: #cfcfcb; }
.review__text { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; flex: 1; }
.review__who { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.review__who strong { font-weight: 700; }
.review__who span { color: var(--muted); text-align: right; }
.review, .review__text { margin: 0; }
.reviews:not([hidden]) + .faq { padding-top: 0; }
@media (max-width: 1024px) {
  .reviews__list {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80%, 340px);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scroll-padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .reviews__list::-webkit-scrollbar { display: none; }
  .review { scroll-snap-align: start; }
}

/* Menú de celular */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-btn {
  display: none; width: 44px; height: 44px; margin-left: -10px;
  place-items: center; background: none; border: 0; border-radius: 999px;
}
.menu-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.menu { margin: 0 auto 0 0; height: 100dvh; width: min(380px, 88vw); }
.menu[open] { animation: menuIn .36s var(--ease); }
.menu[open]::backdrop { animation: fade .3s ease; }
@keyframes menuIn { from { transform: translateX(-100%); } }
.menu__inner { height: 100%; display: flex; flex-direction: column; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom); }
.menu__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 20px; border-bottom: 1px solid var(--line);
}
.menu__word { height: 22px; width: auto; }
.menu__label {
  padding: 24px 20px 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.menu__cats { display: grid; padding: 0 20px; }
.menu__cats button {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px;
  padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
}
.menu__cats img { width: 56px; height: 72px; object-fit: cover; object-position: center 30%; background: var(--soft); }
.menu__cats strong {
  font-size: 26px; font-weight: 850; font-stretch: 68%; line-height: 1; text-transform: uppercase;
}
.menu__cats span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.menu__cats button[aria-current="true"] strong { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.menu__links { display: grid; gap: 2px; padding: 24px 20px 32px; margin-top: auto; }
.menu__links a, .menu__links button {
  padding: 10px 0; font-size: 16px; font-weight: 600; text-decoration: none;
  background: none; border: 0; text-align: left; color: var(--ink);
}

@media (max-width: 760px) {
  .menu-btn { display: grid; }
  .header__inner { gap: 6px; }
}

/* Opción: solo parte de abajo o conjunto con top */
.pieces { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pieces button {
  display: grid; gap: 2px; justify-items: start; text-align: left;
  padding: 12px 14px; background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--line);
  transition: border-color .15s, background-color .15s, color .15s;
}
.pieces button span { font-size: 13px; font-weight: 600; }
.pieces button strong { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (hover: hover) { .pieces button:hover { border-color: var(--ink); } }
.pieces button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card__set { font-size: 13px; color: var(--muted); margin-top: 2px; }
.bag-item__piece { font-size: 13px; font-weight: 600; }

/* Botón de pago (Wompi) */
[data-pay] svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn:disabled { background: #cfcfcb; border-color: #cfcfcb; color: #5f5f5c; cursor: not-allowed; transform: none; }
.drawer__note { margin-top: 0; text-align: center; }
.faq details p a, .sheet__help a { color: var(--ink); font-weight: 600; }

/* Páginas legales */
.legal-back { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
@media (hover: hover) { .legal-back:hover { text-decoration: underline; text-underline-offset: 4px; } }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(64px, 8vw, 112px); }
.legal h1 {
  font-size: clamp(40px, 6vw, 72px); font-weight: 850; font-stretch: 68%;
  line-height: .9; text-transform: uppercase; margin: 12px 0 10px;
}
.legal__date { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.legal h2 {
  font-size: clamp(20px, 2vw, 24px); font-weight: 800; font-stretch: 85%; text-transform: uppercase;
  margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--line);
}
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: #2f2f2d; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: none; display: grid; gap: 8px; margin: 12px 0; }
.legal ul li { display: flex; gap: 12px; }
.legal ul li::before { content: ""; width: 12px; height: 1.5px; background: var(--ink); margin-top: 13px; flex: none; }
.legal a { color: var(--ink); font-weight: 600; }
mark.pendiente { background: #fff1a8; color: var(--ink); padding: 0 4px; }
.footer--small { padding-top: 28px; }
.footer--small .footer__legal { margin-top: 0; border-top: 0; padding-top: 0; }
.footer__legal a { color: rgba(255,255,255,.75); }

/* Bolsa en dos pasos: bolsa y datos de envío */
.drawer__step { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.ship .drawer__body { display: grid; gap: 14px; align-content: start; padding-top: 16px; padding-bottom: 20px; }
.ship__back { justify-self: start; background: none; border: 0; padding: 4px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.ship__intro { font-size: 15px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field select {
  height: 46px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 0;
  font: inherit; font-size: 16px; background: var(--paper); color: var(--ink); width: 100%;
}
.field select:focus { outline: none; border-color: var(--ink); }
.field input { width: 100%; min-width: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #3d3d3a; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); flex: none; }
.check a { color: var(--ink); font-weight: 600; }
.sum { display: flex; justify-content: space-between; font-size: 14px; color: #3d3d3a; }
.ship__error { background: #fdecea; color: #8c1d18; padding: 10px 12px; font-size: 14px; }
@media (max-width: 380px) { .field-row { grid-template-columns: 1fr; } }

/* Página de resultado del pago */
.result { max-width: 560px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--gutter); text-align: center; display: grid; gap: 14px; justify-items: center; }
.result__mark { width: 64px; }
.result h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 850; font-stretch: 68%; line-height: .92; text-transform: uppercase; }
.result__text { font-size: 17px; color: #3d3d3a; max-width: 40ch; }
.result__ref { font-size: 14px; font-weight: 600; background: var(--soft); padding: 8px 12px; }
.result__actions { padding-top: 8px; }
.result__help { font-size: 14px; color: var(--muted); padding-top: 12px; }
.result__help a { color: var(--ink); font-weight: 600; }

/* Panel privado de pedidos */
.admin { max-width: 980px; margin: 0 auto; padding: clamp(32px, 5vw, 64px) var(--gutter) 80px; }
.admin h1 { font-size: clamp(40px, 6vw, 64px); font-weight: 850; font-stretch: 68%; text-transform: uppercase; line-height: .9; margin: 10px 0 28px; }
.admin-login { display: grid; gap: 14px; max-width: 360px; }
.admin-out { background: none; border: 0; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-bar .filters { margin: 0; }
.orders { display: grid; gap: 14px; }
.orders__empty { color: var(--muted); padding: 32px 0; }
.order { border: 1.5px solid var(--line); padding: 18px; display: grid; gap: 14px; }
.order__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.order__head strong { display: block; font-size: 18px; }
.order__head span { font-size: 13px; color: var(--muted); }
.order__status { font-size: 12px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; background: var(--soft); color: var(--ink) !important; white-space: nowrap; }
.order__status--APPROVED { background: var(--ink); color: var(--paper) !important; }
.order__items { display: grid; gap: 6px; font-size: 15px; }
.order__items span { color: var(--muted); }
.order__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; font-size: 14px; line-height: 1.55; }
.order__grid > div > span { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.order__grid a { color: var(--ink); }
.order__ship { font-size: 15px; font-weight: 600; }
@media (max-width: 700px) { .order__grid { grid-template-columns: 1fr; } }
