/* OVELLE — Create your own (atelier3d.html). Uses the store tokens from style.css. */
.page-a3d { --hdrH: 110px; }
.page-a3d .hdr__nav a[aria-current="page"] { color: var(--ink); }

/* ---------------- builder ---------------- */
.bld { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, 440px); height: max(640px, calc(100svh - var(--hdrH))); border-bottom: 1px solid var(--line); }
.bld__stage { position: relative; min-width: 0; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 50% 46%, #f7f7f7 0%, #ededed 58%, #e2e2e2 100%); }
.a3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; opacity: 0; transition: opacity .9s var(--ease); outline: none; -webkit-tap-highlight-color: transparent; }
.a3d-canvas:active { cursor: grabbing; }
.a3d-canvas:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.bld__stage.is-live .a3d-canvas { opacity: 1; }
.bld__poster { position: absolute; left: 50%; top: 50%; height: 80%; width: auto; max-width: 90%; object-fit: contain; transform: translate(-50%, -50%); transition: opacity .9s var(--ease);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 60%, transparent 100%); }
.bld__stage.is-live .bld__poster { opacity: 0; pointer-events: none; }
.bld__fallback { display: none; position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: min(420px, calc(100% - 40px)); text-align: center; font-size: 15px; line-height: 22px; color: var(--mute); }
.bld__stage.is-fallback .bld__fallback { display: block; }
.bld__stage.is-fallback .bld__views, .bld__stage.is-fallback .bld__tools, .bld__stage.is-fallback .bld__hint { display: none; }

.bld__views { position: absolute; z-index: 2; top: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 4px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(20,20,20,.06); }
[dir="rtl"] .bld__views { transform: translateX(50%); left: auto; right: 50%; }
.bld__views button { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 0 14px; min-height: 36px; transition: color .35s var(--ease), background .35s var(--ease); white-space: nowrap; }
.bld__views button:hover { color: var(--ink); }
.bld__views button[aria-pressed="true"] { color: #fff; background: var(--ink); }
.bld__tools { position: absolute; z-index: 2; bottom: 18px; inset-inline-start: 18px; display: flex; gap: 6px; }
.bld__tool { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(20,20,20,.06); font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.bld__tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.bld__tool[aria-pressed="false"] { color: var(--mute); }
.bld__tool[aria-pressed="false"] svg { opacity: .5; }
.bld__hint { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.bld__stage.is-live .bld__hint { opacity: 1; }
.bld__stage.is-touched .bld__hint { opacity: 0; }

/* panel */
.bld__panel { min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #fff; border-inline-start: 1px solid var(--line); }
.bld__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 36px clamp(24px, 2.6vw, 40px) 40px; scrollbar-width: thin; }
.bld__foot { flex: none; height: 72px; display: flex; align-items: center; gap: 14px; padding: 0 clamp(24px, 2.6vw, 40px); border-top: 1px solid var(--line); background: #fff; }
.bld__foot-k { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.bld__foot-v { font-family: var(--sans); font-weight: 500; font-size: 17px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
[dir="rtl"] .bld__foot-k { letter-spacing: 0; font-size: 13px; }
.bld__head { padding-bottom: 26px; }
.bld__title { margin-top: 10px; font-family: var(--sans); font-weight: 500; text-transform: uppercase; font-size: clamp(20px, 1.7vw, 24px); letter-spacing: .14em; line-height: 1.3; }
.bld__lead { margin-top: 12px; font-size: 16px; line-height: 24px; color: #2a2a2a; }
.bld__tabs { display: none; }

.opt { border: 0; margin: 0; padding: 22px 0 24px; border-top: 1px solid var(--line); min-width: 0; }
.opt__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; width: 100%; padding: 0; margin-bottom: 16px; float: none; }
legend.opt__head { display: flex; float: left; width: 100%; }
legend.opt__head + * { clear: both; }
.opt__k { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.opt__k--sm { font-size: 11px; font-weight: 500; letter-spacing: .12em; }
.opt__v { font-size: 15px; color: var(--mute); text-align: end; font-variant-numeric: lining-nums; }
.opt__v--count { font-family: var(--sans); font-size: 11px; letter-spacing: .08em; }
.opt__sub { margin-top: 22px; }
.opt__note { margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--mute); }
.opt__see { margin-top: 14px; }
.opt__see:disabled { opacity: .35; pointer-events: none; }

.shapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.shapes button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px; border: 1px solid var(--line); background: #fff; transition: border-color .35s var(--ease), background .35s var(--ease); min-height: 44px; }
.shapes svg { width: 40px; height: 40px; fill: none; stroke: #8a8a8a; stroke-width: 1; transition: stroke .35s var(--ease); }
.shapes span { font-family: var(--sans); font-weight: 500; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); text-align: center; line-height: 1.3; }
.shapes button:hover { border-color: #bdbdbd; }
.shapes button[aria-checked="true"] { border-color: var(--ink); }
.shapes button[aria-checked="true"] svg { stroke: var(--ink); }
.shapes button[aria-checked="true"] span { color: var(--ink); }

.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.chips button { min-height: 46px; padding: 0 10px; border: 1px solid var(--line); font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); transition: border-color .35s var(--ease), color .35s var(--ease); }
.chips button:hover { border-color: #bdbdbd; color: var(--ink); }
.chips button[aria-checked="true"] { border-color: var(--ink); color: var(--ink); }

.metals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.metals button { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 14px; border: 1px solid var(--line); font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); text-align: start; transition: border-color .35s var(--ease), color .35s var(--ease); }
.metals button:hover { border-color: #bdbdbd; color: var(--ink); }
.metals button[aria-checked="true"] { border-color: var(--ink); color: var(--ink); }
.sw { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.sw--yellow { background: radial-gradient(circle at 34% 30%, #fff3cf 0%, #e7c06a 38%, #b98a2c 72%, #7a5716 100%); }
.sw--white { background: radial-gradient(circle at 34% 30%, #ffffff 0%, #e3e3e1 40%, #b5b5b2 74%, #7f7f7c 100%); }
.sw--rose { background: radial-gradient(circle at 34% 30%, #ffe6dc 0%, #e6a98f 40%, #b87459 74%, #7c4634 100%); }
.sw--platinum { background: radial-gradient(circle at 34% 30%, #f4f4f3 0%, #cfcecb 40%, #9b9a96 74%, #686763 100%); }

.range { direction: ltr; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; cursor: pointer; }
.range::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(to right, var(--ink) var(--p, 30%), #cfcfcf var(--p, 30%)); }
.range::-moz-range-track { height: 1px; background: #cfcfcf; }
.range::-moz-range-progress { height: 1px; background: var(--ink); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8.5px; border-radius: 50%; background: #fff; border: 1px solid var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); transition: transform .3s var(--ease); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid var(--ink); }
.range:active::-webkit-slider-thumb { transform: scale(1.18); }
.range:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.range__marks { display: flex; justify-content: space-between; margin-top: -6px; font-family: var(--sans); font-size: 10px; letter-spacing: .06em; color: #9a9a9a; direction: ltr; }

.field { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #d2d2d2; background: #fff; font: 400 17px var(--serif); color: var(--ink); border-radius: 0; transition: border-color .3s var(--ease); }
.field:focus { outline: none; border-color: var(--ink); }
textarea.field { padding: 12px 14px; min-height: 96px; resize: vertical; line-height: 1.45; }
select.field { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 36px; }
[dir="rtl"] select.field { background-position: 20px 21px, 15px 21px; }

/* summary */
.sum { margin-top: 4px; padding: 26px 0 0; border-top: 1px solid var(--ink); }
.sum__t { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.sum__list { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; margin: 16px 0 0; font-size: 15px; line-height: 21px; }
.sum__list dt { font-family: var(--sans); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.sum__list dd { margin: 0; text-align: end; }
.sum__list .num { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sum__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.sum__pk { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-inline-end: auto; }
.sum__pv { font-family: var(--sans); font-weight: 500; font-size: 22px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.sum__alt { flex-basis: 100%; text-align: end; font-size: 14px; color: var(--mute); }
.sum__note { margin-top: 10px; font-size: 13px; line-height: 19px; color: var(--mute); }
.sum__actions { display: grid; gap: 8px; margin-top: 22px; }
.sum__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sum__row .btn { padding: 0 10px; }

/* ---------------- the collection in 3D ---------------- */
.c3d { padding: clamp(80px, 9vw, 136px) var(--gutter) 0; }
.c3d__head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: clamp(32px, 3.6vw, 52px); }
.c3d__cap { margin-top: 12px; font-size: 16px; line-height: 24px; color: #1d1c1c; max-width: 34em; }
.c3d__scale { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.c3d__note { font-size: 14px; color: var(--mute); min-height: 20px; opacity: 0; transition: opacity .5s var(--ease); }
.c3d.is-scale .c3d__note { opacity: 1; }
.switch { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--sans); font-weight: 500; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.switch__track { position: relative; width: 38px; height: 22px; border-radius: 11px; background: #d4d4d4; transition: background .4s var(--ease); }
.switch__dot { position: absolute; top: 3px; inset-inline-start: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .4s var(--ease); }
.switch[aria-checked="true"] .switch__track { background: var(--ink); }
.switch[aria-checked="true"] .switch__dot { transform: translateX(16px); }
[dir="rtl"] .switch[aria-checked="true"] .switch__dot { transform: translateX(-16px); }

.c3d__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(12px, 1.6vw, 24px); max-width: 1320px; margin: 0 auto; padding: 0; list-style: none; }
.piece__stage { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: radial-gradient(ellipse 72% 62% at 50% 46%, #f6f6f6 0%, #ececec 60%, #e3e3e3 100%); }
.piece__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease); }
.piece__stage.is-live .piece__poster { opacity: 0; }
.piece__cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; opacity: 0; transition: opacity .9s var(--ease); touch-action: pan-y; outline: none; }
.piece__cv:active { cursor: grabbing; }
.piece__cv:focus-visible { box-shadow: inset 0 0 0 2px var(--ink); }
.piece__stage.is-live .piece__cv { opacity: 1; }
.piece__ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; direction: ltr; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); background: linear-gradient(to top, rgba(255,255,255,.7), rgba(255,255,255,0)); }
.c3d.is-scale .piece__ruler { opacity: 1; }
.piece__ruler i { position: absolute; bottom: 0; width: 1px; background: #555; transform: translateX(-.5px); }
.piece__ruler i.s { height: 5px; } .piece__ruler i.m { height: 8px; } .piece__ruler i.l { height: 12px; background: #141414; }
.piece__ruler b { position: absolute; bottom: 14px; transform: translateX(-50%); font: 500 9px var(--sans); letter-spacing: .04em; color: #333; }
.piece__ruler span { position: absolute; right: 6px; bottom: 14px; font: 500 9px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #333; }
.piece__info { padding-top: 18px; text-align: center; }
.piece__name { font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.piece__line { margin-top: 6px; font-size: 15px; line-height: 21px; color: #2a2a2a; }
.piece__price { margin-top: 4px; font-family: var(--sans); font-size: 12px; letter-spacing: .08em; color: var(--mute); }
.c3d__more { text-align: center; margin-top: clamp(40px, 4vw, 64px); }

/* ---------------- appointment ---------------- */
.appt { position: fixed; inset: 0; z-index: 9993; display: grid; place-items: center; padding: 24px; background: rgba(20,20,20,.42); opacity: 0; transition: opacity .4s var(--ease-t); }
.appt.is-open { opacity: 1; }
.appt[hidden] { display: none; }
.appt:not(.is-open) { pointer-events: none; }
.appt__card { position: relative; width: min(560px, 100%); max-height: calc(100svh - 48px); overflow-y: auto; overscroll-behavior: contain; background: #fff; padding: 40px clamp(22px, 4vw, 44px) 36px; transform: translateY(12px); transition: transform .5s var(--ease); }
.appt.is-open .appt__card { transform: none; }
.appt__x { position: absolute; top: 10px; inset-inline-end: 10px; width: 44px; height: 44px; display: grid; place-items: center; }
.appt__t { font-family: var(--sans); font-weight: 500; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.35; padding-inline-end: 36px; }
.appt__t:focus { outline: none; }
.appt__lead { margin-top: 10px; font-size: 16px; line-height: 23px; color: #2a2a2a; }
.appt form { display: grid; gap: 14px; margin-top: 22px; }
.appt__design { padding: 14px 16px; background: var(--soft); }
.appt__design p { margin-top: 4px; font-size: 15px; line-height: 21px; }
.fl { display: grid; gap: 6px; }
.fl > span { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.fl__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fl__err { font-style: normal; font-size: 13px; color: #9b1c1c; min-height: 0; }
.fl__err:empty { display: none; }
.field[aria-invalid="true"] { border-color: #9b1c1c; }
.appt__done .btn { margin-top: 24px; }
.a3d-lock, .a3d-lock body { overflow: hidden; }

/* ---------------- the summary sheet (print only) ---------------- */
.sheet { display: none; }
@media print {
  @page { size: A4; margin: 16mm; }
  body > *:not(.sheet) { display: none !important; }
  .sheet { display: block; color: #141414; font-family: var(--serif); }
  .sheet__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8mm; border-bottom: 1px solid #141414; }
  .sheet__head img { width: 46mm; height: auto; }
  .sheet__head p { font: 500 9pt var(--sans); letter-spacing: .16em; text-transform: uppercase; }
  .sheet__body { display: grid; grid-template-columns: 88mm 1fr; gap: 10mm; margin-top: 10mm; }
  .sheet__img { width: 88mm; height: auto; background: #ededed; }
  .sheet__t { font: 500 12pt var(--sans); letter-spacing: .16em; text-transform: uppercase; }
  .sheet__list { display: grid; grid-template-columns: auto 1fr; gap: 2.4mm 6mm; margin: 6mm 0 0; font-size: 11pt; }
  .sheet__list dt { font: 500 8pt var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #555; padding-top: 1mm; }
  .sheet__list dd { margin: 0; }
  .sheet__price { margin-top: 8mm; padding-top: 4mm; border-top: 1px solid #ccc; font: 500 11pt var(--sans); letter-spacing: .08em; text-transform: uppercase; }
  .sheet__price strong { font-size: 15pt; margin-inline-start: 4mm; }
  .sheet__note, .sheet__meta { margin-top: 3mm; font-size: 9.5pt; color: #444; }
  .sheet__url { word-break: break-all; direction: ltr; unicode-bidi: isolate; }
  .sheet__foot { margin-top: 14mm; padding-top: 4mm; border-top: 1px solid #ccc; font-size: 8.5pt; color: #666; }
  .lg-btn, .lg-panel, .lg-nudge { display: none !important; }
}

/* ---------------- tablet + mobile: the stage on top, the options in a sheet under it ---------------- */
@media (max-width: 999px) {
  .bld { display: flex; flex-direction: column; height: calc(100svh - var(--hdrH)); min-height: 560px; }
  .bld__stage { flex: 1 1 52%; min-height: 250px; }
  .bld__panel { flex: 0 0 auto; height: 48%; min-height: 320px; border-inline-start: 0; border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(0,0,0,.04); }
  .bld__scroll { padding: 0 var(--gutter) 28px; }
  .bld__foot { height: 64px; padding: 0 var(--gutter); }
  .bld__head { display: none; }
  .bld__tabs { display: flex; position: sticky; top: 0; z-index: 3; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); background: #fff; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; gap: 22px; }
  .bld__tabs::-webkit-scrollbar { display: none; }
  .bld__tabs button { position: relative; flex: none; min-height: 50px; font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
  .bld__tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--ink); transform: scaleX(0); transition: transform .45s var(--ease); }
  .bld__tabs button[aria-current="true"] { color: var(--ink); }
  .bld__tabs button[aria-current="true"]::after { transform: scaleX(1); }
  .opts .opt { display: none; border-top: 0; padding-top: 18px; }
  .opts .opt.is-tab { display: block; }
  .bld__views { top: 12px; }
  .bld__views button { padding: 0 10px; min-height: 34px; font-size: 10px; letter-spacing: .08em; }
  .bld__tools { bottom: 12px; inset-inline-start: 12px; }
  .bld__tool { min-height: 36px; padding: 0 11px; font-size: 10px; }
  .bld__hint { display: none; }
  .c3d__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 699px) {
  .bld__views { left: 12px; right: 12px; transform: none; justify-content: space-between; }
  [dir="rtl"] .bld__views { transform: none; left: 12px; right: 12px; }
  .bld__views button { flex: 1; padding: 0 4px; }
  .shapes button { padding: 10px 2px 8px; }
  .shapes svg { width: 34px; height: 34px; }
  .c3d { padding-left: 0; padding-right: 0; }
  .c3d__head { padding: 0 var(--gutter); }
  /* one column: a sideways drag turns the piece, an upward swipe scrolls the page */
  .c3d__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 0 var(--gutter); }
  .piece__stage { aspect-ratio: 1 / 1; }
  .fl__row { grid-template-columns: 1fr; }
  .appt { padding: 0; place-items: stretch; }
  .appt__card { width: 100%; max-height: 100svh; height: 100%; padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .a3d-canvas, .bld__poster, .piece__cv, .piece__poster, .appt, .appt__card, .switch__dot, .c3d__note { transition: none; }
}

/* Hebrew is never letter-spaced */
[dir="rtl"] .bld__title, [dir="rtl"] .bld__views button, [dir="rtl"] .bld__tool, [dir="rtl"] .opt__k, [dir="rtl"] .shapes span, [dir="rtl"] .chips button, [dir="rtl"] .metals button,
[dir="rtl"] .sum__t, [dir="rtl"] .sum__list dt, [dir="rtl"] .sum__pk, [dir="rtl"] .bld__tabs button, [dir="rtl"] .switch, [dir="rtl"] .appt__t, [dir="rtl"] .fl > span, [dir="rtl"] .bld__hint, [dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .bld__title { font-family: "Frank Ruhl Libre", var(--serif); font-weight: 500; font-size: clamp(24px, 2vw, 30px); }
html[lang="he"] :is(.bld__views button, .bld__tool, .shapes span, .chips button, .metals button, .bld__tabs button, .sum__list dt, .opt__k--sm, .fl > span) { font-size: 13px; }
html[lang="he"] :is(.opt__k, .sum__t, .sum__pk, .switch) { font-size: 14px; }

/* QA: in Hebrew the builder keeps its panel on the right, so the estimate stays clear of the "About this example" button in the left corner */
@media (min-width: 1000px) {
  [dir="rtl"] .bld { grid-template-columns: minmax(380px, 440px) minmax(0, 1fr); }
  [dir="rtl"] .bld__panel { order: -1; border-inline-start: 0; border-inline-end: 1px solid var(--line); }
}
