/* Corrections permanentes (sans React) */
.archive-v3-panel .hem-drawer-extra .archive-v3-top{display:flex!important;align-items:center;min-height:48px}
.hem-treatment-toggle{cursor:pointer!important;pointer-events:auto!important}
article.hem-card-open{z-index:30!important}
article.hem-card-open > .absolute.top-full{visibility:visible!important;opacity:1!important;transform:translateY(0)!important;pointer-events:auto!important;z-index:35!important}
article.hem-card-open .hem-treatment-toggle svg{transform:rotate(180deg)}
@media(max-width:767px){article.hem-card-open > .absolute.top-full{position:relative!important;top:auto!important;left:auto!important;right:auto!important;width:100%!important;padding:8px!important;transform:none!important}article.hem-card-open > .absolute.top-full > .card{box-shadow:0 8px 28px #38292c26}}
@media(min-width:768px){article.hem-card-open > .absolute.top-full{width:min(790px,calc(100vw - 36px))!important;left:0;right:auto}article.hem-card-open:nth-child(4n+3) > .absolute.top-full,article.hem-card-open:nth-child(4n+4) > .absolute.top-full{left:auto!important;right:0!important}}
@media(max-width:639px){.hemera-back-top-wrap{position:fixed!important;right:14px!important;bottom:90px!important;z-index:49!important;padding:0!important;background:transparent!important;width:auto!important}.hemera-back-top{width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;background:#fff!important;box-shadow:0 3px 16px #44283935!important}}
.hemera-reservation-restored{background:radial-gradient(circle at 0 100%,#64344f 0,transparent 28%),#34232e;color:white;text-align:center;padding:72px 18px 80px;font-family:Inter,Arial,sans-serif}
.hemera-reservation-restored h2{color:white;font-family:Poppins,Inter,sans-serif;font-size:clamp(28px,3vw,42px);font-weight:700;line-height:1.22;margin:0}
.hemera-reservation-restored p{max-width:490px;margin:15px auto 28px;color:#e8dce1;line-height:1.6;font-size:14px}
.hemera-reservation-restored .hem-cta-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.hemera-reservation-restored a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:44px;padding:11px 23px;border-radius:999px;color:white;font-weight:700;font-size:13px}
.hemera-reservation-restored a:first-child{background:#de4f9f}.hemera-reservation-restored a:last-child{border:1px solid #6d5664}
@media(max-width:639px){.hemera-reservation-restored{padding:58px 20px 64px}}

/* Pages prestations : ne pas masquer le contenu sous le menu fixe. */
.hem-soin{padding-top:155px!important}
@media(max-width:639px){.hem-soin{padding-top:130px!important}}

/* Pages prestations : ne pas masquer le contenu sous le menu fixe. */
.hem-soin{padding-top:155px!important}
@media(max-width:639px){.hem-soin{padding-top:130px!important}}

/* Treatment groups: full-width expandable area in the normal page flow. */
.hem-treatment-details{position:relative!important;display:block;width:100%;margin:24px 0 0;clear:both;z-index:1}
.hem-treatment-details[hidden],.hem-treatment-detail[hidden]{display:none!important}
.hem-treatment-detail{position:relative!important;display:block!important;top:auto!important;left:auto!important;right:auto!important;visibility:visible!important;opacity:1!important;transform:none!important;pointer-events:auto!important;width:100%!important;max-width:none!important;padding:0!important;z-index:auto!important}
.hem-treatment-detail>.card{max-width:none;width:100%;box-shadow:0 10px 35px #38292c1c}
.hem-treatment-detail .grid{align-items:start}
@media(max-width:639px){.hem-treatment-details{margin-top:16px}.hem-treatment-detail>.card{padding:18px!important}}

/* V6 - Drawer navigation: permanent Tarifs / Shop actions before close X. */
.archive-v3-head{display:flex!important;align-items:center!important;gap:7px!important;justify-content:space-between!important}
.archive-v3-head>.archive-v3-logo{margin-right:auto!important;min-width:0!important;flex:0 1 auto!important}
.archive-v3-head>.hem-drawer-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:6px;flex:0 0 auto;margin-left:auto}
.archive-v3-head .hem-drawer-shortcut{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;min-height:38px;padding:6px 10px;border:1px solid #e8c7d7;border-radius:999px;text-decoration:none;color:#44303a;background:#fff;font:700 12px/1.2 Inter,Arial,sans-serif;box-sizing:border-box}
.archive-v3-head .hem-drawer-shortcut:hover,.archive-v3-head .hem-drawer-shortcut:focus-visible{background:#fff1f8;color:#bf3b86;border-color:#d983af}
.archive-v3-head>.archive-v3-close{flex:0 0 38px!important;width:38px!important;min-width:38px!important;padding:3px!important;display:flex;align-items:center;justify-content:center}
@media(max-width:420px){.archive-v3-head{padding-left:12px!important;padding-right:10px!important;height:74px!important;gap:4px!important}.archive-v3-head>.archive-v3-logo{max-width:80px!important;height:43px!important}.archive-v3-head>.hem-drawer-actions{gap:4px!important}.archive-v3-head .hem-drawer-shortcut{padding:6px 8px;font-size:11px;min-height:36px}.archive-v3-head>.archive-v3-close{width:36px!important;min-width:36px!important;flex-basis:36px!important}}
@media(max-width:350px){.archive-v3-head>.archive-v3-logo{max-width:56px!important}.archive-v3-head .hem-drawer-shortcut{padding:6px 6px;font-size:10.5px}}
/* V6 - Back to top belongs to the page, above the footer, never fixed or invisible. */
@media(max-width:767px){
 .hemera-back-top-wrap{position:relative!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;right:auto!important;bottom:auto!important;top:auto!important;left:auto!important;z-index:10!important;width:100%!important;min-height:78px!important;margin:0!important;padding:14px 18px 18px!important;background:#fff!important;box-sizing:border-box!important;visibility:visible!important;opacity:1!important;overflow:visible!important}
 .hemera-back-top{display:inline-flex!important;position:relative!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;min-width:48px!important;width:auto!important;height:48px!important;padding:10px 14px!important;gap:7px!important;border-radius:999px!important;background:#fff!important;color:#944965!important;box-shadow:0 3px 16px #44283926!important}
 .hemera-back-top-label{position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important;white-space:normal!important;font-size:12px!important}
}

/* V7: an expanded group follows its own card on phones (not the full grid). */
@media(max-width:767px){
 .hem-treatment-details{grid-column:1/-1!important;width:100%!important;min-width:0!important;margin:0 0 12px!important;align-self:start!important}
 .hem-treatment-detail{min-width:0!important}
 .hem-treatment-detail>.card{max-width:100%!important;overflow-wrap:anywhere!important}
 .hem-treatment-detail .menu-row{min-width:0!important}
}
