.wizard-progress,.wizard-actions,.wizard-line-icon{display:none}
/* Le parcours est partagé par toutes les tailles d’écran. */
 body.mobile-wizard,body.mobile-wizard:has(.builder-mobile-next:not([hidden])),body.mobile-wizard:has(.mobile-cart-dock:not([hidden])){height:100dvh;overflow:hidden;padding:0}
 .mobile-wizard #main{height:calc(100dvh - 68px);display:flex;flex-direction:column;overflow:hidden}
 .mobile-wizard .footer,.mobile-wizard .app-tabs,.mobile-wizard .selection-steps,.mobile-wizard .mobile-cart-dock,.mobile-wizard .builder-mobile-next{display:none!important}
 .mobile-wizard .wizard-progress{display:flex;align-items:center;gap:12px;width:100%;padding:16px 20px 0;flex-shrink:0}
 .wizard-progress ol{list-style:none;display:flex;flex:1;gap:5px;padding:0;margin:0}
 .wizard-progress li{height:4px;background:var(--line);border-radius:10px;flex:1;transition:background .2s}
 .wizard-progress li.is-done{background:var(--accent)}
 .wizard-progress li.is-current{background:var(--ink)}
 .wizard-step-number{font-size:12px;color:var(--muted);white-space:nowrap;direction:ltr}
 .mobile-wizard .selection-intro{padding:24px 22px 17px;flex-shrink:0}
 .mobile-wizard .selection-intro h1{font-size:36px;font-weight:500;line-height:1.25}
 .mobile-wizard .selection-intro>p{font-size:14px;line-height:1.6;max-width:320px;margin:12px auto 0}
 .mobile-wizard .selection-builder-layout{display:block;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 22px 16px;width:100%;scrollbar-width:thin}
 .mobile-wizard[data-wizard-mode=material] .builder-main,.mobile-wizard[data-wizard-mode=material] #builder-step,.mobile-wizard[data-wizard-mode=material] .mobile-browser{height:100%}
 .mobile-wizard .app-search,.mobile-wizard #mobile-material-empty{display:none}
 .mobile-wizard .mobile-material-grid{display:grid;grid-template-columns:1fr;align-content:center;gap:14px;min-height:100%;padding-block:4px}
 .mobile-wizard .app-material{display:grid;grid-template-columns:64px minmax(0,1fr) 30px;align-items:center;padding:10px;min-height:82px;border-radius:999px;text-align:center}
 .mobile-wizard .app-material.has-items{border-width:1px;padding:10px}
 .mobile-wizard .app-material:focus-visible{outline-width:1px;outline-offset:2px}
 .mobile-wizard .app-material-picture{width:64px;height:60px;position:static;background:none}
 .mobile-wizard .app-material-picture>.sketch{width:52px;height:52px}
 .mobile-wizard .app-material-picture>b{position:absolute;inset-inline-end:14px;inset-inline-start:auto;top:50%;transform:translateY(-50%);min-width:28px;height:28px;line-height:28px;padding:0 5px}
 .mobile-wizard .app-material-name{font-size:19px;line-height:1.35;font-weight:500;padding:0 10px}
 .mobile-wizard .builder-summary{width:100%;padding:20px;border-radius:20px}
 .mobile-wizard[data-wizard-mode=material] .builder-summary,.mobile-wizard[data-wizard-mode=material] #quote-step{display:none!important}
 .mobile-wizard[data-wizard-mode=list] .builder-main{display:none!important}
 .mobile-wizard[data-wizard-mode=list] .selection-builder-layout>.builder-summary{display:block!important}
 .mobile-wizard[data-wizard-mode=list] .builder-summary>.button,.mobile-wizard[data-wizard-mode=list] .builder-summary>[data-clear-cart],.mobile-wizard[data-wizard-mode=list] .builder-summary .selection-actions [data-download-selection]{display:none}
 .mobile-wizard[data-wizard-mode=information] .builder-summary{display:none!important}
 .mobile-wizard[data-wizard-mode=information] #quote-step{display:block}
 .mobile-wizard #quote-step>.subtle-button,.mobile-wizard #quote-step>h2,.mobile-wizard #quote-step>.quote-intro,.mobile-wizard #quote-form>fieldset>button[type=submit]{display:none}
 .mobile-wizard #quote-step{padding:18px 16px 0}
 .mobile-wizard .quote-panel{border:0;background:none}
 .mobile-wizard .builder-summary-heading>.sketch{display:none}
 .mobile-wizard .builder-summary-heading h2{font-size:24px}
 .mobile-wizard[data-wizard-mode=list] .builder-summary-heading{display:none}
 .mobile-wizard .builder-summary-heading .eyebrow{display:none}
 .mobile-wizard .builder-summary #selection-items{max-height:none;margin-top:15px}
 .mobile-wizard .builder-summary .selection-row{grid-template-columns:48px minmax(0,1fr) 22px;gap:8px 12px;padding:16px 0}
 .mobile-wizard .builder-summary .selection-row-image img{width:48px;height:74px}
 .mobile-wizard .builder-summary .selection-row-image img{display:none}
 .mobile-wizard .wizard-line-icon{display:block;width:44px;height:60px;color:var(--accent)}
 .mobile-wizard .row-drawing{display:none}
 .mobile-wizard .builder-summary .selection-row h2{font-size:19px}
 .mobile-wizard .builder-summary .selection-row .quantity button{height:38px;width:35px}
 .mobile-wizard .builder-summary .selection-row .quantity input{height:38px;width:38px}
 .mobile-wizard .wizard-actions{display:block;flex-shrink:0;padding:12px 22px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--bg)}
 .wizard-list-note{text-align:center;color:var(--muted);font-size:12px;line-height:1.5;margin-bottom:10px}
 .wizard-action-row{display:flex;gap:12px;align-items:center}
 .wizard-action-row>.button{flex:1;min-height:36px;padding:7px 15px;font-size:14px}
 .wizard-action-row>.button.light{flex:1.6}
 .mobile-wizard .header-inner{position:relative}
 .wizard-selection-trigger{position:absolute;inset-inline-end:18px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;margin:0;padding:10px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);font-family:var(--sans);cursor:pointer}
 .wizard-selection-trigger>.ui-icon{width:23px;height:23px}
 .wizard-selection-trigger>b{position:absolute;top:-4px;inset-inline-end:-4px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:99px;background:var(--ink);color:var(--bg);font-size:11px;line-height:1;font-weight:500}
 .photo-screen .wizard-selection-trigger{color:#fff;border-color:#ffffff55;background:#0003}
 .photo-screen .wizard-selection-trigger>b{background:#fff;color:#101110}
 .wizard-selection-trigger:focus-visible{outline:1px solid currentColor;outline-offset:3px}
@media(min-width:701px){.wizard-selection-trigger{inset-inline-end:30px}}
 .selection-popup{position:fixed;inset:0;width:min(600px,calc(100% - 32px));max-width:none;max-height:min(82dvh,740px);margin:auto;padding:0;border:1px solid var(--line);border-radius:26px;background:var(--surface);color:var(--ink);box-shadow:0 24px 90px #0006;overflow:hidden}
 .selection-popup[open]{display:flex;flex-direction:column}
 .selection-popup::backdrop{background:#000a;backdrop-filter:blur(6px)}
 .selection-popup-header{position:relative;padding:24px 58px 20px;text-align:center;border-bottom:1px solid var(--line);flex-shrink:0}
 .selection-popup-header>h2{font-family:var(--art);font-size:34px;line-height:1.2;font-weight:500;text-align:center}
 .selection-popup-total{font-size:14px;line-height:1.5;color:var(--muted);margin-top:8px}
 .selection-popup-close{position:absolute;inset-inline-end:12px;top:14px;display:grid;place-items:center;width:38px;height:38px;padding:9px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
 .selection-popup-close>.ui-icon{width:20px;height:20px}
 .selection-popup-content{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 24px;scrollbar-width:thin}
 .selection-popup-list{list-style:none;margin:0;padding:0}
 .selection-popup-list>li{display:grid;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
 .selection-popup-list>li:last-child{border-bottom:0}
 .selection-popup-list img{width:88px;height:66px;object-fit:cover;object-position:center;border-radius:12px}
 .selection-popup-list h3{font-family:var(--art);font-size:26px;line-height:1.2;font-weight:500}
 .selection-popup-list p{margin-top:5px;font-size:14px;line-height:1.4;color:var(--muted)}
 .selection-popup-quantity{font-family:var(--sans);font-size:15px;white-space:nowrap}
 .selection-popup-empty{padding:32px 8px;text-align:center}
 .selection-popup-empty>.sketch{width:62px;height:62px;color:var(--accent);margin:auto auto 18px}
 .selection-popup-empty h3{font-family:var(--art);font-size:28px;line-height:1.3;font-weight:500}
 .selection-popup-empty p{font-size:14px;line-height:1.6;color:var(--muted);margin:10px auto 0;max-width:270px}
 .selection-popup-footer{flex-shrink:0;padding:16px 24px calc(18px + env(safe-area-inset-bottom));border-top:1px solid var(--line)}
 .selection-popup-footer>.button{width:100%;min-height:38px;padding:8px 18px;font-size:14px}
 html[dir=rtl] .selection-popup-header>h2,html[dir=rtl] .selection-popup-list h3,html[dir=rtl] .selection-popup-empty h3{font-family:Tahoma,"Segoe UI",sans-serif}
 html[dir=rtl] .selection-popup-list h3{font-size:20px;line-height:1.5}
@media(max-width:420px){
 .selection-popup-content{padding-inline:18px}
 .selection-popup-list>li{grid-template-columns:72px minmax(0,1fr) auto;gap:12px}
 .selection-popup-list img{width:72px;height:64px}
 .selection-popup-list h3{font-size:23px}
 .selection-popup-header>h2{font-size:30px}
 .selection-popup-list p{font-size:13px}
 .selection-popup-footer{padding-inline:18px}
 html[dir=rtl] .selection-popup-list h3{font-size:18px}
}
 .mobile-wizard .toast{bottom:115px;max-width:calc(100% - 30px)}
 html[dir=rtl] .mobile-wizard .selection-intro h1{font-size:32px}
 html[dir=rtl] .mobile-wizard .app-material-name{font-size:18px}
 html[dir=rtl] .mobile-wizard .app-material-picture>b{right:auto;left:14px}
@media(max-width:700px) and (max-height:720px){
 .mobile-wizard .selection-intro{padding-top:16px;padding-bottom:12px}
 .mobile-wizard .selection-intro h1{font-size:29px}
 .mobile-wizard .selection-intro>p{font-size:13px;margin-top:8px}
 .mobile-wizard .app-material{min-height:72px;padding:8px;grid-template-columns:56px minmax(0,1fr) 30px}
 .mobile-wizard .app-material.has-items{padding:8px}
 .mobile-wizard .app-material-picture{width:56px;height:52px}
 .mobile-wizard .app-material-picture>.sketch{width:44px;height:44px}
 .mobile-wizard .app-material-name{font-size:17px}
 .mobile-wizard .mobile-material-grid{gap:10px}
 .mobile-wizard .wizard-actions{padding-top:9px;padding-bottom:10px}
}
