/* Bialetti Venezuela — "Detrás de la toma": un set de estudio donde cada paso del scroll es una toma. */
.cs-bialetti {
  --bz-bg: #EDE6DA;
  --bz-hi: #F8F4EC;
  --bz-floor: #E2D8C8;
  --bz-ink: #16120F;
  --bz-mute: #6B6157;
  --bz-red: #F30000;
  --bz-film: #15110E;
  --bz-orange: #E39A3B;
  background: var(--bz-bg);
  color: var(--bz-ink);
  font-family: var(--f);
}
.cs-bialetti .bz { position: relative; }
.cs-bialetti .bz__pin { position: relative; height: 100vh; min-height: 640px; overflow: hidden; background: var(--bz-bg); }

/* ---------- set de estudio ---------- */
.cs-bialetti .bz__set { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cs-bialetti .bz__sweep {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 34% 46% at 66% 56%, var(--bz-hi) 0%, rgba(248, 244, 236, 0) 70%),
    linear-gradient(180deg, rgba(226, 216, 200, 0) 62%, var(--bz-floor) 100%);
}
.cs-bialetti .bz__soft { position: absolute; }
.cs-bialetti .bz__soft::before { /* cuerpo del softbox */
  content: ""; position: absolute; inset: -4% 8% 18% 8%; background: linear-gradient(180deg, #2A2420, #14110F); clip-path: polygon(0 0, 100% 0, 78% 100%, 22% 100%); transform: translateY(-34%); z-index: -1; }
.cs-bialetti .bz__soft--b::before { inset: 8% 18% 8% 8%; clip-path: polygon(0 0, 100% 14%, 100% 86%, 0 100%); transform: translateX(46%); }
.cs-bialetti .bz__soft s { position: absolute; inset: 0; border: 12px solid #1C1815; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(22, 18, 15, .45); }
.cs-bialetti .bz__soft b {
  position: absolute; inset: 11px; border-radius: 2px;
  background: radial-gradient(ellipse at 50% 45%, #FFFFFF 0%, #FFFDF8 45%, #F1EADF 100%);
  box-shadow: 0 0 140px 60px rgba(255, 253, 248, .9), inset 0 0 40px rgba(232, 222, 205, .9);
}
.cs-bialetti .bz__soft b::after { /* rejilla del difusor */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(22, 18, 15, .05) 1px, transparent 1px) 0 0 / 20% 100%, linear-gradient(rgba(22, 18, 15, .05) 1px, transparent 1px) 0 0 / 100% 25%;
}
.cs-bialetti .bz__soft--a { left: 47%; top: -9vh; width: 19vw; height: 27vh; transform: rotate(13deg); }
.cs-bialetti .bz__soft--a::after { /* barra del soporte */
  content: ""; position: absolute; left: 50%; bottom: 100%; width: 6px; height: 30vh; background: #1C1815; transform: translateX(-50%);
}
.cs-bialetti .bz__soft--b { right: -6vw; top: 22vh; width: 11vw; height: 46vh; transform: rotate(-6deg); }
.cs-bialetti .bz__beam {
  position: absolute; left: 50%; top: 10vh; width: 34vw; height: 78vh;
  background: linear-gradient(160deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 70%);
  clip-path: polygon(8% 0, 52% 0, 100% 100%, 30% 100%);
  filter: blur(18px); opacity: .7;
}

/* ---------- moka ---------- */
.cs-bialetti .bz__moka {
  --mh: min(58vh, 520px);
  position: absolute; z-index: 3; left: 66%; bottom: 14vh;
  width: calc(var(--mh) * .898); height: var(--mh);
  transform: translateX(-50%); will-change: transform;
}
.cs-bialetti .bz__moka img { position: absolute; left: 0; width: 100%; height: auto; display: block; }
.cs-bialetti .bz__body { bottom: 0; }
.cs-bialetti .bz__lid { top: 0; transform-origin: 70% 90%; will-change: transform; }
.cs-bialetti .bz__shadow {
  position: absolute; left: -6%; right: 4%; bottom: -5%; height: 14%;
  background: radial-gradient(ellipse 50% 50% at 46% 50%, rgba(60, 44, 30, .22) 0%, rgba(60, 44, 30, 0) 100%);
}
.cs-bialetti .bz__shadow::after { /* sombra de contacto */
  content: ""; position: absolute; left: 18%; right: 26%; top: 32%; height: 34%;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(22, 18, 15, .5) 0%, rgba(22, 18, 15, 0) 100%);
}
.cs-bialetti .bz__glint, .cs-bialetti .bz__rim {
  position: absolute; left: 0; bottom: 0; width: 100%; aspect-ratio: 802 / 720; pointer-events: none;
  -webkit-mask: url(/static/case/bialetti/img/moka-body.webp) 0 0 / 100% 100% no-repeat; mask: url(/static/case/bialetti/img/moka-body.webp) 0 0 / 100% 100% no-repeat;
}
.cs-bialetti .bz__glint { /* reflejo del softbox que barre el metal */
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .7) 46%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, 0) 56%) 100% 0 / 300% 100% no-repeat;
  mix-blend-mode: screen;
}
.cs-bialetti .bz__rim { /* caída cálida de la luz en la base */
  background: linear-gradient(0deg, rgba(90, 64, 40, .16) 0%, rgba(90, 64, 40, 0) 30%);
}
.cs-bialetti .bz__glint { width: 63%; -webkit-mask-size: 158.7% 100%; mask-size: 158.7% 100%; } /* solo el cuerpo, no el asa */

/* ---------- granos ---------- */
.cs-bialetti .bz__beans { /* los granos nunca pasan por las lecturas del visor */
  position: absolute; inset: 130px 0 80px; z-index: 2; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.cs-bialetti .bz__bean { position: absolute; top: 0; left: var(--x); width: calc(130px * var(--s)); height: auto; transform: translateY(-20vh); filter: drop-shadow(0 8px 10px rgba(22, 18, 15, .25)); }

/* ---------- tomas ---------- */
.cs-bialetti .bz__take {
  position: absolute; inset: 0; z-index: 4;
  display: grid; grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); column-gap: 4vw; align-items: center;
  padding: 116px var(--gutter) 70px;
  pointer-events: none;
}
.cs-bialetti .bz__take:not(.bz__take--0) { opacity: 0; visibility: hidden; }
.cs-bialetti .bz__txt { grid-column: 1; max-width: 520px; pointer-events: auto; }
.cs-bialetti .bz__vis { grid-column: 2; height: 100%; min-height: 0; display: grid; place-items: center; position: relative; }
.cs-bialetti .bz__eye {
  margin: 0 0 22px; font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bz-mute);
}
.cs-bialetti .bz__eye span { display: inline-flex; align-items: center; gap: 10px; color: var(--bz-ink); }
.cs-bialetti .bz__eye span::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.cs-bialetti .bz__h2, .cs-bialetti .bz__h3 {
  margin: 0; font-family: var(--f); font-weight: 760; font-variation-settings: "wdth" 112; letter-spacing: -.042em; text-wrap: balance; color: var(--bz-ink);
}
.cs-bialetti .bz__h2, .cs-bialetti .bz__h3--big { font-size: clamp(52px, 6.4vw, 104px); line-height: .92; }
.cs-bialetti .bz__h3 { font-size: clamp(36px, 3.7vw, 60px); line-height: .98; }
.cs-bialetti .bz__h2 em, .cs-bialetti .bz__h3 em { font-style: normal; font-weight: 300; font-variation-settings: "wdth" 100; }
.cs-bialetti .bz__p { margin: 26px 0 0; max-width: 38ch; font-size: clamp(16px, 1.15vw, 18.5px); line-height: 1.6; color: #463E37; }
.cs-bialetti .bz__p--sm { font-size: 15px; color: var(--bz-mute); }
.cs-bialetti .bz__logo { display: block; width: clamp(170px, 15vw, 230px); height: auto; margin: 0 0 34px; }

/* toma 2 · tira de película */
.cs-bialetti .bz__take--2 .bz__vis {
  margin-right: calc(-1 * var(--gutter)); overflow: hidden; place-items: center start;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%); mask-image: linear-gradient(90deg, transparent 0, #000 9%);
}
.cs-bialetti .bz__strip {
  position: relative; background: var(--bz-film); padding: 46px 0; border-radius: 3px;
  box-shadow: 0 40px 80px -40px rgba(22, 18, 15, .6); will-change: transform; width: max-content;
}
.cs-bialetti .bz__strip::before, .cs-bialetti .bz__strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='12'%3E%3Crect x='7' y='0' width='13' height='12' rx='2.6' fill='%23EDE6DA'/%3E%3C/svg%3E") 0 0 / 28px 12px repeat-x;
}
.cs-bialetti .bz__strip::before { top: 11px; }
.cs-bialetti .bz__strip::after { bottom: 11px; }
.cs-bialetti .bz__film { display: flex; gap: 22px; padding: 0 30px; }
.cs-bialetti .bz__fr { position: relative; margin: 0; height: clamp(190px, 27vh, 260px); flex: none; }
.cs-bialetti .bz__fr::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 30px rgba(0, 0, 0, .18); pointer-events: none; }
.cs-bialetti .bz__fr img { display: block; height: 100%; width: auto; filter: sepia(.9) brightness(1.9) contrast(.45) blur(3px); }
.cs-bialetti .bz__fr figcaption { position: absolute; left: 0; top: calc(100% + 8px); font: 600 11px/1 var(--mono); letter-spacing: .1em; color: var(--bz-orange); }
.cs-bialetti .bz__fr figcaption span { font-size: 8px; }
.cs-bialetti .bz__stock { position: absolute; left: 36px; top: 27px; margin: 0; font: 600 11px/1 var(--mono); letter-spacing: .18em; color: var(--bz-orange); }
.cs-bialetti .bz__mark { position: absolute; left: 22%; top: 2%; width: 74%; height: 92%; overflow: visible; pointer-events: none; }
.cs-bialetti .bz__mark path { fill: none; stroke: var(--bz-red); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }

/* toma 3 · grilla */
.cs-bialetti .bz__phones { position: relative; width: min(100%, 540px); height: min(62vh, 600px); margin-top: -2vh; }
.cs-bialetti .bz__ph { position: absolute; margin: 0; aspect-ratio: 9 / 16; padding: 9px; background: #121010; border-radius: 40px; box-shadow: 0 50px 90px -40px rgba(22, 18, 15, .55); will-change: transform; }
.cs-bialetti .bz__ph--front { right: 4%; top: 0; height: 100%; }
.cs-bialetti .bz__ph--back { left: 2%; top: 9%; height: 84%; transform: rotate(-7deg); }
.cs-bialetti .bz__scr { position: relative; width: 100%; height: 100%; border-radius: 32px; overflow: hidden; background: #DCDCDC; }
.cs-bialetti .bz__scr img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-bialetti .bz__ph figcaption {
  position: absolute; left: 50%; bottom: -36px; transform: translateX(-50%); white-space: nowrap;
  font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bz-mute);
}
.cs-bialetti .bz__ph--front figcaption { color: var(--bz-ink); }
.cs-bialetti .bz__ph--back figcaption { bottom: auto; top: -34px; }
.cs-bialetti .bz__ph--front figcaption::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2E9E5B; margin-right: 8px; vertical-align: 1px; }
.cs-bialetti .bz__cells {
  position: absolute; left: 7.67%; right: 6.22%; top: 16.94%; bottom: 1.88%;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(5, 1fr); column-gap: .65%; row-gap: .4%;
}
.cs-bialetti .bz__cells i { background: #DAD6CF; border: 1px dashed rgba(22, 18, 15, .22); position: relative; }
.cs-bialetti .bz__cells i::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font: 300 18px/1 var(--mono); color: rgba(22, 18, 15, .35); }

/* toma 4 · edición */
.cs-bialetti .bz__ed {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: stretch;
  width: min(100%, 780px); padding: 18px; background: #16130F; border-radius: 20px; color: #CFC5B8;
  box-shadow: 0 50px 100px -40px rgba(22, 18, 15, .6); will-change: transform;
}
.cs-bialetti .bz__mon { position: relative; height: min(56vh, 500px); aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #000; }
.cs-bialetti .bz__mon img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 50% 40%; }
.cs-bialetti .bz__tc2 { position: absolute; left: 10px; bottom: 10px; padding: 6px 8px; border-radius: 5px; background: rgba(0, 0, 0, .55); font: 500 11.5px/1 var(--mono); color: #fff; letter-spacing: .06em; }
.cs-bialetti .bz__tl { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 4px 0 0; }
.cs-bialetti .bz__bar { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid #2B2520; margin-bottom: 6px; }
.cs-bialetti .bz__dots { display: flex; gap: 6px; }
.cs-bialetti .bz__dots i { width: 10px; height: 10px; border-radius: 50%; background: #3A322C; }
.cs-bialetti .bz__seq { margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #CFC5B8; }
.cs-bialetti .bz__fmt { margin-left: auto; font: 500 11px/1 var(--mono); color: #7C7165; letter-spacing: .06em; }
.cs-bialetti .bz__trans { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid #2B2520; margin-top: 6px; }
.cs-bialetti .bz__btn { width: 26px; height: 26px; border-radius: 50%; background: #2A241F; position: relative; }
.cs-bialetti .bz__btn::after { content: ""; position: absolute; inset: 0; margin: auto; width: 8px; height: 9px; background: #CFC5B8; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.cs-bialetti .bz__btn--prev::after { transform: scaleX(-1); width: 7px; height: 8px; }
.cs-bialetti .bz__btn--next::after { width: 7px; height: 8px; }
.cs-bialetti .bz__btn--play { width: 34px; height: 34px; background: #E9C48F; }
.cs-bialetti .bz__btn--play::after { background: #16130F; width: 10px; height: 12px; margin-left: 13px; }
.cs-bialetti .bz__tc3 { font: 600 15px/1 var(--mono); color: #F2EADF; letter-spacing: .06em; margin-left: 6px; }
.cs-bialetti .bz__zoom { margin-left: auto; width: 90px; height: 3px; border-radius: 2px; background: #2E2823; position: relative; }
.cs-bialetti .bz__zoom i { position: absolute; left: 0; top: 0; bottom: 0; width: 55%; background: #7C7165; border-radius: 2px; }
.cs-bialetti .bz__zoom i::after { content: ""; position: absolute; right: -6px; top: -4.5px; width: 12px; height: 12px; border-radius: 50%; background: #CFC5B8; }
.cs-bialetti .bz__ruler { height: 14px; margin-left: 44px; background: linear-gradient(90deg, #4A423A 1px, transparent 1px) 0 100% / 10% 100% no-repeat, repeating-linear-gradient(90deg, #4A423A 0 1px, transparent 1px 10%) 0 0 / 100% 14px, repeating-linear-gradient(90deg, #3A332D 0 1px, transparent 1px 2%) 0 8px / 100% 6px no-repeat; }
.cs-bialetti .bz__track { position: relative; flex: 1 1 0; min-height: 54px; border-radius: 8px; background: #211C18; }
.cs-bialetti .bz__track--v1 { flex-grow: 2.1; min-height: 92px; }
.cs-bialetti .bz__track--a1 { flex-grow: 1.2; min-height: 64px; }
.cs-bialetti .bz__track > b { position: absolute; left: 0; top: 0; bottom: 0; width: 38px; display: grid; place-items: center; font: 600 11px/1 var(--mono); color: #8F8476; border-right: 1px solid #2E2823; }
.cs-bialetti .bz__lbl { position: absolute; left: 50px; top: 7px; font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8A7F72; }
.cs-bialetti .bz__key { position: absolute; top: 62%; left: calc(44px + (100% - 52px) * var(--k)); width: 9px; height: 9px; background: #E9C48F; transform: translate(-50%, -50%) rotate(45deg); z-index: 1; }
.cs-bialetti .bz__ttl { position: absolute; top: 62%; height: 12px; left: calc(44px + (100% - 52px) * var(--a)); width: calc((100% - 52px) * (var(--b) - var(--a))); border-radius: 3px; background: #8C6A45; transform: translateY(-50%); }
.cs-bialetti .bz__clips { position: absolute; left: 44px; right: 8px; top: 23px; bottom: 7px; display: flex; gap: 3px; }
.cs-bialetti .bz__clip { flex: 1; border-radius: 4px; overflow: hidden; box-shadow: inset 0 0 0 2px #E9C48F33; }
.cs-bialetti .bz__clip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-bialetti .bz__wave { position: absolute; left: 44px; right: 8px; top: 21px; width: calc(100% - 52px); height: calc(100% - 27px); }
.cs-bialetti .bz__wave path { stroke: #7F7366; stroke-width: 2.4; fill: none; vector-effect: non-scaling-stroke; }
.cs-bialetti .bz__head { position: absolute; left: 44px; top: var(--ht, 60px); bottom: var(--hb, 60px); width: 2px; background: var(--bz-red); z-index: 2; will-change: transform; }
.cs-bialetti .bz__head::before { content: ""; position: absolute; left: 50%; top: -2px; width: 12px; height: 12px; background: var(--bz-red); transform: translateX(-50%); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }

/* ---------- visor de cámara ---------- */
.cs-bialetti .bz__vf { position: absolute; z-index: 6; inset: 92px calc(var(--gutter) - 14px) 24px; pointer-events: none; font: 500 12px/1 var(--mono); letter-spacing: .1em; color: rgba(22, 18, 15, .72); }
.cs-bialetti .bz__c { position: absolute; width: 26px; height: 26px; border: 0 solid rgba(22, 18, 15, .55); }
.cs-bialetti .bz__c--tl { left: 0; top: 0; border-width: 1.5px 0 0 1.5px; }
.cs-bialetti .bz__c--tr { right: 0; top: 0; border-width: 1.5px 1.5px 0 0; }
.cs-bialetti .bz__c--bl { left: 0; bottom: 0; border-width: 0 0 1.5px 1.5px; }
.cs-bialetti .bz__c--br { right: 0; bottom: 0; border-width: 0 1.5px 1.5px 0; }
.cs-bialetti .bz__rec, .cs-bialetti .bz__exp, .cs-bialetti .bz__tc, .cs-bialetti .bz__bat { position: absolute; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.cs-bialetti .bz__rec { left: 38px; top: 9px; }
.cs-bialetti .bz__rec em { width: 8px; height: 8px; border-radius: 50%; background: var(--bz-red); animation: bz-blink 1.2s steps(2, start) infinite; }
.cs-bialetti .bz__rec b { font-weight: 600; color: var(--bz-ink); }
.cs-bialetti .bz__exp { right: 38px; top: 9px; gap: 18px; }
.cs-bialetti .bz__tc { left: 38px; bottom: 9px; }
.cs-bialetti .bz__bat { right: 38px; bottom: 9px; }
.cs-bialetti .bz__bat i { width: 22px; height: 10px; border: 1.3px solid currentColor; border-radius: 2px; position: relative; background: linear-gradient(90deg, currentColor 0 70%, transparent 70%) 2px 50% / calc(100% - 4px) 4px no-repeat; }
.cs-bialetti .bz__bat i::after { content: ""; position: absolute; right: -4px; top: 2px; width: 2px; height: 4px; background: currentColor; }
.cs-bialetti .bz__cross { display: none; }
@keyframes bz-blink { to { visibility: hidden; } }

/* ---------- flash y obturador ---------- */
.cs-bialetti .bz__flash {
  position: absolute; inset: 0; z-index: 8; opacity: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 60% 38%, #FFFFFF 0%, rgba(255, 253, 248, .96) 28%, rgba(255, 250, 240, .55) 58%, rgba(255, 250, 240, 0) 100%);
}
.cs-bialetti .bz__iris { position: absolute; inset: 0; z-index: 7; width: 100%; height: 100%; pointer-events: none; visibility: hidden; }
.cs-bialetti .bz__iris path { fill: url(#bz-bl); stroke: rgba(255, 236, 210, .16); stroke-width: .4; stroke-linejoin: round; }

/* ---------- móvil y movimiento reducido: todo apilado y visible ---------- */
@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .cs-bialetti .bz__pin { height: auto; min-height: 0; overflow: visible; display: flex; flex-direction: column; gap: 72px; padding: 110px var(--gutter) 90px; }
  .cs-bialetti .bz__set, .cs-bialetti .bz__beans, .cs-bialetti .bz__vf, .cs-bialetti .bz__flash, .cs-bialetti .bz__iris { display: none; }
  .cs-bialetti .bz__take, .cs-bialetti .bz__take:not(.bz__take--0) { position: relative; inset: auto; padding: 0; opacity: 1; visibility: visible; grid-template-columns: minmax(0, 1fr); row-gap: 40px; order: 2; }
  .cs-bialetti .bz__take--0 { order: 0; }
  .cs-bialetti .bz__txt, .cs-bialetti .bz__vis { grid-column: 1; }
  .cs-bialetti .bz__moka { order: 1; position: relative; left: auto; bottom: auto; transform: none; --mh: min(92vw, 420px); margin: -20px auto 0; }
  .cs-bialetti .bz__take--2 .bz__vis { margin-right: 0; overflow-x: auto; -webkit-mask-image: none; mask-image: none; place-items: start; }
  .cs-bialetti .bz__fr img { filter: none; }
  .cs-bialetti .bz__mark path { stroke-dashoffset: 0; }
  .cs-bialetti .bz__cells { display: none; }
  .cs-bialetti .bz__phones { height: min(130vw, 600px); width: 100%; margin-bottom: 40px; }
  .cs-bialetti .bz__ed { grid-template-columns: minmax(0, 1fr); }
  .cs-bialetti .bz__fmt, .cs-bialetti .bz__zoom { display: none; }
  .cs-bialetti .bz__glint { display: none; }
  .cs-bialetti .bz__mon { height: auto; width: min(100%, 300px); margin: 0 auto; }
  .cs-bialetti .bz__h2, .cs-bialetti .bz__h3--big { font-size: clamp(46px, 12vw, 80px); }
}
@media (prefers-reduced-motion: reduce) and (min-width: 900px) {
  .cs-bialetti .bz__take, .cs-bialetti .bz__take:not(.bz__take--0) { grid-template-columns: minmax(0, 37fr) minmax(0, 63fr); column-gap: 4vw; }
  .cs-bialetti .bz__txt { grid-column: 1; }
  .cs-bialetti .bz__vis { grid-column: 2; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) { .cs-bialetti .bz__rec em { animation: none; } }

/* Reserva la altura del pin antes de que cargue GSAP: sin esto la sección mide 100vh al parsear
   y la galería de abajo entra en el margen de lazy-load y descarga ~1,4 MB que nadie ve todavía. */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  html.js .cs-bialetti:not(.bz-static) .bz { min-height: calc(max(100vh, 640px) + 700vh); }
}

/* ---------- móvil con movimiento: arriba el guion de cada toma, abajo el visor con la toma ---------- */
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  html.js .cs-bialetti:not(.bz-static) .bz { min-height: calc(max(100svh, 560px) + 520vh); }
  html.js .cs-bialetti:not(.bz-static) .bz__pin {
    --vt: clamp(318px, 47svh, 430px); /* arriba del visor: texto; debajo: la toma */
    --vb: 18px;
    height: 100svh; min-height: 560px; overflow: hidden; display: block; padding: 0; gap: 0;
  }
  html.js .cs-bialetti:not(.bz-static) .bz__beans { top: calc(var(--vt) + 34px) !important; bottom: calc(var(--vb) + 30px) !important; }
  html.js .cs-bialetti:not(.bz-static) .bz__set, html.js .cs-bialetti:not(.bz-static) .bz__vf,
  html.js .cs-bialetti:not(.bz-static) .bz__flash, html.js .cs-bialetti:not(.bz-static) .bz__iris { display: block; }
  html.js .cs-bialetti:not(.bz-static) .bz__soft { display: none; }
  html.js .cs-bialetti:not(.bz-static) .bz__sweep {
    background: radial-gradient(ellipse 80% 34% at 50% 72%, var(--bz-hi) 0%, rgba(248, 244, 236, 0) 72%), linear-gradient(180deg, rgba(226, 216, 200, 0) 70%, var(--bz-floor) 100%);
  }
  html.js .cs-bialetti:not(.bz-static) .bz__beam { left: 30%; top: calc(var(--vt) - 40px); width: 70vw; height: 60svh; opacity: .55; }
  html.js .cs-bialetti:not(.bz-static) .bz__beans { display: block; inset: var(--vt) var(--gutter) var(--vb); }
  html.js .cs-bialetti:not(.bz-static) .bz__bean:nth-child(n+4) { display: none; }
  html.js .cs-bialetti:not(.bz-static) .bz__bean:nth-child(1) { left: 12%; }
  html.js .cs-bialetti:not(.bz-static) .bz__bean:nth-child(2) { left: 82%; }
  html.js .cs-bialetti:not(.bz-static) .bz__bean:nth-child(3) { left: 70%; }

  /* visor: rodea solo la zona de la toma, nunca el texto */
  html.js .cs-bialetti:not(.bz-static) .bz__vf { inset: var(--vt) calc(var(--gutter) - 6px) var(--vb); font-size: 10px; }
  html.js .cs-bialetti:not(.bz-static) .bz__c { width: 18px; height: 18px; }
  html.js .cs-bialetti:not(.bz-static) .bz__rec { left: 12px; top: 10px; }
  html.js .cs-bialetti:not(.bz-static) .bz__exp { display: none; }
  html.js .cs-bialetti:not(.bz-static) .bz__tc { left: 12px; bottom: 10px; }
  html.js .cs-bialetti:not(.bz-static) .bz__bat { right: 12px; bottom: 10px; }

  /* moka dentro del visor */
  html.js .cs-bialetti:not(.bz-static) .bz__moka {
    --mh: min(calc((100svh - var(--vt) - var(--vb) - 60px) / 1.2), 360px);
    order: 0; position: absolute; left: 50%; bottom: calc(var(--vb) + 34px); margin: 0; transform: translateX(-50%);
  }
  html.js .cs-bialetti:not(.bz-static) .bz__glint { display: block; }

  /* tomas: capas superpuestas */
  html.js .cs-bialetti:not(.bz-static) .bz__take, html.js .cs-bialetti:not(.bz-static) .bz__take:not(.bz__take--0) { position: absolute; inset: 0; display: block; padding: 0; order: 0; }
  html.js .cs-bialetti:not(.bz-static) .bz__take:not(.bz__take--0) { opacity: 0; visibility: hidden; }
  html.js .cs-bialetti:not(.bz-static) .bz__txt { position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: var(--vt); max-width: 560px;
    display: flex; flex-direction: column; justify-content: center; padding: 92px 0 14px; }
  html.js .cs-bialetti:not(.bz-static) .bz__vis { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--vt) + 32px); bottom: calc(var(--vb) + 30px); height: auto; }
  html.js .cs-bialetti:not(.bz-static) .bz__eye { margin-bottom: 12px; font-size: 10.5px; }
  html.js .cs-bialetti:not(.bz-static) .bz__eye span::before { width: 20px; }
  html.js .cs-bialetti:not(.bz-static) .bz__h2, html.js .cs-bialetti:not(.bz-static) .bz__h3--big { font-size: min(12.4vw, 6.4svh, 64px); }
  html.js .cs-bialetti:not(.bz-static) .bz__h3 { font-size: min(9vw, 4.6svh, 46px); }
  html.js .cs-bialetti:not(.bz-static) .bz__p { margin-top: 12px; font-size: min(15px, 2.05svh); line-height: 1.5; max-width: 44ch; }
  html.js .cs-bialetti:not(.bz-static) .bz__p--sm { font-size: 13px; }
  html.js .cs-bialetti:not(.bz-static) .bz__logo { width: min(150px, 34vw); margin-bottom: 16px; }

  /* toma 2 · tira de película */
  html.js .cs-bialetti:not(.bz-static) .bz__take--2 .bz__vis { margin: 0 calc(-1 * var(--gutter) + 6px); overflow: hidden; display: grid; place-items: center start;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
  html.js .cs-bialetti:not(.bz-static) .bz__strip { padding: 32px 0 38px; }
  html.js .cs-bialetti:not(.bz-static) .bz__strip::before { top: 8px; }
  html.js .cs-bialetti:not(.bz-static) .bz__strip::after { bottom: 8px; }
  html.js .cs-bialetti:not(.bz-static) .bz__film { gap: 14px; padding: 0 22px; }
  html.js .cs-bialetti:not(.bz-static) .bz__fr { height: min(230px, calc(100svh - var(--vt) - var(--vb) - 166px)); }
  html.js .cs-bialetti:not(.bz-static) .bz__fr img { filter: none; will-change: transform, opacity; }
  html.js .cs-bialetti:not(.bz-static) .bz__fr figcaption { top: calc(100% + 6px); font-size: 10px; }
  html.js .cs-bialetti:not(.bz-static) .bz__stock { left: 26px; top: 14px; font-size: 9.5px; }
  html.js .cs-bialetti:not(.bz-static) .bz__mark path { stroke-dashoffset: 1; }

  /* toma 3 · grilla */
  html.js .cs-bialetti:not(.bz-static) .bz__take--3 .bz__vis { display: grid; place-items: center; }
  html.js .cs-bialetti:not(.bz-static) .bz__phones { width: min(100%, 360px); height: calc(100% - 22px); margin: 0 auto 22px; }
  html.js .cs-bialetti:not(.bz-static) .bz__ph { padding: 5px; border-radius: 24px; box-shadow: 0 30px 50px -26px rgba(22, 18, 15, .55); }
  html.js .cs-bialetti:not(.bz-static) .bz__scr { border-radius: 19px; }
  html.js .cs-bialetti:not(.bz-static) .bz__ph--front { right: 6%; }
  html.js .cs-bialetti:not(.bz-static) .bz__ph--back { left: 6%; top: 10%; height: 82%; }
  html.js .cs-bialetti:not(.bz-static) .bz__ph--back figcaption { display: none; }
  html.js .cs-bialetti:not(.bz-static) .bz__ph figcaption { bottom: -20px; font-size: 10px; }
  html.js .cs-bialetti:not(.bz-static) .bz__cells { display: grid; }
  html.js .cs-bialetti:not(.bz-static) .bz__cells i::after { font-size: 12px; }

  /* toma 4 · edición: monitor a la izquierda, línea de tiempo compacta */
  html.js .cs-bialetti:not(.bz-static) .bz__take--4 .bz__vis { display: grid; place-items: center; }
  html.js .cs-bialetti:not(.bz-static) .bz__ed { grid-template-columns: auto minmax(0, 1fr); gap: 10px; width: 100%; max-width: 620px; padding: 10px; border-radius: 14px; }
  html.js .cs-bialetti:not(.bz-static) .bz__mon { width: auto; height: min(calc(100svh - var(--vt) - var(--vb) - 104px), 300px); margin: 0; border-radius: 7px; }
  html.js .cs-bialetti:not(.bz-static) .bz__tc2 { left: 6px; bottom: 6px; padding: 4px 5px; font-size: 9px; }
  html.js .cs-bialetti:not(.bz-static) .bz__tl { gap: 6px; }
  html.js .cs-bialetti:not(.bz-static) .bz__bar { gap: 8px; padding-bottom: 8px; margin-bottom: 2px; }
  html.js .cs-bialetti:not(.bz-static) .bz__dots i { width: 7px; height: 7px; }
  html.js .cs-bialetti:not(.bz-static) .bz__seq { font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html.js .cs-bialetti:not(.bz-static) .bz__ruler { margin-left: 28px; height: 10px; }
  html.js .cs-bialetti:not(.bz-static) .bz__track { min-height: 30px; border-radius: 6px; }
  html.js .cs-bialetti:not(.bz-static) .bz__track--v1 { min-height: 50px; }
  html.js .cs-bialetti:not(.bz-static) .bz__track--a1 { min-height: 36px; }
  html.js .cs-bialetti:not(.bz-static) .bz__track > b { width: 24px; font-size: 9px; }
  html.js .cs-bialetti:not(.bz-static) .bz__lbl { display: none; }
  html.js .cs-bialetti:not(.bz-static) .bz__key { left: calc(28px + (100% - 34px) * var(--k)); width: 7px; height: 7px; top: 50%; }
  html.js .cs-bialetti:not(.bz-static) .bz__ttl { left: calc(28px + (100% - 34px) * var(--a)); width: calc((100% - 34px) * (var(--b) - var(--a))); top: 50%; height: 9px; }
  html.js .cs-bialetti:not(.bz-static) .bz__clips { left: 28px; right: 6px; top: 6px; bottom: 6px; gap: 2px; }
  html.js .cs-bialetti:not(.bz-static) .bz__wave { left: 28px; right: 6px; top: 6px; width: calc(100% - 34px); height: calc(100% - 12px); }
  html.js .cs-bialetti:not(.bz-static) .bz__trans { gap: 8px; padding-top: 8px; margin-top: 2px; }
  html.js .cs-bialetti:not(.bz-static) .bz__btn { width: 20px; height: 20px; }
  html.js .cs-bialetti:not(.bz-static) .bz__btn--play { width: 26px; height: 26px; }
  html.js .cs-bialetti:not(.bz-static) .bz__btn--play::after { margin-left: 9px; width: 8px; height: 10px; }
  html.js .cs-bialetti:not(.bz-static) .bz__tc3 { font-size: 11px; margin-left: 2px; }
  html.js .cs-bialetti:not(.bz-static) .bz__head { left: 28px; }
}
/* la barra fija de contacto del móvil (≤760px) ocupa ~80px abajo: el visor termina por encima */
@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  html.js .cs-bialetti:not(.bz-static) .bz__pin { --vb: 92px; --vt: clamp(300px, 45svh, 420px); }
}
