.px-catalogue,.px-catalogue *{box-sizing:border-box}.px-catalogue{--px-orange:#ed6b00;--px-orange-dark:#b95613;--px-ink:#292929;--px-muted:#686868;--px-bg:#f5f6f8;--px-line:#e5e7eb;--px-white:#fff;max-width:1440px;margin:0 auto;padding:28px 20px 80px;font-family:Arial,sans-serif;color:var(--px-ink)}
.px-hero{display:flex;justify-content:space-between;gap:32px;align-items:center;padding:38px;border:1px solid var(--px-line);border-radius:28px;background:linear-gradient(135deg,#fff,#f7f8fa);box-shadow:0 18px 50px rgba(0,0,0,.08);margin-bottom:24px}.px-hero>div:first-child{max-width:850px}.px-kicker{display:block;color:var(--px-orange);font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:10px}.px-hero h1{font-size:clamp(34px,5vw,58px);line-height:1.05;margin:0 0 14px}.px-hero p{font-size:17px;line-height:1.65;color:var(--px-muted);margin:0}.px-hero-small h1{font-size:clamp(30px,4.2vw,48px)}.px-badge{padding:14px 22px;border-radius:999px;background:var(--px-ink);color:#fff;font-weight:800;white-space:nowrap}.px-stats{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.px-stats span{padding:8px 12px;background:#fff0e5;color:#9f4b0c;border-radius:999px;font-size:13px;font-weight:800}
.px-search-wrap{padding:18px 20px;background:var(--px-ink);border-radius:20px;margin-bottom:24px;color:#fff}.px-search-wrap label{display:block;font-weight:800;margin-bottom:8px}.px-search-wrap input{width:100%;height:50px;border:0;border-radius:13px;padding:0 16px;font-size:16px;outline:0}.px-search-wrap input:focus{box-shadow:0 0 0 4px rgba(237,107,0,.28)}.px-search-info{font-size:12px;opacity:.82;margin-top:6px;min-height:15px}
.px-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:24px;align-items:start}.px-categories,.px-content,.px-related{border:1px solid var(--px-line);border-radius:24px;background:#fff;box-shadow:0 16px 42px rgba(0,0,0,.07)}.px-categories{padding:12px;max-height:78vh;overflow:auto;position:sticky;top:22px}.px-categories-title{font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.1em;padding:9px 10px;color:var(--px-muted)}.px-categories a{display:flex;align-items:center;justify-content:space-between;gap:10px;text-decoration:none;color:var(--px-ink);font-size:13px;font-weight:800;padding:12px 11px;border-radius:13px}.px-categories a:hover{background:var(--px-bg)}.px-categories a.active{background:linear-gradient(135deg,var(--px-orange),var(--px-orange-dark));color:#fff}.px-categories b{min-width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:rgba(0,0,0,.07);font-size:11px}.px-categories a.active b{background:rgba(255,255,255,.22)}
.px-content,.px-related{padding:24px}.px-content-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--px-line)}.px-content-head span{color:var(--px-orange);font-size:12px;font-weight:800;text-transform:uppercase}.px-content-head h2{font-size:30px;margin:4px 0 6px}.px-content-head p{color:var(--px-muted);margin:0}.px-content-head>a{color:var(--px-orange-dark);font-weight:800;text-decoration:none}.px-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.px-piece-card{position:relative;overflow:hidden;border:1px solid var(--px-line);border-radius:18px;background:#fff;display:flex;flex-direction:column}.px-piece-image{position:relative;z-index:1;overflow:hidden;flex:0 0 auto;height:180px;display:grid;place-items:center;padding:12px;background:#fafafa;border-bottom:1px solid var(--px-line)}.px-piece-image img{display:block !important;width:100% !important;height:100% !important;max-width:100% !important;max-height:100% !important;object-fit:contain !important;object-position:center center !important}.px-piece-body{position:relative;z-index:2;background:#fff;padding:16px;display:flex;flex-direction:column;flex:1}.px-piece-category{font-size:10px;font-weight:900;text-transform:uppercase;color:var(--px-orange-dark);margin-bottom:7px}.px-piece-card h3{font-size:17px;line-height:1.28;margin:0 0 9px}.px-piece-card h3 a{color:var(--px-ink);text-decoration:none}.px-piece-card p{font-size:12px;line-height:1.5;color:var(--px-muted);margin:0 0 13px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.px-piece-refs{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;margin-bottom:12px}.px-piece-refs span{font-size:11px;background:var(--px-bg);border-radius:8px;padding:6px 8px}.px-piece-actions{display:grid;grid-template-columns:1fr 1.2fr;gap:8px}.px-piece-actions a,.px-piece-actions button,.px-add-large{min-height:42px;border-radius:11px;border:0;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;font-weight:900;text-decoration:none;cursor:pointer}.px-details{background:var(--px-bg);color:var(--px-ink)}.px-add-to-quote{background:linear-gradient(135deg,var(--px-orange),var(--px-orange-dark));color:#fff}.px-add-to-quote.added{background:#2d7d46}.px-empty,.px-not-found{padding:50px;text-align:center;border-radius:20px;background:var(--px-bg)}
.px-breadcrumb{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px;margin:0 0 18px}.px-breadcrumb a{color:var(--px-orange-dark);text-decoration:none}.px-detail{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:36px;border:1px solid var(--px-line);border-radius:28px;padding:30px;background:#fff;box-shadow:0 18px 50px rgba(0,0,0,.08);margin-bottom:28px}.px-detail-media{min-height:420px;display:grid;place-items:center;border-radius:20px;background:#fafafa;padding:20px}.px-detail-media img{width:100%;height:100%;max-height:520px;object-fit:contain}.px-no-image{color:var(--px-muted)}.px-detail-copy h1{font-size:clamp(30px,4.5vw,50px);line-height:1.08;margin:0 0 20px}.px-detail-refs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:22px}.px-detail-refs span{padding:14px;border:1px solid var(--px-line);border-radius:14px;font-size:12px;color:var(--px-muted)}.px-detail-refs strong{display:block;font-size:18px;color:var(--px-ink);margin-top:4px}.px-characteristics{border-top:1px solid var(--px-line);padding-top:18px}.px-characteristics h2{font-size:20px;margin:0 0 10px}.px-characteristics ul{padding-left:18px;margin:0 0 22px}.px-characteristics li{margin:7px 0;line-height:1.5;color:var(--px-muted)}.px-add-large{width:100%;font-size:15px;min-height:52px}.px-availability{font-size:12px;color:var(--px-muted);margin:8px 0 0;text-align:center}.px-related{margin-top:28px}
.px-quote-bar{position:fixed;z-index:9998;left:50%;bottom:18px;transform:translate(-50%,140%);width:min(760px,calc(100% - 24px));display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 14px 13px 18px;border-radius:18px;background:#242424;color:#fff;box-shadow:0 20px 50px rgba(0,0,0,.32);transition:.25s}.px-quote-bar.show{transform:translate(-50%,0)}.px-quote-bar>div:first-child{display:flex;flex-direction:column}.px-quote-bar span{font-size:11px;opacity:.7;margin-top:3px}.px-quote-actions{display:flex;gap:7px}.px-quote-actions button{border:0;border-radius:10px;padding:10px 14px;font-weight:900;cursor:pointer}.px-quote-actions button:first-child{background:var(--px-orange);color:#fff}.px-quote-actions button:last-child{background:#444;color:#fff;font-size:20px;padding:6px 13px}.px-quote-modal{position:fixed;z-index:9999;inset:0;background:rgba(0,0,0,.56);display:none;align-items:center;justify-content:center;padding:20px}.px-quote-modal.show{display:flex}.px-quote-modal-box{width:min(680px,100%);max-height:84vh;overflow:auto;background:#fff;border-radius:22px;padding:22px}.px-quote-modal-head{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--px-line);padding-bottom:14px}.px-quote-modal-head span{font-size:11px;text-transform:uppercase;color:var(--px-orange);font-weight:900}.px-quote-modal-head h2{margin:3px 0 0}.px-quote-modal-head button{border:0;background:var(--px-bg);border-radius:10px;font-size:24px;width:40px;height:40px;cursor:pointer}.px-quote-list{padding:14px 0}.px-quote-item{display:flex;justify-content:space-between;gap:12px;padding:13px;border:1px solid var(--px-line);border-radius:13px;margin-bottom:8px}.px-quote-item>div{display:flex;flex-direction:column;gap:4px}.px-quote-item span,.px-quote-item small{color:var(--px-muted)}.px-quote-item button{border:0;background:#f5f5f5;border-radius:9px;padding:8px;align-self:center;cursor:pointer}.px-quote-modal-foot{display:flex;justify-content:space-between;gap:10px;padding-top:14px;border-top:1px solid var(--px-line)}.px-quote-modal-foot button,.px-quote-modal-foot a{border:0;border-radius:11px;padding:12px 16px;font-weight:900;text-decoration:none;cursor:pointer}.px-quote-modal-foot button{background:var(--px-bg);color:var(--px-ink)}.px-quote-modal-foot a{background:var(--px-orange);color:#fff}.px-quote-empty{text-align:center;padding:30px;color:var(--px-muted)}
@media(max-width:1050px){.px-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.px-layout{grid-template-columns:260px minmax(0,1fr)}}
@media(max-width:760px){.px-catalogue{padding:14px 10px 76px}.px-hero{padding:22px;border-radius:20px;align-items:flex-start}.px-badge{display:none}.px-hero h1{font-size:34px}.px-hero p{font-size:14px}.px-layout{display:block}.px-categories{position:relative;top:auto;max-height:260px;margin-bottom:14px}.px-content{padding:14px;border-radius:18px}.px-grid{grid-template-columns:1fr}.px-content-head{align-items:flex-start;flex-direction:column}.px-piece-image{height:220px}.px-detail{grid-template-columns:1fr;padding:16px;gap:18px}.px-detail-media{min-height:280px}.px-detail-refs{grid-template-columns:1fr}.px-quote-bar{bottom:8px}.px-quote-bar span{display:none}.px-quote-actions button:first-child{padding:10px}.px-quote-modal{padding:8px;align-items:flex-end}.px-quote-modal-box{border-radius:20px 20px 12px 12px;max-height:90vh}.px-quote-modal-foot{flex-direction:column}.px-quote-modal-foot a,.px-quote-modal-foot button{text-align:center;width:100%}}
/* Mobile compact : conserve l'esprit de la V12 d'origine */
@media(max-width:760px){
  .px-categories{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;max-height:none;padding:8px;white-space:normal;scroll-snap-type:x proximity}
  .px-categories-title{display:none}
  .px-categories a{flex:0 0 158px;min-height:58px;scroll-snap-align:start;padding:9px;font-size:11px;line-height:1.2}
  .px-categories b{min-width:24px;height:24px;font-size:10px}
  .px-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .px-piece-image{height:118px;padding:7px;overflow:hidden}
  .px-piece-body{padding:10px}
  .px-piece-card h3{font-size:12px;line-height:1.24;margin-bottom:6px}
  .px-piece-card p{font-size:10px;line-height:1.35;-webkit-line-clamp:4;margin-bottom:8px}
  .px-piece-category{font-size:9px}
  .px-piece-refs{gap:4px;margin-bottom:8px}
  .px-piece-refs span{font-size:9px;padding:5px 6px}
  .px-piece-actions{grid-template-columns:1fr;gap:6px}
  .px-piece-actions a,.px-piece-actions button{min-height:34px;font-size:10px;padding:6px}
}
@media(max-width:380px){
  .px-categories a{flex-basis:145px}
  .px-piece-image{height:105px}
  .px-piece-card h3{font-size:11px}
  .px-piece-card p{font-size:9.5px}
}

/* v1.0.2 - compatibilite Elementor : lisibilite du bloc de recherche */
.px-catalogue .px-search-wrap,
.px-catalogue .px-search-wrap label,
.px-catalogue .px-search-wrap .px-search-info{color:#fff !important;}
.px-catalogue .px-search-wrap label{opacity:1 !important;}
.px-catalogue .px-search-wrap input{color:#1f2937 !important;background:#fff !important;}
.px-catalogue .px-search-wrap input::placeholder{color:#9ca3af !important;opacity:1 !important;}
