/* Order Kaos PB Cakra UM. Token warna mengikuti ../../style.css */
:root {
  --ink: #10223d;
  --muted: #5e6980;
  --paper: #f3f7fc;
  --white: #ffffff;
  --blue: #074aa5;
  --blue-dark: #063274;
  --green: #049946;
  --green-dark: #047436;
  --mint: #e4f6e9;
  --gold: #f6b900;
  --gold-soft: #fff2bd;
  --red: #c62828;
  --red-soft: #fde8e8;
  --line: #d8e2ee;
  --shadow: 0 12px 34px rgba(7, 74, 165, 0.1);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.ok-no-scroll {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ---------- Header & footer ---------- */
.ok-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(16px, 4vw, 48px);
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-dark), var(--blue) 60%, var(--green-dark));
  box-shadow: 0 6px 20px rgba(6, 50, 116, 0.25);
}

.ok-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.ok-brand img {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
}

.ok-brand span {
  display: grid;
  line-height: 1.15;
}

.ok-brand small {
  font-size: 0.75rem;
  opacity: 0.8;
}

.ok-nav {
  display: flex;
  gap: 4px;
}

.ok-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.ok-nav a:hover,
.ok-nav a.is-active {
  background: rgba(246, 185, 0, 0.25);
}

.ok-main {
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.ok-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 20px clamp(16px, 4vw, 48px);
  color: rgba(255, 255, 255, 0.8);
  background: #101918;
  font-size: 0.9rem;
}

/* ---------- Hero & cards ---------- */
.ok-hero {
  margin-bottom: 20px;
}

.ok-kicker {
  margin: 0 0 6px;
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ok-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 5vw, 2.4rem);
  line-height: 1.15;
}

.ok-hero p {
  margin: 0;
  color: var(--muted);
}

.ok-card {
  margin-bottom: 18px;
  padding: clamp(18px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.ok-card h1,
.ok-card h2 {
  margin: 0 0 10px;
  line-height: 1.25;
}

.ok-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
}

.ok-num {
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-size: 1rem;
}

.ok-help {
  margin: 0 0 14px;
  color: var(--muted);
}

.ok-label {
  display: block;
  margin: 16px 0 6px;
  font-weight: 800;
}

.ok-label > .ok-input {
  margin-top: 6px;
  font-weight: 400;
}

.ok-muted {
  color: var(--muted);
}

.ok-link {
  color: var(--blue);
  font-weight: 700;
}

/* ---------- Inputs ---------- */
.ok-input,
.ok-select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.ok-input:focus,
.ok-select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(7, 74, 165, 0.15);
}

.ok-input:disabled {
  background: #eef1f5;
  color: #9aa3b2;
  cursor: not-allowed;
}

.ok-upper {
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.ok-file {
  width: 100%;
  padding: 14px;
  border: 2px dashed var(--blue);
  border-radius: var(--radius);
  background: #f2f7ff;
  font: inherit;
}

.ok-error {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  color: var(--red);
  background: var(--red-soft);
  font-weight: 700;
}

.ok-note {
  margin: 10px 0;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.ok-note p {
  margin: 0;
}

.ok-note-warn {
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
}

.ok-note-info {
  border-left: 4px solid var(--green);
  background: var(--mint);
}

/* ---------- Buttons ---------- */
.ok-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.ok-btn:hover {
  transform: translateY(-1px);
}

.ok-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.ok-btn-primary {
  color: #13221b;
  background: var(--gold);
  box-shadow: 0 10px 22px rgba(246, 185, 0, 0.3);
}

.ok-btn-ghost {
  border-color: var(--blue);
  color: var(--blue);
  background: transparent;
}

.ok-btn-small {
  min-height: 38px;
  margin-top: 0;
  padding: 8px 14px;
  border-color: var(--blue);
  color: var(--blue);
  font-size: 0.9rem;
}

.ok-btn-danger {
  color: var(--white);
  background: var(--red);
}

.ok-btn-block {
  width: 100%;
  font-size: 1.1rem;
  min-height: 58px;
}

/* ---------- Step 1: desain ---------- */
.ok-designs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ok-design {
  margin: 0;
}

.ok-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: none;
  cursor: zoom-in;
}

.ok-design figcaption {
  margin-top: 6px;
  text-align: center;
}

.ok-choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.ok-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
}

.ok-check input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--blue);
}

.ok-check:has(input:checked) {
  border-color: var(--blue);
  background: #eef4ff;
}

.ok-check:has(input:disabled) {
  opacity: 0.6;
  cursor: not-allowed;
}

.ok-check-accent:has(input:checked) {
  border-color: var(--green);
  background: var(--mint);
}

.ok-check-inline {
  display: inline-flex;
  margin-top: 10px;
}

/* ---------- Step 2: combobox ---------- */
.ok-combo {
  position: relative;
}

.ok-combo .ok-input {
  padding-right: 48px;
}

.ok-combo.is-selected .ok-input {
  border-color: var(--green);
  background: var(--mint);
  font-weight: 800;
}

.ok-combo-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 36px;
  height: 36px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: #e2e8f0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.ok-combo-list {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: 290px;
  margin: 0;
  padding: 6px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(16, 34, 61, 0.18);
}

.ok-combo-list li {
  padding: 12px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.ok-combo-list li:hover,
.ok-combo-list li.is-active {
  background: #eef4ff;
}

.ok-combo-list li[aria-selected="true"] {
  font-weight: 800;
  color: var(--green-dark);
}

.ok-combo-list .ok-combo-empty {
  color: var(--muted);
  cursor: default;
}

/* ---------- Step 3: size & punggung ---------- */
.ok-item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.ok-item-head img {
  width: 120px;
  border-radius: 6px;
}

.ok-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 16px 0 8px;
}

.ok-row-between .ok-label {
  margin: 0;
}

.ok-sizes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
  gap: 8px;
}

.ok-size input {
  position: absolute;
  opacity: 0;
}

.ok-size span {
  display: grid;
  place-items: center;
  padding: 10px 4px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
}

.ok-size strong {
  font-size: 1.15rem;
}

.ok-size small {
  color: var(--muted);
  font-size: 0.78rem;
}

.ok-size input:checked + span {
  border-color: var(--blue);
  color: var(--white);
  background: var(--blue);
}

.ok-size input:checked + span small {
  color: rgba(255, 255, 255, 0.85);
}

.ok-size input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(7, 74, 165, 0.25);
}

/* ---------- Step 4: pembayaran ---------- */
.ok-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--blue-dark);
}

.ok-total strong {
  font-size: 1.5rem;
  color: var(--gold);
}

.ok-rek {
  padding: 6px 16px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafcff;
}

.ok-rek-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

.ok-rek-item span {
  font-weight: 900;
  color: var(--blue);
}

.ok-rek-item strong {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.ok-rek-an {
  margin: 10px 0 0;
}

.ok-pay {
  display: grid;
  gap: 10px;
}

.ok-radio-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.ok-radio-card input {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.ok-radio-card span {
  display: grid;
}

.ok-radio-card small {
  color: var(--muted);
}

.ok-radio-card:has(input:checked) {
  border-color: var(--blue);
  background: #eef4ff;
}

/* ---------- Hasil / sukses ---------- */
.ok-result {
  max-width: 640px;
  margin: 12px auto 18px;
  text-align: center;
}

.ok-result-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  font-size: 2.2rem;
  font-weight: 900;
}

.ok-result-error h1 {
  color: var(--red);
}

.ok-result-lead {
  margin-top: 22px;
  font-weight: 700;
}

.ok-summary {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 16px;
  margin: 18px 0;
  padding: 16px;
  border-radius: var(--radius);
  background: #f6f9fd;
  text-align: left;
}

.ok-summary dt {
  color: var(--muted);
}

.ok-summary dd {
  margin: 0;
}

.ok-result .ok-note {
  text-align: left;
}

.ok-closed {
  text-align: center;
}

/* ---------- Rekap ---------- */
.ok-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.ok-stats div {
  display: grid;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.ok-stats span {
  color: var(--muted);
  font-size: 0.85rem;
}

.ok-stats strong {
  font-size: 1.6rem;
  color: var(--blue-dark);
}

.ok-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ok-search-count {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
}

.ok-table-wrap {
  overflow-x: auto;
}

.ok-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.ok-table th,
.ok-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.ok-table th {
  color: var(--white);
  background: var(--blue-dark);
  font-size: 0.82rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.ok-table tbody tr:nth-child(even) {
  background: #f8fbff;
}

.ok-table tfoot td {
  font-weight: 800;
  background: #eef4ff;
}

.ok-table-compact th,
.ok-table-compact td {
  text-align: center;
}

.ok-table-compact .ok-col-desain {
  text-align: left;
  font-weight: 700;
  white-space: nowrap;
  vertical-align: middle;
  border-right: 1px solid var(--line);
  background: #f6f9fd;
}

/* Tabel rekap size: tanpa belang (rowspan), garis tegas antar-desain, baris jumlah menonjol */
.ok-table-compact tbody tr:nth-child(even) {
  background: transparent;
}

.ok-table-compact .ok-grup-desain + .ok-grup-desain tr:first-child td {
  border-top: 2px solid var(--line);
}

.ok-table-compact tfoot td {
  border-top: 2px solid var(--blue-dark);
  font-weight: 900;
  background: #eef4ff;
}

.ok-table-compact tfoot td:first-child {
  text-align: left;
}

.ok-badge,
.ok-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.ok-badge-belum {
  color: var(--red);
  background: var(--red-soft);
}

.ok-badge-menunggu {
  color: #7a5b00;
  background: var(--gold-soft);
}

.ok-badge-lunas {
  color: var(--green-dark);
  background: var(--mint);
}

.ok-chip-d1 {
  color: #fff;
  background: #145a6e;
}

.ok-chip-d2 {
  color: #fff;
  background: #b71c1c;
}

.ok-empty {
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.ok-cta {
  text-align: center;
}

/* ---------- Modal ---------- */
.ok-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(8, 15, 28, 0.85);
}

.ok-modal-box {
  position: relative;
  max-width: min(960px, 100%);
  max-height: 100%;
  overflow: auto;
  border-radius: var(--radius);
  background: var(--white);
}

.ok-modal-close {
  position: sticky;
  top: 8px;
  float: right;
  z-index: 1;
  width: 44px;
  height: 44px;
  margin: 8px 8px -52px 0;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(16, 34, 61, 0.85);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Admin ---------- */
.ok-admin-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.ok-admin-bar a {
  color: var(--gold);
  font-weight: 700;
}

.ok-admin-bar strong {
  margin-right: auto;
}

.ok-main:has(.ok-table-admin) {
  max-width: 1200px;
}

/* Halaman rekap sedikit lebih lebar agar kolom Size + badge Kids muat satu baris */
.ok-main:has(.ok-table-scroll) {
  max-width: 1140px;
}

.ok-select {
  min-height: 40px;
  padding: 6px 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.ok-select-belum {
  border-color: #f3b4b4;
  color: var(--red);
}

.ok-select-menunggu {
  border-color: var(--gold);
}

.ok-select-lunas {
  border-color: var(--green);
  color: var(--green-dark);
}

.ok-inline-form {
  margin: 0;
}

.ok-fieldset {
  margin: 16px 0;
  padding: 4px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ok-fieldset legend {
  padding: 0 6px;
  font-weight: 900;
}

.ok-danger {
  border-color: #f3b4b4;
}

.ok-login {
  max-width: 420px;
  margin: 40px auto;
}

/* ---------- Responsif ---------- */
@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .ok-header {
    flex-wrap: wrap;
  }

  .ok-nav {
    width: 100%;
  }

  .ok-nav a {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
  }

  .ok-designs,
  .ok-choices {
    grid-template-columns: 1fr;
  }

  .ok-item-head img {
    width: 90px;
  }

  /* Tabel rekap jadi kartu di HP */
  .ok-table:not(.ok-table-compact):not(.ok-table-scroll) thead {
    display: none;
  }

  .ok-table:not(.ok-table-compact):not(.ok-table-scroll),
  .ok-table:not(.ok-table-compact):not(.ok-table-scroll) tbody,
  .ok-table:not(.ok-table-compact):not(.ok-table-scroll) tr,
  .ok-table:not(.ok-table-compact):not(.ok-table-scroll) td {
    display: block;
    width: 100%;
  }

  .ok-table:not(.ok-table-compact):not(.ok-table-scroll) tbody tr {
    margin-bottom: 10px;
    padding: 8px 4px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .ok-table:not(.ok-table-compact):not(.ok-table-scroll) td {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 8px;
    padding: 5px 10px;
    border: 0;
  }

  .ok-table:not(.ok-table-compact):not(.ok-table-scroll) td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 0.82rem;
  }

  .ok-table:not(.ok-table-compact):not(.ok-table-scroll) tbody td:not([data-label])::before {
    content: "";
  }

  .ok-table:not(.ok-table-compact):not(.ok-table-scroll) tfoot {
    display: block;
  }

  .ok-table:not(.ok-table-compact):not(.ok-table-scroll) tfoot tr {
    display: flex;
    justify-content: space-between;
  }

  .ok-table:not(.ok-table-compact):not(.ok-table-scroll) tfoot td {
    display: block;
  }

  .ok-search {
    flex-direction: column;
    align-items: stretch;
  }

  .ok-summary {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .ok-summary dd {
    margin-bottom: 8px;
  }

  .ok-footer {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .ok-table td > .ok-badge,
  .ok-table td > .ok-chip {
    justify-self: start;
  }
}

/* ---------- Status buka/tutup pemesanan ---------- */
.ok-closed h2 {
  justify-content: center;
}

.ok-closed-icon {
  font-size: 2.6rem;
}

.ok-btn-success {
  color: var(--white);
  background: var(--green);
}

.ok-order-status {
  border-left: 6px solid var(--green);
}

.ok-order-status.is-tutup {
  border-left-color: var(--red);
}

.ok-order-status-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ok-order-status-head > div {
  display: grid;
}

.ok-order-badge {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: var(--green-dark);
}

.is-tutup .ok-order-badge {
  color: var(--red);
}

.ok-order-setting {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.ok-order-setting summary {
  font-weight: 800;
  color: var(--blue);
  cursor: pointer;
}

textarea.ok-input {
  resize: vertical;
}

/* Pilihan kerah: 3 kolom sama lebar */
.ok-sizes.ok-kerah {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ok-kerah strong {
  font-size: 1.05rem;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .ok-sizes.ok-kerah {
    gap: 6px;
  }

  .ok-kerah strong {
    font-size: 0.9rem;
  }

  .ok-kerah small {
    font-size: 0.7rem;
  }
}

/* Tabel rekap di HP: tetap tabel ringkas, bisa digeser ke samping, kolom No & Pemesan tetap terlihat */
.ok-scroll-hint {
  display: none;
}

@media (max-width: 760px) {
  .ok-scroll-hint {
    display: block;
    margin: -4px 0 8px;
    color: var(--muted);
    font-size: 0.8rem;
  }

  .ok-table-scroll {
    font-size: 0.82rem;
  }

  .ok-table-scroll th,
  .ok-table-scroll td {
    padding: 8px 10px;
    white-space: nowrap;
    vertical-align: middle;
  }

  .ok-table-scroll th {
    font-size: 0.7rem;
  }

  .ok-table-scroll th:nth-child(-n + 2),
  .ok-table-scroll td:nth-child(-n + 2) {
    position: sticky;
    z-index: 1;
    background: var(--white);
  }

  .ok-table-scroll th:nth-child(-n + 2) {
    background: var(--blue-dark);
  }

  .ok-table-scroll tbody tr:nth-child(even) td:nth-child(-n + 2) {
    background: #f8fbff;
  }

  .ok-table-scroll th:first-child,
  .ok-table-scroll td:first-child {
    left: 0;
    width: 34px;
    min-width: 34px;
    text-align: center;
  }

  .ok-table-scroll th:nth-child(2),
  .ok-table-scroll td:nth-child(2) {
    left: 34px;
    min-width: 120px;
    max-width: 140px;
    white-space: normal;
    line-height: 1.3;
    box-shadow: 4px 0 6px -4px rgba(16, 34, 61, 0.25);
  }

  /* Total nominal sudah tampil di kotak ringkasan atas */
  .ok-table-scroll tfoot {
    display: none;
  }

  .ok-table-scroll .ok-badge,
  .ok-table-scroll .ok-chip {
    padding: 2px 8px;
    font-size: 0.72rem;
  }
}

/* Nama kerah/size jangan patah baris di tabel */
.ok-table td[data-label="Kerah"],
.ok-table td[data-label="Size"],
.ok-table-compact td {
  white-space: nowrap;
}

/* Judul pilihan + tombol (size chart / jenis kerah): jangan patah kata, turun utuh bila sempit */
.ok-row-between {
  flex-wrap: wrap;
}

.ok-row-between .ok-label,
.ok-btn-small {
  white-space: nowrap;
}

/* Teks yang bisa diklik seperti tautan (info bahan S-Cool & video) */
.ok-link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.ok-link-btn:hover,
.ok-link-btn:focus-visible {
  color: var(--blue-dark);
}

.ok-bahan {
  margin-top: -6px;
}

.ok-modal-box video {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  background: #000;
}

/* Size Kids */
.ok-badge-kids {
  margin-left: 4px;
  padding: 1px 7px;
  color: #8a3b00;
  background: #ffe9d6;
  font-size: 0.7rem;
  vertical-align: middle;
}

.ok-check.ok-kids {
  margin-top: 10px;
}

.ok-table-compact .ok-baris-kids td:not(.ok-col-desain) {
  color: #8a3b00;
  background: #fff8f1;
}
