/* Moltú v3 — minimalista y para vender. Blanco cálido, tinta casi negra y un solo marrón café. */
@font-face { font-family: "Schibsted Grotesk"; src: url("/fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@view-transition { navigation: auto; }

:root {
  --bg: #faf8f5;
  --card: #ffffff;
  --tile: #f1ece5;
  --ink: #1b1815;
  --muted: #6b645c;
  --line: #e7e1d9;
  --accent: #6b3e26;
  --accent-hover: #55301c;
  --accent-soft: #f3e9e1;
  --ok: #2f6b3a;
  --no: #9a3b2a;

  --font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-s: 0.875rem;
  --fs-b: 1.0625rem;
  --fs-l: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.875rem, 1.3rem + 2vw, 2.875rem);
  --fs-h1: clamp(2.5rem, 1.5rem + 4.2vw, 5rem);

  --wrap: 1240px;
  --pad: clamp(1rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 9vw, 8rem);
  --r: 18px;
  --r-s: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--fs-b); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; text-wrap: balance; }
p { text-wrap: pretty; }
button, input { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: var(--sec); }
.sec__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.sec__title { font-size: var(--fs-h2); max-width: 18ch; }
.sec__lead { color: var(--muted); font-size: var(--fs-l); max-width: 44ch; margin-top: 14px; }
.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.link:hover { border-color: var(--accent); }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn--buy { background: var(--accent); color: #fff; }
.btn--buy:hover { background: var(--accent-hover); }
.btn--buy .arr { transition: transform .25s var(--ease); }
.btn--buy:hover .arr { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; }
.btn--line { border-color: var(--line); background: var(--card); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* cabecera */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; view-transition-name: top; }
.top.is-scrolled { border-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.logo__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav__a { padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav__a:hover, .nav__a[aria-current] { color: var(--ink); background: var(--tile); }
.top__right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.search-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 16px 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--muted); cursor: pointer; transition: border-color .2s; }
.search-btn:hover { border-color: var(--ink); color: var(--ink); }
.search-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 560px) {
  .search-btn span { display: none; }
  .search-btn { padding: 0 12px; }
  .top__right .btn--ink { display: none; }
}

/* menú móvil */
.drawer { border: 0; padding: 0; margin: 0 0 0 auto; height: 100dvh; max-height: none; width: min(420px, 100%); background: var(--bg); color: var(--ink); }
.drawer::backdrop { background: rgb(27 24 21 / .35); }
.drawer[open] { animation: slide .35s var(--ease); }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer__in { padding: 20px 24px 40px; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.drawer__g { font-size: var(--fs-s); color: var(--muted); margin: 22px 0 6px; font-weight: 600; }
.drawer a { display: block; padding: 10px 0; font-size: 1.25rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }

/* búsqueda */
.finder { border: 0; padding: 0; width: min(680px, calc(100% - 32px)); margin: 10vh auto auto; border-radius: var(--r); background: var(--card); color: var(--ink); max-height: 76vh; overflow: hidden; }
.finder::backdrop { background: rgb(27 24 21 / .4); backdrop-filter: blur(4px); }
.finder[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
.finder__bar { display: flex; align-items: center; gap: 12px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.finder__bar svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.finder__in { flex: 1; border: 0; outline: 0; height: 64px; font-size: 1.125rem; background: transparent; }
.finder__list { overflow: auto; max-height: calc(76vh - 66px); padding: 8px; }
.finder__item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r-s); text-decoration: none; }
.finder__item:hover, .finder__item.is-on { background: var(--tile); }
.finder__art { width: 52px; height: 52px; border-radius: 10px; background: var(--tile); flex: none; padding: 4px; }
.finder__name { font-weight: 600; display: block; }
.finder__cat { font-size: var(--fs-s); color: var(--muted); }
.finder__empty { padding: 24px; color: var(--muted); }

/* ilustración / foto de producto */
.art { position: relative; background: var(--tile); border-radius: var(--r); overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; }
.art svg { width: 78%; height: 78%; transition: transform .6s var(--ease); }
.art img { width: 100%; height: 100%; object-fit: contain; padding: 10%; mix-blend-mode: multiply; transition: transform .6s var(--ease); }

/* tarjeta de producto */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); gap: clamp(16px, 2vw, 24px); }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: 10px; transition: transform .35s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: #d6cec4; }
.card:hover .art svg, .card:hover .art img { transform: scale(1.06); }
.card__badge { position: absolute; top: 20px; left: 20px; z-index: 2; background: var(--card); color: var(--accent); font-size: .8125rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.card__body { padding: 16px 10px 8px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__cat { font-size: var(--fs-s); color: var(--muted); }
.card__name { font-size: 1.1875rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.card__name a { text-decoration: none; }
.card__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.card__para { color: var(--muted); font-size: .9688rem; }
.checks { display: grid; gap: 6px; font-size: .9375rem; }
.checks li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%236b3e26' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.card__foot .btn { position: relative; z-index: 2; }
.tier { display: inline-flex; gap: 2px; font-weight: 700; color: var(--line); font-size: .9375rem; }
.tier b { color: var(--ink); font-weight: 700; }
.tier__t { color: var(--muted); font-weight: 500; margin-left: 6px; font-size: var(--fs-s); }

/* portada · hero */
.hero { padding-top: clamp(32px, 6vw, 72px); padding-bottom: var(--sec); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: var(--fs-h1); letter-spacing: -0.04em; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__lead { font-size: var(--fs-l); color: var(--muted); margin-top: 22px; max-width: 34ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero__trust { display: flex; gap: clamp(20px, 3vw, 40px); margin-top: 44px; flex-wrap: wrap; }
.hero__trust div { display: grid; }
.hero__trust strong { font-size: 1.75rem; letter-spacing: -0.03em; line-height: 1.1; }
.hero__trust span { color: var(--muted); font-size: var(--fs-s); }
.hero__stage { position: relative; }
.hero__photo { border-radius: calc(var(--r) + 8px); overflow: hidden; aspect-ratio: 4 / 5; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: settle 1.6s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.spot { position: absolute; left: clamp(-56px, -4vw, -16px); bottom: 28px; width: min(320px, 78%); background: var(--card); border-radius: var(--r); padding: 12px; display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; text-decoration: none; border: 1px solid var(--line); }
.spot .art { border-radius: 12px; }
.spot__label { font-size: .8125rem; color: var(--accent); font-weight: 700; }
.spot__name { font-weight: 700; line-height: 1.2; margin-top: 2px; display: block; }
.spot__go { font-size: var(--fs-s); color: var(--muted); margin-top: 6px; display: block; }
.spot__slides { display: grid; }
.spot__slide { grid-area: 1 / 1; display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.spot__slide.is-on { opacity: 1; transform: none; pointer-events: auto; }
.spot { display: block; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { aspect-ratio: 5 / 4; }
  .spot { left: 12px; bottom: 12px; }
}

/* apartados */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.cat { display: block; text-decoration: none; }
.cat__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--tile); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.07); }
.cat__txt { display: block; padding: 12px 4px 0; }
.cat__name { font-weight: 700; font-size: 1.0625rem; line-height: 1.2; display: block; }
.cat__n { font-size: var(--fs-s); color: var(--muted); }
@media (max-width: 1020px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .cats { grid-template-columns: repeat(2, 1fr); } }

/* test + calculadora */
.tools { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(16px, 2vw, 24px); }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--r) + 6px); padding: clamp(24px, 3.5vw, 44px); }
.panel--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel__title { font-size: var(--fs-h3); }
.panel__sub { color: var(--muted); margin-top: 8px; }
.panel--ink .panel__sub { color: #b9b1a8; }
.bar-prog { height: 4px; background: var(--line); border-radius: 4px; margin: 26px 0 30px; overflow: hidden; }
.bar-prog i { display: block; height: 100%; width: 20%; background: var(--accent); border-radius: 4px; transition: width .5s var(--ease); }
.q { border: 0; padding: 0; margin: 0; display: none; }
.q.is-current { display: block; animation: qin .45s var(--ease); }
@keyframes qin { from { opacity: 0; transform: translateX(16px); } }
.q__text { font-size: 1.375rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; padding: 0; }
.q__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 520px) { .q__opts { grid-template-columns: 1fr; } }
.q__opts label { position: relative; cursor: pointer; }
.q__opts input { position: absolute; opacity: 0; inset: 0; }
.q__opts span { display: block; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-s); font-weight: 500; transition: border-color .2s, background .2s; }
.q__opts label:hover span { border-color: var(--ink); }
.q__opts input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.q__opts input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.quiz__nav { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.result { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; margin-top: 24px; animation: qin .5s var(--ease); }
.result[hidden] { display: none; }
@media (max-width: 520px) { .result { grid-template-columns: 1fr; } .result .art { max-width: 200px; } }
.result__label { color: var(--accent); font-weight: 700; font-size: var(--fs-s); }
.result__name { font-size: 1.625rem; margin-top: 4px; }
.result__why { color: var(--muted); margin-top: 8px; }
.result__alt { font-size: var(--fs-s); color: var(--muted); margin-top: 10px; }
.calc__total { margin: 26px 0 8px; }
.calc__total span { display: block; color: #b9b1a8; font-size: var(--fs-s); }
.calc__total strong { font-size: clamp(3rem, 2rem + 4vw, 4.5rem); letter-spacing: -0.045em; line-height: 1; display: block; margin-top: 6px; }
.calc__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid #3a342f; }
.calc__row label { color: #d9d2c9; }
.stepper { display: inline-flex; align-items: center; border: 1px solid #4a433d; border-radius: 999px; }
.stepper button { width: 40px; height: 40px; border: 0; background: transparent; color: #fff; font-size: 1.25rem; cursor: pointer; border-radius: 50%; }
.stepper button:hover { background: #2e2925; }
.stepper input { width: 60px; text-align: center; border: 0; background: transparent; color: #fff; font-weight: 700; }
.calc__lines { display: grid; gap: 6px; margin: 14px 0 22px; font-size: var(--fs-s); color: #b9b1a8; }
.calc__lines div { display: flex; justify-content: space-between; gap: 12px; }
.calc__lines dd { margin: 0; color: #fff; font-weight: 600; white-space: nowrap; }

/* comparativa */
.compare { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); background: var(--card); }
.compare table { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: var(--fs-s); color: var(--muted); font-weight: 600; }
.compare__p { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 700; }
.compare__p .art { width: 64px; flex: none; border-radius: 10px; }
.compare tbody tr { transition: background .2s; }
.compare tbody tr:hover { background: #fcfaf7; }

/* preguntas */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-size: 1.1875rem; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 24px; color: var(--muted); max-width: 64ch; }

/* banda final */
.cta { background: var(--ink); color: #fff; border-radius: calc(var(--r) + 10px); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.cta h2 { font-size: var(--fs-h2); max-width: 16ch; }
.cta p { color: #b9b1a8; margin-top: 12px; max-width: 44ch; }
.cta .btn--line { background: transparent; color: #fff; border-color: #4a433d; }
.cta .btn--line:hover { border-color: #fff; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* apartado */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: var(--fs-s); color: var(--muted); padding-top: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.chead { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 72px); }
.chead__title { font-size: var(--fs-h1); letter-spacing: -0.04em; }
.chead__lead { font-size: var(--fs-l); color: var(--muted); margin-top: 18px; max-width: 46ch; }
.chead__photo { border-radius: calc(var(--r) + 6px); overflow: hidden; aspect-ratio: 4 / 3; }
.chead__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .chead { grid-template-columns: 1fr; } }
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: clamp(48px, 6vw, 80px); }
.tip { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.tip h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.tip p { color: var(--muted); font-size: .9688rem; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.card.is-out { display: none; }
.others { display: flex; flex-wrap: wrap; gap: 10px; }
.others a { padding: 12px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-weight: 500; transition: border-color .2s; }
.others a:hover { border-color: var(--ink); }

/* ficha de producto */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; padding-block: clamp(20px, 3vw, 40px) var(--sec); }
.pd__media { position: sticky; top: 96px; }
.pd__media .art { border-radius: calc(var(--r) + 8px); }
.pd__media .art svg { width: 72%; height: 72%; }
.pd__badge { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .8125rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.pd__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); letter-spacing: -0.035em; }
.pd__para { font-size: var(--fs-l); color: var(--muted); margin-top: 14px; }
.pd__meta { display: flex; gap: 18px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.pd__buy { margin-top: 30px; display: grid; gap: 12px; }
.pd__buy .btn { min-height: 60px; font-size: 1.0625rem; }
.pd__note { font-size: var(--fs-s); color: var(--muted); display: flex; gap: 8px; align-items: center; }
.pd__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.pd__block { margin-top: 40px; }
.pd__h { font-size: 1.25rem; margin-bottom: 16px; }
.pd .checks { gap: 10px; font-size: 1rem; }
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .9688rem; vertical-align: top; }
.specs th { color: var(--muted); font-weight: 500; width: 44%; padding-right: 16px; }
.specs td { font-weight: 600; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .pc { grid-template-columns: 1fr; } }
.pc > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.pc h3 { font-size: 1rem; margin-bottom: 10px; }
.pc li { padding-left: 22px; position: relative; font-size: .9688rem; margin-top: 6px; }
.pc li::before { position: absolute; left: 0; font-weight: 800; }
.pc__pro li::before { content: "+"; color: var(--ok); }
.pc__con li::before { content: "–"; color: var(--no); }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; } .pd__media { position: static; } .pd__media .art { max-width: 520px; } }

/* barra de compra fija */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: color-mix(in srgb, var(--card) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
.buybar.is-on { transform: none; }
.buybar__in { display: flex; align-items: center; gap: 16px; height: 76px; }
.buybar .art { width: 52px; border-radius: 10px; flex: none; }
.buybar__name { font-weight: 700; line-height: 1.2; }
.buybar__sub { font-size: var(--fs-s); color: var(--muted); }
.buybar .btn { margin-left: auto; }
@media (max-width: 560px) { .buybar__sub { display: none; } .buybar__name { font-size: .9375rem; } .buybar .btn { padding: 0 16px; } }

/* pie */
.foot { margin-top: var(--sec); border-top: 1px solid var(--line); padding-block: 56px 32px; font-size: .9375rem; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
.foot__about { color: var(--muted); max-width: 30ch; margin-top: 12px; }
.foot__h { font-weight: 700; margin-bottom: 10px; }
.foot li { margin-top: 6px; }
.foot a, .foot__btn { color: var(--muted); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.foot a:hover, .foot__btn:hover { color: var(--ink); }
.foot__legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-s); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* cookies */
.cookies { position: fixed; left: 16px; bottom: 16px; z-index: 60; width: min(420px, calc(100% - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; font-size: .9375rem; animation: pop .4s var(--ease); }
.cookies[hidden] { display: none; }
.cookies p { color: var(--muted); }
.cookies strong { color: var(--ink); }
.cookies__actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* legales */
.doc { max-width: 760px; padding-block: 40px 0; }
.doc h1 { font-size: var(--fs-h2); margin-bottom: 24px; }
.doc h2 { font-size: 1.375rem; margin: 36px 0 12px; }
.doc p, .doc li { color: #3d3732; margin-top: 10px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .9375rem; }
.doc th, .doc td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.todo { background: #fff3c4; padding: 0 4px; border-radius: 4px; }

/* entradas al hacer scroll */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 70ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* transiciones entre páginas */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
::view-transition-group(*) { animation-duration: .5s; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }

/* precio oficial (solo con la API de Amazon) */
.price { font-weight: 700; color: var(--ink); }
.price:empty { display: none; }
.card .price { font-size: var(--fs-s); color: var(--muted); font-weight: 500; }

/* fotos propias */
.art img.is-foto { padding: 0; object-fit: cover; mix-blend-mode: normal; }
.art-note { font-size: .8125rem; color: var(--muted); margin-top: 10px; }
.art-note[hidden] { display: none; }
