/* =========================================================
   V7 — product sobriety, compact fold, visual admin support
   ========================================================= */
:root{--v7-slate:#334b63;--v7-slate-dark:#223447;--v7-warm:#f7f4ee;--v7-soft:#f2f0eb;--v7-line:#ddd8cf}

/* Product pages: keep one visual language (orange + slate + neutral). */
.product-page .btn-buy{background:var(--v7-slate)!important;color:#fff!important;box-shadow:none!important}
.product-page .btn-buy:hover{background:var(--v7-slate-dark)!important}
.product-page .trust-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:14px!important}
.product-page .trust-link,
.product-page .trust-shipping,
.product-page .trust-video,
.product-page .trust-specs,
.product-page .trust-docs,
.product-page .trust-sav{grid-template-columns:30px minmax(0,1fr)!important;gap:8px!important;min-height:58px!important;padding:8px 10px!important;background:#fff!important;border:1px solid var(--v7-line)!important;border-left:2px solid #c9c4bb!important;border-radius:7px!important;box-shadow:none!important}
.product-page .trust-shipping{border-left-color:var(--v62-orange)!important}
.product-page .trust-link:hover{transform:none!important;background:#fbfaf7!important;border-color:#cec8be!important}
.product-page .trust-icon,
.product-page .trust-video .trust-icon{width:28px!important;height:28px!important;border-radius:6px!important;background:#f1eee8!important;color:var(--v7-slate-dark)!important;font-size:8.5px!important;font-weight:900!important}
.product-page .trust-video .trust-icon{font-size:11px!important}
.product-page .trust-link strong{font-size:11.5px!important;line-height:1.15!important;color:var(--v7-slate-dark)!important}
.product-page .trust-link small{margin-top:2px!important;font-size:9.3px!important;line-height:1.25!important;color:#70706c!important}
.product-page .availability.is-in{background:#edf7f0!important;border-color:#d7eadc!important;color:#24623f!important}
.product-page .product-kickers span{background:#f7f4ee!important;border-color:#e2ddd4!important;color:#6b5039!important}
.product-page .key-spec{border-color:var(--v7-line)!important;background:#fff!important}
.product-page .key-spec strong{color:var(--v7-slate-dark)!important}
.product-page .section-blue{background:#f5f3ee!important}
.product-page .spec-feature-strip strong{background:#fff!important;border-color:#ded8cf!important;color:#495969!important}
.product-video-section{padding-top:34px!important;padding-bottom:38px!important}
.video-frame-compact{max-width:520px!important;border-radius:8px!important}

/* Homepage: products must arrive quickly and images can use more of the card. */
.home-v6 .product-card-image{height:226px!important;padding:0!important;background:#f5f2ec!important}
.home-v6 .product-card-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!important;margin:0!important}
.v6-catalogue-first{padding-top:28px!important}
.v6-catalogue-first .v6-section-head{margin-bottom:18px!important}

/* The comparison block was removed in V7. */
.v6-compare{display:none!important}

/* Compact first screen on laptops / smaller desktop displays. */
@media (max-width:1500px) and (min-width:761px){
  .home-v6-hero-compact{padding:22px 0 18px!important}
  .home-v6-hero-single h1{font-size:clamp(39px,4vw,52px)!important;line-height:1!important;margin:7px 0 10px!important;max-width:900px!important}
  .home-v6-hero-single .home-v6-lead{font-size:15px!important;line-height:1.45!important;max-width:820px!important}
  .v6-delivery-promise{margin-top:10px!important;padding:8px 11px!important}
  .v63-carsat-hero-link{margin-top:9px!important;padding:8px 11px!important;min-height:0!important}
  .home-v6-hero-single .home-actions{margin-top:10px!important}
  .v6-height-chips{margin-top:10px!important}
  .v6-height-chips a{min-height:48px!important;padding:7px 10px!important}
  .v6-catalogue-first{padding-top:20px!important}
}

@media(max-width:760px){
  .home-v6-hero-compact{padding:20px 0 16px!important}
  .home-v6-hero-single h1{font-size:32px!important;margin:6px 0 9px!important}
  .home-v6-hero-single .home-v6-lead{font-size:14px!important;line-height:1.45!important}
  .v6-delivery-promise{margin-top:9px!important;padding:8px 10px!important}
  .v63-carsat-hero-link{margin-top:8px!important;padding:8px 10px!important}
  .v6-height-chips{display:none!important}
  .v6-catalogue-first{padding-top:18px!important}
  .v6-catalogue-first .v6-section-head{margin-bottom:12px!important}
  .home-v6 .product-card-image{height:174px!important}
  .product-page .trust-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
  .product-page .trust-link{grid-template-columns:25px minmax(0,1fr)!important;min-height:54px!important;padding:7px 8px!important;gap:6px!important}
  .product-page .trust-icon,.product-page .trust-video .trust-icon{width:25px!important;height:25px!important;font-size:8px!important}
  .product-page .trust-link strong{font-size:10.5px!important}.product-page .trust-link small{font-size:8.5px!important}
  .video-frame-compact{max-width:440px!important}
}
@media(max-width:390px){.product-page .trust-strip{grid-template-columns:1fr!important}}

/* =========================================================
   V7.2 — galerie média + hero homepage plus compact
   ========================================================= */
/* Galerie : la vidéo devient un média de la galerie, pas une section séparée. */
.product-page .product-media-card{position:relative!important}
.product-page .product-media-video{position:absolute;inset:18px;display:flex;align-items:center;justify-content:center;background:#111;border-radius:8px;overflow:hidden;z-index:2}
.product-page .product-media-video[hidden]{display:none!important}
.product-page .product-media-video iframe{display:block;width:100%;aspect-ratio:16/9;max-height:100%;border:0;background:#111}
.product-page .main-product-image[hidden]{display:none!important}
.product-page .product-video-thumbnail{position:relative;padding:0!important;background:#172635!important;border-color:#c8d0d6!important;overflow:hidden}
.product-page .product-video-thumbnail img{width:100%!important;height:100%!important;object-fit:cover!important;opacity:.62;filter:saturate(.75)}
.product-page .product-video-play{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:30px;height:30px;transform:translate(-50%,-50%);border-radius:50%;background:#fff;color:var(--v62-orange);font-size:13px;font-weight:950;box-shadow:0 4px 14px rgba(0,0,0,.26);padding-left:2px}
.product-page .product-video-thumbnail.is-active{border-color:var(--v62-orange)!important;box-shadow:0 0 0 3px rgba(242,112,31,.12)!important}
.product-page .sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* Les raccourcis produit sont désormais seulement Documentation + SAV. */
.product-page .trust-strip-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:100%;gap:8px!important;margin-top:12px!important}
.product-page .trust-strip-compact .trust-link{min-height:52px!important;padding:7px 10px!important}
.product-page .trust-strip-compact .trust-icon{width:26px!important;height:26px!important}
.product-page .trust-strip-compact .trust-link strong{font-size:11px!important}
.product-page .trust-strip-compact .trust-link small{font-size:8.8px!important}

/* L'ancien bloc vidéo autonome n'est plus utilisé. */
.product-video-section{display:none!important}

/* Homepage : hero beaucoup plus court afin d'apercevoir les produits sur laptop. */
.home-v6-hero-compact{padding:26px 0 20px!important}
.home-v6-hero-single h1{max-width:900px!important;margin:7px 0 10px!important;font-size:clamp(40px,4.15vw,58px)!important;line-height:.99!important}
.home-v6-hero-single .home-v6-lead{max-width:820px!important;font-size:15.5px!important;line-height:1.48!important}
.home-v6-hero-single .v6-badge{padding:6px 9px!important;font-size:9.5px!important}
.home-v6-hero-single .v6-delivery-promise{max-width:760px!important;margin-top:10px!important;padding:8px 11px!important;gap:10px!important}
.home-v6-hero-single .v6-delivery-promise strong{font-size:11.5px!important}
.home-v6-hero-single .v6-delivery-promise span{font-size:10.5px!important}
.home-v6-hero-single .v63-carsat-hero-link{max-width:920px!important;margin-top:8px!important;padding:7px 10px!important;gap:9px!important}
.home-v6-hero-single .v63-carsat-hero-link strong{font-size:10.5px!important}
.home-v6-hero-single .v63-carsat-hero-link b{font-size:9.5px!important}
.home-v6-hero-single .home-actions{margin-top:9px!important}
.home-v6-hero-single .home-actions .btn{min-height:42px!important;padding:0 16px!important;font-size:12px!important}
.home-v6-hero-single .v6-height-chips{margin-top:9px!important}
.home-v6-hero-single .v6-height-chips a{padding:6px 9px!important;min-height:36px!important}
.home-v6-hero-single .v6-height-chips strong{font-size:11px!important}
.home-v6-hero-single .v6-height-chips span{font-size:9.5px!important}
.v6-catalogue-first{padding-top:18px!important}

/* Sur les écrans de portable peu hauts, on privilégie encore plus le catalogue. */
@media (min-width:761px) and (max-height:900px){
  .home-v6-hero-compact{padding:18px 0 14px!important}
  .home-v6-hero-single h1{font-size:clamp(38px,3.7vw,50px)!important;margin:5px 0 8px!important}
  .home-v6-hero-single .home-v6-lead{font-size:14px!important;line-height:1.4!important}
  .home-v6-hero-single .v6-delivery-promise{margin-top:7px!important;padding:6px 9px!important}
  .home-v6-hero-single .v63-carsat-hero-link{margin-top:6px!important;padding:6px 9px!important}
  .home-v6-hero-single .home-actions{margin-top:7px!important}
  .home-v6-hero-single .v6-height-chips{display:none!important}
  .v6-catalogue-first{padding-top:14px!important}
  .v6-catalogue-first .v6-section-head{margin-bottom:12px!important}
}

@media(max-width:760px){
  .product-page .product-media-video{inset:12px}
  .product-page .product-video-play{width:28px;height:28px;font-size:12px}
  .product-page .trust-strip-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .home-v6-hero-compact{padding:17px 0 14px!important}
  .home-v6-hero-single h1{font-size:30px!important;line-height:1.02!important;margin:5px 0 8px!important}
  .home-v6-hero-single .home-v6-lead{font-size:13.5px!important;line-height:1.42!important}
  .home-v6-hero-single .v6-delivery-promise{margin-top:7px!important;padding:7px 9px!important}
  .home-v6-hero-single .v63-carsat-hero-link{margin-top:6px!important;padding:7px 9px!important}
  .home-v6-hero-single .home-actions{margin-top:7px!important}
}
@media(max-width:390px){.product-page .trust-strip-compact{grid-template-columns:1fr!important}}
@media(min-width:901px){
  .product-page .product-hero{align-items:start!important}
  .product-page .product-gallery{align-self:start!important}
}

/* V8.1 — header réellement fixe sur desktop et mobile */
:root{--site-header-height:102px;--admin-toolbar-height:0px}
.site-header{position:fixed!important;top:var(--admin-toolbar-height,0px)!important;left:0!important;right:0!important;width:100%!important;z-index:1000!important}
body{padding-top:calc(var(--site-header-height,102px) + var(--admin-toolbar-height,0px))!important}
html{scroll-padding-top:calc(var(--site-header-height,102px) + var(--admin-toolbar-height,0px) + 12px)!important}
@media(max-width:620px){.header-topbar-inner{justify-content:center!important;min-height:34px!important}.header-shipping{display:none!important}.header-contact{display:flex!important;width:100%!important;justify-content:center!important;gap:12px!important;white-space:nowrap!important}.header-email{display:inline!important}.header-contact a{font-size:10px!important}}


/* V8.2 — devis carte produit, VGP desktop et assistant commercial */
.product-card-quote{display:flex!important;justify-content:center;margin-top:12px!important;width:100%;min-height:40px!important;font-size:11px!important}
.product-vgp-desktop{display:block;padding:0 0 24px;background:#fff}
.product-vgp-desktop .container{display:flex;justify-content:flex-start}
.product-vgp-desktop img{display:block;max-width:430px;width:100%;height:auto;border-radius:12px}
.sales-chat{position:fixed;right:18px;bottom:18px;z-index:1100;font-family:inherit}
.sales-chat-launcher{display:flex;align-items:center;gap:9px;border:0;border-radius:999px;background:#fff;box-shadow:0 8px 30px rgba(24,41,58,.22);padding:6px 12px 6px 6px;color:#20364a;font-weight:900;cursor:pointer}
.sales-chat-launcher img,.sales-chat-panel header img{border-radius:50%;object-fit:cover}
.sales-chat-panel{position:absolute;right:0;bottom:68px;width:min(360px,calc(100vw - 24px));max-height:min(620px,calc(100vh - 110px));overflow:auto;background:#fff;border:1px solid #dce3e9;border-radius:16px;box-shadow:0 16px 48px rgba(24,41,58,.28)}
.sales-chat-panel[hidden]{display:none!important}
.sales-chat-panel header{display:flex;align-items:center;gap:10px;padding:13px 14px;background:#253d54;color:#fff;border-radius:16px 16px 0 0;position:sticky;top:0;z-index:1}
.sales-chat-panel header div{display:flex;flex-direction:column;line-height:1.15}.sales-chat-panel header span{font-size:10px;opacity:.8;margin-top:3px}.sales-chat-panel header button{margin-left:auto;border:0;background:transparent;color:#fff;font-size:25px;cursor:pointer}
.sales-chat-body{padding:14px}.sales-chat-body>p{margin:0 0 10px;color:#425469;font-size:13px;line-height:1.45}.sales-chat-questions{display:grid;gap:7px}.sales-chat-questions button{border:1px solid #dbe2e8;background:#f8fafb;color:#253d54;text-align:left;padding:10px 11px;border-radius:9px;font-weight:800;font-size:11.5px;cursor:pointer}.sales-chat-questions button:hover{border-color:#f2701f;background:#fff8f3}
.sales-chat-form{display:grid;gap:9px}.sales-chat-form[hidden],.sales-chat-thanks[hidden],.sales-chat-questions[hidden]{display:none!important}.sales-chat-selected{padding:9px 10px;border-radius:8px;background:#f5f7f8;color:#253d54!important;font-weight:800}.sales-chat-form label{display:grid;gap:4px;font-size:11px;font-weight:800;color:#334b63}.sales-chat-form input{min-height:40px;border:1px solid #ccd5dc;border-radius:8px;padding:8px 9px;font:inherit}.sales-chat-back{border:0;background:transparent;color:#516477;font-weight:800;cursor:pointer}.sales-chat-thanks{padding:15px;border-radius:10px;background:#f0f8f3;color:#285e3d}.sales-chat-thanks p{margin:5px 0 0}.sales-chat .hp-field{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:760px){.product-vgp-desktop{display:none!important}.sales-chat{right:10px;bottom:78px}.sales-chat-launcher span{display:none}.sales-chat-launcher{padding:5px}.sales-chat-launcher img{width:46px;height:46px}.sales-chat-panel{right:0;bottom:61px;width:min(350px,calc(100vw - 20px));max-height:calc(100vh - 155px)}}


/* V8.3 — VGP sous galerie produit + ancrage devis mobile */
.product-vgp-inline{display:block;margin:14px auto 0;width:min(68%,420px);overflow:hidden;border:1px solid #e2ddd5;border-radius:9px;background:#fff;box-shadow:0 6px 18px rgba(11,31,58,.045)}
.product-vgp-inline img{display:block;width:100%;height:auto}
.quote-form{scroll-margin-top:calc(var(--site-header-height,100px) + 14px)}
@media(max-width:760px){.product-vgp-inline,.product-vgp-desktop{display:none!important}}
