/* Shared controls for the storefront, embedded account forms and native dialogs. */
:root {
    --mc-bg:#202322; --mc-panel:rgba(36,39,38,.97); --mc-surface:#2b302e; --mc-text:#f7f8f4;
    --mc-muted:#bdc4bf; --mc-edge:#525954; --mc-focus:#c6ec9a; --mc-error:#ffa795;
    --mc-depth:0 14px 48px #070c0b58,inset 0 1px #ffffff16;
}
:root[data-wf-theme="light"] {
    --mc-bg:#fff; --mc-panel:rgba(253,254,251,.98); --mc-surface:#f1f4ef; --mc-text:#202820;
    --mc-muted:#535f56; --mc-edge:#aeb8af; --mc-focus:#43643c; --mc-error:#a33729;
    --mc-depth:0 14px 42px #24392b25,inset 0 1px #fff;
}
body.wooflo-shop :is(.wq-form,.ap-form,.ap-reset,.ed-field,.ed-plan-label,.bj-support-form,.bj-field,.bx-picker,.woocommerce form)
:is(input:not([type=hidden],[type=checkbox],[type=radio],[type=submit],[type=button],[type=color],[type=range],[type=file]),textarea,select:not(.at-native-select,.select2-hidden-accessible),button.at-select),
body.wooflo-shop :is(.bj-dialog,.bj-page) button.at-select,
body.wooflo-shop .at-query input,body.wooflo-shop .bdg-project-controls .at-select {
    box-sizing:border-box; min-width:0; min-height:46px; max-width:100%; border:1px solid var(--mc-edge);
    border-radius:13px; background:var(--mc-bg); color:var(--mc-text); box-shadow:inset 0 1px #8080800c;
    font-family:inherit; font-size:14px; line-height:1.4; padding:10px 13px;
}
body.wooflo-shop .ed-plan-label .at-select,
body.wooflo-shop .bd-offer-buy .at-select, body.wooflo-shop .wq-form .wq-field button.at-select,
body.wooflo-shop .ap-form button.at-select,body.wooflo-shop :is(.bj-field,.bj-support-form) .at-select {
    width:100%; display:block; position:relative; padding-inline:13px 35px;
    overflow:hidden; white-space:nowrap; text-overflow:ellipsis; text-align:start; cursor:pointer;
}
body.wooflo-shop button.at-select::after {
    position:absolute; right:15px; top:50%; margin:0; transform:translateY(-65%) rotate(45deg);
}
body.wooflo-shop button.at-select { padding-inline-end:32px }
body.wooflo-shop .mk-filters label .at-select {padding-inline:4px 19px;min-height:27px}
body.wooflo-shop .mk-filters label .at-select::after {right:4px}
body.wooflo-shop button.at-select[aria-expanded=true]::after {transform:translateY(-25%) rotate(225deg)}
body.wooflo-shop :is(.wq-form,.ap-form,.ed-field,.bj-support-form,.bj-field) textarea {min-height:98px;resize:vertical}
body.wooflo-shop :is(dialog,form,.ed-plan-label,.bj-page) :is(button,input,textarea,select,summary,a):focus-visible {
    outline:2px solid var(--mc-focus); outline-offset:2px;
}
body.wooflo-shop :is(.ap-form,.wq-form,.bj-support-form,.ed-field,.bj-field) [aria-invalid=true] {border-color:var(--mc-error)}
body.wooflo-shop :is(.ap-form,.wq-form,.bj-support-form,.at-query,.bx-picker) :is(input,textarea)::placeholder {color:var(--mc-muted);opacity:.92}
body.wooflo-shop :is(.wq-field,.ed-field,.ap-form label,.bj-field) {min-width:0}
body.wooflo-shop .wq-form .wq-pill-row span {min-height:42px;border-radius:12px;line-height:1.3;display:inline-flex;align-items:center}
body.wooflo-shop .wq-pill-row input:checked+span {border-color:var(--mc-focus)}
body.wooflo-shop :is(.wq-error,.wq-submit-error) {color:var(--mc-error)}
body.wooflo-shop .at-select[hidden],body.wooflo-shop select.at-native-select:not(.variations_form select) {display:none!important}

/* A top-layer list keeps its anchor inside scrolled, blurred or transformed modal panes. */
body.wooflo-shop .at-option-pop.bd-choice-pop {
    box-sizing:border-box; position:fixed; inset:auto; margin:0; padding:7px; min-height:0; max-width:none;
    display:flex; flex-direction:column; gap:4px; overflow:hidden; z-index:100050;
    border-radius:19px; border:1px solid color-mix(in srgb,var(--mc-edge) 72%,transparent);
    color:var(--mc-text); background:linear-gradient(155deg,color-mix(in srgb,var(--mc-panel) 93%,white),var(--mc-panel) 65%);
    box-shadow:var(--mc-depth); backdrop-filter:blur(22px) saturate(1.25); font:500 14px/1.35 Poppins,Arial,sans-serif;
    animation:mc-menu-in .14s ease-out;
}
.bd-choice-pop[popover]::backdrop {background:transparent;backdrop-filter:none;pointer-events:none}
body.wooflo-shop .bd-choice-pop .at-option-list {min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y}
body.wooflo-shop .bd-choice-pop input[type=search] {
    box-sizing:border-box;flex:none;width:100%;min-width:0;margin:0 0 3px;height:41px;border-radius:11px;
    padding:8px 12px;border:1px solid var(--mc-edge);color:var(--mc-text);background:var(--mc-bg);font:inherit;
}
body.wooflo-shop .bd-choice-pop input[type=search]:focus-visible {outline:1px solid var(--mc-focus);outline-offset:0;border-color:var(--mc-focus)}
body.wooflo-shop .bd-choice-pop .at-choice {position:relative;display:flex;align-items:center;justify-content:flex-start;gap:10px;
    min-height:46px;border-radius:11px;padding:5px 28px 5px 5px;font:inherit;color:var(--mc-text);text-align:start;cursor:pointer}
body.wooflo-shop .bd-choice-pop .at-choice-art {position:relative;flex:0 0 40px;width:40px;height:34px;border-radius:7px;overflow:hidden;
    background:linear-gradient(135deg,#4d7467,#26382e);box-shadow:inset 0 0 0 1px #ffffff19}
.at-choice-art:empty::before {content:'';position:absolute;inset:9px 10px;border:1px solid #d9e6ca;border-radius:3px;transform:rotate(-12deg)}
.at-choice-art:empty::after {content:'';position:absolute;inset:11px 8px 7px 12px;border:1px solid #e7efe0;border-radius:3px}
body.wooflo-shop .bd-choice-pop .at-choice-art img {display:block;width:100%;height:100%;object-fit:cover}
body.wooflo-shop .bd-choice-pop .at-choice-name {min-width:0;overflow-wrap:anywhere}
body.wooflo-shop .bd-choice-pop .at-choice:is(:hover,.at-pointed) {outline:1px solid var(--mc-edge);outline-offset:-1px;background:var(--mc-surface)}
body.wooflo-shop .bd-choice-pop .at-choice[aria-selected=true] {background:var(--mc-surface);font-weight:600}
body.wooflo-shop .bd-choice-pop .at-choice[aria-selected=true]::after {content:'✓';position:absolute;right:10px;color:var(--mc-focus);font-size:15px}
.bd-choice-pop .at-zero {margin:0;padding:16px 8px;color:var(--mc-muted);font-size:13px}
@keyframes mc-menu-in {from{opacity:.4}to{opacity:1}}

body.wooflo-shop dialog[open] {box-sizing:border-box;overscroll-behavior:contain;border-color:color-mix(in srgb,var(--mc-edge) 73%,transparent)}
body.wooflo-shop dialog::backdrop {background:rgb(7 12 12 / .68);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
body.wooflo-shop dialog:is(.mk-dialog,.at-viewer,.ed-detail,.bdx-film-dialog) {
    height:fit-content;min-height:0;overflow-y:auto;scroll-padding-block:60px 12px;
}
body.wooflo-shop :is(.mk-dialog .mk-dbar,.at-viewer .at-modalbar,.ed-detail .ed-modal-top,.bdx-film-dialog .bdx-dialog-head) {
    position:sticky;top:0;z-index:2;background:var(--mc-panel);
}
body.wooflo-shop :is(.mk-dialog [data-close],.at-viewer .at-close,.ed-detail .ed-x,.bdx-film-dialog [data-bdx-close]) {
    min-width:44px;min-height:44px;flex-shrink:0;
}
body.wooflo-shop dialog:is(.ed-dialog,.at-modal,.mk-dialog,.bj-dialog,.ap-dialog,.wq-dialog,.bd-dialog,.ws-sheet) {
    border-radius:clamp(19px,2.5vw,32px); box-shadow:0 28px 108px #03070966,inset 0 1px #ffffff15;
}
body.wooflo-shop :is(.ed-dialog,.at-modal,.mk-dialog,.bj-dialog,.ap-dialog,.wq-dialog,.ws-sheet) :is(button[aria-label^="Fermer"],[data-wq-close]) {
    min-width:40px;min-height:40px;border-radius:50%;flex-shrink:0;
}
body.wooflo-shop .wq-main .wq-progress button {min-height:36px}
body.wooflo-shop .wq-actions .wq-primary {min-height:44px}
body.wooflo-shop .bd-menu-panel {max-height:calc(100dvh - 110px);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;
    border-radius:22px;background:var(--mc-panel);color:var(--mc-text);box-shadow:var(--mc-depth)}
body.wooflo-shop .bd-menu-groups {gap:10px}
body.wooflo-shop .bd-menu-groups>div {padding:6px 5px 9px;border:1px solid color-mix(in srgb,var(--mc-edge) 44%,transparent);border-radius:14px;background:color-mix(in srgb,var(--mc-surface) 50%,transparent)}
body.wooflo-shop .bd-menu-groups a.bd-menu-heading {display:grid;grid-template-columns:39px minmax(0,1fr) 13px;gap:7px;
    min-height:44px;align-items:center;line-height:1.22;color:var(--mc-text);padding:3px 4px 6px}
body.wooflo-shop .bd-menu-heading img {display:block;width:39px;height:36px;object-fit:cover;border-radius:7px}
body.wooflo-shop .bd-menu-groups .bd-menu-link {padding:5px 8px;color:var(--mc-muted);border-radius:7px}
body.wooflo-shop .bd-menu-panel .bd-menu-groups a:focus-visible {background:var(--mc-surface);outline:2px solid var(--mc-focus);outline-offset:0}
body.wooflo-shop .ws-sheet .bd-menu-panel {width:100%;max-height:none;max-width:100%;overflow:visible;padding:5px;box-shadow:none}
body.wooflo-shop .bd-suggestions {max-height:min(330px,55dvh);overflow:auto;overscroll-behavior:contain;background:var(--mc-panel);border-color:var(--mc-edge);color:var(--mc-text);z-index:12;box-shadow:var(--mc-depth)}
body.wooflo-shop .bd-suggestions a {gap:10px;min-height:43px;color:var(--mc-text)}
body.wooflo-shop .bd-suggestions a span {flex:1}
body.wooflo-shop .bd-suggestions a img {width:38px;height:31px;object-fit:cover;border-radius:7px}
body.wooflo-shop .bd-hero:has(.bd-suggestions:not([hidden])) {overflow:visible;z-index:10}
@media(max-width:700px) {
    body.wooflo-shop .bd-choice-pop input[type=search],
    body.wooflo-shop :is(.ap-form,.wq-form,.bj-support-form,.ed-field,.bj-field,.at-query,.bx-picker) :is(input:not([type=checkbox],[type=radio]),textarea,select,button.at-select) {font-size:16px}
    body.wooflo-shop dialog[open] {max-width:calc(100vw - 12px);max-height:calc(100dvh - max(14px,env(safe-area-inset-bottom)))}
    body.wooflo-shop .wq-form .wq-field button.at-select {font-size:15px}
    body.wooflo-shop .ws-sheet .bd-menu-groups {grid-template-columns:repeat(auto-fit,minmax(min(165px,100%),1fr))}
    body.wooflo-shop .ws-sheet .bd-menu-groups .bd-menu-link {min-height:34px;align-items:center}
}
@media(prefers-reduced-motion:reduce){body.wooflo-shop .at-option-pop.bd-choice-pop{animation:none}}

/* Rounded sections keep the work, the decision, and the next step visually distinct. */
body .bd-offer {--offer-tone:#77abc0;--offer-edge:color-mix(in srgb,var(--offer-tone) 31%,var(--bd-line));
    --offer-surface:color-mix(in srgb,var(--offer-tone) 5%,var(--bd-surface));--offer-round:clamp(20px,2.25vw,33px)}
.bd-offer[data-offer-family="acquisition"] {--offer-tone:#65caac}
.bd-offer[data-offer-family="contenu"] {--offer-tone:#f28e84}
.bd-offer[data-offer-family="identite"] {--offer-tone:#dda16c}
.bd-offer[data-offer-family="site"] {--offer-tone:#79a6ed}
.bd-offer[data-offer-family="systeme"] {--offer-tone:#c0a3ee}
.bd-offer[data-offer-family="relation"] {--offer-tone:#d2bc61}
.bd-offer[data-offer-family="terrain"] {--offer-tone:#ffae70}
body .bd-offer .bd-product-hero {gap:clamp(13px,1.8vw,27px)}
body .bd-offer .bd-product-main {border-radius:var(--offer-round);padding:clamp(15px,2vw,31px);border:1px solid var(--offer-edge);
    background:radial-gradient(75% 56% at 96% 0,color-mix(in srgb,var(--offer-tone) 15%,transparent),transparent 76%),var(--bd-surface)}
body .bd-offer .bd-product-main h1 {margin-block:.22em .17em;line-height:1.07}
body .bd-offer .bd-product-shop {border:1px solid var(--offer-edge);border-radius:99px;padding:5px 10px;background:var(--offer-surface);color:var(--ws-fg)}
body .bd-offer .bd-offer-buy {border-radius:var(--offer-round);border:1px solid var(--offer-edge);box-shadow:inset 0 2px color-mix(in srgb,var(--offer-tone) 50%,transparent);
    background:linear-gradient(150deg,var(--offer-surface),var(--bd-surface) 65%)}
body .bd-offer .bd-offer-anchors {border-radius:99px;max-width:100%;width:max-content;padding:4px;gap:2px;border:1px solid var(--bd-line);background:var(--bd-glass);scrollbar-width:thin}
body .bd-offer .bd-offer-anchors a {min-height:37px;display:inline-flex;align-items:center;border-radius:99px;padding:5px 13px}
body .bd-offer :is(#ecrans>.bds-studio,.bd-questions,.bd-deliverables,.bd-more,.bd-brief-strip,.bd-compare-more) {
    box-sizing:border-box;max-width:100%;width:100%;margin:clamp(16px,2.25vw,31px) 0;padding:clamp(18px,2.7vw,40px);
    border-radius:var(--offer-round);border:1px solid var(--offer-edge);background:var(--bd-surface);color:var(--ws-fg);
}
body .bd-offer #ecrans>.bds-studio {background:linear-gradient(133deg,var(--offer-surface),var(--bd-surface) 72%)}
body .bd-offer #ecrans>.bds-local {border-color:color-mix(in srgb,#6abf9c 37%,var(--bd-line));background:radial-gradient(80% 150% at 0% 0%,color-mix(in srgb,#4eaf8e 14%,transparent),transparent 71%),var(--bd-surface)}
body .bd-offer .bds-local .bds-heading {margin-bottom:clamp(15px,2vw,27px)}
body .bd-offer .bds-local .bds-heading h2 {letter-spacing:-.055em}
body .bd-offer .bds-local .bds-rail .bds-link {height:100%;overflow:hidden;border:1px solid var(--bd-line);background:var(--bd-surface)}
body .bd-offer .bds-local .bds-rail .bds-art {aspect-ratio:1.5;border:0;border-radius:0;background:#b9cec4}
body .bd-offer .bds-local .bdv-scene-local {--map-mat:#96bdad;
    background:radial-gradient(ellipse at 12% 0%,#ffffff59,transparent 65%),linear-gradient(142deg,color-mix(in srgb,var(--map-mat) 84%,white),color-mix(in srgb,var(--map-mat) 81%,var(--bdv-paint)))}
body .bd-offer .bds-local .bdv-scene-local:has(.bdv-google[data-view="1"]) {--map-mat:#e2c498}
body .bd-offer .bds-local .bdv-scene-local:has(.bdv-google[data-view="2"]) {--map-mat:#99b7cc}
body .bd-offer .bds-local .bdv-scene-local::before {opacity:.28}
body .bd-offer .bds-local .bds-rail .bds-tile-meta {padding:12px 15px 15px;gap:3px}
body .bd-offer .bds-local .bds-controls {margin-top:8px}
body .bd-offer .bd-deliverables {background:linear-gradient(130deg,var(--offer-surface),var(--bd-surface) 67%)}
body .bd-offer .bd-deliverables li {align-items:center;padding:7px 0;border-bottom:1px solid var(--bd-line)}
body .bd-offer .bd-deliverables li:last-child {border-bottom:0}
body .bd-offer .bd-deliverables li svg {align-self:center;color:var(--ws-fg);border-radius:50%;background:var(--offer-surface)}
body .bd-offer .bd-questions>h2,body .bd-offer .bd-deliverables h2,body .bd-offer .bd-brief-strip h2 {margin-top:0}
body .bd-offer .bd-more,body .bd-offer .bd-compare-more {padding-block:clamp(9px,1.3vw,18px)}
body .bd-offer .bd-more details:last-child,body .bd-offer .bd-questions details:last-child {border-bottom:0}
body .bd-offer .bd-brief-strip>.wq-host .wq-entry {min-height:165px}
@media(max-width:760px) {
    body .bd-offer .bd-product-main {padding:14px}
    body .bd-offer .bd-offer-anchors {display:flex;overflow-x:auto;flex-wrap:nowrap;width:100%;scrollbar-width:none}
    body .bd-offer .bd-offer-anchors a {flex:none;padding-inline:10px}
    body .bd-offer .bds-local .bds-rail>.bds-tile {flex-basis:min(84%,350px)}
}
