/* CopyKlar Calculator - public UI.
   Fully self-contained: every rule hangs off #ck-calc (ID specificity beats the Elementor kit's
   element rules such as `.elementor-kit-5 button:hover`), and every control is reset with `all: unset`
   before our own styling is applied. Nothing from the theme reaches inside the calculator. */

#ck-calc {
	--ck-primary: #4DF5E9;
	--ck-primary-soft: rgba(77, 245, 233, .16);
	--ck-teal: #0AA79B;
	--ck-dark: #121212;
	--ck-muted: #737373;
	--ck-surface: #FFFFFF;
	--ck-ground: #F7F7F7;
	--ck-line: #E6E6E6;
	--ck-danger: #D63638;
	max-width: 1140px;
	margin: 0 auto;
	scroll-margin-top: 96px;
	color: var(--ck-dark);
	font-family: "Poppins", system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	text-align: left;
}
#ck-calc *, #ck-calc *::before, #ck-calc *::after { box-sizing: border-box; }
#ck-calc [hidden] { display: none !important; } /* our display:flex rules must not defeat the hidden attribute */
/* reload while configuring: <head> adds html.ck-resume when a saved configuration exists; the list stays hidden until the JS shows step 2 */
html.ck-resume #ck-calc .ck-step1 { display: none !important; }
html.ck-resume #ck-calc .ck-progress { visibility: hidden; }
html.ck-resume #ck-calc { min-height: 70vh; }

/* ---- hard reset of anything the theme/Elementor styles globally ---- */
#ck-calc button,
#ck-calc select,
#ck-calc textarea,
#ck-calc input:not([type="checkbox"]):not([type="file"]),
#ck-calc a {
	all: unset;
	box-sizing: border-box;
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	white-space: normal;
}
#ck-calc h3, #ck-calc h4, #ck-calc p, #ck-calc ul, #ck-calc li, #ck-calc label, #ck-calc small, #ck-calc strong, #ck-calc em, #ck-calc b, #ck-calc i {
	margin: 0; padding: 0; font-family: inherit; text-transform: none; letter-spacing: 0;
}
#ck-calc ul { list-style: none; }
#ck-calc svg { display: block; }
#ck-calc button, #ck-calc a, #ck-calc [role="button"], #ck-calc label { cursor: pointer; }
#ck-calc button:disabled { cursor: not-allowed; }
#ck-calc button:focus-visible, #ck-calc a:focus-visible, #ck-calc select:focus-visible, #ck-calc input:focus-visible, #ck-calc textarea:focus-visible {
	outline: 2px solid var(--ck-teal); outline-offset: 2px;
}

/* ---- intro + step headers ---- */
#ck-calc .ck-intro { color: var(--ck-muted); margin: 0 0 8px; font-size: 16px; }
#ck-calc .ck-step { display: flex; align-items: center; gap: 14px; margin: 34px 0 16px; }
#ck-calc .ck-step-n { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; background: var(--ck-dark); color: var(--ck-primary); font-size: 17px; font-weight: 700; display: grid; place-items: center; letter-spacing: 0; text-transform: none; line-height: 1; }
#ck-calc .ck-step h3 { font-size: 22px; font-weight: 700; color: var(--ck-dark); line-height: 1.2; }
#ck-calc .ck-step-row { flex-wrap: wrap; margin-top: 4px; }
#ck-calc .ck-back {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
	padding: 12px 18px; border-radius: 999px; border: 1.5px solid transparent; background: var(--ck-primary);
	font-size: 14.5px; font-weight: 600; color: var(--ck-dark); transition: filter .15s, transform .12s;
}
#ck-calc .ck-back svg { width: 16px; height: 16px; }
#ck-calc .ck-back:hover { background: var(--ck-primary); color: var(--ck-dark); filter: brightness(.95); transform: translateY(-1px); }
/* „Schimbă serviciul" above the step 2 title: the same pill, sized to its text instead of filling the row. */
#ck-calc .ck-back.ck-change { display: flex; width: fit-content; max-width: 100%; margin: 0 0 16px; }

/* ---- progress: 1 Serviciu · 2 Configurare · 3 Coș · 4 Finalizare ---- */
#ck-calc .ck-progress { display: flex; align-items: center; gap: 0; margin: 0 0 22px; padding: 0; list-style: none; counter-reset: none; }
#ck-calc .ck-progress li { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; }
#ck-calc .ck-progress li:not(:last-child)::after { content: ""; flex: 1 1 auto; height: 2px; margin: 0 10px; background: var(--ck-line); border-radius: 2px; }
#ck-calc .ck-progress li:last-child { flex: 0 0 auto; }
#ck-calc .ck-prog-step { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--ck-muted); white-space: nowrap; text-decoration: none; }
#ck-calc button.ck-prog-step { cursor: pointer; }
#ck-calc button.ck-prog-step:hover .ck-prog-label, #ck-calc a.ck-prog-step:hover .ck-prog-label { color: var(--ck-dark); text-decoration: underline; text-underline-offset: 3px; }
#ck-calc .ck-prog-n { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--ck-line); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ck-muted); background: var(--ck-surface); flex: 0 0 auto; }
#ck-calc .ck-prog-n svg { width: 13px; height: 13px; }
#ck-calc .ck-prog-step.is-current { color: var(--ck-dark); font-weight: 600; }
#ck-calc .ck-prog-step.is-current .ck-prog-n { background: var(--ck-dark); border-color: var(--ck-dark); color: var(--ck-primary); }
#ck-calc .ck-prog-step.is-done .ck-prog-n { background: var(--ck-primary); border-color: var(--ck-primary); color: var(--ck-dark); }
#ck-calc .ck-prog-step.is-done { color: var(--ck-dark); }

/* ---- cart bar: shown on both screens once the WooCommerce cart has something in it ---- */
#ck-calc .ck-cartbar {
	display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
	background: var(--ck-dark); color: #fff; border-radius: 14px; padding: 12px 16px; margin: 0 0 22px;
}
#ck-calc .ck-cartbar-ico { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.08); color: var(--ck-primary); display: grid; place-items: center; }
#ck-calc .ck-cartbar-ico svg { width: 20px; height: 20px; }
#ck-calc .ck-cartbar-text { font-size: 14.5px; color: rgba(255,255,255,.75); }
#ck-calc .ck-cartbar-text b { color: #fff; font-weight: 600; }
#ck-calc .ck-cartbar-min { display: block; font-size: 12.5px; color: var(--ck-primary); margin-top: 2px; }
#ck-calc .ck-cartbar-actions { margin-left: auto; display: inline-flex; gap: 8px; flex-wrap: wrap; }
#ck-calc .ck-btn-sm { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; transition: background .15s; }
#ck-calc .ck-btn-sm:hover { background: rgba(255,255,255,.18); color: #fff; }
#ck-calc .ck-btn-sm-primary, #ck-calc .ck-btn-sm-primary:hover { background: var(--ck-primary); color: var(--ck-dark); }

/* ---- service grid ---- */
#ck-calc .ck-services { display: flex; flex-direction: column; gap: 10px; }
#ck-calc .ck-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 14px; }
#ck-calc .ck-cat { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ck-muted); margin: 6px 0 0; }
#ck-calc .ck-svc-price { display: block; margin-top: 4px; font-size: 12px; color: var(--ck-muted); }
#ck-calc .ck-svc-price b { color: var(--ck-teal); font-weight: 600; }
#ck-calc .ck-svc {
	position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 84px;
	background: var(--ck-surface); border: 1.5px solid var(--ck-line); border-radius: 16px;
	padding: 14px 16px; text-align: left; color: var(--ck-dark);
	transition: border-color .15s, box-shadow .15s, transform .12s, background .15s;
}
#ck-calc .ck-svc:hover { background: var(--ck-surface); color: var(--ck-dark); border-color: #BDBDBD; transform: translateY(-2px); box-shadow: 0 10px 24px -18px rgba(18,18,18,.35); }
#ck-calc .ck-svc.is-sel, #ck-calc .ck-svc.is-sel:hover { border-color: var(--ck-primary); background: rgba(77,245,233,.08); box-shadow: 0 0 0 1.5px var(--ck-primary); }
#ck-calc .ck-svc.is-off { opacity: .55; cursor: not-allowed; }
#ck-calc .ck-svc.is-off:hover { transform: none; box-shadow: none; border-color: var(--ck-line); }
#ck-calc .ck-svc-icon {
	position: relative; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 13px;
	display: grid; place-items: center; background: var(--ck-primary-soft); color: var(--ck-dark); transition: background .15s;
}
#ck-calc .ck-svc.is-sel .ck-svc-icon { background: var(--ck-primary); }
#ck-calc .ck-svc-icon svg { width: 24px; height: 24px; }
/* A product picture gets the whole tile and no tinted square behind it - it carries its own (white) background. */
#ck-calc .ck-svc-icon.has-img, #ck-calc .ck-svc.is-sel .ck-svc-icon.has-img { flex-basis: 56px; width: 56px; height: 56px; border-radius: 12px; background: transparent; }
#ck-calc .ck-icon-img { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; display: block; }
#ck-calc .ck-svc-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
#ck-calc .ck-svc-name { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
#ck-calc .ck-svc-sub {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
	font-size: 12px; color: var(--ck-muted); line-height: 1.4; overflow-wrap: anywhere;
}
#ck-calc .ck-svc-soon { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9a9a9a; }
#ck-calc .ck-svc-check {
	position: absolute; right: -7px; bottom: -7px; width: 22px; height: 22px; border-radius: 50%;
	background: var(--ck-dark); color: var(--ck-primary); display: grid; place-items: center; border: 2px solid var(--ck-surface);
}
#ck-calc .ck-svc-check svg { width: 12px; height: 12px; }

/* ---- banner under the service list: „Nu regăsești produsul dorit în listă?" -> WhatsApp ---- */
#ck-calc .ck-banner {
	position: relative; overflow: hidden; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
	margin: 28px 0 0; padding: 26px 30px; border-radius: 20px;
	background: linear-gradient(90deg, rgba(77,245,233,.18), rgba(77,245,233,.08));
}
#ck-calc .ck-banner::before { content: ""; position: absolute; left: -30px; top: -50px; width: 130px; height: 130px; border-radius: 50%; background: rgba(77,245,233,.28); pointer-events: none; }
#ck-calc .ck-banner-ico { position: relative; flex: 0 0 62px; width: 62px; height: 62px; border-radius: 50%; background: rgba(77,245,233,.55); color: var(--ck-dark); display: grid; place-items: center; }
#ck-calc .ck-banner-ico svg { width: 30px; height: 30px; }
#ck-calc .ck-banner-text { position: relative; flex: 1 1 200px; min-width: 0; }
#ck-calc .ck-banner-text h4 { font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--ck-dark); margin: 0 0 4px; }
#ck-calc .ck-banner-text p { font-size: 15px; line-height: 1.5; color: var(--ck-muted); margin: 0; }
#ck-calc .ck-banner-btn {
	position: relative; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 24px; border-radius: 999px; background: #1DAE5C; color: #fff; font-size: 14.5px; font-weight: 600;
	text-decoration: none; text-align: center; box-shadow: 0 12px 24px -14px rgba(29,174,92,.8); transition: transform .12s, filter .15s;
}
#ck-calc .ck-banner-btn:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
#ck-calc .ck-banner-btn svg { width: 22px; height: 22px; flex: 0 0 auto; }

/* ---- two columns: form + sticky summary ---- */
#ck-calc .ck-config { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
#ck-calc .ck-form {
	background: var(--ck-surface); border: 1.5px solid var(--ck-line); border-radius: 20px;
	padding: 26px; display: flex; flex-direction: column; gap: 22px; min-width: 0;
}
#ck-calc .ck-form-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--ck-line); }
#ck-calc .ck-form-icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--ck-primary); color: var(--ck-dark); display: grid; place-items: center; }
#ck-calc .ck-form-icon svg { width: 24px; height: 24px; }
#ck-calc .ck-form-icon.has-img { flex-basis: 54px; width: 54px; height: 54px; background: transparent; }
#ck-calc .ck-form-head h4 { font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--ck-dark); }
#ck-calc .ck-form-head p { margin: 3px 0 0; color: var(--ck-muted); font-size: 13.5px; }
#ck-calc .ck-form-title { flex: 1 1 auto; min-width: 0; }

#ck-calc .ck-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ck-dark); }
#ck-calc .ck-label span { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--ck-muted); }

#ck-calc .ck-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
#ck-calc .ck-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
#ck-calc .ck-field label { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ck-dark); }
#ck-calc .ck-field label i { color: var(--ck-danger); font-style: normal; }
#ck-calc .ck-field label em { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ck-muted); }
#ck-calc .ck-field select, #ck-calc .ck-field input.ck-num, #ck-calc .ck-field textarea {
	display: block; width: 100%; font-size: 15px; color: var(--ck-dark);
	background: var(--ck-surface); border: 1.5px solid #DADADA; border-radius: 12px;
	padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
#ck-calc .ck-field select {
	appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
	background-repeat: no-repeat; background-position: right 14px center;
}
#ck-calc .ck-field textarea { resize: vertical; min-height: 92px; white-space: pre-wrap; overflow: auto; }
#ck-calc .ck-field select:hover, #ck-calc .ck-field input.ck-num:hover, #ck-calc .ck-field textarea:hover { border-color: #B9B9B9; }
#ck-calc .ck-field select:focus, #ck-calc .ck-field input.ck-num:focus, #ck-calc .ck-field textarea:focus { outline: none; border-color: var(--ck-teal); box-shadow: 0 0 0 4px var(--ck-primary-soft); }
#ck-calc .ck-field ::placeholder { color: #A3A3A3; }

/* ---- quantity stepper: [−] number [+] ---- */
#ck-calc .ck-stepper { display: flex; align-items: stretch; border: 1.5px solid #DADADA; border-radius: 12px; overflow: hidden; background: var(--ck-surface); transition: border-color .15s, box-shadow .15s; }
#ck-calc .ck-stepper:hover { border-color: #B9B9B9; }
#ck-calc .ck-stepper:focus-within { border-color: var(--ck-teal); box-shadow: 0 0 0 4px var(--ck-primary-soft); }
#ck-calc .ck-stepper-btn { flex: 0 0 48px; display: grid; place-items: center; font-size: 22px; line-height: 1; color: var(--ck-dark); background: var(--ck-ground); user-select: none; transition: background .15s, color .15s; }
#ck-calc .ck-stepper-btn:hover:not(:disabled) { background: var(--ck-primary-soft); }
#ck-calc .ck-stepper-btn:disabled { color: #C8C8C8; background: var(--ck-ground); cursor: not-allowed; }
#ck-calc .ck-stepper-btn:focus-visible { outline-offset: -3px; }
#ck-calc .ck-field .ck-stepper input.ck-num { border: 0; border-radius: 0; text-align: center; font-weight: 600; font-size: 17px; padding: 11px 6px; min-width: 0; flex: 1 1 auto; }
#ck-calc .ck-field .ck-stepper input.ck-num:hover, #ck-calc .ck-field .ck-stepper input.ck-num:focus { border-color: transparent; box-shadow: none; }
#ck-calc .ck-stepper input::-webkit-outer-spin-button, #ck-calc .ck-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---- option chips (attributes with few values) ---- */
#ck-calc .ck-field-wide { grid-column: 1 / -1; }
#ck-calc .ck-chips { display: flex; flex-wrap: wrap; gap: 8px; }
#ck-calc .ck-chip {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 46px;
	padding: 8px 16px; border-radius: 12px; border: 1.5px solid #DADADA; background: var(--ck-surface); color: var(--ck-dark);
	font-size: 14.5px; font-weight: 500; line-height: 1.2; text-align: center; transition: border-color .15s, background .15s, box-shadow .15s, transform .12s;
}
#ck-calc .ck-chip:hover:not(:disabled) { border-color: var(--ck-dark); transform: translateY(-1px); }
#ck-calc .ck-chip.is-on, #ck-calc .ck-chip.is-on:hover { border-color: var(--ck-teal); background: rgba(77,245,233,.12); box-shadow: 0 0 0 1.5px var(--ck-teal); font-weight: 600; }
#ck-calc .ck-chip.is-off { opacity: .5; border-style: dashed; color: var(--ck-muted); }
#ck-calc .ck-chip.is-off:hover { opacity: 1; border-style: solid; color: var(--ck-dark); }
#ck-calc .ck-chip.is-off .ck-chip-p { display: none; }
#ck-calc .ck-chip-p { font-size: 11.5px; font-weight: 500; color: var(--ck-muted); }
#ck-calc .ck-chip.is-on .ck-chip-p { color: var(--ck-teal); }
#ck-calc .ck-chip:focus-visible { outline: 2px solid var(--ck-teal); outline-offset: 2px; }

/* ---- hint under a field (quote by mail / WhatsApp above the online maximum) ---- */
#ck-calc .ck-hint { font-size: 12.5px; line-height: 1.5; color: var(--ck-muted); margin-top: 2px; }
#ck-calc .ck-hint a { color: var(--ck-teal); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
#ck-calc .ck-hint a:hover { color: var(--ck-dark); }
#ck-calc .ck-field-mods .ck-chip { min-width: 120px; }

/* ---- quick quantities ---- */
#ck-calc .ck-presets { display: flex; flex-wrap: wrap; gap: 6px; }
#ck-calc .ck-preset { padding: 5px 12px; border-radius: 999px; border: 1.5px solid var(--ck-line); background: var(--ck-surface); color: var(--ck-muted); font-size: 12.5px; font-weight: 600; transition: border-color .15s, color .15s, background .15s; }
#ck-calc .ck-preset:hover { border-color: var(--ck-dark); color: var(--ck-dark); }
#ck-calc .ck-preset.is-on { background: var(--ck-dark); border-color: var(--ck-dark); color: var(--ck-primary); }

/* ---- modifiers ---- */
#ck-calc .ck-mods { display: flex; flex-direction: column; gap: 10px; }
#ck-calc .ck-mod { display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; padding: 10px 12px; border: 1.5px solid var(--ck-line); border-radius: 12px; text-transform: none; letter-spacing: 0; font-weight: 400; }
#ck-calc .ck-mod:hover { border-color: #B9B9B9; }
#ck-calc .ck-mod input { width: 18px; height: 18px; accent-color: var(--ck-teal); margin: 0; }
#ck-calc .ck-mod em { font-style: normal; color: var(--ck-muted); font-size: 13px; margin-left: 6px; }

/* ---- upload ---- */
#ck-calc .ck-upload { display: flex; flex-direction: column; gap: 10px; }
#ck-calc .ck-drop {
	display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
	border: 1.5px dashed #C8C8C8; border-radius: 16px; padding: 22px 16px; background: var(--ck-ground);
	color: var(--ck-muted); cursor: pointer; transition: border-color .15s, background .15s;
}
#ck-calc .ck-drop-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--ck-surface); color: var(--ck-teal); display: grid; place-items: center; border: 1.5px solid var(--ck-line); }
#ck-calc .ck-drop-icon svg { width: 22px; height: 22px; }
#ck-calc .ck-drop-text { font-size: 14.5px; color: var(--ck-dark); }
#ck-calc .ck-drop small { display: block; font-size: 12px; color: #9a9a9a; }
#ck-calc .ck-drop.is-over, #ck-calc .ck-drop:hover { border-color: var(--ck-teal); background: rgba(77,245,233,.08); }
#ck-calc .ck-file-list { display: flex; flex-direction: column; gap: 6px; }
#ck-calc .ck-file-list:empty { display: none; }
#ck-calc .ck-file { display: flex; align-items: center; gap: 10px; font-size: 13.5px; background: var(--ck-surface); border: 1.5px solid var(--ck-line); border-radius: 10px; padding: 9px 12px; }
#ck-calc .ck-file.is-done { border-color: rgba(10,167,155,.45); }
#ck-calc .ck-file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#ck-calc .ck-file-size { color: var(--ck-muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
#ck-calc .ck-file-bar { flex: 0 0 110px; height: 6px; background: #E4E4E4; border-radius: 4px; overflow: hidden; }
#ck-calc .ck-file-bar i { display: block; height: 100%; background: var(--ck-teal); transition: width .2s; }
#ck-calc .ck-file-pct { font-size: 12px; color: var(--ck-muted); min-width: 36px; text-align: right; font-variant-numeric: tabular-nums; }
#ck-calc .ck-file-x { display: inline-block; color: var(--ck-muted); font-size: 20px; line-height: 1; padding: 0 6px; border-radius: 6px; }
#ck-calc .ck-file-x:hover { color: var(--ck-danger); background: rgba(214,54,56,.08); }

/* ---- summary card (dark) + „Alege alt serviciu" under it: the whole column is sticky ---- */
#ck-calc .ck-side { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
#ck-calc .ck-summary {
	background: var(--ck-dark); color: #fff; border-radius: 20px; padding: 24px;
	display: flex; flex-direction: column; gap: 18px;
	box-shadow: 0 24px 50px -30px rgba(18,18,18,.6);
}
#ck-calc .ck-sum-head { display: flex; align-items: center; gap: 12px; }
#ck-calc .ck-sum-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); color: var(--ck-primary); display: grid; place-items: center; }
#ck-calc .ck-sum-icon svg { width: 22px; height: 22px; }
/* On the dark summary the picture sits on its own white plate, so it does not float on the dark panel. */
#ck-calc .ck-sum-icon.has-img { background: #fff; padding: 3px; }
#ck-calc .ck-sum-icon.has-img .ck-icon-img { border-radius: 8px; }
#ck-calc .ck-sum-head small { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); font-weight: 600; }
#ck-calc .ck-sum-head b { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; color: #fff; }
#ck-calc .ck-sum-list { display: flex; flex-direction: column; gap: 7px; }
#ck-calc .ck-sum-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; }
#ck-calc .ck-sum-list span { color: rgba(255,255,255,.6); }
#ck-calc .ck-sum-list b { font-weight: 500; text-align: right; color: #fff; }
#ck-calc .ck-sum-list b.is-empty { color: rgba(255,255,255,.3); }
#ck-calc .ck-sum-price { border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
#ck-calc .ck-sum-hint { font-size: 13px; color: rgba(255,255,255,.6); }
#ck-calc .ck-sum-hint a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
#ck-calc .ck-sum-hint a:hover { color: var(--ck-primary); }
#ck-calc .ck-sum-extra b { color: var(--ck-primary); }
#ck-calc .ck-sum-row { display: flex; justify-content: space-between; font-size: 13.5px; color: rgba(255,255,255,.7); }
#ck-calc .ck-sum-row b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
#ck-calc .ck-sum-calc b { color: rgba(255,255,255,.75); font-size: 12.5px; }
#ck-calc .ck-sum-hint b { color: #fff; font-weight: 600; }
#ck-calc .ck-sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
#ck-calc .ck-sum-total span { font-weight: 600; font-size: 15px; color: #fff; }
#ck-calc .ck-sum-total small { display: block; font-weight: 400; font-size: 11.5px; color: rgba(255,255,255,.55); }
#ck-calc .ck-sum-total b { font-size: 28px; font-weight: 700; color: var(--ck-primary); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
#ck-calc .ck-sum-action { display: flex; flex-direction: column; gap: 10px; }

#ck-calc .ck-agree {
	display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; cursor: pointer;
	background: rgba(255,90,95,.12); border: 1.5px solid rgba(255,90,95,.55); border-radius: 12px; padding: 11px 13px; color: #FFD3D4;
	font-weight: 400; text-transform: none; letter-spacing: 0;
}
#ck-calc .ck-agree strong { color: #FF8A8E; font-weight: 700; }
#ck-calc .ck-agree input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #FF5A5F; flex: 0 0 auto; }
#ck-calc .ck-agree.is-error { border-color: #FF5A5F; box-shadow: 0 0 0 3px rgba(255,90,95,.25); }

/* ---- buttons: pill, like the site's CTA ---- */
#ck-calc .ck-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
	font-size: 15px; font-weight: 600; border-radius: 999px; padding: 14px 22px; text-align: center;
	border: 1.5px solid transparent; text-decoration: none; transition: transform .12s, filter .15s, background .15s;
}
#ck-calc .ck-btn:hover:not(:disabled) { transform: translateY(-1px); }
#ck-calc .ck-btn-primary, #ck-calc .ck-btn-primary:hover { background: var(--ck-primary); color: var(--ck-dark); }
#ck-calc .ck-btn-primary:hover:not(:disabled) { filter: brightness(.95); }
#ck-calc .ck-btn-primary:disabled { background: rgba(255,255,255,.12); color: rgba(255,255,255,.4); filter: none; transform: none; }
#ck-calc .ck-btn-light, #ck-calc .ck-btn-light:hover { background: #fff; color: var(--ck-dark); }
#ck-calc .ck-btn-ghost, #ck-calc .ck-btn-ghost:hover { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
#ck-calc .ck-btn-ghost:hover { border-color: #fff; }
#ck-calc .ck-links { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: rgba(255,255,255,.55); text-align: center; }
#ck-calc .ck-link { display: inline; color: #fff; font-size: 13px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; padding: 2px; }
#ck-calc .ck-link:hover { color: var(--ck-primary); }
#ck-calc .ck-done { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ck-primary); font-size: 15px; }
#ck-calc .ck-done-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--ck-primary); color: var(--ck-dark); display: grid; place-items: center; }
#ck-calc .ck-done-ico svg { width: 14px; height: 14px; }

#ck-calc .ck-msg { font-size: 13px; line-height: 1.5; }
#ck-calc .ck-msg:empty { display: none; }
#ck-calc .ck-msg.is-error { color: #FF8A8E; }
#ck-calc .ck-msg.is-ok { color: var(--ck-primary); }

/* ---- mobile sticky total + CTA (only under 900px, only on screen 2, hidden while the summary card is on screen) ---- */
#ck-calc .ck-mobilebar {
	display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; align-items: center; gap: 12px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--ck-dark); color: #fff;
	box-shadow: 0 -12px 30px -18px rgba(18,18,18,.6); transition: transform .2s;
}
#ck-calc .ck-mobilebar.is-covered { transform: translateY(110%); }
#ck-calc .ck-mbar-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
#ck-calc .ck-mbar-info small { font-size: 11px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
#ck-calc .ck-mbar-info b { font-size: 20px; font-weight: 700; color: var(--ck-primary); font-variant-numeric: tabular-nums; }
#ck-calc .ck-mbar-btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 999px; background: var(--ck-primary); color: var(--ck-dark); font-weight: 600; font-size: 15px; text-decoration: none; }
#ck-calc .ck-mbar-btn.is-secondary { background: rgba(255,255,255,.12); color: #fff; }
#ck-calc .ck-mbar-btn:disabled { opacity: .5; }
#ck-calc .ck-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* WooCommerce cart line for calculator items */
.ck-qty-locked { display: inline-block; min-width: 2em; text-align: center; }

@media (max-width: 900px) {
	#ck-calc .ck-config { grid-template-columns: 1fr; }
	#ck-calc .ck-side { position: static; }
	#ck-calc .ck-banner-btn { width: 100%; }
	#ck-calc .ck-mobilebar:not([hidden]) { display: flex; }
	#ck-calc.is-step2 { padding-bottom: 84px; }
	#ck-calc .ck-progress li:not(:last-child)::after { margin: 0 6px; }
}
@media (max-width: 640px) {
	#ck-calc .ck-fields { grid-template-columns: 1fr; }
	#ck-calc .ck-form { padding: 18px; border-radius: 16px; }
	#ck-calc .ck-summary { padding: 20px; border-radius: 16px; }
	#ck-calc .ck-svc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	#ck-calc .ck-prog-label { display: none; }
	#ck-calc .ck-prog-step.is-current .ck-prog-label { display: inline; }
	#ck-calc .ck-chip { padding: 8px 12px; font-size: 13.5px; }
	#ck-calc .ck-svc { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; min-height: 0; }
	#ck-calc .ck-banner { padding: 22px 18px; gap: 14px; border-radius: 16px; margin-top: 22px; }
	#ck-calc .ck-banner-ico { flex-basis: 52px; width: 52px; height: 52px; }
	#ck-calc .ck-banner-ico svg { width: 26px; height: 26px; }
	#ck-calc .ck-banner-text { flex-basis: 160px; }
	#ck-calc .ck-banner-text h4 { font-size: 19px; }
	#ck-calc .ck-banner-text p { font-size: 14px; }
	#ck-calc .ck-step h3 { font-size: 19px; }
	#ck-calc .ck-cartbar-actions { margin-left: 0; width: 100%; }
	#ck-calc .ck-cartbar-actions .ck-btn-sm { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
	#ck-calc .ck-svc, #ck-calc .ck-btn, #ck-calc .ck-file-bar i { transition: none; }
}
