/* MundoStores Site V161 — header/offcanvas/mobile e conversão */
:root{--ms-site161-header:86px;--ms-site161-search:68px}
.lc-header .navbar{box-shadow:0 8px 24px rgba(15,23,42,.08)!important}
.lc-header .navbar-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-width:0!important}
.lc-header .navbar-brand img{object-fit:contain!important;object-position:left center!important}
.offcanvas#offcanvasNavbar{border:0!important;background:#f7faff!important;box-shadow:-24px 0 70px rgba(15,23,42,.22)!important}
#offcanvasNavbar .offcanvas-header{padding:14px 16px!important;background:linear-gradient(135deg,#fff,#eef6ff)!important;border-bottom:1px solid #dbe7f2!important}
#offcanvasNavbar .offcanvas-header img{height:62px!important;max-height:62px!important;max-width:260px!important;width:auto!important;object-fit:contain!important;object-position:left center!important}
#offcanvasNavbar .offcanvas-body{display:flex!important;flex-direction:column!important;padding:14px!important;overflow:auto!important}
#offcanvasNavbar .lc-mobile-nav{display:grid!important;gap:5px!important}
#offcanvasNavbar .lc-mobile-nav .nav-link{display:flex!important;align-items:center!important;min-height:48px!important;padding:10px 12px!important;border:1px solid #e2eaf3!important;border-radius:13px!important;background:#fff!important;color:#17324d!important;box-shadow:0 5px 14px rgba(15,23,42,.035)!important}
#offcanvasNavbar .lc-mobile-nav .nav-link:hover{background:#eef6ff!important;border-color:#bcdcff!important;color:#075dc9!important}
#offcanvasNavbar .lc-mobile-user{padding:12px!important;border-radius:15px!important}
#offcanvasNavbar .lc-offcanvas-search{padding:10px!important;border-radius:16px!important;background:#fff!important;border:1px solid #dbe7f2!important;box-shadow:0 7px 18px rgba(15,23,42,.05)!important}
#offcanvasNavbar .btn{min-height:46px!important}
.lc-mobile-actions .lc-icon-pill,.lc-header .navbar-toggler{box-shadow:0 5px 16px rgba(15,23,42,.06)!important}

/* Chat do site/produto e pedidos do cliente */
.live-chat-widget,.lc-chat-widget,[data-live-chat-widget]{max-width:min(410px,calc(100vw - 18px))!important}
.live-chat-widget :where(input,textarea,select),.lc-chat-widget :where(input,textarea,select){font-size:16px!important}
.chat-container{min-width:0!important;overflow:hidden!important}
.chat-messages,.chat-box{overscroll-behavior:contain!important;scrollbar-gutter:stable!important}
.chat-bubble{overflow-wrap:anywhere!important;word-break:break-word!important}
.chat-input-wrapper{display:flex!important;align-items:flex-end!important;gap:5px!important;min-width:0!important}
.chat-input-wrapper textarea{min-width:0!important;flex:1 1 auto!important;font-size:16px!important}

/* Carrinho e produto: largura útil, botões e cards sem esmagar */
.product-page,.produto-page,.cart-page,.carrinho-page{min-width:0!important}
.product-page :where(.row,[class*="col-"]),.produto-page :where(.row,[class*="col-"]),.cart-page :where(.row,[class*="col-"]),.carrinho-page :where(.row,[class*="col-"]){min-width:0!important}
.product-page img,.produto-page img,.cart-page img,.carrinho-page img{max-width:100%!important}
.product-page :where(.btn,button),.produto-page :where(.btn,button),.cart-page :where(.btn,button),.carrinho-page :where(.btn,button){touch-action:manipulation!important}

@media(max-width:991.98px){
  :root{--lc-header-h:92px!important;--lc-header-h-small:92px!important;--ms-site161-header:92px}
  body{padding-top:var(--lc-header-h)!important}
  body.lc-has-smart-strip{padding-top:calc(var(--lc-header-h) + var(--lc-strip-h) + var(--lc-mobile-search-h,70px))!important}
  .lc-header .navbar,.lc-header .navbar.scrolled{height:var(--lc-header-h)!important;min-height:var(--lc-header-h)!important}
  .lc-header .navbar .container-xl{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;gap:7px!important;padding-left:10px!important;padding-right:8px!important}
  .lc-header .navbar-brand{flex:0 1 auto!important;margin:0 auto 0 0!important;max-width:190px!important;min-width:120px!important}
  .lc-header .navbar-brand img,.lc-header .navbar.scrolled .navbar-brand img{height:58px!important;max-height:58px!important;max-width:186px!important;width:auto!important}
  .lc-mobile-actions{display:flex!important;flex:0 0 auto!important;gap:5px!important;margin:0!important}
  .lc-mobile-actions .lc-icon-pill{width:42px!important;height:42px!important;border-radius:13px!important}
  .lc-header .navbar-toggler{width:42px!important;height:42px!important;min-width:42px!important;margin:0!important;padding:0!important;border-radius:13px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
  .offcanvas#offcanvasNavbar{width:min(430px,100vw)!important;max-width:100vw!important}
  .lc-mobile-search-strip{top:var(--lc-header-h)!important}
  .lc-smart-strip,.lc-header .navbar.scrolled + .lc-smart-strip{top:calc(var(--lc-header-h) + var(--lc-mobile-search-h,70px))!important}
}
@media(max-width:575.98px){
  :root{--lc-header-h:88px!important;--lc-header-h-small:88px!important}
  .lc-header .navbar-brand{max-width:172px!important;min-width:108px!important}
  .lc-header .navbar-brand img,.lc-header .navbar.scrolled .navbar-brand img{height:55px!important;max-height:55px!important;max-width:168px!important}
  .lc-mobile-actions .lc-icon-pill{width:40px!important;height:40px!important}
  .lc-header .navbar-toggler{width:40px!important;height:40px!important;min-width:40px!important}
  #offcanvasNavbar .offcanvas-header img{height:58px!important;max-height:58px!important;max-width:230px!important}
  #offcanvasNavbar .offcanvas-body{padding:11px!important}
  .live-chat-widget,.lc-chat-widget,[data-live-chat-widget]{left:7px!important;right:7px!important;bottom:max(7px,env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important}
  .chat-container{height:calc(100dvh - 135px)!important;min-height:470px!important}
  .chat-bubble{max-width:94%!important}
}
@media(max-width:390px){
  .lc-header .navbar .container-xl{gap:4px!important;padding-inline:7px!important}
  .lc-header .navbar-brand{max-width:142px!important;min-width:94px!important}
  .lc-header .navbar-brand img,.lc-header .navbar.scrolled .navbar-brand img{height:50px!important;max-height:50px!important;max-width:138px!important}
  .lc-mobile-actions{gap:3px!important}
  .lc-mobile-actions .lc-icon-pill,.lc-header .navbar-toggler{width:38px!important;height:38px!important;min-width:38px!important}
}
