/* ElevatorParts · app.css — común a todas las páginas.
   Dirección "Botonera": petróleo = navegación y superficies; lima = acento y acciones clave (siempre con texto oscuro).
   Interactivo = píldora o círculo · contenedores 16px · pozos de imagen 12px.
   Escala fluida: --u = 1px de diseño a 1440px (0,8 en laptops, 1,12 en Full HD). --ut = versión suave para texto. */

@font-face { font-family: "Sofia Sans"; src: url(../fonts/sofia-sans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Sofia Sans XC"; src: url(../fonts/sofia-sans-xc-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Martian Mono"; src: url(../fonts/martian-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
	--c-primary: #2e5f64;
	--c-primary-deep: #1b3a3d;
	--c-accent: #a1c11b;
	--c-ink: #1e2a2b;
	--c-mint: #e3eeec;
	--c-mist: #f3f7f6;
	/* Derivados: cambian solos si se edita un color base */
	--c-accent-press: color-mix(in oklab, var(--c-accent) 90%, #000);
	--c-accent-deep: color-mix(in oklab, var(--c-accent) 62%, #000);
	--c-primary-soft: color-mix(in oklab, var(--c-primary) 30%, #fff);
	--c-on-primary: color-mix(in oklab, var(--c-primary) 17%, #fff);
	--c-eyebrow: color-mix(in oklab, var(--c-primary) 45%, #fff);
	--c-line: #e1e8e7;
	--c-line-strong: #cbd8d6;
	--c-muted: #56686a;
	--c-body: #405254;
	--c-photo: #f0f0f0;

	--f-sans: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-display: "Sofia Sans XC", "Arial Narrow", "Roboto Condensed", sans-serif;
	--f-mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--sh-float: 0 14px 30px -16px rgb(11 40 43 / .45);
	--sh-panel: 0 24px 48px -24px rgb(11 40 43 / .35);
	--r: 16px;
	--r-img: 12px;

	--u: 1px;
	--ut: calc(.6px + .4 * var(--u));
	--wrap: calc(var(--u) * 1400);
	--hdr-h: 0px;
}
@media (min-width: 1024px) {
	:root { --u: min(clamp(.8px, calc(.0480769vw + .30769px), 1px), clamp(.82px, calc(.09375vh + .26875px), 1.12px)); }
}
@media (min-width: 1440px) {
	:root { --u: min(clamp(1px, calc(.025vw + .64px), 1.12px), clamp(.82px, calc(.09375vh + .26875px), 1.12px)); }
}

@view-transition { navigation: auto; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: calc(var(--u) * 16); scroll-behavior: smooth; scroll-padding-top: 9rem; }
body { margin: 0; background: #fff; color: var(--c-ink); font-family: var(--f-sans); font-size: calc(var(--ut) * 16); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; font-weight: 600; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
:where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:where(input, select, textarea) { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: #fff; padding: .5rem 1rem; border-radius: 999px; }
.skip:focus { top: 1rem; }
.ico { flex-shrink: 0; }
.ico.flip { transform: scaleX(-1); }

/* ---------- Utilidades ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 768px) { .wrap { padding-inline: 1.5rem; } }
.mono { font-family: var(--f-mono); }
.muted { color: var(--c-muted); }
.tnum { font-variant-numeric: tabular-nums; }
.sign { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; line-height: .92; }
.btn-label { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: calc(var(--u) * 16); line-height: 1; }
.eyebrow { font-family: var(--f-mono); font-size: calc(var(--ut) * 10); text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); }
.eyebrow--soft { color: #9fc0bd; }
.press { transition: transform .12s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.press:active { transform: translateY(1px) scale(.98); }
.scroll-thin { scrollbar-width: thin; scrollbar-color: var(--c-primary-soft) transparent; overscroll-behavior: contain; }
.scroll-thin::-webkit-scrollbar { width: 6px; }
.scroll-thin::-webkit-scrollbar-thumb { background: var(--c-primary-soft); border-radius: 999px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap; border-radius: 999px; cursor: pointer; }
.btn--md { height: 2.75rem; padding-inline: 1.25rem; }
.btn--sm { height: 2.25rem; padding-inline: 1rem; }
.btn--sm .btn-label { font-size: calc(var(--ut) * 15); }
.btn--lg { height: 3rem; }
.btn--accent { background: var(--c-accent); color: var(--c-ink); }
.btn--accent:hover { background: var(--c-accent-press); }
.btn--white { background: #fff; color: var(--c-primary-deep); }
.btn--white:hover { background: var(--c-mint); }
.btn--arrow { gap: .875rem; padding: 0 .375rem 0 1.5rem; }
.btn__circle { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #fff; color: var(--c-primary); }
.btn__circle--dark { background: var(--c-primary); color: #fff; }
.quote-add.is-added { background: var(--c-mint); color: var(--c-primary-deep); }
.quote-add.is-added:hover { background: var(--c-accent); color: var(--c-ink); }
.icon-btn { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; flex-shrink: 0; }
.circle-btn { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: 50%; background: #fff; color: var(--c-primary); }
.circle-btn--line { width: 2.75rem; height: 2.75rem; border: 1.5px solid var(--c-primary); }
.circle-btn--line:hover { background: var(--c-primary); color: #fff; }
.circle-btn--line:disabled { pointer-events: none; border-color: var(--c-line-strong); color: var(--c-line-strong); }
.more { display: inline-flex; align-items: center; gap: .5rem; font-size: calc(var(--ut) * 15); font-weight: 600; color: var(--c-primary); }
.more:hover { text-decoration: underline; }

/* Botón de piso */
.floor { display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; font-family: var(--f-display); font-weight: 800; line-height: 1; border: 1.5px solid var(--c-primary); background: #fff; color: var(--c-primary); }
.floor.is-on { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-primary-deep); }
.floor--sm { width: 1.75rem; height: 1.75rem; font-size: calc(var(--ut) * 14); }
.floor--md { width: 2.25rem; height: 2.25rem; font-size: calc(var(--ut) * 17); }
.floor--lg { width: 2.75rem; height: 2.75rem; font-size: calc(var(--u) * 19); }

/* Píldoras / chips */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; flex-shrink: 0; align-items: center; gap: .625rem; padding: .5rem 1.25rem; border-radius: 999px; border: 1.5px solid var(--c-line-strong); background: #fff; font-size: calc(var(--ut) * 14); }
.chip:hover { border-color: var(--c-primary); }
.chip.is-on { border-color: var(--c-accent); background: var(--c-accent); font-weight: 600; color: var(--c-ink); }
.chip--floor { padding: .25rem 1rem .25rem .25rem; }
.chip__n { font-size: calc(var(--ut) * 11); color: var(--c-muted); }
.chip.is-on .chip__n { color: var(--c-primary-deep); }
.chip.is-on .floor { border-color: var(--c-primary-deep); }
.pill { display: inline-flex; align-items: center; padding: .25rem .875rem; border-radius: 999px; border: 1px solid var(--c-line-strong); font-size: calc(var(--ut) * 14); }
.pill--lime { border-color: color-mix(in oklab, var(--c-accent) 60%, transparent); }
.pill--lime:hover { background: var(--c-accent); color: var(--c-ink); }
.badge { display: inline-flex; align-items: center; padding: .375rem 1rem; border-radius: 999px; background: #fff; font-size: calc(var(--ut) * 11); color: var(--c-muted); }

/* Encabezado de sección */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.sec-head__title { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.sec-title { font-size: calc(var(--u) * 40); color: var(--c-primary-deep); }
@media (min-width: 768px) { .sec-title { font-size: calc(var(--u) * 48); } .sec-title--lg { font-size: calc(var(--u) * 56); } }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; }
.admin-bar .hdr { top: var(--wp-admin--admin-bar--height, 0px); }
.hdr__bar { background: var(--c-primary); }
.hdr__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; column-gap: .5rem; padding-block: .75rem; }
.hdr__logo { justify-self: start; min-width: 0; }
.hdr__logo img { height: 1.75rem; width: auto; }
.hdr__search { display: none; }
.hdr__search-close { display: none; }
.hdr__contact { display: none; }
.hsearch { display: flex; align-items: center; gap: .5rem; height: 3rem; min-width: 0; flex: 1; padding: 0 .25rem 0 1.25rem; border-radius: 999px; background: #fff; transition: box-shadow .2s; }
.hsearch:focus-within { box-shadow: 0 0 0 3px var(--c-accent); }
.hsearch__ico { color: var(--c-muted); }
.hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; font-size: calc(var(--ut) * 15); outline: none; }
.hsearch input::placeholder { color: var(--c-muted); }
.hsearch input::-webkit-search-cancel-button { display: none; }
.hsearch__btn { height: 2.5rem; padding-inline: 1.5rem; }
.quote-btn { display: flex; align-items: center; gap: .5rem; height: 2.75rem; padding: 0 .25rem 0 .875rem; border-radius: 999px; background: #fff; color: var(--c-ink); }
.quote-btn:hover { background: var(--c-mint); }
.quote-btn .btn-label { font-size: 13px; }
.quote-btn__count { display: grid; place-items: center; min-width: 2.25rem; height: 2.25rem; padding-inline: .25rem; border-radius: 999px; background: var(--c-accent); font-family: var(--f-mono); font-size: calc(var(--ut) * 13); }
.quote-btn__count.bump { animation: bump .35s ease; }
.hdr__nav { display: none; }
/* Móvil: el buscador abierto ocupa toda la barra */
.hdr.is-search .hdr__row > :not(.hdr__search) { display: none; }
.hdr.is-search .hdr__search { display: flex; grid-column: 1 / -1; align-items: center; gap: .5rem; }
.hdr.is-search .hdr__search-close { display: grid; }
@media (min-width: 640px) {
	.hdr__row { column-gap: .75rem; }
	.hdr__logo img { height: 2rem; }
	.quote-btn { height: 3rem; gap: .75rem; padding: 0 .375rem 0 1rem; }
	.quote-btn .btn-label { font-size: calc(var(--u) * 16); }
}
@media (min-width: 768px) { .hdr__logo img { height: 2.5rem; } }
@media (min-width: 1024px) {
	.hdr__row { column-gap: 1.5rem; padding-block: 1rem; }
	.hdr__menu, .hdr__search-open { display: none; }
	.hdr__search, .hdr.is-search .hdr__search { display: block; grid-column: auto; }
	.hdr.is-search .hdr__row > :not(.hdr__search) { display: revert; }
	.hdr__search .hsearch { width: 100%; }
	.quote-btn { padding-left: 1.25rem; }
	.hdr__nav { display: block; background: #fff; border-bottom: 1px solid var(--c-line); }
	.hdr__nav-row { display: flex; align-items: center; gap: .25rem; padding-block: .625rem; }
	.hdr__link { padding: .5rem 1rem; border-radius: 999px; font-size: calc(var(--ut) * 15); }
	.hdr__link:hover { background: var(--c-mint); color: var(--c-primary-deep); }
	.btn--nav { height: 2.5rem; padding-inline: 1.25rem; margin-right: 1rem; gap: .625rem; }
	.btn--nav[aria-expanded="true"] { background: var(--c-accent-press); }
	.btn--nav .caret { transition: transform .2s; }
	.btn--nav[aria-expanded="true"] .caret { transform: rotate(180deg); }
}
@media (min-width: 1280px) {
	.hdr__contact { display: block; text-align: right; font-family: var(--f-mono); font-size: calc(var(--ut) * 11); line-height: 1.7; color: var(--c-on-primary); }
	.hdr__contact a { display: block; }
	.hdr__contact a:hover { color: #fff; }
}
.scrim { position: fixed; inset: 0; z-index: 40; background: rgb(27 58 61 / .3); }

/* ---------- Mega menú ---------- */
.mega { position: absolute; inset-inline: 0; top: 100%; padding: .75rem 1.5rem 0; }
.mega__panel { display: flex; flex-direction: column; max-width: var(--wrap); max-height: calc(100dvh - var(--u) * 164); margin-inline: auto; overflow: hidden; border-radius: var(--r); border: 1px solid var(--c-line); background: #fff; box-shadow: var(--sh-panel); }
.mega__floors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; padding: .5rem; background: var(--c-mint); flex-shrink: 0; }
.mega__floor { display: flex; align-items: center; gap: .75rem; padding: .375rem 1.25rem .375rem .375rem; border-radius: 999px; background: rgb(255 255 255 / .7); }
.mega__floor:hover { background: #fff; }
.mega__floor-name { font-weight: 600; }
.mega__floor-count { margin-left: auto; font-size: calc(var(--ut) * 11); }
.mega__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); min-height: 0; flex: 1; overflow-y: auto; }
.mega__cell { padding: 1.25rem; border-color: var(--c-line); border-style: solid; border-width: 0; }
.mega__cell:not(:nth-child(6n + 1)) { border-left-width: 1px; }
.mega__cell:nth-child(n + 7) { border-top-width: 1px; }
.mega__cat { display: block; margin-top: .25rem; font-weight: 600; line-height: 1.25; color: var(--c-primary-deep); }
.mega__cat:hover { color: var(--c-primary); text-decoration: underline; }
.mega__count { margin-top: .25rem; padding-bottom: .75rem; border-bottom: 1px solid var(--c-line); font-size: calc(var(--ut) * 10.5); }
.mega__subs { display: grid; gap: .5rem; margin-top: .75rem; font-size: calc(var(--ut) * 14); }
.mega__subs a:hover { color: var(--c-primary); text-decoration: underline; }
.mega__foot { display: flex; justify-content: flex-end; padding: .75rem 1.25rem; border-top: 1px solid var(--c-line); background: var(--c-mist); flex-shrink: 0; }
.mega__all { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--c-primary); }
.mega__all:hover { text-decoration: underline; }
.mega__all .mono { font-size: calc(var(--ut) * 12); font-weight: 400; }
@media (max-width: 1023px) { .mega { display: none !important; } }

/* ---------- Menú móvil (dialog) ---------- */
.mnav { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.mnav::backdrop { background: rgb(27 58 61 / .4); }
.mnav__panel { display: flex; flex-direction: column; width: min(100%, 420px); height: 100%; background: #fff; animation: slide-in-left .3s ease; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; background: var(--c-primary); }
.mnav__logo { height: 2rem; width: auto; }
.mnav__body { flex: 1; overflow-y: auto; padding: 1rem .75rem; }
.mnav__title { padding: 0 .5rem .5rem; font-size: calc(var(--u) * 26); color: var(--c-primary-deep); }
.mnav summary { list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav__line > summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: .75rem; padding: .5rem; border-radius: var(--r); }
.mnav__line[open] > summary { background: var(--c-mint); }
.mnav__line[open] > summary .floor { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-primary-deep); }
.mnav__line-name { font-weight: 600; line-height: 1.25; }
.mnav__line .mono { font-size: calc(var(--ut) * 11); }
.mnav__line .caret { transition: transform .2s; }
.mnav__line[open] .caret { transform: rotate(180deg); }
.mnav__cat { margin-left: 3rem; }
.mnav__cat > summary { display: flex; justify-content: space-between; gap: .75rem; padding: .625rem .5rem; border-radius: 12px; font-size: calc(var(--ut) * 15); }
.mnav__cat > summary:hover { background: var(--c-mist); }
.mnav__cat .mono { font-size: calc(var(--ut) * 10.5); }
.mnav__cat ul { list-style: none; display: grid; gap: .25rem; margin: 0 0 .5rem .5rem; padding-left: .75rem; border-left: 1px solid var(--c-line); }
.mnav__cat a { display: block; padding-block: .375rem; font-size: calc(var(--ut) * 14); color: var(--c-muted); }
.mnav__cat a.mnav__all { font-weight: 600; color: var(--c-primary); }
.mnav__links { display: grid; gap: .25rem; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--c-line); }
.mnav__links a { display: block; padding: .625rem .75rem; border-radius: 999px; font-size: calc(var(--ut) * 15); }
.mnav__links a:hover { background: var(--c-mint); }
.mnav__foot { padding: 1rem 1.25rem; border-top: 1px solid var(--c-line); font-size: calc(var(--ut) * 11); line-height: 1.8; }
@keyframes slide-in-left { from { transform: translateX(-100%); } to { transform: none; } }

/* ---------- Tarjeta de producto ---------- */
.pcard { display: flex; flex-direction: column; width: 100%; height: 100%; padding: .625rem; border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; transition: border-color .3s, transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-4px); border-color: var(--c-primary); box-shadow: var(--sh-float); }
.pcard__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-img); background: var(--c-photo); }
.pcard__img { position: absolute; left: 8%; top: 8%; width: 84%; height: 84%; object-fit: cover; -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent); mask-image: radial-gradient(closest-side, #000 78%, transparent); transition: transform .5s ease-out; }
.pcard:hover .pcard__img { transform: scale(1.07); }
.pcard__code { position: absolute; left: .625rem; top: .625rem; padding: .25rem .625rem; border-radius: 999px; background: rgb(255 255 255 / .9); font-size: calc(var(--ut) * 11); }
.pcard__floor { position: absolute; right: .625rem; top: .625rem; }
.pcard__body { display: flex; flex: 1; flex-direction: column; gap: .25rem; padding: .875rem .375rem .75rem; }
.pcard__name { font-size: calc(var(--ut) * 16); font-weight: 600; line-height: 1.375; }
.pcard__name a:hover { color: var(--c-primary); }
.pcard__path { font-size: calc(var(--ut) * 12.5); color: var(--c-muted); }
.pcard__compat { margin-top: auto; padding-top: .25rem; font-size: calc(var(--ut) * 10.5); color: var(--c-primary); }
.pcard__btn { width: 100%; }
.ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .375rem; color: #8aa3a0; text-align: center; }
.ph .mono { font-size: calc(var(--ut) * 10.5); color: #5e7071; }
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 768px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1280px) { .pgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .pgrid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Carrusel genérico (portada, ficha, ofertas) */
.b-products .pgrid, .b-products .track { margin-top: 1.5rem; }
.pgrid__item, .track__item { display: flex; }
.track { display: flex; gap: 1rem; margin-inline: -1rem; padding: 0 1rem .25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1rem; scroll-behavior: smooth; scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.track__item { width: 78%; flex-shrink: 0; scroll-snap-align: start; }
@media (min-width: 640px) { .track__item { width: calc((100% - 1rem) / 2); } }
@media (min-width: 768px) { .track__item { width: calc((100% - 2rem) / 3); } }
@media (min-width: 1280px) { .b-products--carousel .track__item { width: calc((100% - 4rem) / 5); } }
.car-nav { display: flex; gap: .5rem; }


/* ---------- Páginas de texto ---------- */
.page-main { padding-block: 2.5rem 6rem; }
.page__title { margin-bottom: 1.5rem; font-size: calc(var(--u) * 48); color: var(--c-primary-deep); }
.prose { max-width: 72ch; font-size: calc(var(--ut) * 16); color: var(--c-body); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2em; font-size: calc(var(--ut) * 22); color: var(--c-primary-deep); }
.prose a { color: var(--c-primary); text-decoration: underline; }
.prose ul { padding-left: 1.25em; }
.page-main .b-faq { margin-top: 4rem; max-width: none; }
.woocommerce-pagination ul { display: flex; gap: .5rem; margin-top: 2rem; list-style: none; padding: 0; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1.5px solid var(--c-line-strong); }
.woocommerce-pagination .current { background: var(--c-accent); border-color: var(--c-accent); }

/* ---------- Footer ---------- */
.ftr { background: var(--c-primary-deep); color: #fff; }
.ftr__grid { display: grid; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.ftr__brand { display: grid; align-content: start; gap: 1.25rem; }
.ftr__logo { height: 2.5rem; width: auto; }
.ftr__brand p { max-width: 38ch; font-size: calc(var(--ut) * 14.5); color: var(--c-on-primary); }
.ftr__title { font-family: var(--f-mono); font-size: calc(var(--ut) * 10.5); text-transform: uppercase; letter-spacing: .04em; color: #9fc0bd; }
.ftr__list { display: grid; gap: .625rem; margin-top: 1rem; font-size: calc(var(--ut) * 14.5); }
.ftr__list a:hover { text-decoration: underline; }
.ftr__muted { color: var(--c-on-primary); }
.ftr__bottom { border-top: 1px solid rgb(255 255 255 / .1); }
.ftr__bottom-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; font-size: calc(var(--ut) * 13); color: var(--c-on-primary); }
.ftr__social { display: flex; gap: .5rem; }
.ftr__social a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); color: #fff; }
.ftr__social a:hover { background: #fff; color: var(--c-primary-deep); }
@media (min-width: 640px) { .ftr__social { margin-right: 5rem; } }
@media (min-width: 768px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ftr__grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); } }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40; display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--c-accent); color: var(--c-primary-deep); box-shadow: var(--sh-float), 0 0 0 2px rgb(255 255 255 / .8); }
.wa-float:hover { background: var(--c-accent-press); }

@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	@view-transition { navigation: none; }
}
.mnav__line-all { display: block; margin: .25rem 0 .5rem 3.5rem; font-size: calc(var(--ut) * 14); font-weight: 600; color: var(--c-primary); }

/* ---------- Comunes a todas las páginas (fase 2) ---------- */
.btn--line { border: 1.5px solid var(--c-primary); background: #fff; color: var(--c-primary); font-weight: 600; font-size: calc(var(--ut) * 14.5); padding-inline: 1.25rem; }
.btn--line:hover { background: var(--c-mint); }
.btn.is-disabled, .btn:disabled { pointer-events: none; background: var(--c-mist); color: var(--c-muted); }
.link { color: var(--c-primary); font-weight: 600; text-decoration: underline; cursor: pointer; }

/* Selector de cantidad */
.stepper { display: inline-flex; align-items: center; height: 2.25rem; border: 1px solid var(--c-line-strong); border-radius: 999px; background: #fff; }
.stepper__btn { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; color: var(--c-primary); cursor: pointer; }
.stepper__btn:hover { background: var(--c-mint); }
.stepper__btn:disabled { opacity: .4; pointer-events: none; }
.stepper__val { min-width: 1.75rem; text-align: center; font-size: calc(var(--ut) * 12); }
.stepper .quantity { display: contents; }
.stepper input { width: 3rem; height: 100%; border: 0; background: transparent; text-align: center; font-family: var(--f-mono); font-size: calc(var(--ut) * 14); -moz-appearance: textfield; appearance: textfield; outline: none; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper--lg { height: 3rem; border-width: 1.5px; }
.stepper--lg .stepper__btn { width: 2.75rem; height: 2.75rem; }

/* Drawer del cotizador */
.drawer { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; }
.drawer::backdrop { background: rgb(27 58 61 / .4); }
.drawer__panel { position: absolute; right: 0; top: 0; display: flex; flex-direction: column; width: 100%; max-width: calc(var(--u) * 440); height: 100%; background: #fff; box-shadow: var(--sh-panel); animation: slide-in-right .3s ease; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--c-line); }
.drawer__title { font-size: calc(var(--u) * 34); color: var(--c-primary-deep); }
.drawer__count { font-size: calc(var(--ut) * 11); }
.drawer__msg { margin: .75rem 1.5rem 0; padding: .625rem .875rem; border-radius: 12px; background: #fdecea; color: #8a1c13; font-size: calc(var(--ut) * 13.5); }
.drawer__body { flex: 1; overflow-y: auto; padding-inline: 1.5rem; }
.drawer__list > li + li { border-top: 1px solid var(--c-line); }
.ditem { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .375rem .875rem; padding-block: 1rem; }
.ditem.is-pending { opacity: .65; }
.ditem__img { width: 4rem; height: 4rem; border-radius: 10px; background: var(--c-photo); object-fit: cover; }
.ditem__meta { font-size: calc(var(--ut) * 11); color: var(--c-primary); }
.ditem__name { display: block; font-size: calc(var(--ut) * 15); font-weight: 600; line-height: 1.35; }
.ditem__name:hover { color: var(--c-primary); }
.ditem__path { font-size: calc(var(--ut) * 12.5); color: var(--c-muted); }
.ditem__actions { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ditem__remove, .qitem__remove { display: inline-flex; align-items: center; gap: .25rem; font-size: calc(var(--ut) * 12.5); color: var(--c-muted); cursor: pointer; }
.ditem__remove:hover, .qitem__remove:hover { color: var(--c-primary); }
.drawer__empty, .drawer__loading { display: grid; justify-items: center; gap: .75rem; padding: 4rem .5rem; text-align: center; color: var(--c-muted); }
.drawer__empty .sign { font-size: calc(var(--u) * 28); color: var(--c-primary-deep); }
.drawer__empty-ico { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50%; background: var(--c-mint); color: var(--c-primary); }
.drawer__foot { display: grid; gap: .625rem; padding: 1.25rem 1.5rem; border-top: 1px solid var(--c-line); }
.drawer__link { text-align: center; font-size: calc(var(--ut) * 14); font-weight: 600; color: var(--c-primary); }
.drawer__link:hover { text-decoration: underline; }
.drawer__note { text-align: center; font-size: calc(var(--ut) * 12.5); color: var(--c-muted); }
@keyframes slide-in-right { from { transform: translateX(100%); } to { transform: none; } }

/* Sugerencias del buscador */
.hdr__search { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + .5rem); z-index: 60; max-height: min(70dvh, 560px); overflow-y: auto; padding: .5rem; border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; box-shadow: var(--sh-panel); color: var(--c-ink); }
.hdr.is-search .suggest { left: 0; right: 0; }
.suggest__label { padding: .5rem .625rem .25rem; font-family: var(--f-mono); font-size: calc(var(--ut) * 10); text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); }
.suggest__item { display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: center; gap: .75rem; padding: .375rem .625rem; border-radius: 12px; }
.suggest__item--cat { grid-template-columns: auto minmax(0, 1fr); }
.suggest__item:hover, .suggest__item[aria-selected="true"] { background: var(--c-mist); }
.suggest__img { width: 3rem; height: 3rem; overflow: hidden; border-radius: 8px; background: var(--c-photo); }
.suggest__img img { width: 100%; height: 100%; object-fit: cover; }
.suggest__text b { display: block; font-weight: 600; font-size: calc(var(--ut) * 14.5); line-height: 1.3; }
.suggest__text small { display: block; font-size: calc(var(--ut) * 11); color: var(--c-muted); }
.suggest__fix { padding: .5rem .625rem; font-size: calc(var(--ut) * 14); }
.suggest__none { padding: .75rem .625rem; font-size: calc(var(--ut) * 14); color: var(--c-muted); }
.suggest__all { display: block; margin-top: .25rem; padding: .625rem; border-top: 1px solid var(--c-line); font-weight: 600; color: var(--c-primary); }
.suggest__all:hover { text-decoration: underline; }

/* Migas de pan */
.crumbs { border-bottom: 1px solid var(--c-line); background: var(--c-mist); }
.crumbs__list { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .375rem; padding-block: .75rem; font-size: calc(var(--ut) * 13.5); list-style: none; margin: 0 auto; }
.crumbs__list li { display: flex; align-items: center; gap: .375rem; }
.crumbs__list li:not(:last-child)::after { content: ""; width: .375rem; height: .375rem; border-right: 1.5px solid var(--c-muted); border-bottom: 1.5px solid var(--c-muted); transform: rotate(-45deg); margin-inline: .125rem .25rem; }
.crumbs__list a { color: var(--c-primary); }
.crumbs__list a:hover { text-decoration: underline; }
.crumbs__list li:last-child { font-weight: 600; color: var(--c-primary-deep); }
