/* style presentation rules */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');
:root{--ink:#42281d;--brown:#3b241a;--yellow:#f8cb48;--apricot:#f4b56c;--cream:#fcf8ef;--line:#e7dfd2;--muted:#796f66}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #bf6c17;outline-offset:3px}.prototype{background:var(--brown);color:#fff2d0;padding:9px 5%;font-size:11px;letter-spacing:.08em;display:flex;justify-content:space-between;align-items:center;gap:12px}.prototype button{background:none;color:var(--yellow);font-size:12px}.nav{display:flex;align-items:center;justify-content:space-between;padding:23px 5%;gap:20px;border-bottom:1px solid var(--line)}.brand{font-family:'Playfair Display',serif;font-size:29px;font-weight:700;letter-spacing:-1px}.brand small{display:block;font:9px 'DM Sans';letter-spacing:.23em;text-transform:uppercase;margin-top:4px}.navlinks{display:flex;gap:25px;font-size:14px}.btn{display:inline-block;border-radius:6px;background:var(--yellow);color:var(--ink);padding:14px 22px;font-weight:700}.btn.dark{background:var(--brown);color:white}.btn.outline{background:transparent;border:1px solid var(--line)}.hero{display:grid;grid-template-columns:1fr 1fr;min-height:580px}.herotext{padding:70px 10% 50px}.eyebrow{font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:700}.dot{color:#71845d}.hero h1{font:600 clamp(44px,5.2vw,78px)/1.06 'Playfair Display',serif;margin:25px 0;letter-spacing:-2px}.hero h1 em{font-weight:500;color:#a35a2e}.hero p{line-height:1.8;color:var(--muted);max-width:400px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}.heroimage{position:relative;background:var(--apricot);overflow:hidden}.heroimage img{width:100%;height:100%;position:absolute;object-fit:cover}.phototag{position:absolute;bottom:24px;left:24px;padding:16px 20px;background:var(--cream);border-radius:5px;box-shadow:0 5px 20px #0002;font-size:12px}.phototag strong{display:block;font-family:'Playfair Display';font-size:23px;margin:5px 0}.stripe{background:var(--yellow);padding:19px;text-align:center;word-spacing:13px;letter-spacing:.13em;font-size:11px}.section{padding:65px 6%;max-width:1500px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}h2{font:500 clamp(30px,3vw,44px)/1.15 'Playfair Display';margin:12px 0}h3{margin:12px 0;font-size:18px}p{line-height:1.7}.muted{color:var(--muted);font-size:13px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.card{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.card img{width:100%;height:235px;object-fit:cover}.cardbody{padding:22px}.row{display:flex;justify-content:space-between;align-items:center;gap:12px}.tag{font-size:11px;border-radius:20px;background:#f7eddb;padding:6px 10px;display:inline-block}.story{background:var(--brown);color:var(--cream);display:grid;grid-template-columns:1fr 1fr;gap:50px;padding:65px 8%}.story p{color:#dfd2be}.story .btn{margin-top:20px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.steps strong{font:40px 'Playfair Display';color:#b66d37}.footer{background:#efe6d6;padding:36px 6%;display:flex;justify-content:space-between;gap:25px;flex-wrap:wrap}.chips{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0}.chips button{background:white;border:1px solid var(--line);border-radius:30px;padding:10px 18px}.chips .selected{background:var(--brown);color:white}.pagehead{padding:45px 6% 0}.pagehead h1{font:48px 'Playfair Display';margin:15px 0}.layout{display:grid;grid-template-columns:235px 1fr;min-height:calc(100vh - 40px)}.sidebar{background:var(--brown);color:#f0e4d0;padding:28px 20px;display:flex;flex-direction:column;gap:7px}.sidebar .brand{margin-bottom:28px}.sidebar button{text-align:left;background:none;color:inherit;padding:13px 15px;border-radius:7px;font-size:13px}.sidebar button.active{background:var(--yellow);color:var(--ink);font-weight:700}.sidebar .foot{margin-top:auto;font-size:11px;line-height:1.8;padding:22px 10px;color:#c8b69c}.workspace{padding:30px 4%;min-width:0}.topline{display:flex;justify-content:space-between;align-items:center;gap:12px}.topline h1{font-size:28px;margin:12px 0}.notice{padding:14px 18px;background:#fff0ce;border:1px solid #eedaa3;border-radius:8px;font-size:12px;line-height:1.6;margin:25px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.stat{background:white;border:1px solid var(--line);padding:22px;border-radius:10px}.stat b{font-size:29px;display:block;margin:12px 0 6px}.columns{display:grid;grid-template-columns:1.5fr 1fr;gap:22px;margin:25px 0}.panel{padding:25px;background:white;border:1px solid var(--line);border-radius:10px}.task{padding:15px 0;border-bottom:1px solid var(--line);font-size:13px}.task:last-child{border:0}.listrow{display:grid;grid-template-columns:55px minmax(100px,1fr) 90px 100px 80px;gap:15px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.listrow img{width:55px;height:52px;object-fit:cover;border-radius:6px}.listrow button{background:#f6ecd8;padding:8px;border-radius:5px}.status{font-size:11px;color:#756331}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{font-size:12px;display:block;margin:12px 0}input,select,textarea{display:block;width:100%;padding:12px;border:1px solid #d9cfbd;background:white;border-radius:6px;color:var(--ink);margin-top:7px}textarea{min-height:90px}.wide{grid-column:1/-1}dialog{border:0;border-radius:12px;max-width:600px;width:92%;padding:35px;color:var(--ink);box-shadow:0 20px 90px #0003}dialog::backdrop{background:#29170e99}.close{float:right;background:#eee2d1;border-radius:50%;font-size:25px;width:34px;height:34px}#toast{display:none;position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--brown);color:white;padding:16px 25px;border-radius:8px;z-index:5;max-width:90%;font-size:13px}.search{max-width:340px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;min-width:560px}td,th{text-align:left;padding:16px 12px;border-bottom:1px solid var(--line)}th{color:var(--muted)}.empty{text-align:center;padding:40px;color:var(--muted)}.smallbtn{background:#f3e6cf;padding:10px;border-radius:5px}.splitform{max-width:850px;margin:35px auto}.previewline{background:#f1e4cc;padding:12px 18px;border-radius:8px;font-size:12px}.mobilemenu{display:none}@media(max-width:900px){.navlinks{gap:14px}.hero{min-height:unset}.herotext{padding:40px 9%}.hero h1{font-size:49px}.grid{gap:15px}.layout{grid-template-columns:185px 1fr}.sidebar{padding:25px 10px}.stats{grid-template-columns:1fr 1fr}.columns{grid-template-columns:1fr}.listrow{grid-template-columns:40px 1fr 65px 70px}.listrow .status{display:none}}@media(max-width:640px){.prototype{font-size:9px;padding:9px 4%;letter-spacing:0}.prototype button{font-size:11px}.nav{padding:18px 5%;flex-wrap:wrap}.brand{font-size:26px}.navlinks{order:3;width:100%;overflow:auto;font-size:12px;justify-content:space-between}.hero{grid-template-columns:1fr}.heroimage{height:350px;grid-row:2}.herotext{padding:40px 6%}.hero h1{font-size:51px}.section{padding:38px 6%}.grid,.story,.steps{grid-template-columns:1fr}.card img{height:240px}.story{padding:38px 6%;gap:10px}.heading{align-items:start}.layout{display:block}.sidebar{padding:15px;display:flex;flex-direction:row;overflow:auto;position:sticky;top:0;z-index:2}.sidebar .brand,.sidebar .foot{display:none}.sidebar button{white-space:nowrap;padding:10px}.workspace{padding:22px 5%}.stats{gap:10px}.stat{padding:16px}.stat b{font-size:25px}.topline{flex-wrap:wrap}.formgrid{grid-template-columns:1fr}.listrow{gap:8px;font-size:12px}.panel{padding:18px}.pagehead h1{font-size:37px}.stripe{word-spacing:2px;letter-spacing:.05em}.footer{font-size:13px}}
/* Charte harmonisée — jaune, jaune abricot et marron */
:root{--ink:#48291c;--brown:#3f261b;--yellow:#f4ca45;--apricot:#edb46e;--cream:#faf7f0;--line:#e5dccd;--muted:#73665b}html{scroll-behavior:smooth}body{overflow-wrap:break-word}button{color:var(--ink);-webkit-appearance:none;appearance:none}input,select,textarea{color:var(--ink);min-width:0;max-width:100%}img{max-width:100%}.prototype{padding:8px 5%;font-size:10px;letter-spacing:.04em;min-height:34px}.prototype button{font-size:11px;color:var(--yellow);white-space:nowrap}.nav{padding:12px 5%;min-height:100px;position:relative;background:var(--cream)}.logo-brand{display:flex;align-items:center;flex-shrink:0}.official-logo{width:116px;height:88px;object-fit:contain;display:block;max-width:100%}.navlinks{gap:24px;font-size:13px}.navlinks a{padding:12px 0;white-space:nowrap}.navlinks a:hover{color:#99551c}.btn{padding:13px 21px;border-radius:3px;font-size:13px;line-height:1.4;min-height:44px}.btn.outline{border-color:#cbbba4}.btn.dark{background:var(--brown);color:var(--cream)}.menu-toggle{display:none}.hero{max-width:1480px;margin:auto;min-height:unset;grid-template-columns:1fr 1fr;padding:38px 5% 44px;gap:42px;align-items:center}.herotext{padding:35px 0}.eyebrow{font-size:10px;letter-spacing:.17em;color:#7c512f}.dot{color:#aa6b2e}.hero h1{font-size:clamp(40px,4.3vw,65px);line-height:1.12;letter-spacing:-1.5px;margin:24px 0}.hero p{font-size:14px;max-width:400px}.heroimage{height:520px;max-height:65vh;border-radius:2px}.heroimage img{object-fit:cover;object-position:center}.phototag{left:20px;bottom:20px;padding:14px 18px;border-radius:2px;font-size:10px;max-width:calc(100% - 40px)}.phototag strong{font-size:21px}.actions{margin:25px 0}.stripe{background:#efb96f;padding:16px 4%;font-size:10px;word-spacing:7px;letter-spacing:.12em}.section{padding:64px 6%}.section h2{font-size:38px}h2{letter-spacing:-.6px}.card{border-radius:3px;border:1px solid var(--line);box-shadow:none}.card img{height:auto;aspect-ratio:4/3;object-fit:cover}.cardbody{padding:22px}.cardbody h3{font-family:'Playfair Display',serif;font-weight:500;font-size:23px;line-height:1.25}.smallbtn{background:#f2ca57;color:var(--brown);border-radius:3px;min-height:40px;padding:10px 14px;font-size:12px}.tag{border-radius:2px;background:#f5e8d4;color:#6d482d;font-size:10px}.chips{gap:9px}.chips button{background:transparent;border:1px solid #d7c7b2;border-radius:3px;padding:10px 18px;font-size:12px;min-height:42px;color:var(--brown)}.chips button.selected{background:var(--brown);color:var(--cream);border-color:var(--brown)}.story .eyebrow{color:var(--apricot)}.story{padding:58px 8%;gap:55px}.story h2{font-size:40px}.footer{padding:35px 6%;align-items:center;font-size:12px;line-height:1.8;background:#eee4d4}.footer-brand{display:flex;gap:18px;align-items:center}.footer-brand p{font-size:11px;max-width:120px}.footer .official-logo{width:110px;height:90px}.pagehead{max-width:1400px;margin:0 auto;padding:40px 6% 0}.pagehead h1{font:500 clamp(34px,4vw,52px)/1.15 'Playfair Display';letter-spacing:-1px;margin:16px 0 24px}.menu-toolbar{display:flex;justify-content:space-between;align-items:center;gap:25px;padding-bottom:10px;border-bottom:1px solid var(--line)}.menu-toolbar label{width:200px;flex-shrink:0;margin:0;font-size:11px;letter-spacing:.02em}.menu-toolbar select{font-size:13px;padding:11px;min-height:44px}.menu-toolbar p{margin:0;font-size:13px}.admin-brand{text-align:center;margin-bottom:20px!important;display:grid;justify-items:center;background:#f5ede0;padding:12px 5px;border-radius:4px;color:var(--brown)}.admin-brand .official-logo{width:108px;height:85px}.admin-brand small{font-size:8px;letter-spacing:.1em}.sidebar button{border-radius:3px}.sidebar button.active{border-left:3px solid var(--apricot)}.workspace,.workspace>*,.panel,.card,.formgrid>*{min-width:0}.notice{background:#f7ecd5;border-color:#e4ce9e;border-radius:4px}.panel,.stat{border-radius:5px}.status{color:#7b5e2b}.formgrid{min-width:0}.close{color:var(--brown)}dialog{max-height:90dvh;overflow:auto}.listrow img{object-fit:cover}.search{width:100%}.story img{object-fit:cover}input:focus,select:focus,textarea:focus{outline:2px solid var(--apricot);outline-offset:2px}.topline .btn{white-space:normal}
@media(min-width:641px) and (max-width:1000px){.navlinks{gap:14px;font-size:12px}.official-logo{width:95px;height:75px}.nav{gap:12px}.nav>.btn{padding:11px 14px}.hero{gap:28px}.heroimage{height:430px}.hero h1{font-size:44px}.cardbody{padding:17px}.cardbody h3{font-size:21px}}
@media(max-width:640px){.prototype{padding:8px 5%;gap:8px;min-height:34px;font-size:9px;line-height:1.35}.prototype button{font-size:10px;white-space:nowrap}.nav{display:grid;grid-template-columns:1fr auto auto;gap:13px;padding:9px 5%;min-height:88px}.official-logo{width:93px;height:72px}.nav>.btn{font-size:11px;padding:10px 13px;min-height:40px}.menu-toggle{display:flex;align-items:center;gap:7px;background:transparent;border:1px solid var(--line);padding:10px 12px;border-radius:3px;font-size:11px;min-height:40px}.menu-toggle span{font-size:14px}.navlinks{display:none;position:absolute;top:100%;left:0;width:100%;padding:10px 5% 18px;background:var(--cream);border-bottom:1px solid var(--line);z-index:4;overflow:visible;box-shadow:0 12px 18px #48291c0d}.navlinks.open{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.navlinks a{border-bottom:1px solid var(--line);padding:14px 0;font-size:13px}.hero{display:flex;flex-direction:column;padding:30px 6% 28px;gap:26px;align-items:stretch}.herotext{padding:0}.hero h1{font-size:39px;letter-spacing:-.8px;margin:18px 0;line-height:1.12}.hero p{font-size:13px;line-height:1.7}.hero .actions{margin:21px 0 16px;gap:8px}.hero .btn{font-size:11px;padding:12px 14px}.hero .muted{font-size:11px;margin-bottom:0}.heroimage{height:300px;max-height:none;flex-shrink:0}.phototag{bottom:14px;left:14px;padding:10px 14px;max-width:calc(100% - 28px);font-size:9px}.phototag strong{font-size:19px}.stripe{font-size:9px;line-height:1.8;word-spacing:3px;letter-spacing:.06em}.section{padding:35px 6%}.section h2{font-size:30px}.heading{gap:12px;margin-bottom:22px;align-items:center}.heading .btn{font-size:10px;padding:10px 12px;min-width:90px}.card img{height:auto;aspect-ratio:4/3}.cardbody{padding:19px}.cardbody h3{font-size:24px}.cardbody p{margin:12px 0 18px}.grid{gap:22px}.story{padding:36px 6%;gap:4px}.story h2{font-size:32px}.story p{font-size:13px}.steps{gap:14px}.steps strong{font-size:32px}.steps h3{font-size:16px}.pagehead{padding:30px 6% 0}.pagehead h1{font-size:35px;margin:13px 0 22px;line-height:1.15}.pagehead .eyebrow{font-size:9px}.menu-toolbar{display:grid;grid-template-columns:1fr;gap:15px;padding-bottom:20px}.menu-toolbar p{font-size:12px}.menu-toolbar label{width:100%;font-size:10px}.menu-toolbar select{width:100%;font-size:13px}.chips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:22px 0}.chips button{padding:10px 6px;font-size:11px;min-height:40px;width:100%;white-space:normal}.pagehead+.section{padding-top:5px!important}.footer{padding:28px 6%;display:grid;grid-template-columns:1fr;gap:15px;font-size:12px}.footer-brand{padding-bottom:12px;border-bottom:1px solid #d9c8ad;width:100%}.footer .official-logo{width:95px;height:78px}.sidebar{position:relative;display:flex;flex-direction:row;flex-wrap:wrap;gap:4px;padding:10px;overflow:visible;border-bottom:3px solid var(--apricot)}.sidebar .brand{display:none}.sidebar button{font-size:10px;white-space:normal;padding:9px 8px;flex:1 1 28%;min-width:0;text-align:center}.workspace{padding:22px 5%}.workspace h1{font-size:24px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:14px 12px}.stat b{font-size:24px}.stat .muted{font-size:10px}.workspace .row{flex-wrap:wrap}.listrow{grid-template-columns:38px minmax(0,1fr) 60px 64px;gap:8px;font-size:11px}.listrow img{width:38px;height:42px}.listrow .muted{font-size:10px}.listrow button{font-size:10px;padding:8px 4px}.panel{padding:18px 15px}.formgrid{display:grid;grid-template-columns:minmax(0,1fr)}.wide{grid-column:auto}.columns{gap:18px}.workspace h2{font-size:30px}.topline{gap:8px}.notice{font-size:11px;padding:12px}.admin-brand small{display:none}.splitform{margin:0 auto}dialog{padding:25px 20px}.cardbody .row{flex-wrap:nowrap}.tablewrap{max-width:100%}}
@media(max-width:350px){.nav{gap:7px}.official-logo{width:80px;height:65px}.nav>.btn,.menu-toggle{padding:9px;font-size:10px}.hero h1{font-size:35px}.hero .actions{flex-direction:column}.sidebar button{flex-basis:40%}.listrow{grid-template-columns:30px minmax(0,1fr) 52px 57px}}
.hero-carousel{min-width:0}.hero-carousel .heroimage{height:410px;max-height:none;touch-action:pan-y;position:relative;background:#eee3d2}.hero-carousel .heroimage img{object-fit:contain;background:#eee3d2}.carousel-caption{display:flex;gap:18px;justify-content:space-between;align-items:center;margin-top:18px;min-height:110px}.carousel-caption h2{font:500 30px/1.15 'Playfair Display';margin:8px 0}.carousel-caption p{font-size:12px;color:var(--muted);margin:6px 0}.carousel-link{background:none;padding:6px 0;font-size:12px;text-align:left;border-bottom:1px solid #a77f50}.carousel-arrows{display:flex;gap:8px;flex-shrink:0}.carousel-arrows button{background:var(--brown);color:var(--cream);height:43px;width:43px;font-size:21px;border-radius:3px}.carousel-bottom{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px}.carousel-dots{display:flex;gap:2px;flex-wrap:wrap}.carousel-dots button{background:none;padding:9px 6px;min-width:22px;min-height:30px}.carousel-dots span{width:6px;height:6px;display:block;border-radius:50%;background:#cabbab}.carousel-dots [aria-current=true] span{background:#654124;box-shadow:0 0 0 3px #f2cc5d}.carousel-play{font-size:10px;background:none;padding:10px 0;color:var(--brown);white-space:nowrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.carousel-empty,.photo-unavailable{display:flex;align-items:center;justify-content:center;height:100%;padding:25px;color:var(--muted);font-size:13px}.photo-unavailable[hidden]{display:none}.carousel-edit-row{display:grid;grid-template-columns:65px minmax(100px,1fr) auto;align-items:center;gap:15px;padding:18px 0;border-bottom:1px solid var(--line)}.carousel-edit-row img{width:65px;height:60px;object-fit:contain;background:var(--cream)}.carousel-edit-row p{margin:5px 0}.carousel-edit-actions{display:flex;gap:6px;flex-wrap:wrap}.carousel-edit-actions button{font-size:11px;padding:8px}.carousel-edit-actions button:disabled{opacity:.35;cursor:default}.category-preview{max-width:600px;grid-column:1/-1}.category-preview img{object-fit:contain;background:#f5ecdf}.hero-carousel button:focus-visible{outline:3px solid var(--apricot);outline-offset:3px}@media(max-width:1000px){.hero-carousel .heroimage{height:350px}.carousel-caption h2{font-size:27px}}@media(max-width:640px){.hero-carousel .heroimage{height:290px}.hero-carousel{width:100%}.carousel-caption{margin-top:15px;gap:12px;min-height:110px}.carousel-caption h2{font-size:27px;overflow-wrap:anywhere}.carousel-caption .eyebrow{font-size:9px}.carousel-caption p{font-size:11px}.carousel-link{font-size:11px}.carousel-arrows{gap:6px}.carousel-arrows button{width:38px;height:40px}.carousel-bottom{margin-top:5px}.carousel-dots button{padding:10px 5px;min-width:19px}.carousel-play{font-size:9px}.carousel-edit-row{grid-template-columns:50px minmax(0,1fr);gap:12px}.carousel-edit-row img{width:50px;height:50px}.carousel-edit-actions{grid-column:1/-1}.carousel-edit-actions button{flex:1}.hero{align-items:stretch}.hero-carousel .heroimage{flex-shrink:0}}@media(prefers-reduced-motion:reduce){.hero-carousel *{scroll-behavior:auto;transition:none;animation:none}}

/* Adaptation fluide de la vitrine et des éditeurs */
html,body{width:100%;min-width:0}#app,main,section,header,footer,nav,.herotext,.steps>*,.grid>*{min-width:0}.hero h1{font-size:clamp(35px,3.7vw,58px);text-wrap:balance;overflow-wrap:normal}.official-logo{background:transparent}.admin-brand{background:#edb46e}.copy-group{border-top:1px solid var(--line);padding:15px 0}.copy-group summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;font-size:15px;font-weight:700;list-style:none;min-height:36px;align-items:center}.copy-group summary::before{content:'+';color:#a66b2a}.copy-group[open] summary::before{content:'−'}.copy-group summary span{font-size:11px;color:var(--muted);font-weight:400;margin-left:auto}.copy-group textarea{min-height:64px;resize:vertical}.editor-save{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.editor-help{margin-top:24px}.edit-photo-preview{display:block;max-width:100%;width:280px;height:180px;object-fit:contain;margin:16px 0}.workspace>.row{flex-wrap:wrap}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.story{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{grid-template-columns:repeat(2,minmax(0,1fr))}.steps{grid-template-columns:repeat(3,minmax(0,1fr))}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.actions>*{max-width:100%}.hero-carousel .heroimage img{max-width:100%}
@media(min-width:641px) and (max-width:1050px){.nav{flex-wrap:wrap}.navlinks{order:3;justify-content:center;width:100%;flex-wrap:wrap;gap:8px 22px}.hero{gap:25px}.hero h1{font-size:clamp(35px,4.4vw,46px)}.herotext{padding:15px 0}.layout{grid-template-columns:185px minmax(0,1fr)}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.carousel-edit-row{grid-template-columns:55px minmax(0,1fr)}.carousel-edit-actions{grid-column:1/-1}}
@media(min-width:1600px){.nav,.footer{padding-left:max(5%,calc((100% - 1480px)/2));padding-right:max(5%,calc((100% - 1480px)/2))}.hero{padding-left:35px;padding-right:35px}.workspace{max-width:1800px;width:100%;margin:auto}}
@media(max-width:640px){.hero{display:flex}.grid,.story,.steps{grid-template-columns:minmax(0,1fr)}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:clamp(33px,8.6vw,46px);line-height:1.15}.navlinks{width:100%}.copy-group summary{font-size:14px}.copy-group textarea{font-size:14px}.editor-save{flex-direction:column}.panel .actions{gap:10px}.hero-carousel .heroimage{height:clamp(235px,75vw,340px)}}

.menu-search{max-width:500px;margin-top:24px}.catalogue-grid .card{display:flex;flex-direction:column}.catalogue-grid .cardbody{display:flex;flex:1;flex-direction:column}.catalogue-grid .cardbody .row{margin-top:auto;padding-top:12px}.catalogue-grid .cardbody p{font-size:12px;white-space:pre-line}.load-more{text-align:center;padding:30px 0}.option-group{border:1px solid var(--line);padding:15px;margin:20px 0}.option-group legend{font-size:13px;font-weight:700}.option-choice{display:flex;align-items:center;gap:12px;font-size:13px;padding:6px 0}.option-choice input{width:18px;height:18px;margin:0;flex-shrink:0}.product-photo-missing{height:235px;display:flex;align-items:center;justify-content:center;background:#eee3d2;color:var(--muted);font-size:13px}.product-photo-missing[hidden]{display:none}.catalogue-grid .card img{object-fit:contain;background:#f2ecdf}.catalogue-grid .cardbody h3{font-size:21px;overflow-wrap:anywhere}.category-chips button{font-size:12px}#productform fieldset{border:1px solid var(--line);padding:14px;margin-top:18px}.catalogue-grid .row{flex-wrap:wrap}.menu-search input{min-height:46px}@media(max-width:640px){.category-chips button{font-size:11px}.catalogue-grid .cardbody h3{font-size:23px}.catalogue-grid .cardbody p{font-size:13px}.catalogue-grid .card img{aspect-ratio:4/3;object-fit:contain}}

.menu-pagehead{padding-top:26px}.menu-pagehead h1{margin:12px 0 18px;font-size:clamp(32px,3.5vw,46px)}.menu-pagehead .menu-toolbar{padding-bottom:12px}.menu-pagehead .menu-search{margin:16px 0}.menu-pagehead .chips{margin:18px 0}.menu-pagehead .category-chips button{padding:8px 13px;min-height:38px}.menu-pagehead+.section{padding-bottom:45px}.menu-pagehead .menu-toolbar p{font-size:12px}@media(max-width:640px){.menu-pagehead{padding-top:24px}.menu-pagehead .menu-toolbar{gap:12px}.menu-pagehead .menu-search{max-width:none}.menu-pagehead .category-chips{grid-template-columns:repeat(3,minmax(0,1fr))}.menu-pagehead .category-chips button{font-size:10px;padding:8px 4px}}

/* Navigation lisible et cohérente sur toutes les pages */
.nav{display:grid;grid-template-columns:auto minmax(0,1fr) auto;max-width:1440px;margin:auto;padding:12px 4%;gap:22px;min-height:112px}.nav .official-logo{width:110px;height:86px}.navlinks{display:flex;justify-content:center;align-items:center;gap:6px;min-width:0;width:auto;order:initial}.navlinks a{font-size:15px;font-weight:500;line-height:1.35;white-space:nowrap;padding:12px 13px;border-radius:4px;transition:background .15s}.navlinks a:hover{background:#f4ca4538;color:var(--brown)}.navlinks a.nav-active{background:var(--yellow);color:var(--brown);font-weight:700;box-shadow:inset 0 -3px 0 #b6762e}.nav-tools{display:flex;gap:9px;align-items:center;min-width:0}.nav-tools .btn{font-size:13px;padding:12px 16px;white-space:nowrap}.profile-button{background:transparent;border:1px solid #cbbba4}.menu-toggle{display:none}.catering-intro{display:flex;align-items:center;justify-content:space-between;gap:30px;padding-top:40px;padding-bottom:28px}.catering-intro>div{max-width:760px}.catering-intro h1,.contact-intro h1,.splitform h1{font:500 clamp(34px,4vw,52px)/1.15 'Playfair Display';margin:16px 0;letter-spacing:-1px}.catering-intro .btn{white-space:nowrap}.catering-products{padding-top:10px}.catering-products .heading h2{font-size:31px}.quote-section{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:35px;scroll-margin-top:20px}.catering-selected{border:2px solid #be8c24}.selected-product{background:var(--brown);color:var(--cream)}.text-button{background:transparent;color:var(--brown);padding:12px 8px;text-decoration:underline;text-underline-offset:4px;font-size:12px}.cardbody .actions{margin:18px 0 0;gap:6px}.quote-selection{padding:0 0 20px;border-bottom:1px solid var(--line)}.quote-item{display:grid;grid-template-columns:minmax(0,1fr) 85px auto;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:8px 0;font-size:12px}.quote-item input{padding:9px}.profile-summary{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px;background:#f8efdc;border:1px solid var(--line);border-radius:5px;margin:14px 0 25px}.profile-summary strong{display:block;font-size:15px;margin-top:6px}.profile-summary p{font-size:12px;margin:8px 0 0;overflow-wrap:anywhere}.profile-summary .eyebrow{font-size:9px}.profile-summary .btn{font-size:11px;white-space:normal;flex-shrink:0;max-width:160px}.profile-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:45px;padding-top:15px;scroll-margin-top:20px}.profile-layout .notice{font-size:12px}.profile-next{padding-top:10px}.contact-intro{padding-bottom:25px}.request-form fieldset{min-width:0}.request-form .wide{grid-column:1/-1}.card img,.catalogue-grid .card img,.category-preview img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center 60%;background:var(--apricot)}.hero-carousel .heroimage img{object-fit:cover;object-position:center center;background:none}.page-product-photo{aspect-ratio:4/3;height:auto!important;object-fit:cover!important;object-position:center center}.edit-photo-preview{object-fit:contain}.card:has(.product-photo-missing:not([hidden])) .product-photo-missing{aspect-ratio:4/3;height:auto}.btn:disabled{opacity:.55;cursor:default}.profile-next .actions{margin-bottom:0}
@media(min-width:701px) and (max-width:1120px){.nav{grid-template-columns:auto minmax(0,1fr) auto;gap:12px;padding:10px 4%;min-height:100px}.nav .official-logo{width:95px;height:76px}.navlinks{grid-column:1/-1;grid-row:2;order:initial;justify-content:center;flex-wrap:wrap;width:100%;gap:7px}.navlinks a{font-size:15px;padding:10px 16px}.nav-tools{grid-column:3}.profile-layout,.quote-section{gap:25px}.profile-summary{flex-wrap:wrap}}
@media(min-width:1600px){.nav{padding-left:40px;padding-right:40px}}
@media(max-width:700px){.nav{grid-template-columns:minmax(0,1fr) auto auto;gap:9px;padding:8px 4%;min-height:88px}.nav .official-logo{width:76px;height:68px}.menu-toggle{display:flex;gap:5px;padding:10px 9px}.nav-tools{gap:6px}.nav-tools .btn{padding:10px;font-size:11px;min-height:40px}.navlinks{display:none;position:absolute;top:100%;left:0;width:100%;grid-column:1/-1;grid-row:auto;padding:12px 4% 18px;gap:8px;background:var(--cream)}.navlinks.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.navlinks a{font-size:15px;padding:13px 10px;border-bottom:0;white-space:normal}}
@media(max-width:640px){.catering-intro{display:block;padding-top:28px}.catering-intro>div{max-width:none}.catering-intro p{font-size:13px}.catering-intro .btn{margin-top:12px}.catering-products .heading{flex-wrap:wrap}.catering-products .heading h2{font-size:28px}.profile-layout,.quote-section{grid-template-columns:minmax(0,1fr);gap:12px}.quote-section .panel{padding:18px 14px}.profile-summary{align-items:stretch;flex-direction:column;padding:15px}.profile-summary .btn{max-width:none;text-align:center}.quote-item{grid-template-columns:minmax(0,1fr) 65px;gap:9px}.quote-item>.text-button{grid-column:1/-1;justify-self:start;padding:4px 0}.profile-layout{padding-top:0}.profile-layout h2{font-size:31px}.profile-next h2{font-size:29px}.profile-next .actions{display:grid;grid-template-columns:minmax(0,1fr)}.profile-next .actions .btn{text-align:center}.card img,.catalogue-grid .card img{object-fit:cover}.request-form .wide{grid-column:auto}}
@media(max-width:350px){.nav{gap:5px}.nav .official-logo{width:62px;height:62px}.nav-tools .btn{padding:9px 8px;font-size:10px}.menu-toggle{padding:9px 7px;font-size:10px}}
@media(min-width:1121px){.navlinks{justify-content:space-evenly;gap:4px}.navlinks a{font-size:16px;padding:12px 11px}}

/* Les étapes d’accueil sont de véritables commandes, visibles et accessibles. */
.journey-steps{align-items:stretch}.journey-step{display:flex;flex-direction:column;align-items:flex-start;gap:13px;padding:25px;text-align:left;background:#fffaf0;border:1px solid #ddceb7;border-radius:5px;color:var(--brown);min-width:0;transition:background .15s,border-color .15s}.journey-step:hover{background:#f9edce;border-color:#b77c2b}.journey-step:focus-visible{outline:3px solid #b77c2b;outline-offset:4px}.journey-step strong{display:block;line-height:1}.step-title{display:block;font-size:18px;font-weight:700;line-height:1.4}.step-copy{display:block;font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:7px}.step-action{display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--yellow);padding:12px 15px;min-height:44px;border-radius:3px;margin-top:auto;font-size:13px;font-weight:700;width:100%}.step-action span{font-size:18px}.service-options{display:grid;gap:12px;margin-top:22px}.service-option{display:grid;gap:8px;text-align:left;background:#fcf7ed;color:var(--brown);border:1px solid var(--line);padding:18px;border-radius:4px}.service-option strong{font-size:18px}.service-option>span{font-size:12px;line-height:1.6}.service-option .service-option-action{font-weight:700;color:#795019}.service-option.service-selected{border:2px solid #bd8c27;background:#fff0bc}.service-option:focus-visible{outline:3px solid var(--apricot);outline-offset:3px}.service-option:hover{background:#fff0bc}@media(max-width:640px){.journey-steps{gap:16px}.journey-step{padding:23px;gap:12px}.step-title{font-size:19px}.step-copy{font-size:13px}.step-action{font-size:13px}.service-option{padding:16px}}

/* Persistent language and customer help controls, independent of the mobile menu. */
.language-bar{position:sticky;top:0;z-index:90;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:7px max(4%,calc((100% - 1400px)/2));background:#f5e7cd;border-bottom:1px solid #d8c3a0;color:var(--brown)}.language-icon{font-size:22px}.language-bar [role=group]{display:flex;gap:5px}.language-bar button{background:transparent;border:1px solid transparent;border-radius:3px;padding:8px 14px;min-height:44px;font-size:14px;color:var(--brown)}.language-bar button.language-active{background:var(--yellow);border-color:#a47320;font-weight:700}.language-bar button:focus-visible,.help-launcher:focus-visible,.customer-help button:focus-visible{outline:3px solid #8b4b1c;outline-offset:3px}.help-launcher{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));right:20px;z-index:120;display:flex;align-items:center;gap:10px;background:var(--yellow);color:var(--brown);border:1px solid #956019;border-radius:50px;padding:14px 20px;min-height:50px;font-weight:700;font-size:14px;box-shadow:0 4px 18px #3c241532}.help-launcher>span:first-child{font-size:23px}.customer-help{position:fixed;bottom:86px;right:20px;z-index:119;width:min(410px,calc(100vw - 24px));max-height:calc(100dvh - 170px);overflow:auto;overscroll-behavior:contain;background:#fffaf0;color:var(--brown);border:1px solid #d7be96;border-radius:12px;padding:22px;box-shadow:0 8px 40px #3c241540}.customer-help[hidden]{display:none}.help-heading{display:flex;align-items:flex-start;gap:10px}.help-heading h2{font-size:26px;line-height:1.2;margin:8px 0 12px}.help-close{margin-left:auto;flex-shrink:0;min-width:44px;min-height:44px;background:#f2e3c9;border:0;border-radius:50%;font-size:24px;color:var(--brown)}.help-disclosure{font-size:12px;line-height:1.5;background:#f4e5c9;padding:10px;border-radius:4px}.help-topics{display:flex;flex-wrap:wrap;gap:6px;margin:15px 0}.help-topics button,.help-links button{font-size:12px;min-height:38px;border:1px solid #d0ba95;padding:8px 10px;border-radius:4px;color:var(--brown);background:#fffaf0}.help-topics button:hover,.help-links button:hover{background:var(--yellow)}.help-answer{font-size:14px;line-height:1.65;border-left:3px solid var(--yellow);padding:12px;background:#f8edda;white-space:pre-line;overflow-wrap:anywhere}.help-links{display:flex;gap:8px;margin:12px 0}.help-form label{font-size:13px}.help-form>div{display:flex;gap:6px;align-items:stretch}.help-form input{min-width:0;width:100%;font-size:14px;padding:10px}.help-form button{padding:10px;border:0;background:var(--brown);color:#fffaf0;border-radius:3px;font-size:12px}.help-contact{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px;font-size:12px;text-decoration:underline}.editor-language-note{margin-bottom:18px}.footer{padding-bottom:95px}dialog{z-index:150}.language-bar + #app .nav{top:0}@media(max-width:640px){.language-bar{padding:5px 12px;justify-content:center;gap:8px}.language-bar button{padding:7px 10px;font-size:13px}.help-launcher{right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:11px 15px;font-size:12px}.customer-help{right:12px;bottom:76px;padding:17px;max-height:calc(100dvh - 150px)}.help-heading h2{font-size:24px}.help-contact{font-size:12px}.nav-tools .btn{white-space:normal}.navlinks a{overflow-wrap:anywhere}}
.modal-language .language-bar{position:static;padding:3px 0;justify-content:center;margin:15px 0}.translation-fields{margin:18px 0;padding:16px;border:1px solid #d8c3a0}.translation-fields legend{font-size:13px;max-width:100%;overflow-wrap:anywhere}.translation-fields textarea{min-height:70px}.customer-help [hidden]{display:none}
@media(max-width:640px){dialog{padding:18px;width:94%;max-height:90dvh;overflow:auto}.modal-language .language-icon{display:none}.modal-language .language-bar{gap:0}.modal-language .language-bar button{padding:7px 8px;font-size:12px}.modal-language .language-bar [role=group]{gap:3px}}
/* Compact editorial headline and location blocks. */
.hero h1{font-size:clamp(36px,3.8vw,58px);line-height:1.1;letter-spacing:-.035em;max-width:650px}.herotext .eyebrow{font-size:10px;letter-spacing:.12em;line-height:1.7}.location-section{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;background:#f4e8d1}.location-copy h2{font-size:clamp(27px,3vw,40px);margin:12px 0}.location-copy p{font-size:14px;line-height:1.7}.restaurant-map-preview{min-height:270px;padding:24px;background:#faf6ec;border:1px solid #d9c7aa;border-radius:6px;display:flex;flex-direction:column;justify-content:center;gap:14px}.restaurant-map-preview>iframe{width:100%;height:270px;border:0}.restaurant-map-preview strong{font-size:22px}.restaurant-map-preview small{font-size:11px;line-height:1.6;color:var(--muted)}.location-map{width:100%;height:300px;border:1px solid #d9c7aa;border-radius:4px;margin:14px 0}.google-reputation{display:flex;flex-direction:column;align-items:flex-start;gap:6px;border-top:1px solid #d7c4a3;margin-top:24px;padding-top:16px;font-size:13px}.google-reputation span{font-size:12px;color:var(--muted)}.google-reputation a{text-decoration:underline;min-height:34px;display:flex;align-items:center}.delivery-summary{padding:20px;border:1px solid #d7bc8b;background:#fff4d9;margin:20px 0;overflow-wrap:anywhere}.delivery-summary h3{margin-top:0}.locate-footer{display:block;margin-top:12px;text-decoration:underline;min-height:44px}.address-locate{display:block;text-align:left;min-height:44px;text-decoration:underline}.location-section .actions .btn{min-height:44px}.help-launcher{bottom:max(14px,env(safe-area-inset-bottom))}#delivery-address-form>.btn{margin:8px 0;white-space:normal}.location-section a{overflow-wrap:anywhere}#delivery-position-status{font-size:13px;line-height:1.6}
@media(max-width:640px){.hero{padding:30px 20px;gap:28px}.herotext h1{font-size:36px;line-height:1.12;margin:17px 0 20px}.herotext>p{font-size:14px;line-height:1.75}.hero .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hero .actions .btn{text-align:center;padding:13px 9px;font-size:12px;min-height:48px;display:flex;align-items:center;justify-content:center;white-space:normal}.herotext .eyebrow{font-size:9px;letter-spacing:.08em}.location-section{grid-template-columns:minmax(0,1fr);padding:28px 20px;gap:20px}.location-section .actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.location-section .actions .btn{padding:12px 8px;text-align:center;font-size:12px}.restaurant-map-preview{padding:18px;min-height:220px}.restaurant-map-preview strong{font-size:20px}.location-map{height:240px}.delivery-summary{padding:16px}.menu-pagehead,.section{overflow-wrap:anywhere}button,a.btn{touch-action:manipulation}.customer-help{bottom:76px}.footer{padding-bottom:100px}.heroimage{min-height:0}}
@media(min-width:641px) and (max-width:900px){.location-section{gap:24px}.location-copy h2{font-size:30px}}
/* Category navigation adapts to the available width, without horizontal scrolling. */
.specialty-nav{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:14px;padding:22px max(20px,4%);background:#f5e8d2;border-block:1px solid #e0c9a7}.specialty-button{flex:0 1 170px;min-width:0;min-height:48px;padding:13px 20px;border:1px solid #cfb58e;border-radius:5px;background:var(--cream);color:var(--brown);font-size:17px;font-weight:600;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere;letter-spacing:0}.specialty-button:hover{background:#fae7ac;border-color:#ab7725}.specialty-button.specialty-active{background:var(--yellow);color:var(--brown);border-color:#a57520;font-weight:700;box-shadow:inset 0 -2px 0 #aa7724}.specialty-button:focus-visible{outline:3px solid #93551d;outline-offset:3px}.category-chips button.selected{background:var(--yellow);color:var(--brown);border-color:#a57520;font-weight:700}.category-chips button{min-height:44px;font-size:14px;overflow-wrap:anywhere}img,iframe{max-width:100%}.nav,.navlinks,.nav-tools,.herotext,.hero-carousel,.card,.panel,.workspace,.pagehead,.section{min-width:0}input,textarea,select{max-width:100%}.location-section,.profile-layout,.quote-section{min-width:0}.cardbody{overflow-wrap:anywhere}
@media(max-width:640px){.specialty-nav{gap:10px;padding:18px 20px}.specialty-button{flex-basis:calc(50% - 5px);max-width:calc(50% - 5px);min-height:48px;font-size:16px;padding:12px 8px}.specialty-button:last-child{flex-basis:calc(50% - 5px)}.category-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.category-chips button{font-size:14px;padding:11px 7px;min-height:46px}.menu-toolbar{display:flex;flex-direction:column;align-items:stretch;gap:12px}.menu-toolbar label{width:100%;max-width:none}.menu-toolbar select{width:100%;min-width:0}.nav-tools{max-width:100%;min-width:0}.nav-tools .btn{overflow-wrap:anywhere}.formgrid{min-width:0}.formgrid>*{min-width:0}input,textarea,select{font-size:16px}.hero .actions .btn,.location-section .actions .btn{min-width:0;overflow-wrap:anywhere}.specialty-nav~.section{min-width:0}}
@media(min-width:641px) and (max-width:900px){.specialty-nav{gap:12px;padding:20px}.specialty-button{flex-basis:150px;font-size:16px}}
/* Compact footer, with visible contact actions and room reserved beside the help button. */
.footer{padding-top:22px;padding-bottom:22px;padding-right:max(245px,6%);gap:20px;align-items:start;line-height:1.6}.footer .official-logo{width:82px;height:70px}.footer-brand p{margin:8px 0}.footer .contact-link{display:inline-block;font-size:13px;font-weight:700;color:#3b241a;text-decoration:underline;text-underline-offset:4px;min-height:30px}.footer .locate-footer{display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;min-height:40px;margin-top:10px;border:1px solid #3b241a;border-radius:4px;background:#3b241a;color:#fff7e7;font-weight:700;font-size:13px;text-decoration:none}.contact-message{display:grid;grid-template-columns:1fr 1.3fr;gap:35px;scroll-margin-top:80px}.contact-message .panel{margin:0}.contact-message textarea{min-height:150px}.contact-message h2{font-size:34px}.contact-message label{display:block;margin-bottom:15px}#email-draft-result .btn{margin-top:10px}#delivery-map-status:empty{display:none}#delivery-map-status{font-weight:600;font-size:13px;line-height:1.6}#delivery-address-form .text-button{display:inline-block;margin:8px 0;text-decoration:underline}#delivery-position-status{overflow-wrap:anywhere}.footer .contact-link:hover{color:#80501c}
@media(min-width:641px) and (max-width:1000px){.footer{padding-right:230px}.footer-brand{gap:10px}.footer .contact-link{font-size:12px}}
@media(max-width:640px){.footer{padding:20px 20px 68px;gap:12px}.footer-brand{padding-bottom:10px}.footer .official-logo{width:74px;height:62px}.footer .contact-link{min-height:40px;display:inline-flex;align-items:center;font-size:14px}.footer .locate-footer{min-height:44px;padding:10px 14px;font-size:14px;margin-top:6px}.footer>div:last-child{padding-bottom:4px}.contact-message{grid-template-columns:minmax(0,1fr);gap:15px;scroll-margin-top:70px}.contact-message h2{font-size:29px}.contact-message .panel{padding:18px}.contact-message .btn{width:100%;text-align:center}#modal h2{font-size:clamp(25px,6vw,36px);line-height:1.15}.footer .footer-brand p{max-width:none}}
.footer .locate-footer{display:flex;width:max-content;max-width:100%}

.menu-formulas {
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(0,1fr);
  gap:8px;
  max-width:580px;
}
.menu-formulas button {
  display:grid;
  place-content:center;
  gap:2px;
  min-height:54px;
  padding:6px 4px;
  border:1px solid #c6ac88;
  border-radius:6px;
  background:var(--cream);
  text-align:center;
  line-height:1.2;
}
.menu-formulas button[aria-pressed="true"] { background:var(--yellow); border-color:#8f641f; }
.menu-formulas span { font-size:.75rem; }
#menu-results .catalogue-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
#menu-results .card img { aspect-ratio:16/10; }
#menu-results .card img[hidden] { display:none; }

@media (max-width:1024px) {
  #menu-results .catalogue-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:700px) {
  #menu-results .catalogue-grid { grid-template-columns:minmax(0,1fr); gap:10px; }
  #menu-results .card {
    display:grid;
    grid-template-columns:minmax(72px,26%) minmax(0,1fr);
    align-items:start;
    gap:10px;
    padding:10px;
  }
  #menu-results .card img { aspect-ratio:1; border-radius:6px; }
  #menu-results .product-photo-missing { min-height:0; aspect-ratio:1; font-size:.65rem; padding:3px; }
  #menu-results .cardbody { padding:0; min-width:0; align-self:stretch; }
  #menu-results .cardbody .tag { display:none; }
  #menu-results .cardbody h3 { font-size:1rem; line-height:1.25; margin:0 0 4px; }
  #menu-results .cardbody p { margin:0; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
  #menu-results .cardbody .row { padding-top:4px; gap:4px 6px; }
  #menu-results .cardbody button { min-height:44px; }
}

.reception-choice { border:0; margin:0 0 10px; padding:0; min-inline-size:0; }
.reception-choice legend { font-weight:700; font-size:.88rem; padding:0; margin-bottom:6px; }
.reception-choice .menu-formulas button { min-height:44px; font-size:.85rem; font-weight:700; }
.menu-service-details { margin:0 0 10px; font-size:.88rem; }
.menu-service-details summary { cursor:pointer; width:fit-content; padding:3px 0; }
.cart-payment-action button:disabled { opacity:.55; cursor:default; }

/* Keep carousel hit areas usable on touch screens without widening the page.
   The indicators remain visually small; their buttons provide the hit area. */
.carousel-bottom { flex-wrap:wrap; }
.carousel-dots { min-width:0; max-width:100%; }
.carousel-dots button { min-width:44px; min-height:44px; display:grid; place-items:center; }
.carousel-arrows button { width:44px; height:44px; min-width:44px; min-height:44px; }
.carousel-play { min-height:44px; padding-inline:8px; white-space:normal; }

/* Discreet creator credit, separate from the restaurant's contact details. */
.footer .site-credit{flex:1 0 100%;grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:4px 18px;margin-top:2px;padding-top:12px;border-top:1px solid #d9c8ad;color:#685749;font-size:12px;line-height:1.6;min-width:0}
.footer .site-credit a{display:inline-flex;align-items:center;min-height:32px;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.footer .site-credit a:hover{color:#3b241a}
@media(max-width:640px){.footer .site-credit{flex-direction:column;align-items:flex-start;gap:0}.footer .site-credit a{min-height:44px}}

/* Approved compact category navigation: mobile, tablet, desktop. */
.specialty-nav{gap:8px;padding:18px max(20px,4%);flex-wrap:nowrap}
.specialty-button{flex:1 1 0;max-width:160px;padding:12px 5px;font-size:16px;white-space:nowrap;overflow-wrap:normal}
@media(max-width:1100px) and (min-width:641px){.specialty-nav{gap:7px;padding:18px 16px}.specialty-button{font-size:14px;padding:12px 3px;flex:1 1 0}}
@media(max-width:640px){.specialty-nav{flex-wrap:wrap;gap:8px;padding:18px 16px}.specialty-button,.specialty-button:last-child{flex:0 1 calc((100% - 16px)/3);max-width:calc((100% - 16px)/3);font-size:14px;padding:12px 3px;min-height:48px}}

/* management presentation rules */
/* iPad native date/time inputs must fit their grid tracks. */
*,*:before,*:after{box-sizing:border-box}.formgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.formgrid>label,.formgrid input,.formgrid select,.request-form{min-width:0;max-width:100%}input,select,textarea{max-width:100%;min-width:0;font:inherit}input[type=date],input[type=time],input[type=number]{display:block;width:100%;min-inline-size:0;max-inline-size:100%;min-height:48px;background:#fffcf6;border:1px solid #a99173;color:#43281d;padding:12px}input::-webkit-date-and-time-value{text-align:left}label{line-height:1.5}input:focus,select:focus,textarea:focus{outline:3px solid #e9b443;outline-offset:2px}.nav{background:#f3e2c5;border-bottom:1px solid #b99b74}.public-return{padding:12px 4%;background:#faf3e6}.validation-feedback{padding:14px;border-left:4px solid #a53a22;background:#fff0d9;color:#71301d}
body.management-mode{overflow:hidden}.management-mode #app{height:calc(100dvh - var(--management-top,110px));overflow:hidden}.management-layout{height:100%;display:grid;grid-template-columns:230px minmax(0,1fr);overflow:hidden}.management-sidebar{height:100%;overflow-y:auto;overscroll-behavior:contain;background:#43281d;color:#fff6e5;padding:20px 14px;scrollbar-gutter:stable}.management-brand{display:flex;align-items:center;gap:12px;padding-bottom:16px;border-bottom:1px solid #ffffff30}.management-brand img{width:62px;height:62px;object-fit:contain;background:#efbb79;border-radius:50%}.management-brand strong{font-size:13px}.management-group{margin-top:20px}.management-group>p{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#e8c48f;margin:0 8px 7px}.management-sidebar button{display:block;width:100%;padding:12px 10px;text-align:left;border:0;background:transparent;color:#fff6e5;border-radius:5px;font-size:13px;line-height:1.45;min-height:44px}.management-sidebar button.active,.management-sidebar button:hover{background:#f6cd46;color:#43281d}.management-disclosure{font-size:11px;line-height:1.5;padding:20px 8px}.management-workspace{height:100%;overflow-y:auto;min-width:0;overscroll-behavior:contain;scrollbar-gutter:stable;background:#faf7ef}.management-toolbar{position:sticky;top:0;z-index:40;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 28px;background:#f2e2c8;border-bottom:1px solid #d1bb99}.management-content{padding:28px;max-width:1480px;margin:auto}.management-content h1{font-family:Arial,sans-serif;font-size:29px;line-height:1.25;margin:10px 0 20px}.management-content h2{font-family:Arial,sans-serif;font-size:21px;line-height:1.4}.management-notice{background:#f5e9cf;border:1px solid #ddcba8;padding:12px 16px;font-size:12px;line-height:1.6;margin-bottom:22px}.management-table{overflow:auto;max-height:65dvh;overscroll-behavior:contain}.management-table table{width:100%;border-collapse:collapse}.management-table th{position:sticky;top:0;z-index:1;background:#f2e2c8;text-align:left}.management-table td,.management-table th{padding:14px 10px;vertical-align:top;border-bottom:1px solid #ddcfb9;font-size:13px}.management-table p{font-size:12px}.management-table button{min-height:44px}.management-menu{display:none}.integration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.integration-grid .panel{padding:20px}.integration-grid h2{font-size:20px}.promotion-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:22px;align-items:start}.promotion-layout .panel{min-width:0}.promotion-layout input:not([type=checkbox]),.promotion-layout textarea,.promotion-layout select{display:block;width:100%;margin-top:7px}.promotion-layout label{display:block;margin-bottom:17px}.promotion-layout textarea{min-height:130px}.promotion-preview{max-width:430px;margin:auto;background:#efbb79;overflow:hidden}.promotion-preview svg{width:100%;height:auto;display:block}.channel-choices{display:flex;gap:12px;flex-wrap:wrap}.channel-choices label{display:flex;gap:7px;align-items:center;margin:0;padding:7px}.management-content .chips button.selected{background:#f6cd46;color:#43281d;border-color:#b18425}#promotion-print{display:none}.management-content .listrow{min-width:0}.management-content .listrow>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:1100px){.management-layout{grid-template-columns:205px minmax(0,1fr)}.management-content{padding:22px}.integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.promotion-layout{grid-template-columns:minmax(0,1fr)}.formgrid{gap:24px}.management-content .listrow{grid-template-columns:42px minmax(0,1fr) 75px;gap:10px}.management-content .listrow>.status{grid-column:2}.management-content .listrow>button{grid-column:3}}
@media(max-width:700px){.formgrid{grid-template-columns:minmax(0,1fr)}.formgrid .wide{grid-column:auto}.management-layout{display:block;position:relative}.management-sidebar{display:none;position:absolute;inset:0 auto 0 0;width:min(280px,85%);z-index:80;box-shadow:5px 0 25px #0004}.management-layout.nav-open .management-sidebar{display:block}.management-menu{display:block}.management-toolbar{padding:10px;gap:6px}.management-toolbar .btn,.management-toolbar .text-button{font-size:12px;padding:10px}.management-content{padding:18px 14px}.management-content h1{font-size:25px}.integration-grid{grid-template-columns:minmax(0,1fr)}.management-table td,.management-table th{padding:10px 7px;font-size:11px}.management-content .panel{padding:16px}.promotion-layout{gap:14px}.promotion-layout .formgrid{gap:4px}.management-mode .help-launcher{bottom:12px}.management-content{padding-bottom:100px}}
@media print{body>*{display:none!important}body #promotion-print{display:block!important;width:100%}#promotion-print svg{width:100%;height:auto;max-height:95vh}body{overflow:visible!important}}

/* Separate the pale language strip from the full-width brand navigation. */
.language-bar,.modal-language .language-bar{background:var(--cream);border-bottom-color:#e8e1d5}
.nav{width:100%;max-width:none;margin:0;padding-inline:max(4%,calc((100% - 1324px)/2));background:#f3e2c5}
.prototype,.language-bar{width:100%;max-width:none;margin-inline:0}
@media(max-width:640px){.nav{padding-inline:4%}.navlinks.open{background:#f3e2c5}}

/* Native iOS date controls can paint wider than their grid track. Keep the
   critical pairs on separate rows rather than relying on intrinsic shrinking. */
.request-form .formgrid,.promotion-layout .formgrid{grid-template-columns:minmax(0,1fr);gap:22px}
.formgrid>label{display:flex;flex-direction:column;align-items:stretch;min-inline-size:0;width:100%;margin:0}
.formgrid .wide{grid-column:1/-1}
.formgrid input,.formgrid select,.formgrid textarea{box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-inline-size:0;max-inline-size:100%;align-self:stretch}
.formgrid input[type=date],.formgrid input[type=time]{-webkit-appearance:none;appearance:none;min-height:48px;font-size:16px}
@media(max-width:1024px){.formgrid{grid-template-columns:minmax(0,1fr);row-gap:22px}}
@supports(-webkit-touch-callout:none){.formgrid{grid-template-columns:minmax(0,1fr);row-gap:22px}.formgrid input[type=date]::-webkit-date-and-time-value,.formgrid input[type=time]::-webkit-date-and-time-value{min-width:0;text-align:left}}

.photo-live-preview{display:block;width:100%;max-height:150px;object-fit:contain;background:#f2e9d9;margin:12px 0;border:1px solid #d4c2a5}.photo-live-preview[hidden]{display:none}.photo-feedback{position:sticky;top:0;z-index:2;padding:12px;margin:10px 0;background:#f8eccb;border:1px solid #c9a96c;color:#43281d;font-size:14px;line-height:1.5}.photo-feedback.photo-error{background:#fff0e5;border-color:#b34c2a;color:#7b2a13}#modal form[data-saving=yes]{cursor:progress}#modal button:disabled{opacity:.6;cursor:wait}
.customer-raw{white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;font-size:12px;padding:12px;background:#f7f2ea}#client-directory-results td{overflow-wrap:anywhere;max-width:260px}#modalbody dd{margin-left:0;margin-bottom:16px;overflow-wrap:anywhere}#modalbody dt{font-weight:700}
/* Square requires room for readable variations and catalogue comparison. */
.management-content .square-panel { grid-column: 1 / -1; min-width: 0; }
.square-panel .actions { display:flex; flex-wrap:wrap; gap:12px; }
.square-panel table td { overflow-wrap:anywhere; }
.square-panel input { max-width:100%; box-sizing:border-box; }
@media(max-width:600px){ .square-panel .actions>* { width:100%; text-align:center; box-sizing:border-box; } }
.operational-card{font:inherit;text-align:left;cursor:pointer;color:var(--brown);border:1px solid #d8c9b3;background:#fffdf9;display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0}.operational-card span{font-size:14px;overflow-wrap:anywhere}.operational-card b{font-size:30px}.operational-card strong{font-size:13px;color:#6c451d}.operational-card:hover,.operational-card:focus-visible{background:#fff0c6;border-color:#b98b24;outline:2px solid #e7b63f;outline-offset:2px}

/* Dashboard shortcuts: equal tracks, consistent touch targets and visual weight. */
.dashboard-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:12px;margin-top:20px}
.management-content .dashboard-shortcuts>.btn,.management-content .dashboard-status-actions>.btn{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:100%;min-width:0;min-height:72px;margin:0;padding:15px 16px;border:1px solid #d7b868;border-radius:8px;background:#fff4d1;color:#42291d;font-size:13px;font-weight:600;line-height:1.45;text-align:left;white-space:normal;overflow-wrap:normal;box-shadow:0 1px 2px #42291d0a;transition:background .15s,border-color .15s,box-shadow .15s}
.management-content .dashboard-shortcuts>.btn::after,.management-content .dashboard-status-actions>.btn::after{content:'→';flex:0 0 auto;font-size:18px;font-weight:400;color:#8a5c20}
.management-content .dashboard-shortcuts>.btn:hover,.management-content .dashboard-status-actions>.btn:hover{background:#ffdf7a;border-color:#b67822;box-shadow:0 2px 5px #42291d14}
.management-content .dashboard-shortcuts>.btn:focus-visible,.management-content .dashboard-status-actions>.btn:focus-visible{outline:3px solid #75451f;outline-offset:3px;background:#ffdf7a}
.dashboard-status-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px}
@media(max-width:1150px){.dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dashboard-shortcuts,.dashboard-status-actions{grid-template-columns:minmax(0,1fr)}.management-content .dashboard-shortcuts>.btn,.management-content .dashboard-status-actions>.btn{min-height:60px;padding:15px 16px}}

/* Public header stays accessible under the persistent search/language bar. */
body:not(.management-mode) #app>.nav{position:sticky;top:calc(var(--prototype-height,34px) + var(--public-language-height,64px));z-index:80;max-width:none;background:#f3e2c5;box-shadow:0 2px 6px #42281d12}
html{scroll-padding-top:calc(var(--public-header-height,176px) + 16px)}

/* Persistent upper bands share the same header stack on every page. */
body>.prototype{position:sticky;top:0;z-index:100}
body>.language-bar{top:var(--prototype-height,34px)}

/* Home return belongs to the persistent utility bar, beside search. */
body>.language-bar.with-global-search{justify-content:flex-start}
body>.language-bar.with-global-search>[role=group]{margin-left:auto}
.language-bar .public-home-return{flex:0 0 auto;min-height:44px;padding:9px 12px;border:1px solid #cbb798;border-radius:6px;background:#fffaf0;color:#43281d;font-size:13px;font-weight:600;white-space:nowrap;text-decoration:none}
.language-bar .public-home-return:hover{background:#ffe29a;border-color:#ad7b2e}
.language-bar .public-home-return[hidden]{display:none}
@media(max-width:600px){body>.language-bar.with-global-search{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px}.language-bar.with-global-search .global-search{width:100%;grid-column:2;min-width:0}.language-bar.with-global-search:has(.public-home-return[hidden]) .global-search{grid-column:1/-1}.language-bar.with-global-search>[role=group]{grid-column:1/-1;justify-self:end;margin-left:0}.language-bar .public-home-return{font-size:12px;padding:9px 8px}}

/* Full menu categories stay compact below the main header when reached. */
body:not(.management-mode) .menu-category-bar{position:sticky;top:var(--public-header-height,207px);z-index:70;display:flex;flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#bf9a57 #f6eddb;margin:20px 0 10px;padding:10px 4%;background:#fcf8ef;border-top:1px solid #e5d7bf;border-bottom:1px solid #dcc7a4;box-shadow:0 2px 4px #42281d0a}
body:not(.management-mode) .menu-category-bar button{flex:0 0 auto;min-height:44px;white-space:nowrap;font-size:13px;padding:10px 14px;border-radius:5px}
body:not(.management-mode) .menu-category-bar::-webkit-scrollbar{height:6px}
body:not(.management-mode) .menu-category-bar::-webkit-scrollbar-thumb{background:#bf9a57;border-radius:6px}
@media(max-width:600px){body:not(.management-mode) .menu-category-bar{padding:8px 14px;gap:7px}body:not(.management-mode) .menu-category-bar button{font-size:13px;padding:9px 12px}}
/* Shared restaurant-story editor, v57 */
.story-editor fieldset{border:0;padding:0;margin-top:20px;min-width:0}.story-editor legend{font-weight:700}.story-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin:24px 0}.story-controls label{min-width:0}.story-controls input[type=color]{width:100%;height:44px;padding:4px}.story-editor textarea{min-height:72px}.story-editor #story-preview .story{padding:28px;gap:28px;border-radius:6px}.shared-story h2{overflow-wrap:anywhere}.story-editor #story-preview{overflow:hidden}.story-editor #story-contrast{color:#8a3a20}.story-editor .actions{flex-wrap:wrap}@media(max-width:650px){.story-editor #story-preview .story{grid-template-columns:1fr}.story-controls{grid-template-columns:1fr 1fr}}
/* Per-text typography controls, v58 */
.story-field{margin:20px 0 32px;padding:18px;border:1px solid var(--line);border-radius:6px;background:#fdfaf4}.story-field>label{font-weight:700}.story-inline-controls{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:12px}.story-inline-controls label{font-size:12px;margin:0;min-width:0}.story-inline-controls input,.story-inline-controls select{width:100%;min-height:44px}.story-inline-controls input[type=color]{padding:4px}.story-field-preview{padding:18px;border-radius:4px;max-width:100%;min-width:0}.story-background{max-width:200px}.story-background input{height:44px;width:100%}.story-editor .story-field textarea{margin-bottom:0;width:100%}@media(max-width:900px){.story-inline-controls{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:540px){.story-field{padding:12px}.story-inline-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Clear save feedback and collapsible management groups, v61 */
.management-accordion{margin-top:10px}.management-accordion>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;padding:10px;color:#fff6e5;font-size:12px;font-weight:600;border-radius:5px}.management-accordion>summary::-webkit-details-marker{display:none}.management-accordion>summary:hover,.management-accordion>summary:focus-visible{background:#ffffff16}.management-accordion[open]>summary{color:#f6cd46}.management-chevron{font-size:18px;transition:transform .15s}.management-accordion[open] .management-chevron{transform:rotate(180deg)}.management-submenu{margin:2px 0 10px 9px;padding-left:7px;border-left:1px solid #ffffff40}.management-submenu button{font-size:12px}.story-savebar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;background:#fff8e8;border:1px solid #d6c49c;border-radius:6px;margin-bottom:12px;box-shadow:0 3px 10px #43281d12}.story-savebar span{font-size:12px;flex:1;min-width:160px}.story-savebar .btn,.story-field-save .btn{font-size:12px;min-height:44px}.story-field-save{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:14px}.story-field-save .muted{font-size:12px}.story-editor .story-savebar~form{margin-top:16px}@media(max-width:650px){.story-savebar{position:static}.story-savebar .btn{flex:1}.management-submenu button{font-size:13px}}
/* Keep contact/profile anchors and keyboard focus clear of the measured sticky header. */
#profile-client,#message-client,.contact-intro{scroll-margin-top:calc(var(--public-header-height,207px) + 16px)}
#client-profile-form{min-width:0}#client-profile-form .formgrid>*{min-width:0}
#profile-save-status{padding:12px;background:#f5e7cd;border-left:3px solid #aa7a31;line-height:1.5}
.contact-message label{display:block;margin-bottom:16px}.contact-message input,.contact-message textarea{width:100%}
.contact-message .btn,.contact-intro .btn,.profile-next .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}

#client-profile-form .profile-promotions {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  margin: 0.75rem 0;
}
#client-profile-form .profile-promotions input[type="checkbox"] {
  flex: none;
  width: 1em;
  height: 1em;
  margin: 0.25em 0 0;
  padding: 0;
}

#modal:has(.cart-review) { box-sizing:border-box; padding:16px; }
#modal:has(.cart-review) .modal-language .language-bar { margin:0 0 8px; }
.cart-review h2 { font-size:clamp(1.55rem, 4vw, 2.2rem); margin:0 0 8px; }
.cart-review p { margin:6px 0; }
.cart-review .task { display:flex; flex-wrap:wrap; gap:6px 10px; padding:7px 0; }
.cart-review .task > span { flex:1 1 9rem; }
.cart-review .actions { margin:0; gap:6px; }
.cart-review .cart-actions { margin-top:10px; }
.cart-totals { width:100%; border-collapse:collapse; font-size:0.92rem; }
.cart-totals th, .cart-totals td { padding:3px 0; }
.cart-totals th { text-align:left; font-weight:500; }
.cart-totals td { text-align:right; }
.cart-totals tfoot { border-top:1px solid var(--line); }
.cart-totals tfoot th, .cart-totals tfoot td { padding-top:6px; font-weight:700; }

.sauce-pot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.sauce-pot-card {
  display: grid;
  grid-template-rows: 1fr auto auto auto;
  row-gap: 0.55rem;
  min-width: 0;
  margin: 0;
}
@supports (grid-template-rows: subgrid) {
  .sauce-pot-card {
    grid-row: span 4;
    grid-template-rows: subgrid;
  }
}
.sauce-pot-card h2 {
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  line-height: 1.2;
  margin: 0;
}
.sauce-pot-card p, .sauce-pot-card label { margin: 0; }
.sauce-pot-card form { display: grid; gap: 0.6rem; }
.sauce-pot-card input { width: 100%; box-sizing: border-box; }
.sauce-pot-card .btn { width: 100%; min-height: 44px; }

.cart-review .cart-payment-action {
  margin-top: 0.75rem;
}
.cart-review .cart-payment-action .btn { width: 100%; }
.cart-review .cart-browse-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr));
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.cart-review .cart-payment-action .btn,
.cart-review .cart-browse-actions .btn { min-height: 44px; }

.cart-review .cart-browse-actions select {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  margin: 0;
}

.cart-totals { min-width:0; table-layout:fixed; }
.cart-totals th, .cart-totals td { overflow-wrap:anywhere; white-space:normal; }
.cart-totals th { width:48%; padding-right:8px; }
#modalbody, .cart-review, .cart-review .task > * { min-width:0; }
.cart-review { overflow-wrap:anywhere; }
.mobile-menu-category { display:none; }

@media (max-width:700px) {
  body:not(.management-mode) > .prototype,
  body:not(.management-mode) > .language-bar { position:relative; top:auto; }
  body:not(.management-mode) #app > .nav { top:0; padding:7px 3%; gap:6px; }
  body:not(.management-mode) #app > .nav .official-logo { width:46px; height:46px; }
  body:not(.management-mode) #app > .nav .nav-tools { gap:5px; }
  body:not(.management-mode) #app > .nav .btn,
  body:not(.management-mode) #app > .nav .menu-toggle { padding-inline:7px; min-height:44px; }
  body:not(.management-mode) .menu-category-bar { display:none; }
  .mobile-menu-category { display:block; margin:8px 0 12px; }
  .mobile-menu-category select { min-height:44px; font-size:16px; }
  #profile-client, #message-client, .contact-intro { scroll-margin-top:4px; }
  #modal { width:calc(100% - 16px); max-height:calc(100dvh - 24px); overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; }
  #modal:has(.cart-review) { padding:12px; }
  #modal input:not([type=checkbox]):not([type=radio]), #modal select, #modal textarea { font-size:16px; }
  .cart-review .task > span { flex:1 1 calc(100% - 6rem); }
  .cart-review .task .actions { width:100%; justify-content:flex-end; }
  .cart-review .task .smallbtn { min-height:44px; }
  body:not(.management-mode) .help-launcher { padding:8px 12px; font-size:12px; }
}
.mobile-back { display:none; }
@media (max-width:700px) {
  body:not(.management-mode) #app > .nav { min-height:60px; }
  body:not(.management-mode) #app > .nav:has(.mobile-back) { grid-template-columns:auto minmax(0,1fr) auto auto; }
  body:not(.management-mode) #app > .nav > .mobile-back { display:block; min-width:44px; }
  body:not(.management-mode) > .language-bar .public-home-return { display:none; }
  body:not(.management-mode) > .language-bar.with-global-search .global-search { grid-column:1/-1; }
}

.other-drink:has(input:disabled) { display:none; }
.cart-review .cart-line-controls select { width:4.6rem; margin:0; min-height:44px; padding:6px; }
.cart-review .cart-line-controls { align-items:center; }
.checkout-primary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:10px !important; }
.checkout-primary .btn { white-space:normal; min-width:0; min-height:44px; padding:8px; }
[data-checkout-review] details { border-top:1px solid var(--line); padding:10px 0; min-width:0; }
[data-checkout-review] summary { cursor:pointer; font-weight:700; }
@media(max-width:700px){
  #item-form select,#item-form input:not([type=radio]):not([type=checkbox]) { font-size:16px; min-height:44px; }
  #modal:has([data-checkout-review]) .modal-language { display:none; }
  #modal:has([data-checkout-review]) .close { top:8px; right:8px; }
  [data-checkout-review] h2 { padding-right:42px; }
}

/* Consistent keyboard and touch access for phone, tablet and desktop. */
#modal .close { width:44px; height:44px; min-width:44px; min-height:44px; }
summary:focus-visible { outline:3px solid #75451f; outline-offset:3px; }
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .navlinks a, .management-chevron, .dashboard-shortcuts>.btn,
  .dashboard-status-actions>.btn { transition:none; }
}

/* Management help lives in its toolbar, never over accounting or integration actions. */
body.management-mode > .help-launcher { display:none; }
.management-toolbar { flex-wrap:wrap; }
.management-help-toggle { min-height:44px; flex:0 0 auto; }
.demo-session-panel { margin-top:24px; border-top:2px solid #dcc7a4; }
.demo-session-panel > summary { cursor:pointer; min-height:44px; padding:10px 0; font-weight:700; }
.demo-session-panel[open] > summary { margin-bottom:16px; }

/* global-search presentation rules */
.language-bar.with-global-search{padding-left:14px;padding-right:4%;justify-content:space-between;gap:16px}.global-search{position:relative;width:202px;max-width:100%;flex:0 1 202px;min-width:0;color:#43281d}.global-search-field{display:flex;align-items:center;min-width:0;border:1px solid #bba98f;border-radius:6px;background:#fffdf9;box-shadow:0 1px 2px #43281d0b}.global-search-field>span{padding-left:10px;font-size:25px}.global-search-field input{border:0;background:transparent;color:#43281d;padding:9px 5px;width:100%;min-width:0;min-height:44px;font:inherit;font-size:14px;margin:0}.global-search-field:focus-within{outline:2px solid #dba719;outline-offset:2px}.language-bar .global-search-field button{flex:0 0 32px;padding:4px;min-width:32px;min-height:44px;font-size:20px}.global-search-results{position:absolute;top:calc(100% + 8px);left:0;width:min(570px,calc(100vw - 28px));max-height:min(65dvh,540px);overflow:auto;overscroll-behavior:contain;background:#fffdf9;border:1px solid #cfb58f;border-radius:8px;box-shadow:0 12px 32px #43281d35;z-index:150;padding:6px}.global-search-results[hidden]{display:none}.global-search-results p{padding:8px 10px;font-size:14px;margin:0}.language-bar .global-search-results button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;border:0;border-radius:4px;padding:11px 12px;text-align:left;min-height:56px;overflow-wrap:anywhere}.language-bar .global-search-results button:hover,.language-bar .global-search-results button:focus-visible{background:#ffdf8c;outline:2px solid #d1982e;outline-offset:-2px}.global-search-results button span{font-size:12px}.global-search-type{color:#77563b;font-weight:600}.global-search-results strong{font-size:14px}@media(max-width:600px){.language-bar.with-global-search{flex-wrap:wrap;padding:8px 14px;gap:8px}.global-search{flex-basis:100%;width:100%}.language-bar.with-global-search>[role=group]{margin-left:auto}.global-search-results{width:100%}.global-search-field input{font-size:16px}}
.global-search-group{margin:6px 0;border-top:1px solid #e8dcc9}.global-search-group h3{margin:0;padding:9px 10px;background:#f7eedf;font:600 13px/1.4 system-ui;color:#563724}.global-search-rule{color:#756552;font-size:12px!important}

.global-search-results mark{background:#ffe09a;color:inherit;font-weight:700;border-radius:2px;padding:0 1px}

/* mobile-storefront presentation rules */
/* Mobile app-style navigation without hiding delivery errors or payment limits. */
#mobile-order-bar { display:none; }
.mobile-inline-help { display:none; }
@media (max-width:700px) {
 body:not(.management-mode) { padding-bottom:calc(92px + env(safe-area-inset-bottom)); }
 body:not(.management-mode) #mobile-order-bar:not([hidden]) {
  display:block;position:fixed;inset:auto 0 0;z-index:110;
  padding:8px 12px calc(6px + env(safe-area-inset-bottom));
  background:#fffaf0;border-top:1px solid #d6c3a7;box-shadow:0 -3px 16px #43281d14;
 }
 .mobile-order-actions { display:grid;grid-template-columns:1fr 1.15fr 1.2fr;gap:8px; }
 .mobile-order-actions button { min-width:0;min-height:48px;border:1px solid #d6c3a7;border-radius:12px;background:#fffaf0;color:#43281d;font-size:14px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 4px;overflow-wrap:anywhere; }
 .mobile-order-actions button[aria-current] { background:#ffe49d;border-color:#9f7525; }
 .mobile-order-actions .mobile-cart-action { background:#43281d;color:#fffaf0;border-color:#43281d; }
 .mobile-order-actions button:focus-visible { outline:3px solid #9b6416;outline-offset:2px; }
 #mobile-order-bar p { text-align:center;font-size:11px;line-height:1.3;margin:5px 0 0;color:#674f3d; }
 body:not(.management-mode) .help-launcher { display:none; }
 body:not(.management-mode) .navlinks .mobile-inline-help { display:block;min-height:44px;padding:10px 14px;border:0;background:transparent;text-align:left;color:#43281d;font:inherit; }
 .mobile-inline-help:focus-visible { outline:3px solid #9b6416;outline-offset:2px; }
 body:not(.management-mode) .customer-help { bottom:calc(100px + env(safe-area-inset-bottom));max-height:calc(100dvh - 120px - env(safe-area-inset-bottom)); }
 body:not(.management-mode) #toast { bottom:calc(100px + env(safe-area-inset-bottom)); }
 body:not(.management-mode) .nav-tools > button:not(.profile-button) { display:none; }
 body:not(.management-mode) .menu-pagehead { padding:18px 16px 8px; }
 body:not(.management-mode) .menu-pagehead h1 { font-size:28px;margin:0 0 12px; }
 body:not(.management-mode) .menu-pagehead > .eyebrow,
 body:not(.management-mode) .menu-toolbar { display:none; }
 body:not(.management-mode) .menu-search input { min-height:44px;font-size:16px; }
 .public-app-home .hero { padding:20px 16px;gap:18px; }
 .public-app-home .hero h1 { font-size:30px;margin:0 0 12px; }
 .public-app-home .herotext > .eyebrow,
 .public-app-home .herotext > p:not(.muted),
 .public-app-home .home-journey { display:none; }
 .public-app-home .hero .actions { grid-template-columns:1fr; }
 .public-app-home .hero .actions > button:last-child { display:none; }
 .public-app-home .heroimage { max-height:240px; }
 .public-app-home .carousel-caption { padding:10px 0; }
 .public-app-home .footer { padding-bottom:24px; }
 .public-app-home .section > .heading { gap:12px;margin-bottom:14px; }
 .public-app-home .section > .heading h2 { font-size:26px;line-height:1.15;margin:4px 0; }
 .public-app-home .section > .heading .eyebrow { display:none; }
 .public-app-home .section > .heading .btn { min-height:44px;padding:10px;font-size:12px; }
 .public-app-home .grid { grid-template-columns:minmax(0,1fr);gap:10px; }
 .public-app-home .grid > .card { display:grid;grid-template-columns:minmax(72px,26%) minmax(0,1fr);gap:10px;padding:10px;align-items:start; }
 .public-app-home .grid > .card img { aspect-ratio:1;min-height:0;height:auto;border-radius:8px; }
 .public-app-home .grid > .card img[hidden] { display:none; }
 .public-app-home .grid > .card .product-photo-missing { min-height:0;aspect-ratio:1;padding:3px;font-size:.65rem; }
 .public-app-home .grid > .card .cardbody { padding:0;min-width:0; }
 .public-app-home .grid > .card .tag { display:none; }
 .public-app-home .grid > .card h3 { font-size:1rem;line-height:1.25;margin:0 0 4px; }
 .public-app-home .grid > .card .cardbody p { margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden; }
 .public-app-home .grid > .card .row { padding-top:6px;gap:6px; }
 .public-app-home .grid > .card button { min-height:44px; }
 body:not(.management-mode) #modal .cart-payment-action { position:sticky;bottom:0;padding:10px 0;background:#fffaf0;z-index:2; }
 body:not(.management-mode) #modal .cart-payment-action > button { width:100%;min-height:48px; }
}

/* The three mobile navigation rows remain visible as one measured stack. */
@media (max-width:700px) {
 body:not(.management-mode) > .prototype { position:sticky;top:0; }
 body:not(.management-mode) > .language-bar.with-global-search {
  position:sticky;top:var(--prototype-height,34px);z-index:90;
  display:grid;grid-template-columns:minmax(0,1fr);gap:2px;
  padding:3px 12px;
 }
 body:not(.management-mode) > .language-bar.with-global-search > [role=group] {
  grid-column:1;justify-self:end;gap:2px;margin:0;flex-wrap:wrap;
 }
 body:not(.management-mode) > .language-bar .language-icon { display:none; }
 body:not(.management-mode) > .language-bar button { min-height:44px;padding-block:4px; }
 body:not(.management-mode) > .language-bar .global-search-field input { min-height:44px;font-size:16px;padding-block:4px; }
 body:not(.management-mode) > .language-bar .global-search-field button { min-width:44px; }
 body:not(.management-mode) #app > .nav {
  top:calc(var(--prototype-height,34px) + var(--public-language-height,98px));
  min-height:53px;padding:4px 12px;gap:6px;
 }
 body:not(.management-mode) #app > .nav .official-logo { width:44px;height:44px; }
 body:not(.management-mode) #app > .nav .navlinks {
  top:100%;max-height:calc(100dvh - var(--public-header-height,185px) - 96px - env(safe-area-inset-bottom));
  overflow-y:auto;overscroll-behavior:contain;
 }
 body:not(.management-mode) .global-search-results {
  position:fixed;top:var(--public-header-height,185px);left:12px;right:12px;width:auto;
  max-height:calc(100dvh - var(--public-header-height,185px) - 96px - env(safe-area-inset-bottom));
 }
 body:not(.management-mode) #profile-client,
 body:not(.management-mode) #message-client,
 body:not(.management-mode) .contact-intro { scroll-margin-top:calc(var(--public-header-height,185px) + 8px); }
}

/* Clear, compact navigation; only the action bar is anchored at the bottom. */
@media (max-width:700px) {
 body:not(.management-mode) #app > .nav .menu-toggle {
  font-size:14px;font-weight:600;line-height:1.2;min-height:44px;
  padding:6px 10px;gap:7px;
 }
 body:not(.management-mode) #app > .nav .menu-toggle span { font-size:18px;line-height:1; }
 body:not(.management-mode) { padding-bottom:calc(var(--mobile-order-height,92px) + 12px); }
 body:not(.management-mode) #app > .footer { position:static; }
 body:not(.management-mode) > .prototype { padding-top:calc(8px + env(safe-area-inset-top)); }
 body:not(.management-mode) #mobile-order-bar:not([hidden]) {
  padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));
 }
 body:not(.management-mode).mobile-keyboard-open #mobile-order-bar { display:none; }
 body:not(.management-mode) #app > .nav .navlinks,
 body:not(.management-mode) .global-search-results {
  max-height:max(44px,calc(var(--mobile-visible-height,100dvh) - var(--public-header-height,185px) - var(--mobile-order-height,92px) - 12px));
 }
 body:not(.management-mode) #toast { bottom:calc(var(--mobile-order-height,92px) + 12px); }
 body:not(.management-mode) .customer-help {
  bottom:calc(var(--mobile-order-height,92px) + 12px);
  max-height:calc(var(--mobile-visible-height,100dvh) - var(--mobile-order-height,92px) - 24px);
 }
 body:not(.management-mode) #modal { max-height:calc(var(--mobile-visible-height,100dvh) - 24px); }
}

/* mobile-appearance presentation rules */
#mobile-appearance-form fieldset { border:1px solid #d6c3a7;border-radius:8px;padding:16px; }
#mobile-appearance-form label { display:flex;align-items:center;gap:10px;min-height:44px; }
#mobile-appearance-form input[type=checkbox] { width:22px;height:22px;flex:none; }
@media (max-width:700px) {
 body.public-app-home.mobile-hide-carousel:not(.management-mode) .hero-carousel,
 body.public-app-home.mobile-hide-carousel:not(.management-mode) .carousel-empty,
 body.public-app-home.mobile-hide-story:not(.management-mode) .story,
 body.public-app-home.mobile-hide-mapPreview:not(.management-mode) .restaurant-map-preview,
 body.public-app-home.mobile-hide-journey:not(.management-mode) .home-journey { display:none; }
 body.public-app-home:not(.mobile-hide-journey):not(.management-mode) .home-journey { display:block; }
}

/* responsive-compact presentation rules */
/* Responsive storefront: preserve three sticky bands without a fourth category band. */
body:not(.management-mode) > .help-launcher { display:none; }
body:not(.management-mode) .navlinks .mobile-inline-help {
 display:block;min-height:44px;padding:10px 12px;border:0;border-radius:4px;
 background:transparent;color:var(--ink);font:inherit;text-align:left;
}
body:not(.management-mode) .navlinks .mobile-inline-help:focus-visible { outline:3px solid #9b6416;outline-offset:2px; }
@media (min-width:1121px) {
 body:not(.management-mode) .navlinks a,
 body:not(.management-mode) .navlinks .mobile-inline-help { font-size:14px;padding-inline:8px; }
}
@media (max-width:1120px) {
 body:not(.management-mode) > .prototype { padding:2px max(12px,env(safe-area-inset-left));padding-top:calc(2px + env(safe-area-inset-top));min-height:32px;font-size:10px;letter-spacing:0;gap:6px; }
 body:not(.management-mode) > .prototype button { min-height:32px;padding:4px 0;font-size:11px; }
 body:not(.management-mode) > .language-bar.with-global-search {
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px;
  padding:2px max(8px,env(safe-area-inset-left));
  position:sticky;top:var(--prototype-height,36px);z-index:90;
 }
 body:not(.management-mode) > .language-bar .public-home-return { display:none; }
 body:not(.management-mode) > .language-bar.with-global-search:has(.global-search) .global-search { grid-column:1;grid-row:1;width:100%;max-width:320px;margin:0; }
 body:not(.management-mode) > .language-bar.with-global-search > [role=group] { grid-column:2;justify-self:end;display:flex;flex-wrap:nowrap;gap:0;margin:0; }
 body:not(.management-mode) > .language-bar [data-locale] { min-width:44px;min-height:44px;padding:4px;font-size:0; }
 body:not(.management-mode) > .language-bar [data-locale]::after { font-size:13px;font-weight:600; }
 body:not(.management-mode) > .language-bar [data-locale=fr]::after { content:'FR'; }
 body:not(.management-mode) > .language-bar [data-locale=en]::after { content:'EN'; }
 body:not(.management-mode) > .language-bar [data-locale=es]::after { content:'ES'; }
 body:not(.management-mode) > .language-bar .global-search-field input { min-height:44px;font-size:16px;padding:4px; }
 body:not(.management-mode) > .language-bar .global-search-field button { min-width:44px;flex-basis:44px;min-height:44px; }
 body:not(.management-mode) > .language-bar .global-search-field > span { display:none; }
 body:not(.management-mode) #app > .nav {
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;min-height:52px;padding:4px 12px;gap:6px;
  top:calc(var(--prototype-height,36px) + var(--public-language-height,50px));
 }
 body:not(.management-mode) #app > .nav:has(.mobile-back) { grid-template-columns:auto minmax(0,1fr) auto auto; }
 body:not(.management-mode) #app > .nav > .mobile-back { display:block;min-width:44px;min-height:44px; }
 body:not(.management-mode) #app > .nav .official-logo { width:44px;height:44px; }
 body:not(.management-mode) #app > .nav .menu-toggle { display:flex;align-items:center;gap:6px;min-height:44px;padding:6px 10px;font-size:14px; }
 body:not(.management-mode) #app > .nav .menu-toggle span { font-size:18px; }
 body:not(.management-mode) #app > .nav .nav-tools { grid-column:auto;gap:5px; }
 body:not(.management-mode) #app > .nav .nav-tools .btn { min-height:44px;padding:6px 8px;font-size:12px; }
 body:not(.management-mode) #app > .nav .navlinks {
  display:none;position:absolute;top:100%;left:0;width:100%;grid-column:1/-1;grid-row:auto;
  padding:8px 12px;gap:6px;background:#f3e2c5;
  max-height:max(44px,calc(var(--mobile-visible-height,100dvh) - var(--public-header-height,140px) - 12px));
  overflow-y:auto;overscroll-behavior:contain;
 }
 body:not(.management-mode) #app > .nav .navlinks.open { display:grid;grid-template-columns:repeat(2,minmax(0,1fr)); }
 body:not(.management-mode) #app > .nav .navlinks a { min-height:44px;font-size:15px;padding:10px;white-space:normal; }
 body:not(.management-mode) .menu-category-bar { display:none; }
 body:not(.management-mode) .mobile-menu-category { display:block;margin:8px 0 12px; }
 body:not(.management-mode) .mobile-menu-category select { min-height:44px;font-size:16px; }
 body:not(.management-mode) .global-search-results { position:fixed;top:var(--public-header-height,140px);left:8px;right:8px;width:auto;max-height:calc(var(--mobile-visible-height,100dvh) - var(--public-header-height,140px) - 12px); }
 body:not(.management-mode) .customer-help { bottom:12px;max-height:calc(var(--mobile-visible-height,100dvh) - 24px); }
}
@media (max-width:700px) {
 body:not(.management-mode) #mobile-order-bar:not([hidden]) { padding-top:4px;padding-bottom:calc(4px + env(safe-area-inset-bottom)); }
 .mobile-order-actions { gap:5px; }
 .mobile-order-actions button { min-height:44px;padding:5px 3px;font-size:13px; }
 #mobile-order-bar p { margin-top:2px; }
 body:not(.management-mode) #app > .nav .navlinks,
 body:not(.management-mode) .global-search-results { max-height:max(44px,calc(var(--mobile-visible-height,100dvh) - var(--public-header-height,140px) - var(--mobile-order-height,70px) - 12px)); }
 body:not(.management-mode) .customer-help { bottom:calc(var(--mobile-order-height,70px) + 8px);max-height:calc(var(--mobile-visible-height,100dvh) - var(--mobile-order-height,70px) - 20px); }
}
/* Short landscape screens need content space even when the device is tablet-wide. */
@media (max-height:500px) and (min-width:701px) {
 body:not(.management-mode) .menu-category-bar { position:static; }
 body:not(.management-mode) .customer-help { bottom:8px;max-height:calc(100dvh - 16px); }
}

/* Phone catalogue: remove blank vertical margins, keep every field and touch target. */
@media (max-width:700px) {
 body:not(.management-mode) .menu-pagehead { padding-top:8px;padding-bottom:0; }
 body:not(.management-mode) .menu-pagehead h1 { margin-bottom:6px; }
 body:not(.management-mode) .menu-pagehead .menu-search { margin:4px 0; }
 body:not(.management-mode) .menu-pagehead .menu-search input { margin-top:4px; }
 /* Override the existing inline 10px top padding only for the catalogue section. */
 body:not(.management-mode) .section:has(> #menu-results) { padding-top:4px !important; }
 body:not(.management-mode) .mobile-menu-category { margin:4px 0 6px; }
 body:not(.management-mode) .mobile-menu-category select { margin-top:4px; }
 body:not(.management-mode) #menu-reception .reception-choice { margin-bottom:4px; }
 body:not(.management-mode) #menu-results > p.muted { margin:6px 0; }
}

/* HTML already reserves the live sticky header. Avoid counting it twice on anchors. */
body:not(.management-mode) #profile-client,
body:not(.management-mode) #message-client,
body:not(.management-mode) .contact-intro { scroll-margin-top:0; }

/* Phone story panel: retain all copy and CTA while reducing oversized title/whitespace. */
@media (max-width:700px) {
 body:not(.management-mode) .story {
  padding:20px max(6%,env(safe-area-inset-right)) 20px max(6%,env(safe-area-inset-left));gap:10px;
 }
 body:not(.management-mode) .story > div { min-width:0; }
 /* Shared content uses inline typography; this is a mobile-only presentation override. */
 body:not(.management-mode) .story h2 { font-size:28px !important;line-height:1.15 !important;margin:8px 0 0; }
 body:not(.management-mode) .story p { margin:0 0 12px; }
 body:not(.management-mode) .story .btn { margin-top:0;min-height:44px;max-width:100%; }
}

/* Keep the full address/footer block on home only on phones. Contact stays in navigation. */
@media (max-width:700px) {
 body:not(.management-mode):not(.public-app-home) #app > .footer { display:none; }
}

/* Strong, centered back arrow within the existing compact navigation touch target. */
@media (max-width:700px) {
 body:not(.management-mode) #app > .nav > .mobile-back {
  display:grid;place-items:center;width:44px;height:44px;padding:0;
  font-family:Arial,sans-serif;font-size:32px;font-weight:900;line-height:1;
  color:#24140d;background:transparent;border:0;box-shadow:none;
 }
 body:not(.management-mode) #app > .nav > .mobile-back:focus-visible {
  outline:3px solid #24140d;outline-offset:2px;
 }
}

/* menu-cards presentation rules */
/* Compact catalogue only: home, catering and management cards keep their layout. */
@media (min-width:701px) {
  #menu-results .catalogue-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  #menu-results .card {
    display:grid;
    grid-template-columns:104px minmax(0,1fr);
    align-items:start;
    gap:14px;
    padding:16px;
    overflow:visible;
  }
  #menu-results .card > img,
  #menu-results .card > .product-photo-missing {
    grid-column:1;
    grid-row:1;
    width:104px;
    height:104px;
    min-height:0;
    aspect-ratio:1;
    object-fit:cover;
    border-radius:8px;
  }
  #menu-results .card > .product-photo-missing { padding:8px; font-size:11px; }
  #menu-results .card > [hidden] { display:none; }
  #menu-results .cardbody { grid-column:2; grid-row:1; align-self:stretch; padding:0; min-width:0; }
  #menu-results .cardbody .tag { font-size:10px; padding:3px 7px; }
  #menu-results .cardbody h3 { margin:8px 0 6px; font-size:18px; line-height:1.3; }
  #menu-results .cardbody p { margin:0 0 10px; font-size:13px; line-height:1.5; }
  #menu-results .cardbody .row { flex-wrap:wrap; gap:8px 12px; }
  #menu-results .cardbody .row strong { font-size:16px; }
  #menu-results .cardbody button { min-height:44px; max-width:100%; }
}
@media (min-width:1280px) {
  #menu-results .catalogue-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (min-width:701px) and (max-width:900px) {
  #menu-results .card { grid-template-columns:80px minmax(0,1fr); padding:12px; gap:10px; }
  #menu-results .card > img,
  #menu-results .card > .product-photo-missing { width:80px; height:80px; }
  #menu-results .cardbody h3 { font-size:16px; }
}

/* Keep small catalogue thumbnails legible while preserving the saved crop. */
#app #menu-results .card > img,
#app #menu-results .card > .product-photo-missing {
  border-radius:12px !important;
}
@media(max-width:700px) {
  #app #menu-results .card {
    grid-template-columns:clamp(70px, 22vw, 94px) minmax(0, 1fr);
  }
  #app #menu-results .card > img {
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1;
    object-fit:cover;
  }
  #app #menu-results .card > img[hidden] { display:none; }
}

.catering-pagehead{padding-bottom:12px}
#catering-categories{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0}
#catering-categories .btn{min-height:44px;padding:7px 11px}
.catering-products{padding-top:10px}
#devis-traiteur{scroll-margin-top:calc(var(--sticky-top,170px) + 16px)}
.catering-admin-tabs{margin:0 0 14px;display:flex;gap:8px;flex-wrap:wrap}
.catering-admin-table{width:100%;border-collapse:collapse;text-align:left}
.catering-admin-table th,.catering-admin-table td{padding:10px;border-bottom:1px solid #e4d8c5}
.catering-admin-table thead{background:#f4ebde}
@media(max-width:700px){
 .catering-request-link{display:none}
 #mobile-order-bar .catering-order-actions{grid-template-columns:1fr 1.65fr}
}

/* Sauce offers reuse the compact photo-and-description layout. */
.compact-sauce-grid {
  grid-template-columns: minmax(0,1fr);
}
.compact-sauce-card {
  display:grid;
  grid-template-columns:clamp(64px, 20vw, 96px) minmax(0,1fr);
  grid-row:auto;
  grid-template-rows:auto;
  align-items:start;
  gap:12px;
  min-width:0;
  padding:12px;
  border-radius:18px;
}
.compact-sauce-card:not(:has(>img)) {grid-template-columns:minmax(0,1fr)}
#app .compact-sauce-card > .compact-sauce-photo {
  width:100%;
  aspect-ratio:1;
  height:auto;
  object-fit:cover;
  border-radius:12px;
}
.compact-sauce-info {min-width:0;overflow-wrap:anywhere}
.compact-sauce-info h2,.compact-sauce-info h3 {margin:0;font-size:clamp(1.05rem,2vw,1.4rem);line-height:1.2}
.compact-sauce-info p {margin:4px 0}
.compact-sauce-actions {display:flex;flex-wrap:wrap;align-items:end;gap:8px;margin-top:8px}
.compact-sauce-actions label {margin:0}
.compact-sauce-actions input {display:block;width:68px;min-height:44px;margin:2px 0 0;padding:6px;box-sizing:border-box}
.compact-sauce-card .btn {min-height:44px;max-width:100%;white-space:normal}
@media (min-width:701px) {
  .compact-sauce-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:1280px) {
  .compact-sauce-grid {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-height:420px) {
  body:not(.management-mode):has(.sauces-page) #mobile-order-bar:not([hidden]) {position:static}
  body:not(.management-mode):has(.sauces-page) {padding-bottom:0}
}

/* product-options-editor presentation rules */
/* Scoped to the management form: storefront layout is unchanged. */
#productform .product-options-editor{margin:24px 0;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);min-width:0}
#productform .product-options-editor h3{margin:0 0 12px;font-size:21px}
#productform .option-editor-group{margin:18px 0;padding:16px;background:#fffdf8;min-width:0}
#productform .option-editor-group legend{font-weight:700;padding:0 6px}
#productform .option-editor-rules{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px;align-items:center}
#productform .option-editor-check{display:flex;align-items:center;gap:9px;margin:12px 0;line-height:1.5}
#productform .option-editor-check input{width:20px;height:20px;margin:0;flex:0 0 20px}
#productform .option-editor-choice{padding:14px 0;border-top:1px solid var(--line)}
#productform .option-editor-choice-title{margin:0;font-weight:700;font-size:13px}
#productform .option-editor-choice-fields{display:grid;grid-template-columns:2fr 1fr;gap:0 12px}
#productform .option-editor-choice-fields .option-editor-check{grid-column:1/-1}
#productform .option-editor-actions{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
#productform .option-editor-actions .btn{font-size:12px;padding:9px 11px;min-height:44px;white-space:normal}
#productform .option-editor-actions button:disabled{opacity:.42;cursor:default}
#productform .option-editor-error{color:#9e2823;font-weight:700}
#productform [data-options-status]{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:640px){#productform .option-editor-rules{grid-template-columns:1fr 1fr}#productform .option-editor-rules .option-editor-check{grid-column:1/-1}#productform .option-editor-choice-fields{grid-template-columns:1fr}#productform .option-editor-group{padding:12px}#productform .option-editor-actions .btn{flex:1 1 120px}#productform .option-editor-choice-fields input{min-width:0;width:100%}#productform .option-editor-choice-fields .option-editor-check input{width:20px}}

/* management-compact presentation rules */
/* Management-only density. Keep the storefront and all editing controls intact. */
body.management-mode > .prototype { min-height:32px;padding:2px 16px;font-size:10px;gap:8px; }
body.management-mode > .prototype button { min-height:32px;padding:4px 0; }
body.management-mode > .language-bar.with-global-search { display:flex;align-items:center;gap:8px;padding:4px 14px; }
body.management-mode > .language-bar.with-global-search .global-search { flex:1 1 180px;max-width:320px;min-width:0;margin:0; }
body.management-mode > .language-bar.with-global-search > [role=group] { flex:0 0 auto;margin-left:auto;gap:4px; }
body.management-mode > .language-bar .global-search-field input { min-height:44px;font-size:16px;padding-block:6px; }
body.management-mode > .language-bar .global-search-field button { min-width:44px;min-height:44px; }
body.management-mode > .language-bar [data-locale] { min-height:44px;padding:6px 12px; }
body.management-mode .management-toolbar { justify-content:flex-start;gap:8px;padding:6px 18px;min-height:56px; }
body.management-mode .management-toolbar .btn,
body.management-mode .management-toolbar .text-button { min-height:44px;padding:8px 12px;font-size:13px;line-height:1.25; }
body.management-mode .management-help-toggle { margin-left:auto; }
body.management-mode .management-content { padding:18px 22px 32px; }
body.management-mode .management-content > .eyebrow { font-size:10px; }
body.management-mode .management-content h1 { margin:6px 0 12px;font-size:27px; }
body.management-mode .management-notice { margin:0 0 14px;padding:9px 12px;font-size:12px;line-height:1.5; }
body.management-mode .management-content > .panel,
body.management-mode .management-content > form.panel { margin-bottom:14px;padding:18px; }
body.management-mode .shared-content-panel { display:grid;grid-template-columns:minmax(0,1fr);gap:10px; }
body.management-mode .shared-content-heading { min-width:0; }
body.management-mode .shared-content-heading h3 { margin:0 0 5px;font-size:17px;line-height:1.35; }
body.management-mode .shared-content-heading p { margin:0;font-size:13px;line-height:1.5; }
body.management-mode .shared-content-actions,
body.management-mode .shared-draft-actions { display:flex;flex-wrap:wrap;gap:8px;min-width:0; }
body.management-mode .shared-content-actions .btn,
body.management-mode .shared-draft-actions .btn { min-height:44px;margin:0;padding:9px 12px;font-size:12px;line-height:1.4;white-space:normal;max-width:100%; }
body.management-mode .shared-content-drafts { grid-column:1/-1;border-top:1px solid #e6dac6;padding-top:6px; }
body.management-mode .shared-content-drafts summary { cursor:pointer;min-height:44px;padding:10px 0;font-size:13px;line-height:1.5; }
body.management-mode .shared-content-drafts p { font-size:13px;line-height:1.5;margin:2px 0 10px; }
body.management-mode .shared-content-drafts summary:focus-visible { outline:3px solid #9b6416;outline-offset:2px; }
body.management-mode .story-editor > h2 { margin:6px 0 8px;font-size:21px; }
body.management-mode .story-editor > p { margin:6px 0 10px;font-size:13px;line-height:1.5; }
body.management-mode .story-savebar { top:calc(var(--management-toolbar-height,56px) + 6px);gap:8px;padding:8px;margin:10px 0; }
body.management-mode .story-editor fieldset { margin-top:12px; }
body.management-mode .story-field { margin:12px 0 18px;padding:14px; }
body.management-mode .story-inline-controls { gap:10px;margin-top:10px; }
body.management-mode .story-field-preview { padding:12px; }
body.management-mode .story-field-save { margin-top:10px;gap:8px; }
body.management-mode .story-editor { scroll-margin-top:calc(var(--management-toolbar-height,56px) + 8px); }
body.management-mode .management-workspace { scroll-padding-top:calc(var(--management-toolbar-height,56px) + 8px); }
/* Readable navigation, with room for the longer French labels. */
body.management-mode .management-layout { grid-template-columns:258px minmax(0,1fr); }
body.management-mode .management-brand strong { font-size:16px;line-height:1.4; }
body.management-mode .management-accordion { margin-top:8px; }
body.management-mode .management-accordion > summary { font-size:16px;line-height:1.5;min-height:50px;padding:12px 10px; }
body.management-mode .management-submenu button { font-size:15px;line-height:1.5;min-height:48px;padding:12px 10px; }
body.management-mode .management-disclosure { font-size:13px;line-height:1.5; }
@media (min-width:1200px) {
 body.management-mode .shared-content-panel { grid-template-columns:minmax(0,1fr) minmax(300px,44%);align-items:center;column-gap:20px; }
 body.management-mode .shared-content-actions { justify-content:flex-end; }
}
@media (max-width:1100px) {
 body.management-mode > .language-bar [data-locale] { min-width:44px;padding:6px;font-size:0; }
 body.management-mode > .language-bar [data-locale]::after { font-size:13px;font-weight:600; }
 body.management-mode > .language-bar [data-locale=fr]::after { content:'FR'; }
 body.management-mode > .language-bar [data-locale=en]::after { content:'EN'; }
 body.management-mode > .language-bar [data-locale=es]::after { content:'ES'; }
 body.management-mode .management-content { padding:14px 16px 24px; }
 body.management-mode .management-brand { gap:8px;padding-bottom:12px; }
 body.management-mode .management-layout { grid-template-columns:236px minmax(0,1fr); }
 body.management-mode .management-brand img { width:62px;height:62px; }
 body.management-mode .management-sidebar { padding:16px 10px; }
}
@media (max-width:700px) {
 body.management-mode .management-sidebar { width:min(300px,90%); }
 body.management-mode > .language-bar.with-global-search { gap:4px;padding:3px 8px; }
 body.management-mode > .language-bar.with-global-search .global-search { flex-basis:0; }
 body.management-mode > .language-bar .global-search-field > span { display:none; }
 body.management-mode > .language-bar.with-global-search > [role=group] { gap:0; }
 body.management-mode .management-toolbar { padding:5px 8px;gap:4px;flex-wrap:wrap; }
 body.management-mode .management-toolbar .btn,
 body.management-mode .management-toolbar .text-button { padding:8px;font-size:12px; }
 body.management-mode .management-content { padding:12px 10px 24px; }
 body.management-mode .management-content h1 { font-size:24px;margin-bottom:10px; }
 body.management-mode .management-notice { font-size:11px;padding:8px 10px;margin-bottom:10px; }
 body.management-mode .management-content > .panel,
 body.management-mode .management-content > form.panel { padding:14px;margin-bottom:10px; }
 body.management-mode .shared-content-actions,
 body.management-mode .shared-draft-actions { display:grid;grid-template-columns:minmax(0,1fr);gap:6px; }
 body.management-mode .shared-content-actions .btn,
 body.management-mode .shared-draft-actions .btn { width:100%;text-align:left; }
 body.management-mode .story-savebar { position:static; }
 body.management-mode .story-savebar .btn { flex:1 1 180px;white-space:normal; }
 body.management-mode .story-inline-controls { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.product-row-actions{display:flex;flex-wrap:wrap;gap:6px}.product-row-actions button{min-height:44px;white-space:normal}.card button:disabled{opacity:.65;cursor:not-allowed}

@media(max-width:800px){.listrow .status{display:block;grid-column:2 / 4;grid-row:2}.listrow .product-row-actions{grid-column:4;grid-row:1 / 3}}

/* media-library presentation rules */
.media-library{min-width:0}.media-library-filters,.media-crop-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.media-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}.media-library-card{border:1px solid #dccfbc;border-radius:8px;overflow:hidden;background:#fff;min-width:0}.media-library-card>img,.media-document-icon{width:100%;height:145px;object-fit:contain;background:#f2eadc}.media-document-icon{display:grid;place-items:center;font-size:32px;font-weight:700;color:#57341f}.media-library-card>div:not(.media-document-icon){padding:12px}.media-library-card h4{font-size:16px;line-height:1.4;margin:0;overflow-wrap:anywhere}.media-library-card p{font-size:13px}.media-library-card .actions{gap:8px}.media-library-card .smallbtn{font-size:13px;min-height:40px;text-decoration:none}.media-crop-panel{padding:16px;margin:16px 0;background:#f5eee3;border:1px solid #c6aa7b;border-radius:8px}.media-crop-panel[hidden],.media-picker[hidden]{display:none}.media-crop-panel canvas{display:block;width:100%;height:auto;max-height:360px;object-fit:contain;background:repeating-conic-gradient(#ddd 0% 25%,#fff 0% 50%) 50%/20px 20px}.media-crop-controls label{display:flex;flex-direction:column;gap:4px;min-width:0}.media-crop-controls input[type=range]{padding:8px 0;width:100%;min-height:44px;accent-color:#734b24}.media-crop-info,.media-save-guidance{font-size:14px;line-height:1.5}.media-picker{border:1px solid #c6aa7b;border-radius:8px;padding:12px;margin:10px 0;background:#faf6ef}.media-picker-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:320px;overflow:auto}.media-picker-item{padding:6px;border:1px solid #d5c3a8;border-radius:6px;background:#fff;cursor:pointer;min-width:0}.media-picker-item img{width:100%;height:90px;object-fit:contain}.media-picker-item span{display:block;font-size:13px;overflow-wrap:anywhere}.media-local-draft{margin-top:10px!important}#modal .media-editor-actions{margin-bottom:10px}#modal form[data-media-enhanced] input[type=file]{max-width:100%;min-width:0}#modal form[data-media-enhanced] button{white-space:normal}.media-library-upload-status{overflow-wrap:anywhere}@media(max-width:600px){.media-library-filters,.media-crop-controls{grid-template-columns:1fr}.media-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.media-library-card>img,.media-document-icon{height:120px}.media-library-card>div:not(.media-document-icon){padding:9px}.media-picker-results{grid-template-columns:repeat(2,minmax(0,1fr))}.media-crop-panel{padding:10px}.media-library-card .actions{flex-direction:column}.media-library-card .smallbtn{width:100%;text-align:center}.media-library>form>.actions{align-items:stretch;flex-direction:column}}
/* Management actions remain visible in both the library and the photo picker. */
.media-library-card .smallbtn,.media-picker-card .smallbtn{min-height:44px;white-space:normal;overflow-wrap:anywhere;display:inline-flex;align-items:center;justify-content:center}.media-delete{color:#8b2e20}.media-delete:disabled{color:#665b50;opacity:.75;cursor:not-allowed}.media-picker-card{min-width:0;border:1px solid #d5c3a8;border-radius:8px;padding:8px;background:#fff}.media-picker-card .media-picker-item{width:100%;border:0}.media-picker-card .media-picker-item strong{display:block;font-size:13px;margin-top:5px;color:#57341f}.media-picker-card .actions{display:flex;flex-direction:column;gap:6px;margin:0}.media-picker-card .smallbtn{font-size:12px;text-align:center;text-decoration:none}.media-picker-card .media-usage{font-size:12px;line-height:1.4;overflow-wrap:anywhere}.media-crop-controls .media-upscale{display:flex;flex-direction:row;align-items:flex-start;font-size:14px}.media-upscale input{width:20px!important;min-height:20px;margin:2px 7px 0 0;flex-shrink:0}.media-library-save-actions{position:sticky;bottom:0;background:#fff;padding:12px 0;z-index:1;display:flex;gap:8px;flex-wrap:wrap}.media-crop-controls input[type=number]{width:100%;min-width:0}.media-library-card .media-usage{min-height:2.8em}.media-library-card .actions{display:flex;flex-direction:column;align-items:stretch}@media(max-width:600px){.media-library-save-actions{flex-direction:column}.media-library-save-actions .btn{width:100%}.media-picker-results{max-height:400px}}@media(max-width:360px){.media-library-grid,.media-picker-results{grid-template-columns:1fr}}

/* home-promotion presentation rules */
.origin-region{background:none;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit;text-decoration:underline;text-underline-offset:4px;padding:7px 2px;min-height:44px}.origin-map iframe{width:100%;height:360px;border:0;border-radius:18px}.origin-map small{color:var(--muted)}.home-promotion{position:relative;min-width:0;width:100%;height:clamp(180px,21vw,300px);margin:22px 0;border-radius:18px;overflow:hidden;background:var(--cream)}.home-promotion img{display:block;width:100%;height:100%;border-radius:inherit}.home-promotion .promotion-heading{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0!important}.promotion-mobile-title{display:none}.home-promotion.promotion-unavailable .promotion-heading{position:static!important;width:auto;height:auto;clip-path:none;overflow:visible}.hero-with-promotion{align-items:stretch}.hero-with-promotion .herotext{display:flex;flex-direction:column;justify-content:center}.hero-with-promotion .hero-carousel{align-self:stretch}.hero-with-promotion .hero-carousel .heroimage{height:clamp(320px,35vw,510px)}
@media(max-width:700px){.home-promotion{height:clamp(160px,50vw,260px);margin:0 0 12px}.promotion-desktop-only{display:none}.promotion-mobile-title{display:block}.public-app-home .herotext>.eyebrow:has(.origin-region){display:block}.origin-map iframe{height:280px}.hero-with-promotion .hero-carousel .heroimage{height:240px}}

/* validation presentation rules */
/* Keep validation controls outside the scrolling content. */
#modal[open]:has(.validation-frame) {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  width: min(44rem, calc(100% - 16px));
  max-width: none;
  max-height: calc(100dvh - 16px);
  max-height: calc(min(100dvh, var(--mobile-visible-height, 100dvh)) - 16px);
  overflow: hidden;
  padding: 0;
}
#modal:has(.validation-frame) > .close {
  position: absolute;
  top: 6px;
  right: 8px;
  z-index: 1;
}
#modal:has(.validation-frame) > .modal-language {
  flex: none;
  padding: 3px 60px 0 12px;
}
#modal:has(.validation-frame) .modal-language .language-bar { margin: 0; }
#modal:has(.validation-frame) > #modalbody {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.validation-frame {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.validation-header, .validation-main, .validation-footer { padding: 10px clamp(10px, 3vw, 22px); }
.validation-header { flex: none; border-bottom: 1px solid var(--line); }
#modal .validation-header h2 {
  margin: 0 0 6px;
  padding-inline-end: 45px;
  font-size: clamp(1.3rem, 4vw, 1.9rem);
}
.validation-header .reception-choice { margin-bottom: 0; }
.validation-header .menu-formulas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.validation-header .menu-formulas button { min-width: 0; overflow-wrap: anywhere; }
.validation-header .validation-hours {
  margin: 0 0 5px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #fbefd5;
  color: #5f3d1a;
  font-size: .875rem;
  font-weight: 650;
}
.validation-header .validation-hours[data-open=true] { background: #e7f1e1; color: #28472b; }
.validation-main {
  min-height: 0;
  overflow-y: auto;
  scrollbar-gutter: stable;
  overscroll-behavior: contain;
}
.validation-main .validation-details { border-top: 1px solid var(--line); padding: 0; }
.validation-main .validation-details summary {
  min-height: 44px;
  padding: 11px 0;
  font-weight: 650;
}
.validation-main .validation-details .delivery-summary { margin: 0 0 8px; padding: 8px 10px; }
.validation-main .validation-details .delivery-summary h3 { margin: 0 0 4px; }
.validation-footer {
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px 14px;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.validation-footer .btn { min-height: 44px; min-width: 0; white-space: normal; }
.validation-footer .checkout-primary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  margin: 0 !important;
}
.validation-total { margin-inline-end: auto; }
.validation-total span { margin-inline-end: 6px; }
.validation-total strong { white-space: nowrap; font-size: 1.1em; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .validation-header, .validation-main, .validation-footer { padding-inline: 10px; }
  .validation-footer > .btn, .validation-footer .checkout-primary { flex: 1 1 100%; }
  .validation-total { flex: 1 1 100%; display: flex; justify-content: space-between; }
  .validation-footer .checkout-primary .btn { flex: 1 1 0; }
}
@media (max-height: 490px) {
  #modal:has(.validation-frame) > .modal-language { display: none; }
  .validation-header, .validation-main, .validation-footer { padding-block: 5px; }
}

.lightspeed-menu-view{max-width:1200px;margin:auto;min-width:0}
.lightspeed-menu-panel{max-width:1200px;margin:20px auto;box-sizing:border-box}
.official-ordering-link{display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:normal;min-height:44px;max-width:100%;box-sizing:border-box}
@media(max-width:700px){.nav-tools .official-ordering-link{display:none}.mobile-order-actions .official-ordering-link{min-width:0;padding:5px 3px;font-size:12px;line-height:1.3;overflow-wrap:anywhere}}
@media(max-width:640px){.lightspeed-menu-view{padding:16px}.lightspeed-menu-panel{margin:12px 0;padding:18px}.lightspeed-menu-panel .official-ordering-link{width:100%}.nav-tools .official-ordering-link{font-size:12px;padding:8px;max-width:170px}}

/* Approved storefront photo frames. Controls, content and image crop are unchanged. */
#app { --photo-frame-radius:32px; }
#app .heroimage,
#app .card:has(> img),
#app .card:has(> .product-photo-missing) {
  border-radius:var(--photo-frame-radius);
  overflow:hidden;
}
#app .heroimage img,
#app .card > img,
#app .product-photo-missing,
#app .story img,
#app .page-product-photo {
  border-radius:var(--photo-frame-radius) !important;
}
@media(max-width:640px) {
  #app { --photo-frame-radius:24px; }
  #app #menu-results .card > img,
  #app #menu-results .card > .product-photo-missing,
  .public-app-home #app .grid > .card img,
  .public-app-home #app .grid > .card .product-photo-missing {
    border-radius:16px !important;
  }
}

/* Keep images and action controls aligned when translated labels wrap. */
/* Catalogue cards already define their own responsive grid. */
#app .card:has(> .cardbody):not(:where(#menu-results .catalogue-grid > .card)) {
  min-width:0;
  display:flex;
  flex-direction:column;
}
#app .card > .cardbody {
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  overflow-wrap:anywhere;
}
#app .card > .cardbody > .row {
  margin-top:auto;
  flex-wrap:wrap;
  gap:8px;
}
#app .card > .cardbody > .row .btn { min-height:44px; }
@media (max-width:640px) {
  .public-app-home #app .grid > .card:has(> .cardbody) { display:grid; }
  #modal .cart-review .cart-browse-actions .btn { white-space:normal; }
}

/* The logo stays in the existing sticky navigation stack. */
body:not(.management-mode) #app > .nav {
  border-bottom-color: #d8bc87;
}

/* The short action bar is the fixed footer. The contact footer remains readable in the page. */
body:not(.management-mode):has(#mobile-order-bar:not([hidden])) {
  padding-bottom: calc(var(--mobile-order-height, 92px) + 12px);
}
/* Keep the same action footer on the sauces page in landscape. */
body:not(.management-mode):has(.sauces-page) #mobile-order-bar:not([hidden]) {
  position: fixed;
}
body:not(.management-mode):has(.sauces-page):has(#mobile-order-bar:not([hidden])) {
  padding-bottom: calc(var(--mobile-order-height, 92px) + 12px);
}
@media (width > 700px) {
  body:not(.management-mode) #mobile-order-bar:not([hidden]) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 16px;
    position: fixed;
    inset: auto 0 0;
    z-index: 110;
    background: #fffaf0;
    border-top: 1px solid #d6c3a7;
    padding: 5px clamp(12px, 2vw, 36px) calc(5px + env(safe-area-inset-bottom));
  }
  .mobile-order-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .mobile-order-actions button, .mobile-order-actions .official-ordering-link {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #d6c3a7;
    padding: 6px 18px;
    background: #fffaf0;
    color: #43281d;
    overflow-wrap: anywhere;
  }
  .mobile-order-actions button[aria-current] { background: #ffe49d; }
  .mobile-order-actions .mobile-cart-action { background: #43281d; color: #fffaf0; }
  #mobile-order-bar p { margin: 0; font-size: .75rem; }
  body:not(.management-mode) #toast { bottom: calc(var(--mobile-order-height, 60px) + 10px); }
  body:not(.management-mode) :is(.customer-help,.help-launcher) { bottom: calc(var(--mobile-order-height, 60px) + 10px); }
}
@media (width > 1100px) {
  body:not(.management-mode) #app > :is(.section,.pagehead,.lightspeed-menu-view) {
    max-width: none;
    padding-inline: clamp(24px, 3vw, 64px);
  }
}
