/* sitio.css — identidad y maquetación de Moto Shop.
   Las mecánicas de animación viven en forja-motion.css y no se tocan. */

@font-face { font-family: "Oswald"; src: url("../fonts/oswald.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  /* color: negro y verde salen del logotipo del negocio */
  --negro: #0a0b0a;
  --carbon: #141614;
  --blanco: #f5f6f3;
  --verde: #62f529;
  --bg: var(--blanco);
  --fg: #101211;
  --muted: color-mix(in srgb, var(--fg) 66%, transparent);
  --line: color-mix(in srgb, var(--fg) 16%, transparent);
  --accent: var(--verde);
  --accent-fg: var(--negro);
  --accent-ink: #1c6b00;               /* verde legible como texto sobre fondo claro */
  --surface: color-mix(in srgb, var(--fg) 5%, transparent);
  /* tipografía: fluida entre 360 px y 1600 px, sin saltos por breakpoint */
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --t-xs: clamp(.76rem, .73rem + .14vw, .86rem);
  --t-sm: clamp(.9rem, .86rem + .2vw, 1rem);
  --t-md: clamp(1rem, .95rem + .3vw, 1.18rem);
  --t-lg: clamp(1.35rem, 1.15rem + .9vw, 2rem);
  --t-xl: clamp(2.1rem, 1.3rem + 3.2vw, 4.4rem);
  --t-2xl: clamp(2.9rem, 1.3rem + 6.6vw, 8rem);
  /* espacio */
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section: clamp(4.5rem, 10vw, 9rem);
  --max: 90rem;
  --radius: 14px;
  /* puente con forja-motion */
  --fm-radius: var(--radius);
  --fm-ambient: var(--accent);
  --fm-glow: var(--accent);
  --fm-cursor-bg: var(--accent);
  --fm-cursor-fg: var(--accent-fg);
}
[data-theme="oscuro"] {
  --bg: var(--negro);
  --fg: var(--blanco);
  --accent-ink: var(--verde);
  --fm-glass-bg: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; background: var(--negro); }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--t-md)/1.6 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.02; letter-spacing: -.005em; text-transform: uppercase; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[data-theme="claro"] :focus-visible { outline-color: var(--fg); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 3000; background: var(--bg); padding: .6rem 1rem; }
[hidden] { display: none !important; }

/* ---------- utilidades ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.eyebrow { font-size: var(--t-xs); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow--mark { display: inline-flex; align-items: center; gap: .7rem; }
.eyebrow--mark::before { content: ""; width: 2.2rem; height: 3px; background: var(--accent); transform: skewX(-24deg); }
.t-2xl { font-size: var(--t-2xl); line-height: .95; }
.t-xl { font-size: var(--t-xl); }
.t-lg { font-size: var(--t-lg); line-height: 1.15; }
.muted { color: var(--muted); }
.accent { color: var(--accent-ink); }
.head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); max-width: 58rem; }
.head > p:not(.eyebrow) { max-width: 40rem; color: var(--muted); }
.head--center { text-align: center; margin-inline: auto; justify-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3rem; padding: .8rem 1.6rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-fg); font: 700 var(--t-sm)/1.1 var(--font); letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: transform .3s cubic-bezier(.17,.84,.44,1);
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 30%, transparent); transition: border-color .3s, transform .3s cubic-bezier(.17,.84,.44,1); }
.btn--ghost:hover { border-color: currentColor; }
.btn--dark { background: var(--fg); color: var(--bg); }
.row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.more { font-size: var(--t-sm); font-weight: 700; text-decoration: none; display: inline-flex; gap: .5rem; align-items: center; }
.more::after { content: "→"; transition: transform .3s cubic-bezier(.17,.84,.44,1); }
a:hover > .more::after, .more:hover::after { transform: translateX(5px); }

/* ---------- cabecera: siempre sobre negro, porque el logotipo es blanco y verde ---------- */
.header { padding: .7rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; color: var(--blanco); }
.header.is-scrolled { background: rgb(10 11 10 / .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header__logo { display: block; line-height: 0; }
.header__logo img { width: auto; height: clamp(2.75rem, 2.3rem + 1.6vw, 3.75rem); display: block; }
.header__nav { display: none; gap: 2rem; font-size: var(--t-sm); font-weight: 600; }
.header__nav a { text-decoration: none; }
.header__actions { display: flex; align-items: center; gap: .7rem; }
.header .btn { min-height: 2.75rem; padding: .55rem 1.2rem; }
.header__burger { all: unset; cursor: pointer; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgb(245 246 243 / .28); display: grid; place-items: center; font-size: 1.15rem; line-height: 1; }
.header__burger:focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; }
@media (min-width: 960px) { .header__nav { display: flex; } .header__burger { display: none; } }
@media (max-width: 420px) { .header .btn span { display: none; } }

.menu { position: fixed; inset: 0; z-index: 950; background: var(--negro); color: var(--blanco); padding: .7rem var(--gutter) 2rem; display: grid; grid-template-rows: auto 1fr auto; gap: 1.5rem; overflow-y: auto; }
.menu__top { display: flex; justify-content: space-between; align-items: center; }
.menu__nav { display: grid; align-content: center; gap: .1rem; }
.menu__nav a { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.3rem, 11vw, 4.2rem); line-height: 1.14; text-transform: uppercase; text-decoration: none; display: flex; align-items: baseline; gap: 1rem; }
.menu__nav a span { font: 700 .8rem var(--font); letter-spacing: .16em; color: var(--verde); }
.menu__foot { display: grid; gap: .8rem; }
.menu__foot .btn { width: 100%; }
html.menu-abierto { overflow: hidden; }

/* ---------- 1. héroe ---------- */
.hero { position: relative; width: 100%; min-height: 100svh; display: grid; align-items: center; gap: 1.5rem; padding: 5.5rem var(--gutter) 2.5rem; color: var(--blanco); isolation: isolate; overflow: clip; }
.hero::before { /* luz de estudio detrás del casco */
  content: ""; position: absolute; z-index: -2; inset: 0;
  background:
    radial-gradient(60% 55% at 72% 46%, rgb(98 245 41 / .2), transparent 70%),
    radial-gradient(40% 40% at 74% 50%, rgb(245 246 243 / .1), transparent 70%),
    linear-gradient(180deg, #0a0b0a, #0f120f 60%, #0a0b0a);
}
.hero::after { /* franjas inclinadas del logotipo */
  content: ""; position: absolute; z-index: -1; right: -6%; bottom: 9%; width: 62%; height: 38%; opacity: .5;
  background: repeating-linear-gradient(-24deg, transparent 0 46px, rgb(98 245 41 / .16) 46px 48px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, transparent);
}
.hero__art { position: relative; justify-self: center; width: min(74vw, 38svh, 21rem); aspect-ratio: 1; perspective: 900px; }
.hero__art img { width: 100%; height: 100%; display: block; object-fit: contain; filter: drop-shadow(0 34px 30px rgb(0 0 0 / .65)) drop-shadow(0 0 60px rgb(98 245 41 / .16)); }
.hero__art::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 4%; height: 9%; background: radial-gradient(closest-side, rgb(0 0 0 / .8), transparent); z-index: -1; filter: blur(8px); }
.hero__body { display: grid; gap: 1.3rem; max-width: 44rem; }
.hero__body .eyebrow { color: rgb(245 246 243 / .78); }
.hero__body h1 { font-size: clamp(3.2rem, 1.2rem + 9.4vw, 9rem); line-height: .9; }
.hero__body h1 em { font-style: normal; color: var(--verde); }
.hero__body > p:not(.eyebrow) { max-width: 34rem; color: rgb(245 246 243 / .84); }
.hero__third { font-size: var(--t-sm); color: rgb(245 246 243 / .7); }
.hero__third a { color: var(--blanco); font-weight: 700; text-underline-offset: 4px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.08fr .92fr; padding-top: 6.5rem; gap: 2rem; }
  .hero__art { order: 2; width: min(100%, 78svh, 46rem); }
}
.hero__next { text-align: center; padding-inline: var(--gutter); display: grid; gap: 1.2rem; justify-items: center; max-width: 56rem; }
html:not(.fm-motion) .hero__next { padding-block: var(--section) 2rem; margin-inline: auto; }

/* ---------- 2. selector de necesidades: sube sobre la escena ---------- */
.needs { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; }
.fm-motion .needs { margin-top: -26svh; }
.need { height: 100%; padding: 1.5rem; border-radius: var(--radius); background: var(--carbon); border: 1px solid rgb(245 246 243 / .12); color: var(--blanco); display: grid; gap: .9rem; align-content: space-between; min-height: 13.5rem; text-decoration: none; transition: border-color .3s, transform .4s cubic-bezier(.17,.84,.44,1); }
.need:hover { border-color: var(--verde); transform: translateY(-4px); }
.need__n { font: 700 var(--t-xs) var(--font); letter-spacing: .18em; color: var(--verde); }
.need h3 { font-size: var(--t-lg); margin-bottom: .6rem; }
.need p { font-size: var(--t-sm); color: rgb(245 246 243 / .68); }

/* ---------- 3. franja de categorías ---------- */
.band { padding-block: clamp(3rem, 7vw, 5.5rem); --fm-gap: 2.5rem; }
.band-item { font: 600 var(--t-xl)/1 var(--font-display); text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.5rem; }
.band-item::after { content: ""; width: .5em; height: .5em; background: var(--accent); transform: skewX(-24deg); }
.band-item:nth-child(even) { color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--fg) 60%, transparent); }

/* ---------- 4. productos: fichas claras para que el producto negro se distinga ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.chip { all: unset; cursor: pointer; min-height: 2.75rem; padding: 0 1.15rem; border-radius: 999px; border: 1px solid var(--line); font: 700 var(--t-sm)/1 var(--font); display: inline-flex; align-items: center; transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.products { display: grid; gap: clamp(1.6rem, 3vw, 2.6rem) 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); list-style: none; margin: 0; padding: 0; }
@media (max-width: 620px) { .products { grid-template-columns: 1fr 1fr; gap: 1.6rem .8rem; } }
.product { display: grid; gap: .85rem; align-content: start; text-decoration: none; height: 100%; }
.product__tile { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: clip; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fff 0, #eceee9 55%, #dfe3dc 100%); border: 1px solid rgb(16 18 17 / .06); }
.product__tile img { width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 16px 14px rgb(16 18 17 / .28)); transition: transform .9s cubic-bezier(.17,.84,.44,1); }
.product:hover .product__tile img { transform: scale(1.07) rotate(-2deg); }
.product__tag { position: absolute; left: .7rem; top: .7rem; z-index: 1; font: 700 .68rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; padding: .45rem .6rem; border-radius: 999px; background: #101211; color: #f5f6f3; }
.product h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); line-height: 1.1; }
.product p { font-size: var(--t-sm); color: var(--muted); line-height: 1.45; }
.product .more { margin-top: .1rem; }
.product--ask .product__tile { background: #101211; color: #f5f6f3; padding: 1.4rem; place-items: end start; }
.product--ask .product__tile strong { font: 600 clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem)/1 var(--font-display); text-transform: uppercase; }
.product--ask .product__tile::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-24deg, transparent 0 30px, rgb(98 245 41 / .2) 30px 32px); -webkit-mask-image: linear-gradient(200deg, #000, transparent 60%); mask-image: linear-gradient(200deg, #000, transparent 60%); }
.products__note { margin-top: 2.5rem; font-size: var(--t-sm); color: var(--muted); max-width: 46rem; }

/* ---------- 5. consulta ---------- */
.ask { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (min-width: 900px) { .ask { grid-template-columns: 1fr 1.05fr; } }
.ask__steps { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; counter-reset: paso; }
.ask__steps li { counter-increment: paso; display: grid; grid-template-columns: 2.6rem 1fr; gap: .4rem 1rem; padding-block: 1.05rem; border-top: 1px solid var(--line); font-size: var(--t-sm); }
.ask__steps li::before { content: "0" counter(paso); font: 700 var(--t-xs)/1.9 var(--font); letter-spacing: .14em; color: var(--accent-ink); }
.ask__steps strong { display: block; font-size: var(--t-md); }
.ask__steps span { grid-column: 2; color: var(--muted); }
.form { padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1.15rem; position: relative; overflow: clip; }
.form h3 { font-size: var(--t-lg); }
.field { display: grid; gap: .45rem; font-size: var(--t-sm); font-weight: 700; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem; border-radius: 10px; border: 1px solid var(--line); background: rgb(0 0 0 / .35); color: inherit;
  font: 400 1rem/1.4 var(--font);
}
.field select option { color: #101211; }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; border: 0; padding: 0; margin: 0; }
.seg legend { font-size: var(--t-sm); font-weight: 700; padding: 0; margin-bottom: .45rem; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: grid; place-items: center; text-align: center; min-height: 3rem; padding: .4rem .5rem; border-radius: 10px; border: 1px solid var(--line); font-size: var(--t-xs); font-weight: 700; line-height: 1.2; transition: background-color .3s, color .3s; }
.seg input:checked + span { background: var(--accent); color: var(--accent-fg); border-color: transparent; }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.msg { margin: 0; padding: 1rem 1.1rem; border-radius: 10px; border-left: 3px solid var(--accent); background: rgb(245 246 243 / .06); font-size: var(--t-sm); line-height: 1.5; }
.msg cite { display: block; font-style: normal; font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .4rem; }
.form .row .btn { flex: 1 1 12rem; }
.form__note { font-size: var(--t-xs); color: var(--muted); }
.form__ok { font-size: var(--t-sm); font-weight: 700; color: var(--accent-ink); min-height: 1.4em; }

/* ---------- 6. escena fijada: frases que se relevan y anillo de familias ---------- */
.principles { text-align: center; }
.principles .fm-scene__stage > h2 { max-width: 14ch; padding-inline: var(--gutter); font-size: var(--t-2xl); }
.principles .fm-orbit > * { font: 700 var(--t-xs) var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.principles .fm-orbit > :nth-child(odd) { color: var(--accent-ink); }
html:not(.fm-motion) .principles { padding-block: var(--section); }
html:not(.fm-motion) .principles .fm-scene__stage { display: grid; gap: 1.5rem; justify-items: center; }
html:not(.fm-motion) .principles .fm-orbit { display: none; }

/* ---------- 7. reparación ---------- */
.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); list-style: none; margin: 0; padding: 0; }
.card { padding: 1.8rem; display: grid; gap: .9rem; align-content: start; min-height: 15rem; overflow: clip; height: 100%; }
.card h3 { font-size: var(--t-lg); }
.card p { font-size: var(--t-sm); color: var(--muted); }
.card__n { font: 600 clamp(2.6rem, 2rem + 2vw, 4rem)/1 var(--font-display); color: transparent; -webkit-text-stroke: 1px var(--accent); }
.split { display: grid; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr .8fr; } }
.split .head { margin-bottom: 0; }
.split__side { display: grid; gap: 1.3rem; justify-items: start; }
.fine { margin-top: 2rem; font-size: var(--t-sm); color: var(--muted); max-width: 46rem; }

/* ---------- 8. motos y scooters ---------- */
.bikes { background: var(--accent); color: var(--negro); border-radius: calc(var(--radius) * 2); padding: clamp(2rem, 6vw, 5.5rem); display: grid; gap: 2rem; position: relative; overflow: clip; isolation: isolate; }
.bikes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-24deg, transparent 0 60px, rgb(10 11 10 / .07) 60px 64px); }
.bikes .eyebrow { color: rgb(10 11 10 / .72); }
.bikes h2 { font-size: var(--t-2xl); line-height: .92; max-width: 12ch; }
.bikes p:not(.eyebrow) { max-width: 36rem; font-weight: 500; }
.bikes .btn { background: var(--negro); color: var(--blanco); }
.bikes :focus-visible { outline-color: var(--negro); }

/* ---------- 9. preguntas ---------- */
.faq { max-width: 54rem; margin-inline: auto; }
.faq .fm-faq:first-of-type { border-top: 1px solid var(--line); }
.faq h3 { text-transform: none; font-family: var(--font); font-weight: 700; letter-spacing: 0; line-height: 1.3; font-size: var(--t-md); }
.faq p { color: var(--muted); max-width: 46rem; }

/* ---------- 10. visítanos y pie ---------- */
.visit { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: end; }
@media (min-width: 900px) { .visit { grid-template-columns: 1.15fr .85fr; } }
.visit__card { padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; gap: 1.4rem; position: relative; overflow: clip; }
.visit__card address { font-style: normal; display: grid; gap: .2rem; font-size: var(--t-md); }
.visit__card address strong { font: 600 var(--t-lg)/1.1 var(--font-display); text-transform: uppercase; margin-bottom: .4rem; }
.visit__card .row .btn { flex: 1 1 10rem; }
.visit__links { display: grid; gap: .6rem; font-size: var(--t-sm); border-top: 1px solid var(--line); padding-top: 1.2rem; }
.visit__links a { justify-self: start; }
.cta { overflow: clip; }
.footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem) 2rem; font-size: var(--t-sm); }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.footer__brand img { width: 11rem; height: auto; display: block; margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); max-width: 22rem; }
.footer h2 { font: 700 var(--t-xs) var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer li a { display: inline-block; padding-block: .15rem; }
.footer address { font-style: normal; display: grid; gap: .55rem; }
.footer__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: var(--t-xs); }

/* ---------- 404 ---------- */
.error { min-height: 100svh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 1.4rem; padding: 2rem var(--gutter); }
.error img { width: min(70vw, 20rem); height: auto; }
.error h1 { font-size: var(--t-2xl); }
.error p:not(.eyebrow) { color: var(--muted); max-width: 30rem; }

/* =====================================================================
   PLATAFORMA: catálogo, ficha de producto y páginas interiores
   ===================================================================== */
a.chip { text-decoration: none; }
.chip[aria-current="page"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--line { background: transparent; color: inherit; border-color: currentColor; }
.products__all { margin-top: 2.5rem; }
.product__tile--foto { background: #e6e9e4; }
.product__tile--foto img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.product__price { font-weight: 700; font-size: var(--t-sm); margin-top: auto; }
.product--out .product__tile img { opacity: .45; }
.product__out { position: absolute; right: .7rem; top: .7rem; z-index: 1; font: 700 .68rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; padding: .45rem .6rem; border-radius: 999px; background: #f5f6f3; color: #101211; border: 1px solid #101211; }
.visit__hours { margin-top: .6rem; font-size: var(--t-sm); color: var(--muted); }

/* cabecera de páginas interiores: siempre sólida, porque debajo hay fondo claro */
[data-pagina="interior"] body { background: var(--blanco); }
[data-pagina="interior"] .header { background: var(--negro); }
.page-head { background: var(--negro); color: var(--blanco); padding: clamp(6.5rem, 12vw, 9rem) 0 clamp(2rem, 5vw, 3.5rem); }
.page-head .wrap { display: grid; gap: 1.4rem; }
.page-head h1 { font-size: var(--t-2xl); line-height: .95; }
.page-head--slim { padding-bottom: 1.4rem; }
.page-head--error { min-height: 80svh; display: grid; align-items: center; }
.page-head--error p:not(.eyebrow) { max-width: 34rem; color: rgb(245 246 243 / .78); }
.page-head .eyebrow { color: rgb(245 246 243 / .7); }
.page-head :focus-visible { outline-color: var(--verde); }
.crumbs { font-size: var(--t-xs); font-weight: 600; color: rgb(245 246 243 / .7); display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a { display: inline-block; padding-block: .35rem; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--blanco); }
.section--cat { padding-block: clamp(2rem, 5vw, 3.5rem) var(--section); }

.search { display: grid; gap: .6rem; grid-template-columns: 1fr; max-width: 52rem; }
@media (min-width: 720px) { .search { grid-template-columns: 1fr auto auto; } }
.search input, .search select { width: 100%; min-height: 3.2rem; padding: .7rem 1.1rem; border-radius: 999px; border: 1px solid rgb(245 246 243 / .28); background: rgb(245 246 243 / .08); color: var(--blanco); font: 500 1rem var(--font); }
.search input::placeholder { color: rgb(245 246 243 / .55); }
.search select option { color: #101211; }
.search .btn { min-height: 3.2rem; }
.count { font-size: var(--t-sm); color: var(--muted); margin-bottom: 1.6rem; }
.count a { color: var(--fg); font-weight: 700; text-underline-offset: 3px; }
.empty { padding: clamp(2rem, 6vw, 4rem); border-radius: var(--radius); background: #eceee9; display: grid; gap: 1rem; max-width: 46rem; }
.empty h2 { font-size: var(--t-lg); }
.empty p { color: var(--muted); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; margin-top: 3rem; font-size: var(--t-sm); color: var(--muted); }
.pager > :last-child { justify-self: end; }
.pager > :first-child { justify-self: start; }

/* ficha */
.item { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
@media (min-width: 900px) { .item { grid-template-columns: 1.05fr .95fr; } .gallery { position: sticky; top: 6rem; } }
.gallery { display: grid; gap: .7rem; min-width: 0; }
.gallery__main { aspect-ratio: 1; border-radius: var(--radius); overflow: clip; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #fff 0, #eceee9 55%, #dfe3dc 100%); border: 1px solid rgb(16 18 17 / .06); }
.gallery__main img { width: 88%; height: 88%; object-fit: contain; filter: drop-shadow(0 22px 20px rgb(16 18 17 / .28)); }
.gallery__main--foto img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.gallery__main--vacia { color: var(--muted); font-size: var(--t-sm); }
.gallery__thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(4.2rem, 1fr)); gap: .5rem; }
.gallery__thumbs button { all: unset; cursor: pointer; display: block; aspect-ratio: 1; width: 100%; border-radius: 10px; overflow: clip; background: #eceee9; border: 2px solid transparent; box-sizing: border-box; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumbs [aria-current] { border-color: var(--fg); }
.gallery__thumbs button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.item__body { display: grid; gap: 1.2rem; min-width: 0; }
.item__body h1 { font-size: var(--t-xl); overflow-wrap: anywhere; }
.item__price { font: 600 var(--t-lg)/1.1 var(--font-display); display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.state { font: 700 .72rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; padding: .5rem .7rem; border-radius: 999px; background: var(--verde); color: var(--negro); }
.state--out { background: transparent; color: var(--fg); border: 1px solid var(--fg); }
.item__vars { display: grid; gap: .5rem; }
.item__vars > span { font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.item__vars ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.item__vars li { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); font-size: var(--t-sm); font-weight: 600; }
.item__desc { display: grid; gap: .8rem; color: var(--muted); max-width: 38rem; }
.item__points { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; font-size: var(--t-sm); }
.item__points li { padding-left: 1.4rem; position: relative; }
.item__points li::before { content: ""; position: absolute; left: 0; top: .55em; width: .7rem; height: 3px; background: var(--accent-ink); transform: skewX(-24deg); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 1rem 1.5rem; border-block: 1px solid var(--line); padding-block: 1.2rem; margin: 0; }
.facts dt { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts dd { margin: .25rem 0 0; font-weight: 700; overflow-wrap: anywhere; }
.item__cta .btn { flex: 1 1 12rem; }
.item__note { font-size: var(--t-sm); color: var(--muted); max-width: 38rem; }
.related { margin-top: clamp(3rem, 8vw, 6rem); display: grid; gap: 1.6rem; }
.preview-bar { position: sticky; top: 0; z-index: 2000; margin: 0; padding: .7rem var(--gutter); background: var(--verde); color: var(--negro); font-size: var(--t-sm); font-weight: 700; text-align: center; }


/* guía de compra: catálogo por categoría y ficha */
.page-head__intro { max-width: 46rem; color: rgb(245 246 243 / .8); }
.guide { padding-top: 0; }
.guide__grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.guide__grid--item { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.guide__card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--radius); background: #eceee9; display: grid; gap: 1rem; align-content: start; }
.guide__card > p { color: var(--muted); font-size: var(--t-sm); }
.guide__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; font-size: var(--t-sm); }
.guide__list li { padding-left: 1.4rem; position: relative; }
.guide__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: .7rem; height: 3px; background: var(--accent-ink); transform: skewX(-24deg); }
.guide__list a { font-weight: 700; text-underline-offset: 3px; }
.guide__steps { margin: 0; padding: 0; list-style: none; display: grid; gap: .9rem; counter-reset: paso; }
.guide__steps li { counter-increment: paso; display: grid; grid-template-columns: 2.2rem 1fr; gap: .2rem .8rem; font-size: var(--t-sm); }
.guide__steps li::before { content: "0" counter(paso); font: 700 var(--t-xs)/1.8 var(--font); letter-spacing: .14em; color: var(--accent-ink); grid-row: span 2; }
.guide__steps span { color: var(--muted); }
.guide__place { font-size: var(--t-sm); color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.guide__place a { color: var(--fg); font-weight: 700; text-underline-offset: 3px; }
.guide__faq h3 { text-transform: none; font-family: var(--font); font-weight: 700; letter-spacing: 0; line-height: 1.3; font-size: var(--t-md); }
.guide__faq p { color: var(--muted); }

