/* ==========================================================
   SCARBE — Tienda oficial
   Paleta: negro · blanco · naranja #FF6600
   ========================================================== */

:root {
  --black: #0a0a0a;
  --ink: #161616;
  --white: #ffffff;
  --paper: #f6f5f3;
  --line: #e4e2de;
  --muted: #6b6b6b;
  --orange: #FF6600;
  --orange-dark: #e05500;
  --wa: #25D366;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --header-h: 72px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::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: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(80px, 11vw, 140px) 0; }
.section__head { margin-bottom: 48px; }
.section__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; text-transform: uppercase; }
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px;
}
.eyebrow::before { content: ""; display: inline-block; width: 24px; height: 2px; background: var(--orange); vertical-align: middle; margin-right: 10px; }
.accent { color: var(--orange); }
.muted { color: var(--muted); font-size: .92em; }
.link { border-bottom: 2px solid var(--orange); transition: color .2s; }
.link:hover { color: var(--orange-dark); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--white); padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Botones (hover naranja) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px;
  font-weight: 800; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase;
  border: 2px solid var(--black); border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.btn--mp { background: #009ee3; border-color: #009ee3; color: var(--white); }
.btn--mp:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 36px; }
.nav a { font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--orange); transition: width .3s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 8px; }

.cart-btn { position: relative; background: none; border: 0; padding: 10px; color: var(--black); transition: color .2s; }
.cart-btn:hover { color: var(--orange); }
.cart-btn__count {
  position: absolute; top: 2px; right: 0;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--orange); color: var(--black);
  font-size: .7rem; font-weight: 800; line-height: 19px; text-align: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-btn__count.has-items { transform: scale(1); }
.cart-btn__count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--black); margin: 5px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; background: var(--paper); overflow: hidden; }
.hero::before { /* bloque negro de fondo, eco del emblema */
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 42%;
  background: var(--black);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__title { font-size: clamp(2.8rem, 7.2vw, 6rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .95; }
.hero__lead { font-size: 1.15rem; color: #3a3a3a; max-width: 440px; margin: 0 0 36px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual { margin: 0; display: flex; justify-content: center; }
.hero__emblem { width: min(360px, 80%); height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: float 6s ease-in-out infinite; }
.hero__photo { width: 100%; max-height: 78vh; object-fit: cover; border-radius: var(--radius); }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1deg); } }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); font-size: 1.4rem; color: var(--muted); animation: nudge 2s infinite; }
@keyframes nudge { 50% { transform: translate(-50%, 6px); } }

/* ---------- Nosotros ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about__media { background: var(--paper); aspect-ratio: 4 / 5; display: grid; place-items: center; padding: 40px; position: relative; }
.about__media::after { content: ""; position: absolute; inset: 20px; border: 2px solid var(--black); pointer-events: none; }
.about__wordmark { width: 85%; transform: rotate(-90deg) scale(1.35); }
.about__text p { color: #3a3a3a; max-width: 520px; }
.values { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.values strong { font-weight: 800; text-transform: uppercase; font-size: .9rem; letter-spacing: .06em; }
.values span { color: var(--muted); }

/* ---------- Catálogo ---------- */
.catalog { background: var(--white); border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter {
  padding: 10px 20px; border: 2px solid var(--black); background: var(--white); color: var(--black);
  font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; border-radius: 40px;
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { background: var(--orange); border-color: var(--orange); }
.filter.is-active { background: var(--black); color: var(--white); border-color: var(--black); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 48px 28px; }
.grid__loading, .grid__empty { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 40px 0; }

.card { display: flex; flex-direction: column; }
.card.is-hidden { display: none; }
.card__media { position: relative; aspect-ratio: 4 / 5; background: var(--paper); overflow: hidden; border-radius: var(--radius); }
.card__face { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.card__face .photo { width: 100%; height: 100%; object-fit: cover; }
.card__face--back, .card__face--model { opacity: 0; }
/* Vista elegida con los botones Frente / Dorso / Modelo */
.card__media[data-show="back"] .card__face--front, .card__media[data-show="model"] .card__face--front { opacity: 0; }
.card__media[data-show="back"] .card__face--back, .card__media[data-show="model"] .card__face--model { opacity: 1; }
@media (hover: hover) {
  /* Al pasar el mouse muestra la segunda foto (dorso o modelo), solo si existe */
  .card__media.has-alt:not([data-show]):hover .card__face--front { opacity: 0; }
  .card__media.has-alt:not([data-show]):hover .card__face--hover { opacity: 1; }
  .card__media:hover .card__face { transform: scale(1.03); }
}
.card--photo .card__face--model .photo { object-fit: cover; }
.card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--orange); color: var(--black); font-size: .7rem; font-weight: 800; letter-spacing: .12em; padding: 5px 10px; text-transform: uppercase; }
.card__flip {
  position: absolute; bottom: 12px; right: 12px; z-index: 2;
  display: flex; background: var(--white); border: 1px solid var(--line); border-radius: 30px; overflow: hidden;
}
.card__flip button { border: 0; background: none; padding: 6px 12px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__flip button.is-on { background: var(--black); color: var(--white); }
.card__flip button:hover:not(.is-on) { color: var(--orange-dark); }

/* Mockup de remera (hasta que haya fotos reales) */
.tee { width: 82%; height: auto; }
.tee__print { position: absolute; left: 50%; transform: translateX(-50%); pointer-events: none; }
.tee__print--front { top: 36%; width: 17%; }
.tee__print--back { top: 30%; width: 38%; }
.tee__label { position: absolute; top: 16px; right: 14px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.card__info { padding: 18px 0 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card__name { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; margin: 0; }
.card__cat { font-size: .75rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.card__price { font-size: 1.1rem; font-weight: 800; white-space: nowrap; }
/* Ofertas */
.card__price--sale { color: var(--orange-dark); text-align: right; }
.card__price--sale s, .ci__meta s { color: var(--muted); font-weight: 600; font-size: .8em; margin-right: 4px; }
.card__badge--sale { letter-spacing: .04em; font-size: .78rem; }
.card__until { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: var(--black); color: var(--white); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; }
.sale-note { margin: 0 0 18px; padding: 12px 16px; background: var(--black); color: var(--white); font-size: .95rem; border-left: 4px solid var(--orange); }
.sale-note strong { color: var(--orange); letter-spacing: .04em; }

.sizes { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.sizes legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.size {
  min-width: 42px; height: 38px; padding: 0 8px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--black);
  font-weight: 700; font-size: .8rem; border-radius: var(--radius);
  transition: border-color .2s, background .2s, color .2s;
}
.size:hover:not(:disabled) { border-color: var(--orange); }
.size.is-selected { background: var(--black); border-color: var(--black); color: var(--white); }
.size:disabled { color: #bbb; text-decoration: line-through; cursor: not-allowed; background: var(--paper); }
.sizes.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.card__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: auto; }
.card__actions .btn { padding: 14px 18px; }
.card__wa { width: 50px; padding: 0 !important; color: var(--black); }

/* ---------- Instagram ---------- */
.insta { background: var(--black); color: var(--white); }
.insta .eyebrow { color: #9a9a9a; }
.insta__inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; }
.insta__lead { color: #bdbdbd; margin-bottom: 32px; }
.insta .btn--primary { background: var(--white); color: var(--black); border-color: var(--white); }
.insta .btn--primary:hover { background: var(--orange); border-color: var(--orange); }
.insta__feed { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.insta__tile { aspect-ratio: 1; background: #1c1c1c; display: grid; place-items: center; overflow: hidden; position: relative; transition: background .3s; }
.insta__tile img { width: 55%; opacity: .9; transition: transform .4s var(--ease); }
.insta__tile:nth-child(3n+2) { background: var(--orange); }
.insta__tile:hover img { transform: scale(1.1); }
.insta__feed--embeds { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.insta__feed--embeds .instagram-media { min-width: 0 !important; margin: 0 !important; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq__item { border-top: 2px solid var(--black); }
.faq__item:last-child { border-bottom: 2px solid var(--black); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .01em;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; transition: transform .3s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--orange); }
.faq__item summary:hover { color: var(--orange-dark); }
.faq__body { padding: 0 0 26px; color: #3a3a3a; }
.faq__body p { margin: 0 0 14px; }
.table-wrap { overflow-x: auto; margin: 0 0 14px; }
.size-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--white); }
.size-table th, .size-table td { padding: 10px 12px; text-align: center; border: 1px solid var(--line); }
.size-table thead th { background: var(--black); color: var(--white); font-weight: 700; }
.size-table tbody th { text-align: left; font-weight: 600; white-space: nowrap; }

/* ---------- Formularios (modal) ---------- */
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 6px; }
.form label { font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.form input, .form textarea, .modal input {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem;
  border: 2px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink);
  transition: border-color .2s;
}
.form input:focus, .form textarea:focus, .modal input:focus { outline: none; border-color: var(--black); }
.form .is-invalid { border-color: #d62d20; }
.form textarea { resize: vertical; min-height: 140px; }
.form__status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form__status.ok { color: #1a7f37; }
.form__status.err { color: #d62d20; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #cfcfcf; padding: 80px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__brand img { width: 170px; height: auto; margin-bottom: 16px; }
.footer__title { color: var(--white); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer__links a { transition: color .2s; }
.footer__links a:hover { color: var(--orange); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border: 1.5px solid #3a3a3a; border-radius: 50%; display: grid; place-items: center; color: var(--white); transition: background .2s, border-color .2s, color .2s; }
.socials a:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid #262626; margin-top: 60px; padding-top: 24px; font-size: .82rem; color: #8a8a8a; }
.footer__bottom p { margin: 0; }
.footer__credit a { color: #d4d4d4; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; }
.footer__credit a:hover { color: var(--orange); }

/* ---------- Carrito lateral ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 90; opacity: 0; transition: opacity .3s; }
.overlay.is-visible { opacity: 1; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(440px, 100%); background: var(--white);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease);
  box-shadow: -20px 0 50px rgba(0,0,0,.15);
}
.cart.is-open { transform: translateX(0); }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 2px solid var(--black); }
.cart__head h2 { font-size: 1.2rem; text-transform: uppercase; margin: 0; font-weight: 900; }
.icon-btn { background: none; border: 0; font-size: 1.2rem; width: 40px; height: 40px; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--orange); }
.cart__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart__empty { text-align: center; color: var(--muted); padding: 60px 0; }
.cart__empty .btn { margin-top: 20px; }
.ci { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ci__img { width: 76px; aspect-ratio: 4 / 5; background: var(--paper); display: grid; place-items: center; position: relative; overflow: hidden; border-radius: var(--radius); }
.ci__img .photo { width: 100%; height: 100%; object-fit: cover; }
.ci__img .tee { width: 88%; }
.ci__name { font-weight: 800; text-transform: uppercase; font-size: .92rem; margin: 0 0 2px; }
.ci__meta { font-size: .8rem; color: var(--muted); margin: 0 0 10px; }
.qty { display: inline-flex; border: 1.5px solid var(--line); border-radius: var(--radius); }
.qty button { width: 32px; height: 32px; border: 0; background: none; font-weight: 700; transition: background .2s; }
.qty button:hover { background: var(--orange); }
.qty span { min-width: 30px; text-align: center; line-height: 32px; font-weight: 700; font-size: .9rem; }
.ci__right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ci__price { font-weight: 800; }
.ci__remove { background: none; border: 0; font-size: .75rem; color: var(--muted); text-decoration: underline; padding: 0; }
.ci__remove:hover { color: var(--orange-dark); }
.cart__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; background: var(--white); }
.cart__row { display: flex; justify-content: space-between; font-size: 1.15rem; text-transform: uppercase; }
.cart__note { font-size: .8rem; color: var(--muted); margin: 0 0 6px; }

/* ---------- Modal arrepentimiento ---------- */
.modal { border: 0; padding: 0; border-radius: var(--radius); width: min(480px, calc(100% - 32px)); }
.modal::backdrop { background: rgba(0,0,0,.6); }
.modal__inner { padding: 32px; display: grid; gap: 14px; }
.modal__inner h2 { font-size: 1.4rem; text-transform: uppercase; font-weight: 900; margin: 0; }
.modal__inner p { margin: 0; color: #3a3a3a; font-size: .95rem; }
.modal label { display: grid; gap: 6px; font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.modal__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 6px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .3s var(--ease), background .3s;
}
.wa-float:hover { transform: scale(1.08); background: var(--orange); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; z-index: 200;
  transform: translate(-50%, 150%); opacity: 0;
  background: var(--black); color: var(--white); padding: 14px 22px; border-radius: var(--radius);
  font-weight: 600; font-size: .92rem; border-left: 4px solid var(--orange);
  transition: transform .4s var(--ease), opacity .4s; max-width: calc(100% - 120px);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Fade-in al scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.card.reveal { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--white);
    border-bottom: 2px solid var(--black);
    transform: translateY(-120%); transition: transform .35s var(--ease); z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 18px 24px; border-top: 1px solid var(--line); font-size: 1rem; }
  .nav a::after { display: none; }
  .burger { display: block; }

  .hero::before { width: 100%; top: auto; height: 38%; }
  .hero__grid, .about__grid, .insta__inner, .faq__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__emblem { width: min(240px, 60%); }
  .about__media { aspect-ratio: 16 / 10; }
  .about__wordmark { transform: none; width: 80%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .values li { grid-template-columns: 1fr; gap: 4px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 32px 12px; }
  .card__top { flex-direction: column; gap: 2px; }
  .card__name { font-size: .95rem; }
  .card__price { font-size: 1rem; }
  .size { min-width: 36px; height: 34px; font-size: .74rem; }
  .card__actions { grid-template-columns: 1fr; }
  .card__wa { width: 100%; height: 44px; }
  .card__flip button { padding: 5px 8px; font-size: .62rem; }
  .hero__cta .btn { flex: 1; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
@media (max-width: 340px) { .grid { grid-template-columns: 1fr; } }

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

/* Evitar desbordes horizontales en grillas */
.hero__grid > *, .about__grid > *, .insta__inner > *, .faq__grid > * { min-width: 0; }
.section__title { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 560px) { .section__title { font-size: 2rem; } }

/* Ocultar por completo menú móvil y carrito cuando están cerrados */
.cart { visibility: hidden; transition: transform .4s var(--ease), visibility 0s linear .4s; }
.cart.is-open { visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
@media (max-width: 960px) {
  .nav { visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; }
  .nav.is-open { visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
}

/* ---------- Utilidad ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
button.link { background: none; border: 0; border-bottom: 2px solid var(--orange); padding: 0; font: inherit; color: inherit; font-weight: 700; }

/* ---------- Búsqueda (header) ---------- */
.search { position: relative; display: flex; align-items: center; }
.search input {
  width: 210px; height: 42px; padding: 0 42px 0 16px;
  border: 1.5px solid var(--line); border-radius: 40px; background: var(--white); color: var(--ink);
  font: inherit; font-size: .9rem; transition: border-color .2s, width .3s var(--ease);
}
.search input::placeholder { color: #9a9a9a; }
.search input:focus { outline: none; border-color: var(--black); width: 250px; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search__btn { position: absolute; right: 4px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--black); display: grid; place-items: center; transition: background .2s; }
.search__btn:hover { background: var(--orange); }
.search-toggle { display: none; background: none; border: 0; padding: 10px; color: var(--black); }
.search-toggle:hover { color: var(--orange); }
.search-info { margin: -24px 0 28px; color: var(--muted); }

@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .search input { width: 170px; }
  .search input:focus { width: 200px; }
}
@media (max-width: 960px) {
  .search-toggle { display: block; }
  .search {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    padding: 12px 16px; background: var(--white); border-bottom: 2px solid var(--black);
    transform: translateY(-120%); visibility: hidden; z-index: -1;
    transition: transform .3s var(--ease), visibility 0s linear .3s;
  }
  .search.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease), visibility 0s; }
  .search input, .search input:focus { width: 100%; height: 48px; font-size: 16px; }
  .search__btn { right: 22px; }
}

/* ---------- Todos nuestros productos ---------- */
.allprod { padding: clamp(60px, 8vw, 100px) 0 0; }
.allprod__link {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center;
  background: var(--black); color: var(--white);
  padding: clamp(32px, 5vw, 64px); border-radius: var(--radius);
  border: 3px solid var(--black); transition: border-color .3s var(--ease);
}
.allprod__link:hover { border-color: var(--orange); }
.allprod .eyebrow { color: #9a9a9a; }
.allprod__title { font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; text-wrap: balance; }
.allprod__lead { color: #bdbdbd; margin: 0 0 28px; }
.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.allprod__link:hover .btn--light { background: var(--orange); border-color: var(--orange); }
.allprod__arrow { display: inline-block; transition: transform .3s var(--ease); }
.allprod__link:hover .allprod__arrow { transform: translateX(6px); }
.allprod__tees { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.allprod__tee { position: relative; aspect-ratio: 4 / 5; background: #1c1c1c; border-radius: var(--radius); display: grid; place-items: center; overflow: hidden; transition: transform .4s var(--ease); }
.allprod__tee:nth-child(even) { transform: translateY(18px); }
.allprod__link:hover .allprod__tee { transform: translateY(-4px); }
.allprod__link:hover .allprod__tee:nth-child(even) { transform: translateY(12px); }
.allprod__tee .tee { width: 90%; }
.allprod__tee .photo { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .allprod__link { grid-template-columns: 1fr; }
  .allprod__link > * { min-width: 0; }
}
@media (max-width: 560px) {
  .allprod__tees { grid-template-columns: repeat(2, 1fr); }
  .allprod__tee:nth-child(even) { transform: none; }
}

/* ---------- Productos con foto real ---------- */
.card--photo .card__media { aspect-ratio: 1 / 1; background: #ffffff; }
.card--photo .card__face .photo { object-fit: contain; }
.allprod__tee:has(.photo) { background: #ffffff; aspect-ratio: 1 / 1; }
.ci__img:has(.photo) { background: #ffffff; aspect-ratio: 1 / 1; }
@media (hover: hover) {
  .card__media:not(:has(.card__face--back)):hover .card__face--front { opacity: 1; }
}

/* ---------- Remera personalizada ---------- */
.custom { background: var(--paper); border-top: 1px solid var(--line); }
.custom__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.custom__grid > * { min-width: 0; }
.custom__intro > p { color: #3a3a3a; max-width: 460px; }
.custom__preview { margin: 32px 0; background: var(--white); border: 2px solid var(--black); border-radius: var(--radius); padding: 24px; max-width: 420px; }
.custom__tee { position: relative; display: grid; place-items: center; }
.custom__tee .tee { width: 80%; }
.custom__print {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%);
  max-width: 34%; padding: 6px 8px; border: 2px dashed; border-radius: 3px;
  font-weight: 900; font-size: clamp(.8rem, 2vw, 1.15rem); line-height: 1.1; text-align: center;
  text-transform: uppercase; overflow-wrap: anywhere;
}
.custom__preview figcaption { margin-top: 12px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: center; }
.custom__ideas-title { font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .12em; margin: 0 0 10px; }
.custom__ideas ul { margin: 0; padding-left: 18px; color: #3a3a3a; display: grid; gap: 6px; }
.custom__ideas li::marker { color: var(--orange); }

.custom__form { background: var(--white); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); }
.opt { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.opt legend { font-weight: 900; text-transform: uppercase; font-size: .95rem; letter-spacing: .04em; margin-bottom: 12px; padding: 0; }
.opt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__stack { display: grid; gap: 8px; }
.opt__hint { margin: 0; font-size: .88rem; color: var(--muted); background: var(--paper); padding: 10px 12px; border-left: 3px solid var(--orange); }

.chip input, .opt__card input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-width: 50px; height: 44px; padding: 0 16px; justify-content: center;
  border: 1.5px solid var(--line); border-radius: var(--radius); font-weight: 700; font-size: .85rem; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.chip span:hover { border-color: var(--orange); }
.chip input:checked + span { background: var(--black); border-color: var(--black); color: var(--white); }
.chip input:focus-visible + span, .opt__card input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.chip--color i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid #999; display: inline-block; }

.opt__card span {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s;
}
.opt__card span:hover { border-color: var(--orange); }
.opt__card em { font-style: normal; font-weight: 800; }
.opt__card input:checked + span { border-color: var(--black); background: var(--paper); box-shadow: inset 4px 0 0 var(--orange); }

.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: .88rem; color: #3a3a3a; text-transform: none !important; letter-spacing: 0 !important; font-weight: 400 !important; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--black); }
.custom__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--black); padding-top: 16px; text-transform: uppercase; font-size: .9rem; letter-spacing: .08em; }
.custom__total strong { font-size: 1.6rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.custom__note { margin: 0; font-size: .8rem; }

@media (max-width: 960px) { .custom__grid { grid-template-columns: 1fr; } .custom__preview { max-width: 100%; } }
.chip, .opt__card { position: relative; display: block; }
.chip { display: inline-block; }
.chip input, .opt__card input { top: 0; left: 0; width: 1px; height: 1px; margin: 0; }
.size-table__title { font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .12em; margin: 0 0 8px !important; }
.size-table td { font-variant-numeric: tabular-nums; }

/* ---------- Entrega en el carrito ---------- */
.ship { display: grid; gap: 14px; padding: 20px 0 8px; }
.ship__title { font-size: .85rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin: 6px 0 0; }
.ship__options { display: grid; gap: 8px; }
.ship__opt { position: relative; display: block; }
.ship__opt input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; margin: 0; }
.ship__opt > span { display: grid; gap: 4px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background .2s; }
.ship__opt > span:hover { border-color: var(--orange); }
.ship__opt input:checked + span { border-color: var(--black); background: var(--paper); box-shadow: inset 4px 0 0 var(--orange); }
.ship__opt input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.ship__opt.is-invalid > span { border-color: #d62d20; }
.ship__opt-top { display: flex; justify-content: space-between; gap: 10px; }
.ship__opt strong { font-size: .92rem; }
.ship__opt em { font-style: normal; font-weight: 800; white-space: nowrap; }
.ship__opt small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.ship__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ship__field { display: grid; gap: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; min-width: 0; }
.ship__field--full { grid-column: 1 / -1; }
.ship__field .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
.ship__field input, .ship__field select {
  width: 100%; height: 42px; padding: 0 12px; font: inherit; font-size: 16px; text-transform: none; letter-spacing: 0; font-weight: 400;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.ship__field input:focus, .ship__field select:focus { outline: none; border-color: var(--black); }
.ship__field .is-invalid { border-color: #d62d20; }
.cart__row--sm { font-size: .88rem !important; color: var(--muted); text-transform: none !important; }
.faq__ship { margin: 0 0 14px; padding-left: 18px; display: grid; gap: 6px; }
.faq__ship li::marker { color: var(--orange); }
.faq__zones { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: .92em; }

/* Moto por zonas (distancia desde el local) */
.ship__zones { display: grid; gap: 8px; margin: -4px 0 0 14px; padding: 12px; border-left: 2px solid var(--orange); border-radius: 0 var(--radius) var(--radius) 0; background: var(--paper); animation: zonesIn .25s ease-out; }
@keyframes zonesIn { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .ship__zones { animation: none; } }
.ship__zones-lead { margin: 0; font-size: .8rem; line-height: 1.45; color: var(--muted); }
.ship__zones-list { display: grid; gap: 6px; }
.ship__zone { position: relative; display: block; }
.ship__zone input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; margin: 0; }
.ship__zone > span { display: grid; gap: 3px; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.ship__zone > span:hover { border-color: var(--orange); }
.ship__zone input:checked + span { border-color: var(--black); box-shadow: inset 4px 0 0 var(--orange); }
.ship__zone input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.ship__zone.is-invalid > span { border-color: #d62d20; }
.ship__zone-top { display: flex; align-items: baseline; gap: 8px; }
.ship__zone-top strong { font-size: .88rem; }
.ship__zone-top small { color: var(--muted); font-size: .78rem; }
.ship__zone-top em { margin-left: auto; font-style: normal; font-weight: 800; white-space: nowrap; }
.ship__zone-places { color: var(--muted); font-size: .74rem; line-height: 1.4; }
.ship__locate { justify-self: start; padding: 0; border: 0; background: none; font: inherit; font-size: .82rem; font-weight: 700; color: var(--black); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 3px; cursor: pointer; }
.ship__locate:disabled { opacity: .5; cursor: wait; }
.ship__zones-msg { margin: 0; font-size: .8rem; line-height: 1.4; }
.ship__zones-msg:empty { display: none; }
.ship__zones-msg.ok { color: #1d7a3a; }
.ship__zones-msg.err { color: #d62d20; }
@media (max-width: 380px) { .ship__grid { grid-template-columns: 1fr; } }

/* ---------- Ajustes para celulares (05/10/2026) ---------- */
/* Respuesta inmediata al tocar (sin la demora del doble toque) */
button, .btn, .filter, .size, .chip, .ship__opt, .ship__zone, summary { touch-action: manipulation; }
a, button, label, summary { -webkit-tap-highlight-color: rgba(255, 102, 0, .18); }
.hero__scroll { width: 44px; height: 44px; display: grid; place-items: center; }
.qty button { width: 40px; height: 40px; }
.qty span { line-height: 40px; }
.ci__remove { padding: 10px 0 10px 12px; margin: -10px 0; }
.ship__locate { padding: 10px 0; margin: -6px 0; }
.ship__zone-places { font-size: .8rem; }
.ship__field .muted { font-size: 1.1em; }
.wa-float { bottom: calc(22px + env(safe-area-inset-bottom)); }

@media (max-width: 560px) {
  /* Talles: botones más altos que ocupan el ancho de la tarjeta */
  .sizes { gap: 5px; }
  .size { flex: 1 0 34px; min-width: 0; height: 42px; padding: 0 4px; font-size: .8rem; }
  .card__flip button { min-height: 34px; padding: 8px 10px; font-size: .68rem; }
  /* Pie: enlaces con área de toque cómoda */
  .footer { padding-top: 56px; }
  .footer__links { gap: 0; }
  .footer__links a { display: inline-block; padding: 10px 0; }
  .footer__bottom { flex-direction: column; margin-top: 40px; }
  .footer__credit a { display: inline-block; padding: 6px 0; }
  /* Carrito: menos márgenes para dejar más lugar a los productos */
  .cart__head { padding: 14px 16px; }
  .cart__body { padding: 4px 16px; }
  .cart__foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); gap: 8px; }
  .cart__foot .btn { padding: 14px 20px; }
  .wa-float { bottom: calc(16px + env(safe-area-inset-bottom)); }
}

/* Cualquier pantalla táctil (celular acostado, tableta): áreas de toque de 44 px */
@media (pointer: coarse) {
  .size { height: 44px; }
  .footer__links { gap: 0; }
  .footer__links a { display: inline-block; padding: 10px 0; }
  .footer__credit a { display: inline-block; padding: 6px 0; }
}

/* Celular acostado (poca altura): el carrito entero se desplaza para que los productos no queden ocultos */
@media (max-height: 560px) {
  .cart { overflow-y: auto; overscroll-behavior: contain; }
  .cart__body { flex: none; overflow: visible; }
  .cart__foot { position: static; }
}

/* En pantallas táctiles, el color de «hover» no queda pegado después de tocar */
@media (hover: none) {
  .btn--primary:hover { background: var(--black); border-color: var(--black); color: var(--white); }
  .btn--ghost:hover { background: transparent; border-color: var(--black); color: var(--black); }
  .btn--mp:hover { background: #009ee3; border-color: #009ee3; color: var(--white); }
  .filter:hover:not(.is-active) { background: var(--white); border-color: var(--black); }
  .wa-float:hover { transform: none; background: var(--wa); }
  .insta .btn--primary:hover { background: var(--white); border-color: var(--white); color: var(--black); }
  .btn--primary:active, .btn--ghost:active, .filter:active { background: var(--orange); border-color: var(--orange); color: var(--black); }
}
.header__logo { display: block; padding: 7px 0; }
/* El atributo hidden tiene que ganarle al display de los componentes */
.ship__zones[hidden], .ship[hidden] { display: none; }
