/* Japanese, Traditional Chinese, Korean and Hebrew pages. Loaded after pickup.css (and after the checkout / legal
   styles) only on those pages, so the other 21 books are untouched.
   CJK text uses the reader's system font for its language (the lang attribute picks the right glyphs); Hebrew uses
   Heebo, self-hosted (OFL, shared/fonts/OFL-Heebo.txt), mapped onto the Inter / Outfit names so every rule keeps working. */
@font-face{font-family:Inter;font-weight:400;font-style:normal;font-display:swap;src:url(fonts/heebo-hebrew-400-normal.woff2) format('woff2');unicode-range:U+0590-05FF,U+FB1D-FB4F}
@font-face{font-family:Inter;font-weight:500;font-style:normal;font-display:swap;src:url(fonts/heebo-hebrew-400-normal.woff2) format('woff2');unicode-range:U+0590-05FF,U+FB1D-FB4F}
@font-face{font-family:Inter;font-weight:600;font-style:normal;font-display:swap;src:url(fonts/heebo-hebrew-600-normal.woff2) format('woff2');unicode-range:U+0590-05FF,U+FB1D-FB4F}
@font-face{font-family:Inter;font-weight:700;font-style:normal;font-display:swap;src:url(fonts/heebo-hebrew-700-normal.woff2) format('woff2');unicode-range:U+0590-05FF,U+FB1D-FB4F}
@font-face{font-family:Inter;font-weight:800;font-style:normal;font-display:swap;src:url(fonts/heebo-hebrew-800-normal.woff2) format('woff2');unicode-range:U+0590-05FF,U+FB1D-FB4F}
@font-face{font-family:Outfit;font-weight:500;font-style:normal;font-display:swap;src:url(fonts/heebo-hebrew-600-normal.woff2) format('woff2');unicode-range:U+0590-05FF,U+FB1D-FB4F}
@font-face{font-family:Outfit;font-weight:600;font-style:normal;font-display:swap;src:url(fonts/heebo-hebrew-700-normal.woff2) format('woff2');unicode-range:U+0590-05FF,U+FB1D-FB4F}
@font-face{font-family:Outfit;font-weight:700;font-style:normal;font-display:swap;src:url(fonts/heebo-hebrew-800-normal.woff2) format('woff2');unicode-range:U+0590-05FF,U+FB1D-FB4F}

/* ---- CJK: no Latin tracking, more line height, smaller display sizes (full-width glyphs), sensible line breaks ---- */
:lang(ja) h1,:lang(ja) h2,:lang(ja) h3,:lang(zh) h1,:lang(zh) h2,:lang(zh) h3,:lang(ko) h1,:lang(ko) h2,:lang(ko) h3{letter-spacing:0}
:lang(ja) h1,:lang(zh) h1,:lang(ko) h1{font-size:clamp(31px,6vw,60px);line-height:1.22}
:lang(ja) h2,:lang(zh) h2,:lang(ko) h2{font-size:clamp(26px,4.8vw,48px);line-height:1.28}
:lang(ja) h3,:lang(zh) h3,:lang(ko) h3{line-height:1.35}
:lang(ja) *,:lang(zh) *,:lang(ko) *{letter-spacing:0 !important}
:lang(ja) body,:lang(zh) body,:lang(ko) body{line-height:1.75}
:lang(ja) body{line-break:strict;overflow-wrap:anywhere}
:lang(ja) h1,:lang(ja) h2,:lang(ja) h3,:lang(ja) .l3,:lang(ja) .verdict,:lang(ja) .today,:lang(ja) summary,:lang(ja) .btn,:lang(ja) b{word-break:auto-phrase}
:lang(zh) body{overflow-wrap:anywhere}
:lang(ko) body{word-break:keep-all;overflow-wrap:break-word}
:lang(ja) .btn,:lang(zh) .btn,:lang(ko) .btn{font-size:17px;padding-left:22px;padding-right:22px}
:lang(ja) .offer .top h3,:lang(zh) .offer .top h3,:lang(ko) .offer .top h3{line-height:1.3}

/* ---- Hebrew: right to left. Diagrams (SVG necks, keyboards) and book pages stay left to right, as in the book. ---- */
[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] h3,[dir=rtl] *{letter-spacing:0 !important}
[dir=rtl] h1{line-height:1.12}[dir=rtl] h2{line-height:1.15}
[dir=rtl] .four li,[dir=rtl] .neck figcaption,[dir=rtl] .two,[dir=rtl] .m3,[dir=rtl] .offer,[dir=rtl] .cmp,[dir=rtl] .parts,[dir=rtl] .track,[dir=rtl] .six,[dir=rtl] .faq,[dir=rtl] .panel .col{text-align:right}
@media (min-width:601px){[dir=rtl] .panel .col{text-align:center}}
[dir=rtl] .offer .pay{text-align:center}
[dir=rtl] .hv .badge{right:auto;left:-8px;transform:rotate(-4deg)}
[dir=rtl] .swap .from i,[dir=rtl] .swap .to i{margin-right:0;margin-left:6px}
[dir=rtl] .gv .mark{right:auto;left:20px}
[dir=rtl] .cmp .r>div:first-child{border-right:0;border-left:1px solid var(--line)}
[dir=rtl] .mod .in{padding:0 76px 18px 18px}
[dir=rtl] .bonus .free{right:auto;left:14px}
[dir=rtl] .faq summary{padding:20px 22px 20px 54px}
[dir=rtl] .faq summary::after{right:auto;left:22px}
[dir=rtl] .sticky{padding:12px 18px 12px 12px}
[dir=rtl] .offer .value .save span:last-child{text-align:left}
[dir=rtl] svg{direction:ltr}
[dir=rtl] .neck svg,[dir=rtl] .gv svg{direction:ltr}
[dir=rtl] .book3d{transform:rotateY(22deg) rotateX(4deg)}
[dir=rtl] .book3d::before{left:auto;right:0;background:linear-gradient(270deg,rgba(255,255,255,.18),rgba(0,0,0,.35) 60%,rgba(255,255,255,.06));border-radius:0 2px 2px 0}
[dir=rtl] .book3d::after{right:auto;left:-14px;transform:rotateY(-70deg);transform-origin:right;border-radius:3px 0 0 3px}
@media (max-width:600px){
  [dir=rtl] .swap li{text-align:right}[dir=rtl] .swap .arrow{text-align:right;padding-left:0;padding-right:18px}
  [dir=rtl] .mod .in{padding:0 18px 18px 18px}
}
@media (min-width:860px){[dir=rtl] .sticky{right:auto;left:24px}}
[dir=rtl] .book3d img{border-radius:6px 2px 2px 6px!important}
[dir=rtl] .book3d .sh{box-shadow:-24px 30px 50px rgba(8,2,40,.55),-4px 6px 14px rgba(8,2,40,.4);border-radius:6px 2px 2px 6px}
/* headings: even line lengths instead of one orphaned word or character */
:lang(ja) h1,:lang(ja) h2,:lang(ja) .verdict,:lang(ja) .quote,:lang(zh) h1,:lang(zh) h2,:lang(zh) .verdict,:lang(zh) .quote,:lang(ko) h1,:lang(ko) h2,:lang(ko) .verdict,[dir=rtl] h1,[dir=rtl] h2,[dir=rtl] .verdict{text-wrap:balance}
/* checkout, thank-you and legal pages */
[dir=rtl] .prod-p,[dir=rtl] details.sum summary .tot{margin-left:0;margin-right:auto}
[dir=rtl] .sum-note{text-align:left}
[dir=rtl] input[type=email]{direction:ltr;text-align:right}
/* page B (v2.html, .psv): right-to-left */
[dir=rtl] .lzb .t{margin-left:0;margin-right:6px}
[dir=rtl] .psv .ad .b{border-left:0;border-right:1px solid var(--line)}
[dir=rtl] .psv .ad li{padding-left:0;padding-right:26px}
[dir=rtl] .psv .ad li:before{left:auto;right:0}
[dir=rtl] .psv .l26lb-x{right:auto;left:14px}
[dir=rtl] .psv .parte>h3{border-left:0;border-right:5px solid var(--gold);padding-left:0;padding-right:14px}
[dir=rtl] .psv .bono img{border-right:0;border-left:1px solid var(--line)}
[dir=rtl] .psv .caja .esc,[dir=rtl] .psv th{text-align:right}
@media (max-width:900px){[dir=rtl] .psv .ad .b{border-right:0}}
/* page B headings keep their own sizes (the rules above are sized for page A) */
:lang(ja) .psv h1,:lang(zh) .psv h1,:lang(ko) .psv h1{font-size:clamp(28px,5vw,52px);line-height:1.3}
:lang(ja) .psv h2,:lang(zh) .psv h2,:lang(ko) .psv h2{font-size:clamp(23px,3.6vw,36px);line-height:1.35}
/* one-click offer pages (body.up, upsell.css): the page-A heading sizes above are too large for the narrow offer column */
:lang(ja) .upwrap h1,:lang(zh) .upwrap h1,:lang(ko) .upwrap h1{font-size:clamp(23px,5vw,30px);line-height:1.38}
:lang(ja) .upwrap .ptitle,:lang(zh) .upwrap .ptitle,:lang(ko) .upwrap .ptitle{font-size:clamp(27px,6vw,36px);line-height:1.25}
[dir=rtl] .upwrap h1{line-height:1.22}
[dir=rtl] .ucard,[dir=rtl] .pitch{text-align:right}
