/* LMS shared framed headers – match the validated commune header. */
.lms-page-intro{box-sizing:border-box;width:100%;margin:0 auto 28px;padding:clamp(28px,4vw,48px) 24px;border:1px solid var(--line);border-top:0;border-radius:0 0 30px 30px;background:var(--bg);text-align:center}
.lms-page-intro h1{font-size:clamp(28px,3.6vw,46px);line-height:1.12;letter-spacing:-.04em;margin:0 auto 14px;max-width:900px}
.lms-page-intro p{max-width:760px;margin:12px auto 0;line-height:1.6;color:var(--muted)}
html body.route-explorer main.explore-page{padding-top:0!important}
html body.route-publier .member-workspace-heading{text-align:center!important;width:100%!important;max-width:none!important}
html body.route-publier .member-workspace-heading :is(h1,p){margin-left:auto!important;margin-right:auto!important}
html body.admin-console-shell .admin-publish-shell>.lms-page-intro{border:1px solid var(--line)!important;border-top:0!important;border-radius:0 0 30px 30px!important;padding:clamp(28px,4vw,48px) 24px!important;text-align:center!important}
html body.lms-navigation-v2.page-shell{--lms-frame-width:min(1100px,calc(100vw - 32px));}
/* Homepage headline and featured photo share the same 1180px editorial frame. */
html body.lms-navigation-v2.page-shell.route-home{--lms-frame-width:min(1180px,calc(100vw - 64px));}
@media(min-width:641px) and (max-width:1024px){
 html body.lms-navigation-v2.page-shell.route-home{--lms-frame-width:calc(100vw - 40px);}
}
@media(max-width:640px){
 html body.lms-navigation-v2.page-shell.route-home{--lms-frame-width:calc(100vw - 32px);}
}
html body.lms-navigation-v2.page-shell:has(>main>.member-workspace-hero)>.lms-site-header::after{
 width:var(--lms-frame-width)!important;
}
html body.lms-navigation-v2.page-shell main>.member-workspace-hero{
 box-sizing:border-box!important;width:var(--lms-frame-width)!important;max-width:none!important;
 position:relative!important;left:50%!important;transform:translateX(-50%)!important;
 margin:0 0 30px!important;
}
/* Home: only wrap the original heading, leave the media/video carousel untouched. */
html body.lms-navigation-v2.page-shell.route-home>.lms-site-header::after,
html body.lms-navigation-v2.page-shell.route-boutiques>.lms-site-header::after{
 content:"";position:absolute;left:50%;bottom:-1px;z-index:1;
 width:var(--lms-frame-width);height:2px;transform:translateX(-50%);
 background:var(--bg);pointer-events:none;
}
html body.lms-navigation-v2.page-shell.route-home .media-lead{padding-top:0!important;}
html body.lms-navigation-v2.page-shell.route-home .media-lead-copy,
html body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>.lms-editorial-intro{
 isolation:isolate!important;position:relative!important;
 width:var(--lms-frame-width)!important;max-width:none!important;
 box-sizing:border-box!important;margin:0 auto 28px!important;
 padding:clamp(38px,5vw,72px) clamp(18px,3vw,36px) clamp(32px,4vw,58px)!important;
 border:1px solid var(--lms-public-rule,var(--line))!important;border-top:0!important;
 border-radius:0 0 30px 30px!important;background:var(--bg)!important;
 overflow:hidden!important;text-align:center!important;
}
html body.lms-navigation-v2.page-shell.route-home .media-lead-copy>:is(p,h1){
 position:relative;z-index:2;
}
html body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page{
 width:100%!important;max-width:none!important;margin:0!important;
 padding-top:0!important;
}
html body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>.lms-editorial-intro h1,
html body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>.lms-editorial-intro p{
 max-width:840px!important;margin-left:auto!important;margin-right:auto!important;
 text-align:center!important;
}
html body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>:is(.explore-searchbar,.explore-results-row,.boutiques-grid,.explore-pagination){
 box-sizing:border-box!important;width:var(--lms-frame-width)!important;max-width:1100px!important;
 margin-left:auto!important;margin-right:auto!important;
}
/* Water stays at the bottom quarter-third; visible continuous waves on hover. */
html body.lms-navigation-v2.page-shell.route-home .media-lead-copy::before,
html body.lms-navigation-v2.page-shell.route-home .media-lead-copy::after,
html body.lms-navigation-v2.page-shell.route-boutiques .boutiques-page>.lms-editorial-intro::before,
html body.lms-navigation-v2.page-shell.route-boutiques .boutiques-page>.lms-editorial-intro::after{
 content:"";position:absolute;inset:auto 0 0;z-index:0;pointer-events:none;
 transform:translateY(110%);transition:transform .68s cubic-bezier(.22,1,.36,1);
}
html body.lms-navigation-v2.page-shell.route-home .media-lead-copy::before,
html body.lms-navigation-v2.page-shell.route-boutiques .boutiques-page>.lms-editorial-intro::before{
 height:37%;background:radial-gradient(circle at 21% 62%,color-mix(in srgb,var(--accent) 29%,transparent) 0 3px,transparent 4px),
  color-mix(in srgb,var(--accent) 19%,transparent);
 clip-path:polygon(0 19%,8% 12%,16% 14%,24% 22%,32% 27%,40% 21%,48% 12%,56% 11%,64% 18%,72% 25%,80% 23%,88% 15%,96% 13%,100% 17%,100% 100%,0 100%);
}
html body.lms-navigation-v2.page-shell.route-home .media-lead-copy::after,
html body.lms-navigation-v2.page-shell.route-boutiques .boutiques-page>.lms-editorial-intro::after{
 height:29%;background:color-mix(in srgb,var(--accent) 12%,transparent);
 clip-path:polygon(0 25%,10% 20%,20% 14%,30% 18%,40% 26%,50% 24%,60% 16%,70% 12%,80% 16%,90% 24%,100% 21%,100% 100%,0 100%);
}
@media(hover:hover) and (pointer:fine){
 html body.lms-navigation-v2.page-shell.route-home .media-lead-copy:hover::before,
 html body.lms-navigation-v2.page-shell.route-boutiques .boutiques-page>.lms-editorial-intro:hover::before{
  transform:translateY(0);animation:lms-soft-water 2.45s ease-in-out infinite;
 }
 html body.lms-navigation-v2.page-shell.route-home .media-lead-copy:hover::after,
 html body.lms-navigation-v2.page-shell.route-boutiques .boutiques-page>.lms-editorial-intro:hover::after{
  transform:translateY(0);animation:lms-soft-water-back 3.15s ease-in-out infinite;
 }
}
/* Loupe: search-sheet wrapped in a central bottom-rounded frame rather than 100vw panel. */
html body.lms-navigation-v2.page-shell>.lms-shared-feed-search:not([hidden]) .search-sheet.feed-search-panel{
 top:0!important;left:50%!important;right:auto!important;bottom:auto!important;
 width:var(--lms-frame-width)!important;max-width:none!important;min-width:0!important;
 max-height:calc(100dvh - var(--lms-public-header-height) - 20px)!important;
 margin:0!important;padding:clamp(22px,4vw,44px)!important;
 border:1px solid var(--lms-public-rule,var(--line))!important;border-top:0!important;
 border-radius:0 0 30px 30px!important;transform:translateX(-50%)!important;
 background:var(--bg)!important;box-shadow:0 23px 42px #0005!important;
}
html body.lms-navigation-v2.page-shell:has(>.lms-shared-feed-search:not([hidden]))>.lms-site-header::after{
 content:"";position:absolute;left:50%;bottom:-1px;z-index:4;
 width:var(--lms-frame-width);height:2px;transform:translateX(-50%);
 background:var(--bg);pointer-events:none;
}
html body.lms-navigation-v2.page-shell>.lms-shared-feed-search .feed-explore-search .explore-search-shell{
 width:100%!important;max-width:none!important;
}
html body.lms-navigation-v2.page-shell>.lms-shared-feed-search .feed-search-actions{
 width:100%!important;display:flex!important;flex-wrap:wrap!important;gap:10px!important;
}
/* Publishing: privacy switch stays under the instant preview in the sticky column. */
html body.lms-navigation-v2.page-shell.route-publier .publish-live-preview{
 position:sticky!important;top:calc(var(--lms-public-header-height,68px) + 16px)!important;
 align-self:start!important;
}
html body.lms-navigation-v2.page-shell.route-publier .publish-preview-privacy{
 margin-top:12px!important;box-sizing:border-box!important;width:100%!important;
 padding:12px!important;border:1px solid var(--line)!important;
 border-radius:14px!important;background:var(--surface)!important;
}
html body.lms-navigation-v2.page-shell.route-publier .publish-preview-privacy>.publish-privacy-control{
 display:flex!important;align-items:center!important;justify-content:space-between!important;
 gap:12px!important;margin:0!important;padding:0!important;
 background:transparent!important;border:0!important;color:var(--text)!important;
}
html body.lms-navigation-v2.page-shell.route-publier .publish-preview-privacy .publish-privacy-control small{
 display:block!important;font-size:11px!important;line-height:1.55!important;
 color:var(--muted)!important;text-transform:none!important;
}
html body.lms-navigation-v2.page-shell.route-publier .type-choice label>span :is(strong,small){
 color:var(--text)!important;opacity:1!important;line-height:1.5!important;
}
html.theme-dark body.lms-navigation-v2.page-shell.route-publier .type-choice label>span small{
 color:#fff!important;
}
html body.lms-navigation-v2.page-shell.route-publier .type-choice input:checked+span :is(strong,small){
 color:var(--text)!important;
}
/* Reviews: one generous horizontal score, no broken narrow multi-line headline. */
html body.lms-navigation-v2.page-shell .premium-reviews-v2{
 box-sizing:border-box!important;width:min(1100px,calc(100% - 32px))!important;max-width:1100px!important;
 margin:clamp(28px,4vw,48px) auto!important;padding:0!important;
 color:var(--text)!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2>header{
 box-sizing:border-box!important;display:grid!important;
 grid-template-columns:minmax(225px,.85fr) minmax(0,1.4fr)!important;gap:clamp(22px,4vw,50px)!important;
 padding:clamp(24px,4vw,40px)!important;border:1px solid var(--line)!important;
 border-radius:20px!important;background:var(--surface)!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-score{
 min-width:0!important;max-width:none!important;display:flex!important;flex-direction:column!important;
 align-items:flex-start!important;justify-content:center!important;gap:8px!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-score-empty{
 display:block!important;font-size:clamp(21px,2vw,28px)!important;font-weight:730!important;
 white-space:normal!important;line-height:1.2!important;max-width:350px!important;
 overflow-wrap:normal!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-score>span{
 font-size:12px!important;line-height:1.45!important;color:var(--muted)!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-breakdown{
 display:flex!important;flex-direction:column!important;gap:10px!important;min-width:0!important;
 justify-content:center!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-breakdown>div{
 display:grid!important;grid-template-columns:100px minmax(0,1fr) 28px!important;
 align-items:center!important;gap:10px!important;min-width:0!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-breakdown>div>span{
 font-size:11px!important;line-height:1.2!important;white-space:normal!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-form-v2{
 display:grid!important;gap:15px!important;margin:20px 0 28px!important;
 padding:clamp(20px,3vw,28px)!important;border:1px solid var(--line)!important;
 border-radius:18px!important;background:var(--surface)!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-form-v2 :is(textarea,fieldset){
 max-width:100%!important;min-width:0!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-form-v2 textarea{
 background:var(--bg)!important;color:var(--text)!important;border-radius:12px!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-list-v2{
 margin-top:20px!important;
}
/* Intentional distinction between directly addressed messages and offer conversations. */
html body.lms-navigation-v2.page-shell .message-contact-copy .message-source-link,
html body.lms-navigation-v2.page-shell .conversation-list .conversation-source{
 display:block;max-width:100%;line-height:1.5;
 font-size:11px;color:var(--muted);overflow-wrap:anywhere;
}
html body.lms-navigation-v2.page-shell .message-contact-copy .message-source-link{
 color:var(--accent-text);text-decoration:underline;text-underline-offset:3px;
}
@media(max-width:700px){
 html body.lms-navigation-v2.page-shell .premium-reviews-v2>header{
  grid-template-columns:minmax(0,1fr)!important;gap:18px!important;
  padding:21px!important;
 }
 html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-breakdown>div{
  grid-template-columns:85px minmax(0,1fr) 25px!important;
 }
 html body.lms-navigation-v2.page-shell.route-publier .publish-live-preview{
  position:static!important;top:auto!important;
 }
 html body.lms-navigation-v2.page-shell>.lms-shared-feed-search:not([hidden]) .search-sheet.feed-search-panel{
  padding:18px 15px 22px!important;border-radius:0 0 23px 23px!important;
 }
}
@media(prefers-reduced-motion:reduce){
 html body.lms-navigation-v2.page-shell :is(.media-lead-copy,.boutiques-page>.lms-editorial-intro)::before,
 html body.lms-navigation-v2.page-shell :is(.media-lead-copy,.boutiques-page>.lms-editorial-intro)::after{
  transition:none!important;animation:none!important;
 }
}

/* Boutique: URGENT est sa propre capsule; retirer seulement la capsule grise
   qui l'entoure, conserver les boutons Photo/Vidéo. */
html body.lms-navigation-v2.page-shell.route-profil .premium-store-search .explore-quick-filters>
.feed-featured-filter:has(.search-featured-badge){
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;min-width:0!important;width:auto!important;min-height:0!important;height:auto!important;
 margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
 outline:0!important;box-shadow:none!important;
 background:transparent!important;background-image:none!important;
}
html body.lms-navigation-v2.page-shell.route-profil .premium-store-search .explore-quick-filters>
.feed-featured-filter:has(.search-featured-badge):is(:hover,:focus-within,:has(input:checked)){
 background:transparent!important;border:0!important;box-shadow:none!important;
}
html body.lms-navigation-v2.page-shell.route-profil .premium-store-search .explore-quick-filters>
.feed-featured-filter>.search-featured-badge{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 min-width:0!important;min-height:28px!important;height:auto!important;
 padding:6px 13px!important;border-radius:999px!important;border:0!important;
 background:#d82132!important;color:#fff!important;box-shadow:none!important;
 opacity:1!important;line-height:1.2!important;letter-spacing:normal!important;
}
html body.lms-navigation-v2.page-shell.route-profil .premium-store-search .explore-quick-filters>
.feed-featured-filter>.search-featured-badge::before,
html body.lms-navigation-v2.page-shell.route-profil .premium-store-search .explore-quick-filters>
.feed-featured-filter>.search-featured-badge::after{
 content:none!important;display:none!important;
}


/* Editorial frame under the header for public Contact and legal information pages. */
html body.lms-navigation-v2.page-shell>main.lms-public-information-page{
 display:block!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;
 min-width:0!important;margin:0 auto!important;padding:0 0 clamp(72px,8vw,112px)!important;
 background:transparent!important;border:0!important;overflow:visible!important
}
html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro{
 isolation:isolate!important;display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;position:relative!important;width:var(--lms-frame-width)!important;
 max-width:none!important;min-width:0!important;box-sizing:border-box!important;gap:12px!important;
 margin:0 auto 36px!important;padding:clamp(30px,5vw,64px) clamp(18px,4vw,42px) clamp(32px,5vw,58px)!important;
 border:1px solid var(--lms-public-rule,var(--line))!important;border-top:0!important;
 border-radius:0 0 30px 30px!important;background:var(--bg)!important;overflow:hidden!important;text-align:center!important;
}
html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro>div{
 position:relative!important;z-index:2!important
}
html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro .standard-page-copy{
 width:100%!important;max-width:840px!important;margin:0 auto!important;text-align:center!important
}
html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro .standard-page-copy :is(h1,p,small){
 max-width:100%!important;margin-left:auto!important;margin-right:auto!important;text-align:center!important
}
html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro::before,
html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro::after{
 content:"";position:absolute;inset:auto 0 0;z-index:0;pointer-events:none;
 transform:translateY(110%);transition:transform .68s cubic-bezier(.22,1,.36,1)
}
html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro::before{
 height:37%;background:color-mix(in srgb,var(--accent) 17%,transparent);
 clip-path:polygon(0 19%,8% 12%,16% 14%,24% 22%,32% 27%,40% 21%,48% 12%,56% 11%,64% 18%,72% 25%,80% 23%,88% 15%,96% 13%,100% 17%,100% 100%,0 100%)
}
html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro::after{
 height:29%;background:color-mix(in srgb,var(--accent) 10%,transparent);
 clip-path:polygon(0 25%,10% 20%,20% 14%,30% 18%,40% 26%,50% 24%,60% 16%,70% 12%,80% 16%,90% 24%,100% 21%,100% 100%,0 100%)
}
@media(hover:hover) and (pointer:fine){
 html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro:hover::before{
  transform:translateY(0);animation:lms-soft-water 2.45s ease-in-out infinite
 }
 html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro:hover::after{
  transform:translateY(0);animation:lms-soft-water-back 3.15s ease-in-out infinite
 }
}
/* Preserve original page content: only its top header becomes the central frame. */
html body.lms-navigation-v2.page-shell>main.legal-page.lms-public-information-page>section{
 box-sizing:border-box!important;width:var(--lms-frame-width)!important;
 max-width:none!important;margin-left:auto!important;margin-right:auto!important;
}
html body.lms-navigation-v2.page-shell>main.contact-page.lms-public-information-page>.contact-form-section{
 box-sizing:border-box!important;width:var(--lms-frame-width,min(1180px,calc(100% - 64px)))!important;
 max-width:calc(100vw - 32px)!important;margin-left:auto!important;margin-right:auto!important;
}
html body.lms-navigation-v2.page-shell>main.contact-page.lms-public-information-page>.contact-form-section>.contact-form{
 box-sizing:border-box!important;width:100%!important;max-width:none!important;
 margin-inline:0!important;
}
@media(max-width:640px){
 html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro{
  width:var(--lms-frame-width)!important;max-width:calc(100vw - 32px)!important;
  border-radius:0 0 24px 24px!important;
  padding:28px 18px 34px!important;margin-bottom:25px!important
 }
 html body.lms-navigation-v2.page-shell>main.legal-page.lms-public-information-page>section,
 html body.lms-navigation-v2.page-shell>main.contact-page.lms-public-information-page>.contact-form-section{
  width:calc(100% - 32px)!important
 }
}
/* Offer detail: fill the landscape media stage without warping photo proportions.
 * View full original uncropped using the existing expand/lightbox button. */
html body.lms-navigation-v2.page-shell [data-detail-media] :is(.detail-gallery>img,[data-detail-photos]>img){
 object-fit:cover!important;object-position:center center!important;
}
/* Compact empty-review typography without distorting non-empty star ratings. */
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-score:has(.review-score-empty){
 display:flex!important;flex-direction:column!important;align-items:flex-start!important;
 justify-content:center!important;gap:5px!important;min-width:0!important;text-align:left!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-score .review-score-empty{
 font-size:16px!important;font-weight:650!important;line-height:1.4!important;
 max-width:100%!important;white-space:normal!important;letter-spacing:normal!important;
}
html body.lms-navigation-v2.page-shell .premium-reviews-v2 .review-score:has(.review-score-empty)>span{
 font-size:13px!important;line-height:1.5!important;margin:0!important;
}
@media(prefers-reduced-motion:reduce){
 html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro::before,
 html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro::after{
  animation:none!important;transition:none!important
 }
}


/* Mobile home illustration: same readable side gutters as the other content. */
@media(max-width:640px){
 html body.lms-navigation-v2.page-shell.route-home .media-home .media-lead-visual{
  box-sizing:border-box!important;width:calc(100% - 32px)!important;
  max-width:1180px!important;margin-inline:auto!important;
  border-radius:12px!important;overflow:hidden!important;
 }
}

/* Mobile: all framed public headers and the search drawer use the boutique's inset width. */
@media(max-width:640px){
 html body.lms-navigation-v2.page-shell{
  --lms-frame-width:calc(100vw - 32px);
 }
 html body.lms-navigation-v2.page-shell.route-home{
  --lms-frame-width:calc(100vw - 32px);
 }
 html body.lms-navigation-v2.page-shell.route-home .media-lead-copy,
 html body.lms-navigation-v2.page-shell.route-boutiques>main.boutiques-page>.lms-editorial-intro,
 html body.lms-navigation-v2.page-shell>main.lms-public-information-page>.access-page-intro{
  box-sizing:border-box!important;width:var(--lms-frame-width)!important;
  max-width:calc(100vw - 32px)!important;margin-left:auto!important;margin-right:auto!important;
  border-radius:0 0 24px 24px!important;
 }
 html body.lms-navigation-v2.page-shell>.lms-shared-feed-search:not([hidden]) .search-sheet.feed-search-panel{
  box-sizing:border-box!important;width:var(--lms-frame-width)!important;
  max-width:calc(100vw - 32px)!important;border-radius:0 0 24px 24px!important;
 }
}
