/* Tipografías alojadas en este sitio (antes se pedían a Google Fonts, que bloqueaba el renderizado). Licencia OFL. */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* ==========================================================================
   WHEELERS — nuevo estilo
   Editorial y moderno: crema cálido, tinta, naranja de marca (#FE6502, el del logotipo),
   Inter Tight + Instrument Serif, bloques redondeados y movimiento sutil.
   ========================================================================== */

:root {
  --bg: #f3f1ec;
  --bg-2: #ebe8e1;
  --surface: #ffffff;
  --ink: #111111;
  --ink-2: #1d1d1d;
  --muted: #6b6a66;
  --line: rgba(17, 17, 17, 0.1);
  --accent: #fe6502;
  --accent-2: #e55a00;
  --ok: #1f8a4c;

  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --wrap: 1360px;
  --gutter: clamp(14px, 3vw, 32px);
  --r-xl: 30px;
  --r-lg: 24px;
  --r: 18px;
  --r-sm: 12px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.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; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }
html.is-locked { overflow: hidden; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Tipografía ---------- */
.display { font-size: clamp(44px, 6.2vw, 100px); font-weight: 600; line-height: 0.95; letter-spacing: -0.03em; }
.title { font-size: clamp(34px, 4.4vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -0.028em; }
.subtitle { font-size: clamp(22px, 2vw, 30px); font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }
.display em, .title em, .subtitle em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.display em, .title em { color: var(--accent); }
.tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.tag--pill { padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.25); }
.muted { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em; white-space: nowrap;
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ink); transform: translateY(101%); transition: transform 0.45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(0.98); }
.btn .icon { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink::before { background: var(--accent); }
.btn--glass { background: rgba(255, 255, 255, 0.16); color: #fff; border-color: rgba(255, 255, 255, 0.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass::before { background: #fff; }
.btn--glass:hover { color: var(--ink); }
.btn--line { border-color: var(--line); background: var(--surface); }
.btn--line:hover { color: #fff; border-color: var(--ink); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }
.round {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); flex: none;
  transition: background 0.3s, color 0.3s, transform 0.4s var(--ease), border-color 0.3s;
}
.round:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round .icon { width: 18px; height: 18px; }
.round--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.round--ink:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Aviso superior + navegación flotante ---------- */
.topline { text-align: center; font-size: 13px; color: var(--muted); padding: 10px var(--gutter) 0; }
.topline b { color: var(--ink); font-weight: 600; }
.topline span + span::before { content: "·"; margin: 0 10px; color: var(--accent); font-weight: 700; }
.navwrap { position: sticky; top: 10px; z-index: 50; padding: 10px var(--gutter) 0; transition: transform 0.5s var(--ease); }
.navwrap.is-hidden { transform: translateY(calc(-100% - 12px)); }
.navbar {
  max-width: var(--wrap); margin-inline: auto; height: var(--nav-h); border-radius: 999px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 0 8px 0 22px;
  background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(17, 17, 17, 0.06); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.25);
  transition: background 0.3s, box-shadow 0.3s;
}
.navwrap.is-scrolled .navbar { background: rgba(255, 255, 255, 0.9); box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.35); }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; color: var(--ink); }
.brand__emblem { width: 34px; }
.brand__word { width: 116px; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: background 0.25s, color 0.25s; }
.nav a:hover { background: rgba(17, 17, 17, 0.06); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.tools { justify-self: end; display: flex; align-items: center; gap: 4px; }
.tool { position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; transition: background 0.25s; }
.tool:hover { background: rgba(17, 17, 17, 0.06); }
.tool .icon { width: 21px; height: 21px; }
.tool--cart { width: auto; padding: 0 16px 0 14px; gap: 8px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--ink); color: #fff; height: 48px; }
.tool--cart:hover { background: var(--accent); }
.cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; transition: background 0.25s; }
.tool--cart:hover .cart-count { background: var(--ink); }
.menu-btn { display: none; }
@media (max-width: 980px) {
  .navbar { grid-template-columns: auto 1fr auto; padding: 0 6px 0 6px; }
  .nav { display: none; }
  .menu-btn { display: grid; }
  .brand { justify-self: center; }
  .brand__word { width: 104px; }
  .tool--account { display: none; }
  .tool--cart { padding: 0 12px; }
  .tool--cart .cart-label { display: none; }
}
@media (max-width: 420px) { .brand__emblem { display: none; } .topline span:last-child { display: none; } }

/* Menú móvil */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(17, 17, 17, 0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s 0.35s; }
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s; }
.mnav {
  position: fixed; top: 10px; left: 10px; bottom: 10px; z-index: 100; width: min(360px, calc(100vw - 20px)); border-radius: var(--r-lg);
  background: var(--surface); display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(calc(-100% - 20px)); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s;
}
.mnav.is-open { transform: none; visibility: visible; transition: transform 0.45s var(--ease); }
.mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 12px 22px; }
.mnav__links { padding: 8px 14px; display: grid; gap: 4px; }
.mnav__links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px; border-radius: 14px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.mnav__links a:hover, .mnav__links a[aria-current="page"] { background: var(--bg); }
.mnav__links a .icon { width: 18px; height: 18px; color: var(--muted); }
.mnav__foot { margin-top: auto; padding: 20px 26px; display: grid; gap: 4px; font-size: 14px; color: var(--muted); }

/* Buscador */
.search { position: fixed; inset: 0; z-index: 110; display: none; }
.search.is-open { display: block; }
.search__bg { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.4); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.search__panel { position: relative; margin: 12px auto 0; width: min(860px, calc(100% - 24px)); border-radius: var(--r-lg); background: var(--surface); padding: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25); animation: popIn 0.35s var(--ease); }
.search__field { display: flex; align-items: center; gap: 12px; padding: 4px 4px 4px 14px; border-radius: 999px; background: var(--bg); }
.search__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 18px; font-weight: 500; padding: 10px 0; }
.search__field input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search__results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 12px; max-height: 60vh; overflow-y: auto; }
.search__hint { grid-column: 1 / -1; color: var(--muted); font-size: 14px; padding: 8px 10px; }
.sres { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 14px; }
.sres:hover, .sres:focus { background: var(--bg); outline: none; }
.sres__img { width: 60px; height: 60px; border-radius: 12px; background: color-mix(in srgb, var(--tint, #ddd) 18%, #f7f6f3); overflow: hidden; }
.sres__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.sres__img img.cover { object-fit: cover; mix-blend-mode: normal; }
.sres b { display: block; font-weight: 600; line-height: 1.2; }
.sres span { font-size: 14px; color: var(--muted); }
@keyframes popIn { from { opacity: 0; transform: translateY(-10px) scale(0.98); } }
@media (max-width: 560px) { .search__results { grid-template-columns: 1fr; } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 8vw, 120px); }
.head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.head .tag { margin-bottom: 14px; }
.head__aside { display: flex; align-items: center; gap: 10px; }
.head__aside p { max-width: 42ch; color: var(--muted); }

/* ---------- Portada (bento) ---------- */
.hero { padding: 14px var(--gutter) 0; }
.bento { max-width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr); gap: 14px; height: clamp(600px, calc(100svh - 120px), 820px); }
.tile { position: relative; overflow: hidden; border-radius: var(--r-xl); }
.tile--main { background: var(--ink); color: #fff; }
.tile--main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 35%; }
.tile--main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.7) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 55%); }
.tile__content { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3.5vw, 48px); display: grid; gap: 18px; justify-items: start; }
.tile__content .display { max-width: 11ch; }
.tile__content p { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, 0.86); max-width: 34ch; }
.tile__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.bento__side { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; min-height: 0; }

/* Panel de destacados que rota */
.spot { --tint: #cfcfcf; display: flex; flex-direction: column; padding: 20px; background: color-mix(in srgb, var(--tint) 22%, #f8f7f4); transition: background-color 0.9s var(--ease); }
.spot__head { display: flex; justify-content: space-between; align-items: center; }
.spot__dots { display: flex; gap: 6px; }
.spot__dots button { width: 8px; height: 8px; border-radius: 4px; background: rgba(17, 17, 17, 0.18); transition: width 0.4s var(--ease), background 0.3s; }
.spot__dots button[aria-current="true"] { width: 24px; background: var(--ink); }
.spot__stage { position: relative; flex: 1; min-height: 160px; }
.spot__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: opacity 0.6s, transform 0.8s var(--ease); }
.spot__stage img.is-out { opacity: 0; transform: translateX(-24px) rotate(-3deg); }
.spot__stage img.is-in-start { opacity: 0; transform: translateX(28px) rotate(3deg); }
.spot__foot { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.spot__name { font-size: clamp(24px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.spot__price { color: var(--muted); margin-top: 6px; }
.spot__text { transition: opacity 0.4s, transform 0.5s var(--ease); }
.spot.is-swapping .spot__text { opacity: 0; transform: translateY(8px); }

/* Oferta */
.offer-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 22px 22px 22px 24px; background: var(--accent); color: #fff; }
.offer-tile h2 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; }
.offer-tile p { margin-top: 8px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.offer-tile p .icon { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.offer-tile:hover p .icon { transform: translateX(4px); }
.offer-tile__img { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255, 255, 255, 0.5); transition: transform 0.6s var(--ease); }
.offer-tile:hover .offer-tile__img { transform: rotate(-8deg) scale(1.05); }
.offer-tile__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  .bento { grid-template-columns: 1fr; height: auto; }
  .tile--main { min-height: min(560px, 76svh); }
  .bento__side { grid-template-rows: auto auto; }
  .spot { min-height: 360px; }
}

/* Garantías */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.perk { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r); background: var(--surface); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.perk:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -20px rgba(0, 0, 0, 0.3); }
.perk__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; flex: none; transition: background 0.3s, color 0.3s; }
.perk:hover .perk__icon { background: var(--accent); color: #fff; }
.perk b { display: block; font-weight: 600; line-height: 1.25; }
.perk span { font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .perks { grid-template-columns: 1fr; } }

/* Categorías */
.cats { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 14px; }
.cat { position: relative; display: block; overflow: hidden; border-radius: var(--r-xl); min-height: clamp(360px, 40vw, 560px); background: var(--ink); color: #fff; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat:hover img { transform: scale(1.06); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.65)); }
.cat__top { position: absolute; z-index: 1; top: 20px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: start; }
.cat__count { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.25); }
.cat .round { background: #fff; border: 0; }
.cat .round .icon { transform: rotate(-45deg); transition: transform 0.45s var(--ease); }
.cat:hover .round { background: var(--accent); color: #fff; }
.cat:hover .round .icon { transform: rotate(0); }
.cat__bottom { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 24px; }
.cat__bottom h3 { font-size: clamp(34px, 4vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; }
.cat__bottom p { margin-top: 10px; max-width: 46ch; color: rgba(255, 255, 255, 0.85); font-size: 15px; }
@media (max-width: 820px) { .cats { grid-template-columns: 1fr; } }

/* ---------- Tarjeta de producto ---------- */
.pcard { --tint: #cfcfcf; position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: color-mix(in srgb, var(--tint) 16%, #f8f7f4); transition: background-color 0.5s; }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; transition: opacity 0.3s ease, transform 0.9s var(--ease); }
.pcard__media img.is-photo { object-fit: cover; padding: 0; mix-blend-mode: normal; }
/* segunda foto al pasar el ratón: la primera sale antes de que entre la otra, sin mezclarse */
.pcard__media img + img { opacity: 0; transition: opacity 0.3s ease, transform 0.9s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard:hover .pcard__media img:first-of-type:not(:last-of-type) { opacity: 0; transition-delay: 0s, 0s; }
.pcard:hover .pcard__media img + img { opacity: 1; transition-delay: 0.22s, 0s; }
.pcard__sw { position: absolute; z-index: 1; left: 14px; top: 14px; display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pcard__badge { position: absolute; z-index: 1; right: 14px; top: 14px; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }
/* agotados: foto en color pero atenuada. Solo se atenúa la foto principal (1ª img) y, al pasar el ratón,
   la foto alternativa; la alternativa sigue oculta (opacity 0) en reposo para que no asome bajo la principal. */
.pcard.is-out .pcard__media { background: #e9e7e2; }
.pcard.is-out .pcard__media img:first-of-type { opacity: 0.55; }
.pcard.is-out:hover .pcard__media img + img { opacity: 0.55; }
.pcard__add { position: absolute; z-index: 2; right: 14px; bottom: 14px; }
.pcard__add .icon { transition: transform 0.4s var(--ease); }
.pcard__add:hover .icon { transform: rotate(90deg); }
.pcard__add.is-added { background: var(--ok); border-color: var(--ok); color: #fff; }
.pcard__info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 0 6px; }
.pcard__name { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; min-width: 0; }
.pcard__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toda la tarjeta enlaza */
.pcard__price { color: var(--muted); font-weight: 500; white-space: nowrap; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); flex: none; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) 14px; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .pcard__media { border-radius: var(--r); }
  .pcard__name { font-size: 15.5px; }
  .pcard__info { flex-direction: column; gap: 2px; padding: 0 2px; }
  .pcard__add { width: 40px; height: 40px; right: 10px; bottom: 10px; }
  .pcard__sw { left: 10px; top: 10px; }
}

/* Carrusel */
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding: 4px var(--gutter) 8px; margin-inline: calc(-1 * var(--gutter)); cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail > .pcard { flex: 0 0 clamp(250px, 23vw, 330px); scroll-snap-align: start; }
.rail__bar { height: 2px; margin-top: 26px; background: var(--line); border-radius: 1px; overflow: hidden; }
.rail__bar i { display: block; height: 100%; width: 30%; background: var(--ink); border-radius: 1px; transition: transform 0.2s linear; transform-origin: 0 50%; }
@media (max-width: 760px) { .rail > .pcard { flex-basis: 70vw; } }

/* La marca (bloque oscuro con texto que se ilumina) */
.statement { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; overflow: hidden; }
.statement__img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.statement__img img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.statement .tag { color: rgba(255, 255, 255, 0.7); }
.statement h2 { margin-top: 14px; }
.statement__text { margin-top: 26px; font-size: clamp(22px, 2.4vw, 36px); font-weight: 500; line-height: 1.22; letter-spacing: -0.02em; }
.statement__text .w { color: rgba(255, 255, 255, 0.22); transition: color 0.4s; }
.statement__text .w.is-lit { color: #fff; }
.statement .btn { margin-top: 32px; }
@media (max-width: 860px) { .statement { grid-template-columns: 1fr; } .statement__img { aspect-ratio: 16 / 11; } }

/* Galería @wheelerssunglasses */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 17vw, 250px); gap: 14px; }
.gitem { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--bg-2); }
.gitem:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gitem:nth-child(6) { grid-column: span 2; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gitem:hover img { transform: scale(1.06); }
.gitem__cap { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; font-weight: 600; transform: translateY(8px); opacity: 0; transition: transform 0.4s var(--ease), opacity 0.3s; }
.gitem:hover .gitem__cap, .gitem:focus-visible .gitem__cap { transform: none; opacity: 1; }
.gitem__cap .icon { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 10px; }
  .gitem:nth-child(6) { grid-column: span 1; }
  .gitem__cap { opacity: 1; transform: none; font-size: 12.5px; padding: 6px 10px; }
}

/* Ópticos y distribuidores */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.duo__card { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r-xl); background: var(--surface); }
.duo__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--bg); }
.duo__icon .icon { width: 26px; height: 26px; }
.duo__text { color: var(--muted); display: grid; gap: 10px; }
.duo__text a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.duo__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.footer { margin-top: clamp(40px, 6vw, 80px); background: var(--ink); color: rgba(255, 255, 255, 0.72); border-radius: var(--r-xl) var(--r-xl) 0 0; padding-top: clamp(48px, 6vw, 80px); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.footer__lead { color: #fff; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; max-width: 16ch; }
.footer__lead em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }
.footer h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.footer__col a { display: block; padding: 4px 0; transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.08); color: #fff; transition: background 0.3s; }
.social a:hover { background: var(--accent); }
.social .icon { width: 18px; height: 18px; }
.footer__word { margin-top: clamp(48px, 6vw, 88px); color: var(--accent); padding-inline: var(--gutter); }
.footer__word svg { width: 100%; height: auto; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 22px var(--gutter) 26px; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 24px; }
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__bar a:hover { color: #fff; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); color: #fff; font-size: 12px; font-weight: 500; }
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); }
.lang a { padding: 3px 10px; border-radius: 999px; }
.lang a[aria-current="true"] { background: #fff; color: var(--ink); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 460px) { .footer__grid { grid-template-columns: 1fr; } }

/* WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22); transition: transform 0.3s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Carrito ---------- */
.drawer {
  position: fixed; top: 10px; right: 10px; bottom: 10px; z-index: 100; width: min(440px, calc(100vw - 20px)); border-radius: var(--r-lg);
  background: var(--surface); display: flex; flex-direction: column; overflow: hidden;
  transform: translateX(calc(100% + 20px)); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s 0.45s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform 0.45s var(--ease); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 10px 10px 24px; }
.drawer__head h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.03em; }
.drawer__head h2 span { color: var(--muted); font-weight: 500; }
.promo { margin: 4px 16px 0; padding: 14px 16px; border-radius: var(--r); background: var(--bg); font-size: 14px; }
.promo__msg { display: flex; gap: 10px; align-items: flex-start; }
.promo__msg .icon { color: var(--accent); width: 20px; height: 20px; margin-top: 1px; }
.promo__bar { margin-top: 10px; height: 6px; border-radius: 3px; background: rgba(17, 17, 17, 0.08); overflow: hidden; }
.promo__bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--accent); transition: width 0.6s var(--ease); }
.promo.is-done .promo__bar i { background: var(--ok); }
.drawer__items { flex: 1; overflow-y: auto; padding: 4px 16px; overscroll-behavior: contain; }
.cline { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 8px; border-bottom: 1px solid var(--line); }
.cline__img { width: 76px; height: 76px; border-radius: 14px; background: color-mix(in srgb, var(--tint, #ddd) 20%, #f8f7f4); overflow: hidden; }
.cline__img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; mix-blend-mode: multiply; }
.cline__img img.cover { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.cline__name { font-weight: 600; line-height: 1.25; }
.cline__var { font-size: 13px; color: var(--muted); }
.cline__free { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; background: var(--ok); color: #fff; font-size: 11.5px; font-weight: 600; }
.cline__right { display: grid; justify-items: end; gap: 8px; }
.cline__price { font-weight: 600; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: var(--bg); }
.qty button { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; }
.qty button:hover { background: rgba(17, 17, 17, 0.08); }
.qty .icon { width: 14px; height: 14px; stroke-width: 2; }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: 14px; }
.drawer__empty { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 56px 12px; color: var(--muted); }
.drawer__empty .icon { width: 44px; height: 44px; color: #c8c6c0; stroke-width: 1.3; }
.upsell { padding: 18px 8px 8px; }
.upsell h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px; color: var(--muted); }
.upsell__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.upsell__item { display: grid; gap: 4px; text-align: left; font-size: 13px; align-content: start; }
.upsell__item .img { aspect-ratio: 1; border-radius: 14px; background: color-mix(in srgb, var(--tint, #ddd) 20%, #f8f7f4); overflow: hidden; transition: transform 0.3s var(--ease); }
.upsell__item:hover .img { transform: translateY(-2px); }
.upsell__item img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.upsell__item img.cover { object-fit: cover; mix-blend-mode: normal; }
.upsell__item b { font-weight: 600; }
.upsell__item span { color: var(--muted); }
.drawer__foot { padding: 16px 24px 20px; border-top: 1px solid var(--line); }
.sum { display: grid; gap: 6px; margin-bottom: 16px; font-size: 15px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .is-discount { color: var(--ok); font-weight: 600; }
.sum .total { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); }
.drawer__note { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--muted); }

/* Avisos y modal */
.toasts { position: fixed; left: 50%; bottom: 20px; z-index: 300; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); animation: popIn 0.35s var(--ease); }
.toast .icon { width: 18px; height: 18px; }
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(17, 17, 17, 0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__box { width: min(480px, 100%); padding: 32px; border-radius: var(--r-lg); background: var(--surface); animation: popIn 0.35s var(--ease); }
.modal__box h3 { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 10px; }
.modal__box p { color: var(--muted); }
.modal__box p + p { margin-top: 10px; }
.modal__box .pay { margin: 18px 0 24px; }
.modal__box .pay span { background: var(--bg); color: var(--ink); }

/* Vuelo al carrito */
.flyer { position: fixed; z-index: 400; pointer-events: none; border-radius: 18px; overflow: hidden; background: #f8f7f4; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.25); }
.flyer img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
@keyframes bump { 40% { transform: scale(1.45); } }
.cart-count.bump { animation: bump 0.5s var(--ease); }

/* ---------- Páginas interiores ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); }
.crumbs span::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.pagehead { padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 36px); }
.pagehead__row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 48px; margin-top: 18px; }
.pagehead__row p { max-width: 52ch; color: var(--muted); font-size: 17px; }
.count-pill { display: inline-flex; vertical-align: super; margin-left: 10px; padding: 5px 12px; border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.banner { position: relative; overflow: hidden; border-radius: var(--r-xl); height: clamp(220px, 28vw, 380px); background: var(--ink); }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }

/* Tienda: filtros en píldoras */
.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: clamp(24px, 3vw, 36px) 0 clamp(24px, 3vw, 32px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--surface); border: 1px solid transparent; font-size: 14.5px; font-weight: 500; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.chip:hover { border-color: var(--line); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.chip--plain { padding: 0 16px; }
.filters__right { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.select {
  appearance: none; -webkit-appearance: none; min-height: 42px; padding: 0 38px 0 16px; border-radius: 999px; border: 1px solid transparent;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 14px;
  font-size: 14.5px; font-weight: 500; cursor: pointer; color: var(--ink);
}
.select:hover { border-color: var(--line); }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px 0 8px; border-radius: 999px; background: var(--surface); font-size: 14.5px; font-weight: 500; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 38px; height: 22px; border-radius: 11px; background: #d6d3cc; position: relative; cursor: pointer; transition: background 0.25s; margin: 0; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform 0.3s var(--ease); }
.switch input:checked { background: var(--accent); }
.switch input:checked::after { transform: translateX(16px); }
.results { font-size: 14px; color: var(--muted); }
.empty { grid-column: 1 / -1; text-align: center; padding: 64px 0; color: var(--muted); display: grid; gap: 14px; justify-items: center; }
@media (max-width: 760px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); width: calc(100% + 2 * var(--gutter)); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .filters__right { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .filters__right .select { width: 100%; min-width: 0; text-overflow: ellipsis; }
  .filters__right .switch { justify-content: flex-start; }
}

/* Ficha de producto */
.pdp { padding: 20px 0 clamp(56px, 7vw, 96px); }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; margin-top: 18px; }
.gallery { display: grid; gap: 12px; }
.gallery__main { --tint: #cfcfcf; position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; background: color-mix(in srgb, var(--tint) 20%, #f8f7f4); }
.gallery__main.can-zoom { cursor: zoom-in; }
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; opacity: 0; transform: scale(0.97); transition: opacity 0.5s, transform 0.6s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gallery__main img.is-photo { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.gallery__main img.is-active { opacity: 1; transform: none; }
.gallery__main.is-zoom img.is-active { transform: scale(2); }
.gallery__nav { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; z-index: 1; }
.gallery__count { position: absolute; left: 18px; bottom: 22px; font-size: 13px; font-weight: 600; color: var(--muted); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.gallery__thumbs button { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: color-mix(in srgb, var(--tint, #ddd) 20%, #f8f7f4); border: 2px solid transparent; transition: border-color 0.25s, transform 0.3s var(--ease); }
.gallery__thumbs button:hover { transform: translateY(-2px); }
.gallery__thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery__thumbs img.is-photo { object-fit: cover; mix-blend-mode: normal; }
.summary { position: sticky; top: calc(var(--nav-h) + 28px); padding: clamp(24px, 3vw, 36px); border-radius: var(--r-xl); background: var(--surface); }
.summary .crumbs { font-size: 13px; }
.summary__name { margin-top: 14px; font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; letter-spacing: -0.04em; line-height: 0.95; }
.summary__tag { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 26px); color: var(--muted); }
.summary__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.summary__price { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.stock { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #e7f4ec; color: var(--ok); font-size: 13px; font-weight: 600; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock.is-out { background: #fde9e1; color: #c2410c; }
.summary__short { margin-top: 16px; color: var(--muted); }
.attrs { margin-top: 18px; display: grid; gap: 8px; }
.attr { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--bg); font-size: 15px; }
.attr dt { color: var(--muted); }
.attr dd { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-align: right; }
.opt { margin-top: 20px; }
.opt__label { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.opt__label span { font-weight: 500; color: var(--muted); }
.swatches, .sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 40px; height: 40px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); outline: 2px solid transparent; outline-offset: 3px; transition: outline-color 0.2s, transform 0.25s var(--ease); }
.swatch:hover { transform: scale(1.06); }
.swatch[aria-checked="true"] { outline-color: var(--ink); }
.size { min-width: 52px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--bg); font-weight: 600; font-size: 14px; transition: background 0.2s, color 0.2s; }
.size:hover { background: var(--bg-2); }
.size[aria-checked="true"] { background: var(--ink); color: #fff; }
.buy { display: flex; gap: 10px; margin-top: 22px; }
.buy .qty { padding: 4px; }
.buy .qty button { width: 42px; height: 42px; }
.buy .btn { flex: 1; min-height: 52px; }
.buy .btn.is-added { background: var(--ok); }
.summary__offer { margin-top: 14px; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--accent) 12%, #fff); font-size: 14px; font-weight: 600; }
.summary__offer .icon { color: var(--accent); width: 20px; height: 20px; }
.summary__perks { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.summary__perks li { display: flex; gap: 10px; align-items: center; }
.summary__perks .icon { width: 18px; height: 18px; color: var(--ink); }
.acc { margin-top: clamp(36px, 5vw, 64px); display: grid; gap: 10px; }
.acc details { border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 26px; cursor: pointer; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .round { width: 38px; height: 38px; }
.acc summary .icon { transition: transform 0.4s var(--ease); }
.acc details[open] summary .icon { transform: rotate(45deg); }
.acc__body { padding: 0 26px 26px; }
.table { width: 100%; max-width: 720px; border-collapse: collapse; font-size: 15px; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table th { width: 40%; font-weight: 600; color: var(--muted); }
@media (max-width: 960px) {
  .pdp__grid { grid-template-columns: 1fr; }
  .summary { position: static; }
  .gallery__thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* Texto largo */
.prose { max-width: 760px; color: #2b2a27; font-size: 17px; line-height: 1.7; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 14px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; color: var(--ink); margin-top: 40px; }
.prose h3 { font-size: clamp(19px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); margin-top: 30px; }
.prose h4 { font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 22px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.page { padding: 0 0 clamp(40px, 6vw, 80px); }
.page__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.page__nav { position: sticky; top: calc(var(--nav-h) + 28px); display: grid; gap: 2px; padding: 14px; border-radius: var(--r-lg); background: var(--surface); font-size: 15px; }
.page__nav h4 { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 14px 10px 6px; }
.page__nav h4:first-child { margin-top: 4px; }
.page__nav a { padding: 9px 12px; border-radius: 12px; color: var(--muted); transition: background 0.2s, color 0.2s; }
.page__nav a:hover { background: var(--bg); color: var(--ink); }
.page__nav a[aria-current="page"] { background: var(--ink); color: #fff; font-weight: 600; }
.page__body { padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--surface); }
.contact-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 760px; margin-top: 28px; }
.ccard { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r); background: var(--bg); transition: background 0.25s, transform 0.3s var(--ease); }
.ccard:hover { background: var(--bg-2); transform: translateY(-2px); }
.ccard .icon { width: 24px; height: 24px; color: var(--accent); }
.ccard b { display: block; font-weight: 600; }
.ccard span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 860px) {
  .page__grid { grid-template-columns: 1fr; }
  .page__nav { position: static; order: 2; grid-template-columns: 1fr 1fr; }
  .page__nav h4 { grid-column: 1 / -1; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .page__nav { grid-template-columns: 1fr; } }

/* ==========================================================================
   Movimiento
   ========================================================================== */
@keyframes riseIn { from { opacity: 0; transform: translateY(28px); } }
@keyframes zoomOut { from { transform: scale(1.12); } }
@keyframes tileIn { from { opacity: 0; transform: translateY(24px) scale(0.98); } }
main { animation: fadeIn 0.5s ease both; }
@keyframes fadeIn { from { opacity: 0; } }
.bento > .tile, .bento__side > .tile { animation: tileIn 0.9s var(--ease) both; }
.bento__side > .tile:first-child { animation-delay: 0.12s; }
.bento__side > .tile:last-child { animation-delay: 0.22s; }
.tile--main > img { animation: zoomOut 2.4s var(--ease) both; }
.tile__content > * { animation: riseIn 0.9s var(--ease) both; }
.tile__content > :nth-child(1) { animation-delay: 0.3s; }
.tile__content > :nth-child(2) { animation-delay: 0.42s; }
.tile__content > :nth-child(3) { animation-delay: 0.54s; }
.tile__content > :nth-child(4) { animation-delay: 0.66s; }
.pagehead > .wrap > *, .banner { animation: riseIn 0.8s var(--ease) both; }
.pagehead > .wrap > :nth-child(2) { animation-delay: 0.08s; }
.banner { animation-delay: 0.16s; }
.banner img { animation: zoomOut 2.2s var(--ease) both; }
.gallery { animation: riseIn 0.8s var(--ease) both; }
.summary { animation: riseIn 0.8s 0.1s var(--ease) both; }

.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.8s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .statement__text .w { color: #fff; }
}

span.pcard__add { pointer-events: none; }
.spot { position: relative; }
.spot__link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.spot__dots { position: relative; z-index: 2; }
.spot .round { position: relative; z-index: 0; transition: transform 0.4s var(--ease), background 0.3s; }
.spot:hover .round { background: var(--accent); border-color: var(--accent); transform: rotate(45deg); }
.pagehead .display { font-size: clamp(40px, 5.4vw, 84px); }
.page__body { animation: riseIn 0.8s 0.1s var(--ease) both; }
.page__nav { animation: riseIn 0.8s var(--ease) both; }

/* Cambios de foto sin mezcla: la saliente se va rápido y la entrante aparece después */
.gallery__main img { transition: opacity 0.25s ease, transform 0.6s var(--ease); }
.gallery__main img.is-active { transition-delay: 0.2s, 0s; }
.spot__stage img.is-out { transition-duration: 0.3s, 0.5s; }
.spot__stage img:not(.is-out):not(.is-in-start) { transition-delay: 0.25s, 0.25s; }

/* Fotos de producto: bordes superior e inferior difuminados para que el fondo de estudio
   (a veces con degradado) se funda con el color de la tarjeta. Las gafas quedan en la zona central. */
.pcard__media img:not(.is-photo) {
  -webkit-mask-image: linear-gradient(to bottom, transparent 16%, #000 30%, #000 70%, transparent 84%);
  mask-image: linear-gradient(to bottom, transparent 16%, #000 30%, #000 70%, transparent 84%);
}
.gallery__main img:not(.is-photo) {
  -webkit-mask-image: linear-gradient(to bottom, transparent 5%, #000 20%, #000 80%, transparent 95%);
  mask-image: linear-gradient(to bottom, transparent 5%, #000 20%, #000 80%, transparent 95%);
}

/* Tallas y colores agotados (stock real de la tienda) */
.size.is-out, .size:disabled { opacity: 0.38; text-decoration: line-through; cursor: not-allowed; }
.size:disabled:hover { background: var(--bg); }
.swatch.is-out { opacity: 0.4; position: relative; }
.swatch.is-out::after { content: ""; position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: var(--ink); transform: rotate(-45deg); }

/* Cabecera de la categoría Camisetas en PC: más alta y encuadrada arriba para no cortar la cabeza */
@media (min-width: 821px) {
  .banner:has(img[src*="categoria-camisetas"]) { height: clamp(380px, 40vw, 600px); }
  .banner img[src*="categoria-camisetas"] { object-position: center 8%; }
}

/* Portada en móvil/tablet: foto arriba (cara completa) y texto debajo, sobre fondo oscuro.
   El HTML no cambia (h1, párrafo y enlaces intactos): solo la disposición. */
@media (max-width: 960px) {
  .tile--main { min-height: 0; display: flex; flex-direction: column; }
  .tile--main::after { display: none; }
  .tile--main > img {
    position: relative; inset: auto; flex: none;
    width: 100%; height: auto; aspect-ratio: 5 / 4;
    object-position: 36% 20%;
    -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
  }
  .tile__content { position: relative; inset: auto; margin-top: -44px; padding: 0 22px 26px; gap: 14px; }
  .tile__content .display { font-size: clamp(36px, 10.4vw, 52px); max-width: 12ch; }
}
@media (min-width: 600px) and (max-width: 960px) {
  .tile--main > img { aspect-ratio: 16 / 9; object-position: 40% 30%; }
}
