.tempco-mega[hidden]{display:none!important}
.tempco-mega{position:fixed;z-index:99999;top:var(--tempco-mega-top,80px);left:50%;transform:translateX(-50%);width:min(1380px,calc(100vw - 24px));background:#fff;box-shadow:0 16px 34px rgba(0,0,0,.09);border-radius:0;padding:20px 34px 24px;color:#252525;font-family:inherit;box-sizing:border-box}
.tempco-mega__inner{display:grid;grid-template-columns:1.02fr 1.02fr 1.12fr;column-gap:44px;min-height:230px}
.tempco-mega__column{min-width:0}
.tempco-mega__heading{display:none}
.tempco-mega__item{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:25px;border-bottom:0}
.tempco-mega__select{border:0!important;background:transparent!important;box-shadow:none!important;color:#777!important;text-align:left;flex:1;padding:4px 0!important;cursor:pointer;font-size:12px!important;font-weight:400!important;line-height:1.35!important;min-width:0}
.tempco-mega__item.is-selected>.tempco-mega__select{color:#12a9c8!important;font-weight:600!important}
.tempco-mega__toggle{border:0!important;background:transparent!important;box-shadow:none!important;color:#555!important;cursor:pointer;padding:2px 4px!important;font-size:13px!important;line-height:1.2!important;min-width:20px}
.tempco-mega__item.is-selected>.tempco-mega__toggle{color:#13a9c8!important}
.tempco-mega__detail{padding-left:0}
.tempco-mega__detail h3{font-size:16px!important;line-height:1.3!important;margin:0 0 9px!important;font-weight:700!important;color:#151515!important}
.tempco-mega__detail p{font-size:12px!important;line-height:1.5!important;margin:0 0 8px!important;color:#202020!important}
.tempco-mega__image{display:block;max-width:100%;width:auto;max-height:145px;object-fit:contain;margin:8px auto}
.tempco-mega__view{display:inline-block;font-size:12px;color:#159fbd!important;text-decoration:underline;margin-top:5px}
.tempco-mega__close{position:absolute;right:8px;top:4px;border:0!important;background:transparent!important;box-shadow:none!important;font-size:22px!important;cursor:pointer;color:#777!important;padding:3px 9px!important}
@media(max-width:767px){.tempco-mega{width:calc(100vw - 16px);max-height:calc(100dvh - 90px);overflow:auto;padding:22px 18px}.tempco-mega__inner{grid-template-columns:1fr;gap:14px}.tempco-mega__column{border-bottom:1px solid #eee;padding-bottom:12px}.tempco-mega__select{font-size:14px!important;padding:8px 0!important}.tempco-mega__item{min-height:34px}.tempco-mega__detail{border:0}}
/* v1.2: progressive mobile navigation */
.tempco-mega__mobilebar{display:none}
.tempco-mega__empty{font-size:13px;color:#777}
@media(max-width:767px){
 .tempco-mega{position:fixed;top:0!important;left:0;transform:none;width:100vw;max-height:100dvh;height:100dvh;overflow-y:auto;padding:20px 18px;box-shadow:0 0 0 100vmax rgba(0,0,0,.3)}
 .tempco-mega__mobilebar{display:flex;align-items:center;gap:12px;min-height:42px;padding:0 32px 10px 0;border-bottom:1px solid #eee;margin-bottom:8px}
 .tempco-mega__mobiletitle{font-size:16px}
 .tempco-mega__back{background:none!important;border:0!important;padding:4px 8px 4px 0!important;color:#0a9db9!important;box-shadow:none!important}
 .tempco-mega__inner{display:block;min-height:0}
 .tempco-mega__column{border:0;padding:0}
 .tempco-mega[data-level="0"] .tempco-mega__column:nth-child(n+2),
 .tempco-mega[data-level="1"] .tempco-mega__column:nth-child(1),
 .tempco-mega[data-level="1"] .tempco-mega__column:nth-child(3),
 .tempco-mega[data-level="2"] .tempco-mega__column:nth-child(-n+2){display:none}
 .tempco-mega__item{border-bottom:1px solid #eee;min-height:45px}
 .tempco-mega__select{font-size:15px!important;padding:12px 0!important}
 .tempco-mega__detail h3{font-size:19px!important}
 .tempco-mega__detail p{font-size:14px!important}
 .tempco-mega__image{max-height:220px}
 .tempco-mega__close{top:17px;right:14px}
}

/* v1.3 — Chevron sur le lien Produits (état ouvert/fermé). */
.tempco-megamenu-trigger > a::after {
 content:"";display:inline-block;width:6px;height:6px;margin-left:9px;
 border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;
 transform:translateY(-2px) rotate(45deg);transition:transform .2s ease;
 vertical-align:middle;
}
.tempco-megamenu-trigger.tempco-open > a::after {
 transform:translateY(2px) rotate(225deg);
}
@media(prefers-reduced-motion:reduce){.tempco-megamenu-trigger > a::after{transition:none}}
