.client-vitrine{max-width:1080px;padding-bottom:2rem}.client-vitrine h1{font-size:clamp(1.7rem,5vw,2.6rem);margin:1rem 0}.client-vitrine h2{font-size:1.4rem}.client-vitrine .privacy-card{padding:1rem;margin:1rem 0}.client-vitrine form{display:grid;gap:.7rem}.client-vitrine label{display:grid;gap:.3rem}.client-vitrine input,.client-vitrine select,.client-vitrine textarea{width:100%;min-width:0;padding:.65rem;border:1px solid #8aa698;border-radius:12px;font:inherit;background:#fffdf7}.client-vitrine button,.client-vitrine .button{min-height:44px;padding:.65rem 1rem;border-radius:14px;cursor:pointer}.client-vitrine button:disabled{opacity:.55;cursor:not-allowed}.client-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem}.client-products img{display:block;width:100%;height:260px;object-fit:contain;background:#faf8ef;border-radius:12px}.client-vitrine details{padding:.7rem;border:1px solid #c3d1c0;border-radius:12px}.client-vitrine summary{cursor:pointer;min-height:32px}.client-vitrine p{overflow-wrap:anywhere}.client-vitrine .tier-basique{grid-template-columns:1fr}.client-vitrine .tier-professionnelle article{border-color:#175749}

.client-editor-status, .client-editor-links { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem 1rem; }
.client-editor-status span { color:var(--muted); }
.client-editor-links a { min-height:44px; display:inline-flex; align-items:center; text-decoration:underline; }
.client-vitrine .client-editor summary, .client-vitrine .client-editor-panel > summary { padding:.6rem 0; min-height:44px; }
.client-vitrine :is(.client-editor-panel,.client-editor-item):not([open]) > :not(summary) { display:none; }
.client-vitrine :is([data-empty-item],[data-client-add])[hidden] { display:none; }
.client-editor-fields, [data-client-items] { display:grid; gap:.55rem; }
.client-editor-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
.client-editor-fields label:nth-of-type(2) { grid-column:1/-1; }
.client-editor [data-client-add] { justify-self:start; }
@media (max-width:600px) { .client-editor-fields { grid-template-columns:minmax(0,1fr); } }

.storefront-render{border:1px solid #c3d1c0;border-radius:16px;background:#fffdf7;overflow:hidden;color:#213e34;overflow-wrap:anywhere}
.storefront-render [hidden],.account-storefront [hidden],.client-vitrine [hidden]{display:none!important}
.storefront-hero{position:relative;isolation:isolate;display:grid;align-items:end;min-height:8rem;padding:clamp(12px,3vw,24px);background:#245447;color:white}
.storefront-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.storefront-hero:has(.storefront-cover:not([hidden]))::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(transparent,#142b22e8)}
.storefront-title{display:flex;align-items:center;gap:.65rem}
.storefront-title h2,.account-modules .storefront-title h2{color:inherit;margin:0;font:500 clamp(1.4rem,3vw,2.25rem)/1.1 var(--serif,Georgia,serif)}
.storefront-logo{width:clamp(2rem,7vw,4rem);aspect-ratio:1;object-fit:contain;background:#fffdf7;border-radius:.45rem}
.storefront-content{display:grid;gap:1rem;padding:clamp(12px,3vw,24px)}
.storefront-content section h3{margin:0 0 .25rem;font-size:1.1rem}
.storefront-content p{white-space:pre-line;margin:0;color:#314f43}
.storefront-products{display:grid;gap:.65rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr))}
.storefront-products.tier-basique{grid-template-columns:1fr}
.storefront-product{border:1px solid #dbe4d6;border-radius:.65rem;overflow:hidden}
.storefront-product img{display:block;width:100%;aspect-ratio:2;object-fit:cover}
.storefront-product div{padding:.65rem}
.storefront-product h4{margin:0}
.storefront-contact{justify-self:start}
.storefront-preview-label{font-size:.85rem!important;margin:0 0 .3rem!important}
.storefront-live{min-width:0}
.storefront-edit-toggle>summary{font-weight:600}
.storefront-edit-toggle summary{cursor:pointer;min-height:44px;align-content:center}
.storefront-edit-toggle :is(form,label){display:grid;gap:.4rem}
.storefront-edit-toggle :is(input:not([type=checkbox]),select,textarea){width:100%;min-width:0;min-height:44px;padding:.55rem .65rem;border:1px solid #9ab0a2;border-radius:.55rem;background:#fffdf7;color:#213e34;font:inherit}
.storefront-edit-toggle .storefront-visibility{display:flex;align-items:center;min-height:44px}
.storefront-edit-toggle details{padding:.3rem .55rem;border:1px solid #c3d1c0;border-radius:.55rem}
.storefront-edit-toggle [data-client-add]{min-height:44px}
.storefront-publish button{min-height:44px}
.storefront-publish button:disabled{opacity:.55;cursor:not-allowed}
.account-storefront:has(.storefront-edit-toggle[open]) .storefront-live{position:sticky;top:0;z-index:2;background:#e6ede0;padding:.35rem 0}
.account-storefront:has(.storefront-edit-toggle[open]) .storefront-render{max-height:42vh;overflow:auto}
@media(max-width:600px){.account-storefront:has(.storefront-edit-toggle[open]) .storefront-render{max-height:34vh}}

/* Account overview: match the panel heights while the storefront editor is closed. */
.site-header:has(+.account-dashboard){padding-block:8px;min-height:0}
.site-header:has(+.account-dashboard) .brand img{width:118px;height:auto}
.account-dashboard{padding-block:8px 18px}
.account-toolbar{display:flex;justify-content:space-between;align-items:end;gap:.5rem;flex-wrap:wrap;margin-bottom:.75rem}
.account-dashboard .account-toolbar .account-return{min-height:32px}
.account-dashboard .account-toolbar h1{margin:0}
.account-dashboard .account-toolbar .button{margin:0}
.account-dashboard .account-modules{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px;align-items:start}
.account-dashboard .account-modules .privacy-card{padding:14px;border-radius:14px;gap:8px}
.account-dashboard .account-side{display:grid;gap:8px;min-width:0}
.account-dashboard .account-side .privacy-card{order:initial}
.account-dashboard .account-side .account-panel{display:block;padding-block:0}
.account-dashboard .account-panel > summary{display:flex;align-items:center;gap:.35rem .7rem;flex-wrap:wrap;min-height:44px;font-weight:650;cursor:pointer;list-style:none}
.account-dashboard .account-panel > summary::-webkit-details-marker{display:none}
.account-dashboard .account-panel > summary::before{content:"";display:block;width:.45rem;height:.45rem;border-right:2px solid;border-bottom:2px solid;transform:rotate(-45deg);margin-inline:2px .2rem}
.account-dashboard .account-panel[open] > summary::before{transform:rotate(45deg)}
.account-dashboard .account-panel > summary small{font-weight:400;overflow-wrap:anywhere;min-width:0}
.account-dashboard .account-panel[open]{padding-bottom:12px}
.account-dashboard .account-panel .account-profile{padding:0;background:none;border:0}
.account-dashboard .account-profile .business-fields p{grid-column:1/-1;overflow-wrap:anywhere}
.account-dashboard .account-side p{font-size:.91rem;line-height:1.4}
.account-dashboard .account-side .contact-navigation{margin:0}
.account-dashboard .account-side .contact-navigation .button{padding-inline:.55rem;width:auto}
.account-dashboard .account-side .button{width:auto}
.account-dashboard .account-rate-details summary,.account-dashboard .account-access summary{cursor:pointer;padding:.45rem 0;min-height:36px;font-size:.9rem}
.account-dashboard .account-access{margin-top:.5rem}
.account-dashboard .account-access-notice{margin:.2rem 0}
.account-dashboard .account-footer{margin-top:.25rem}
.account-dashboard .storefront-render,.account-dashboard .account-storefront:has(.storefront-edit-toggle[open]) .storefront-render{max-height:clamp(12rem,39vh,23rem);overflow:auto}
.account-dashboard .storefront-hero{min-height:5.25rem;padding:12px 14px}
.account-dashboard .storefront-content{padding:12px 14px;gap:.7rem}
.account-dashboard .storefront-product img{aspect-ratio:2.5;max-height:110px}
.account-dashboard .storefront-product div{padding:.5rem}
.account-dashboard .storefront-edit-toggle > summary{display:flex;align-items:center;gap:.5rem;width:fit-content;border:1px solid #9ab0a2;border-radius:9px;padding:0 .8rem;list-style:none}
.account-dashboard .storefront-edit-toggle > summary::-webkit-details-marker{display:none}
.account-dashboard .storefront-edit-toggle > summary::after{content:"";width:.42rem;height:.42rem;border-right:2px solid;border-bottom:2px solid;transform:rotate(45deg)}
.account-dashboard .storefront-edit-toggle[open] > summary::after{transform:rotate(225deg)}
.account-dashboard .storefront-edit-toggle[open] > summary{margin-bottom:.6rem}
.account-dashboard .storefront-publish{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .7rem}
.account-dashboard .storefront-publish small{flex-basis:100%}
.account-dashboard .storefront-publish .button{width:auto}
@media(max-width:650px){
  .account-dashboard .account-modules{grid-template-columns:minmax(0,1fr)}
  .account-dashboard .storefront-render,.account-dashboard .account-storefront:has(.storefront-edit-toggle[open]) .storefront-render{max-height:34vh}
  .account-dashboard .storefront-contact{width:auto}
}
.account-dashboard .account-modules>.account-storefront{order:0}
.account-dashboard .account-side #activite{margin:0}
.account-dashboard .account-panel > summary{justify-content:flex-start;text-align:left;color:var(--green)}
.account-dashboard .account-panel > summary small{color:var(--muted)}
.account-dashboard .account-side .business-fields{margin:8px 0}
.client-editor-compact-fields label:nth-of-type(2){grid-column:auto}
.account-dashboard .account-side #activite{order:initial}
.account-dashboard .account-panel > summary{padding:.45rem 0}
.account-dashboard .account-panel > summary span{color:inherit;font-size:1rem;line-height:1.35;flex:0 1 auto;transform:none}
.account-dashboard .account-panel > summary::before{flex:none}
.account-dashboard .account-panel > summary small{flex:1 1 10rem}
.account-dashboard .storefront-content:not(:has(> :not([hidden]))){display:none}

.storefront-preview-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.2rem .6rem;margin-bottom:.35rem}
.storefront-preview-toolbar button,.storefront-expanded button:not(.dialog-return-button){min-height:44px;padding:.35rem .65rem;border:1px solid #9ab0a2;border-radius:.6rem;background:#fffdf7;color:#213e34;font:inherit;font-size:.86rem;cursor:pointer}
.storefront-expanded{width:min(96vw,78rem);max-width:none;max-height:94vh;max-height:94dvh;padding:clamp(.6rem,2vw,1.25rem);border:1px solid #9ab0a2;border-radius:1rem;background:#f8f6ef;color:#213e34}
.storefront-expanded::backdrop{background:#142b22b8}

.account-dashboard .storefront-expanded .storefront-render,.account-dashboard .account-storefront:has(.storefront-edit-toggle[open]) .storefront-expanded .storefront-render{max-height:none;overflow:hidden}
@media(min-width:900px){
 .account-dashboard{width:min(90rem,calc(100% - 48px));max-width:none}
 .account-dashboard .account-modules{grid-template-columns:minmax(0,2fr) minmax(18rem,1fr);gap:1rem}
 .account-dashboard .account-storefront:has(.storefront-edit-toggle[open]) .storefront-render{max-height:40dvh}
 .account-dashboard .account-side .account-profile .business-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(min-width:651px){
 .account-dashboard .account-modules:has(> .account-storefront .storefront-edit-toggle:not([open])){
   align-items:stretch;
 }
 .account-dashboard .account-side{align-content:start}
 .account-dashboard .account-storefront:has(.storefront-edit-toggle:not([open])) > .storefront-live{
   display:flex;
   flex:1;
   flex-direction:column;
 }
 .account-dashboard .account-storefront:has(.storefront-edit-toggle:not([open])) > .storefront-live > .storefront-render{
   flex:1;
   contain:size;
   min-height:14rem;
   max-height:none;
 }
}
@media(min-width:651px) and (max-width:899px){
 .account-dashboard .account-modules{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
}

.storefront-title h1{margin:0;color:inherit;font:500 clamp(1.4rem,4vw,2.6rem)/1.1 var(--serif,Georgia,serif)}
.storefront-restaurant{--restaurant-paper:#fbf2e5;--restaurant-dark:#351e13;--restaurant-ink:#392418;--restaurant-accent:#8d4c21;--restaurant-border:#e7d4bd;background:var(--restaurant-paper);color:var(--restaurant-ink);border-color:var(--restaurant-border);container-type:inline-size}
.storefront-restaurant[data-theme="green"]{--restaurant-paper:#f5f2e7;--restaurant-dark:#173d33;--restaurant-ink:#20372d;--restaurant-accent:#286451;--restaurant-border:#ced8c8}
.storefront-restaurant[data-theme="amber"]{--restaurant-paper:#fff1df;--restaurant-dark:#3f2418;--restaurant-ink:#462918;--restaurant-accent:#91471d;--restaurant-border:#ead1b3}
.restaurant-nav{display:flex;align-items:center;justify-content:space-between;gap:.5rem 1rem;flex-wrap:wrap;padding:1rem clamp(1rem,4cqi,2.5rem);background:var(--restaurant-dark);color:#fff9ed}
.restaurant-nav nav{display:flex;gap:.15rem 1rem;flex-wrap:wrap}
.restaurant-nav a{display:inline-flex;align-items:center;min-height:44px;font-weight:650}
.restaurant-nav .storefront-logo{width:3rem}
.restaurant-intro{display:grid;background:#fff9ef;min-width:0}
.restaurant-intro-copy{padding:clamp(1.2rem,5cqi,3.25rem);align-self:center}
.restaurant-intro-copy h3,.storefront-restaurant .storefront-content h3{color:var(--restaurant-ink);font:500 clamp(1.25rem,4cqi,2.35rem)/1.1 var(--serif,Georgia,serif);margin:0 0 .55rem}
.restaurant-intro-copy p{white-space:pre-line;line-height:1.55}
.restaurant-intro-copy:empty{display:none}
.storefront-restaurant .restaurant-intro .storefront-cover{position:static;z-index:auto;aspect-ratio:16/9;object-fit:cover;min-width:0}
.storefront-restaurant .button.primary{background:var(--restaurant-accent);color:white;border-radius:999px}
.storefront-restaurant .storefront-content{padding:clamp(1rem,4cqi,2.4rem);gap:1rem;align-items:start}
.storefront-restaurant .storefront-content p{color:var(--restaurant-ink)}
.storefront-restaurant .storefront-product{background:#fffaf2;border-color:var(--restaurant-border)}
.storefront-restaurant .storefront-product img{aspect-ratio:4/3;max-height:none}
.storefront-restaurant .storefront-product div{padding:.75rem}
.storefront-restaurant .storefront-product h4{font:600 1.18rem/1.25 var(--serif,Georgia,serif)}
.storefront-restaurant .storefront-product strong{display:inline-block;margin-top:.4rem;color:var(--restaurant-accent)}
.storefront-restaurant [data-storefront-practical]{display:grid;gap:.85rem;padding:1rem;background:#fff9ef;border:1px solid var(--restaurant-border);border-radius:1rem;color:inherit}
.storefront-restaurant [data-storefront-practical] h3{font-size:1.3rem}
.storefront-restaurant .restaurant-intro:not(:has(.storefront-cover:not([hidden]))){grid-template-columns:1fr}
.storefront-restaurant .restaurant-intro:not(:has(.restaurant-intro-copy > :not([hidden]),.storefront-cover:not([hidden]))){display:none}
@container (min-width:34rem){
 .restaurant-intro:has(.storefront-cover:not([hidden])){grid-template-columns:minmax(0,1fr) minmax(0,1.18fr)}
 .storefront-restaurant .restaurant-intro .storefront-cover{height:100%}
 .storefront-restaurant .storefront-content:has([data-storefront-practical]:not([hidden])){grid-template-columns:minmax(0,2fr) minmax(11rem,1fr)}
 .storefront-restaurant .storefront-content:has(#storefront-menu[hidden]){grid-template-columns:1fr}
}
.restaurant-intro-copy h3{font-size:clamp(1.5rem,5.1cqi,3.8rem)}

/* Sector colors apply to the same layout in the editor and on the public page. */
.storefront-render[data-sector="restauration"]{--storefront-color:#683b26;--storefront-tint:#fbf1e5}
.storefront-render[data-sector="coiffure"]{--storefront-color:#653c57;--storefront-tint:#f8edf4}
.storefront-render[data-sector="boutique"]{--storefront-color:#2c535d;--storefront-tint:#edf5f6}
.storefront-render[data-sector="hebergement"]{--storefront-color:#3b5538;--storefront-tint:#f1f5e9}
.storefront-render[data-sector="vehicules"]{--storefront-color:#2d4561;--storefront-tint:#edf2f8}
.storefront-render .storefront-hero{background:var(--storefront-color,#245447)}
.storefront-render:not(.storefront-restaurant) .storefront-contact{background:var(--storefront-color,#245447);color:white}
.storefront-guide{color:var(--storefront-color,#245447);background:var(--storefront-tint,#f2f5ec)}
.storefront-cover-guide,.storefront-example-photo{
 display:grid;
 place-items:center;
 padding:.7rem;
 text-align:center;
 font-size:.88rem;
 font-weight:600;
}
.storefront-cover-guide{min-height:clamp(6rem,20vw,10rem);border:1px dashed currentColor;border-radius:.65rem}
.storefront-hero:has(.storefront-cover-guide):not(:has(.storefront-cover:not([hidden]))){gap:.65rem}
.storefront-hero .storefront-cover-guide{order:1}
.storefront-cover:not([hidden]) + .storefront-cover-guide,
[data-product="photo"]:not([hidden]) + .storefront-example-photo,
[data-storefront="description"]:not(:empty) + .storefront-text-guide,
[data-storefront="products"]:not(:empty) + .storefront-example{display:none}
.storefront-content .storefront-text-guide,.storefront-text-guide{margin:.3rem 0 0;padding:.5rem .7rem;border-radius:.45rem}
.storefront-example{border-style:dashed}
.storefront-example small{display:block;margin-bottom:.25rem;font-weight:600}
.storefront-example-photo{min-height:3.2rem;background:#fffaf2;border-bottom:1px dashed currentColor}
.storefront-render[data-sector="coiffure"] .storefront-products{grid-template-columns:minmax(0,1fr)}
@media(min-width:651px){
 .account-dashboard .account-storefront:has(.storefront-edit-toggle:not([open])) > .storefront-live > .storefront-render{min-height:17rem}
}
@container (min-width:34rem){
 .storefront-restaurant .restaurant-intro:has(.storefront-cover:not([hidden]),.storefront-cover-guide){
   grid-template-columns:minmax(0,1fr) minmax(0,1.18fr);
 }
 .restaurant-intro .storefront-cover-guide{margin:.85rem;min-height:9rem}
}
