/* "Design it with us" in the Studio design language (same as the dashboard):
   warm ivory, beige surfaces, warm charcoal; Newsreader for headings/values/labels, Lato Light for reading text;
   small spaced capitals; soft radii; hairlines. Layered over site.css so behaviour is unchanged. */
:root {
  --bg: #fdfcfa; --panel: #ffffff; --ink: #1c1917; --ink-2: #4a433e; --muted: #8a817a; --line: #ebe5df;
  --l-surface: #f5f0eb; --l-surface-2: #efe8e2; --l-hair-2: #ddd4cc; --l-dark: #2e2925; --l-dark-2: #46403b;
  --wine: #2e2925;
  --wide: "Lato", "Helvetica Neue", Arial, sans-serif; --serif: "Newsreader", Georgia, serif;
}
html[dir="rtl"] { --wide: "Noto Naskh Arabic", "Lato", sans-serif; --serif: "Noto Naskh Arabic", "Newsreader", serif; }
* { font-stretch: normal !important; }
body { font-family: var(--wide); font-weight: 300; font-size: 13.5px; background: var(--bg); }
b, strong { font-weight: 700; }

/* labels: small spaced capitals in the serif */
.eyebrow, .lab, .lbl, .navrow a, .bar, .dim, .specs dt, .hint, .link, .card-bar, .house-lab, .a3-label, .a3-deg, .a3-auto, .a3-look, .a3-size {
  font-family: var(--serif); font-weight: 400; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
html[dir="rtl"] :is(.eyebrow, .lab, .lbl, .a3-label, .bar, .link) { letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.a3-label { color: var(--ink-2); }
.dim, .specs dt { color: var(--muted); }

/* floating panels and controls: soft, rounded, quiet */
.panel { border-radius: 12px; box-shadow: 0 1px 0 rgba(28, 25, 23, .03), 0 10px 30px -18px rgba(28, 25, 23, .25); }
.btn { height: 40px; padding: 0 18px; border-radius: 8px; border: 1px solid var(--l-hair-2); background: #fff; font-family: var(--serif); font-size: 11.5px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
.btn:hover { border-color: var(--l-dark); }
.btn.primary, .btn.dark { background: var(--l-dark); border-color: var(--l-dark); color: #fff; }
.btn.primary:hover, .btn.dark:hover { background: var(--l-dark-2); }
.btn.wide { height: 50px; font-size: 12.5px; }
.chip, .a3-chip { border-radius: 999px; border: 1px solid var(--l-hair-2); background: #fff; font-family: var(--serif); font-size: 13.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
.a3-chip:hover { border-color: var(--l-dark); }
.a3-chip.is-on, .chip.is-on { background: var(--l-dark); border-color: var(--l-dark); color: #fff; }
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), textarea, select { border-radius: 8px; border-color: var(--l-hair-2); font-family: var(--wide); }
input[type=range] { accent-color: var(--l-dark); }

/* the stage */
.a3-stage { background: radial-gradient(ellipse 70% 60% at 50% 42%, #fff 0%, #f8f4ef 55%, #efe8e2 100%); }
.a3-title { padding: 14px 18px; }
.a3-title h1 { font-family: var(--serif); font-style: normal; font-weight: 400; font-size: 30px; letter-spacing: -.015em; }
.a3-views button, .a3-mode button { font-family: var(--serif); font-weight: 400; letter-spacing: .16em; border-radius: 6px; }
.a3-mode button.is-on, .a3-views button.is-on { background: var(--l-dark); color: #fff; }
.a3-zoom input[type=range] { background: linear-gradient(0deg, var(--l-dark) var(--p, 26%), var(--l-hair-2) var(--p, 26%)); }
.a3-zoom input[type=range]::-webkit-slider-thumb { border-color: var(--l-dark); }
.a3-bottom b#price, .a3-bottom #price { font-family: var(--serif); font-weight: 400; font-size: 22px; letter-spacing: -.01em; }
.a3-lead { color: var(--muted); }

/* the side panel */
.a3-panel { background: #fff; border-inline-start: 1px solid var(--line); }
.a3-tabs { background: #fff; }
.a3-tabs button { font-family: var(--serif); font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.a3-tabs button.is-on { color: var(--ink); font-weight: 500; }
.a3-tabbar { background: var(--l-dark); }
.a3-group { border-bottom-color: var(--line); }
.a3-note { font-family: var(--wide); color: var(--muted); }
.a3-dot.is-on { outline-color: var(--l-dark); }
.a3-mval { border-color: var(--l-hair-2); background: #fff; font-family: var(--serif); }
.a3-size { background: var(--l-dark); border-radius: 999px; }
.a3-est { background: var(--l-surface); color: var(--ink-2); border-radius: 999px; }
.a3-upload { border-color: var(--l-hair-2); border-radius: 12px; background: #fdfbf8; }
.a3-upbtn { background: var(--l-surface); border-radius: 999px; font-family: var(--serif); font-weight: 400; }
.a3-look img, .a3-look svg { border-radius: 8px; }

/* interactive sketch: callouts and the floating tray in the same language */
.sk-co-b { fill: rgba(255, 255, 255, .95); stroke: var(--l-hair-2); }
.sk-co-t { font-family: Newsreader, Georgia, serif !important; font-weight: 400; letter-spacing: .14em; fill: var(--ink); }
.sk-co:hover .sk-co-b, .sk-co.is-sel .sk-co-b { fill: var(--l-dark); stroke: var(--l-dark); }
.sk-co-d { stroke: var(--l-dark); } .sk-co.is-sel .sk-co-d, .sk-co:hover .sk-co-d { fill: var(--l-dark); }
.sk-piece { border-radius: 14px; background: rgba(255, 255, 255, .75); }
.sk-piece em, .sk-tray-t, .sk-pop-h b { font-family: var(--serif); font-weight: 400; letter-spacing: .16em; }
.sk-pop { border-radius: 12px; }
.sk-off { border-radius: 8px; border-color: var(--l-dark); font-family: var(--serif); font-weight: 400; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; }
.sk-off:hover { background: var(--l-dark); }
.sk-hint { font-family: var(--wide); }

/* top bar */
.topbar, header.top { background: transparent; }
.logo { font-style: normal; display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; }
.brandbar { padding-block: 10px; }
.a3-mode { inset-block-start: calc(var(--gut) + 172px); border-radius: 10px; }
html.embed .a3-mode { inset-block-start: calc(var(--gut) + 104px); }
.a3-mhead b, .a3-mtop b { font-family: var(--serif); font-weight: 500; font-size: 15px; }

/* look cards: names wrap between words only (never "ZAMALE / K") */
.a3-panel .a3-looks { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
.a3-panel .a3-look span { overflow-wrap: normal; word-break: normal; hyphens: none; font-size: 10.5px; letter-spacing: .08em; line-height: 1.4; }
