@import url("00-common.css");@import url("components/lancinet.css");@import url("pages/catalogue.css");

.ime-product-new-badge{position:absolute;top:16px;right:16px;z-index:4;display:inline-flex;align-items:center;justify-content:center;height:22px;padding:0 9px;border-radius:999px;background:rgba(217,164,65,.94);color:#031b4e;font-size:9px;font-weight:900;letter-spacing:.12em;box-shadow:0 8px 20px rgba(3,27,78,.14);}
@media (max-width:540px){.ime-product-new-badge{top:10px;right:10px;height:19px;padding:0 7px;font-size:7.5px;}}

/* V382 gallery enhancement: image counter in product modal */
.ime-showcase-image-count{position:absolute;left:16px;top:16px;z-index:5;display:inline-flex;align-items:center;justify-content:center;height:24px;padding:0 10px;border-radius:999px;background:rgba(3,27,78,.72);color:#fff;font-size:10px;font-weight:800;letter-spacing:.08em;backdrop-filter:blur(8px);}
@media (max-width:540px){.ime-showcase-image-count{left:10px;top:10px;height:21px;padding:0 8px;font-size:8.5px;}}


/* V528 — modal produit vertical, panneau texte seul scrollable */
.product-modal-window{width:min(1040px,calc(100vw - 42px)) !important;height:min(90vh,780px) !important;max-height:min(90vh,780px) !important}
.ime-product-showcase-modal{grid-template-columns:340px minmax(0,1fr) !important}
.ime-showcase-left{height:100%;position:relative}
.ime-showcase-image-hero{min-height:0;padding:48px 28px 26px !important}
.ime-showcase-image-hero img{max-height:500px !important}
.ime-showcase-image-note{position:relative;z-index:2;margin:0;padding:0 24px 14px;color:rgba(255,255,255,.58);font-size:9.5px;line-height:1.45}
.ime-showcase-right{height:100%;overflow:hidden !important;background:#fff !important}
.ime-showcase-scroll{overflow-y:auto !important;overscroll-behavior:contain;padding:28px 24px 34px 24px !important;scrollbar-width:thin;scrollbar-color:#A9B2C2 transparent}
.ime-showcase-scroll::-webkit-scrollbar{width:7px}.ime-showcase-scroll::-webkit-scrollbar-thumb{background:#A9B2C2;border-radius:10px}.ime-showcase-scroll::-webkit-scrollbar-track{background:transparent}
.ime-modal-head{padding-right:54px;margin-bottom:16px}.ime-modal-head .ime-showcase-category{margin-bottom:8px}.ime-showcase-right h2{padding:0;border:0;margin:0 0 5px;font-family:Arial,sans-serif;font-size:29px;font-weight:800;letter-spacing:-.02em}.ime-showcase-subtitle{margin:0;color:#697790;font-size:13px}
.ime-key-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #E4E8EF;border-radius:9px;background:#fff;margin:0 0 20px;overflow:hidden}.ime-key-facts>div{min-width:0;padding:11px 10px;border-right:1px solid #E4E8EF}.ime-key-facts>div:last-child{border-right:0}.ime-key-facts small{display:block;color:#8B97AE;font-size:9px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin-bottom:5px}.ime-key-facts strong{display:block;color:#08275F;font-size:12px;line-height:1.3}
.ime-detail-section{padding:15px 0 17px;border-top:1px solid #E7EAF0}.ime-detail-section h3{position:relative;margin:0 0 11px;padding-bottom:7px;color:#08275F;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.ime-detail-section h3:after{content:"";position:absolute;bottom:0;left:0;width:32px;height:2px;background:#D99A13}.ime-overview{max-width:830px;margin:0;color:#44536C;font-size:12.5px;line-height:1.7}
.ime-showcase-apps{gap:7px !important;margin:0 !important}.ime-showcase-apps span{height:25px !important;padding:0 10px !important;background:#F8FAFD !important;border-color:#E1E6EF !important;font-size:10px !important}
.ime-features-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.ime-features-grid>div+div{border-left:1px solid #E5E9F0;padding-left:24px}.ime-features-grid ul{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin:0;padding:0;list-style:none}.ime-features-grid li{position:relative;padding-left:17px;color:#33445E;font-size:11.5px;line-height:1.4}.ime-features-grid li:before{content:"✓";position:absolute;left:0;top:0;color:#D99A13;font-weight:900}
.ime-tech-table{border:1px solid #DDE3EC;border-radius:7px;overflow:hidden}.ime-tech-row{display:grid;grid-template-columns:42% 58%;min-height:34px;border-top:1px solid #E8ECF2}.ime-tech-row:first-child{border-top:0}.ime-tech-row span,.ime-tech-row strong{display:flex;align-items:center;padding:7px 12px;font-size:11px}.ime-tech-row span{color:#59677C}.ime-tech-row strong{border-left:1px solid #E8ECF2;color:#08275F;font-weight:700}.ime-tech-row.head{min-height:30px;background:#08275F}.ime-tech-row.head span{color:#fff;font-size:9.5px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.ime-tech-row.head span+span{border-left:1px solid rgba(255,255,255,.18)}
.ime-sld-note{margin:-3px 0 10px;color:#7A879B;font-size:10px}.ime-sld-frame{border:1px solid #DCE3ED;border-radius:8px;background:#fff;padding:12px;overflow:hidden}.ime-sld-frame img{display:block;width:100%;height:auto;max-height:240px;object-fit:contain}
.ime-showcase-actions{padding:14px 28px 20px !important;background:#fff !important}.ime-showcase-btn{height:44px !important}.ime-showcase-btn svg{margin-right:8px}
@media(max-width:980px){.ime-product-showcase-modal{grid-template-columns:300px minmax(0,1fr) !important}.ime-key-facts{grid-template-columns:repeat(3,1fr)}.ime-key-facts>div:nth-child(3n){border-right:0}.ime-key-facts>div:nth-child(n+4){border-top:1px solid #E4E8EF}.ime-features-grid ul{grid-template-columns:1fr}}
@media(max-width:760px){.product-modal-window{height:calc(100vh - 20px) !important;max-height:calc(100vh - 20px) !important}.ime-product-showcase-modal{display:flex !important;flex-direction:column}.ime-showcase-left{height:245px;min-height:245px}.ime-showcase-image-hero{padding:24px 20px 18px !important}.ime-showcase-image-hero img{max-height:165px !important}.ime-showcase-image-note,.ime-showcase-brand-sig{display:none}.ime-showcase-right{min-height:0;flex:1}.ime-key-facts{grid-template-columns:1fr 1fr}.ime-key-facts>div{border-top:1px solid #E4E8EF}.ime-key-facts>div:nth-child(-n+2){border-top:0}.ime-key-facts>div:nth-child(2n){border-right:0}.ime-features-grid{grid-template-columns:1fr;gap:18px}.ime-features-grid>div+div{border-left:0;border-top:1px solid #E5E9F0;padding-left:0;padding-top:18px}.ime-showcase-scroll{padding:24px 22px 28px !important}.ime-showcase-actions{padding:12px 22px 18px !important}}

/* V535 — gouvernance des données techniques par famille */
.ime-compliance-note{margin:0 0 10px;color:#5b6780;font-size:11.5px;line-height:1.55}
.ime-compliance-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;margin:0;padding:0;list-style:none}
.ime-compliance-list li{position:relative;padding-left:15px;color:#263b62;font-size:11.5px;line-height:1.45}
.ime-compliance-list li:before{content:"✓";position:absolute;left:0;top:0;color:#d99a13;font-weight:900}
.ime-family-disclaimer{margin:10px 0 0;padding:9px 11px;border-left:2px solid #d99a13;background:#f8fafc;color:#657188;font-size:10.5px;line-height:1.5}
@media(max-width:720px){.ime-compliance-list{grid-template-columns:1fr}}

/* V539 — Statuts catalogue pilotés par le CRM */
.ime-product-status-badge{position:absolute;top:16px;right:16px;z-index:4;display:inline-flex;align-items:center;justify-content:center;min-height:22px;max-width:calc(100% - 32px);padding:4px 10px;border-radius:999px;font-size:9px;font-weight:900;line-height:1.15;letter-spacing:.08em;text-align:center;box-shadow:0 8px 20px rgba(3,27,78,.14);background:#e5e7eb;color:#172033;}
.ime-status-new{background:#22c55e;color:#052e16;}
.ime-status-updated{background:#2563eb;color:#fff;}
.ime-status-hot{background:#f59e0b;color:#3b2100;}
.ime-status-custom{background:#7c3aed;color:#fff;}
.ime-status-on_request{background:#d1d5db;color:#1f2937;}
.ime-status-legacy{background:#4b5563;color:#fff;}
.ime-status-discontinued{background:#b91c1c;color:#fff;}
@media (max-width:540px){.ime-product-status-badge{top:10px;right:10px;min-height:19px;max-width:calc(100% - 20px);padding:3px 7px;font-size:7.5px;}}

/* V544 — téléchargement strictement limité aux fiches officielles disponibles */
.ime-showcase-btn.is-unavailable,.ime-showcase-btn.is-unavailable:hover{background:#eef1f5!important;color:#8b95a7!important;border-color:#d7dce5!important;box-shadow:none!important;transform:none!important;cursor:not-allowed!important}
