/* Standard Yoke catalogue — mobile first. Brand: Yoke Blue #0739BD, Ink #0F172A, Sky #2563EB, Snow #F8FAFC, Hairline #E2E8F0. */
:root {
  --blue: #0739BD; --ink: #0F172A; --sky: #2563EB; --snow: #F8FAFC; --line: #E2E8F0; --muted: #475569; --edge: #94A3B8; --chip: #CBD5E1;
  --green: #0F7B3E; --red: #C00000; --bg: #FFFFFF;
  --sans: Archivo, Arial, Helvetica, sans-serif; --display: 'Archivo Black', 'Arial Black', Archivo, sans-serif; --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--snow); color: var(--ink); font-family: var(--sans); -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; min-height: 100dvh; }
a { color: var(--sky); }
a:hover { color: var(--blue); }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
img { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#app { max-width: 640px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; background: var(--bg); display: flex; flex-direction: column; position: relative; }
@media (min-width: 700px) { #app { box-shadow: 0 0 0 1px var(--line); } }

.boot { flex: 1; background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; font-size: 14px; min-height: 100dvh; }
.boot img { width: 200px; height: auto; }

/* header + banners */
.top { position: sticky; top: 0; z-index: 5; }
.hdr { height: 64px; background: var(--blue); display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 14px; padding-top: env(safe-area-inset-top); box-sizing: content-box; }
.hdr .home { background: none; border: 0; padding: 0; display: flex; }
.hdr .home img { width: 128px; height: auto; }
.req-btn { height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 8px; background: #fff; color: var(--blue); border: 0; border-radius: 4px; font-weight: 800; font-size: 14px; }
.req-btn .n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--blue); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.band { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 40px; padding: 0 8px 0 16px; font-size: 12px; }
.band.retail { background: var(--snow); border-bottom: 1px solid var(--line); }
.band.acct { background: var(--ink); color: #fff; padding-right: 16px; }
.band .link { background: none; border: 0; color: var(--sky); font-weight: 700; font-size: 12px; height: 40px; padding: 0 8px; }
.band .who { font-family: var(--mono); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }

main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.pad { padding: 16px; }
.back { align-self: flex-start; height: 44px; padding: 0 8px; margin: 4px 8px 0; background: none; border: 0; color: var(--blue); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 4px; }
h1.big { margin: 0; font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; color: var(--blue); }
.sub { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.mono { font-family: var(--mono); }
.small { font-size: 12px; color: var(--muted); }

/* home */
.home-head { padding: 16px 16px 4px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.vat { display: flex; border: 1px solid var(--blue); border-radius: 4px; overflow: hidden; flex: none; }
.vat button { height: 36px; padding: 0 10px; border: 0; background: #fff; color: var(--blue); font-size: 12px; font-weight: 700; }
.vat button[aria-pressed="true"] { background: var(--blue); color: #fff; }
.search { padding: 12px 16px 8px; position: relative; }
.search svg { position: absolute; left: 28px; top: 25px; pointer-events: none; }
.search input { width: 100%; height: 44px; padding: 0 12px 0 40px; border: 1px solid var(--edge); border-radius: 4px; font-size: 16px; background: #fff; }
.chips { display: flex; gap: 8px; padding: 4px 16px 14px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--chip); background: #fff; font-size: 13px; font-weight: 500; }
.chip[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 16px 16px; }
@media (min-width: 560px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; color: var(--ink); }
.card:hover { border-color: var(--edge); }
.ph { height: 148px; width: 100%; padding: 8px; background: #fff; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--line); }
.ph img { max-width: 100%; max-height: 132px; object-fit: contain; }
.tile { height: 148px; width: 100%; background: var(--blue); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 12px; }
.tile b { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; overflow-wrap: anywhere; }
.tile i { font-style: normal; font-family: var(--mono); font-size: 10px; margin-top: 8px; text-transform: uppercase; }
.card .body { padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.card .t { font-size: 14px; font-weight: 700; line-height: 1.25; }
.card .s { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.card .pl { font-size: 11px; color: var(--muted); margin-top: 6px; }
.card .p { font-size: 17px; font-weight: 800; color: var(--blue); }
.foot { padding: 12px 16px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.foot a { font-size: 13px; font-weight: 700; }
.empty { margin: 0 16px 16px; font-size: 14px; }

/* product */
.photo { margin: 0 16px; height: min(260px, 34vh); flex: none; border: 1px solid var(--line); border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; position: relative; cursor: zoom-in; padding: 10px; width: calc(100% - 32px); }
.photo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.photo .zoomhint { position: absolute; right: 8px; bottom: 8px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 6px 8px; border-radius: 4px; display: flex; gap: 6px; align-items: center; }
.bigtile { margin: 0 16px; height: min(180px, 26vh); flex: none; background: var(--blue); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; border-radius: 6px; }
.bigtile b { font-family: var(--display); font-size: 40px; line-height: 1; font-weight: 900; }
.bigtile i { font-style: normal; font-family: var(--mono); font-size: 11px; margin-top: 10px; text-transform: uppercase; }
.thumbs { display: flex; gap: 8px; padding: 10px 16px 0; overflow-x: auto; }
.thumbs button { flex: none; width: 56px; height: 56px; padding: 4px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.thumbs button[aria-pressed="true"] { border: 2px solid var(--blue); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.ptitle { padding: 14px 16px 0; display: flex; flex-direction: column; gap: 6px; }
.ptitle h1 { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.2; }
.pick { padding: 14px 16px 0; }
.pick > span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.vars { display: flex; flex-wrap: wrap; gap: 8px; }
.vsel { width: 100%; height: 48px; padding: 0 12px; border: 2px solid var(--blue); border-radius: 4px; background: #fff; font-size: 16px; font-weight: 700; color: var(--ink); }
.pick label > span { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.var { min-height: 40px; padding: 0 14px; border-radius: 4px; border: 1px solid var(--chip); background: #fff; font-size: 14px; font-weight: 500; }
.var[aria-pressed="true"] { border: 2px solid var(--blue); color: var(--blue); font-weight: 800; }
.details { list-style: none; margin: 16px 16px 0; padding: 0; border-top: 1px solid var(--line); }
.details li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; display: flex; gap: 10px; align-items: center; }
.details li::before { content: ''; width: 6px; height: 6px; background: var(--blue); flex: none; }
.hint { margin: 12px 16px 0; font-size: 13px; color: var(--muted); }
.hint button { background: none; border: 0; padding: 0; color: var(--sky); font-weight: 700; font-size: 13px; text-decoration: underline; }
.spacer { flex: 1; min-height: 16px; }
.buy { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; padding-bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 10px; }
.buy .pr { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.buy .pr b { font-size: 21px; font-weight: 800; color: var(--blue); white-space: nowrap; }
.buy .pr span { font-size: 11px; color: var(--muted); }
.qty { display: flex; align-items: center; border: 1px solid var(--chip); border-radius: 4px; }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 20px; color: var(--blue); }
.qty input { width: 48px; height: 44px; border: 0; text-align: center; font-family: var(--mono); font-size: 15px; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.primary { height: 48px; padding: 0 16px; background: var(--blue); color: #fff; border: 0; border-radius: 4px; font-weight: 800; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.primary.wide { width: 100%; height: 52px; font-size: 16px; }
.secondary { height: 48px; width: 100%; background: #fff; color: var(--blue); border: 2px solid var(--blue); border-radius: 4px; font-weight: 800; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.toast { position: sticky; bottom: 76px; margin: 0 12px 8px; background: var(--ink); color: #fff; border-radius: 4px; padding: 0 4px 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; min-height: 44px; }
.toast button { height: 40px; padding: 0 10px; background: none; border: 0; color: #fff; font-weight: 800; font-size: 13px; text-decoration: underline; }

/* zoom */
.zoom { position: fixed; inset: 0; z-index: 20; background: var(--ink); display: flex; flex-direction: column; }
.zoom .zt { height: 56px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 4px 0 16px; color: #fff; font-size: 13px; font-weight: 700; padding-top: env(safe-area-inset-top); box-sizing: content-box; }
.zoom .zt button { width: 48px; height: 48px; background: none; border: 0; color: #fff; display: flex; align-items: center; justify-content: center; }
.zoom .stage { flex: 1; min-height: 0; background: #fff; overflow: auto; display: flex; align-items: center; justify-content: center; touch-action: pinch-zoom; }
.zoom .stage img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .2s ease; cursor: zoom-in; }
.zoom .stage.on img { transform: scale(2.2); cursor: zoom-out; }
.zoom .zb { height: 48px; flex: none; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; padding-bottom: env(safe-area-inset-bottom); box-sizing: content-box; }

/* request list + forms */
.lines { list-style: none; margin: 0; padding: 0 16px; }
.lines li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.lines .l { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lines .l b { font-size: 14px; }
.lines .r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.lines .r b { font-size: 15px; white-space: nowrap; }
.lines .rm { height: 32px; padding: 0; background: none; border: 0; color: var(--sky); font-size: 12px; font-weight: 700; }
.lines .qty button { width: 34px; height: 36px; font-size: 18px; }
.lines .qty input { width: 52px; height: 36px; font-size: 14px; }
.total { padding: 12px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.total b { font-size: 20px; font-weight: 800; color: var(--blue); white-space: nowrap; }
form.f { margin-top: 8px; padding: 16px; display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--blue); }
.f label.fl { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.f input[type=text], .f input[type=tel], .f textarea { height: 44px; padding: 0 12px; border: 1px solid var(--edge); border-radius: 4px; font-size: 16px; font-weight: 400; background: #fff; }
.f textarea { height: auto; padding: 10px 12px; resize: vertical; }
.f fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.f legend { font-size: 13px; font-weight: 700; padding: 0; margin-bottom: 4px; }
.f .opt { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 14px; font-weight: 400; }
.f .opt input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); flex: none; }
.f .consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.4; font-weight: 400; }
.f .consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--blue); }
.err { margin: 0; padding: 10px 12px; border-left: 4px solid var(--red); background: #FFF5F5; color: var(--red); font-size: 14px; font-weight: 700; }
.msg { padding: 32px 16px 24px; display: flex; flex-direction: column; gap: 14px; }
.msg p { margin: 0; font-size: 15px; line-height: 1.45; }
.dot { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--blue); }
.dot.ok { background: var(--green); }
.brandhead { background: var(--blue); padding: 40px 24px 28px; padding-top: calc(40px + env(safe-area-inset-top)); }
.brandhead img { width: 180px; height: auto; }
.privacy { padding: 0 16px 24px; font-size: 13px; line-height: 1.5; color: var(--muted); }
