/* Shared layout choices, with stable image sizes and no motion effects. */
.lfc-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(18px,4vw,54px);align-items:center;min-width:0}.lfc-layout-text{min-width:0;overflow-wrap:anywhere}.lfc-layout.align-left .lfc-layout-text{text-align:left}.lfc-layout.align-center .lfc-layout-text{text-align:center}.lfc-layout.align-right .lfc-layout-text{text-align:right}.lfc-layout.align-center .hero-actions{justify-content:center}.lfc-layout.align-right .hero-actions{justify-content:flex-end}.lfc-layout.layout-left .lfc-layout-photos{grid-column:1;grid-row:1}.lfc-layout.layout-left .lfc-layout-text{grid-column:2;grid-row:1}.lfc-layout.layout-top,.lfc-layout.layout-bottom,.lfc-layout.layout-text{grid-template-columns:minmax(0,1fr)}.lfc-layout.layout-top .lfc-layout-photos{grid-row:1}.lfc-layout.layout-text .lfc-layout-text{max-width:100%;width:100%}.lfc-layout-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.lfc-layout-photos.single{grid-template-columns:1fr}.lfc-layout-photos img{display:block;width:100%;aspect-ratio:4/5;object-fit:contain;border-radius:8px;background:#eee5d8;max-height:560px}.lfc-layout-photos.single img{aspect-ratio:4/3}.hero .lfc-layout-photos img{border-radius:12px;object-fit:cover}.hero .lfc-layout-photos.single img{object-fit:contain}.lfc-extra{width:min(1200px,92%);margin:0 auto;padding:30px 0}.lfc-extra h2{margin:0 0 12px}.lfc-extra-header .lfc-layout-photos img,.lfc-extra-footer .lfc-layout-photos img{max-height:200px;aspect-ratio:4/3;object-fit:contain}.lfc-extra-footer{border-bottom:1px solid currentColor;margin-bottom:25px}.product-gallery a img{width:100%;height:auto;aspect-ratio:4/5;object-fit:contain}.product-gallery a:first-child{grid-column:1/-1}.product-gallery a:first-child img{aspect-ratio:4/3}.gallery-editor{margin:20px 0;min-width:0}.gallery-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px;margin-bottom:12px}.gallery-edit-item{padding:12px;background:var(--brand-cream,#faf6ef);border:1px solid var(--brand-line,#dcd1c3);border-radius:8px;min-width:0;display:grid;gap:8px;align-content:start}.gallery-edit-item img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#eee5d8;border-radius:5px}.gallery-edit-item img[hidden]{display:none}.gallery-edit-item input[type=file]{font-size:12px;max-width:100%;width:100%}.gallery-controls{display:flex;flex-wrap:wrap;gap:5px}.photo-select{font-size:12px}.layout-choices{border:1px solid var(--brand-line,#dcd1c3);border-radius:8px;display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:8px;padding:12px}.layout-choices label{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;font-size:12px;padding:8px;background:#faf6ef;border:1px solid #ded4c6;border-radius:6px;cursor:pointer}.layout-choices label:has(input:checked){border:2px solid #3d5035;background:#e1e8d8}.layout-choices input[type=radio]{width:auto}.mini-layout{width:65px;height:42px;display:grid;grid-template-columns:1fr 1fr;gap:4px;align-items:center}.mini-layout i{height:18px;background:repeating-linear-gradient(to bottom,#879375 0 2px,transparent 2px 5px)}.mini-layout b{height:28px;background:#d6b891;border-radius:3px}.mini-left b{grid-column:1;grid-row:1}.mini-left i{grid-column:2;grid-row:1}.mini-top,.mini-bottom,.mini-text{grid-template-columns:1fr;gap:2px}.mini-top b{grid-row:1;height:17px}.mini-top i,.mini-bottom i{height:12px}.mini-bottom b{height:17px}.mini-text b{display:none}.mini-live-preview{padding:14px;background:#faf6ef;border:1px solid #ded4c6;border-radius:6px;margin-bottom:10px}.mini-live-preview .lfc-layout{gap:12px}.mini-live-preview .lfc-layout-photos img{max-height:100px}.mini-live-preview h3{font-size:19px;overflow-wrap:anywhere}.mini-live-preview p{white-space:pre-wrap;font-size:13px}.body-order-row{display:flex;gap:5px;align-items:center;padding:8px;border-bottom:1px solid #ded4c6}.body-order-row label{flex:1;display:flex;align-items:center;gap:8px}.body-order-row input[type=checkbox]{width:auto}.body-order-row button{flex-shrink:0}
@media(max-width:650px){.lfc-layout{grid-template-columns:1fr;gap:20px}.lfc-layout.layout-left .lfc-layout-photos,.lfc-layout.layout-left .lfc-layout-text{grid-column:1;grid-row:auto}.lfc-layout.layout-left .lfc-layout-photos{grid-row:1}.mini-live-preview .lfc-layout.layout-right,.mini-live-preview .lfc-layout.layout-left{grid-template-columns:1fr 1fr}.mini-live-preview .lfc-layout.layout-left .lfc-layout-text{grid-column:2;grid-row:1}.mini-live-preview .lfc-layout.layout-left .lfc-layout-photos{grid-column:1;grid-row:1}}
@media(min-width:900px){.header-align-right .header-inner{flex-direction:row-reverse}.header-align-center .header-inner{flex-wrap:wrap;justify-content:center}.header-align-center .brand{flex-basis:100%;justify-content:center}.header-align-center .nav{justify-content:center}}
.footer-align-center .footer-grid,.footer-align-center .footer-bottom{text-align:center}.footer-align-right .footer-grid,.footer-align-right .footer-bottom{text-align:right}
.content-blocks{display:grid;gap:32px}.content-block{padding:24px 0;border-bottom:1px solid var(--brand-line,#ded4c6)}
/* V8.1 — presentation options shared by public pages and the private preview. */
.lfc-layout{gap:var(--lfc-spacing,clamp(18px,4vw,54px));background:var(--lfc-background,transparent)}
.lfc-layout.layout-right{grid-template-columns:minmax(0,var(--lfc-text-width,1fr)) minmax(0,var(--lfc-photo-width,1fr))}
.lfc-layout.layout-left{grid-template-columns:minmax(0,var(--lfc-photo-width,1fr)) minmax(0,var(--lfc-text-width,1fr))}

.lfc-layout[style*="--lfc-title-size"] .lfc-layout-text h1{font-size:min(var(--lfc-title-size),clamp(26px,7vw,90px))}
.lfc-layout[style*="--lfc-title-size"] .lfc-layout-text :is(h2,h3,h4),.page-banner[style*="--lfc-title-size"] h1{font-size:min(var(--lfc-title-size),clamp(22px,6vw,90px))}
.lfc-layout[style*="--lfc-title-color"] .lfc-layout-text :is(h1,h2,h3,h4),.page-banner[style*="--lfc-title-color"] h1{color:var(--lfc-title-color)}
.lfc-layout[style*="--lfc-weight"] .lfc-layout-text :is(h1,h2,h3,h4),.page-banner[style*="--lfc-weight"] h1{font-weight:var(--lfc-weight)}
.lfc-layout[style*="--lfc-font"] .lfc-layout-text :is(h1,h2,h3,h4,p,li),.page-banner[style*="--lfc-font"] :is(h1,p){font-family:var(--lfc-font)}
.lfc-layout[style*="--lfc-text-color"] .lfc-layout-text :is(p,li),.page-banner[style*="--lfc-text-color"] p:not(.eyebrow){color:var(--lfc-text-color)}
.lfc-layout[style*="--lfc-text-size"] .lfc-layout-text :is(p,li):not(.eyebrow),.page-banner[style*="--lfc-text-size"] p:not(.eyebrow){font-size:var(--lfc-text-size)}
.lfc-layout .lfc-layout-photos img{border-radius:var(--lfc-radius,8px);aspect-ratio:var(--lfc-ratio,4/5);object-fit:var(--lfc-fit,contain)}
.lfc-layout .lfc-layout-photos.single img{aspect-ratio:var(--lfc-ratio,4/3)}
.hero .lfc-layout .lfc-layout-photos img{border-radius:var(--lfc-radius,12px);object-fit:var(--lfc-fit,cover)}
.hero .lfc-layout .lfc-layout-photos.single img{object-fit:var(--lfc-fit,contain)}
.site-header[style*="--lfc-background"],.footer[style*="--lfc-background"],.page-banner[style*="--lfc-background"]{background:var(--lfc-background)}
.site-header[style*="--lfc-logo-width"] .brand img{width:var(--lfc-logo-width,156px);height:auto;max-width:min(100%,240px)}
.site-header[style*="--lfc-text-color"] .nav>a:not(.header-cta),.footer[style*="--lfc-text-color"] :is(p,a,small){color:var(--lfc-text-color)}.site-header[style*="--lfc-text-size"] .nav>a:not(.header-cta),.footer[style*="--lfc-text-size"] :is(p,a,small){font-size:var(--lfc-text-size)}
.footer[style*="--lfc-title-color"] strong{color:var(--lfc-title-color)}.footer[style*="--lfc-title-size"] strong{font-size:var(--lfc-title-size)}
.lfc-style-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:12px}.lfc-color-field{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.lfc-color-field input[type=text]{flex:1;min-width:100px}.lfc-color-field input[type=color]{width:44px;height:40px;padding:3px;flex:none}.lfc-color-field button{white-space:nowrap}
.preview-viewport{position:relative;overflow:hidden;width:100%;height:650px;border:1px solid var(--brand-line);border-radius:6px;background:#eae3d7}.editor-preview .preview-viewport iframe{position:absolute;top:0;left:0;max-width:none;border:0;border-radius:0;transform-origin:top left;display:block}.editor-preview{min-width:0}.editor-preview [data-preview-status]{margin-top:10px}
@media(max-width:650px){.lfc-layout.layout-right,.lfc-layout.layout-left{grid-template-columns:minmax(0,1fr)}.lfc-layout[style*="--lfc-title-size"] .lfc-layout-text h1{font-size:min(var(--lfc-title-size),clamp(24px,8vw,56px))}.lfc-layout[style*="--lfc-title-size"] .lfc-layout-text :is(h2,h3,h4),.page-banner[style*="--lfc-title-size"] h1{font-size:min(var(--lfc-title-size),clamp(20px,7vw,42px))}.site-header[style*="--lfc-logo-width"] .brand img{max-width:min(45vw,240px)}.preview-viewport{height:480px}.lfc-style-grid{grid-template-columns:1fr}}

.site-header .mobile-toggle{background:var(--brand-forest);color:#fff;border-color:var(--brand-forest)}

/* V8.7 — apercu privé qui suit le formulaire, jamais le site public. */
[data-website-editor] .editor-preview{position:sticky;top:16px;align-self:start;min-width:0;z-index:2;display:flex;flex-direction:column;max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px)}
[data-website-editor] .editor-preview .panel-head{margin-bottom:6px;gap:8px}
[data-website-editor] .editor-preview-help{margin:4px 0 10px;font-size:13px}
[data-website-editor] .preview-actions{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
[data-website-editor] [data-preview-devices]{margin-bottom:10px}
[data-website-editor] .preview-viewport{height:min(650px,calc(100vh - 235px));height:min(650px,calc(100dvh - 235px));min-height:120px;flex:1 1 auto}
[data-website-editor] [data-preview-status]{font-size:12px;margin:7px 0 0}
[data-website-editor] .preview-collapse{display:none}
[data-website-editor] .copy-editor summary{padding:5px 0;line-height:1.4;font-size:15px}
[data-website-editor] .editor-help{font-size:13px;color:var(--brand-muted);margin:0;line-height:1.55}
[data-website-editor] .editor-green-example{background:var(--brand-forest);color:white;border-radius:6px;padding:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;text-align:center;font-size:12px;overflow-wrap:anywhere}
[data-website-editor] .editor-visible{padding:8px;background:var(--brand-cream);border-radius:6px;display:flex;align-items:center;gap:8px}
[data-website-editor] .editor-visible input{width:auto}
@media(max-width:1150px){
 [data-website-editor] .editor-preview{grid-row:1;top:8px;z-index:4;max-height:62vh;margin-bottom:0;padding:12px;box-shadow:0 5px 16px #49332918}
 [data-website-editor] .preview-viewport{height:30vh;min-height:100px}
 [data-website-editor] .editor-preview-help{display:none}
 [data-website-editor] .preview-collapse{display:inline-flex}
 [data-website-editor] .editor-preview.is-collapsed .preview-viewport,[data-website-editor] .editor-preview.is-collapsed [data-preview-devices],[data-website-editor] .editor-preview.is-collapsed [data-preview-status]{display:none}
}
@media(max-width:800px){[data-website-editor] .editor-preview{top:66px;max-height:55vh;max-height:55dvh}[data-website-editor] .editor-preview .button{font-size:12px;padding:7px 9px;min-height:34px}[data-website-editor] .editor-preview .panel-head h2{font-size:18px}[data-website-editor] .preview-viewport{height:24vh;height:24dvh}}
@media(max-height:480px){[data-website-editor] .editor-preview{position:relative;top:auto;max-height:none}[data-website-editor] .preview-viewport{height:220px}}
