/* Classic untouched. All visual overrides are scoped to modern preset. */
.media img[hidden],.photo-fallback[hidden]{display:none!important}
html[data-bg-design=modern] body{background-color:var(--bg-background);color:var(--bg-bodytext);font-family:var(--bg-font-body,Arial,sans-serif)}
html[data-bg-design=modern]{color-scheme:light;--bg-font-heading:Georgia,serif;--bg-font-body:Arial,sans-serif}
html[data-bg-mode=dark]{color-scheme:dark}
html[data-bg-body=jakarta]{--bg-font-body:"Plus Jakarta Sans",Inter,Arial,sans-serif}
html[data-bg-body=dm]{--bg-font-body:"DM Sans",Arial,sans-serif}
html[data-bg-body=manrope]{--bg-font-body:Manrope,Arial,sans-serif}
html[data-bg-heading=elegant]{--bg-font-heading:"Playfair Display",Georgia,serif}
html[data-bg-heading=outfit]{--bg-font-heading:Outfit,Arial,sans-serif}
html[data-bg-heading=bold]{--bg-font-heading:"Barlow Condensed","Arial Narrow",Impact,sans-serif}
html[data-bg-heading=editorial]{--bg-font-heading:"Cormorant Garamond",Georgia,serif}
html[data-bg-design=modern] :is(.hero h1,.section-heading h2,.detail-inner h2,.sheet-head h2){font-family:var(--bg-font-heading)}
html[data-bg-design=modern] .hero{border-radius:var(--bg-radius);min-height:340px}
html[data-bg-design=modern] .hero[hidden]{display:none!important}
html[data-bg-design=modern] .menu-section{margin-top:38px}
html[data-bg-design=modern] .section-heading h2{margin-bottom:18px;color:var(--bg-bodytext)}
html[data-bg-design=modern] :is(.menu-card,.search,.cat-btn,.sheet,.cart-trigger){background:var(--bg-surface);color:var(--bg-text);border-color:transparent;box-shadow:0 4px 18px #00000009}
html[data-bg-design=modern] .menu-card{border-radius:var(--bg-radius)}
html[data-bg-design=modern] .menu-card-body{padding:18px;gap:9px}
html[data-bg-design=modern] .menu-card h3{font-size:18px;line-height:1.25}
html[data-bg-design=modern] .menu-card p{font-size:13px;color:var(--bg-muted)}
html[data-bg-design=modern] .media{background:var(--bg-surface)}
html[data-bg-design=modern] .category-tag{background:var(--bg-surface);color:var(--bg-price);border-radius:99px}
html[data-bg-design=modern] :is(.price,.bill-total,.eyebrow.dark){color:var(--bg-price)}
html[data-bg-design=modern] :is(.btn-primary,.cart-float,.cart-trigger span,.cat-btn.active){background:var(--bg-primary);color:var(--bg-onprimary);border-color:transparent}
html[data-bg-design=modern] .btn-primary{border-radius:var(--bg-button);min-height:44px}
html[data-bg-design=modern] .cart-float{border-radius:99px;padding:16px 22px}
html[data-bg-design=modern] .search{border-radius:99px;max-width:100%}
html[data-bg-design=modern] .search input{color:var(--bg-text)}
html[data-bg-design=modern] .search input::placeholder{color:var(--bg-muted)}
html[data-bg-design=modern] .categories{flex-wrap:nowrap;overflow-x:auto;padding:4px 3px 9px;scrollbar-width:thin;overscroll-behavior-inline:contain}
html[data-bg-design=modern] .cat-btn{white-space:nowrap;flex:none;min-height:44px;display:inline-flex;gap:8px;align-items:center;justify-content:center}
html[data-bg-category=underline] .cat-btn{border-radius:0;background:transparent;color:var(--bg-bodytext);box-shadow:none;border-bottom:2px solid transparent}
html[data-bg-category=underline] .cat-btn.active{border-bottom-color:var(--bg-primary)}
html[data-bg-layout=list] .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-bg-layout=list] .menu-card{flex-direction:row;align-items:stretch}
html[data-bg-layout=list] .menu-card .media{width:38%;flex-shrink:0;align-self:center}
html[data-bg-layout=list] .menu-card-body{min-width:0}
html[data-bg-layout=list] .card-bottom{flex-wrap:wrap}
html[data-bg-card=soft][data-bg-layout=grid] .menu-card .media{margin:8px 8px 0;border-radius:max(4px,calc(var(--bg-radius) - 5px))}
html[data-bg-preset=urban][data-bg-design=modern] .hero h1{font-weight:900;text-transform:uppercase;letter-spacing:-.025em}
html[data-bg-preset=fresh][data-bg-design=modern] .hero{border-radius:32px}
html[data-bg-design=modern] :is(.cart-row,.checkout-choice,.bill,.option-label,.field input,.field textarea,.qty-btn){background:var(--bg-surface);color:var(--bg-text);border:1px solid color-mix(in srgb,var(--bg-text) 18%,transparent)}
html[data-bg-design=modern] :is(.detail-desc,.cart-row small,.helper,.option-title small,.empty,.search span,.brand small,.menu-count,footer){color:var(--bg-muted)}
html[data-bg-design=modern] .sheet{border-radius:max(12px,var(--bg-radius))}
html[data-bg-design=modern] .detail-media{height:clamp(200px,35vh,350px)}
html[data-bg-design=modern] .detail-media img{object-fit:contain}
html[data-bg-design=modern] .option-label input,html[data-bg-design=modern] .checkout-choice input{accent-color:var(--bg-primary)}
html[data-bg-design=modern] :is(button,input,textarea):focus-visible{outline:3px solid var(--bg-price);outline-offset:3px}
html[data-bg-motion=subtle] :is(.btn-primary,.cat-btn,.menu-card){transition:transform .16s ease,box-shadow .16s ease}
html[data-bg-motion=expressive] :is(.btn-primary,.cat-btn,.menu-card){transition:transform .24s cubic-bezier(.2,.8,.3,1.15),box-shadow .24s ease}
@media(hover:hover){html:is([data-bg-motion=subtle],[data-bg-motion=expressive]) .menu-card:hover{transform:translateY(-2px);box-shadow:0 8px 24px #00000015}}
html:is([data-bg-motion=subtle],[data-bg-motion=expressive]) .btn-primary:active{transform:scale(.97)}
@media(max-width:830px){html[data-bg-layout=list] .menu-grid{grid-template-columns:1fr}}
@media(max-width:560px){html[data-bg-design=modern] .hero{min-height:265px;padding:28px 22px}html[data-bg-design=modern] .hero-copy{max-width:100%}html[data-bg-design=modern] .hero h1{font-size:clamp(32px,9vw,46px)}html[data-bg-design=modern] .menu-card-body{padding:11px;gap:7px}html[data-bg-design=modern] .menu-card h3{font-size:15px}html[data-bg-design=modern] .menu-card p{font-size:12px;min-height:0}html[data-bg-design=modern] .cart-float{bottom:max(12px,env(safe-area-inset-bottom))}html[data-bg-design=modern] .detail-sheet{align-self:flex-end;max-height:90dvh}html[data-bg-design=modern] .overlay{padding:8px}html[data-bg-layout=list] .card-bottom{flex-direction:row;align-items:center}html[data-bg-layout=list] .card-bottom .btn-primary{width:auto}}
@media(prefers-reduced-motion:reduce){html[data-bg-design=modern],html[data-bg-design=modern] *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* F5 P2: visual variants and ordering polish, scoped to modern designs. */
.featured-menu[hidden],.promo-strip[hidden]{display:none!important}
html[data-bg-design=modern][data-bg-sticky=true] .menu-filters{position:sticky;top:0;z-index:10;background:var(--bg-background);padding:10px 0 3px;margin-bottom:14px}
html[data-bg-design=modern] .menu-filters .search{margin-bottom:8px}
html[data-bg-design=modern] .menu-filters .categories{margin-bottom:5px;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--bg-bodytext) 32%,transparent) transparent}
html[data-bg-category=underline][data-bg-design=modern] .cat-btn.active{background:transparent;color:var(--bg-bodytext);border-bottom:2px solid var(--bg-primary);border-radius:0}
html[data-bg-design=modern][data-bg-hero=compact] .hero{min-height:190px;padding:24px 28px}
html[data-bg-design=modern][data-bg-hero=compact] .hero h1{font-size:clamp(30px,4.2vw,48px);margin:9px 0}
html[data-bg-design=modern][data-bg-hero=compact] .hero p{margin:8px 0}
html[data-bg-design=modern][data-bg-hero=compact] .table-chip{margin-top:6px}
html[data-bg-design=modern] .promo-strip{padding:15px 18px;background:var(--bg-accent);color:var(--bg-onaccent);font-weight:700;border-radius:var(--bg-radius);margin:0 0 18px;overflow-wrap:anywhere;font-size:14px}
html[data-bg-design=modern] .featured-menu{margin-bottom:24px}
html[data-bg-design=modern] .featured-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--bg-surface);color:var(--bg-text);border-radius:var(--bg-radius);overflow:hidden;box-shadow:0 8px 24px #0000000b;align-items:center}
html[data-bg-design=modern] .featured-card .media{height:auto;aspect-ratio:4/3;min-height:0;background:var(--bg-surface)}
html[data-bg-design=modern] .featured-card .media::before{display:none}
html[data-bg-design=modern] .featured-card .menu-card-body{padding:clamp(16px,3vw,36px);gap:12px}
html[data-bg-design=modern] .featured-card h3{font-family:var(--bg-font-heading);font-size:clamp(24px,3.2vw,38px);margin:0;line-height:1.1;overflow-wrap:anywhere}
html[data-bg-design=modern] .featured-card p{font-size:14px;line-height:1.5;color:var(--bg-muted);margin:0}
html[data-bg-design=modern] .featured-card .card-bottom{flex-wrap:wrap;margin-top:12px}
html[data-bg-design=modern][data-bg-layout=editorial] .featured-card{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
html[data-bg-design=modern][data-bg-layout=editorial] .featured-card .media{aspect-ratio:3/2}
html[data-bg-design=modern][data-bg-layout=editorial] .featured-card .menu-card-body{border-left:1px solid color-mix(in srgb,var(--bg-text) 12%,transparent)}
html[data-bg-card=soft]:is([data-bg-layout=hybrid],[data-bg-layout=editorial]) .menu-card .media{margin:8px 8px 0;border-radius:max(4px,calc(var(--bg-radius) - 5px))}
html[data-bg-design=modern] .menu-card h3,html[data-bg-design=modern] .menu-card p{overflow-wrap:anywhere}
html[data-bg-design=modern] .menu-card .card-bottom{gap:7px;flex-wrap:wrap}
html[data-bg-design=modern] .menu-card .btn-primary:hover{background:var(--bg-primary);filter:brightness(.92)}
html[data-bg-design=modern] .is-sold-out .media img{filter:saturate(.25);opacity:.65}
html[data-bg-design=modern] .unavailable{color:var(--bg-text);background:var(--bg-background);padding:8px 10px;border:1px solid currentColor;border-radius:8px}
.option-sold-out{opacity:.7}.option-sold-out .option-name{text-decoration:line-through}
html[data-bg-design=modern] .detail-inner{padding-bottom:10px}
html[data-bg-design=modern] .detail-actions{position:sticky;bottom:0;background:var(--bg-surface);padding:10px 0 max(12px,env(safe-area-inset-bottom));border-top:1px solid color-mix(in srgb,var(--bg-text) 14%,transparent);z-index:2;margin-top:18px}
html[data-bg-design=modern] .detail-actions .detail-footer{margin-top:0}
html[data-bg-design=modern] .option-label:has(input:checked){border-color:var(--bg-price);box-shadow:inset 0 0 0 1px var(--bg-price)}
html[data-bg-design=modern] .qty-btn{min-width:44px;min-height:44px}
html[data-bg-design=modern] .sheet-close{width:44px;height:44px}
html[data-bg-design=modern] .cart-sheet .cart-actions .qty-btn{min-width:36px;min-height:36px}
html[data-bg-design=modern] .detail-price{color:var(--bg-price)}
html[data-bg-design=modern] .overlay .sheet{overscroll-behavior:contain}
@media(max-width:560px){
 html[data-bg-design=modern] .featured-card,html[data-bg-design=modern][data-bg-layout=editorial] .featured-card{grid-template-columns:1fr}
 html[data-bg-design=modern] .featured-card .media{aspect-ratio:16/10}
 html[data-bg-design=modern] .featured-card .card-bottom{flex-direction:row;align-items:center}
 html[data-bg-design=modern] .featured-card .btn-primary{width:auto}
 html[data-bg-design=modern] .featured-card .menu-card-body{padding:16px}
 html[data-bg-design=modern] .menu-filters .cat-btn{padding-inline:13px}
 html[data-bg-design=modern] .overlay{align-items:flex-end;padding:0}
 html[data-bg-design=modern] .sheet{max-height:92dvh;border-radius:max(20px,var(--bg-radius)) max(20px,var(--bg-radius)) 0 0}
 html[data-bg-design=modern] .detail-media{height:clamp(160px,30vh,270px)}
 html[data-bg-design=modern] .detail-actions .add-detail{margin-top:8px}
 html[data-bg-design=modern] .menu-card .btn-primary{padding-inline:8px;font-size:12px}
}
@media(min-width:1100px){html[data-bg-design=modern]:is([data-bg-layout=hybrid],[data-bg-layout=editorial],[data-bg-layout=grid]) .menu-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* Absolute image box preserves natural photo proportions in wide featured frames. */
html[data-bg-design=modern] .featured-card .media img{position:absolute;inset:0;object-fit:contain!important}
/* P2R: featured carousel is a separate showcase, never removes catalogue items. */
.menu-photo-open,.menu-name-open,.detail-photo-open{display:block;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:inherit;cursor:pointer;min-width:0}
.menu-photo-open,.detail-photo-open{width:100%;position:relative}
.menu-name-open{font-weight:inherit;max-width:100%;overflow-wrap:anywhere}
html[data-bg-layout=list] .menu-card .menu-photo-open{width:38%;flex:none;align-self:center}
html[data-bg-layout=list] .menu-card .menu-photo-open .media{width:100%}
html[data-bg-design=modern][data-bg-card=soft] .menu-card .menu-photo-open .media{margin:8px 8px 0;width:auto;border-radius:max(8px,calc(var(--bg-radius) - 5px))}
html[data-bg-design=modern] .featured-card .menu-photo-open{padding:12px 12px 0;align-self:center}
html[data-bg-design=modern] .featured-card .media,html[data-bg-design=modern][data-bg-layout=editorial] .featured-card .media{aspect-ratio:1;max-width:460px;width:100%;margin:auto;border-radius:max(16px,var(--bg-radius));overflow:hidden;background:var(--bg-surface)}
html[data-bg-design=modern] .featured-card .media img{border-radius:inherit}
html[data-bg-design=modern] .featured-card .category-tag{top:12px;left:12px}
.featured-heading,.featured-controls,.featured-dots{display:flex;align-items:center;gap:8px}
.featured-heading{justify-content:space-between;margin-bottom:8px;font-weight:750;color:var(--bg-bodytext)}
.featured-controls{justify-content:center;margin-top:6px}
.featured-controls button,.featured-heading button{border:1px solid color-mix(in srgb,var(--bg-text) 20%,transparent);background:var(--bg-surface);color:var(--bg-text);border-radius:999px;min-width:44px;min-height:44px;font-size:18px;cursor:pointer}
.featured-heading button{font-size:12px;padding:0 14px}
.featured-dots{gap:0}.featured-dots button{border:0;background:transparent;position:relative;min-width:30px;width:30px;min-height:44px}.featured-dots button::after{content:'';width:8px;height:8px;border-radius:50%;background:var(--bg-muted);position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}.featured-dots button[aria-current=true]::after{width:18px;border-radius:8px;background:var(--bg-primary)}
.featured-slide[hidden],.featured-heading button[hidden],.photo-zoom[hidden]{display:none!important}.featured-track{touch-action:pan-y}
html[data-bg-design=modern] .detail-photo-open{padding:14px 14px 0;max-width:480px;margin:0 auto}
html[data-bg-design=modern] .detail-media{height:auto;aspect-ratio:1;max-width:450px;margin:auto;border-radius:max(16px,var(--bg-radius));overflow:hidden}
html[data-bg-design=modern] .detail-media img{position:absolute;inset:0;object-fit:contain!important}
.zoom-hint{position:absolute;bottom:12px;right:25px;color:#fff;background:#191919bb;border-radius:99px;padding:6px 10px;font:600 12px/1.3 Arial,sans-serif}
.photo-zoom{position:fixed;inset:0;z-index:60;display:grid;place-items:center;background:#151515f5;padding:16px}.photo-zoom img{max-height:100%;max-width:100%;object-fit:contain}.photo-zoom button{position:absolute;top:12px;right:12px;width:44px;height:44px;border:0;border-radius:50%;font-size:25px;color:#222;background:white;z-index:1}
html[data-bg-design=modern] #detailOverlay .detail-sheet{display:flex;flex-direction:column;overflow:hidden;max-height:92dvh;width:min(100%,760px);padding:0}
html[data-bg-design=modern] #detailOverlay .sheet-close{position:relative;align-self:flex-end;flex:none;top:auto;right:auto;margin:8px 12px 0;box-shadow:0 2px 10px #0002}
html[data-bg-design=modern] #detailBody{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1}
html[data-bg-design=modern] .detail-actions{margin-inline:-18px;padding-inline:18px;box-shadow:0 -8px 18px #00000009}
html[data-bg-design=modern][data-bg-detail=fullscreen] #detailOverlay{padding:0;align-items:stretch}
html[data-bg-design=modern][data-bg-detail=fullscreen] #detailOverlay .detail-sheet{width:100%;height:100dvh;max-height:none;border-radius:0;align-self:stretch}
html[data-bg-design=modern][data-bg-detail=modal] #detailOverlay{align-items:center;padding:12px}
html[data-bg-design=modern][data-bg-detail=modal] #detailOverlay .detail-sheet{align-self:center;border-radius:max(16px,var(--bg-radius));max-height:calc(100dvh - 24px)}
html[data-bg-design=modern][data-bg-detail=sheet] #detailOverlay{align-items:flex-end;padding:0}
html[data-bg-design=modern][data-bg-detail=sheet] #detailOverlay .detail-sheet{align-self:flex-end;border-radius:max(20px,var(--bg-radius)) max(20px,var(--bg-radius)) 0 0}
@media(max-width:560px){html[data-bg-design=modern][data-bg-detail=adaptive] #detailOverlay{padding:0;align-items:stretch}html[data-bg-design=modern][data-bg-detail=adaptive] #detailOverlay .detail-sheet{width:100%;height:100dvh;max-height:none;border-radius:0;align-self:stretch}html[data-bg-design=modern] .featured-card .menu-photo-open{padding:10px 10px 0}html[data-bg-design=modern] .featured-card .menu-card-body{padding:14px}html[data-bg-design=modern] .featured-card .media{max-width:none}html[data-bg-design=modern] .detail-photo-open{padding-top:4px}html[data-bg-design=modern] .featured-card .menu-card-body{border-left:0!important}}
@media(min-width:561px){html[data-bg-design=modern][data-bg-detail=adaptive] #detailOverlay{align-items:center}html[data-bg-design=modern][data-bg-detail=adaptive] #detailOverlay .detail-sheet{align-self:center}html[data-bg-design=modern] .featured-card .menu-photo-open{padding:14px}html[data-bg-design=modern] .detail-inner{max-width:680px;margin:auto}}
html[data-bg-design=modern] .detail-desc{white-space:pre-line;overflow-wrap:anywhere}
@media(prefers-reduced-motion:no-preference){html:is([data-bg-motion=subtle],[data-bg-motion=expressive]) .featured-slide:not([hidden]){animation:bgFeaturedIn .24s ease-out}@keyframes bgFeaturedIn{from{opacity:.65;transform:translateX(5px)}to{opacity:1;transform:none}}}

/* F5 P2R2: compact landscape showcase; changes never affect catalogue or detail. */
html[data-bg-design=modern][data-bg-featured-style] .featured-card{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}
html[data-bg-design=modern][data-bg-featured-style] .featured-card .menu-photo-open{padding:10px}
html[data-bg-design=modern][data-bg-featured-style] .featured-card .media{height:auto;width:100%;max-width:none;aspect-ratio:16/9;border-radius:max(12px,calc(var(--bg-radius) - 4px));background:color-mix(in srgb,var(--bg-surface) 92%,var(--bg-text))}
html[data-bg-design=modern][data-bg-featured-style] .featured-card .media img{object-fit:cover!important;object-position:center}
html[data-bg-design=modern][data-bg-featured-style][data-bg-featured-fit=contain] .featured-card .media img,html[data-bg-design=modern][data-bg-featured-style=split] .featured-card .media img{object-fit:contain!important}
html[data-bg-design=modern][data-bg-featured-style=cinematic] .featured-card .media{aspect-ratio:21/9}
html[data-bg-design=modern][data-bg-featured-style=split] .featured-card{grid-template-columns:minmax(0, .65fr) minmax(0,1fr)}
html[data-bg-design=modern][data-bg-featured-style=split] .featured-card .media{aspect-ratio:1;max-width:230px}
html[data-bg-design=modern][data-bg-featured-style] .featured-card .menu-card-body{padding:14px 18px;gap:6px;min-width:0;overflow-wrap:anywhere}
html[data-bg-design=modern][data-bg-featured-style] .featured-card .menu-card-body .eyebrow{display:none}
html[data-bg-design=modern][data-bg-featured-style] .featured-card h3{font-size:clamp(18px,2.4vw,30px)}
html[data-bg-design=modern][data-bg-featured-style] .featured-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.35}
html[data-bg-design=modern][data-bg-featured-style] .featured-card .card-bottom{margin:0;padding-top:2px;gap:8px;flex-wrap:wrap;flex-direction:row;align-items:center}
html[data-bg-design=modern][data-bg-featured-style] .featured-card .btn-primary{width:auto;padding:8px 12px;min-height:44px;max-width:100%}
@media(min-width:561px){
 html[data-bg-design=modern][data-bg-featured-style=landscape][data-bg-layout=editorial] .featured-card,html[data-bg-design=modern][data-bg-featured-style=cinematic] .featured-card{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}
}
@media(max-width:560px){
 html[data-bg-design=modern][data-bg-featured-style=landscape] .featured-card,html[data-bg-design=modern][data-bg-featured-style=cinematic] .featured-card{grid-template-columns:minmax(0,1fr)}
 html[data-bg-design=modern][data-bg-featured-style] .featured-card .menu-photo-open{padding:8px 8px 0}
 html[data-bg-design=modern][data-bg-featured-style] .featured-card .menu-card-body{padding:8px 12px 10px;gap:4px}
 html[data-bg-design=modern][data-bg-featured-style] .featured-card h3{font-size:19px;line-height:1.15}
 html[data-bg-design=modern][data-bg-featured-style] .featured-card p{display:none}
 html[data-bg-design=modern][data-bg-featured-style] .featured-card .card-bottom{justify-content:space-between}
 html[data-bg-design=modern][data-bg-featured-style] .featured-card .category-tag{top:8px;left:8px}
 html[data-bg-design=modern][data-bg-featured-style=split] .featured-card{grid-template-columns:minmax(0, .75fr) minmax(0,1fr)}
 html[data-bg-design=modern][data-bg-featured-style=split] .featured-card .menu-photo-open{padding:8px 0 8px 8px}
 html[data-bg-design=modern][data-bg-featured-style=split] .featured-card h3{font-size:17px}
 html[data-bg-design=modern][data-bg-featured-style=split] .featured-card .btn-primary{font-size:12px}
 html[data-bg-design=modern][data-bg-featured-style] .featured-menu{margin-bottom:14px}
}
