/* UI-36: correct real profile renderer and orders hub, not the legacy profile. */
html body #root .food-shell:has(>.ca80x-page>.ca80x-profile-title){height:calc(100dvh - 66px)!important;max-height:calc(100dvh - 66px)!important;min-height:0!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
html body #root .food-shell>.ca80x-page:has(>.ca80x-profile-title){display:flex!important;flex-direction:column!important;box-sizing:border-box!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:100%!important;overflow:hidden!important;padding:8px 14px 4px!important;gap:0!important;margin:0 auto!important}
html body #root .ca80x-page>.ca80x-profile-title{font-size:20px!important;line-height:24px!important;margin:0 0 4px!important;flex:none!important}
html body #root .ca80x-page>.ca80x-person.ca80x-person-compact{padding:7px 9px!important;margin:3px 0 5px!important;gap:8px!important;flex:none!important}
html body #root .ca80x-page .ca80x-person-data.ca80x-person-data-compact{gap:3px 5px!important}
html body #root .ca80x-page .ca80x-person-data-compact .ca80x-person-row{padding:4px 7px!important}
html body #root .ca80x-page .ca80x-person-data-compact #ca80x-phone{padding:5px 7px!important}
html body #root .ca80x-page .ca80x-person-data-compact .ca80x-inline-btn{padding:5px 7px!important}
html body #root .ca80x-page>.ca80x-profile-grid{position:static!important;top:auto!important;z-index:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;flex:0 1 auto!important;min-height:0!important;overflow:visible!important;background:transparent!important;margin:3px 0!important;padding:0!important;box-shadow:none!important}
html body #root .ca80x-page>.ca80x-profile-grid>button{width:100%!important;min-width:0!important;min-height:0!important;height:clamp(57px,9.4dvh,80px)!important;max-height:80px!important;padding:5px 4px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;background:#fff!important;border:1px solid #e2e9f0!important;border-radius:14px!important;box-shadow:0 3px 10px rgba(20,58,83,.08)!important;font-size:10.5px!important;line-height:1.15!important;text-align:center!important;white-space:normal!important}
html body #root .ca80x-page>.ca80x-profile-grid>button .ca80x-grid-icon{width:29px!important;height:29px!important;font-size:18px!important;border-radius:9px!important}
html body #root .ca80x-page>.ca80x-logout-modern{flex:none!important;margin:4px 0 0!important;padding:8px 9px!important;min-height:34px!important}
/* Orders: move the cart area visibly lower, rather than translating only its graphic. */
html body #root .ca84-order-hub>.ca84-carts{margin-top:27px!important;padding-top:22px!important;min-height:0!important;box-sizing:border-box!important}
html body #root .ca84-order-hub .ca84-empty-cart{position:static!important;top:auto!important;transform:none!important;margin:0!important;padding:0 4px!important}
html body #root .ca84-order-hub .ca84-carts #ca84-cart-list{min-height:0!important}
/* Keep catalog header and scrolling untouched. Only remove container background behind buttons. */
html body #root .food-wrap.ca111-catalog>.ca96-toolbar{background:transparent!important;border:none!important;box-shadow:none!important;outline:0!important}
@media(max-height:720px){html body #root .ca80x-page>.ca80x-person.ca80x-person-compact{padding:5px 8px!important}html body #root .ca80x-page>.ca80x-profile-grid>button{height:clamp(49px,8.2dvh,66px)!important}html body #root .ca80x-page>.ca80x-profile-grid>button .ca80x-grid-icon{width:25px!important;height:25px!important;font-size:16px!important}html body #root .ca80x-page>.ca80x-profile-title{font-size:18px!important}}
