:root{--primary:#123fd6;--secondary:#ffb300;--accent:#ff2b2b;--ink:#101828;--muted:#667085;--bg:#f5f7fb;--card:#fff;--radius:22px}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--ink)}a{text-decoration:none;color:inherit}.top{height:78px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:10px 5%;position:sticky;top:0;z-index:50;box-shadow:0 2px 15px #00000012}.brand img{height:60px;width:auto;object-fit:contain}.header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.header-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:#fff!important;padding:10px 12px;border-radius:999px;font-weight:900;font-size:12px;white-space:nowrap}.emergency-top{background:#d92d20}.utility-top{background:#2563eb}.menu-btn{border:0;background:var(--primary);width:46px;height:46px;border-radius:14px;display:flex;flex-direction:column;justify-content:center;gap:5px;padding:10px;cursor:pointer}.menu-btn i{display:block;height:3px;background:#fff;border-radius:4px}.menu{display:none;position:fixed;right:20px;top:70px;width:min(330px,calc(100% - 40px));background:#fff;border-radius:18px;padding:10px;box-shadow:0 20px 50px #0002;z-index:100}.menu.open{display:grid}.menu a{padding:13px 15px;border-radius:12px;font-weight:800;color:var(--menu-text,var(--header-text,#101828))}.menu a:hover{background:#eef2ff;color:var(--primary)}main{max-width:1180px;margin:auto;padding:18px}.hero{position:relative;overflow:hidden;border-radius:28px;background:#0c1c59;min-height:310px;box-shadow:0 14px 35px #0002}.slides{display:flex;transition:transform .5s}.slide{min-width:100%;height:310px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}.slide img{width:100%;height:100%;object-fit:contain;background:#0c1c59}.slide .fallback{padding:50px;color:#fff;text-align:center}.slide .fallback h2{font-size:40px;margin:0 0 8px}.slide a{position:absolute;inset:0}.dots{position:absolute;bottom:13px;left:0;right:0;text-align:center}.dot{display:inline-block;width:9px;height:9px;background:#fff9;border-radius:50%;margin:0 4px}.dot.active{background:#fff}.search-wrap{margin:24px auto 10px;position:relative;max-width:850px}.search{width:100%;padding:18px 22px;border:2px solid #e4e7ec;border-radius:18px;font-size:17px;outline:none;box-shadow:0 8px 25px #0000000d}.search:focus{border-color:var(--primary)}.suggestions{position:absolute;top:62px;left:0;right:0;background:#fff;border-radius:0 0 18px 18px;box-shadow:0 20px 40px #0002;z-index:40;overflow:hidden}.suggestions a{display:block;padding:12px 18px;border-bottom:1px solid #eee}.section-head{display:flex;align-items:end;justify-content:space-between;margin:28px 0 14px}.section-head h2{margin:0;font-size:25px}.section-head span{color:var(--muted);font-size:13px}.cat-scroller{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 2px 18px;scrollbar-width:none}.cat-scroller::-webkit-scrollbar{display:none}.cat{min-width:155px;scroll-snap-align:center;text-align:center}.cat-card{background:#fff;border-radius:50%;width:145px;height:145px;margin:auto;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 25px #00000012;border:5px solid #fff;transition:.25s;overflow:hidden}.cat-card:hover{transform:translateY(-6px) scale(1.03)}.cat-card img{width:100%;height:100%;object-fit:cover}.cat-name{font-weight:900;margin-top:10px;font-size:14px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.biz-card{background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 8px 25px #00000010;transition:.25s}.biz-card:hover{transform:translateY(-4px)}.biz-card img{width:100%;height:180px;object-fit:cover;background:#e9edf5}.biz-body{padding:15px}.biz-body h3{margin:0 0 7px;font-size:18px}.tag{display:inline-block;font-size:12px;padding:5px 8px;border-radius:999px;background:#eef2ff;color:var(--primary);font-weight:800}.status{font-size:12px;font-weight:900;margin-top:8px}.open{color:#129447}.closed{color:#d92d20}.detail{background:#fff;border-radius:28px;padding:24px;box-shadow:0 10px 35px #00000010}.detail-hero{display:grid;grid-template-columns:1.2fr .8fr;gap:25px}.main-photo{width:100%;height:420px;object-fit:cover;border-radius:22px}.gallery{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:10px}.gallery img{width:100%;height:80px;object-fit:cover;border-radius:12px}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 16px;border-radius:13px;font-weight:900;border:0;cursor:pointer;background:var(--primary);color:#fff}.btn.wa{background:#18a957}.btn.alt{background:#eef2ff;color:var(--primary)}.map{width:100%;height:300px;border:0;border-radius:18px}.page{background:#fff;padding:28px;border-radius:24px;box-shadow:0 10px 35px #0001}.page h1{margin-top:0}.admin{max-width:1180px;margin:auto;padding:25px}.admin-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.admin-nav a{background:#fff;padding:10px 14px;border-radius:10px;font-weight:800}.panel{background:#fff;padding:20px;border-radius:18px;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.form-grid .full{grid-column:1/-1}input,textarea,select{width:100%;padding:11px;border:1px solid #d0d5dd;border-radius:10px;font:inherit}textarea{min-height:130px}.table-wrap{overflow:auto}.admin table{width:100%;border-collapse:collapse}.admin th,.admin td{padding:10px;border-bottom:1px solid #eee;text-align:left;white-space:nowrap}.login{max-width:430px;margin:70px auto}.login .panel{box-shadow:0 15px 50px #0002}footer{margin-top:45px;background:#101828;color:#fff;padding:28px 6%;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer-link a{color:#ffd43b;font-weight:900}@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.detail-hero{grid-template-columns:1fr}}@media(max-width:600px){.top{height:78px;padding:7px 8px}.brand{flex:0 1 auto;min-width:0}.brand img{height:45px;max-width:78px}.home-top{width:35px;height:35px;margin-right:3px;border-radius:10px}.home-top svg{width:19px;height:19px}.header-actions{gap:4px;flex:0 0 auto}.header-action{width:68px;min-width:68px;height:48px;padding:5px 3px;border-radius:11px;gap:2px;flex-direction:column;font-size:8px;line-height:1.05;text-align:center;white-space:normal}.header-action span{display:block;max-width:100%;overflow:visible}.menu-btn{width:43px;height:43px;flex:0 0 43px;padding:9px}.hero,.slide{min-height:210px;height:210px}.slide .fallback h2{font-size:27px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cat{min-width:135px}.cat-card{width:125px;height:125px}.main-photo{height:260px}.gallery{grid-template-columns:repeat(3,1fr)}.form-grid{grid-template-columns:1fr}footer{font-size:13px}}

/* Atualização MR Guia: pesquisa e carrossel Coverflow */
.search-box{position:relative;display:flex;align-items:center;background:#fff;border:2px solid #e4e7ec;border-radius:18px;box-shadow:0 8px 25px #0000000d;overflow:hidden}.search-box:focus-within{border-color:var(--primary)}.search{border:0!important;box-shadow:none!important;border-radius:0!important;padding:17px 8px 17px 4px;flex:1;min-width:0}.search-icon{width:22px;height:22px;margin-left:18px;stroke:var(--muted);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.voice-btn,.submit-search{width:48px;height:48px;border:0;background:transparent;display:grid;place-items:center;cursor:pointer;color:#475467;border-radius:50%;flex:0 0 48px}.voice-btn:hover,.submit-search:hover{background:#f2f4f7}.voice-btn svg,.submit-search svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.voice-btn.listening{color:#d92d20;background:#fef3f2;animation:pulseVoice 1.2s infinite}.voice-status{min-height:0;text-align:center;font-size:12px;font-weight:800;color:var(--primary);margin-top:6px}.cat-carousel{position:relative;display:flex;align-items:center;gap:10px;overflow:hidden;padding:10px 0 24px}.cat-track{display:flex;align-items:center;justify-content:flex-start;gap:18px;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:18px max(10px,calc(50% - 135px));cursor:grab;touch-action:pan-y}.cat-track::-webkit-scrollbar{display:none}.cat-track.dragging{cursor:grabbing;scroll-snap-type:none}.cat-slide{--cat-color:#123fd6;flex:0 0 250px;scroll-snap-align:center;text-align:center;transform:scale(.76) rotateY(24deg);opacity:.48;filter:saturate(.75);transition:transform .45s ease,opacity .45s ease,filter .45s ease}.cat-slide:nth-child(even){transform:scale(.76) rotateY(-24deg)}.cat-slide.is-active{transform:scale(1.05) rotateY(0);opacity:1;filter:saturate(1)}.cat-card{width:230px;height:230px;margin:auto;border-radius:34px;background:linear-gradient(145deg,#fff,var(--cat-color));padding:7px;box-shadow:0 18px 38px color-mix(in srgb,var(--cat-color) 32%,transparent);position:relative;overflow:hidden}.cat-card img{border-radius:28px}.cat-glow{position:absolute;inset:auto -20% -35% -20%;height:50%;background:var(--cat-color);filter:blur(30px);opacity:.25}.cat-name{font-weight:900;margin-top:13px;font-size:15px;color:var(--ink)}.cat-slide.is-active .cat-name{color:var(--cat-color)}.cat-nav{width:46px;height:46px;border:0;border-radius:50%;background:#fff;color:var(--ink);box-shadow:0 8px 24px #0002;font-size:34px;line-height:1;cursor:pointer;z-index:5;flex:0 0 46px}.cat-nav:hover{background:var(--cat-color,#123fd6);color:#fff}.cat-nav.prev{margin-left:4px}.cat-nav.next{margin-right:4px}@keyframes pulseVoice{50%{transform:scale(1.08)}}@media(max-width:700px){
.search{font-size:15px;padding-left:3px}.search-icon{margin-left:14px}.voice-btn,.submit-search{width:43px;height:43px;flex-basis:43px}
.cat-carousel{position:relative;display:block;width:100%;padding:8px 0 24px;overflow:hidden}
.cat-nav{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;flex-basis:36px;font-size:25px;z-index:10;box-shadow:0 6px 18px #0002}
.cat-nav.prev{left:4px;margin:0}.cat-nav.next{right:4px;margin:0}
.cat-track{width:100%;gap:0;padding-left:calc(50% - 60px);padding-right:calc(50% - 60px);overflow-x:auto;scroll-snap-type:x mandatory}
.cat-slide{flex:0 0 120px;width:120px;transform:scale(.76) rotateY(16deg);opacity:.5}
.cat-slide:nth-child(even){transform:scale(.76) rotateY(-16deg)}
.cat-slide.is-active{transform:scale(1.08) rotateY(0);opacity:1;filter:saturate(1)}
.cat-card{width:112px;height:112px;border-radius:22px;padding:5px;box-shadow:0 12px 26px color-mix(in srgb,var(--cat-color) 30%,transparent)}
.cat-card img{border-radius:17px}.cat-name{font-size:12px;margin-top:8px;line-height:1.15}
}

/* Correção consolidada de layout e pesquisa */
html,body{max-width:100%;overflow-x:hidden}
main{width:100%;max-width:1216px;margin:0 auto;padding:18px 18px 40px}
.hero{width:100%;max-width:1180px;margin:0 auto;min-width:0}
.slides{width:100%;min-width:0;display:flex;flex-wrap:nowrap;will-change:transform}
.slide{flex:0 0 100%;min-width:100%;width:100%;box-sizing:border-box}
.slide img{display:block;max-width:100%;min-width:0}
.search-wrap{width:100%;max-width:850px}
.search-box{width:100%;min-height:58px;display:flex;align-items:center;gap:0;padding:0 6px 0 16px}
.search{flex:1 1 auto;width:auto;min-width:0;padding:16px 8px!important}
.search-actions{display:flex;align-items:center;gap:2px;flex:0 0 auto}
.search-icon{display:none!important}
.submit-search,.voice-btn{width:46px;height:46px;flex:0 0 46px;margin:0}
.submit-search{order:1}.voice-btn{order:2}
.submit-search svg,.voice-btn svg{width:23px;height:23px}
.suggestions{top:64px}
.cat-carousel{width:100%;max-width:1180px;margin:0 auto}
.cat-track{min-width:0}
.search-results{margin-top:10px}
.search-results .section-head{align-items:center}
.search-query{margin:5px 0 0;color:var(--muted)}
.results-subtitle{font-size:20px;margin:28px 0 14px}
.empty-search{background:#fff;border:1px solid #eaecf0;border-radius:18px;padding:28px;text-align:center;color:var(--muted)}
@media(max-width:700px){
  main{padding:14px 12px 30px}
  .hero{border-radius:22px}
  .slide,.hero{height:210px;min-height:210px}
  .search-box{min-height:56px;padding-left:13px;border-radius:18px}
  .search{font-size:15px;padding:15px 5px!important}
  .search-actions{gap:0}
  .submit-search,.voice-btn{width:44px;height:44px;flex-basis:44px}
  .submit-search svg,.voice-btn svg{width:22px;height:22px}
  .cat-carousel{padding-left:0;padding-right:0}
}
@media(min-width:701px){
  .hero{height:310px}
  .slide{height:310px}
}

@media(max-width:360px){.cat-track{padding-left:calc(50% - 53px);padding-right:calc(50% - 53px)}.cat-slide{flex-basis:106px;width:106px}.cat-card{width:98px;height:98px}.cat-name{font-size:11px}.cat-nav{width:32px;height:32px;font-size:22px}}

/* Atalho lateral para nova pesquisa */
.quick-search-tab{position:fixed;right:0;top:50%;transform:translateY(-50%);z-index:9999;width:48px;height:58px;display:flex;align-items:center;justify-content:center;gap:1px;background:#fff;color:var(--primary);border:1px solid #e4e7ec;border-right:0;border-radius:16px 0 0 16px;box-shadow:0 8px 24px #0002;cursor:pointer;transition:width .2s,box-shadow .2s}
.quick-search-tab:hover{width:56px;box-shadow:0 10px 28px #0003}
.quick-search-icon{display:flex;align-items:center;justify-content:center}
.quick-search-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.quick-search-plus{font-size:20px;font-weight:900;line-height:1;margin-top:-11px}
@media(max-width:600px){.quick-search-tab{width:44px;height:52px;border-radius:14px 0 0 14px}.quick-search-icon svg{width:20px;height:20px}.quick-search-plus{font-size:18px}}

/* Correção definitiva: aba lateral e página de comércio */
.detail{position:relative;overflow:hidden}
.detail-hero{width:100%;min-width:0}
.detail-media{min-width:0;width:100%}
.detail-media .main-photo{display:block;width:100%;max-width:100%;height:420px;min-height:0;object-fit:cover;border-radius:22px;background:#eef2f7}
.detail-info{min-width:0}
@media(max-width:900px){
 .detail-media .main-photo{height:300px}
}
@media(max-width:600px){
 .detail-media .main-photo{height:260px}
 .detail{padding:16px;border-radius:20px}
}


/* Galeria dinâmica da página do comércio */
.biz-gallery-carousel{position:relative;overflow:hidden;border-radius:22px;background:#101828;}
.biz-gallery-track{display:flex;overflow:hidden;scroll-behavior:smooth;touch-action:pan-y;cursor:grab;}
.biz-gallery-track:active{cursor:grabbing}
.biz-gallery-slide{flex:0 0 100%;min-width:100%;}
.biz-gallery-slide .main-photo{display:block;width:100%;height:420px;object-fit:cover;border-radius:0}
.biz-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#101828;font-size:32px;line-height:1;box-shadow:0 8px 24px #0004;cursor:pointer}
.biz-gallery-nav.prev{left:14px}.biz-gallery-nav.next{right:14px}
.biz-gallery-dots{position:absolute;left:0;right:0;bottom:12px;text-align:center;z-index:3}
.biz-gallery-dot{width:9px;height:9px;border:0;border-radius:50%;margin:0 4px;background:#ffffff99;cursor:pointer;padding:0}.biz-gallery-dot.active{background:#fff}
.gallery-thumbs{display:flex;gap:9px;margin-top:10px;overflow-x:auto;padding-bottom:3px}.gallery-thumb{border:2px solid transparent;padding:0;background:none;border-radius:12px;cursor:pointer;flex:0 0 78px}.gallery-thumb.active{border-color:var(--primary)}.gallery-thumb img{display:block;width:76px;height:62px;object-fit:cover;border-radius:10px}
.hours-box{margin:18px 0 8px;padding:15px;border:1px solid #eaecf0;border-radius:16px;background:#fbfcfe}.hours-box>strong{display:block;margin-bottom:8px}.hours-list{display:grid;gap:3px}.hours-row{display:flex;justify-content:space-between;gap:12px;padding:6px 8px;border-radius:8px;font-size:14px}.hours-row.today{background:#eef2ff;color:var(--primary);font-weight:900}.location-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.location-head h2{margin-bottom:10px}.location-head span{font-size:13px;color:var(--muted)}.map-shell{position:relative}.route-panel{position:absolute;left:14px;right:14px;bottom:14px;background:#fff;border-radius:16px;padding:15px;box-shadow:0 10px 35px #0003;z-index:4}.route-panel p{margin:6px 0 12px;color:var(--muted);font-size:13px}.route-panel[hidden]{display:none!important}
@media(max-width:600px){.biz-gallery-slide .main-photo{height:270px}.biz-gallery-nav{width:38px;height:38px;font-size:28px}.hours-row{font-size:13px}.route-panel{left:9px;right:9px;bottom:9px}.map{height:320px}}

/* Navegação interna no MR Guia */
.route-panel{max-height:calc(100% - 28px);overflow:auto}
.route-map{width:100%;height:300px;margin:12px 0;border-radius:14px;overflow:hidden;background:#eef2f7}
.route-info{padding:10px 12px;margin-bottom:10px;border-radius:10px;background:#f5f7fa;color:#344054;font-size:14px;font-weight:700}
.route-panel .btn{display:inline-flex;justify-content:center;align-items:center;border:0;cursor:pointer}
@media(max-width:600px){.route-panel{left:8px;right:8px;bottom:8px;padding:12px}.route-map{height:280px}.route-panel p{font-size:12px}}


/* Mapa totalmente interno ao MR Guia */
.map-shell{position:relative;width:100%;min-width:0}
#businessMap{width:100%;height:420px;border-radius:22px;overflow:hidden;background:#eef2f7}
.route-panel{position:relative;left:auto;right:auto;bottom:auto;margin-top:16px;max-height:none;overflow:visible;background:#fff;border-radius:20px;padding:18px;box-shadow:0 10px 35px #0002;z-index:4}
.route-panel[hidden]{display:none!important}
.route-map{width:100%;height:320px;margin:14px 0;border-radius:16px;overflow:hidden;background:#eef2f7}
@media(max-width:600px){#businessMap{height:320px;border-radius:18px}.route-panel{margin-top:12px;padding:15px;border-radius:18px}.route-map{height:280px}}


/* Google Maps — mapa do comércio dentro do MR Guia */
.google-map-wrap{position:relative;width:100%;height:420px;border-radius:22px;overflow:hidden;background:#eef2f7}
.google-map{display:block;width:100%;height:100%;border:0;border-radius:22px;background:#eef2f7}
.google-map-actions{display:flex;justify-content:flex-start;margin-top:12px}
.google-map-actions .btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
@media(max-width:600px){.google-map-wrap{height:320px;border-radius:18px}.google-map{border-radius:18px}.google-map-actions .btn{width:100%;text-align:center}}
/* Acesso administrativo discreto */
.admin-access{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:28px;padding:0 9px;margin-left:14px;border:1px solid rgba(255,255,255,.25);border-radius:8px;color:rgba(255,255,255,.72);font-size:11px;font-weight:800;letter-spacing:.08em;text-decoration:none;opacity:.72;transition:.2s}
.admin-access:hover{opacity:1;color:#fff;border-color:rgba(255,255,255,.55);transform:translateY(-1px)}
.breadcrumbs{max-width:1200px;margin:18px auto 10px;padding:0 18px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:13px;color:#64748b}
.breadcrumbs a{color:var(--primary);text-decoration:none;font-weight:700}.breadcrumbs a:hover{text-decoration:underline}.breadcrumbs span{overflow-wrap:anywhere}

/* Atributos personalizados dos comércios */
.attributes-admin{grid-column:1/-1;padding:18px;border:1px solid #dbe2ea;border-radius:16px;background:#f8fafc}.attributes-admin-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.attributes-admin-head h3{margin:0 0 6px}.attributes-admin-head p{margin:0;color:#667085}.attribute-admin-row{display:grid;grid-template-columns:1.2fr .9fr 1.4fr 1.5fr auto;gap:10px;align-items:center;padding:10px;margin-bottom:10px;background:#fff;border:1px solid #e5e7eb;border-radius:12px}.attribute-admin-row input,.attribute-admin-row select{width:100%;box-sizing:border-box}.attr-remove{border:0;background:#fee4e2;color:#b42318;padding:10px 12px;border-radius:9px;cursor:pointer;font-weight:700}.business-attributes{margin:18px 0;padding:18px;border-radius:18px;background:#f8fafc;border:1px solid #e5e7eb}.business-attributes h3{margin:0 0 14px}.business-attributes-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.business-attribute{display:flex;flex-direction:column;gap:7px;padding:14px;background:#fff;border:1px solid #e5e7eb;border-radius:13px}.business-attribute strong{font-size:14px}.business-attribute span{color:#344054;white-space:normal}.attribute-link{display:inline-flex;width:max-content;text-decoration:none}.business-attribute .attribute-link{margin-top:2px}
@media(max-width:700px){.attributes-admin-head{flex-direction:column}.attribute-admin-row{grid-template-columns:1fr}.business-attributes-grid{grid-template-columns:1fr}}

.btn.instagram{background:linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045);color:#fff}.btn.instagram svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;margin-right:8px}.btn.instagram svg .fill{fill:currentColor;stroke:none}


/* Organização do telefone na página do comércio */
.business-contact-phone{display:flex;align-items:baseline;gap:8px;margin:14px 0 12px;font-size:16px;line-height:1.4}
.business-contact-label{font-weight:800;color:var(--ink)}
.business-contact-number{font-weight:600;color:var(--ink);letter-spacing:.1px}
@media(max-width:700px){.business-contact-phone{font-size:15px;margin:12px 0 10px;gap:7px}}

/* Menu rápido exibido quando o cabeçalho mobile é escondido durante a rolagem */
.top{transition:transform .28s ease,box-shadow .28s ease}
@media(max-width:700px){
  .top.scroll-hidden{transform:translateY(-110%);box-shadow:none}
  .scroll-menu{position:fixed;right:8px;top:calc(50% + 38px);width:210px;max-height:58vh;overflow:auto;display:flex;flex-direction:column;gap:4px;padding:8px;background:rgba(255,255,255,.98);border:1px solid #e4e7ec;border-radius:16px;box-shadow:0 16px 40px rgba(0,0,0,.24);z-index:2147483646;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(18px);transition:opacity .22s ease,transform .22s ease,visibility .22s ease}
  .scroll-menu.show{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(0)}
  .scroll-menu a{display:block;padding:11px 13px;border-radius:11px;font-size:13px;font-weight:900;color:#101828;background:#fff}
  .scroll-menu a:active,.scroll-menu a:hover{background:#eef2ff;color:var(--primary)}
}

/* Configurações visuais independentes do MR Guia */
:root{--site-bg:#eef1f5;--site-bg2:#f8fafc;--header-bg:#fff;--header-text:#101828;--button-bg:#334155;--button-text:#fff;--button-border:#334155;--button-radius:13px;--footer-bg:#101828;--footer-text:#fff;--footer-accent:#ffd43b}
body{background-color:var(--site-bg);color:var(--ink)}
.top{background:var(--header-bg);color:var(--header-text)}
.top a{color:var(--header-text)}
.menu-btn{background:var(--button-bg)}
.btn:not(.wa):not(.instagram){background:var(--button-bg);color:var(--button-text);border:2px solid var(--button-border);border-radius:var(--button-radius)}
footer{background:var(--footer-bg);color:var(--footer-text);border-radius:var(--footer-radius,0) var(--footer-radius,0) 0 0}
footer .footer-link a{color:var(--footer-accent)}


/* CORRECAO GERAL MRGUIA - menu, banner e duas colunas */
.menu a{color:var(--menu-text,var(--header-text,#101828)) !important}
.menu a:hover,.menu a:focus{color:var(--menu-text,var(--header-text,#101828)) !important}
.slide img{object-fit:contain !important;width:100% !important;height:100% !important}
@media(max-width:600px){.grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:10px !important}.biz-card img{height:145px}.biz-body{padding:10px}.biz-body h3{font-size:14px}.tag{font-size:10px;padding:4px 6px}}
@media(max-width:700px){
 
 #scrollMenu{top:calc(50% + 126px)!important}
}
/* MR Guia - Notícias e Utilidade Pública */
.city-post-intro{margin:0 0 22px}.city-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.city-post-card{background:#fff;border:1px solid #e4e7ec;border-radius:18px;overflow:hidden;box-shadow:0 6px 20px rgba(16,24,40,.07);display:flex;flex-direction:column}.city-post-card>img{width:100%;height:145px;object-fit:cover;display:block}.city-post-card-body{padding:15px;display:flex;flex-direction:column;flex:1}.city-post-tag{font-size:11px;font-weight:800;letter-spacing:.05em;color:var(--primary,#123fd6);margin-bottom:6px}.city-post-card h2{font-size:18px;line-height:1.25;margin:0 0 8px}.city-post-card p{font-size:14px;line-height:1.5;color:#667085;margin:0 0 14px}.city-post-card .btn{align-self:flex-start;margin-top:auto;text-decoration:none}.city-post-empty{background:#fff;border:1px dashed #98a2b3;border-radius:16px;padding:30px;text-align:center;color:#667085}.city-post-detail{max-width:900px;margin:0 auto;background:#fff;border:1px solid #e4e7ec;border-radius:20px;padding:22px;box-shadow:0 8px 26px rgba(16,24,40,.07)}.city-post-back{display:inline-block;margin-bottom:14px;text-decoration:none;font-weight:700;color:var(--primary,#123fd6)}.city-post-detail h1{margin:0 0 18px}.city-post-cover{width:100%;max-height:480px;object-fit:cover;border-radius:15px;display:block;margin-bottom:22px}.city-post-content{font-size:16px;line-height:1.75;color:#344054}.city-post-content img{max-width:100%;height:auto;border-radius:12px}.city-post-content a{color:var(--primary,#123fd6)}.city-post-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:22px}.city-post-gallery img{width:100%;height:220px;object-fit:cover;border-radius:12px}.city-post-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.city-post-actions a{text-decoration:none}.city-post-detail .btn{display:inline-flex}@media(max-width:900px){.city-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.city-post-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.city-post-card>img{height:105px}.city-post-card-body{padding:10px}.city-post-card h2{font-size:15px}.city-post-card p{font-size:12px;margin-bottom:10px}.city-post-card .btn{font-size:12px;padding:8px 9px}.city-post-detail{padding:15px;border-radius:16px}.city-post-gallery{grid-template-columns:1fr}.city-post-gallery img{height:auto;max-height:300px}.city-post-cover{max-height:320px}}

/* CORREÇÃO FINAL MRGUIA - cache, banner e grade mobile */
@media(max-width:600px){
  .grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
  }
  .biz-card{min-width:0!important;width:100%!important;}
  .biz-card img{width:100%!important;height:145px!important;object-fit:cover!important;display:block!important;}
  .biz-body{min-width:0!important;overflow:hidden;}
  .biz-body h3{font-size:14px!important;overflow-wrap:anywhere;}
  .hero{width:100%!important;height:210px!important;min-height:210px!important;overflow:hidden!important;background:#fff!important;}
  .slides{width:100%!important;height:100%!important;display:flex!important;flex-wrap:nowrap!important;}
  .slide{flex:0 0 100%!important;width:100%!important;min-width:100%!important;height:100%!important;min-height:0!important;}
  .slide img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;background:#fff!important;}
}
@media(min-width:601px){
  .hero{width:100%!important;height:310px!important;min-height:310px!important;overflow:hidden!important;}
  .slides{width:100%!important;height:100%!important;display:flex!important;}
  .slide{flex:0 0 100%!important;width:100%!important;min-width:100%!important;height:100%!important;}
  .slide img{width:100%!important;height:100%!important;object-fit:contain!important;background:#fff!important;}
}

/* Horários com dois turnos */
.hours-row-extended{flex-wrap:wrap;gap:10px;align-items:center}
.hours-mode{min-height:42px;border:1px solid #ddd;border-radius:10px;padding:8px 10px;background:#fff;font-weight:700}
.hours-shift{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.hours-shift span:first-child{font-size:.82rem;font-weight:700}
.hours-shift.shift2{width:100%;padding-left:calc(25% + 10px)}
@media(max-width:700px){.hours-row-extended{display:grid;grid-template-columns:1fr 1fr}.hours-row-extended .day-check{grid-column:1}.hours-row-extended .hours-mode{grid-column:2}.hours-row-extended .hours-shift,.hours-row-extended .shift2{grid-column:1/-1;padding-left:0;width:auto}.hours-row-extended .day-status{grid-column:1/-1}}
.emergency-page{max-width:1000px;margin:18px auto}.emergency-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.emergency-kicker{display:inline-block;font-size:12px;font-weight:900;color:#d92d20;letter-spacing:.08em}.emergency-head h1{margin:5px 0;font-size:34px}.emergency-head p{margin:0;color:var(--muted)}.emergency-icon{font-size:58px}.emergency-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.emergency-card{background:#fff;border-radius:20px;padding:20px;box-shadow:0 8px 25px #00000010;border:1px solid #f0f2f5}.emergency-card h2{margin:0 0 12px;font-size:21px}.emergency-info{margin:7px 0;color:#344054}.emergency-notes{margin:13px 0;color:#667085;line-height:1.5}.emergency-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.emergency-call{background:#d92d20!important}.emergency-card .btn{font-size:13px}@media(max-width:600px){.header-action{padding:8px 7px}.emergency-grid{grid-template-columns:1fr}.emergency-head h1{font-size:28px}.emergency-icon{font-size:44px}}

/* MRGUIA - cabecalho fixo e botoes padronizados */
body{padding-top:78px}
.top{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;height:78px!important;z-index:2147483640!important;transform:none!important}
@media(max-width:600px){
  body{padding-top:78px}
  .top{height:78px!important;padding:7px 8px!important}
  .brand img{height:45px!important;max-width:62px!important}
  .home-top,.header-action,.menu-btn{width:56px!important;height:56px!important;min-width:56px!important;max-width:56px!important;flex:0 0 56px!important;margin:0!important;border-radius:12px!important;box-sizing:border-box!important}
  .home-top{padding:0!important}
  .home-top svg{width:25px!important;height:25px!important}
  .header-actions{gap:5px!important}
  .header-action{padding:4px 2px!important;gap:2px!important;font-size:7.5px!important;line-height:1.05!important;text-align:center!important;white-space:normal!important;flex-direction:column!important}
  .header-action span{display:block!important;max-width:100%!important;overflow:visible!important;word-break:normal!important}
  .menu-btn{padding:11px!important;gap:6px!important}
  .menu-btn i{height:3px!important}
}


/* MR Guia - correção responsiva dos banners fixos da Home */
.home-fixed-stack{
  position:fixed!important;
  top:78px!important;
  left:0!important;
  right:0!important;
  width:min(100%,700px)!important;
  max-width:100vw!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:0!important;
  z-index:2147483638!important;
  overflow:hidden!important;
  background:var(--header-bg,#fff)!important;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
}
.home-fixed-banner,
.home-fixed-city img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:calc(min(100vw,700px) * 0.12)!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:center!important;
  border:0!important;
  border-radius:0!important;
}
.home-fixed-city{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  line-height:0!important;
  overflow:hidden!important;
}
.home-fixed-spacer{
  display:block!important;
  width:100%!important;
  height:min(24vw,168px)!important;
  min-height:0!important;
  max-height:none!important;
  pointer-events:none!important;
}
.hero{
  height:217px!important;
  min-height:217px!important;
  overflow:hidden!important;
}
.slides,.slide{height:100%!important;min-height:0!important}
.slide img{width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important}
@media(max-width:600px){
  .home-fixed-stack{top:78px!important;width:100%!important;max-width:100vw!important}
  .home-fixed-spacer{height:calc(100vw * 0.24)!important}
  .hero{height:147px!important;min-height:147px!important;width:100%!important}
}


/* MR Guia - correção do menu no celular: HOME e CONTATO não ficam atrás dos banners fixos */
.menu{
  z-index:2147483647!important;
  max-height:calc(100vh - 90px)!important;
  max-height:calc(100dvh - 90px)!important;
  overflow-y:auto!important;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
  box-sizing:border-box!important;
}
.menu.open{display:grid!important;}
@media(max-width:600px){
  .menu{
    top:78px!important;
    right:8px!important;
    width:min(330px,calc(100vw - 16px))!important;
    max-height:calc(100vh - 88px)!important;
    max-height:calc(100dvh - 88px)!important;
    padding:10px!important;
  }
  .menu a{display:block!important;min-height:44px;box-sizing:border-box;padding:12px 15px!important;}
}
