/* Kalkulator wyceny — style podstawowe. Motyw Fast-Graphic ma własne style dla .cal/.cq/.cg/.co/.cr. */
.kc { --kc-ink: var(--ink, #0f1a2b); --kc-muted: var(--muted, #5b6676); --kc-line: var(--line, #e4e8ee); --kc-card: var(--card, #f4f6f9); }
.kc .cal { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; align-items: start; }
.kc .cq { display: grid; gap: 26px; border: 1px solid var(--kc-line); border-radius: 24px; padding: clamp(20px, 3vw, 36px); background: var(--kc-card); }
.kc .cg h3 { font-size: 17px; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.kc .cg h3 b { width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--kc-ink); color: #fff; display: grid; place-items: center; font-size: 13px; }
.kc .co { display: flex; flex-wrap: wrap; gap: 10px; }
.kc .co button { cursor: pointer; padding: 12px 18px; border: 1px solid var(--kc-line); border-radius: 14px; background: #fff; color: var(--kc-ink); font: inherit; font-weight: 600; font-size: 15px; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; transition: all .2s; }
.kc .co button:hover { border-color: var(--kc-ink); }
.kc .co button[aria-pressed="true"] { background: var(--kc-ink); color: #fff; border-color: var(--kc-ink); }
.kc-hint { font-size: 12px; font-weight: 600; opacity: .65; }
.kc-help { margin: 10px 0 0; color: var(--kc-muted); font-size: 14px; display: block; }
.kc-qty { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.kc-step { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--kc-line); background: #fff; color: var(--kc-ink); font-size: 22px; line-height: 1; cursor: pointer; }
.kc-step:hover:not(:disabled) { border-color: var(--kc-ink); }
.kc-step:disabled { opacity: .35; cursor: default; }
.kc-val { min-width: 2ch; text-align: center; font-weight: 800; font-size: 26px; font-variant-numeric: tabular-nums; }
.kc-unit { font-weight: 600; color: var(--kc-muted); }
.kc .cr { position: sticky; top: 96px; border-radius: 24px; padding: clamp(22px, 3vw, 34px); color: #fff; background: linear-gradient(160deg, #1e1b4b, #4c1d95); display: flex; flex-direction: column; gap: 12px; }
.kc .cr small { opacity: .75; font-weight: 600; }
.kc .cr .pr { font-weight: 900; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.05; letter-spacing: -.03em; }
.kc-sum { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 15px; }
.kc-sum li::before { content: "✓ "; color: #6ee7b7; font-weight: 800; }
.kc-note { margin: 4px 0 0; font-size: 13px; opacity: .75; }
.kc .cr .btn { align-self: flex-start; background: #fff; color: #1e1b4b; padding: 14px 24px; border-radius: 99px; font-weight: 700; text-decoration: none; }
@media (max-width: 860px) { .kc .cal { grid-template-columns: 1fr; } .kc .cr { position: static; } }
.kc-suf { font-size: .42em; font-weight: 700; letter-spacing: 0; opacity: .8; white-space: nowrap; }
.kc-mini { display: none; }
.kc-mini[hidden] { display: none !important; }
@media (max-width: 860px) {
  .kc-mini { display: flex; align-items: center; gap: 10px; position: sticky; top: calc(68px + env(safe-area-inset-top, 0px)); z-index: 5; margin: 0 0 12px;
    padding: 12px 16px; border-radius: 16px; background: linear-gradient(160deg, #1e1b4b, #4c1d95); color: #fff; text-decoration: none;
    box-shadow: 0 10px 24px rgba(30,27,75,.3); font-size: 14px; }
  .kc-mini strong { font-size: 16px; margin-left: auto; white-space: nowrap; }
  .kc-mini-go { opacity: .7; font-size: 12px; white-space: nowrap; }
  .kc-mini > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* Zamawianie */
.kc-gross { margin: -6px 0 0; font-size: 14px; opacity: .8; font-weight: 600; }
.kc-ask { margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.kc-ask-q { margin: 0; font-weight: 800; font-size: 20px; }
.kc-ask .btn { background: #fff; color: #1e1b4b; padding: 14px 26px; border-radius: 99px; font-weight: 700; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.kc-ask-alt { color: #fff; opacity: .85; font-size: 14px; }
.kc-order { margin-top: 24px; border: 1px solid var(--kc-line); border-radius: 24px; padding: clamp(20px, 3vw, 36px); background: #fff; scroll-margin-top: 90px; }
.kc-order[hidden] { display: none; }
.kc-order h3 { margin: 0 0 14px; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.02em; }
.kc-order-sum { background: var(--kc-card); border-radius: 16px; padding: 16px 20px; margin-bottom: 20px; }
.kc-order-sum .kc-sum li::before { color: #10b981; }
.kc-order-price { margin: 10px 0 0; font-weight: 800; }
.kc-form { display: grid; gap: 14px; }
.kc-legal { margin: 0; font-size: 13px; color: var(--kc-muted); line-height: 1.55; }
.kc-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.kc-actions .linklike { background: none; border: 0; color: var(--kc-muted); text-decoration: underline; cursor: pointer; font: inherit; }
.kc-msg { margin: 0; font-weight: 600; min-height: 1.4em; }
.kc-msg.is-err { color: #b91c1c; }
.kc-done { padding: 20px 22px; border-radius: 16px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.kc-done h3 { margin: 0 0 6px; font-size: 22px; }
.kc-done p { margin: 0; }
.kc .hp { position: absolute; left: -9999px; }
.kc-form[hidden] { display: none; }
