/* MiriaSmile V12.43: navegação da home sem sobreposição. */
.site-header{isolation:isolate}
.site-header .brand{min-width:0!important;width:100%!important;max-width:180px!important}
.site-header .brand-logo-img{width:100%!important;max-width:180px!important;height:auto!important;object-fit:contain}
.site-header .main-nav{min-width:0!important}
.site-header .main-nav a{flex-shrink:0;line-height:1.4!important}
.site-header .site-header-actions{flex-shrink:0}
.site-header .home-menu-account{display:none!important}
@media(min-width:1101px) and (max-width:1700px){
 .site-header{height:auto!important;min-height:112px!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:64px auto!important;gap:0 20px!important;padding:0 22px 10px!important}
 .site-header .brand{grid-column:1;grid-row:1}
 .site-header .menu-toggle{display:none!important}
 .site-header .site-header-actions{grid-column:2;grid-row:1;height:auto!important}
 .site-header .main-nav{grid-column:1/-1;grid-row:2;position:static!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:4px 18px!important;padding:7px 0 0!important;border-top:1px solid #f1e6ea;box-shadow:none!important;background:transparent!important}
 .site-header .main-nav a{padding:7px 0!important;min-height:34px!important;font-size:12px!important;border:0!important}
 .site-header .main-nav a:after{bottom:0!important}
}
@media(min-width:1701px){
 .site-header{grid-template-columns:180px minmax(0,1fr) auto!important;gap:22px!important}
 .site-header .main-nav{position:static!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:16px!important;padding:0!important}
 .site-header .main-nav a{font-size:12px!important}
 .site-header .menu-toggle{display:none!important}
}
@media(max-width:1100px){
 .site-header{position:relative!important;width:calc(100% - 24px)!important;height:72px!important;min-height:72px!important;margin:10px auto 0!important;padding:0 14px!important;grid-template-columns:minmax(0,1fr) auto auto!important;gap:10px!important;overflow:visible!important}
 .site-header .brand{grid-column:1;grid-row:1;max-width:170px!important}
 .site-header .site-header-actions{grid-column:2;grid-row:1;gap:8px!important;height:auto!important}
 .site-header .menu-toggle{grid-column:3;grid-row:1;display:flex!important;flex-direction:column;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;padding:5px!important;cursor:pointer;border-radius:10px;background:#fff7fa}
 .site-header .menu-toggle span{width:22px;margin:3px 0!important;flex:none}
 .site-header .site-account-link,.site-header .header-whatsapp{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding:0!important;border-radius:12px!important}
 .site-header .site-account-link span,.site-header .header-whatsapp span{display:none!important}
 .site-header .header-whatsapp:before{content:none!important}
 .site-header .header-whatsapp svg{display:block!important;width:22px!important;height:22px!important;flex:none}
 .site-header .main-nav{position:absolute!important;inset:calc(100% + 8px) 0 auto!important;display:none!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;padding:10px 16px!important;border:1px solid #f1dce5;border-radius:16px;background:#fff!important;box-shadow:0 18px 40px #38192b24!important;max-height:calc(100vh - 104px);max-height:calc(100dvh - 104px);overflow-y:auto;overscroll-behavior:contain}
 .site-header .main-nav.open{display:flex!important}
 .site-header .main-nav a{display:flex!important;width:100%;min-height:46px!important;padding:12px 4px!important;font-size:14px!important;white-space:normal!important;gap:10px!important;border-bottom:1px solid #f5e9ee!important}
 .site-header .main-nav a:last-child{border-bottom:0!important}
 .site-header .main-nav a:after{display:none!important}
 .site-header .main-nav a>svg{width:18px!important;height:18px!important;min-width:18px!important;flex:none}
 .site-header .main-nav .home-menu-account{display:flex!important;color:#bd326d;background:#fff7fa;border-radius:9px;margin-top:6px;padding:12px!important}
}
@media(max-width:360px){
 .site-header{width:calc(100% - 16px)!important;padding:0 10px!important;gap:6px!important}
 .site-header .brand{max-width:120px!important}
 .site-header .site-header-actions{gap:5px!important}
}

/* Shared headers must not rely on a page-specific icon rule. */
.site-header{display:grid!important;align-items:center!important;box-sizing:border-box;z-index:100!important}
.site-header .site-header-actions{display:flex!important;align-items:center!important;gap:8px}
.site-header .site-account-link{display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.site-header .site-account-link svg,.site-header .main-nav svg{width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px!important;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-header .main-nav a{display:flex;align-items:center;gap:7px}
.site-header .menu-toggle{border:0}
.site-header .menu-toggle span{display:block!important;background:#302530!important;height:2px!important;border-radius:2px}
@media(max-width:1100px){
 .site-header .site-account-link svg{width:22px!important;height:22px!important}
 .site-header .site-account-link{border:1px solid #efdee6;background:#fff7fa;color:#302530}
 .site-header .main-nav{box-sizing:border-box;z-index:101!important}
 .site-header .brand-logo-img{display:block!important;max-height:44px!important}
 .footer-nav,.mp-footer nav,.lp-footer nav{display:flex;flex-wrap:wrap;gap:8px 18px}
 .footer-nav a,.mp-footer nav a,.lp-footer nav a{min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}
 .decor-detail-page .decor-detail-main{padding-left:16px!important;padding-right:16px!important}
 .decor-detail-page .decor-breadcrumb{font-size:12px!important;line-height:1.6!important;overflow-wrap:anywhere}
 .decor-detail-page .decor-info-card{min-width:0;padding:22px 18px!important}
 .decor-detail-page .decor-info-card h1{font-size:clamp(27px,6.8vw,34px)!important;line-height:1.16!important;letter-spacing:-.025em!important;margin:10px 0 16px!important;overflow-wrap:anywhere}
 .decor-detail-page .decor-lead,.decor-detail-page .decor-copy p{font-size:15px!important;line-height:1.7!important}
 .decor-detail-page .decor-kicker{font-size:10px!important;letter-spacing:.12em!important}
 .decor-detail-page .decor-included h2,.decor-detail-page .decor-copy h2,.decor-detail-page .decor-faq h2,.decor-detail-page .decor-related h2{font-size:23px!important;line-height:1.3!important}
 .mpd-info h1{font-size:28px!important;line-height:1.2!important;overflow-wrap:anywhere}
 .lp-header-inner{min-width:0;flex-wrap:wrap!important;gap:10px!important}
 .lp-header-inner>a:first-child{flex:1 1 120px;min-width:0}
 .lp-header-inner>a:first-child img{max-width:145px;width:100%;height:auto}
 .lp-header .lp-btn-small{font-size:12px;min-height:44px;padding:10px 12px;white-space:normal}
 .lp-header nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;order:3;width:100%;gap:0 8px!important}
 .lp-header nav a{white-space:normal!important;min-width:0;min-height:44px!important;font-size:12px;line-height:1.4}
 .mp-advertiser-bottom{box-sizing:border-box;max-width:100%;padding-bottom:env(safe-area-inset-bottom)}
 .mp-advertiser-bottom a{min-width:0;min-height:48px;font-size:11px;overflow-wrap:anywhere}
 .mp-advertiser-bottom svg{width:21px;height:21px;flex-shrink:0}
}
@media(max-width:900px){
 .app-body .sidebar{max-width:calc(100vw - 48px);height:100dvh;overflow-y:auto}
 .app-body .mobile-bottom a{min-width:0;min-height:48px}
 .app-body .mobile-bottom{padding-bottom:env(safe-area-inset-bottom)}
}

/* V12.47: cabeçalho desktop compartilhado, sem mudar regras mobile. */

@media(min-width:1101px){
 header.site-header[data-header]{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:68px auto!important;align-items:center!important;gap:0 24px!important;width:calc(100% - 48px)!important;max-width:1600px!important;height:auto!important;min-height:118px!important;padding:0 28px 12px!important;margin:14px auto 18px!important;box-sizing:border-box!important}
 header.site-header[data-header]>.brand{grid-column:1!important;grid-row:1!important;justify-self:start!important;align-self:center!important;display:block!important;height:auto!important;min-height:0!important;max-height:48px!important;padding:0!important;line-height:1!important;width:180px!important;min-width:0!important;max-width:180px!important;margin:0!important}
 header.site-header[data-header] .brand-logo-img{display:block!important;width:180px!important;max-width:100%!important;height:auto!important;max-height:48px!important;object-fit:contain!important}
 header.site-header[data-header]>.site-header-actions{grid-column:2!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;height:auto!important;margin:0!important}
 header.site-header[data-header]>.main-nav{grid-column:1/-1!important;grid-row:2!important;position:static!important;inset:auto!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:center!important;gap:4px 22px!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:10px 0 0!important;background:transparent!important;border:0!important;border-top:1px solid #f3e5ec!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;max-height:none!important;transform:none!important}
 header.site-header[data-header]>.main-nav>a{display:inline-flex!important;align-items:center!important;gap:7px!important;flex:0 0 auto!important;width:auto!important;min-height:34px!important;padding:7px 0!important;font-size:12px!important;line-height:1.4!important;white-space:nowrap!important}
 header.site-header[data-header]>.main-nav>a.home-menu-account{display:none!important}
 header.site-header[data-header]>.main-nav>a:after{bottom:0!important}
 header.site-header[data-header]>.main-nav>a>svg{width:16px!important;height:16px!important;min-width:16px!important;flex:0 0 16px!important}
 header.site-header[data-header]>.menu-toggle{display:none!important}
 header.site-header[data-header] .site-account-link,header.site-header[data-header] .header-whatsapp{min-height:42px!important;height:42px!important;box-sizing:border-box!important;padding:0 16px!important;white-space:nowrap!important}
}

/* V12.49: título da decoração discreto no desktop. */
@media(min-width:1101px){
 .decor-detail-page .decor-info-card h1{font-size:clamp(36px,2.6vw,46px)!important;line-height:1.18!important;font-weight:500!important;letter-spacing:-.025em!important;margin:10px 0 20px!important;overflow-wrap:anywhere}
}
