/* Catalogue étendu d'extrusions (sur commande) — bandeau d'appel et modal de recherche. */
.xm-lock, .xm-lock body { overflow: hidden; }
.xm-call {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  margin: 0 0 32px; padding: 20px 24px; background: #fff; border: 1px solid var(--hair, #E4E4E2);
  box-shadow: inset 3px 0 0 var(--brand, #1641A5);
}
.xm-call p { margin: 0; max-width: 680px; color: var(--g6, #555); font-size: 15px; }
.xm-call strong { display: block; color: var(--ink, #111); font-family: "Space Grotesk", Inter, sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.xm-call button, .xm-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 0; cursor: pointer;
  background: var(--brand, #1641A5); color: #fff; font: 500 15px Inter, system-ui, sans-serif; text-decoration: none;
}
.xm-call button:hover, .xm-cta:hover { background: var(--brand2, #0F2F7A); }

.xm-back { position: fixed; inset: 0; z-index: 200; background: rgba(10, 10, 11, .62); display: flex; align-items: flex-start; justify-content: center; padding: 3vh 16px; }
.xm-back[hidden] { display: none; }
.xm {
  width: 100%; max-width: 1120px; max-height: 94vh; display: flex; flex-direction: column;
  background: var(--bg, #FAFAFA); color: var(--ink, #111); box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
  font: 15px/1.5 Inter, system-ui, sans-serif;
}
.xm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 24px 12px; border-bottom: 1px solid var(--hair, #E4E4E2); }
.xm-head h2 { margin: 4px 0 0; font-size: clamp(18px, 2.6vw, 24px); }
.xm-badge { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand, #1641A5); }
.xm-x { width: 44px; height: 44px; flex: none; border: 1px solid var(--hair, #E4E4E2); background: #fff; font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink, #111); }
.xm-x:hover { border-color: var(--ink, #111); }
.xm-notice { margin: 0; padding: 10px 24px; background: #EEF2FB; color: #1B2B55; font-size: 14px; border-bottom: 1px solid #D9E1F4; }
.xm-notice-in { margin: 20px 0; border: 1px solid #D9E1F4; padding: 12px 16px; }
.xm-body { overflow: auto; padding: 16px 24px 24px; flex: 1; }
.xm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.xm-tools { display: grid; grid-template-columns: minmax(220px, 1fr) auto auto auto auto; gap: 8px; align-items: end; position: sticky; top: -16px; background: var(--bg, #FAFAFA); padding: 16px 0 8px; margin-top: -16px; z-index: 2; }
.xm-tools input, .xm-tools select {
  width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #CFCFCB; background: #fff; color: var(--ink, #111);
  font: 15px Inter, system-ui, sans-serif; border-radius: 0;
}
.xm-tools input:focus, .xm-tools select:focus { outline: 2px solid var(--brand, #1641A5); outline-offset: -1px; }
.xm-q input { padding-left: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236E6E6E' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E") 12px 50% no-repeat; }
.xm-n { width: 130px; }
.xm-n span { display: block; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--g5, #6E6E6E); margin-bottom: 2px; }
@media (max-width: 860px) { .xm-tools { grid-template-columns: 1fr 1fr; } .xm-q { grid-column: 1 / -1; } .xm-n { width: auto; } }

.xm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.xm-chips button { min-height: 36px; padding: 0 12px; border: 1px solid #CFCFCB; background: #fff; cursor: pointer; font: 500 13px Inter, system-ui, sans-serif; color: var(--ink, #111); }
.xm-chips button span { color: var(--g5, #6E6E6E); font-family: "IBM Plex Mono", monospace; font-size: 11px; margin-left: 4px; }
.xm-chips button[aria-pressed=true] { background: var(--brand, #1641A5); border-color: var(--brand, #1641A5); color: #fff; }
.xm-chips button[aria-pressed=true] span { color: #C9D5F2; }

.xm-count { display: flex; justify-content: space-between; align-items: center; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--g5, #6E6E6E); padding: 4px 0 8px; }
.xm-count button { background: none; border: 0; color: var(--brand, #1641A5); font: inherit; cursor: pointer; min-height: 32px; text-decoration: underline; }
.xm-table { border-top: 1px solid var(--hair, #E4E4E2); }
.xm-tr { display: grid; grid-template-columns: 112px minmax(0, 1.6fr) 110px 90px 90px 92px; gap: 12px; align-items: center; padding: 6px 8px; border-bottom: 1px solid var(--hair, #E4E4E2); }
.xm-th { padding: 8px; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--g5, #6E6E6E); }
.xm-tr[data-i] { cursor: pointer; background: #fff; }
.xm-tr[data-i]:hover, .xm-tr[data-i]:focus-visible { background: #F3F5FB; box-shadow: inset 3px 0 0 var(--brand, #1641A5); outline: none; }
.xm-code strong { display: block; font-family: "IBM Plex Mono", monospace; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.xm-code small { display: block; color: var(--g5, #6E6E6E); font-size: 12px; }
.xm-mono { font-family: "IBM Plex Mono", monospace; font-size: 13px; color: var(--g6, #555); }
.xm-thumb { width: 112px; height: 78px; display: block; }
.xm-thumb text { font-family: "IBM Plex Mono", monospace; font-size: 8.5px; fill: #6E6E6E; }
.xm-nosec { display: block; text-align: center; color: #AAA; }
.xm-tr img { width: 92px; height: 58px; object-fit: cover; }
@media (max-width: 860px) { .xm-tr { grid-template-columns: 92px minmax(0, 1fr) 84px; } .xm-hide, .xm-hide2 { display: none; } .xm-thumb { width: 92px; height: 64px; } }
.xm-empty { padding: 32px 0; color: var(--g5, #6E6E6E); }

.xm-backbtn { min-height: 40px; padding: 0 12px; border: 1px solid #CFCFCB; background: #fff; cursor: pointer; font: 500 14px Inter, system-ui, sans-serif; }
.xm-dh { margin: 16px 0 12px; }
.xm-dh h3 { font-family: "IBM Plex Mono", monospace; font-size: clamp(18px, 2.6vw, 24px); font-weight: 500; letter-spacing: .02em; }
.xm-figs { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
@media (max-width: 760px) { .xm-figs { grid-template-columns: 1fr; } }
.xm-figs figure { margin: 0; background: #fff; border: 1px solid var(--hair, #E4E4E2); display: flex; flex-direction: column; }
.xm-figs figcaption { font-size: 12px; color: var(--g5, #6E6E6E); padding: 8px 12px; border-top: 1px solid var(--hair, #E4E4E2); }
.xm-photo img { width: 100%; flex: 1; object-fit: contain; background: #F4F4F2; max-height: 340px; }
.xm-big { width: 100%; height: auto; display: block; }
.xm-big .o { fill: #D3D6DA; stroke: #111; stroke-width: 1.1; stroke-linejoin: miter; }
.xm-big .o.si { fill: #F1F0EC; }
.xm-big .l { fill: #FF9E3D; fill-opacity: .9; }
.xm-big .c { stroke: #B5B5B2; stroke-width: .8; stroke-dasharray: 8 3 2 3; }
.xm-big .d { stroke: #6E6E6E; stroke-width: .8; }
.xm-big .a { fill: #6E6E6E; }
.xm-big .t { font-family: "IBM Plex Mono", monospace; font-size: 13px; fill: #111; }
.xm-big .n { font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: .1em; fill: #8D8D90; }
.xm-nosec-big { padding: 60px 16px; text-align: center; color: var(--g5, #6E6E6E); }
.xm-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
@media (max-width: 760px) { .xm-cols { grid-template-columns: 1fr; } }
.xm-cols h4 { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--g5, #6E6E6E); margin-bottom: 8px; font-weight: 500; }
.xm-dl div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--hair, #E4E4E2); }
.xm-dl dt { color: var(--g5, #6E6E6E); font-size: 14px; }
.xm-dl dd { font-size: 14px; }
.xm-acc { list-style: none; padding: 0; }
.xm-acc li { padding: 6px 0; border-bottom: 1px dashed var(--hair, #E4E4E2); font-size: 14px; }
.xm-cta { margin-top: 20px; }
