/* Topang, template Distributor Alat Kesehatan (Rakitdata.com)
   Arah: katalog teknis medis. Lembar data, tabel spesifikasi, gambar kerja dengan garis ukuran.
   Motif: garis ukuran (garis + coretan ujung), tanda silang merah kecil di titik ukur, kode REF dalam kotak simbol.
   Bentuk: radius 4px, garis 1px abu baja, tanpa bayangan. Alasan tiap keputusan ada di DESIGN.md. */

@font-face { font-family: "Chivo"; src: url("../fonts/chivo-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Chivo Mono"; src: url("../fonts/chivo-mono-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  /* dasar */
  --bg: #F6F8FA;        /* putih dingin */
  --sheet: #FFFFFF;     /* lembar katalog */
  --ink: #1C2128;       /* grafit: 15,2:1 di atas --bg */
  --ink-2: #3B4450;     /* 9,3:1 */
  --muted: #56606C;     /* 6,0:1 di atas --bg, 4,9:1 di atas --steel */
  --steel: #DDE2E8;     /* abu baja: garis dalam lembar */
  --steel-2: #EEF1F4;   /* pita kepala tabel, hover */
  --frame: #BCC4CE;     /* garis tepi lembar di atas --bg */
  --field: #737D89;     /* tepi isian, 4,2:1 di atas putih */

  /* aksen tunggal: merah medis, hemat */
  --red: #D3222A;       /* 4,9:1 di atas --bg, putih di atasnya 5,2:1 */
  --red-soft: #FBECEC;  /* --red di atasnya 4,5:1 */

  --sans: "Chivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "Chivo Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --r: 4px;
  --gut: clamp(16px, 4vw, 40px);
  --util-h: 36px;
  --bar-h: 64px;
}
@media (max-width: 900px), (pointer: coarse) { :root { --util-h: 44px; } }
@media (max-width: 900px) { :root { --bar-h: 58px; } }

/* ---------- dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -0.022em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
table { border-collapse: collapse; width: 100%; }
small { font-size: .86em; }
[hidden] { display: none !important; }

a[href], button:not(:disabled), summary, select:not(:disabled), label[for], label:has(> input:not(:disabled)), input[type="radio"]:not(:disabled), input[type="checkbox"]:not(:disabled) { cursor: pointer; }
:disabled, [aria-disabled="true"] { cursor: not-allowed; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.util :focus-visible { outline-color: #FFFFFF; outline-offset: -3px; }

.sr { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* label kolom di dalam sel: tersembunyi di desktop (kepala tabel tampil), terlihat di HP */
.lbl { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }
.r { text-align: right; }

.skip { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 10px 14px; border-radius: var(--r); background: var(--ink); color: #FFFFFF; }
.skip:focus { top: 12px; color: #FFFFFF; }

/* ---------- tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: var(--r); font: 600 .98rem/1.2 var(--sans); text-decoration: none; text-align: center; transition: background-color .15s, color .15s, border-color .15s; }
.btn--sm { min-height: 44px; padding: 8px 14px; font-size: .92rem; }
.btn--main { background: var(--ink); color: #FFFFFF; }
.btn--main:hover { background: var(--ink-2); color: #FFFFFF; }
.btn--main:active { background: #000000; }
.btn--line { background: var(--sheet); border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--steel-2); }
.btn--line:active { background: var(--steel); }
.btn--text { background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.btn--text:hover { background: var(--steel-2); }
.btn:disabled { background: var(--steel-2); border-color: var(--steel); color: var(--muted); }
.btn.is-added { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- kode & simbol kemasan ---------- */
/* REF dan LOT di dalam kotak, seperti simbol pada kemasan alat kesehatan; kode SKU selalu Chivo Mono. */
.sym { display: inline-grid; place-items: center; min-width: 2.7em; margin-right: 6px; padding: 0 4px; border: 1px solid currentColor; border-radius: 2px; font: 600 .64rem/1.5 var(--mono); letter-spacing: .02em; vertical-align: .1em; }
.sym-ed { width: 14px; height: 14px; margin-right: 5px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; vertical-align: -2px; }
.ref { font: 600 .84rem/1.4 var(--mono); color: var(--ink); }
.code { font: 600 .84rem/1.4 var(--mono); }
.contoh { display: inline-block; margin-left: 6px; padding: 0 5px; border: 1px dashed var(--field); border-radius: 2px; font: 500 .68rem/1.6 var(--mono); color: var(--muted); vertical-align: .1em; }
.codes { display: flex; flex-wrap: wrap; gap: 6px 14px; font: 500 .8rem/1.5 var(--mono); }
.codes > span { white-space: nowrap; }

/* ---------- stok: teks + kotak isi penuh / setengah / kosong ---------- */
.stok { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 600; color: var(--ink); }
.stok::before { content: ""; flex: none; width: 9px; height: 9px; border: 1.5px solid currentColor; }
.stok--ok::before { background: currentColor; }
.stok--low::before { background: linear-gradient(currentColor, currentColor) bottom / 100% 50% no-repeat; }
.stok--inden { color: var(--red); }

/* ---------- header: bar utilitas + bar kategori ---------- */
/* top negatif: bar utilitas tergulung keluar layar, bar kategori tetap menempel */
.header { position: sticky; top: calc(var(--util-h) * -1); z-index: 50; }
.util { height: var(--util-h); background: var(--ink); color: #DDE2E8; font-size: .82rem; }
.util__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.util p { display: flex; align-items: center; gap: 22px; min-width: 0; white-space: nowrap; }
.util__lbl { margin-right: 4px; font: 500 .7rem/1 var(--mono); color: #AEB7C2; }
.util a { display: inline-flex; align-items: center; min-height: var(--util-h); color: #FFFFFF; text-decoration: none; }
.util a:hover { text-decoration: underline; text-underline-offset: 3px; }

.bar { background: var(--sheet); border-bottom: 1px solid var(--frame); }
.bar__in { position: relative; display: flex; align-items: stretch; gap: 28px; height: var(--bar-h); }
.wordmark { align-self: center; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 800 1.42rem/1 var(--sans); letter-spacing: -0.035em; color: var(--ink); text-decoration: none; }
.wordmark__sub, .po__from span, .tb__brand span { padding: 2px 5px; border: 1px solid currentColor; border-radius: 2px; font: 600 .64rem/1.2 var(--mono); letter-spacing: .02em; }
.nav { display: flex; }
.nav a { position: relative; display: flex; align-items: center; padding: 0 18px; border-left: 1px solid var(--steel); font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; }
.nav a:last-child { border-right: 1px solid var(--steel); }
.nav a:hover { background: var(--steel-2); }
.nav a:focus-visible { outline-offset: -3px; }
.nav a[aria-current]::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 3px; background: var(--red); }
.header__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.count { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding: 0 6px; border-radius: 2px; background: #FFFFFF; color: var(--ink); font: 600 .8rem/1 var(--mono); }
.menu-btn { display: none; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--sheet); font-weight: 600; }
.menu-btn:hover { background: var(--steel-2); }
.menu-btn[aria-expanded="true"] { background: var(--ink); color: #FFFFFF; }

/* ---------- hero: lembar gambar produk ---------- */
.hero { padding: clamp(28px, 4.5vw, 56px) 0 clamp(56px, 7vw, 88px); }
/* kicker = judul lembar gambar, garis tipis memanjang sampai tepi */
.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font: 500 .8rem/1.5 var(--mono); color: var(--ink-2); }
.kicker::after { content: ""; flex: 1 1 40px; height: 1px; background: var(--frame); }
.hero h1 { font-size: clamp(2.1rem, 4.7vw, 3.8rem); line-height: 1.1; letter-spacing: -0.03em; }
.h1-line { display: block; }
/* frasa yang diukur: garis ukur merah dengan coretan di kedua ujung */
.dimtext { padding-bottom: .12em; background:
    linear-gradient(var(--red), var(--red)) 0 calc(100% - .1em) / 100% 2px no-repeat,
    linear-gradient(var(--red), var(--red)) 0 100% / 2px .3em no-repeat,
    linear-gradient(var(--red), var(--red)) 100% 100% / 2px .3em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero__sub { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 56px; align-items: end; margin-top: 26px; }
.lead { max-width: 60ch; font-size: clamp(1.05rem, 1.3vw, 1.15rem); color: var(--ink-2); }
/* dua alat di halaman ini, ditulis seperti daftar isi katalog */
.jump { background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.jump li + li { border-top: 1px solid var(--steel); }
.jump a { display: grid; grid-template-columns: 88px minmax(0, 1fr) 20px; align-items: center; gap: 12px; min-height: 54px; padding: 8px 16px; font-weight: 600; color: var(--ink); text-decoration: none; }
.jump a:hover { background: var(--steel-2); }
.jump a:hover .jump__t { text-decoration: underline; text-underline-offset: 4px; }
.jump__lbl { font: 500 .72rem/1.3 var(--mono); color: var(--muted); }

.sheet { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "plate spec" "plate strip" "tb tb"; margin-top: clamp(28px, 4vw, 44px); background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.plate { grid-area: plate; display: flex; flex-direction: column; min-width: 0; padding: 20px; }
/* potongan atas foto yang kosong dibuang (viewBox anotasi ikut: 0 220 1400 865) */
.plate__img { position: relative; aspect-ratio: 1400 / 865; border: 1px solid var(--steel); }
.plate__img picture { position: absolute; inset: 0; display: block; }
.plate__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; filter: grayscale(1) contrast(1.03); }
.anno { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.anno--sm { display: none; }
.anno path { fill: none; vector-effect: non-scaling-stroke; }
.anno__lead { stroke: var(--ink); stroke-width: 1; }
.anno__ext { stroke: var(--field); stroke-width: 1; }
.anno__dim { stroke: var(--ink); stroke-width: 1.25; }
.anno__x { stroke: var(--red); stroke-width: 2; }
/* nomor balon anotasi: lingkaran bernomor seperti daftar bagian pada gambar kerja */
.ball { position: absolute; left: var(--x); top: var(--y); z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; transform: translate(-50%, -50%); border: 1px solid var(--ink); border-radius: 50%; background: #FFFFFF; font: 600 .74rem/1 var(--mono); color: var(--ink); }
.ball__t { position: absolute; left: calc(100% + 6px); top: 50%; display: none; padding: 2px 5px; transform: translateY(-50%); background: #FFFFFF; font: 600 .86rem/1.3 var(--sans); white-space: nowrap; }
.ball__t b { font: 600 .84rem var(--mono); }
.plate__cap { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 10px 24px; margin-top: 12px; }
.plate__view { font: 500 .74rem/1.5 var(--mono); color: var(--muted); }
.legend { display: grid; gap: 6px; counter-reset: bagian; }
.legend li { display: flex; align-items: center; gap: 8px; font-size: .9rem; counter-increment: bagian; }
.legend li::before { content: counter(bagian); display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1px solid var(--ink); border-radius: 50%; font: 600 .7rem/1 var(--mono); }

.spec { min-width: 0; padding: 20px 22px; border-left: 1px solid var(--steel); }
.spec--kursi { grid-area: spec; }
.spec--strip { grid-area: strip; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; border-top: 1px solid var(--steel); }
.spec__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.spec__name { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.spec__dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--steel); }
.spec__dl dt { font-size: .92rem; color: var(--muted); }
.spec__dl dd { font: 500 .98rem var(--mono); }
.spec__izin { padding-top: 10px; font: 500 .78rem var(--mono); color: var(--ink-2); }
.spec__ph img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 54% 68%; border: 1px solid var(--steel); border-radius: var(--r); filter: grayscale(1) contrast(1.04); }
.spec__body .spec__name { margin-bottom: 6px; }
.spec__fit { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--steel); font-size: .92rem; }

/* blok judul gambar: tiga fakta di sel bergaris */
.tblock { grid-area: tb; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--frame); }
.tblock li { padding: 12px 20px 14px; font-size: .95rem; line-height: 1.4; color: var(--ink-2); }
.tblock li + li { border-left: 1px solid var(--steel); }
.tblock b { display: block; margin-bottom: 3px; font: 500 .72rem/1.3 var(--mono); color: var(--muted); }

/* ---------- bab: garis tipis dengan coretan ujung, seperti garis ukur selebar halaman ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.shead, .gula__head, .grosir__top { position: relative; margin-bottom: clamp(24px, 3.5vw, 40px); padding-top: 18px; border-top: 1px solid var(--ink); }
.shead::before, .shead::after, .gula__head::before, .gula__head::after, .grosir__top::before, .grosir__top::after { content: ""; position: absolute; top: -6px; width: 1px; height: 11px; background: var(--ink); }
.shead::before, .gula__head::before, .grosir__top::before { left: 0; }
.shead::after, .gula__head::after, .grosir__top::after { right: 0; }
.shead { display: grid; gap: 12px; }
.shead h2 { max-width: 26ch; }
.shead p { max-width: 64ch; font-size: 1.05rem; color: var(--ink-2); }
.gula__head .shead, .grosir__top .shead { margin: 0; padding: 0; border: 0; }
.gula__head .shead::before, .gula__head .shead::after, .grosir__top .shead::before, .grosir__top .shead::after { content: none; }
.state { padding: 22px 20px; color: var(--muted); }
.state.is-err { color: var(--red); font-weight: 600; }
.state a { color: inherit; }
.tlabel { margin-bottom: 6px; font: 500 .74rem/1.4 var(--mono); color: var(--muted); }

/* ---------- isian ---------- */
.field { display: grid; gap: 5px; align-content: start; }
.field label { font-weight: 600; font-size: .94rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 9px 11px; border: 1px solid var(--field); border-radius: var(--r); background: var(--sheet); font-size: 1rem; }
.field textarea { min-height: 92px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 1px; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--red); background: #FFFAFA; }
.field__hint { font-size: .86rem; color: var(--muted); }
.field__err { font-size: .88rem; font-weight: 600; color: var(--red); }
.field__err:empty { display: none; }
input[type="number"] { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* pilihan bersegmen: kotak 4px, terpilih = grafit penuh */
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg legend { width: 100%; margin-bottom: 8px; font-weight: 600; font-size: .94rem; }
.seg label { position: relative; display: block; }
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; }
.seg span { display: flex; align-items: center; height: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--field); border-radius: var(--r); background: var(--sheet); font-size: .92rem; font-weight: 500; line-height: 1.25; transition: background-color .15s, color .15s, border-color .15s; }
.seg label:hover span { border-color: var(--ink); background: var(--steel-2); }
.seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFFFFF; font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }
.seg--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seg--freq span { font-family: var(--mono); font-weight: 500; }

/* ---------- lembar ukur ---------- */
.ukur { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.ukur__in { padding: 24px; border-right: 1px solid var(--steel); }
.ukur__in h3 { font-size: 1.35rem; }
.ukur__lead { margin-top: 6px; color: var(--ink-2); font-size: .98rem; }
.ukur__form { margin-top: 18px; border-top: 1px solid var(--steel); }
.field--row { grid-template-columns: minmax(0, 1fr) 112px; grid-template-areas: "l i" "h i" "e e"; column-gap: 16px; row-gap: 3px; padding: 14px 0; border-bottom: 1px solid var(--steel); }
.field--row label { grid-area: l; }
.field--row input { grid-area: i; align-self: start; font-size: 1.15rem; text-align: right; }
.field--row .field__hint { grid-area: h; }
.field--row .field__err { grid-area: e; }
.ukur .field label small { margin-left: 4px; font: 500 .74rem var(--mono); }
.ukur__form .seg { margin-top: 16px; }
.ukur__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ukur__out { display: grid; align-content: start; gap: 14px; min-width: 0; padding: 24px; }
.diagram { position: relative; padding: 10px 8px 4px; border: 1px solid var(--steel); border-radius: var(--r); background: var(--sheet); }
.diagram__lbl { position: absolute; left: 12px; top: 8px; font: 500 .72rem var(--mono); color: var(--muted); }
.diagram svg { display: block; width: 100%; height: auto; }
.d-hatch-bg { fill: var(--steel-2); }
.d-hatch { stroke: var(--frame); stroke-width: 1.2; }
.d-wall { fill: url(#hatch); }
.d-post { fill: #8A939E; } /* kusen: 3,1:1 terhadap putih */
.d-floor { stroke: var(--ink); stroke-width: 1.5; }
.d-chair .d-wheel { fill: var(--ink); }
.d-chair .d-body { fill: var(--steel); stroke: var(--ink); stroke-width: 1.5; }
.d-chair .d-frame { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.d-chair.is-warn .d-body { fill: #FFFFFF; stroke-dasharray: 5 3; }
.d-chair.is-no .d-body { fill: var(--red-soft); stroke: var(--red); }
.d-chair.is-no .d-frame { stroke: var(--red); }
.d-chair.is-no .d-wheel { fill: var(--red); }
.d-chair.is-empty .d-body { fill: #FFFFFF; stroke: var(--field); stroke-dasharray: 5 4; }
.d-chair.is-empty .d-frame { stroke: var(--field); }
.d-chair.is-empty .d-wheel { fill: var(--field); }
.d-dim { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.d-x { fill: none; stroke: var(--red); stroke-width: 2; }
.d-txt { font: 600 14px var(--mono); fill: var(--ink); }
.d-txt--no { fill: var(--red); }
.d-txt--warn { fill: var(--ink); }
.d-txtbg { fill: #FFFFFF; }

.ukur__sum { font-weight: 600; }
.ukur__sum b { font-family: var(--mono); }
.ukur__pick { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 14px; border: 1px solid var(--ink); border-radius: var(--r); }
.ukur__pick p { font-size: .95rem; }
.ukur__pick b { font-family: var(--mono); }
.fitlist { border: 1px solid var(--steel); border-radius: var(--r); }
.fit + .fit { border-top: 1px solid var(--steel); }
.fit__pick { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 2px 14px; width: 100%; padding: 10px 12px; border: 0; background: transparent; text-align: left; transition: background-color .15s; }
.fit__pick:hover { background: var(--steel-2); }
.fit__pick:focus-visible { outline-offset: -3px; }
.fit__pick[aria-pressed="true"] { background: var(--steel-2); box-shadow: inset 0 0 0 1px var(--ink); }
.fit__st { grid-row: span 2; align-self: start; justify-self: start; padding: 2px 7px; border: 1px solid var(--ink); border-radius: 2px; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.fit--ok .fit__st { background: var(--ink); color: #FFFFFF; }
.fit--warn .fit__st { border-style: dashed; background: #FFFFFF; color: var(--ink); }
.fit--no .fit__st { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.fit__name { font-size: .95rem; line-height: 1.35; }
.fit__name .code { margin-right: 7px; }
.fit__why { font-size: .86rem; line-height: 1.45; color: var(--muted); }
.ukur__src { max-width: 92ch; margin-top: 12px; font-size: .88rem; color: var(--muted); }

/* ---------- tabel perbandingan kursi roda ---------- */
.katalog { margin-top: clamp(48px, 6vw, 72px); }
.katalog__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-bottom: 14px; }
.katalog__bar h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); }
.ctable { background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.ctable { --cols: minmax(0, 2.1fr) repeat(5, minmax(0, .66fr)) minmax(0, 1.2fr) minmax(0, 1.75fr); }
.ctable__head, .prow { display: grid; grid-template-columns: var(--cols); column-gap: 18px; padding-inline: 20px; }
.ctable__head { padding-block: 10px; border-bottom: 1px solid var(--ink); background: var(--steel-2); font: 500 .72rem/1.3 var(--mono); color: var(--muted); border-radius: var(--r) var(--r) 0 0; }
.ctable__head span:nth-child(n+2):nth-child(-n+7) { text-align: right; }
.plist > li + li { border-top: 1px solid var(--steel); }
.prow { align-items: start; row-gap: 4px; padding-block: 16px 4px; }
.prow:hover { background: #FAFBFC; }
.prow__name { display: grid; gap: 3px; }
.prow__ket { font-size: .88rem; line-height: 1.4; color: var(--muted); }
.prow__dims { grid-column: 2 / 7; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-columns: subgrid; }
.prow__dims dt { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.prow__dims dd { font: 500 .98rem var(--mono); text-align: right; white-space: nowrap; }
.price, .prow__price { display: grid; gap: 2px; }
.price b, .prow__price b { font-weight: 700; font-size: 1.04rem; font-variant-numeric: tabular-nums; }
.price span, .prow__price span { font-size: .84rem; line-height: 1.35; color: var(--muted); }
.prow__price { text-align: right; }
.prow__act { display: grid; gap: 8px; justify-items: stretch; }
.more { grid-column: 1 / -1; }
.more summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .9rem; font-weight: 600; color: var(--ink-2); list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; display: inline-grid; place-items: center; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 2px; font: 600 .86rem/1 var(--mono); }
.more[open] summary::before { content: "\2212"; background: var(--ink); color: #FFFFFF; }
.more summary:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.more__in { display: grid; gap: 6px; max-width: 92ch; padding: 0 0 12px 28px; font-size: .92rem; color: var(--ink-2); }

/* ---------- suku cadang: label rak, setara jadi seragam ---------- */
.parts { margin-top: clamp(40px, 5vw, 60px); }
.parts__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 14px; }
.parts__head p { color: var(--ink-2); }
.parts__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.part { display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: 16px 18px; }
.part + .part { border-left: 1px solid var(--steel); }
.part__name { display: grid; gap: 3px; }
.part__name b { font-weight: 600; font-size: .96rem; line-height: 1.3; }
.part__name > span { font-size: .84rem; color: var(--muted); }
.part .price { align-self: end; }
.part .btn { justify-self: start; }

/* ---------- lembar data alat + strip ---------- */
.gula__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; align-items: end; }
.ph img { width: 100%; border-radius: var(--r); object-fit: cover; }
.ph figcaption { margin-top: 8px; font-size: .86rem; color: var(--muted); }
.ph--gula img { aspect-ratio: 16 / 8; object-position: 50% 54%; filter: saturate(.7); }
.pairs { display: grid; gap: 20px; }
.pair { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.pair__alat { display: flex; flex-direction: column; min-width: 0; }
.ds__head, .pair__link { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-height: 54px; padding: 12px 20px; border-bottom: 1px solid var(--ink); background: var(--steel-2); }
.ds__head h3 { font-size: 1.15rem; }
.pair__ket { padding: 12px 20px 0; font-size: .95rem; color: var(--ink-2); }
.mini { margin: 12px 20px 0; border-top: 1px solid var(--steel); }
.mini > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--steel); }
.mini dt { font-size: .88rem; color: var(--muted); }
.mini dd { font: 500 .9rem/1.4 var(--mono); }
.pair__fitur { padding: 10px 20px 14px; font-size: .9rem; color: var(--ink-2); }
.pair__buy { margin-top: auto; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px 16px; padding: 12px 20px; border-top: 1px solid var(--steel); }
.pair__act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pair__alat .more { padding: 0 20px 4px; }
.pair__fit { min-width: 0; border-left: 1px solid var(--steel); }
/* penghubung "hanya cocok dengan": garis ukur pendek dari garis pemisah ke label */
.pair__link { flex-wrap: nowrap; gap: 10px; padding-left: 0; font: 500 .76rem/1.3 var(--mono); color: var(--ink-2); }
.pair__link::before { content: ""; flex: none; width: 40px; height: 11px; background:
    linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 1px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 100% 0 / 1px 100% no-repeat; }
.pair__strips > li + li { border-top: 1px solid var(--steel); }
.strip { padding: 14px 20px; }
.strip__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.strip__top b { font-weight: 600; font-size: .98rem; }
.strip .codes { margin-top: 6px; }
.strip__ket { margin-top: 4px; font-size: .88rem; color: var(--ink-2); }
.strip__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 10px; }
.strip__buy p { display: grid; }
.strip__buy b { font-weight: 700; font-variant-numeric: tabular-nums; }
.strip__buy span { font-size: .84rem; color: var(--muted); }
.lanset { margin-top: 20px; }
.lanset .strip { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "top buy" "codes buy" "ket buy"; gap: 4px 24px; align-items: center; background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.lanset .strip__top { grid-area: top; }
.lanset .codes { grid-area: codes; margin: 0; }
.lanset .strip__ket { grid-area: ket; margin: 0; }
.lanset .strip__buy { grid-area: buy; margin: 0; }

/* ---------- kalkulator biaya: formulir rapat ---------- */
.biaya { background: var(--steel-2); border-block: 1px solid var(--frame); }
.calc { background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.calc__ctrl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 36px; align-items: end; padding: 18px 20px 20px; border-bottom: 1px solid var(--steel); }
.biaya__sum { max-width: 70ch; font-size: 1.02rem; line-height: 1.5; }
.biaya__sum b { font-weight: 700; }
.calc { --cols: minmax(0, 2.1fr) minmax(0, .8fr) minmax(0, 2fr) minmax(0, .9fr) minmax(0, 1fr); }
.calc__head, .cbar { display: grid; grid-template-columns: var(--cols); column-gap: 22px; padding-inline: 20px; }
.calc__head { padding-block: 10px; border-bottom: 1px solid var(--ink); background: var(--steel-2); font: 500 .72rem/1.3 var(--mono); color: var(--muted); }
.calc__head span:nth-child(n+2) { text-align: right; }
.cbar { align-items: center; padding-block: 14px; border-bottom: 1px solid var(--steel); }
.cbar__name p { font-weight: 600; line-height: 1.35; }
.cbar__name .code { margin-right: 8px; }
.cbar__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 5px; }
.cbar__tag { display: inline-block; padding: 1px 6px; border: 1px solid var(--ink); border-radius: 2px; font-size: .76rem; font-weight: 600; }
.cbar.is-best .cbar__tag { background: var(--ink); color: #FFFFFF; }
.cbar__c { text-align: right; font-variant-numeric: tabular-nums; }
.cbar__val { font-weight: 700; }
.cbar__val small { font-weight: 400; color: var(--muted); }
.cbar__track { display: block; height: 8px; margin-top: 6px; border: 1px solid var(--frame); border-radius: 2px; background: var(--steel-2); }
.cbar__fill { display: block; height: 100%; width: var(--w, 0%); background: var(--field); }
.cbar.is-best .cbar__fill { background: var(--ink); }
.calc__foot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 32px; padding: 14px 20px 16px; font-size: .86rem; color: var(--muted); }

/* ---------- grosir ---------- */
.grosir__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 20px 48px; align-items: end; }
.grosir__cek { padding: 12px 14px; border: 1px dashed var(--field); border-radius: var(--r); background: var(--sheet); font-size: .94rem; }
.grosir__cek a { font-weight: 600; }
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 28px; background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.terms li { padding: 16px 20px; font-size: .96rem; color: var(--ink-2); }
.terms li + li { border-left: 1px solid var(--steel); }
.terms b { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 700; }

.harga { background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.harga__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--steel); }
.htable { font-size: .95rem; }
.htable th, .htable td { padding: 9px 20px; border-bottom: 1px solid var(--steel); text-align: left; vertical-align: top; }
.htable thead th { padding-block: 10px; border-bottom: 1px solid var(--ink); background: var(--steel-2); font: 500 .72rem/1.3 var(--mono); color: var(--muted); }
.htable thead th:first-child { width: 130px; }
.htable thead th.r { width: 150px; }
.htable .r { text-align: right; }
.htable td.ref { font: 600 .84rem/1.6 var(--mono); white-space: nowrap; }
.htable td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.htable td small { color: var(--muted); }
.htable tr.grp th { padding-top: 16px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: .86rem; font-weight: 700; color: var(--ink); }
.htable tbody tr:not(.grp):hover td { background: #FAFBFC; }
.harga__note { padding: 12px 20px 14px; font-size: .86rem; color: var(--muted); }

.kirim { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: clamp(32px, 5vw, 56px); overflow: hidden; background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.ph--kirim { position: relative; min-height: 320px; }
.ph--kirim img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-position: 40% 62%; filter: saturate(.5) contrast(1.03); }
.manifest { padding: clamp(20px, 3vw, 30px); border-left: 1px solid var(--steel); }
.manifest h3 { font-size: clamp(1.25rem, 2vw, 1.45rem); }
.manifest dl { margin-top: 14px; border-top: 1px solid var(--ink); }
.manifest dl > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--steel); }
.manifest dt { font-weight: 700; font-size: .92rem; }
.manifest dd { font-size: .96rem; color: var(--ink-2); }

/* ---------- tanya: satu tabel tanya-jawab dengan pita kelompok ---------- */
.faq { background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.faq__group h3 { padding: 10px 20px; border-bottom: 1px solid var(--steel); background: var(--steel-2); font-size: .95rem; }
.faq__group + .faq__group h3 { border-top: 1px solid var(--frame); }
.faq details + details { border-top: 1px solid var(--steel); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 24px; align-items: center; gap: 18px; min-height: 54px; padding: 12px 20px; font-weight: 600; line-height: 1.4; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--ink); border-radius: 2px; font: 600 .95rem/1 var(--mono); }
.faq details[open] summary::after { content: "\2212"; background: var(--ink); color: #FFFFFF; }
.faq summary:hover { background: #FAFBFC; }
.faq summary:focus-visible { outline-offset: -3px; }
.faq details p { max-width: 76ch; padding: 0 20px 18px; color: var(--ink-2); }
.tanya__intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px; border-top: 1px solid var(--ink); }

/* ---------- penawaran: formulir purchase order bertabel ---------- */
.po { background: var(--sheet); border: 1px solid var(--frame); border-radius: var(--r); }
.po__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px 28px; padding: 18px 22px; border-bottom: 1px solid var(--ink); }
.po__from { display: flex; align-items: center; gap: 7px; font: 800 1.3rem/1 var(--sans); letter-spacing: -0.035em; }
.po__head h3 { font-size: 1.12rem; }
.po__meta { display: grid; grid-template-columns: auto auto; border: 1px solid var(--steel); border-radius: var(--r); }
.po__meta > div { padding: 6px 14px 7px; }
.po__meta > div + div { border-left: 1px solid var(--steel); }
.po__meta dt { font: 500 .7rem/1.4 var(--mono); color: var(--muted); }
.po__meta dd { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.po__sec { padding: 20px 22px 22px; border-bottom: 1px solid var(--steel); }
.items legend { float: left; width: 100%; margin-bottom: 12px; font-weight: 700; font-size: 1.05rem; }
.items legend ~ * { clear: both; }
.po__sec { --cols: 34px minmax(0, 1fr) 150px 128px 78px; }
.po__cols, .citem { display: grid; grid-template-columns: var(--cols); column-gap: 16px; align-items: center; }
.po__cols { padding: 8px 10px; border-bottom: 1px solid var(--ink); background: var(--steel-2); font: 500 .72rem/1.3 var(--mono); color: var(--muted); }
.po__cols span:nth-child(4) { text-align: right; }
.cart > li { border-bottom: 1px solid var(--steel); }
.citem { padding: 10px; }
.citem__no { font: 500 .84rem var(--mono); color: var(--muted); }
.citem__name { display: grid; gap: 1px; }
.citem__name b { font-weight: 600; font-size: .96rem; line-height: 1.3; }
.citem__price { font-size: .84rem; color: var(--muted); }
.citem__price.is-grosir { color: var(--ink); font-weight: 600; }
.qty { display: inline-flex; align-items: stretch; width: max-content; border: 1px solid var(--field); border-radius: var(--r); overflow: hidden; }
.qty button { width: 44px; min-height: 44px; border: 0; background: var(--steel-2); font: 600 1.05rem/1 var(--mono); }
.qty button:hover { background: var(--steel); }
.qty button:active { background: var(--frame); }
.qty button:focus-visible { outline-offset: -3px; }
.qty input { width: 56px; border: 0; border-inline: 1px solid var(--steel); text-align: center; font: 600 1rem var(--mono); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: 2px solid var(--ink); outline-offset: -2px; }
.citem__sub { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.citem__rm { justify-self: end; min-height: 44px; padding: 6px 8px; border: 0; border-radius: var(--r); background: transparent; color: var(--red); font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.citem__rm:hover { background: var(--red-soft); }
.cart__empty { padding: 16px 10px; font-size: .95rem; color: var(--muted); }
.additem { display: grid; grid-template-columns: minmax(0, 1fr) 110px auto; gap: 12px; align-items: end; padding: 14px 10px 0; }
.items .field__err { margin-top: 10px; padding-inline: 10px; }
.po__total { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 6px 24px; margin-top: 18px; padding: 12px 10px 0; border-top: 1px solid var(--ink); font-weight: 700; }
.po__total b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.po__buyer { display: grid; gap: 22px; }
.seg--buyer { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.po__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.field--full { grid-column: 1 / -1; }
.po__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 14px 32px; padding: 18px 22px 22px; }
.surat__note { max-width: 60ch; font-size: .88rem; color: var(--muted); }
.po__send { display: grid; gap: 10px; justify-items: end; }
.pform__msg { max-width: 46ch; font-size: .95rem; text-align: right; }
.pform__msg:empty { display: none; }
.pform__msg.is-ok { font-weight: 600; color: var(--ink); }
.pform__msg.is-err { font-weight: 600; color: var(--red); }

/* ---------- footer: blok judul gambar ---------- */
.footer { padding: 48px 0 32px; background: var(--sheet); border-top: 1px solid var(--frame); }
.tb { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr) minmax(0, 1.6fr); border: 1px solid var(--ink); border-radius: var(--r); }
.tb > * { padding: 16px 20px; }
.tb > * + * { border-left: 1px solid var(--steel); }
.tb__brand { display: flex; align-items: center; gap: 10px; font: 800 2.1rem/1 var(--sans); letter-spacing: -0.04em; }
.tb__lbl { margin-bottom: 6px; font: 500 .7rem/1.4 var(--mono); color: var(--muted); }
.footer address { font-style: normal; line-height: 1.7; font-size: .96rem; }
.tb__links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.tb__links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.tb__links a:hover { text-decoration: underline; }
.footer__note { display: grid; gap: 6px; max-width: 92ch; margin-top: 18px; font-size: .86rem; color: var(--muted); }
.footer__note a { color: var(--ink-2); }

/* ---------- toast ---------- */
.toast { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60; max-width: min(360px, calc(100vw - 40px)); padding: 12px 16px; border: 1px solid var(--ink); border-radius: var(--r); background: var(--ink); color: #FFFFFF; font-weight: 600; font-size: .95rem; opacity: 0; pointer-events: none; transition: opacity .15s; }
.toast.is-on { opacity: 1; }

/* ---------- responsif ---------- */
@media (min-width: 1100px) {
  .ball__t { display: block; }
  .legend { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 1099px) {
  .ctable__head { display: none; }
  .prow { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.15fr); padding-block: 16px 4px; row-gap: 12px; }
  .prow__price { grid-column: 2; grid-row: 1; }
  .prow__act { grid-column: 3; grid-row: 1; }
  .prow__dims { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  .prow__dims > div { display: grid; gap: 1px; padding-left: 10px; border-left: 1px solid var(--steel); }
  .prow__dims dt { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; font-size: .76rem; line-height: 1.3; color: var(--muted); }
  .prow__dims dd { text-align: left; }
  .parts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .part:nth-child(3) { border-left: 0; }
  .part:nth-child(n+3) { border-top: 1px solid var(--steel); }
  .calc__ctrl { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .util .util__mail { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 4px var(--gut) 14px; background: var(--sheet); border-bottom: 1px solid var(--ink); }
  .nav.is-open { display: flex; }
  .nav a { min-height: 52px; padding: 0; border: 0; border-bottom: 1px solid var(--steel); font-size: 1.05rem; }
  .nav a:last-child { border-right: 0; border-bottom: 0; }
  .nav a:hover { background: transparent; text-decoration: underline; text-underline-offset: 6px; }
  .nav a[aria-current]::after { content: none; }
  .nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .hero__sub { grid-template-columns: minmax(0, 1fr); }
  .jump { max-width: 520px; }
  .sheet { grid-template-columns: minmax(0, 1fr); grid-template-areas: "plate" "spec" "strip" "tb"; }
  .spec { border-left: 0; border-top: 1px solid var(--steel); }
  .ukur { grid-template-columns: minmax(0, 1fr); }
  .ukur__in { border-right: 0; border-bottom: 1px solid var(--steel); }
  .gula__head, .grosir__top { grid-template-columns: minmax(0, 1fr); }
  .ph--gula img { aspect-ratio: 16 / 9; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .pair__fit { border-left: 0; border-top: 1px solid var(--steel); }
  .pair__link { padding-left: 20px; }
  .pair__link::before { width: 11px; height: 28px; margin-block: -10px; background:
      linear-gradient(var(--ink), var(--ink)) 50% 0 / 1px 100% no-repeat,
      linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 1px no-repeat; }
  .kirim { grid-template-columns: minmax(0, 1fr); }
  .ph--kirim { min-height: 0; }
  .ph--kirim img { position: static; aspect-ratio: 16 / 9; height: auto; }
  .manifest { border-left: 0; border-top: 1px solid var(--steel); }
  .po__head { grid-template-columns: minmax(0, 1fr) auto; }
  .po__head h3 { grid-column: 1 / -1; grid-row: 2; }
  .seg--buyer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tb__brand { grid-column: 1 / -1; }
  .tb > :nth-child(2) { border-left: 0; }
  .tb > :nth-child(n+2) { border-top: 1px solid var(--steel); }
}

@media (max-width: 760px) {
  .terms { grid-template-columns: minmax(0, 1fr); }
  .terms li + li { border-left: 0; border-top: 1px solid var(--steel); }
  .calc__head { display: none; }
  .cbar { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; column-gap: 14px; }
  .cbar__name, .cbar__bln { grid-column: 1 / -1; }
  .cbar__bln { grid-row: 2; }
  .cbar__c { text-align: left; }
  .cbar .lbl { position: static; display: block; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; font-size: .76rem; color: var(--muted); }
  .calc__foot { grid-template-columns: minmax(0, 1fr); }
  .po__cols { display: none; }
  .citem { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name name" "qty sub" "rm rm"; row-gap: 10px; padding: 14px 0; }
  .citem__no { display: none; }
  .citem__name { grid-area: name; }
  .qty { grid-area: qty; }
  .citem__sub { grid-area: sub; }
  .citem__sub .lbl { position: static; display: block; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; font-size: .76rem; font-weight: 400; color: var(--muted); }
  .citem__rm { grid-area: rm; justify-self: start; padding-inline: 0; }
  .cart__empty { padding-inline: 0; }
  .additem { padding-inline: 0; }
  .items .field__err { padding-inline: 0; }
  .po__total { padding-inline: 0; }
  .po__fields { grid-template-columns: minmax(0, 1fr); }
  .po__foot { grid-template-columns: minmax(0, 1fr); }
  .po__send { justify-items: stretch; }
  .pform__msg { text-align: left; }
  .faq details p { padding-right: 20px; }
}

@media (max-width: 700px) {
  .prow { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 16px; }
  .prow__name { grid-column: 1 / -1; grid-row: 1; }
  .prow__dims { grid-row: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 10px; }
  .prow__price { grid-column: 1; grid-row: 3; text-align: left; }
  .prow__act { grid-column: 2; grid-row: 3; justify-items: end; }
  .prow__act .btn { width: auto; }
  .more__in { padding-left: 0; }
}

/* daftar harga di HP: tiap baris jadi blok dua tingkat, tanpa gulir ke samping */
@media (max-width: 640px) {
  .htable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .htable tbody, .htable tr, .htable th, .htable td { display: block; }
  .htable tbody tr:not(.grp) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 12px; padding: 10px 16px 12px; border-bottom: 1px solid var(--steel); }
  .htable tbody tr:not(.grp) td { padding: 0; border: 0; }
  .htable td.ref, .htable td.nm { grid-column: 1 / -1; }
  .htable td.nm { margin-bottom: 6px; }
  .htable td.num { text-align: left; }
  .htable td[data-label]::before { content: attr(data-label); display: block; font: 500 .7rem/1.4 var(--mono); color: var(--muted); }
  .htable tr.grp th { padding: 14px 16px 6px; }
  .htable td.state { padding: 18px 16px; }
  .harga__bar { padding-inline: 16px; }
  .harga__note { padding-inline: 16px; }
}

@media (max-width: 600px) {
  .util__jam .util__lbl { display: none; }
  .bar__in { gap: 12px; }
  .header__cta { gap: 8px; }
  .header__cta .btn--sm { padding-inline: 12px; }
  .plate { padding: 14px; }
  .plate__img { aspect-ratio: 840 / 725; }
  .anno--lg { display: none; }
  .anno--sm { display: block; }
  .ball { left: var(--xm); top: var(--ym); width: 22px; height: 22px; font-size: .7rem; }
  .spec { padding: 16px; }
  .spec--strip { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
  .tblock { grid-template-columns: minmax(0, 1fr); }
  .tblock li { padding: 10px 16px 12px; }
  .tblock li + li { border-left: 0; border-top: 1px solid var(--steel); }
  .ukur__in, .ukur__out { padding: 18px 16px; }
  .field--row { grid-template-columns: minmax(0, 1fr) 96px; column-gap: 12px; }
  .fit__pick { grid-template-columns: minmax(0, 1fr); }
  .fit__st { grid-row: auto; }
  .parts__list { grid-template-columns: minmax(0, 1fr); }
  .part + .part { border-left: 0; border-top: 1px solid var(--steel); }
  .ds__head, .pair__ket, .pair__fitur, .pair__buy, .pair__alat .more, .strip { padding-inline: 16px; }
  .pair__link { padding-left: 16px; }
  .mini { margin-inline: 16px; }
  .mini > div { grid-template-columns: 108px minmax(0, 1fr); }
  .lanset .strip { grid-template-columns: minmax(0, 1fr); grid-template-areas: "top" "codes" "ket" "buy"; }
  .lanset .strip__buy { margin-top: 8px; }
  .calc__ctrl, .calc__foot { padding-inline: 16px; }
  .cbar { padding-inline: 16px; }
  .cbar__c { font-size: .95rem; }
  .manifest dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .faq summary { padding-inline: 16px; }
  .faq details p { padding-inline: 16px; }
  .faq__group h3, .tanya__intro { padding-inline: 16px; }
  .po__head, .po__sec, .po__foot { padding-inline: 16px; }
  .po__head { grid-template-columns: minmax(0, 1fr); }
  .po__head h3 { grid-row: auto; }
  .po__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .po__meta > div { padding-inline: 10px; }
  .po__meta dd { white-space: normal; overflow-wrap: anywhere; }
  .additem { grid-template-columns: minmax(0, 1fr) 96px; }
  .additem .btn { grid-column: 1 / -1; }
  .tb { grid-template-columns: minmax(0, 1fr); }
  .tb > * + * { border-left: 0; border-top: 1px solid var(--steel); }
  .toast { left: 16px; right: 16px; max-width: none; bottom: calc(84px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .cbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 420px) {
  .wordmark__sub { display: none; }
  .seg--buyer, .seg--grid { grid-template-columns: minmax(0, 1fr); }
  .prow__act { grid-column: 1 / -1; grid-row: 4; grid-template-columns: minmax(0, 1fr) auto; align-items: center; justify-items: stretch; }
  .spec--strip { grid-template-columns: minmax(0, 1fr); }
  .spec__ph { max-width: 160px; }
}

/* Layar 320px: logo + Penawaran + Menu kelebihan sekitar 26px, jadi jarak, padding, dan logo bar dirapatkan. */
@media (max-width: 359px) {
  .bar__in { gap: 8px; }
  .header__cta { gap: 6px; }
  .header__cta .btn--sm { padding-inline: 8px; }
  .menu-btn { padding-inline: 10px; }
  .wordmark { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- cetak daftar harga ---------- */
@media print {
  .header, .toast, .rd-fab, .rd-dlg, .skip { display: none !important; }
  body { background: #FFFFFF; }
  body.print-harga main > section:not(#grosir), body.print-harga .footer { display: none !important; }
  body.print-harga .grosir__top, body.print-harga .terms, body.print-harga .kirim, body.print-harga #printHarga { display: none !important; }
  body.print-harga .grosir { padding: 0; }
  body.print-harga .harga { border: 0; }
  .htable thead { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: table-header-group; }
  .htable tbody { display: table-row-group; }
  .htable tr, .htable tbody tr:not(.grp) { display: table-row; }
  .htable th, .htable td, .htable tbody tr:not(.grp) td { display: table-cell; padding: 6px 10px; border-bottom: 1px solid #BCC4CE; }
  .htable td[data-label]::before { content: none; }
  .htable thead th:first-child, .htable thead th.r { width: auto; }
  .htable td.num { text-align: right; }
}

/* ---------- Warna tombol & chat Rakitdata ---------- */
/* GANTI: hapus blok ini bersama assets/css/rakitdata.css dan assets/js/rakitdata.js sebelum situs dipakai. */
:root { --rd-main: var(--ink); --rd-on-main: #FFFFFF; --rd-accent: var(--steel); --rd-on-accent: var(--ink); --rd-surface: var(--bg); --rd-bubble: var(--sheet); --rd-out: var(--steel-2); --rd-ink: var(--ink); --rd-muted: var(--muted); --rd-line: var(--steel); --rd-font: var(--sans); }
