/* The taller top row (Claude, 21 Nov 2026). Loaded only while option chv2_row_tall is on and the page carries the offers row
   (inc/v2/v2-rowh.php adds body class rowh; never on the cart or the checkout, which keep today's thin bar). Every rule hangs on
   body.rowh; the row's own sheet (v2-bf.css, section 2) is not touched.
   1. the row: 36 px on a phone (was 28), 40 px from 900 px (was 32): 8 px more air. Words 13 / 14 px (were 12 / 13); icons, the
      three-vial mark, the white "Black Friday" pill, the gaps and the edge fades grow in step. The motion, the hold under a
      finger or the pointer and the loop are today's (v2-bf.js measures the row: the loop stays seamless at the same px/s).
   2. what stands under the row moves down by exactly those 8 px, and every first screen that is fitted to the screen gives the
      8 px back, so its foot stays where it is today: the homepage (--hx-off), the phone product page (--ph-top), the phone
      calculator (its Details row), the Wholesale ring on a phone, the affiliate page's dial. The sticky header and its scrolled
      state follow by themselves (the header is in the page's flow under the row; chrome.js reads the row's height). */

/* ---------- 1. the row ---------- */
body.rowh.bf26 .c3-root.hd3-strip.bf-row{height:40px;font-size:14px}
body.rowh.bf26 .bf-row .bf-m{gap:9px}
body.rowh.bf26 .bf-row .bf-i{width:16px;height:16px}
body.rowh.bf26 .bf-row .bf-mark--row{height:14px}
body.rowh.bf26 .bf-row .bf-pill{height:22px;margin-right:3px;padding:0 10px;font-size:10.5px}
/* a: the moving line */
body.rowh.bf26 .bf-row--a .bf-row__vp{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 44px,#000 calc(100% - 44px),transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 44px,#000 calc(100% - 44px),transparent 100%)}
body.rowh.bf26 .bf-row--a .bf-m{padding:0 28px}
/* c: three still pills (b, one message at a time, needs nothing more) */
body.rowh.bf26 .bf-row--c .bf-row__set{gap:10px}
body.rowh.bf26 .bf-row--c .bf-m{height:28px;padding:0 13px 0 11px;gap:8px}
body.rowh.bf26 .bf-row--c .bf-m--free,body.rowh.bf26 .bf-row--c .bf-m--bf{padding-left:4px}
body.rowh.bf26 .bf-row--c .bf-pill{height:20px}

@media (max-width:899px){
  body.rowh.bf26 .c3-root.hd3-strip.bf-row{height:36px;font-size:13px}
  body.rowh.bf26 .bf-row .bf-m{gap:8px}
  body.rowh.bf26 .bf-row .bf-i{width:15px;height:15px}
  body.rowh.bf26 .bf-row .bf-mark--row{height:13px}
  body.rowh.bf26 .bf-row .bf-pill{height:20px;margin-right:2px;padding:0 8px;font-size:10px}
  body.rowh.bf26 .bf-row--a .bf-row__vp{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,#000 24px,#000 calc(100% - 24px),transparent 100%)}
  body.rowh.bf26 .bf-row--a .bf-m{padding:0 20px}
  body.rowh.bf26 .bf-row--c .bf-row__set{gap:8px}
  body.rowh.bf26 .bf-row--c .bf-m{height:26px;padding:0 12px 0 10px;gap:7px}
  body.rowh.bf26 .bf-row--c .bf-m--free,body.rowh.bf26 .bf-row--c .bf-m--bf{padding-left:3px}
  body.rowh.bf26 .bf-row--c .bf-pill{height:19px}
}

/* ---------- 2. what stands under the row: the same 8 px more ---------- */
/* the homepage's first screen (v2-home.css): its height is the screen's less the row's (--hx-off: 32 px from 768 px, 28 px under
   it), never under a floor (620 / 600 / 560 px). Both 8 px less, so its foot stays exactly where it is today on every screen
   (the vial row gives the 8 px), also on the short ones where the floor holds (a 320 x 568 phone, Safari's 375 x 553) */
body.rowh .hx{--hx-off:40px;--hx-h:max(612px,calc(100vh - var(--hx-off)))}
@supports (height:100svh){body.rowh .hx{--hx-h:max(612px,calc(100svh - var(--hx-off)))}}
@media (min-width:768px) and (max-aspect-ratio:13/10){
  body.rowh .hx{--hx-h:clamp(592px,calc(320px + 40vw),calc(100vh - var(--hx-off)))}
}
@supports (height:100svh){@media (min-width:768px) and (max-aspect-ratio:13/10){body.rowh .hx{--hx-h:clamp(592px,calc(320px + 40vw),calc(100svh - var(--hx-off)))}}}
@media (min-width:768px) and (min-aspect-ratio:1301/1000){
  body.rowh .hx{--hx-h:max(612px,min(calc(100vh - var(--hx-off)),calc(320px + 40vw)))}
}
@supports (height:100svh){@media (min-width:768px) and (min-aspect-ratio:1301/1000){body.rowh .hx{--hx-h:max(612px,min(calc(100svh - var(--hx-off)),calc(320px + 40vw)))}}}
@media (max-width:767.98px){
  body.rowh .hx{--hx-off:36px;--hx-h:max(552px,calc(var(--c4vh,100vh) - var(--hx-off)))}
}
/* the phone product page: row + header (v2-ph-pdp.css: 88 = 28 + 60), so Add to cart stays where it is today */
@media (max-width:899.98px){
  body.rowh.chvp-pdp .c3-root.p3-page{--ph-top:96px}
}
/* the phone calculator (v2-calc4-1a.css): its first screen ends at the Details row; --a1-rest (everything on that screen but the
   answer's stage, row included, per mode and screen) is 8 px more, so the stage gives them and the Details row stays above the
   tab bar where it is today */
@media (max-width:899px){
  html:not(.no-js) body.rowh.chv2-c1s.chv2-c1a .c3-root.k3c-page .k3c1-stage{min-height:min(calc(100svh - var(--a1-rest,999px) - 8px),480px)}
}
/* the Wholesale ring (template-parts/hero-c3.php): its height is the screen's less its top (hero-c3.js measures it into
   --h3-top; until then 32 px): the right value from the first paint, so nothing changes when the script runs */
body.rowh .c3-root.h3{--h3-top:40px}
@media (max-width:899px){
  body.rowh .c3-root.h3{--h3-top:36px}
}
/* and on a phone its frame and controls are fitted to the screen (phone-bar.css, v2-fix2-fyd.css: --c4vh less the row, the
   header and the words): the ring is fitted to a screen 8 px shorter, so its controls end where they do today */
@media (max-width:899.98px){
  body.rowh{--rowh-vh:calc(var(--c4vh,100svh) - 8px)}
  body.rowh .c3-root.h3[data-h3]{--c4vh:var(--rowh-vh)}
}
/* the affiliate page's dial on a computer (affiliate.css: 104 = 32 + 72) */
@media (pointer:fine) and (min-width:900px){
  html.af-js body.rowh .af-dial{width:min(100%,max(400px,calc(100svh - 112px - 40px - 2 * clamp(24px,2.2vw,32px) - clamp(2.25rem,3.9vw,3.5rem) - 60px)))}
}
