/* SPC 05/11/2026 - v5 Multi Accessoires (copie de test) ; 17/11/2026 v6 : une seule barre d'achat, noms sur 2 lignes, tailles plus grandes au doigt, focus visible */
/* une seule barre d'achat sur téléphone : celle du pack (la barre du module spcfinder affichait le prix du produit seul) */
.spc-pack-actif #spc-sticky-cart{display:none!important}
.spc-pack-actif #multiAccessoriesTab{position:absolute!important;left:-10000px!important;top:0!important;width:1px!important;height:1px!important;overflow:hidden!important}
.spc-pack-actif .accessories_table_price{display:none!important}
.spc-pack-actif .product-add-to-cart #product-availability{display:none!important}
/* colonne d'achat */
.spc-pack-actif .product-information .product-manufacturer{padding:4px 0!important}
.spc-pack-actif .product-information .product-manufacturer img{max-height:34px;width:auto}
.spc-pack-actif .product-information .product-manufacturer .img-thumbnail{border:0;padding:0}
.spc-pack-actif .product-block-images .spc-range{margin-top:16px;font-size:13px}
.spc-prix-pack{font-size:13px;color:#555;margin:0 0 8px;padding-top:2px}
.spc-prix-pack:empty{display:none}
.spc-prix-pack b{color:#222}.spc-prix-pack i{font-style:normal;color:#2e9b2e;font-weight:bold}
.spc-dispo{font-size:14px;font-weight:bold;margin:2px 0 6px;text-align:right}
.spc-dispo:empty{display:none}
.spc-dispo .product-unavailable{color:#d0021b}.spc-dispo .product-last-items{color:#f39c12}
.spc-dispo .product-available{color:#2e9b2e}
/* bloc pack */
.spc-pack *{box-sizing:border-box}
.spc-pack{clear:both;margin:8px 0 12px;border:1px solid #e0e0e0;border-radius:8px;background:#fff;font-family:Arial,Helvetica,sans-serif;color:#333;overflow:hidden}
.spc-tete{padding:10px 12px;background:#f5f7fb;border-bottom:1px solid #e6e6e6}
.spc-tete b{display:block;font-family:Cuprum,Arial,sans-serif;font-size:19px;font-weight:normal;color:#222}
.spc-tete span{font-size:12px;color:#777}
.spc-ligne{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:10px;align-items:center;padding:8px 12px;border-bottom:1px solid #eee;cursor:pointer}
.spc-ligne:hover{background:#fafcff}
.spc-l-ic img{width:52px;height:52px;object-fit:contain;display:block;border-radius:4px}
.spc-l-txt{min-width:0;font-size:13px;line-height:1.3}
.spc-l-txt b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px}
.spc-l-txt span{display:block;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spc-l-txt em{display:block;font-style:normal;color:#FC723F;font-weight:bold}
.spc-l-txt .px s{color:#999;font-size:12px}.spc-l-txt .px strong{color:#FC723F}
.spc-ligne.ok{background:#fff8f4}
.spc-l-bt{display:inline-flex;align-items:center;justify-content:center;height:40px;min-width:88px;padding:0 12px;border-radius:4px;border:1px solid #116EEF;background:#116EEF;color:#fff;font-weight:bold;font-size:14px}
.spc-l-bt.sec{background:#fff;color:#116EEF}
.spc-l-acts{display:flex;flex-direction:column;align-items:stretch;gap:2px}
.spc-l-x{border:0;background:none;color:#888;font-size:12px;text-decoration:underline;padding:2px;cursor:pointer}
.spc-recap{padding:8px 12px 10px;font-size:13px;color:#555}
.spc-recap .l{display:flex;justify-content:space-between;gap:10px;margin:2px 0}
.spc-recap .eco{color:#2e9b2e;font-weight:bold}
.spc-recap .tot{font-size:17px;font-weight:bold;color:#222;border-top:1px solid #ddd;margin-top:4px;padding-top:6px}
/* panneau */
.spc-panneau{position:fixed;inset:0;z-index:2147483000;background:rgba(0,0,0,.5);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
.spc-panneau.ouvert{opacity:1;visibility:visible}
.spc-p-boite{position:absolute;top:0;right:0;bottom:0;width:560px;max-width:100%;background:#fff;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .25s}
.spc-panneau.ouvert .spc-p-boite{transform:none}
.spc-p-haut{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid #e6e6e6}
.spc-p-titre{display:block;font-family:Cuprum,Arial,sans-serif;font-size:21px;font-weight:normal}
.spc-p-sous{font-size:12px;color:#777}
.spc-p-x{width:44px;height:44px;border:0;background:none;font-size:30px;line-height:1;color:#555;cursor:pointer}
.spc-p-corps{flex:1;overflow-y:auto;padding:12px 16px;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.spc-p-bas{padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid #e6e6e6}
.spc-p-ok{width:100%;height:46px;border:0;border-radius:4px;background:#FC723F;color:#fff;font-size:17px;font-family:Cuprum,Arial,sans-serif;cursor:pointer}
html.spc-p-bloque,html.spc-p-bloque body{overflow:hidden}
.spc-grille{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.spc-carte{position:relative;border:1px solid #e0e0e0;border-radius:8px;background:#fff;padding:8px;display:flex;flex-direction:column;gap:6px;min-width:0}
.spc-carte.sel{border:2px solid #FC723F;padding:7px;box-shadow:0 2px 8px rgba(252,114,63,.25)}
.spc-carte.indispo{opacity:.55}
.spc-badges{position:absolute;top:6px;left:6px;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.spc-b{color:#fff;font-size:12px;font-weight:bold;border-radius:4px;padding:3px 6px}
.spc-b.rem{background:#FC723F}.spc-b.top{background:#116EEF}
.spc-coche{position:absolute;top:6px;right:6px;z-index:2;width:26px;height:26px;border-radius:50%;background:#FC723F;color:#fff;font-weight:bold;text-align:center;line-height:26px}
.spc-image{position:relative;display:block;width:100%;padding:0;border:0;background:#fff;cursor:zoom-in}
.spc-image img{display:block;width:100%;aspect-ratio:1/1;object-fit:contain}
.spc-loupe{position:absolute;right:2px;bottom:2px;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.95);border:1px solid #ccc;color:#444;display:flex;align-items:center;justify-content:center}
.spc-nom{font-size:14px;line-height:1.25;min-height:2.5em}
.spc-tag{align-self:flex-start;font-size:11px;font-weight:bold;color:#116EEF;background:#eaf2ff;border-radius:10px;padding:2px 8px}
.spc-prix{font-size:16px}.spc-prix s{color:#999;font-size:12px}.spc-prix b{color:#FC723F}
.spc-taille{font-size:12px;color:#666}
.spc-attr-nom{display:block;font-size:12px;color:#666;margin-bottom:3px}.spc-attr-nom b{color:#333}
.spc-attr-vals{display:flex;flex-wrap:wrap;gap:6px}
.spc-v{min-width:44px;height:40px;padding:0 8px;border:1px solid #c8c8c8;border-radius:4px;background:#fff;font-size:13px;color:#333;cursor:pointer}
.spc-v.on{border:2px solid #116EEF;color:#116EEF;font-weight:bold;padding:0 7px}
.spc-v.off{color:#bbb;text-decoration:line-through;background:#f7f7f7;cursor:not-allowed}
.spc-pack button:focus-visible,.spc-panneau button:focus-visible,.spc-panneau select:focus-visible,.spc-galerie button:focus-visible,.spc-ligne:focus-visible{outline:3px solid #116EEF;outline-offset:2px}
.spc-v.coul{width:44px;height:44px;min-width:0;padding:2px}
.spc-v.coul img{width:100%;height:100%;object-fit:contain;display:block}
.spc-v.coul.on{padding:1px}
.spc-v.coul.off{opacity:.45}
.spc-comb{width:100%;height:40px;border:1px solid #bbb;border-radius:4px;background:#fff;font-size:14px;padding:0 6px;color:#333}
.spc-ajout{margin-top:auto;height:42px;border-radius:4px;border:1px solid #116EEF;background:#116EEF;color:#fff;font-size:14px;font-weight:bold;cursor:pointer;width:100%}
.spc-carte.sel .spc-ajout{background:#fff;border-color:#999;color:#555;font-weight:normal}
.spc-ajout:disabled{border-color:#ccc;background:#eee;color:#999;cursor:not-allowed}
/* galerie */
.spc-galerie{position:fixed;inset:0;z-index:2147483100;background:rgba(0,0,0,.75);display:none;align-items:center;justify-content:center;padding:16px}
.spc-galerie.ouvert{display:flex}
.spc-g-boite{background:#fff;border-radius:10px;width:760px;max-width:100%;max-height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.spc-g-haut{position:sticky;top:0;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 16px;border-bottom:1px solid #eee;z-index:2}
.spc-g-titre{font-family:Cuprum,Arial,sans-serif;font-size:19px;font-weight:normal}
.spc-g-x{width:44px;height:44px;border:0;background:none;font-size:30px;color:#555;cursor:pointer}
.spc-g-scene{position:relative;display:flex;align-items:center;justify-content:center;background:#fff}
.spc-g-img{display:block;max-width:100%;max-height:62vh;object-fit:contain}
.spc-g-fl{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:64px;border:0;background:rgba(255,255,255,.85);font-size:36px;color:#333;cursor:pointer}
.spc-g-fl.g{left:0}.spc-g-fl.d{right:0}
.spc-g-num{position:absolute;bottom:6px;right:10px;font-size:12px;color:#666;background:rgba(255,255,255,.85);padding:1px 6px;border-radius:8px}
.spc-g-mini{display:flex;gap:6px;overflow-x:auto;padding:8px 12px}
.spc-g-mini button{flex:0 0 56px;height:56px;padding:2px;border:1px solid #ddd;border-radius:4px;background:#fff;cursor:pointer}
.spc-g-mini button.on{border:2px solid #116EEF;padding:1px}
.spc-g-mini img{width:100%;height:100%;object-fit:contain}
.spc-g-desc{padding:4px 16px 16px;margin:0;font-size:14px;line-height:1.5;color:#444}
.spc-g-desc:empty{display:none}
.spc-barre{display:none}
@media (max-width:575px){
 .spc-p-boite{top:auto;left:0;width:100%;height:90vh;border-radius:14px 14px 0 0;transform:translateY(100%)}
 .spc-p-corps{padding:10px}
 .spc-grille{gap:8px}
 .spc-carte{padding:6px}.spc-carte.sel{padding:5px}
 .spc-nom{font-size:13px}
 .spc-v{min-width:40px;padding:0 6px}
 .spc-grille{grid-template-columns:repeat(2,minmax(0,1fr))}
 .spc-nom{min-height:0}
 .spc-v.coul{width:40px;height:40px}
 .spc-galerie{padding:0}
 .spc-g-boite{border-radius:0;height:100%}
 .spc-barre{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:1040;background:#fff;border-top:1px solid #ddd;padding:8px 12px calc(8px + env(safe-area-inset-bottom));align-items:center;gap:10px;box-shadow:0 -2px 8px rgba(0,0,0,.12);transition:transform .2s}
 .spc-barre.cachee{transform:translateY(110%)}
 .spc-barre .t{flex:1;font-size:13px;line-height:1.25}.spc-barre .lib{font-size:12px;color:#666}.spc-barre .t b{font-size:18px}.spc-barre .eco{color:#2e9b2e;font-weight:bold}
 .spc-barre button{height:46px;border:0;border-radius:4px;background:#FC723F;color:#fff;font-size:17px;font-family:Cuprum,Arial,sans-serif;padding:0 16px}
 .spc-barre button:disabled{background:#ccc}
 html.spc-pack-actif body{padding-bottom:70px}
}
.spc-g-desc a{color:#116EEF;font-weight:bold;white-space:nowrap}
/* 20/11/2026 v8 : repères dans les boutons de taille, détail de l'accessoire */
.spc-image img{aspect-ratio:1/1;object-fit:contain;height:auto}
.spc-v small{display:block;font-size:10.5px;line-height:1.1;font-weight:normal;color:#777;margin-top:1px;white-space:nowrap}
.spc-v:has(small){height:auto;min-height:40px;padding-top:4px;padding-bottom:4px;line-height:1.15}
.spc-v.on small{color:#116EEF}
.spc-v.off small{color:#bbb}
.spc-rep{color:#777;font-weight:normal}
.spc-g-detail{padding:4px 16px 18px;font-size:14px;line-height:1.5;color:#333}
.spc-g-court{font-size:14.5px;color:#222}
.spc-g-court p{margin:0 0 6px}
.spc-g-sep{display:flex;align-items:center;gap:10px;margin:16px 0 10px;color:#116EEF;font-size:11.5px;font-weight:bold;letter-spacing:.08em;text-transform:uppercase}
.spc-g-sep:before,.spc-g-sep:after{content:"";flex:1;height:1px;background:linear-gradient(90deg,transparent,#c9dcf7)}
.spc-g-sep:after{background:linear-gradient(90deg,#c9dcf7,transparent)}
.spc-g-detail h4{font-size:15px;margin:12px 0 6px}
.spc-g-detail ul{padding-left:18px;margin:6px 0}
.spc-g-texte{overflow-x:auto}
.spc-g-texte p{margin:0 0 8px}
.spc-g-texte table,.spc-g-car{width:100%;border-collapse:collapse;margin:4px 0 8px;font-size:13px}
.spc-g-texte td,.spc-g-texte th{border:1px solid #e3e3e3;padding:5px 7px;text-align:left;vertical-align:top}
.spc-g-car tr:nth-child(odd){background:#f6f9fe}
.spc-g-car th,.spc-g-car td{padding:7px 9px;text-align:left;vertical-align:top;border:0}
.spc-g-car th{font-weight:600;color:#555;width:42%}
.spc-g-lien{margin:14px 0 0;text-align:center}
.spc-g-lien a{display:inline-block;padding:9px 18px;border:1px solid #116EEF;border-radius:20px;color:#116EEF;font-weight:bold;text-decoration:none}
.spc-g-charge{color:#888;font-size:13px}
.spc-g-coul{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:8px 12px 0}
.spc-g-coul:empty{display:none}
.spc-g-coul span{font-size:12px;color:#666;margin-right:2px}
.spc-g-coul button{width:40px;height:40px;padding:2px;border:1px solid #ccc;border-radius:50%;background:#fff;cursor:pointer;overflow:hidden}
.spc-g-coul button.on{border:2px solid #116EEF;padding:1px}
.spc-g-coul img{width:100%;height:100%;object-fit:contain;border-radius:50%}
.spc-p-guide{color:#116EEF;font-weight:bold;text-decoration:underline}
/* 21/11/2026 : guide des fixations par-dessus la fiche */
.spc-guide{position:fixed;inset:0;z-index:2147483200;background:#fff;display:none;flex-direction:column}
.spc-guide.ouvert{display:flex}
.spc-guide-boite{display:flex;flex-direction:column;flex:1;min-height:0;background:#fff}
.spc-guide--court{background:rgba(20,33,61,.45);align-items:center;justify-content:center;padding:16px}
.spc-guide--court .spc-guide-boite{flex:none;width:100%;max-width:440px;max-height:90vh;border-radius:10px;overflow:hidden}
.spc-aide{font-size:14px;line-height:1.5;color:#1A1D21}.spc-aide p{margin:0 0 8px}.spc-aide ol{margin:0 0 8px;padding-left:20px}.spc-aide li{margin:0 0 4px}
.spc-aide-img{width:96px;height:96px;display:block;margin:0 auto 8px}.spc-aide-note{font-size:12px;color:#666}
html.spc-guide-ouvert,html.spc-guide-ouvert body{overflow:hidden}
.spc-guide-haut{display:flex;align-items:center;gap:10px;padding:8px 12px;border-bottom:1px solid #e3e9f3;background:#fff;font-weight:bold;color:#14213d;font-size:16px}
.spc-guide-x{width:42px;height:42px;border:0;border-radius:50%;background:#f1f4f9;font-size:26px;line-height:1;cursor:pointer;color:#333}
.spc-guide-corps{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:12px 14px 30px}

/* 22/11/2026 v9 (journal « POUR multi-accessoires » 21/11 20 h 55 → 22/11 12 h 30) : pack compact, « + Ajouter » en contour, récapitulatif seulement après ajout, message de stock sous les choix */
.spc-ligne{grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:6px 12px}
.spc-l-ic img{width:44px;height:44px}
.spc-l-bt{height:38px;min-width:0;background:#fff;border:1.5px solid #1a73e8;color:#1a5fc2;white-space:nowrap}
.spc-ligne:hover .spc-l-bt:not(.sec){background:#f0f6ff}
.spc-recap[hidden]{display:none!important}
.product-variants-item .spc-dispo{text-align:left;margin:8px 0 0}
.spc-recap{border-top:1px solid #eee;padding-top:10px}
.spc-recap .l span:first-child{color:#555}.spc-recap .l span:last-child{white-space:nowrap;color:#222}
.spc-recap .l s{color:#999;font-weight:normal;margin-right:4px}
.spc-recap .eco span{color:#2e9b2e!important}
.spc-recap .tot span:first-child{color:#222}.spc-recap .tot small{font-size:12px;font-weight:normal;color:#777;margin-left:4px}
.spc-tete b small{font-family:Arial,Helvetica,sans-serif;font-size:13px;color:#888;margin-left:4px}
