/* Correções globais de responsividade — Estética Radiante */
*,*::before,*::after{box-sizing:border-box}html,body{max-width:100%;overflow-x:hidden}img,video,canvas,svg{max-width:100%}img,video{height:auto}iframe{max-width:100%;width:100%}input,select,textarea,button{max-width:100%;min-width:0}.container,.container-fluid{max-width:1180px;width:min(1180px,calc(100% - 32px));margin-inline:auto}.logo,.menu,.carousel.slide,.divisor{max-width:1100px;width:min(1100px,calc(100% - 32px))!important;margin-inline:auto!important}.form-grid,.service-modal-grid,.produto-modal-grid,.container-rodape,.admin-workspace,.dashboard-grid,.content-grid{min-width:0}.form-card,.panel,.card{min-width:0}.service-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.service-modal-share{border:1px solid currentColor;cursor:pointer}.service-modal-box,.produto-modal-box{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.table-wrap,.admin-table-wrap,[class*="table-wrap"]{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
@media(max-width:1100px){.container-rodape{grid-template-columns:repeat(2,minmax(0,1fr))!important}.admin-workspace,.dashboard-grid,.content-grid{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:820px){.container,.container-fluid{width:calc(100% - 28px)!important}.logo,.menu,.carousel.slide,.divisor{width:calc(100% - 28px)!important}.logo{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:14px!important}.logo-img{width:60px!important;height:60px!important;object-fit:cover}.form-grid,.service-modal-grid,.produto-modal-grid,.ratings-grid,.location-grid,.container-rodape{grid-template-columns:1fr!important}.service-modal-actions{grid-template-columns:1fr}.user-menu-trigger{width:56px!important;min-width:56px!important;max-width:56px!important;height:56px!important;min-height:56px!important;padding:4px!important;border-radius:50%!important;display:grid!important;place-items:center!important}.user-avatar{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;aspect-ratio:1!important;border-radius:50%!important;object-fit:cover!important}.user-trigger-content,.user-trigger-label,.user-trigger-name,.user-trigger-chevron{display:none!important}.user-dropdown{position:fixed!important;left:12px!important;right:12px!important;top:76px!important;width:auto!important;max-width:none!important;max-height:calc(100dvh - 90px)!important;overflow:auto!important}.sidebar{max-width:100%!important}.topbar{gap:10px!important}}
@media(max-width:576px){body{font-size:15px}.container,.container-fluid{width:calc(100% - 20px)!important}.logo,.menu,.carousel.slide,.divisor{width:calc(100% - 20px)!important}.logo{grid-template-columns:52px minmax(0,1fr) 42px 42px;padding:10px!important}.logo-img{width:52px!important;height:52px!important}.est{font-size:clamp(1.45rem,7vw,2rem)!important}.cab{font-size:.72rem!important}.shop-tabs{display:flex!important;justify-content:flex-start!important;overflow-x:auto;gap:8px!important;scrollbar-width:none}.shop-tabs::-webkit-scrollbar{display:none}.shop-tab{flex:0 0 auto;white-space:nowrap}.service-modal-box,.produto-modal-box{max-width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px)!important;margin:6px!important;padding:12px!important}.admin-layout,.app-shell,.professional-layout,.client-layout{max-width:100%!important;min-width:0!important}.sidebar{max-width:100%!important}.topbar{flex-wrap:wrap!important}.form-actions,.toolbar,.admin-toolbar,[class*="actions"]{flex-wrap:wrap}.form-actions>*{flex:1 1 160px}.fab-whats{right:12px!important;bottom:max(12px,env(safe-area-inset-bottom))!important}}
@media(max-width:420px){.logo{grid-template-columns:48px minmax(0,1fr) 40px 40px}.logo-img{width:48px!important;height:48px!important}.cab{display:none}.service-modal-actions{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* Login/menu final: não transformar o dropdown em painel de largura total */
@media(max-width:1100px){
  .login{margin-left:auto!important;display:flex!important;justify-content:flex-end!important;min-width:0!important}
  .user-menu{margin-left:auto!important;width:auto!important;max-width:none!important}
  .user-menu-trigger{width:46px!important;min-width:46px!important;max-width:46px!important;height:46px!important;min-height:46px!important;max-height:46px!important;padding:3px!important;border-radius:50%!important;display:grid!important;place-items:center!important;overflow:hidden!important}
  .user-menu-trigger .user-avatar,.user-avatar{width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;max-height:38px!important;aspect-ratio:1/1!important;border-radius:50%!important;object-fit:cover!important}
  .user-trigger-content,.user-trigger-label,.user-trigger-name,.user-trigger-chevron,.user-menu-cue,.user-menu-cue-label{display:none!important}
  .user-dropdown{position:fixed!important;top:70px!important;right:10px!important;left:auto!important;width:min(328px,calc(100vw - 20px))!important;max-width:328px!important;max-height:calc(100dvh - 84px)!important;overflow:auto!important;border-radius:18px!important}
}
@media(max-width:480px){
  .user-menu-trigger{width:42px!important;min-width:42px!important;max-width:42px!important;height:42px!important;min-height:42px!important;max-height:42px!important}
  .user-menu-trigger .user-avatar,.user-avatar{width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important}
  .user-dropdown{top:62px!important;right:8px!important;width:min(306px,calc(100vw - 16px))!important;max-width:306px!important;max-height:calc(100dvh - 74px)!important}
}
