/* Photos et configurations du catalogue. */
.cpx-catalogue-tools{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0 24px;padding:16px 18px;background:var(--surface,#f8fafc);border:1px solid var(--border,#e2e8f0);border-radius:12px;font-size:13px}
.cpx-catalogue-tools label{font-weight:700;color:var(--text,#172033)}
.cpx-catalogue-tools select,.cpx-check-select{max-width:100%;min-width:0;border:1px solid var(--border,#cbd5e1);border-radius:8px;background:var(--bg,#fff);color:var(--text,#172033);padding:10px 12px;font:inherit}
.cpx-catalogue-tools p{margin:0 0 0 auto;font-size:12px;color:var(--muted,#64748b)}
.cpx-eligibility{margin:18px 0;padding:15px 17px;border:1px solid var(--border,#dbe4f0);border-left:3px solid var(--accent,#1d4ed8);border-radius:10px;background:var(--surface,#f8fafc)}
.cpx-eligibility h2{margin:0 0 7px;font-size:14px;font-weight:700;line-height:1.4}
.cpx-eligibility p{font-size:12px;line-height:1.65;margin:0;color:var(--muted,#536073)}
.cpx-check-label{display:block;font-size:12px;line-height:1.5;margin:13px 0 7px;font-weight:600}
.cpx-check-select{width:100%;font-size:12px}
.cpx-check-result:not(:empty){margin-top:10px;font-weight:500}
.cpx-check-result[data-state=no]{color:var(--text,#172033)}
.cpx-fit h3{font-size:13px;line-height:1.5;margin:0 0 5px}
.cpx-fit p{font-size:12px;line-height:1.7;margin:0}
.cpx-alternatives{font-size:12px;line-height:1.7;margin-top:12px}
.cpx-alternatives a{color:var(--accent,#1d4ed8);text-decoration:underline;text-underline-offset:3px}
.pp-tech th,.pp-tech td{overflow-wrap:anywhere}
.pp-specs{display:flex;flex-wrap:wrap;gap:6px}
.product-img-photo .product-badge{max-width:calc(100% - 20px)}
.product-img.product-img-photo{position:relative;background:#fff!important;padding:0!important;overflow:hidden}
.product-img-photo .product-photo-link{display:block;width:100%;height:100%;background:#fff}
.product-img-photo .product-photo{display:block;width:100%;height:100%;object-fit:contain;padding:16px;transition:transform .25s ease}
.product-img-photo .product-photo-link:hover .product-photo{transform:scale(1.035)}
.product-img-photo .product-photo-label{position:absolute;right:10px;bottom:10px;padding:4px 8px;border-radius:6px;background:rgba(255,255,255,.96);color:#536073;font-size:10px;font-weight:600;pointer-events:none;border:1px solid #e5e7eb}
.product-photo-note{margin:9px 0 0;color:var(--muted,#64748b);font-size:11px;line-height:1.45}
.cpx-media{min-width:0}
.cpx-main{margin:0;position:relative;background:#fff;border:1px solid var(--border,#e2e8f0);border-radius:18px;overflow:hidden;aspect-ratio:4/3}
.cpx-main>img{display:block;width:100%;height:100%;object-fit:contain;padding:18px}
.cpx-photo-badge{position:absolute;top:12px;left:12px;border-radius:20px;background:#eff6ff;color:#1e40af;font-size:10px;font-weight:700;padding:5px 9px}
.cpx-zoom{position:absolute;bottom:12px;right:12px;display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #d8e0e9;border-radius:30px;background:#fff;color:#1e293b;font:600 12px/1.2 var(--font-b,Arial,sans-serif);cursor:pointer;box-shadow:0 3px 12px #0f172a0c}
.cpx-zoom svg{width:16px;height:16px;flex-shrink:0}
.cpx-thumbs{display:flex;gap:9px;margin-top:12px}
.cpx-thumb{width:74px;height:64px;flex:0 0 74px;border:1px solid var(--border,#e2e8f0);border-radius:10px;background:#fff;overflow:hidden;padding:5px;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.cpx-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.cpx-thumb[aria-pressed=true]{border-color:var(--accent,#1d4ed8);box-shadow:0 0 0 2px var(--accent,#1d4ed8)}
.cpx-thumb:focus-visible,.cpx-zoom:focus-visible,.cpx-close:focus-visible,.cpx-nav:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}
.cpx-caption{font-size:11px;line-height:1.6;color:var(--muted,#64748b);margin-top:12px}
.cpx-reference{border:1px solid var(--border,#e2e8f0);border-radius:16px;padding:22px;background:var(--surface,#fff)}
.cpx-reference h2{margin-bottom:8px}
.cpx-reference .cpx-reference-intro{font-size:13px;line-height:1.7;margin-bottom:18px}
.cpx-reference .pp-tech{font-size:13px}
.cpx-reference .pp-tech th{font-size:12px}
.cpx-source{margin-top:16px;padding-top:14px;border-top:1px solid var(--border,#e2e8f0);font-size:12px;color:var(--muted,#64748b)}
.cpx-source summary{cursor:pointer;font-weight:600;color:var(--text,#111827)}
.cpx-source p{font-size:12px!important;line-height:1.7;margin-top:9px!important;margin-bottom:0!important}
.cpx-source a{color:var(--accent,#1d4ed8);text-underline-offset:3px}
.cpx-fit{border-left:3px solid var(--accent,#1d4ed8);padding:12px 15px;margin:18px 0 0;background:var(--accent-g,#eff6ff);border-radius:0 8px 8px 0;font-size:12px;line-height:1.7;color:var(--text,#111827)}
.cpx-lightbox{position:fixed;inset:0;width:min(1100px,94vw);height:min(850px,92dvh);max-width:94vw;max-height:92dvh;margin:auto;padding:48px 52px 40px;border:0;border-radius:18px;background:#fff;overflow:hidden;color:#172033}
.cpx-lightbox::backdrop{background:rgba(9,16,31,.83);backdrop-filter:blur(5px)}
.cpx-lightbox:not([open]){display:none}
.cpx-lightbox[open]{display:flex;flex-direction:column}
.cpx-lightbox-photo{width:100%;height:100%;min-height:0;flex:1;object-fit:contain}
.cpx-close{position:absolute;top:12px;right:12px;border:0;border-radius:50%;background:#f1f5f9;color:#172033;width:34px;height:34px;font:24px/1 Arial,sans-serif;cursor:pointer}
.cpx-nav{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:44px;background:#f1f5f9;border:0;border-radius:9px;color:#172033;font:27px/1 Arial,sans-serif;cursor:pointer}
.cpx-prev{left:8px}.cpx-next{right:8px}
.cpx-lightbox-caption{font:12px/1.5 var(--font-b,Arial,sans-serif);text-align:center;margin-top:12px;color:#536073}
.cpx-sr-only{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:600px){
  .cpx-catalogue-tools{gap:9px;padding:13px}
  .cpx-catalogue-tools label,.cpx-catalogue-tools select{width:100%}
  .cpx-catalogue-tools p{margin:0}
  .cpx-eligibility{padding:13px}
  .cpx-main{aspect-ratio:4/3}
  .cpx-main>img{padding:12px}
  .cpx-thumb{width:68px;height:58px;flex-basis:68px}
  .cpx-reference{padding:16px}
  .cpx-lightbox{width:96vw;max-width:96vw;height:82dvh;padding:45px 35px 25px;border-radius:12px}
  .cpx-nav{width:29px;height:40px}.cpx-prev{left:3px}.cpx-next{right:3px}
  .cpx-caption{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.product-img-photo .product-photo,.cpx-thumb{transition:none}}

.cpx-other-models{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin:1.5rem 0;padding:1.4rem 1.6rem;border:1px solid rgba(100,116,139,.28);border-radius:16px;background:rgba(100,116,139,.06)}
.cpx-other-models h3{margin:0 0 .4rem;font-size:1.05rem}.cpx-other-models p{margin:0;max-width:760px;line-height:1.6}.cpx-other-models .product-cta{flex-shrink:0;white-space:nowrap}@media(max-width:640px){.cpx-other-models{align-items:flex-start;flex-direction:column;padding:1.2rem}}

/* Boutique / panier */
.product-cart-btn{border:0;border-radius:12px;background:#111827;color:#fff;font-weight:800;padding:.72rem .9rem;cursor:pointer;margin-left:.55rem}.cart-nav-btn{border:0;background:transparent;font:inherit;color:inherit;cursor:pointer;font-weight:700}.cart-nav-btn span{display:inline-grid;place-items:center;min-width:1.4rem;height:1.4rem;padding:0 .3rem;border-radius:999px;background:#111827;color:#fff;font-size:.75rem}.cart-backdrop{position:fixed;inset:0;background:#0008;z-index:9998}.cart-drawer{position:fixed;right:0;top:0;width:min(430px,94vw);height:100dvh;background:#fff;z-index:9999;transform:translateX(105%);transition:.25s ease;box-shadow:-20px 0 60px #0003;display:flex;flex-direction:column}.cart-drawer.open{transform:none}.cart-head{display:flex;justify-content:space-between;align-items:center;padding:1.2rem;border-bottom:1px solid #e5e7eb}.cart-head strong{font-size:1.25rem}.cart-head small{display:block;color:#6b7280}.cart-head button{font-size:2rem;border:0;background:none;cursor:pointer}.cart-items{padding:1rem;overflow:auto;flex:1}.cart-empty{padding:2rem;text-align:center;color:#6b7280}.cart-row{display:grid;grid-template-columns:1fr auto;gap:.5rem;padding:1rem 0;border-bottom:1px solid #eee}.cart-row small{color:#6b7280}.cart-row-actions{display:flex;gap:.5rem;align-items:center}.cart-row-actions button{width:30px;height:30px;border:1px solid #ddd;border-radius:8px;background:#fff;cursor:pointer}.cart-summary{border-top:1px solid #e5e7eb;padding:1rem 1.2rem 1.4rem}.cart-summary>div{display:flex;justify-content:space-between;margin:.45rem 0}.cart-summary p,.cart-summary small{font-size:.8rem;color:#6b7280}.cart-order{width:100%;padding:1rem;border:0;border-radius:14px;background:#16a34a;color:#fff;font-weight:900;font-size:1rem;cursor:pointer;margin:.8rem 0}.shop-price-policy{max-width:900px;margin:0 auto 1.2rem;padding:1rem 1.2rem;border-radius:16px;background:#f8fafc;border:1px solid #e5e7eb;text-align:center}.shop-price-policy strong{color:#111827}

.cpx-buybox{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin:1rem 0 1.5rem;padding:1rem 1.2rem;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.cpx-buybox span,.cpx-buybox small{display:block;color:#6b7280}.cpx-buybox strong{display:block;font-size:1.8rem}@media(max-width:650px){.cpx-buybox{align-items:stretch;flex-direction:column}.cpx-buybox .product-cart-btn{margin:0;width:100%}}
