/* IBworks Séparateurs : configurateur de la fiche produit (couleurs du thème Atelier si présent). */
.ibw-sep { margin: 8px 0 48px; scroll-margin-top: 24px; }
.ibw-sep__head h2 { margin: 0 0 6px; }
.ibw-sep__head p { margin: 0 0 18px; color: var(--at-muted, #6b625a); max-width: 70ch; }
.ibw-sep__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.ibw-sep__ctl fieldset { border: 0; margin: 0 0 16px; padding: 0; min-width: 0; }
.ibw-sep__ctl legend { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--at-muted, #6b625a); margin-bottom: 6px; padding: 0; }
.ibw-sep__dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ibw-sep__dims label { font-size: 12px; color: var(--at-muted, #6b625a); display: grid; gap: 3px; }
.ibw-sep__dims input { width: 100%; box-sizing: border-box; font: inherit; font-family: var(--at-mono, monospace); font-size: 14px; padding: 7px 6px; border: 1px solid var(--at-line, #cfc8bf); border-radius: 10px; background: var(--at-chip, #fff); color: var(--at-fg, #211d1a); }
.ibw-sep__seg { display: flex; border: 1px solid var(--at-line, #cfc8bf); border-radius: 999px; overflow: hidden; background: var(--at-chip, #fff); }
.ibw-sep__seg button { flex: 1; border: 0; background: none; font: inherit; font-size: 13px; padding: 7px 4px; cursor: pointer; color: inherit; }
.ibw-sep__seg button.is-on { background: var(--at-fg, #211d1a); color: var(--at-bg, #f6f3ee); }
.ibw-sep__mods { display: flex; flex-wrap: wrap; gap: 6px; }
.ibw-sep__mods button { border: 1px solid var(--at-line, #cfc8bf); background: var(--at-chip, #fff); color: inherit; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; }
.ibw-sep__mods button.is-on { border-color: var(--at-fg, #211d1a); box-shadow: inset 0 0 0 1px var(--at-fg, #211d1a); }
.ibw-sep__ess { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.ibw-sep__ess button { border: 1px solid var(--at-line, #cfc8bf); background: var(--at-chip, #fff); color: inherit; border-radius: 12px; padding: 8px; text-align: left; font: inherit; font-size: 13px; cursor: pointer; }
.ibw-sep__ess i { display: block; height: 18px; border-radius: 6px; margin-bottom: 5px; border: 1px solid rgba(0, 0, 0, .08); }
.ibw-sep__ess b { display: block; }
.ibw-sep__ess small { font-family: var(--at-mono, monospace); color: var(--at-muted, #6b625a); }
.ibw-sep__ess button.is-on { border: 2px solid var(--at-fg, #211d1a); padding: 7px; }
.ibw-sep button:focus-visible, .ibw-sep input:focus-visible { outline: 2px solid var(--at-accent, #b8651d); outline-offset: 2px; }
.ibw-sep__hint { margin: 0 0 8px; font-size: 13px; color: var(--at-muted, #6b625a); }
.ibw-sep__plan { width: 100%; height: auto; max-height: 70vh; display: block; background: var(--at-panel, #efeae3); border-radius: 18px; user-select: none; -webkit-user-select: none; }
.ibw-sep__plan .b { fill: var(--at-bg, #f6f3ee); stroke: var(--at-fg, #211d1a); }
.ibw-sep__plan .g { stroke: var(--at-line, #cfc8bf); }
.ibw-sep__plan .s { stroke: var(--at-fg, #211d1a); }
.ibw-sep__plan .c { stroke: var(--at-accent, #b8651d); }
.ibw-sep__plan .r { stroke: #a8743f; }
.ibw-sep__plan .hit { stroke: var(--at-accent, #b8651d); stroke-opacity: 0; cursor: pointer; }
.ibw-sep__plan .hit:hover { stroke-opacity: .25; }
.ibw-sep__plan text { fill: var(--at-muted, #6b625a); font-family: var(--at-mono, monospace); text-anchor: middle; }
.ibw-sep__v3 { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #e9e5df; }
.ibw-sep__v3 canvas { width: 100%; height: 100%; display: block; cursor: grab; }
.ibw-sep__v3 span { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: var(--at-muted, #6b625a); pointer-events: none; }
.ibw-sep__note { font-size: 13px; color: var(--at-muted, #6b625a); margin: 10px 0; }
.ibw-sep__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--at-line, #cfc8bf); padding-top: 12px; }
.ibw-sep__count { font-size: 13px; color: var(--at-muted, #6b625a); }
.ibw-sep__price { font-size: 26px; font-family: var(--at-display, inherit); }
.ibw-sep__msg { min-height: 1.4em; font-size: 13px; color: var(--at-accent, #b8651d); margin: 6px 0; }
.ibw-sep__add { width: 100%; }
.ibw-sep__add[disabled] { opacity: .5; cursor: not-allowed; }
.ibw-sep__form { display: none; }
@media (max-width: 1100px) { .ibw-sep__grid { grid-template-columns: 240px minmax(0, 1fr); } .ibw-sep__side { grid-column: 1 / -1; } }
@media (max-width: 720px) { .ibw-sep__grid { grid-template-columns: 1fr; } }
