/* Shop-owned WebView layer. A mobile browser without the explicit app marker
   keeps the normal website. Existing brand colours and ordering controls win. */
html.dk-hosted-app{overflow-x:hidden;overflow-x:clip;scroll-padding-top:84px}
html.dk-hosted-app body.deliveryking-site,html.dk-hosted-app body.milanos-site{min-height:100vh;min-height:100dvh;margin:0!important;padding-top:0!important;padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important;overflow-x:hidden;overflow-x:clip;touch-action:pan-y pinch-zoom}
html.dk-hosted-app .hero,html.dk-hosted-app .ak-offers,html.dk-hosted-app .mp-reviews,html.dk-hosted-app #kundenstimmen,html.dk-hosted-app .mp-local,html.dk-hosted-app .back-to-top,html.dk-hosted-app .dk-close-glyph,html.dk-hosted-app .dk-price-row-size,html.dk-hosted-app .dk-price-row-amount,html.dk-hosted-app .dk-price-row-plus{display:none!important}
html.dk-hosted-app #smartbanner,html.dk-hosted-app .smartbanner,html.dk-hosted-app .js-smartbanner{display:none!important}
html.dk-hosted-app.smartbanner-show,html.dk-hosted-app .smartbanner-show{margin-top:0!important;padding-top:0!important}
html.dk-hosted-app body .site-header{position:sticky!important;top:0!important;min-height:68px!important;height:auto!important;z-index:900;transform:none!important}
html.dk-hosted-app body .site-header .header-inner{display:flex!important;align-items:center;min-height:68px!important;max-width:none;gap:10px;padding:8px 14px!important}
html.dk-hosted-app body .site-header .brand img{width:auto!important;height:auto!important;max-width:112px!important;max-height:48px!important;object-fit:contain}
html.dk-hosted-app body .site-header .header-call{display:none!important}
html.dk-hosted-app body .menu-shell{padding-top:20px}
html.dk-hosted-app .category-strip,html.dk-hosted-app .menu-shell>ul.KategorieNav{top:var(--dk-hosted-header-height,68px)}
html.dk-hosted-app #Speisekarten_Div_Div,html.dk-hosted-app #Speisekarten_Div,html.dk-hosted-app .KategorieNav,html.dk-hosted-app .Warenkorb,html.dk-hosted-app .ui-dialog-content{touch-action:pan-y pinch-zoom;-webkit-overflow-scrolling:touch}
html.dk-hosted-app body .ui-dialog{box-sizing:border-box;max-width:calc(100vw - 16px)!important;max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px)}
html.dk-hosted-app #modern-cart-toggle{bottom:calc(16px + env(safe-area-inset-bottom,0px))}
html.dk-hosted-app body .site-footer{padding:20px 14px!important}
html.dk-hosted-app .site-footer .footer-brand,html.dk-hosted-app .site-footer address,html.dk-hosted-app .site-footer .footer-bottom{display:none!important}
html.dk-hosted-app .site-footer .footer-inner{display:block;max-width:none;margin:0;padding:0}
html.dk-hosted-app .footer-navigation ul{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 14px}
html.dk-hosted-app .footer-navigation a,html.dk-hosted-app .footer-navigation button{display:inline-flex;align-items:center;min-height:44px}
html.dk-hosted-app .dk-app-privacy-button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;margin:0;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;box-sizing:border-box;cursor:pointer}
html.dk-hosted-app .dk-app-privacy-button svg{display:block;width:22px;height:22px}
html.dk-hosted-app .dk-app-privacy-button:focus-visible{outline:2px solid var(--red,currentColor);outline-offset:3px}
html.dk-hosted-app .dk-opening-strip{display:flex;align-items:center;gap:10px;width:100%;box-sizing:border-box;margin:12px 0;padding:12px;border:1px solid var(--line,#bbb);border-radius:12px;background:var(--paper,#fff);color:var(--ink,#222);text-align:left}
html.dk-hosted-app .dk-opening-strip-icon,html.dk-hosted-app .dk-opening-strip-chevron{flex:0 0 24px}
html.dk-hosted-app .dk-opening-strip-icon svg,html.dk-hosted-app .dk-opening-strip-chevron svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8}
html.dk-hosted-app .dk-opening-strip-text{flex:1;min-width:0}
html.dk-hosted-app .dk-opening-strip-title{display:block;font-size:14px;font-weight:700}
html.dk-hosted-app .dk-opening-strip-note{display:block;margin-top:3px;font-size:12px}
html.dk-hosted-app .checkout-header-inner{max-width:none;padding:10px 14px;grid-template-columns:auto minmax(0,1fr) auto;gap:8px}
html.dk-hosted-app .checkout-label{display:none}
html.dk-hosted-app .checkout-brand{grid-column:1;grid-row:1}
html.dk-hosted-app .checkout-brand img{max-width:96px!important;max-height:48px!important;width:auto!important;height:auto!important}
html.dk-hosted-app .checkout-progress{grid-column:2;grid-row:1;justify-self:end;gap:8px}
html.dk-hosted-app .checkout-progress li{gap:0;font-size:0!important}
html.dk-hosted-app .checkout-progress li>span{width:26px;height:26px;font-size:12px}
html.dk-hosted-app .checkout-progress li:before,html.dk-hosted-app .checkout-progress li:after{display:none}
html.dk-hosted-app .checkout-header-inner>.dk-app-privacy-button{grid-column:3;grid-row:1}
html.dk-hosted-app .checkout-back-form,html.dk-hosted-app .checkout-header-inner>.checkout-back{grid-column:1/-1;grid-row:2;justify-self:stretch;width:100%;box-sizing:border-box}

/* Keep the SDK and necessary-only default active; manual privacy controls
   explicitly open the provider UI. Do not set its immutable global suppress flag. */
html.dk-hosted-app:not(.dk-app-consent-open) #usercentrics-cmp-ui{visibility:hidden!important;opacity:0!important;pointer-events:none!important}
