/* Horaires boutique : affichage clair, édition compacte mobile/tablette. */
html body .business-hours-editor{width:100%;min-width:0;box-sizing:border-box;display:grid;gap:12px;padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text)}
html body .business-hours-editor>strong{font-size:15px;font-weight:600}
html body .business-hours-editor .business-hours-intro{margin:0;color:var(--muted);font-size:12px;line-height:1.5}
html body .business-hours-editor [hidden]{display:none!important}
html body .business-hours-week{display:grid;gap:8px}
html body .business-hours-day{display:grid;grid-template-columns:minmax(105px,.5fr) minmax(0,2fr);align-items:center;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}
html body .business-hours-day-toggle{display:flex!important;align-items:center;gap:8px;font-size:13px;font-weight:500}
html body .business-hours-day-toggle>input{width:17px;height:17px;accent-color:var(--accent)}
html body .business-hours-time-slots{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
html body .business-hours-time-slots>label{display:flex!important;align-items:center;gap:5px;min-width:0;font-size:12px}
html body .business-hours-time-slots input[type=time]{width:112px;min-width:0;padding:7px!important;font-size:13px}
html body .business-hours-all-day{display:flex!important;align-items:center;gap:6px;margin:0;font-size:12px}
html body .business-hours-all-day>input{width:17px;height:17px;accent-color:var(--accent)}
html body .business-hours-exceptions{display:grid;gap:9px}
html body .business-hours-exceptions>div:first-child{display:grid;gap:4px}
html body .business-hours-exceptions>div:first-child>small{color:var(--muted)}
html body .business-exception-list{display:grid;gap:10px}
html body .business-exception-row{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:10px;align-items:end;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg)}
html body .business-exception-row>label{display:grid;gap:5px;min-width:0;font-size:12px}
html body .business-exception-row input,
html body .business-exception-row select{width:100%;min-width:0;box-sizing:border-box}
html body .business-hours-special-slots{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
html body .business-hours-special-slots>label{display:grid;gap:4px;font-size:12px}
html body .business-exception-row>button{grid-column:1/-1;justify-self:start}
html body .business-hours-legacy{display:grid;gap:8px}
html body .business-hours-legacy textarea{width:100%;min-width:0;box-sizing:border-box}
html body .business-hours-add-exception{justify-self:start}
html body .shop-hours-disclosure{max-width:100%}
html body .shop-hours-disclosure>summary{cursor:pointer;list-style:none;font-weight:500;text-decoration:underline;text-underline-offset:3px}
html body .shop-hours-disclosure>summary::-webkit-details-marker{display:none}
html body .shop-hours-disclosure>summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
html body .shop-hours-overview{display:grid;gap:7px;margin:10px 0 0;padding:0;list-style:none}
html body .shop-hours-overview>li{display:grid;grid-template-columns:minmax(88px,110px) 1fr;gap:8px;font-size:13px}
html body .shop-hours-overview>li.is-today{font-weight:600;color:var(--text)}
html body .shop-hours-exception-display{display:grid;gap:5px;margin-top:12px;padding-top:10px;border-top:1px solid var(--line);font-size:12px}
html body .shop-hours-exception-display>strong{font-weight:600}
@media(max-width:740px){
  html body .business-hours-day{grid-template-columns:1fr;gap:7px}
  html body .business-hours-time-slots input[type=time]{width:105px}
  html body .business-exception-row{grid-template-columns:1fr 1fr}
  html body .business-hours-special-slots{grid-template-columns:1fr 1fr}
  html body .business-exception-row>label:nth-child(3){grid-column:1/-1}
}
@media(max-width:420px){
  html body .business-hours-time-slots{gap:5px}
  html body .business-hours-time-slots input[type=time]{width:98px}
  html body .business-exception-row{grid-template-columns:1fr}
  html body .business-exception-row>label:nth-child(3){grid-column:auto}
  html body .business-hours-special-slots{grid-template-columns:1fr 1fr}
}


/* LMS_SHOP_PUBLIC_HOURS_SOCIAL_SORT_V2
   A single native disclosure owns both the left title and right status.
   Opening the disclosure puts the entire week UNDER that row, full width.
   Shop social SVGs are bare, compact and stay on one horizontal strip. */
html body.route-profil.page-shell main.public-profile-page.premium-profile
.premium-shop-specs>.shop-hours-field{
  box-sizing:border-box!important;grid-column:1/-1!important;
  display:block!important;min-width:0!important;width:100%!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.premium-shop-specs>.shop-hours-field>.shop-hours-semantic-label{
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.premium-shop-specs>.shop-hours-field>dd{
  box-sizing:border-box!important;display:block!important;
  width:100%!important;min-width:0!important;margin:0!important;
  text-align:left!important;color:var(--text)!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-field .shop-hours-disclosure{
  box-sizing:border-box!important;display:block!important;
  min-width:0!important;width:100%!important;max-width:100%!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-disclosure>summary.shop-hours-status{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;gap:10px!important;
  width:100%!important;max-width:100%!important;min-height:38px!important;
  margin:0!important;padding:4px 0!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;text-decoration:none!important;list-style:none!important;
  color:var(--text)!important;cursor:pointer!important;
  font-size:13px!important;line-height:1.4!important;letter-spacing:normal!important;
  text-align:left!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-disclosure>summary.shop-hours-status::-webkit-details-marker{display:none!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-status>.shop-hours-heading{
  display:inline-flex!important;align-items:center!important;gap:9px!important;
  min-width:0!important;font-size:13px!important;font-weight:400!important;
  color:var(--text)!important;white-space:nowrap!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-status>.shop-hours-heading>svg{
  width:17px!important;height:17px!important;flex:0 0 17px!important;
  color:var(--accent)!important;fill:none!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-status>.shop-hours-current{
  display:inline-flex!important;align-items:center!important;justify-content:flex-end!important;
  gap:7px!important;min-width:0!important;
  font-weight:650!important;text-align:right!important;white-space:nowrap!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-status.is-open>.shop-hours-current{color:#24bd72!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-status.is-closed>.shop-hours-current,
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-status.is-unknown>.shop-hours-current{color:var(--muted)!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-status>.shop-hours-current>svg{
  display:block!important;flex:none!important;width:15px!important;height:15px!important;
  transform:rotate(0deg);transition:transform .18s ease;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-disclosure[open]>summary.shop-hours-status .shop-hours-current>svg{transform:rotate(180deg)}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-field .shop-hours-overview{
  box-sizing:border-box!important;display:grid!important;gap:0!important;
  width:100%!important;max-width:none!important;
  margin:10px 0 0!important;padding:9px 0 0!important;
  border-top:1px solid var(--line)!important;list-style:none!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-field .shop-hours-overview>li{
  box-sizing:border-box!important;display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)!important;
  align-items:baseline!important;gap:12px!important;
  min-width:0!important;margin:0!important;padding:7px 0!important;
  font-size:13px!important;line-height:1.45!important;
  border:0!important;background:transparent!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-field .shop-hours-overview>li>span{min-width:0!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-overview>li>span:last-child{
  text-align:right!important;overflow-wrap:normal!important;
  word-break:normal!important;white-space:normal!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-overview>li.is-all-day>span:last-child{white-space:nowrap!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-overview>li.has-hours>span:last-child{color:#24bd72!important;font-weight:600!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-overview>li.is-closed>span:last-child{color:var(--muted)!important;font-weight:400!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-field .shop-hours-overview>li.is-today{font-weight:650!important;color:var(--text)!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-field .shop-hours-exception-display,
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-field .shop-hours-legacy-value{margin-top:12px!important;max-width:100%!important;overflow-wrap:anywhere!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.premium-shop-specs>.shop-social-field{
  box-sizing:border-box!important;grid-column:1/-1!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,auto)!important;
  align-items:center!important;gap:10px!important;min-width:0!important;width:100%!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.premium-shop-specs>.shop-social-field>dt{min-width:0!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.premium-shop-specs>.shop-social-field>dd{
  box-sizing:border-box!important;min-width:0!important;
  max-width:100%!important;margin:0!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-social-field .premium-socials{
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
  align-items:center!important;justify-content:flex-end!important;
  width:max-content!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;gap:6px!important;
  overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-social-field .premium-socials::-webkit-scrollbar{display:none!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-social-field .premium-socials>a,
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-social-field .premium-socials>a:is(:hover,:focus-visible){
  box-sizing:border-box!important;display:inline-flex!important;
  align-items:center!important;justify-content:center!important;
  flex:0 0 19px!important;width:19px!important;height:30px!important;
  min-width:19px!important;min-height:30px!important;
  margin:0!important;padding:0!important;background:transparent!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  text-decoration:none!important;transform:none!important;color:var(--text)!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-social-field .premium-socials>a:hover{color:var(--accent)!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-social-field .premium-socials>a:focus-visible{outline:2px solid var(--accent)!important;outline-offset:2px!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-social-field .premium-socials>a>svg{
  display:block!important;flex:none!important;width:17px!important;height:17px!important;
  max-width:100%!important;max-height:100%!important;
}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-social-field .premium-socials .social-icon-cutout,
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-social-field .premium-socials a:hover .social-icon-cutout{fill:var(--surface)!important}
@media(max-width:520px){
  html body.route-profil.page-shell main.public-profile-page.premium-profile
  .shop-hours-disclosure>summary.shop-hours-status{gap:6px!important;font-size:12px!important}
  html body.route-profil.page-shell main.public-profile-page.premium-profile
  .shop-hours-status>.shop-hours-heading{gap:5px!important;font-size:12px!important}
  html body.route-profil.page-shell main.public-profile-page.premium-profile
  .shop-hours-status>.shop-hours-heading>svg{width:15px!important;height:15px!important;flex-basis:15px!important}
  html body.route-profil.page-shell main.public-profile-page.premium-profile
  .shop-hours-status>.shop-hours-current{gap:5px!important}
  html body.route-profil.page-shell main.public-profile-page.premium-profile
  .shop-hours-status>.shop-hours-current>svg{width:13px!important;height:13px!important}
  html body.route-profil.page-shell main.public-profile-page.premium-profile
  .shop-hours-field .shop-hours-overview>li{font-size:12px!important;padding:6px 0!important}
  html body.route-profil.page-shell main.public-profile-page.premium-profile
  .shop-social-field .premium-socials{gap:4px!important}
  html body.route-profil.page-shell main.public-profile-page.premium-profile
  .shop-social-field .premium-socials>a{flex-basis:18px!important;width:18px!important;min-width:18px!important}
  html body.route-profil.page-shell main.public-profile-page.premium-profile
  .shop-social-field .premium-socials>a>svg{width:16px!important;height:16px!important}
}
@media(prefers-reduced-motion:reduce){
  html body.route-profil.page-shell main.public-profile-page.premium-profile
  .shop-hours-status>.shop-hours-current>svg{transition:none!important}
}
/* The offer count / Trier row is part of the page, not a boxed footer. */
html body.route-profil.page-shell>main.public-profile-page:is(.premium-profile,.personal-cover-profile)
>.public-profile-toolbar.profile-offers-sort-toolbar{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;column-gap:12px!important;row-gap:8px!important;
  margin:12px auto 16px!important;
  padding:12px clamp(16px,2.3vw,28px) 16px!important;
  border:0!important;border-bottom:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
html body.route-profil.page-shell>main.public-profile-page:is(.premium-profile,.personal-cover-profile)
>.public-profile-toolbar.profile-offers-sort-toolbar>.premium-offers-heading{
  box-sizing:border-box!important;min-width:0!important;margin:0!important;padding:0!important;
}
html body.route-profil.page-shell>main.public-profile-page:is(.premium-profile,.personal-cover-profile)
>.public-profile-toolbar.profile-offers-sort-toolbar>.public-profile-sort-actions{
  box-sizing:border-box!important;justify-self:end!important;
  min-width:0!important;margin:0!important;padding:0!important;
}
@media(max-width:700px){
  html body.route-profil.page-shell>main.public-profile-page:is(.premium-profile,.personal-cover-profile)
  >.public-profile-toolbar.profile-offers-sort-toolbar{
    padding:14px 18px 17px!important;margin:8px auto 14px!important;
  }
}

/* Horaires : les autres jours restent neutres, seule la plage active est verte. */
html body.route-profil.page-shell main.public-profile-page.premium-profile
.premium-shop-specs>div{padding-inline:12px!important;box-sizing:border-box!important;min-width:0!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-field .shop-hours-overview>li{padding-inline-start:26px!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-field .shop-hours-overview>li>span:last-child{color:var(--text)!important;font-weight:400!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-field .shop-hours-overview>li.is-current-open>span:last-child{color:#24bd72!important;font-weight:650!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-field .shop-hours-overview>li.is-current-closed>span:last-child{color:#ef5555!important;font-weight:650!important}
html body.route-profil.page-shell main.public-profile-page.premium-profile
.shop-hours-status.is-closed>.shop-hours-current{color:#ef5555!important}
@media(max-width:520px){
  html body.route-profil.page-shell main.public-profile-page.premium-profile
  .premium-shop-specs>div{padding-inline:8px!important}
  html body.route-profil.page-shell main.public-profile-page.premium-profile
  .shop-hours-field .shop-hours-overview>li{padding-inline-start:20px!important;grid-template-columns:minmax(72px,1fr) minmax(0,1.6fr)!important;gap:8px!important}
}
