/* Kito Impression : configurateur sur la fiche produit, thème sombre de kito.ch */
body.kitoimp-product form.variations_form .variations,
body.kitoimp-product form.variations_form .reset_variations,
body.kitoimp-product form.variations_form .single_variation_wrap,
body.kitoimp-product .summary .price { display: none !important; }
body.kitoimp-product { padding-bottom: 96px; }

.kitoimp {
  --k-ink: #F5F5F4; --k-soft: #A6A6AC; --k-faint: #707077; --k-line: #2A2A2F; --k-line2: #3B3B41;
  --k-raised: #141416; --k-raised2: #1C1C1F; --k-brick: #B0473F; --k-brick-soft: rgba(176, 71, 63, .18);
  --k-ok: #86BD96; --k-warn: #E3B566;
  color: var(--k-ink); font-size: 15px; line-height: 1.5; margin: 0 0 28px;
}
.kitoimp *, .kitoimp *::before, .kitoimp *::after { box-sizing: border-box; }
.kitoimp button, .kitoimp input, .kitoimp textarea { font: inherit; color: inherit; }
.kitoimp :focus-visible { outline: 2px solid var(--k-ink); outline-offset: 3px; }
.kitoimp__from { margin: 0 0 18px; font-weight: 600; }
.kitoimp__step { border-top: 1px solid var(--k-line); padding-block: 22px; display: grid; gap: 12px; }
.kitoimp__h { margin: 0; display: flex; gap: 12px; align-items: baseline; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--k-soft); }
.kitoimp__h span { color: var(--k-ink); }
.kitoimp__hint { margin: 0; font-size: 13px; color: var(--k-soft); max-width: 60ch; }
.kitoimp__sub { display: grid; gap: 8px; }
.kitoimp__subt { margin: 0; font-size: 13px; color: var(--k-soft); }
.kitoimp__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.kitoimp__opt { position: relative; display: grid; gap: 2px; text-align: left; padding: 12px 16px 12px 36px; border: 1px solid var(--k-line2); border-radius: 12px; background: transparent; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
.kitoimp__opt::before { content: ""; position: absolute; left: 14px; top: 17px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--k-faint); }
.kitoimp__opt:hover { border-color: var(--k-soft); }
.kitoimp__opt[aria-pressed="true"] { border-color: var(--k-ink); background: var(--k-raised2); }
.kitoimp__opt[aria-pressed="true"]::before { border-color: var(--k-brick); background: var(--k-brick); box-shadow: 0 0 0 3px var(--k-brick-soft); }
.kitoimp__opt:disabled { opacity: .4; cursor: not-allowed; }
.kitoimp__optn { font-weight: 700; font-size: 14.5px; }
.kitoimp__optd { font-size: 12.5px; color: var(--k-soft); }
.kitoimp__visuals { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.kitoimp__stepper { display: inline-flex; align-items: center; border: 1px solid var(--k-line2); border-radius: 999px; }
.kitoimp__stepper button { width: 42px; height: 42px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; }
.kitoimp__stepper button:disabled { color: var(--k-faint); cursor: not-allowed; }
.kitoimp__stepper output { min-width: 34px; text-align: center; font-weight: 700; }
.kitoimp__slots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kitoimp__slots.is-later .kitoimp__slot { opacity: .5; }
.kitoimp__slot { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 0; padding: 10px 10px 10px 14px; border: 1px dashed var(--k-line2); border-radius: 12px; }
.kitoimp__slot.is-ok { border-style: solid; border-color: rgba(134, 189, 150, .45); }
.kitoimp__slot.is-warn, .kitoimp__slot.is-error { border-style: solid; border-color: rgba(227, 181, 102, .5); }
.kitoimp__slotn { font-weight: 700; font-size: 13.5px; }
.kitoimp__slotmsg { font-size: 12.5px; color: var(--k-soft); overflow-wrap: anywhere; }
.kitoimp__slot.is-ok .kitoimp__slotmsg { color: var(--k-ok); }
.kitoimp__slot.is-warn .kitoimp__slotmsg, .kitoimp__slot.is-error .kitoimp__slotmsg { color: var(--k-warn); }
.kitoimp__slotact { display: flex; gap: 8px; }
.kitoimp__btn { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--k-line2); background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.kitoimp__btn:hover { border-color: var(--k-soft); }
.kitoimp__btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.kitoimp__btn:focus-within { outline: 2px solid var(--k-ink); outline-offset: 3px; }
.kitoimp__check { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--k-soft); cursor: pointer; }
.kitoimp__check input { width: 18px; height: 18px; accent-color: var(--k-brick); }
.kitoimp__notes { width: 100%; min-height: 84px; padding: 10px 12px; border: 1px solid var(--k-line2); border-radius: 12px; background: transparent; resize: vertical; }
.kitoimp__when { margin: 0; font-size: 14px; }
.kitoimp__when b { font-weight: 700; }
.kitoimp__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.kitoimp__table th { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--k-soft); text-align: right; padding: 12px 16px; border-bottom: 1px solid var(--k-line); }
.kitoimp__table th:first-child, .kitoimp__table td:first-child { text-align: left; }
.kitoimp__table td { padding: 12px 16px; text-align: right; border-bottom: 1px solid var(--k-line); }
.kitoimp__table tr:last-child td { border-bottom: 0; }
.kitoimp__table tbody tr { cursor: pointer; }
.kitoimp__table tbody tr:hover { background: var(--k-raised); }
.kitoimp__table tbody tr.is-on { background: var(--k-raised2); box-shadow: inset 3px 0 0 var(--k-brick); }
.kitoimp__table tbody tr.is-off { opacity: .4; cursor: not-allowed; }
.kitoimp__table label { display: flex; align-items: center; gap: 10px; font-weight: 700; cursor: pointer; }
.kitoimp__table input[type="radio"] { accent-color: var(--k-brick); width: 16px; height: 16px; margin: 0; }
.kitoimp__foot { margin: 0; font-size: 12.5px; color: var(--k-soft); }

.kitoimp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; background: rgba(11, 11, 12, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid #2A2A2F; padding-inline: clamp(16px, 4vw, 48px); color: #F5F5F4; }
.kitoimp-bar__in { max-width: 1180px; margin: 0 auto; padding-block: 12px; display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.kitoimp-bar__cfg { flex: 1 1 260px; min-width: 0; margin: 0; font-size: 13px; color: #A6A6AC; }
.kitoimp-bar__cfg b { color: #F5F5F4; }
.kitoimp-bar__tot { display: grid; justify-items: end; line-height: 1.15; }
.kitoimp-bar__tot strong { font-weight: 800; font-size: 22px; }
.kitoimp-bar__tot small { font-size: 12px; color: #A6A6AC; }
.kitoimp-bar__cta { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: #F5F5F4; color: #0B0B0C; font-weight: 700; font-size: 15px; cursor: pointer; }
.kitoimp-bar__cta:disabled { opacity: .5; cursor: progress; }
.kitoimp-bar__msg { flex-basis: 100%; margin: 0; font-size: 13px; color: #E3B566; }
.kitoimp-bar__msg:empty { display: none; }
@media (max-width: 640px) {
  .kitoimp__slot { grid-template-columns: minmax(0, 1fr) auto; }
  .kitoimp__slotmsg { grid-column: 1 / -1; order: 3; }
  .kitoimp-bar__cfg { display: none; }
  .kitoimp-bar__in { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .kitoimp *, .kitoimp-bar * { transition: none !important; } }
/* Thème Ohio : sa barre d'achat collante recouvre la barre du configurateur et son bouton contourne le configurateur. */
body.kitoimp-product .sticky-product { display: none !important; }
/* Thème Ohio : ses cases à cocher s'animent pendant 0,35 s, ce qui donnait une case BAT lente. */
.kitoimp .kitoimp__check input[type="checkbox"] { transition: none !important; }
/* Chantier 3 : un bloc par visuel, une ligne par face, aperçu sous les lignes. */
.kitoimp__slots { gap: 12px; }
.kitoimp__visual { list-style: none; margin: 0; display: grid; gap: 10px; padding: 14px; border: 1px solid var(--k-line); border-radius: 16px; background: rgba(20, 20, 22, .55); }
.kitoimp__visualt { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--k-soft); }
.kitoimp__faces { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (max-width: 640px) { .kitoimp__visual { padding: 12px; } }
/* Chantier 4 : taille libre, quantité par visuel, bouton de devis. */
.kitoimp [hidden] { display: none !important; }
.kitoimp__size { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; }
.kitoimp__field { display: grid; gap: 6px; font-size: 12.5px; color: var(--k-soft); }
.kitoimp__field input, .kitoimp__qty input { min-height: 44px; padding: 0 12px; border: 1px solid var(--k-line2); border-radius: 12px; background: var(--k-raised); color: var(--k-ink); font: inherit; font-weight: 700; font-size: 16px; }
.kitoimp__field input { width: 118px; }
.kitoimp__qty { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--k-soft); }
.kitoimp__qty input { width: 92px; text-align: right; }
.kitoimp__field input:focus-visible, .kitoimp__qty input:focus-visible { outline: 2px solid var(--k-ink); outline-offset: 2px; }
.kitoimp__times { padding-bottom: 12px; color: var(--k-faint); }
.kitoimp__note { margin: 0; padding: 10px 14px; border: 1px solid var(--k-line); border-radius: 12px; background: var(--k-raised); font-size: 13px; color: var(--k-soft); max-width: 64ch; }
.kitoimp__note:empty { display: none; }
.kitoimp__note.is-warn { border-color: rgba(227, 181, 102, .45); color: var(--k-warn); }
.kitoimp__note.is-bad { border-color: rgba(228, 131, 120, .5); color: #E48378; }
.kitoimp__visualh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.kitoimp-bar__cta.is-quote { background: transparent; color: #F5F5F4; box-shadow: inset 0 0 0 1.5px #F5F5F4; }
