/* KCC Package Calculator – uses the child theme's --kc-* tokens */
.kcc-calc { --kcc-line: #e8e8e8; --kcc-muted: #707070; --kcc-faint: #a1a1a1; --kcc-gold: #C9A84C; --kcc-grey: #f5f5f5; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--kc-gap-l, 2rem); align-items: start; }
@media (max-width: 1024px) { .kcc-calc { grid-template-columns: 1fr; } }
.kcc-calc *, .kcc-calc *::before, .kcc-calc *::after { box-sizing: border-box; }
.kcc-calc__steps { display: flex; flex-direction: column; gap: var(--kc-gap-m, 1.5rem); min-width: 0; }
.kcc-calc__step { border: 1px solid var(--kcc-line); border-radius: var(--kc-radius-m, 12px); padding: var(--kc-gap-m, 1.5rem); background: #fff; }
.kcc-calc__step[hidden] { display: none; }
.kcc-calc__step-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 var(--kc-gap-xs, 1rem); }
.kcc-calc__step-num { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 999px; background: #111; color: #fff; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.kcc-calc__step-title { margin: 0; font-size: var(--kc-text-xl, 1.35rem); font-weight: 600; line-height: 1.2; }
.kcc-calc__step-sub { margin: 4px 0 0; color: var(--kcc-muted); font-size: var(--kc-text-s, 1rem); }
.kcc-calc__hint { margin: 0 0 var(--kc-gap-xs, 1rem); color: var(--kcc-muted); font-size: var(--kc-text-s, 1rem); }
.kcc-calc__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--kc-gap-2xs, .75rem); }
.kcc-calc__grid--packages { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.kcc-calc__opt { position: relative; display: block; cursor: pointer; }
.kcc-calc__opt input { position: absolute; opacity: 0; pointer-events: none; }
.kcc-calc__card { border: 1px solid var(--kcc-line); border-radius: var(--kc-radius-s, 8px); padding: 14px 16px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; height: 100%; }
.kcc-calc__opt:hover .kcc-calc__card { border-color: #bdbdbd; }
.kcc-calc__opt input:checked + .kcc-calc__card { border-color: #111; box-shadow: 0 0 0 1px #111 inset; }
.kcc-calc__opt input:focus-visible + .kcc-calc__card { outline: 2px solid var(--kcc-gold); outline-offset: 2px; }
.kcc-calc__card-title { font-weight: 600; line-height: 1.25; }
.kcc-calc__card-sub { color: var(--kcc-muted); font-size: 13px; margin-top: 4px; }
.kcc-calc__card-price { margin-top: 8px; font-weight: 700; }
.kcc-calc__card-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--kc-radius-s, 8px); margin-bottom: 10px; display: block; background: var(--kcc-grey); }
.kcc-calc a.kcc-calc__card-link { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--kcc-muted) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.kcc-calc__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.kcc-calc__pill { position: relative; cursor: pointer; }
.kcc-calc__pill input { position: absolute; opacity: 0; pointer-events: none; }
.kcc-calc__pill span { display: inline-block; padding: 8px 16px; border: 1px solid var(--kcc-line); border-radius: 999px; font-weight: 600; font-size: 14px; }
.kcc-calc__pill input:checked + span { background: #111; color: #fff; border-color: #111; }
.kcc-calc__group-title { margin: var(--kc-gap-m, 1.5rem) 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kcc-muted); }
.kcc-calc__group-title:first-child { margin-top: 0; }
.kcc-calc__extras { display: flex; flex-direction: column; border-top: 1px solid var(--kcc-line); }
.kcc-calc__extra { display: flex; align-items: flex-start; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--kcc-line); cursor: pointer; }
.kcc-calc__extra input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: #111; flex: 0 0 auto; }
.kcc-calc__extra-name { flex: 1 1 auto; line-height: 1.35; }
.kcc-calc__extra-note { display: block; color: var(--kcc-faint); font-size: 12px; margin-top: 2px; }
.kcc-calc__extra-price { flex: 0 0 auto; font-weight: 600; white-space: nowrap; }
.kcc-calc__extra--request .kcc-calc__extra-price { color: var(--kcc-muted); font-weight: 400; font-size: 13px; }
.kcc-calc__summary { position: sticky; top: calc(var(--kc-height-header, 84px) + 1rem); border: 1px solid var(--kcc-line); border-radius: var(--kc-radius-m, 12px); background: var(--kcc-grey); padding: var(--kc-gap-m, 1.5rem); }
.kcc-calc__summary-title { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kcc-muted); }
.kcc-calc__total { font-size: var(--kc-text-3xl, 2.25rem); font-weight: 600; line-height: 1.1; margin: 0 0 4px; }
.kcc-calc__total-sub { color: var(--kcc-muted); font-size: 13px; margin: 0 0 var(--kc-gap-xs, 1rem); }
.kcc-calc__lines { list-style: none; margin: 0 0 var(--kc-gap-xs, 1rem); padding: 0; border-top: 1px solid var(--kcc-line); }
.kcc-calc__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--kcc-line); font-size: 14px; }
.kcc-calc__lines li span:last-child { font-weight: 600; white-space: nowrap; }
.kcc-calc__lines li.kcc-calc__line--muted { color: var(--kcc-muted); }
.kcc-calc__empty { color: var(--kcc-muted); font-size: 14px; margin: 0 0 var(--kc-gap-xs, 1rem); }
.kcc-calc__actions { display: flex; flex-direction: column; gap: 8px; }
.kcc-calc a.kcc-calc__btn, .kcc-calc button.kcc-calc__btn { display: inline-flex !important; justify-content: center; align-items: center; width: 100%; padding: 12px 20px !important; border-radius: 999px !important; font-weight: 600 !important; font-size: 14px !important; line-height: 1.2; text-decoration: none !important; text-transform: none; border: 1px solid #111 !important; background: #111 !important; color: #fff !important; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.kcc-calc a.kcc-calc__btn:hover, .kcc-calc button.kcc-calc__btn:hover, .kcc-calc a.kcc-calc__btn:focus-visible, .kcc-calc button.kcc-calc__btn:focus-visible { background: var(--kcc-gold) !important; border-color: var(--kcc-gold) !important; color: #111 !important; }
.kcc-calc a.kcc-calc__btn--ghost, .kcc-calc button.kcc-calc__btn--ghost { background: transparent !important; color: #111 !important; }
.kcc-calc a.kcc-calc__btn--ghost:hover, .kcc-calc button.kcc-calc__btn--ghost:hover { background: #111 !important; color: #fff !important; border-color: #111 !important; }
.kcc-calc a.kcc-calc__btn[disabled], .kcc-calc button.kcc-calc__btn[disabled] { opacity: .45 !important; pointer-events: none; }
.kcc-calc__small { font-size: 12px; color: var(--kcc-faint); margin: var(--kc-gap-xs, 1rem) 0 0; line-height: 1.4; }
.kcc-calc__copied { font-size: 12px; color: var(--kcc-muted); text-align: center; min-height: 1.2em; }

.kcc-calc__form { display: flex; flex-direction: column; gap: 10px; }
.kcc-calc__form-title { margin: 0; font-weight: 700; }
.kcc-calc__form-note { margin: 0 0 4px; color: var(--kcc-muted); font-size: 13px; line-height: 1.4; }
.kcc-calc__field { display: flex; flex-direction: column; gap: 4px; }
.kcc-calc__field-label { font-size: 12px; font-weight: 600; color: var(--kcc-muted); }
.kcc-calc__field input, .kcc-calc__field textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--kcc-line); border-radius: var(--kc-radius-s, 8px); background: #fff; font: inherit; font-size: 14px; }
.kcc-calc__field textarea { min-height: 72px; resize: vertical; }
.kcc-calc__field input:focus, .kcc-calc__field textarea:focus { outline: 2px solid var(--kcc-gold); outline-offset: 1px; border-color: var(--kcc-gold); }
.kcc-calc__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.kcc-calc__check { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.kcc-calc__check input { width: 16px; height: 16px; accent-color: #111; margin: 0; }
.kcc-calc__error { margin: 0; min-height: 1.2em; color: #b3261e; font-size: 13px; }
.kcc-calc__saved { display: flex; flex-direction: column; gap: 8px; }
.kcc-calc__saved-label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--kcc-muted); }
.kcc-calc__saved-ref { margin: 0; font-size: var(--kc-text-2xl, 1.75rem); font-weight: 700; letter-spacing: .04em; }
.kcc-calc__saved-text { margin: 0 0 8px; font-size: 14px; line-height: 1.5; }
.kcc-calc__saved-text a { color: #111 !important; font-weight: 700; }

/* spacing within step 1 (body length + vehicle supply) */
.kcc-calc__bodies { margin-top: var(--kc-gap-m, 1.5rem) !important; }
.kcc-calc__bodies .kcc-calc__pills { margin-bottom: 4px; }
.kcc-calc__supply { margin-top: var(--kc-gap-s, 1.25rem); }
.kcc-calc__supply .kcc-calc__group-title { margin-top: var(--kc-gap-m, 1.5rem); }
.kcc-calc__supply .kcc-calc__extra { padding: 14px 4px; }
.kcc-calc__extra-note { margin-top: 4px; }
