:root {
  --bg: #EFE6D6;
  --surface: #F8F2E6;
  --surface-2: #E3D5B8;
  --text: #2A2420;
  --text-muted: #6B6054;
  --celeste: #4E85A3;
  --mustard: #B87B22;
  --brick: #9A3A29;
  --border: rgba(42, 36, 32, 0.18);
  --shadow: rgba(42, 36, 32, 0.16);
  --mesh: rgba(42, 36, 32, 0.055);

  --display: Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Narrow Bold", sans-serif;
  --body: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --editorial: Georgia, "Times New Roman", serif;
  --mono: "Courier New", Courier, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #16130F;
    --surface: #201C16;
    --surface-2: #2B2419;
    --text: #EEE7D9;
    --text-muted: #A89A87;
    --celeste: #7FB8D6;
    --mustard: #E0A63D;
    --brick: #D9634A;
    --border: rgba(238, 231, 217, 0.14);
    --shadow: rgba(0, 0, 0, 0.5);
    --mesh: rgba(238, 231, 217, 0.05);
  }
}
:root[data-theme="dark"] {
  --bg: #16130F; --surface: #201C16; --surface-2: #2B2419;
  --text: #EEE7D9; --text-muted: #A89A87;
  --celeste: #7FB8D6; --mustard: #E0A63D; --brick: #D9634A;
  --border: rgba(238, 231, 217, 0.14); --shadow: rgba(0, 0, 0, 0.5);
  --mesh: rgba(238, 231, 217, 0.05);
}
:root[data-theme="light"] {
  --bg: #EFE6D6; --surface: #F8F2E6; --surface-2: #E3D5B8;
  --text: #2A2420; --text-muted: #6B6054;
  --celeste: #4E85A3; --mustard: #B87B22; --brick: #9A3A29;
  --border: rgba(42, 36, 32, 0.18); --shadow: rgba(42, 36, 32, 0.16);
  --mesh: rgba(42, 36, 32, 0.055);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background-color: var(--bg);
  background-image:
    repeating-linear-gradient(45deg, var(--mesh) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(-45deg, var(--mesh) 0 1px, transparent 1px 24px);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 0.9, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
}

/* ---------- SMALL LAYOUT UTILITIES (kept out of inline style="" for CSP) ---------- */
.sr-defs { position: absolute; }
.no-border { border-bottom: none; }
.insta-actions { display: flex; align-items: center; gap: 16px; }
.status-section { border-bottom: none; text-align: center; padding: 96px 24px; }
.status-center { justify-content: center; display: flex; }
.status-heading { font-size: clamp(32px, 6vw, 56px); }
.status-lede { margin: 0 auto 28px; }

/* ---------- NAV ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.crest {
  width: 40px; height: 40px; border-radius: 50%;
  object-fit: cover; background: var(--surface);
  border: 2px solid var(--celeste); flex-shrink: 0;
}
.brand-word { font-family: var(--display); font-size: 22px; letter-spacing: 0.5px; line-height: 1; }
.brand-word small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 3px; color: var(--text-muted); font-weight: normal; margin-top: 3px; }

nav.links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; align-items: center; }
nav.links a, nav.links button.link {
  text-decoration: none; font-family: var(--mono); font-size: 12px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--text);
  border: none; background: none; cursor: pointer; padding: 0;
  border-bottom: 2px solid transparent; padding-bottom: 4px;
  transition: border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
nav.links a:hover, nav.links button.link:hover { border-color: var(--celeste); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  padding: 11px 18px; border-radius: 3px; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.35) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform 0.5s ease;
  pointer-events: none;
}
.btn:hover::before { transform: translateX(120%); }
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn:disabled::before { display: none; }
.btn-primary { background: var(--mustard); color: #2A2420; }
.btn-outline { border-color: var(--text); color: var(--text); background: none; }
.btn-celeste { background: var(--celeste); color: #16130F; }
.btn-block { width: 100%; justify-content: center; }

.btn-ball {
  display: inline-block; transition: transform 0.5s ease;
}
.btn:hover .btn-ball { transform: rotate(210deg); }

@media (prefers-reduced-motion: reduce) {
  .btn::before { display: none; }
  .btn-ball { transition: none; }
}

.cart-toggle {
  position: relative; background: none; border: 1px solid var(--border);
  border-radius: 3px; padding: 9px 12px; cursor: pointer; color: var(--text);
  font-family: var(--mono); font-size: 12px; letter-spacing: 1px;
  display: flex; align-items: center; gap: 8px;
}
.cart-toggle:hover { border-color: var(--celeste); }
.cart-count {
  background: var(--brick); color: #fff; border-radius: 50%;
  width: 18px; height: 18px; display: flex; align-items: center; justify-content: center;
  font-size: 10.5px; font-family: var(--mono);
}

.menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 3px; padding: 8px 10px; color: var(--text); cursor: pointer; }

/* ---------- HERO (full-bleed photo) ---------- */
.hero {
  position: relative; border-bottom: none; overflow: hidden; padding: 0;
  display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
  background-color: var(--bg);
}
.hero-photo-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  transform: scale(1.08) translate(var(--px, 0px), var(--py, 0px));
  transition: transform 0.5s cubic-bezier(0.16, 0.9, 0.3, 1);
  will-change: transform;
  filter: saturate(0.85);
}
.hero-photo-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 12, 8, 0.82) 0%, rgba(10, 12, 8, 0.5) 34%, rgba(10, 12, 8, 0.22) 62%, rgba(10, 12, 8, 0.32) 100%),
    linear-gradient(0deg, rgba(10, 12, 8, 0.45) 0%, rgba(10, 12, 8, 0.05) 38%);
}
.hero .wrap {
  width: 100%;
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center;
  gap: 40px; padding: 110px 24px; position: relative; z-index: 2;
}
.hero-copy {
  color: #ECE6D6;
  transform: translate(var(--px, 0px), var(--py, 0px));
  transition: transform 0.4s cubic-bezier(0.16, 0.9, 0.3, 1);
  will-change: transform;
}
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--celeste); margin: 0 0 14px;
}
.hero-copy .eyebrow { color: #8FCBEA; }
h1.headline {
  font-family: var(--display); font-weight: normal;
  font-size: clamp(40px, 6vw, 78px); line-height: 0.96; letter-spacing: 0.5px;
  margin: 0 0 20px; text-wrap: balance;
}
h1.headline em { font-style: normal; color: var(--mustard); }
.hero-copy h1.headline { color: #ECE6D6; }
.hero-copy h1.headline em { color: #F0B94A; }
.hero p.lede { font-size: 17px; color: rgba(236, 230, 214, 0.85); max-width: 46ch; margin: 0 0 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctas .btn-outline { border-color: rgba(236, 230, 214, 0.75); color: #ECE6D6; }
.hero-loc {
  margin-top: 24px; font-family: var(--mono); font-size: 12.5px; color: rgba(236, 230, 214, 0.72);
  display: flex; align-items: center; gap: 8px;
}
.hero-loc a { color: #8FCBEA; text-decoration: none; }
.hero-loc a:hover { text-decoration: underline; }

.hero-badge {
  position: relative; justify-self: end; width: min(220px, 100%); aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  transform: translate(var(--px, 0px), var(--py, 0px));
  transition: transform 0.3s cubic-bezier(0.16, 0.9, 0.3, 1);
  will-change: transform;
}
.hero-badge .ring { position: absolute; inset: 0; border: 1px dashed rgba(236, 230, 214, 0.4); border-radius: 50%; }
.hero-logo { width: 91%; height: 91%; object-fit: cover; border-radius: 50%; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)); }

@media (prefers-reduced-motion: reduce) {
  .hero-copy, .hero-badge, .hero-photo { transition: none; }
}

/* ---------- SCOREBOARD (ticker) ---------- */
.scoreboard { background: var(--text); color: var(--bg); border-bottom: 1px solid var(--border); overflow: hidden; }
.scoreboard-track { display: flex; width: fit-content; animation: scoreboard-scroll 22s linear infinite; }
.scoreboard-track:hover { animation-play-state: paused; }
.scoreboard-group { display: flex; flex-shrink: 0; min-width: 100vw; justify-content: space-evenly; align-items: center; gap: 28px; padding: 20px 20px; }
.score-item { text-align: center; white-space: nowrap; }
.score-item .num { font-family: var(--display); font-size: 28px; color: var(--mustard); display: block; line-height: 1; }
.score-item .label { font-family: var(--mono); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--bg); opacity: 0.75; display: block; margin-top: 6px; }

@keyframes scoreboard-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .scoreboard-track { animation: none; }
}

/* ---------- SECTIONS ---------- */
section { padding: 68px 0; border-bottom: 1px solid var(--border); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-head .eyebrow { margin-bottom: 8px; }
h2.section-title { font-family: var(--display); font-weight: normal; font-size: clamp(28px, 3.6vw, 42px); margin: 0; letter-spacing: 0.3px; text-wrap: balance; }
.section-head p { color: var(--text-muted); max-width: 40ch; margin: 0; }

/* ---------- REVIEWS ---------- */
.google-rating {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--text);
}
.google-rating-score { font-family: var(--display); font-size: 34px; line-height: 1; }
.google-stars { color: var(--mustard); font-size: 15px; letter-spacing: 2px; display: block; }
.google-rating-count {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.3px;
  color: var(--celeste); text-decoration: underline; text-underline-offset: 2px;
}
.google-rating:hover .google-rating-count { color: var(--text); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card {
  margin: 0; padding: 26px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-card .review-stars { color: var(--mustard); font-size: 15px; letter-spacing: 2px; }
.review-card p {
  font-family: var(--editorial); font-style: italic; font-size: 16px; line-height: 1.55;
  margin: 0; color: var(--text); flex: 1;
}
.review-card footer { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-size: 15px; color: #fff;
}
.avatar-celeste { background: var(--celeste); }
.avatar-mustard { background: var(--mustard); }
.avatar-brick { background: var(--brick); }
.review-author { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.3px; color: var(--text-muted); }

/* ---------- CATEGORIES (accordion) ---------- */
.squad-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.squad-item { border-bottom: 1px solid var(--border); }
.squad-row {
  display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 20px;
  padding: 20px 4px; text-decoration: none; color: var(--text);
  transition: background 0.15s ease; background: none; border: none;
  text-align: left; cursor: pointer; width: 100%;
}
.squad-row:hover { background: var(--surface); }
.squad-row .no { font-family: var(--mono); color: var(--text-muted); font-size: 14px; }
.squad-row .name { font-family: var(--display); font-size: clamp(22px, 3vw, 34px); letter-spacing: 0.3px; }
.squad-row .chevron {
  font-family: var(--mono); font-size: 20px; line-height: 1; color: var(--text-muted);
  transition: transform 0.25s ease, color 0.25s ease;
}
.squad-item.open .chevron { transform: rotate(180deg); color: var(--celeste); }

.squad-panel { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.squad-panel-inner {
  padding: 0 4px 22px 84px; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.squad-panel-inner .desc { font-family: var(--body); font-size: 13.5px; color: var(--text-muted); margin: 0; max-width: 52ch; }

@media (prefers-reduced-motion: reduce) {
  .squad-panel { transition: none; }
  .squad-row .chevron { transition: none; }
}
@media (max-width: 520px) {
  .squad-panel-inner { padding-left: 4px; }
}

/* ---------- FILTERS ---------- */
.filters-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-btn {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase;
  padding: 9px 16px; border-radius: 20px; border: 1px solid var(--border); background: none;
  color: var(--text-muted); cursor: pointer; transition: all 0.15s ease;
}
.filter-btn:hover { border-color: var(--celeste); color: var(--text); }
.filter-btn.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.sort-dropdown { position: relative; }
.sort-toggle {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 1px; text-transform: uppercase;
  padding: 9px 16px; border-radius: 20px; border: 1px solid var(--border); background: none;
  color: var(--text); cursor: pointer;
}
.sort-toggle:hover { border-color: var(--celeste); }
.sort-toggle .chevron { font-size: 14px; color: var(--text-muted); transition: transform 0.2s ease; }
.sort-dropdown.open .sort-toggle .chevron { transform: rotate(180deg); }

.sort-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 20;
  min-width: 210px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 12px 28px var(--shadow); padding: 6px;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; transform: translateY(-6px) scale(0.98); pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.sort-dropdown.open .sort-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.sort-menu button {
  font-family: var(--body); font-size: 13.5px; text-align: left; padding: 9px 12px;
  border-radius: 5px; border: none; background: none; color: var(--text); cursor: pointer;
}
.sort-menu button:hover { background: var(--surface-2); }
.sort-menu button.active { color: var(--celeste); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .sort-menu, .sort-toggle .chevron { transition: none; }
}

/* ---------- PRODUCTS ---------- */
.grid-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.card.is-sold { opacity: 0.55; }
.card-art { position: relative; background: var(--surface-2); aspect-ratio: 4/3.2; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); overflow: hidden; }
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-art svg { width: 56%; height: 56%; }
/* Silueta de respaldo cuando una prenda no tiene foto cargada. */
.art-sin-foto { color: var(--text-muted); }

/* Prendas con frente y dorso: la segunda foto va encima, invisible, y se
   revela al pasar el cursor. En celular no hay cursor, así que además se
   alterna tocando la foto (clase .ver-dorso, la pone main.js). */
.card-art.tiene-dorso .card-foto { position: absolute; inset: 0; }
.card-art { cursor: pointer; }
.card-art:focus-visible { outline: 2px solid var(--celeste); outline-offset: -2px; }
.card-foto-dorso { opacity: 0; transition: opacity 0.35s ease; }
.card:hover .card-foto-dorso,
.card-art.ver-dorso .card-foto-dorso { opacity: 1; }

.foto-contador {
  position: absolute; bottom: 10px; right: 10px; z-index: 2;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.5px;
  padding: 3px 7px; border-radius: 10px;
  background: rgba(10, 12, 8, 0.62); color: #fff;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .card-foto-dorso { transition: none; }
}
/* z-index necesario: las fotos de las tarjetas con dorso son position:absolute
   y van después en el HTML, así que sin esto quedan dibujadas encima y tapan
   el cartel (Sale, Retro, Agotado). */
.tag { position: absolute; z-index: 2; top: 12px; left: 12px; font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 8px; border-radius: 2px; background: var(--text); color: var(--bg); }
.tag.sale { background: var(--brick); color: #fff; }
.tag.agotado { top: auto; bottom: 12px; left: 12px; background: var(--text-muted); }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body .team { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--celeste); }
.card-body h3 { font-family: var(--body); font-weight: 600; font-size: 16px; margin: 0; }
.card-body .meta { font-size: 12.5px; color: var(--text-muted); }
.consulta-link { color: var(--celeste); text-decoration: underline; text-underline-offset: 2px; }
.consulta-link:hover { color: var(--text); }

/* Prendas 10/10: sin uso. El recuadro lo separa del resto del meta, que es
   texto corrido. */
.chip-nueva {
  display: inline-block; margin-right: 7px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.5px; text-transform: uppercase;
  padding: 2px 6px; border-radius: 2px;
  background: var(--celeste); color: #16130F; white-space: nowrap;
}
/* Ya no es un enlace: la consulta se hace desde el carrito, con todas las
   prendas juntas. Queda como texto, sin subrayado ni color de link. */
.price-consultar { font-size: 13px; font-weight: normal; color: var(--text-muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 10px; }
.price { font-family: var(--mono); font-size: 15.5px; font-weight: bold; white-space: nowrap; }
.price s { color: var(--text-muted); font-weight: normal; font-size: 12.5px; margin-right: 6px; }
.mini-btn {
  font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text); border: 1px solid var(--border); padding: 7px 10px; border-radius: 3px;
  background: none; cursor: pointer; white-space: nowrap;
}
.mini-btn:hover { border-color: var(--celeste); color: var(--celeste); }
.mini-btn:disabled { opacity: 0.5; cursor: not-allowed; }


/* ---------- PEDIDOS PERSONALIZADOS ---------- */
.personalizados-aviso {
  max-width: 68ch; margin: -8px 0 28px; font-size: 13px; color: var(--text-muted);
  border-left: 2px solid var(--celeste); padding-left: 14px;
}
.pedido-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pedido-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; display: flex; flex-direction: column;
}
.pedido-foto { aspect-ratio: 4/3.2; background: var(--surface-2); border-bottom: 1px solid var(--border); overflow: hidden; }
.pedido-foto img { width: 100%; height: 100%; object-fit: cover; }
.pedido-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pedido-card h3 { font-family: var(--body); font-weight: 600; font-size: 16px; margin: 0; }
.pedido-card p { font-size: 13px; color: var(--text-muted); margin: 0; flex: 1; }
.pedido-acciones { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.mini-btn-wa { border-color: #25D366; color: #128C4A; }
.mini-btn-wa:hover { background: #25D366; color: #fff; border-color: #25D366; }
@media (prefers-color-scheme: dark) {
  .mini-btn-wa { color: #4ADE80; }
}
:root[data-theme="dark"] .mini-btn-wa { color: #4ADE80; }

@media (max-width: 860px) {
  .pedido-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pedido-grid { grid-template-columns: 1fr; }
}

/* ---------- ABOUT ---------- */
#historia { position: relative; overflow: hidden; }
.ball-watermark {
  position: absolute; z-index: 1; pointer-events: none;
  width: min(420px, 60vw); aspect-ratio: 1;
  bottom: -12%; left: -8%;
  color: var(--text); opacity: 0.05;
}
.about-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.about-grid blockquote { font-family: var(--editorial); font-style: italic; font-size: 25px; line-height: 1.35; margin: 0; color: var(--text); border-left: 3px solid var(--mustard); padding-left: 22px; }
.about-grid .copy { font-family: var(--editorial); font-size: 16.5px; line-height: 1.7; color: var(--text-muted); max-width: 62ch; }
.about-grid .copy p { margin: 0 0 16px; }
.stamp { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--celeste); border: 1px solid var(--celeste); padding: 6px 10px; border-radius: 2px; }

/* ---------- INSTAGRAM ---------- */
.insta-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.insta-cell { aspect-ratio: 1; background: var(--surface-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; border-radius: 4px; color: var(--text-muted); position: relative; overflow: hidden; text-decoration: none; }
.insta-cell svg { width: 34%; height: 34%; opacity: 0.6; }
.insta-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.insta-cell:hover img { transform: scale(1.06); }

@media (prefers-reduced-motion: reduce) {
  .insta-cell img { transition: none; }
}
.follow-count { font-family: var(--mono); font-size: 13px; color: var(--text-muted); }
.follow-count b { color: var(--text); font-family: var(--body); }

/* ---------- HOW TO BUY (full-bleed photo) ---------- */
#contacto {
  position: relative; overflow: hidden; padding: 0; border-bottom: none;
  display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
}
.contact-photo-wrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.contact-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; filter: saturate(0.9); }
.contact-photo-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(10, 12, 8, 0.85) 0%, rgba(10, 12, 8, 0.55) 45%, rgba(10, 12, 8, 0.35) 100%);
}
#contacto .wrap { position: relative; z-index: 2; width: 100%; padding-top: 70px; padding-bottom: 70px; }
#contacto .section-head .eyebrow { color: #8FCBEA; }
#contacto .section-head .section-title { color: #ECE6D6; }
#contacto .section-head p { color: rgba(236, 230, 214, 0.78); }

.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.how-item {
  padding: 24px 20px; border-radius: 6px;
  background: rgba(20, 24, 16, 0.6); border: 1px solid rgba(236, 230, 214, 0.16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.how-item .ic { font-family: var(--display); font-size: 24px; color: #8FCBEA; margin-bottom: 12px; }
.how-item h4 { margin: 0 0 6px; font-size: 15px; color: #ECE6D6; }
.how-item p { margin: 0 0 4px; font-size: 13px; color: rgba(236, 230, 214, 0.75); }
.how-item a.maps-link { font-family: var(--mono); font-size: 11.5px; color: #8FCBEA; text-decoration: none; }
.how-item a.maps-link:hover { text-decoration: underline; }

/* ---------- FOOTER ---------- */
footer.site { padding: 52px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.foot-brand .brand-word { display: block; margin-bottom: 10px; }
.foot-brand p { color: var(--text-muted); font-size: 14px; max-width: 34ch; }
.foot-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin: 0 0 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { text-decoration: none; font-size: 14px; }
.foot-col a:hover { color: var(--celeste); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 11px; color: var(--text-muted); flex-wrap: wrap; }

/* ---------- AVISO DE PROMOCIÓN ---------- */
.aviso-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(10, 12, 8, 0.86);
  display: none; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}
.aviso-overlay.open { display: flex; }

.aviso {
  position: relative; width: min(430px, 100%);
  background: var(--surface); border-radius: 10px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  margin: auto;
  animation: aviso-entrada 0.28s cubic-bezier(0.16, 0.9, 0.3, 1);
}
@keyframes aviso-entrada {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.aviso img { width: 100%; height: auto; display: block; }

.aviso-cerrar {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; border: none;
  background: rgba(10, 12, 8, 0.65); color: #fff; font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.aviso-cerrar:hover { background: rgba(10, 12, 8, 0.9); }

.aviso-pie { padding: 16px; display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.aviso-pie p { margin: 0; font-size: 13.5px; color: var(--text-muted); }
.aviso-pie strong { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .aviso { animation: none; }
}

/* ---------- VISOR DE PRODUCTO ---------- */
.visor-overlay {
  position: fixed; inset: 0; background: rgba(10, 12, 8, 0.82); z-index: 95;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.visor-overlay.open { opacity: 1; pointer-events: auto; }

.visor {
  position: fixed; top: 50%; left: 50%; z-index: 96;
  width: min(1040px, calc(100% - 32px)); max-height: calc(100vh - 32px); max-height: calc(100svh - 32px);
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  display: grid; grid-template-columns: 1.25fr 0.75fr; overflow: hidden;
  transform: translate(-50%, -48%) scale(0.98); opacity: 0; pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.visor.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }

.visor-cerrar {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  background: rgba(10, 12, 8, 0.6); color: #fff; border: none; font-size: 15px; line-height: 1;
}
.visor-cerrar:hover { background: rgba(10, 12, 8, 0.85); }

.visor-galeria { position: relative; background: var(--surface-2); display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; }
.visor-foto {
  width: 100%; height: 100%; max-height: calc(100vh - 32px); object-fit: contain; display: block;
  cursor: zoom-in; transition: transform 0.25s ease;
}

/* Foto ampliada: el punto donde está el cursor o el dedo queda centrado
   (lo fija visor.js con transform-origin), así se recorre la prenda sin
   arrastrar ni barras de desplazamiento. */
.visor-galeria.zoom .visor-foto { transform: scale(2.6); cursor: zoom-out; transition: none; }
.visor-galeria.zoom .visor-flecha,
.visor-galeria.zoom .visor-puntos { opacity: 0; pointer-events: none; }

.visor-zoom {
  position: absolute; bottom: 12px; right: 12px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer; border: none;
  background: rgba(10, 12, 8, 0.55); color: #fff; font-size: 15px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.visor-zoom:hover { background: rgba(10, 12, 8, 0.8); }
.visor-galeria.zoom .visor-zoom { background: var(--celeste); color: #16130F; }

@media (prefers-reduced-motion: reduce) {
  .visor-foto { transition: none; }
}

.visor-flecha {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; border: none;
  background: rgba(10, 12, 8, 0.55); color: #fff; font-size: 24px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.visor-flecha:hover { background: rgba(10, 12, 8, 0.8); }
.visor-prev { left: 12px; }
.visor-next { right: 12px; }
.visor-flecha[hidden] { display: none; }

.visor-puntos { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.visor-punto { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); }
.visor-punto.activo { background: #fff; }

.visor-datos { padding: 30px 26px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.visor-datos .team { font-family: var(--mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--celeste); }
.visor-datos h3 { font-family: var(--body); font-weight: 600; font-size: 21px; margin: 0; }
.visor-meta { font-size: 13.5px; color: var(--text-muted); margin: 0; }
.visor-precio { font-family: var(--mono); font-size: 25px; font-weight: bold; margin-top: 6px; }
.visor-precio s { color: var(--text-muted); font-weight: normal; font-size: 16px; margin-right: 8px; }
.visor-precio .consultar { font-size: 16px; font-weight: normal; color: var(--text-muted); }
.visor-acciones { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

.visor-miniaturas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.visor-miniatura {
  width: 54px; height: 54px; border-radius: 5px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; background: var(--surface-2); padding: 0;
}
.visor-miniatura img { width: 100%; height: 100%; object-fit: cover; }
.visor-miniatura.activa { border-color: var(--celeste); }

@media (prefers-reduced-motion: reduce) {
  .visor-overlay, .visor { transition: none; }
}

@media (max-width: 860px) {
  .visor { grid-template-columns: 1fr; grid-template-rows: auto auto; overflow-y: auto; }
  .visor-foto { max-height: 52vh; }
  .visor-datos { padding: 22px 20px 26px; }
}

/* ---------- CART DRAWER ---------- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(18, 22, 15, 0.55); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--bg); border-left: 1px solid var(--border); z-index: 91;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.25s ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.cart-head h3 { font-family: var(--display); font-size: 22px; margin: 0; letter-spacing: 0.3px; }
.cart-close { background: none; border: 1px solid var(--border); border-radius: 50%; width: 32px; height: 32px; cursor: pointer; color: var(--text); font-size: 16px; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.cart-empty { color: var(--text-muted); font-size: 14px; padding: 40px 0; text-align: center; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; }
.cart-item .thumb { width: 56px; height: 56px; border-radius: 4px; background: var(--surface-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .thumb svg { width: 60%; height: 60%; }
.cart-item .info .team { font-family: var(--mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--celeste); }
.cart-item .info h4 { margin: 2px 0 0; font-size: 14px; }
.cart-item .info .meta { font-size: 12px; color: var(--text-muted); }
.cart-item .side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-item .price { font-size: 14px; }
.remove-btn { background: none; border: none; color: var(--brick); font-family: var(--mono); font-size: 11px; cursor: pointer; padding: 0; text-decoration: underline; }
.cart-foot { padding: 18px 22px 24px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.cart-discount { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); font-size: 12.5px; color: var(--celeste); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--mono); }
.cart-total .amount { font-size: 22px; font-weight: bold; }
.cart-note { font-size: 11.5px; color: var(--text-muted); }

/* El botón de consultar es un enlace: sin prendas en la lista no lleva a
   ningún lado, así que se muestra apagado y no responde al click. */
.btn.is-disabled { opacity: 0.45; pointer-events: none; }


.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px var(--shadow);
  transition: transform 0.15s ease;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
}

@media (max-width: 860px) {
  .nav { padding: 12px 16px; gap: 10px; }
  .nav-actions { gap: 8px; }
  .brand { gap: 8px; }
  .crest { width: 34px; height: 34px; }
  .brand-word { font-size: 17px; }
  .cart-label { display: none; }
  .cart-toggle { padding: 9px 10px; gap: 6px; }
  nav.links { position: fixed; top: 63px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; align-items: flex-start; padding: 18px 24px; gap: 18px; transform: translateY(-120%); transition: transform 0.2s ease; z-index: 49; }
  nav.links.open { transform: translateY(0); }
  .menu-toggle { display: inline-flex; }
  .hero-ctas .btn-outline { display: inline-flex; }
  .hero .wrap { grid-template-columns: 1fr; padding: 100px 24px; }
  .hero-photo-scrim {
    background:
      linear-gradient(180deg, rgba(10, 12, 8, 0.78) 0%, rgba(10, 12, 8, 0.45) 45%, rgba(10, 12, 8, 0.4) 100%);
  }
  .hero-badge { justify-self: center; margin-top: 16px; }
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  #contacto .wrap { padding-top: 90px; padding-bottom: 90px; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 520px) {
  .grid-products { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; }
}
