/* Informations supplémentaires */
.wpthea-product-info-item>strong{margin-right:.35em}

/* Navigation fiche produit — entièrement gérée par THEA Marie Metabox */
.wpthea-product-nav{
position:sticky;
top:92px;
z-index:90;
width:min(1180px,calc(100vw - 48px))!important;
max-width:none!important;
margin:0 0 58px 50%!important;
padding:4px 10px!important;
display:flex!important;
align-items:center!important;
justify-content:center!important;
flex-wrap:wrap!important;
gap:4px!important;
box-sizing:border-box!important;
border:1px solid rgba(1,42,104,.30)!important;
border-radius:999px!important;
background:rgba(255,255,255,.97)!important;
-webkit-backdrop-filter:blur(18px) saturate(160%);
backdrop-filter:blur(18px) saturate(160%);
box-shadow:0 8px 26px rgba(1,42,104,.055)!important;
transform:translateX(-50%);
overflow:visible!important
}
.wpthea-product-nav::-webkit-scrollbar{display:none}
.wpthea-product-nav a{
position:relative;
flex:0 0 auto;
display:flex;
align-items:center;
justify-content:center;
min-height:50px;
padding:0 11px;
border-radius:999px!important;
background:transparent!important;
color:#012A68!important;
font-size:14px;
font-weight:600;
line-height:1.2;
text-align:center;
text-decoration:none!important;
white-space:nowrap;
transition:color .18s ease,background .18s ease!important
}
.wpthea-product-nav a:after{
content:"";
position:absolute;
left:18px;
right:18px;
bottom:3px;
height:3px;
border-radius:999px;
background:#EB2A32;
transform:scaleX(0);
transform-origin:center;
transition:transform .2s ease
}
.wpthea-product-nav a:hover,
.wpthea-product-nav a:focus{
background:rgba(235,42,50,.035)!important;
color:#EB2A32!important;
outline:0
}
.wpthea-product-nav a:hover:after,
.wpthea-product-nav a:focus:after,
.wpthea-product-nav a.is-active:after{transform:scaleX(1)}
.wpthea-product-nav a.is-active{color:#EB2A32!important}

/* Captures d’écran — vignettes carrées compactes */
.wpthea-product-screenshot-grid,
.wpthea-product-video-grid{
display:grid!important;
grid-template-columns:repeat(auto-fill,minmax(150px,180px))!important;
justify-content:start!important;
gap:16px!important
}
.wpthea-product-screenshot-grid .thea-marie-lightbox-item{
position:relative!important;
display:block!important;
width:100%!important;
aspect-ratio:1/1!important;
min-height:0!important;
overflow:hidden!important;
border:1px solid rgba(1,42,104,.10)!important;
border-radius:16px!important;
background:#fff!important;
box-shadow:0 8px 20px rgba(1,42,104,.045)!important;
cursor:zoom-in!important;
transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important
}
.wpthea-product-screenshot-grid .thea-marie-lightbox-item:before{
content:"";
position:absolute;
inset:0;
z-index:1;
background:rgba(1,42,104,0);
transition:background .18s ease
}
.wpthea-product-screenshot-grid .thea-marie-lightbox-item:after{
content:"＋";
position:absolute;
left:50%;
top:50%;
z-index:2;
width:42px;
height:42px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
background:rgba(255,255,255,.95);
box-shadow:0 8px 24px rgba(1,42,104,.14);
color:#012A68;
font-size:23px;
font-weight:300;
opacity:0;
transform:translate(-50%,-50%) scale(.88);
transition:opacity .18s ease,transform .18s ease,color .18s ease
}
.wpthea-product-screenshot-grid .thea-marie-lightbox-item:hover{
border-color:rgba(1,42,104,.18)!important;
transform:translateY(-3px);
box-shadow:0 14px 30px rgba(1,42,104,.09)!important
}
.wpthea-product-screenshot-grid .thea-marie-lightbox-item:hover:before{background:rgba(1,42,104,.06)}
.wpthea-product-screenshot-grid .thea-marie-lightbox-item:hover:after{
opacity:1;
transform:translate(-50%,-50%) scale(1);
color:#EB2A32
}
.wpthea-product-screenshot-grid .thea-marie-lightbox-thumb{
display:block!important;
width:100%!important;
height:100%!important;
margin:0!important;
padding:0!important;
border-radius:0!important;
object-fit:cover!important;
background:#fff!important
}

@media(max-width:900px){
.wpthea-product-nav{top:84px;width:calc(100vw - 40px)!important;margin-bottom:46px!important}
.wpthea-product-screenshot-grid,.wpthea-product-video-grid{grid-template-columns:repeat(auto-fill,minmax(140px,170px))!important}
}
@media(max-width:700px){
.wpthea-product-nav{top:78px;width:calc(100vw - 28px)!important;margin-bottom:34px!important;padding:4px 8px!important;border-radius:18px!important}
.wpthea-product-nav a{min-height:48px;padding:0 15px;font-size:13.5px}
.wpthea-product-screenshot-grid,.wpthea-product-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:380px!important;gap:12px!important}
}
@media(max-width:420px){
.wpthea-product-nav a{font-size:13px}
.wpthea-product-screenshot-grid,.wpthea-product-video-grid{max-width:340px!important}
}
@media(max-width:340px){
.wpthea-product-screenshot-grid,.wpthea-product-video-grid{grid-template-columns:1fr!important;max-width:170px!important}
}
@media(prefers-reduced-motion:reduce){
.wpthea-product-nav a,.wpthea-product-nav a:after,.wpthea-product-screenshot-grid .thea-marie-lightbox-item{transition:none!important}
.wpthea-product-screenshot-grid .thea-marie-lightbox-item:hover{transform:none!important}
}

body.thea-marie-lightbox-open{overflow:hidden!important}
.thea-marie-lightbox{position:fixed;inset:0;z-index:1000000;display:flex;align-items:center;justify-content:center;padding:26px;box-sizing:border-box}
.thea-marie-lightbox[hidden]{display:none!important}
.thea-marie-lightbox__backdrop{position:absolute;inset:0;background:rgba(24,43,48,.66);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.thea-marie-lightbox__dialog{position:relative;z-index:1;width:min(1180px,calc(100vw - 52px));height:min(86vh,860px);display:flex;flex-direction:column;overflow:hidden;background:#eef5f8;border:1px solid rgba(255,255,255,.4);box-shadow:0 28px 80px rgba(0,0,0,.28)}
.thea-marie-lightbox__toolbar{min-height:60px;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:0 14px 0 20px;background:rgba(255,255,255,.88);border-bottom:1px solid rgba(1,42,104,.08)}
.thea-marie-lightbox__count{margin-right:auto;color:#012A68;font-size:13px;font-weight:650}
.thea-marie-lightbox__toolbar button{width:42px;height:42px;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:#fff;color:#012A68;text-decoration:none;cursor:pointer;transition:background .18s ease,color .18s ease,transform .18s ease}
.thea-marie-lightbox__toolbar button:hover{background:#012A68;color:#fff}
.thea-marie-lightbox__toolbar button:active{transform:scale(.94)}
.thea-marie-lightbox__close{border-radius:0!important;background:#012A68!important;color:#fff!important;font-size:28px;line-height:1}
.thea-marie-lightbox__close:hover{background:#EB2A32!important}
.thea-marie-lightbox__stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;padding:30px 76px;box-sizing:border-box}
.thea-marie-lightbox__image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;background:#fff;box-shadow:0 8px 24px rgba(1,42,104,.08)}
.thea-marie-lightbox__prev,.thea-marie-lightbox__next{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:72px;display:flex;align-items:center;justify-content:center;padding:0;border:0;background:transparent;color:#fff;font-size:58px;font-weight:200;line-height:1;cursor:pointer;text-shadow:0 2px 8px rgba(0,0,0,.24);transition:color .18s ease,transform .18s ease}
.thea-marie-lightbox__prev{left:10px}.thea-marie-lightbox__next{right:10px}
.thea-marie-lightbox__prev:hover,.thea-marie-lightbox__next:hover{color:#EB2A32;transform:translateY(-50%) scale(1.06)}
.thea-marie-lightbox__prev[hidden],.thea-marie-lightbox__next[hidden]{display:none!important}
.wpthea-product-video{border:1px solid rgba(1,42,104,.09);border-radius:22px;background:#fff;box-shadow:0 12px 34px rgba(1,42,104,.045)}
.wpthea-product-video-item{position:relative!important;display:block!important;width:100%!important;aspect-ratio:1/1!important;min-height:0!important;overflow:hidden!important;border:1px solid rgba(1,42,104,.10)!important;border-radius:16px!important;background:linear-gradient(135deg,#edf4fa,#b9cbdc)!important;box-shadow:0 8px 20px rgba(1,42,104,.045)!important;cursor:zoom-in!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
.wpthea-product-video-item:hover,.wpthea-product-video-item:focus-visible{border-color:rgba(1,42,104,.18)!important;transform:translateY(-3px);box-shadow:0 14px 30px rgba(1,42,104,.09)!important}
.wpthea-product-video-poster{display:block!important;width:100%!important;height:100%!important;margin:0!important;object-fit:cover!important}
.wpthea-product-video-poster[hidden]{display:none!important}
.wpthea-product-video-play{position:absolute;left:50%;top:50%;display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:rgba(1,42,104,.82);box-shadow:0 6px 22px rgba(0,0,0,.18);color:#fff;font-size:23px;line-height:1;transform:translate(-50%,-50%);transition:background .18s ease,transform .18s ease;pointer-events:none}
.wpthea-product-video-item:hover .wpthea-product-video-play,.wpthea-product-video-item:focus-visible .wpthea-product-video-play{background:#EB2A32;transform:translate(-50%,-50%) scale(1.08)}
.thea-marie-lightbox__video{display:block;width:100%;max-width:100%;max-height:100%;height:auto;aspect-ratio:16/9;background:#07172c;object-fit:contain}
.thea-marie-lightbox__image[hidden],.thea-marie-lightbox__video[hidden]{display:none!important}
@media(max-width:700px){.thea-marie-lightbox{padding:0}.thea-marie-lightbox__dialog{width:100vw;height:100dvh;max-height:none}.thea-marie-lightbox__stage{padding:20px 48px}.thea-marie-lightbox__prev,.thea-marie-lightbox__next{width:42px;font-size:48px}.thea-marie-lightbox__prev{left:2px}.thea-marie-lightbox__next{right:2px}}
@media(prefers-reduced-motion:reduce){.thea-marie-lightbox__toolbar button,.thea-marie-lightbox__prev,.thea-marie-lightbox__next,.wpthea-product-video-item,.wpthea-product-video-play{transition:none!important}}
