/* Zestawy własne Hurtownia Lux (mu-plugin hlx-zestawy). Tokeny z motywu (main.css :root). */
.hlx-kit { grid-column: 1 / -1; margin: 28px 0 8px; min-width: 0; }
.hlx-kit > h2 { font-family: var(--font-d, inherit); font-size: 22px; letter-spacing: -.012em; margin: 0 0 6px; }
.hlx-kit-lead { margin: 0 0 14px; color: var(--ink); max-width: 70ch; }
.hlx-kit-lead strong { color: var(--acc-ink, var(--acc)); }
.hlx-kit-wrap { border: 1px solid var(--line); border-radius: var(--r, 12px); background: var(--white); overflow: hidden; }
.hlx-kit .hlx-kit-table { width: 100%; border-collapse: collapse; font-size: 13.5px; line-height: 1.4; }
.hlx-kit .hlx-kit-table td, .hlx-kit .hlx-kit-table th { font-size: 13.5px; }
.hlx-kit-table th, .hlx-kit-table td { padding: 10px 12px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line-soft, var(--line)); }
.hlx-kit-table thead th { background: var(--soft); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; white-space: nowrap; }
.hlx-kit-table tbody tr:last-child td { border-bottom: 0; }
.hlx-kit-table .k-img { width: 64px; padding-right: 0; }
.hlx-kit-table .k-img img { width: 52px; height: 52px; object-fit: contain; display: block; border-radius: 8px; background: #fff; }
.hlx-kit .hlx-kit-table .k-name a { font-size: 14px; line-height: 1.35; font-weight: 600; color: var(--ink); text-decoration: none; }
.hlx-kit-table .k-name a:hover { color: var(--acc-ink, var(--acc)); text-decoration: underline; }
.hlx-kit-table .k-role { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--acc-ink, var(--acc)); margin-bottom: 2px; }
.hlx-kit-table .k-code code { white-space: nowrap; }
.hlx-kit-table code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; background: var(--soft); padding: 2px 6px; border-radius: 6px; user-select: all; word-break: break-word; }
.hlx-kit-table .k-qty, .hlx-kit-table .k-price { white-space: nowrap; font-variant-numeric: tabular-nums; }
.hlx-kit-table .k-price { text-align: right; font-weight: 600; }
.hlx-kit-table tfoot th { text-align: right; font-size: 14px; background: var(--soft); border-bottom: 0; }
.hlx-kit-table tfoot td { background: var(--soft); border-bottom: 0; font-size: 16px; font-weight: 800; }
.hlx-kit-table .is-in { color: var(--green); font-weight: 600; }
.hlx-kit-table .is-order { color: var(--amber); font-weight: 600; }
.hlx-kit-table .is-out { color: var(--muted); font-weight: 600; }
.hlx-kit-note { margin: 10px 2px 0; font-size: 13.5px; color: var(--muted); max-width: 80ch; }
table.hlx-kit-codes { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 14px; }
table.hlx-kit-codes th, table.hlx-kit-codes td { border: 1px solid var(--line); padding: 7px 10px; text-align: left; vertical-align: top; user-select: text; }
table.hlx-kit-codes thead th { background: var(--soft); }
.hlx-kit-cartlist { list-style: none; margin: 4px 0 0; padding: 0; font-size: 12.5px; line-height: 1.4; }
.hlx-kit-cartlist li { margin: 0 0 2px; }
.hlx-kit-cartlist .k-sep { display: none; }
.hlx-kit-cartlist .k-r { font-weight: 700; color: var(--acc-ink, var(--acc)); }
.hlx-kit-cartlist .k-c { font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--muted); }
.hlx-kit-cartlist .k-q { white-space: nowrap; }
.wc-block-components-product-details .hlx-kit-cartlist, .cart_item .hlx-kit-cartlist { font-size: 12px; }

@media (max-width: 860px) {
  .hlx-kit-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hlx-kit-table, .hlx-kit-table tbody, .hlx-kit-table tfoot, .hlx-kit-table tr { display: block; }
  .hlx-kit-table tbody tr { display: grid; grid-template-columns: 64px 1fr; column-gap: 12px; padding: 12px; border-bottom: 1px solid var(--line-soft, var(--line)); }
  .hlx-kit-table tbody td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 3px 0; grid-column: 2; text-align: right; }
  .hlx-kit-table tbody td::before { content: attr(data-label); color: var(--muted); font-size: 12px; text-align: left; flex: none; }
  .hlx-kit-table tbody td.k-img { grid-column: 1; grid-row: 1 / span 3; padding: 0; display: block; }
  .hlx-kit-table tbody td.k-img::before { content: none; }
  .hlx-kit-table tbody td.k-name { display: block; text-align: left; }
  .hlx-kit-table tbody td.k-name::before { content: none; }
  .hlx-kit-table tfoot tr { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: var(--soft); }
  .hlx-kit-table tfoot th, .hlx-kit-table tfoot td { display: block; padding: 0; background: none; }
  table.hlx-kit-codes { display: block; overflow-x: auto; }
}
