/* Shared layout compatibility fixes, 2026-11-06. */
body[data-design-refresh] > header.dr-shell{display:block!important;width:100%;min-width:0;height:auto}
body[data-design-refresh] > header.dr-shell > .dr-header,body[data-design-refresh] > header.dr-shell > .dr-categories{width:100%;min-width:0}
/* A legacy decorative circle must not enlarge the product grid's scroll area. */
body[data-design-refresh] article.dr-product::after{content:none!important;display:none!important}
@media(max-width:420px){
 .site-context__actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
 .site-context__actions>.site-action{min-width:0;min-height:44px;padding:8px;font-size:14px}
}
@media(max-width:760px){
 body:not([data-design-refresh]) .cookie-banner{left:10px!important;right:10px!important;bottom:calc(96px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;display:flex;align-items:flex-start;gap:12px;z-index:10030!important;box-sizing:border-box}
 body:not([data-design-refresh]) .cookie-banner>span{flex:1;min-width:0}
 body:not([data-design-refresh]) .cookie-banner>button{flex:0 0 auto;min-width:44px;min-height:44px;margin:0}
}

@media(min-width:760px){body[data-design-refresh] > header.dr-shell > .dr-categories{grid-template-columns:repeat(auto-fit,minmax(88px,1fr))}}

/* Keep contextual city copy inside the actual content column on narrow screens. */
body:not([data-design-refresh]) main .city-category-seo{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
.addon-native-close{position:absolute;right:8px;top:8px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:#f3f5f6;color:#17202a;font:28px/1 system-ui;cursor:pointer}
body:not([data-design-refresh]) .addon-box>h3{padding-right:44px}

body:not([data-design-refresh]) .wrap .city-switcher,body:not([data-design-refresh]) main .city-switcher{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
