/* Il Forno Hogar — web publica (v3)
   Fuego y fotografia sobre fondos sobrios. El naranja solo para la accion principal.
   Animaciones: Motion (assets/js/vendor/motion.js) desde site.js. */
:root {
  --night: #0f0d0c;
  --char: #171412;
  --smoke: #221e1b;
  --ash: #a39b93;
  --bone: #f3f1ed;
  --stone: #ecebe8;
  --stone-2: #e0dedb;
  --stone-3: #cfccc8;
  --ink: #1a1715;
  --ink-2: #5d5650;
  --fire: #e8732c;
  --fire-hi: #f59a52;
  --fire-btn: #bd5219; /* el fuego de los botones: blanco encima con 4.8:1 */

  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  /* cinco tamanos */
  --t-1: clamp(52px, 8.2vw, 124px);
  --t-2: clamp(36px, 4.6vw, 68px);
  --t-3: clamp(22px, 1.9vw, 27px);
  --t-4: 17px;
  --t-5: 14px;
  --wrap: 1300px;
  --gap: clamp(80px, 11vw, 152px);
  --r: 6px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #4a433d var(--night); }
body { margin: 0; background: var(--night); color: var(--bone); font: 400 var(--t-4)/1.65 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; caret-color: var(--fire); }
::selection { background: var(--fire); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; font-optical-sizing: auto; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; background: var(--bone); color: var(--ink); padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--fire-hi); outline-offset: 3px; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.dark { background: var(--char); color: var(--bone); }
.light { background: var(--stone); color: var(--ink); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 54px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--r); cursor: pointer; text-decoration: none;
  font: 600 15px/1 var(--text); letter-spacing: .01em; transition: background .25s, color .25s, border-color .25s;
}
.btn .ico { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-fire { background: var(--fire-btn); color: #fff; }
.btn-fire:hover { background: #a94512; }
.btn-dark, .btn-ink { background: var(--ink); color: var(--bone); }
.btn-dark:hover, .btn-ink:hover { background: #000; }
.btn-ghost { border-color: rgba(243, 241, 237, .32); color: var(--bone); background: transparent; }
.btn-ghost:hover { border-color: var(--bone); }
.btn-quiet { background: var(--stone-2); color: var(--ink); }
.btn-quiet:hover { background: var(--stone-3); }
.btn-cotton { background: var(--bone); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; }
.link .ico { transition: transform .35s var(--ease); }
.link:hover .ico { transform: translateX(4px); }

/* ---------- barra ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(15, 13, 12, .9); color: var(--bone); backdrop-filter: blur(12px); transition: background .4s; }
.home .bar { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; }
.home .bar.solid { background: rgba(15, 13, 12, .9); backdrop-filter: blur(12px); }
.bar-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 20px; height: 27px; color: var(--fire); }
.brand-mark .flame-core { fill: #ffd9a8; }
.brand-name { font: 500 25px/1 var(--serif); letter-spacing: -.01em; white-space: nowrap; }
.brand-name b { font-weight: 400; font-style: italic; color: var(--ash); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { white-space: nowrap; text-decoration: none; font-size: var(--t-5); font-weight: 500; color: rgba(243, 241, 237, .72); padding: 6px 0; transition: color .2s; }
.nav a:hover, .nav a[aria-current] { color: var(--bone); }
.nav a[aria-current] { box-shadow: inset 0 -1px 0 var(--fire); }
.nav .nav-visit { display: inline-flex; align-items: center; gap: 8px; color: var(--bone); border: 1px solid rgba(243, 241, 237, .3); border-radius: var(--r); padding: 11px 16px; box-shadow: none; }
.nav .nav-visit:hover { border-color: var(--bone); }
.langs { display: flex; gap: 2px; }
.langs a { font-size: 13px; font-weight: 600; text-decoration: none; padding: 6px 7px; color: rgba(243, 241, 237, .5); }
.langs a:hover, .langs a[aria-current] { color: var(--bone); }
.nav-toggle { display: none; }
@media (max-width: 820px) {
  .bar-in { gap: 12px; }
  .nav-toggle { display: grid; gap: 7px; place-content: center; width: 46px; height: 46px; background: none; border: 0; color: inherit; cursor: pointer; order: 3; }
  .nav-toggle span:not(.sr) { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .nav { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 28px; background: var(--night); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition: opacity .3s, transform .4s var(--ease); }
  .nav a { display: block; padding: 15px 0; font-size: 21px; font-family: var(--serif); }
  .nav .nav-visit { margin-top: 14px; justify-content: center; font-family: var(--text); font-size: 15px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; background: var(--night); }
.hero-photo { position: absolute; inset: -3%; z-index: -2; background-size: cover; background-position: center 55%; opacity: .62; will-change: transform; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 13, 12, .55) 0%, rgba(15, 13, 12, .05) 38%, rgba(15, 13, 12, .92) 100%), linear-gradient(90deg, rgba(15, 13, 12, .7) 0%, transparent 60%); }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero-in { padding: 150px 0 clamp(48px, 8vh, 88px); }
.hero-title { font-size: var(--t-1); font-weight: 400; letter-spacing: -.03em; line-height: .98; max-width: 10ch; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; }
.hero-sub { max-width: 34em; margin: 26px 0 34px; font-size: 18px; color: rgba(243, 241, 237, .8); }

.calc { max-width: 620px; padding: 22px 22px 18px; border-radius: var(--r); background: rgba(23, 20, 18, .84); backdrop-filter: blur(10px); }
.calc label { display: block; font: 500 var(--t-3)/1.15 var(--serif); margin-bottom: 14px; }
.calc-row { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-field { display: flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 54px; border-radius: var(--r); background: var(--bone); color: var(--ink); }
.calc-field:focus-within { outline: 2px solid var(--fire-hi); outline-offset: 2px; }
.calc input { width: 72px; border: 0; background: transparent; color: var(--ink); font: 500 26px/1 var(--serif); outline: none; }
.calc input::placeholder { color: #8d857e; }
.calc-unit { font-weight: 600; color: var(--ink-2); }
.calc .btn { flex: 1; justify-content: space-between; }
.calc-note { margin: 12px 0 0; font-size: var(--t-5); color: var(--ash); }
@media (max-width: 560px) { .calc-field { flex: 1; } .calc .btn { flex-basis: 100%; } }

/* ---------- recorrido ---------- */
.story { position: relative; height: calc(var(--n) * 100vh + 30vh); background: var(--night); }
.story-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; }
.story-media { position: relative; overflow: hidden; }
.story-img { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.story-img.on, .story-img.past { clip-path: inset(0); }
.story-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--s, 1.12)); transform-origin: 50% 65%; }
.story-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 60%, var(--night) 100%); }
.story-text { position: relative; display: grid; align-items: center; padding: 0 clamp(24px, 6vw, 100px) 0 clamp(20px, 3vw, 52px); }
.chapter { grid-area: 1 / 1; max-width: 460px; opacity: 0; transform: translateY(32px); pointer-events: none; }
.chapter.on { opacity: 1; transform: none; pointer-events: auto; }
.chapter h2 { font-size: var(--t-2); font-weight: 400; margin-bottom: 22px; }
.chapter p { font-size: 18px; color: rgba(243, 241, 237, .74); max-width: 40ch; }
.story-progress { position: absolute; left: clamp(20px, 3vw, 52px); right: clamp(24px, 6vw, 100px); bottom: 56px; height: 2px; background: rgba(243, 241, 237, .12); }
.story-bar { position: absolute; inset: 0; background: var(--fire); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
@media (max-width: 820px) {
  .story-sticky { grid-template-columns: 1fr; grid-template-rows: 56vh 1fr; }
  .story-media::after { background: linear-gradient(0deg, var(--night) 0%, transparent 40%); }
  .story-text { align-items: start; padding: 8px 20px 0; }
  .chapter h2 { font-size: clamp(32px, 9vw, 44px); margin-bottom: 14px; }
  .chapter p { font-size: 16px; }
  .story-progress { bottom: 32px; left: 20px; right: 20px; }
}

/* ---------- secciones ---------- */
.section { padding: var(--gap) 0; }
.section h2 { font-size: var(--t-2); font-weight: 400; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 64px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.section-lead { max-width: 36ch; margin: 0; font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.dark .section-lead { color: var(--ash); }

/* destacados */
.rail-ctrl { display: flex; gap: 8px; }
.rail-btn { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--stone-3); background: transparent; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.rail-btn:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.rail-btn[data-dir="-1"] .ico { transform: scaleX(-1); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 310px); gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 max(20px, (100vw - var(--wrap)) / 2) 8px; scroll-padding-inline: max(20px, (100vw - var(--wrap)) / 2);
}
.rail::-webkit-scrollbar { display: none; }
.rail-item { scroll-snap-align: start; }
.featured-more { margin-top: 40px; }
@media (max-width: 560px) { .rail-ctrl { display: none; } .rail { grid-auto-columns: 78%; } }

/* producto en miniatura */
.tile-link { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.tile-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--stone-2); }
.tile-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .5s; }
.tile-media img.alt { opacity: 0; }
.tile-link:hover .tile-media img { transform: scale(1.045); }
.tile-link:hover .tile-media img.alt { opacity: 1; }
.tile-name { margin-top: 18px; font: 500 var(--t-3)/1.1 var(--serif); }
.tile-sub { margin-top: 6px; font-size: var(--t-5); color: var(--ink-2); line-height: 1.5; }
.tile-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: auto; padding-top: 14px; font-size: var(--t-5); color: var(--ink-2); }
.tile-cap { color: var(--ink); font-weight: 600; }
.tile-cap::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--fire); margin-right: 7px; vertical-align: 2px; }
.dark .tile-sub, .dark .tile-meta { color: var(--ash); }
.dark .tile-cap { color: var(--bone); }
.dark .tile-media { background: var(--smoke); }
.tile[hidden] { display: none; }

/* categorias */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 24vw, 320px); gap: 14px; }
.cat-card { position: relative; overflow: hidden; border-radius: var(--r); text-decoration: none; color: var(--bone); background: var(--smoke); isolation: isolate; }
.cat-card.cat-wide { grid-row: span 2; }
.cat-card:last-child:nth-child(3n) { grid-column: 1 / -1; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(15, 13, 12, .85)); }
.cat-card:hover img { transform: scale(1.05); }
.cat-info { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; flex-direction: column; gap: 6px; }
.cat-name { font: 400 clamp(26px, 2.4vw, 34px)/1.05 var(--serif); }
.cat-n { display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-5); color: rgba(243, 241, 237, .78); }
.cat-n .ico { transition: transform .35s var(--ease); }
.cat-card:hover .cat-n .ico { transform: translateX(4px); }
.cat-bare { background: radial-gradient(80% 70% at 50% 85%, #3a1f12, var(--smoke) 70%); }
.cat-flame { position: absolute; inset: 0; display: grid; place-items: center; color: var(--fire); }
.cat-flame svg { width: 54px; height: 72px; }
.cat-flame .flame-core { fill: #ffd9a8; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; } .cat-card.cat-wide { grid-row: span 1; } }

/* asesoramiento */
.promise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.promise-photo { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); }
.promise-photo img { width: 100%; height: 100%; object-fit: cover; }
.promise h2 { margin-bottom: 26px; }
.promise .section-lead { margin-bottom: 34px; }
.promise-list { display: grid; gap: 26px; margin: 0 0 40px; }
.promise-list dt { font: 500 var(--t-3)/1.15 var(--serif); margin-bottom: 6px; }
.promise-list dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) { .promise-grid { grid-template-columns: 1fr; } .promise-photo { aspect-ratio: 16 / 10; } }

/* bioetanol o pellets */
.compare { padding-top: 0; }
.compare h2 { margin-bottom: clamp(36px, 5vw, 60px); }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare-col { padding: clamp(28px, 4vw, 52px); border-radius: var(--r); background: #fff; }
.compare-col h3 { font-size: clamp(30px, 3vw, 42px); font-weight: 400; margin-bottom: 10px; }
.compare-col > p { color: var(--ink-2); margin-bottom: 26px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.compare-col li { position: relative; padding-left: 22px; }
.compare-col li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--fire); }
@media (max-width: 760px) { .compare-grid { grid-template-columns: 1fr; } }

/* la tienda */
.visit-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.visit h2 { margin-bottom: 36px; max-width: 10ch; }
.visit dl { display: grid; grid-template-columns: auto 1fr; gap: 16px 30px; margin: 0 0 40px; }
.visit dt { color: var(--ash); }
.visit dd { margin: 0; }
.visit dd a { text-decoration: none; }
.visit-map { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--smoke); }
.visit-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.05) brightness(.9); }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } .visit dl { grid-template-columns: 1fr; gap: 2px; } .visit dd { margin-bottom: 14px; } }

/* ---------- pie ---------- */
.foot { background: var(--night); color: var(--ash); font-size: var(--t-5); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding: 72px 0 40px; }
.foot h2 { font: 600 var(--t-5)/1.3 var(--text); color: var(--bone); margin-bottom: 12px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--bone); }
.foot-brand .brand { color: var(--bone); margin-bottom: 14px; }
.foot p { margin-bottom: .6em; }
.foot-legal { padding: 22px 0 34px; margin-block: 0; color: #928b84; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .6); }
.wa-float .ico { width: 30px; height: 30px; }

/* ---------- catalogo ---------- */
.page-top { position: relative; overflow: hidden; isolation: isolate; background: var(--night); }
.page-top-photo { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 60%; opacity: .45; }
.page-top::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--night) 10%, rgba(15, 13, 12, .3)); }
.page-top-in { padding: clamp(80px, 11vw, 140px) 0 clamp(40px, 5vw, 64px); }
.page-top h1 { font-size: var(--t-1); font-weight: 400; letter-spacing: -.03em; }
.page-top-sub { max-width: 40em; margin: 20px 0 0; color: rgba(243, 241, 237, .78); }
.page-top-sub a { color: var(--fire-hi); }

section.catalog { padding: 0 0 var(--gap); background: var(--stone); color: var(--ink); }
.filters { position: sticky; top: 76px; z-index: 20; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 18px 0; background: var(--stone); }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1 1 520px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 11px 16px; border-radius: 999px; background: #fff; text-decoration: none; font-size: var(--t-5); font-weight: 500; white-space: nowrap; transition: background .2s, color .2s; }
.chip:hover { background: var(--stone-2); }
.chip.on { background: var(--ink); color: var(--bone); }
.filter-fields { display: flex; gap: 8px; }
.field { display: flex; align-items: center; gap: 8px; background: #fff; padding: 0 14px; min-height: 46px; border-radius: 999px; }
.field input { border: 0; background: transparent; font: 500 var(--t-5) var(--text); color: var(--ink); min-width: 0; outline: none; }
.field:focus-within { outline: 2px solid var(--fire); }
.field-m2 span:first-child { font-size: var(--t-5); color: var(--ink-2); }
.field-m2 input { width: 52px; font: 500 19px var(--serif); }
.field-m2 .unit { font-weight: 600; }
.field-q input { width: 170px; }
.field-q .ico { color: var(--ink-2); }
.result-line { margin: 10px 0 34px; color: var(--ink-2); }
.result-line b { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { .filters { position: static; } .filter-fields { width: 100%; } .field-q { flex: 1; } .field-q input { width: 100%; } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 52px 28px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr 1fr; gap: 34px 14px; } .tile-sub { display: none; } }

.empty { max-width: 560px; padding: 40px 0; }
.empty h2 { font-size: var(--t-2); font-weight: 400; margin-bottom: 16px; }
.empty p { color: var(--ink-2); margin-bottom: 24px; }

/* ---------- ficha de producto ---------- */
article.product { padding: 40px 0 var(--gap); background: var(--stone); color: var(--ink); }
.crumbs { display: flex; gap: 10px; font-size: var(--t-5); color: var(--ink-2); margin-bottom: 28px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.product-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.gallery { position: sticky; top: 100px; }
.gallery-main { aspect-ratio: 4 / 5; background: var(--stone-2); overflow: hidden; border-radius: var(--r); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumb { flex: none; width: 78px; height: 96px; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: var(--stone-2); cursor: pointer; opacity: .55; transition: opacity .2s; }
.thumb.on, .thumb:hover { opacity: 1; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.pinfo h1 { font-size: clamp(46px, 6vw, 92px); font-weight: 400; letter-spacing: -.03em; }
.psub { font-size: 20px; color: var(--ink-2); margin-top: 16px; }
.pfacts { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0; }
.pprice, .pcap { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; flex: 1 1 200px; border-radius: var(--r); background: #fff; }
.pfacts b { font: 500 var(--t-3)/1.1 var(--serif); }
.pfacts span { font-size: var(--t-5); color: var(--ink-2); }
.colors span { color: var(--ink-2); }
.pdesc { max-width: 60ch; }
.product .actions { margin: 30px 0 16px; }
.pstore { color: var(--ink-2); font-size: var(--t-5); max-width: 46ch; }
.pdetails { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); margin-top: var(--gap); }
.pdetails h2 { font-size: var(--t-2); font-weight: 400; margin-bottom: 26px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { color: var(--fire); margin-top: 4px; width: 18px; height: 18px; }
.specs { margin: 0; border-radius: var(--r); overflow: hidden; background: #fff; }
.specs div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 13px 18px; }
.specs div:nth-child(even) { background: #f7f6f4; }
.specs dt { color: var(--ink-2); }
.specs dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.related h2 { margin-bottom: 44px; }
@media (max-width: 860px) { .product-grid, .pdetails { grid-template-columns: 1fr; } .gallery { position: static; } }

/* estado inicial de lo que Motion anima al entrar (solo con JS y movimiento permitido) */
.js-motion [data-reveal], .js-motion [data-stagger] > *, .js-motion [data-rise] { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
