@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=Roboto:wght@400;500;700;900&display=swap');
/* =========================================================
   MobyUP - detalhe do imóvel inspirado no padrão marketplace
   Layout clean, header branco e galeria/modal de mídia
   ========================================================= */

:root{
  --upz-bg:#f3f4f6;
  --upz-card:#fff;
  --upz-text:#191f33;
  --upz-muted:#667085;
  --upz-line:#e4e7ec;
  --upz-purple:#6d22e6;
  --upz-blue:#0ea5e9;
  --upz-green:#21a947;
  --upz-radius:16px;
  --upz-shadow:0 10px 28px rgba(16,24,40,.08);
}

body.up_zap_like_body{
  background:var(--upz-bg) !important;
  color:var(--upz-text);
}

body.up_zap_like_body .up_header,
body.up_zap_like_body .up_header_global{
  background:#fff !important;
  color:#111827 !important;
  border-bottom:1px solid #eaecf0;
  box-shadow:0 2px 12px rgba(16,24,40,.04);
}

body.up_zap_like_body .up_header_inner{
  min-height:78px;
}

body.up_zap_like_body .up_logo_img img{
  width:132px;
}

body.up_zap_like_body .up_nav a{
  color:#111827 !important;
  font-weight:800;
}

body.up_zap_like_body .up_nav a:hover{
  color:var(--upz-purple) !important;
}

body.up_zap_like_body .up_icon_link,
body.up_zap_like_body .up_btn_ghost{
  color:var(--upz-purple) !important;
  border:1px solid #7b2ff2 !important;
  background:#fff !important;
}

body.up_zap_like_body .up_btn_primary{
  color:#fff !important;
  background:var(--upz-purple) !important;
  border-color:var(--upz-purple) !important;
  box-shadow:none;
}

.up_zap_detail_main{padding:0 0 60px;}

/* Galeria topo */
.up_zap_gallery{
  position:relative;
  background:#fff;
  border-bottom:1px solid #e9edf3;
}

.up_zap_gallery_grid{
  display:grid;
  grid-template-columns:1.35fr .75fr 1.15fr;
  gap:3px;
  height:390px;
  overflow:hidden;
}

.up_zap_gallery_photo{
  border:0;
  padding:0;
  margin:0;
  display:block;
  overflow:hidden;
  cursor:pointer;
  background:#dfe6ee;
}

.up_zap_gallery_photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease, filter .25s ease;
}

.up_zap_gallery_photo:hover img{
  transform:scale(1.025);
  filter:brightness(.94);
}

.up_zap_media_buttons{
  position:absolute;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  display:flex;
  gap:12px;
  z-index:5;
}

.up_zap_media_buttons button{
  border:0;
  background:#fff;
  color:#25324b;
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  font-weight:900;
  font-size:15px;
  display:inline-flex;
  align-items:center;
  gap:9px;
  box-shadow:0 10px 26px rgba(16,24,40,.18);
  cursor:pointer;
}

.up_zap_media_buttons button:hover{
  transform:translateY(-1px);
  color:var(--upz-purple);
}

/* Estrutura principal */
.up_zap_page{
  width:min(1220px, calc(100% - 36px));
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:28px;
  align-items:start;
  padding-top:22px;
}

.up_zap_main_col{min-width:0;}
.up_zap_sidebar{
  position:sticky;
  top:96px;
  display:grid;
  gap:16px;
  z-index:4;
}

.up_zap_breadcrumb{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
  font-size:13px;
}

.up_zap_breadcrumb a{
  color:#121826;
  text-decoration:underline;
  font-weight:800;
}

.up_zap_breadcrumb span{color:#98a2b3;}

.up_zap_tags_actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 14px;
}

.up_zap_tags{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.up_zap_tags span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border:1px solid #111827;
  border-radius:8px;
  background:#fff;
  color:#111827;
  font-size:13px;
  font-weight:800;
}

.up_zap_action_links{
  display:flex;
  align-items:center;
  gap:18px;
}

.up_zap_action_links a,
.up_zap_action_links button{
  border:0;
  background:transparent;
  color:#111827;
  font-size:15px;
  font-weight:800;
  text-decoration:underline;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  padding:0;
}

.up_zap_action_links .up_favorito_active,
.up_zap_action_links .btn-favorito-active{
  color:#d92d20;
}

/* Cards */
.up_zap_summary_card,
.up_zap_card,
.up_zap_advertiser_card,
.up_zap_contact_card{
  background:var(--upz-card);
  border:1px solid var(--upz-line);
  border-radius:14px;
  box-shadow:none;
}

.up_zap_summary_card{
  display:grid;
  grid-template-columns:minmax(0,1fr) 420px;
  overflow:hidden;
  margin-bottom:18px;
}

.up_zap_summary_text{
  padding:26px;
  border-right:1px solid var(--upz-line);
}

.up_zap_summary_text h1{
  margin:0 0 16px;
  color:#111827;
  font-size:28px;
  line-height:1.25;
  font-weight:900;
  letter-spacing:-.02em;
}

.up_zap_address{
  color:#344054;
  font-weight:700;
  margin:0 0 18px;
}

.up_zap_specs{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  background:#f5f6f8;
  border-radius:10px;
  padding:10px;
  margin:0 0 14px;
}

.up_zap_specs div{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:8px 10px;
}

.up_zap_specs span{
  font-size:12px;
  color:#667085;
}

.up_zap_specs strong{
  color:#25324b;
  font-size:15px;
}

.up_zap_mini_features{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  background:#f5f6f8;
  border-radius:10px;
  padding:10px 12px;
  margin-bottom:16px;
}

.up_zap_mini_features span,
.up_zap_mini_features a{
  color:#1d2939;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
}

.up_zap_publish{
  color:#667085;
  margin:18px 0 0;
  font-size:14px;
  display:flex;
  align-items:center;
  gap:8px;
}

.up_zap_summary_map{
  padding:26px;
}

.up_zap_summary_map h3{
  margin:0 0 12px;
  font-size:26px;
  color:#111827;
  font-weight:900;
}

.up_zap_summary_map p{
  color:#475467;
  margin:0 0 12px;
  font-weight:700;
}

.up_zap_summary_map iframe{
  width:100%;
  height:132px;
  border:0;
  border-radius:10px;
  background:#e7edf5;
}

.up_zap_summary_map button{
  margin-top:12px;
  border:1px solid #111827;
  background:#fff;
  color:#111827;
  min-height:38px;
  padding:0 16px;
  border-radius:999px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.up_zap_card{
  padding:24px 26px;
  margin-bottom:18px;
}

.up_zap_card h2{
  margin:0 0 18px;
  color:#111827;
  font-size:25px;
  line-height:1.2;
  font-weight:900;
}

.up_zap_values{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.up_zap_values div{
  background:#f7f8fa;
  border-radius:12px;
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.up_zap_values span{
  color:#667085;
  font-weight:700;
  font-size:13px;
}

.up_zap_values strong{
  color:#111827;
  font-size:18px;
}

.up_zap_features_tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  border-bottom:1px solid var(--upz-line);
  margin-bottom:18px;
}

.up_zap_features_tabs button{
  border:0;
  background:transparent;
  color:#111827;
  padding:0 0 16px;
  font-weight:900;
  cursor:pointer;
  border-bottom:3px solid transparent;
}

.up_zap_features_tabs button.active{
  color:var(--upz-purple);
  border-bottom-color:var(--upz-purple);
}

.up_zap_features_list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}

.up_zap_features_list span{
  display:flex;
  align-items:center;
  gap:10px;
  color:#344054;
  font-size:16px;
}

.up_zap_features_list i{
  color:#20b15a;
}

.up_zap_description{
  color:#344054;
  line-height:1.85;
  font-size:16px;
}

.up_zap_phone_line{
  font-weight:800;
  color:#111827;
}

.up_zap_security p{
  display:flex;
  align-items:center;
  gap:12px;
  color:#344054;
}

.up_zap_security a{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid #111827;
  border-radius:999px;
  min-height:40px;
  padding:0 18px;
  color:#111827;
  font-weight:900;
  text-decoration:none;
}

/* Sidebar */
.up_zap_advertiser_card{
  display:grid;
  grid-template-columns:58px minmax(0,1fr);
  gap:14px;
  padding:18px;
  margin-top:-72px;
  position:relative;
  z-index:10;
  box-shadow:0 16px 34px rgba(16,24,40,.12);
}

.up_zap_advertiser_logo{
  width:58px;
  height:58px;
  border-radius:10px;
  border:1px solid #e4e7ec;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.up_zap_advertiser_logo img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.up_zap_advertiser_logo span{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:linear-gradient(135deg,#0ea5e9,#6d22e6);
  font-size:26px;
  font-weight:900;
}

.up_zap_advertiser_info strong{
  color:#111827;
  font-size:15px;
  line-height:1.25;
  display:block;
  text-decoration:underline;
}

.up_zap_advertiser_info i{
  color:#0ea5e9;
}

.up_zap_advertiser_badges{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:9px;
}

.up_zap_advertiser_badges span{
  background:#f2f4f7;
  border-radius:999px;
  padding:6px 9px;
  color:#344054;
  font-size:12px;
  font-weight:800;
}

.up_zap_contact_card{
  padding:22px;
}

.up_zap_contact_card h2{
  margin:0 0 18px;
  font-size:24px;
  font-weight:900;
  color:#111827;
}

.up_zap_contact_card form{
  display:grid;
  gap:12px;
}

.up_zap_contact_card input,
.up_zap_contact_card textarea,
.up_media_contact input,
.up_media_contact textarea{
  width:100%;
  border:1px solid #d0d5dd;
  background:#fff;
  border-radius:999px;
  min-height:48px;
  padding:0 16px;
  color:#344054;
  outline:none;
  font-size:15px;
}

.up_zap_contact_card textarea,
.up_media_contact textarea{
  border-radius:14px;
  padding:14px 16px;
  min-height:96px;
  resize:vertical;
  line-height:1.5;
}

.up_zap_check{
  display:flex;
  align-items:center;
  gap:8px;
  color:#344054;
  font-size:14px;
}

.up_zap_check input{
  width:18px;
  height:18px;
  min-height:0;
  accent-color:var(--upz-purple);
}

.up_zap_send_btn{
  border:0;
  background:var(--upz-purple);
  color:#fff;
  min-height:50px;
  border-radius:999px;
  font-weight:900;
  font-size:15px;
  cursor:pointer;
}

.up_zap_whatsapp_box{
  margin-top:22px;
  padding-top:20px;
  border-top:1px solid var(--upz-line);
}

.up_zap_whatsapp_box h3{
  margin:0 0 12px;
  font-size:20px;
  color:#111827;
}

.up_zap_whatsapp_box p{
  color:#344054;
  font-weight:700;
}

.up_zap_whatsapp_box a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:#22a447;
  color:#fff;
  min-height:48px;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
}

/* Similares */
.up_zap_similar{
  margin:38px 0 20px;
}

.up_zap_similar h2{
  margin:0 0 22px;
  color:#344054;
  font-size:24px;
  font-weight:900;
}

.up_zap_similar_grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  overflow:hidden;
}

.up_zap_similar_card{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#fff;
  border:1px solid var(--upz-line);
  border-radius:14px;
  overflow:hidden;
  text-decoration:none;
  color:#111827;
}

.up_zap_similar_card img{
  width:100%;
  height:150px;
  object-fit:cover;
}

.up_zap_similar_card strong{
  padding:14px 14px 4px;
  font-size:15px;
  line-height:1.35;
}

.up_zap_similar_card span{
  padding:0 14px;
  color:#667085;
  font-size:13px;
}

.up_zap_similar_specs{
  padding:14px;
  display:flex;
  gap:10px;
  color:#667085;
}

.up_zap_similar_specs em{
  font-style:normal;
  font-size:12px;
}

.up_zap_similar_card b{
  padding:0 14px 16px;
  font-size:19px;
}

/* Modal mídia */
.up_media_locked{overflow:hidden;}

.up_media_modal{
  position:fixed;
  inset:0;
  z-index:9999;
  background:#fff;
  display:none;
}

.up_media_modal.open{
  display:block;
}

.up_media_close{
  position:fixed;
  right:28px;
  top:24px;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  color:var(--upz-purple);
  background:#fff;
  font-size:22px;
  z-index:10002;
  cursor:pointer;
}

.up_media_content{
  height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  grid-template-rows:auto auto minmax(0,1fr);
  column-gap:28px;
  padding:40px 28px 0;
}

.up_media_head{
  grid-column:1 / -1;
  padding-bottom:18px;
}

.up_media_head strong{
  display:block;
  font-size:18px;
  color:#111827;
  margin-bottom:10px;
}

.up_media_specs{
  display:flex;
  flex-wrap:wrap;
  gap:26px;
  color:#344054;
  font-size:16px;
}

.up_media_tabs{
  grid-column:1 / 2;
  display:flex;
  gap:34px;
  border-bottom:1px solid var(--upz-line);
}

.up_media_tabs button{
  border:0;
  background:transparent;
  padding:0 0 14px;
  color:#111827;
  font-weight:900;
  font-size:16px;
  border-bottom:3px solid transparent;
  cursor:pointer;
}

.up_media_tabs button.active{
  color:var(--upz-purple);
  border-bottom-color:var(--upz-purple);
}

.up_media_panel{
  display:none;
  grid-column:1 / 2;
  grid-row:3 / 4;
  min-height:0;
  padding-top:16px;
}

.up_media_panel.active{
  display:block;
}

.up_media_panel iframe{
  width:100%;
  height:calc(100vh - 210px);
  border:0;
  background:#eee;
}

.up_media_photo_stage{
  position:relative;
  height:calc(100vh - 210px);
  background:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.up_modal_photo{
  display:none;
  max-width:100%;
  max-height:100%;
  width:100%;
  height:100%;
  object-fit:contain;
}

.up_modal_photo.active{display:block;}

.up_media_nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.9);
  color:#111827;
  font-size:28px;
  z-index:2;
  cursor:pointer;
}

.up_media_nav.prev{left:18px;}
.up_media_nav.next{right:18px;}

.up_media_side{
  grid-column:2 / 3;
  grid-row:2 / 4;
  border-left:1px solid var(--upz-line);
  padding-left:28px;
}

.up_media_contact{
  position:sticky;
  top:84px;
}

.up_media_contact h3{
  margin:0 0 18px;
  font-size:24px;
}

.up_media_contact{
  display:grid;
  gap:12px;
}

.up_media_contact button{
  border:0;
  background:var(--upz-purple);
  color:#fff;
  min-height:50px;
  border-radius:999px;
  font-weight:900;
}

.up_media_contact a{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  color:#fff;
  background:#20a845;
  border-radius:999px;
  text-decoration:none;
  font-weight:900;
}

.up_media_empty{
  height:calc(100vh - 210px);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f2f4f7;
  color:#667085;
  font-weight:800;
}

/* Footer antigo não deve criar topo cinza estranho */
.up_zap_like_body .tail-top,
.up_zap_like_body .main{
  background:transparent !important;
}

/* Responsivo */
@media(max-width:1120px){
  .up_zap_page{grid-template-columns:1fr;}
  .up_zap_sidebar{position:static;}
  .up_zap_advertiser_card{margin-top:0;}
  .up_zap_summary_card{grid-template-columns:1fr;}
  .up_zap_summary_text{border-right:0;border-bottom:1px solid var(--upz-line);}
  .up_media_content{grid-template-columns:1fr;padding:24px 18px;}
  .up_media_side{display:none;}
}

@media(max-width:760px){
  .up_zap_gallery_grid{height:300px;grid-template-columns:1fr;}
  .up_zap_gallery_photo:not(.up_zap_gallery_big){display:none;}
  .up_zap_media_buttons{left:12px;right:12px;transform:none;overflow:auto;justify-content:flex-start;}
  .up_zap_media_buttons button{flex:0 0 auto;}
  .up_zap_page{width:calc(100% - 22px);}
  .up_zap_tags_actions{align-items:flex-start;flex-direction:column;}
  .up_zap_specs,.up_zap_values,.up_zap_features_list,.up_zap_similar_grid{grid-template-columns:1fr;}
  .up_zap_summary_text h1{font-size:24px;}
  body.up_zap_like_body .up_header_inner{min-height:72px;}
}

@media(max-width:520px){
  .up_zap_media_buttons button{font-size:13px;padding:0 13px;}
  .up_zap_card,.up_zap_summary_text,.up_zap_summary_map,.up_zap_contact_card,.up_zap_advertiser_card{padding:18px;}
}


/* =========================================================
   Ajuste fino de tipografia do detalhe
   Referência: VivaReal/Zap - H1 com Poppins, peso menor e desenho mais limpo
   ========================================================= */

body.up_zap_like_body,
body.up_zap_like_body input,
body.up_zap_like_body textarea,
body.up_zap_like_body button,
body.up_zap_like_body select {
    font-family: "Poppins", "Roboto", Arial, Helvetica, sans-serif !important;
}

/* H1 principal do imóvel */
.up_zap_summary_text h1 {
    font-family: "Poppins", "Roboto", Arial, Helvetica, sans-serif !important;
    font-size: 25px !important;
    line-height: 1.24 !important;
    font-weight: 600 !important;
    letter-spacing: -0.35px !important;
    color: #111827 !important;
    margin: 0 0 16px !important;
}

/* Títulos dos blocos: Localização, Valores, Características, Contatar anunciante */
.up_zap_summary_map h3,
.up_zap_card h2,
.up_zap_contact_card h2,
.up_zap_whatsapp_box h3 {
    font-family: "Poppins", "Roboto", Arial, Helvetica, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: -0.25px !important;
    color: #111827 !important;
}

/* Textos e labels mais próximos do visual limpo da referência */
.up_zap_specs span,
.up_zap_values span,
.up_zap_breadcrumb,
.up_zap_tags span,
.up_zap_action_links a,
.up_zap_action_links button {
    font-family: "Roboto", "Poppins", Arial, Helvetica, sans-serif !important;
}

/* Evita aparência pesada nos valores e cards */
.up_zap_specs strong,
.up_zap_values strong {
    font-family: "Roboto", "Poppins", Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
}

/* Mobile */
@media(max-width:760px){
    .up_zap_summary_text h1 {
        font-size: 23px !important;
        line-height: 1.28 !important;
    }
}


/* =========================================================
   Correção galeria topo + tipografia dos botões de mídia
   ========================================================= */

/* Corrige imagens ficando achatadas/como faixa fina no topo */
.up_zap_gallery {
    min-height: 390px !important;
    background: #f3f4f6 !important;
    overflow: visible !important;
}

.up_zap_gallery_grid {
    width: 100% !important;
    height: 390px !important;
    min-height: 390px !important;
    max-height: 390px !important;
    display: grid !important;
    grid-template-columns: 1.35fr .75fr 1.15fr !important;
    gap: 3px !important;
    overflow: hidden !important;
    background: #e9edf3 !important;
}

.up_zap_gallery_photo {
    width: 100% !important;
    height: 390px !important;
    min-height: 390px !important;
    max-height: 390px !important;
    display: block !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    background: #dfe6ee !important;
    overflow: hidden !important;
}

.up_zap_gallery_photo img {
    display: block !important;
    width: 100% !important;
    height: 390px !important;
    min-height: 390px !important;
    max-height: 390px !important;
    object-fit: cover !important;
    object-position: center center !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Botões Fotos/Vídeo/Mapa/Tour com tipografia mais próxima da referência */
.up_zap_media_buttons {
    bottom: -28px !important;
    gap: 10px !important;
}

.up_zap_media_buttons button {
    font-family: "Roboto", "Poppins", Arial, Helvetica, sans-serif !important;
    min-height: 48px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #283247 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: -0.1px !important;
    box-shadow: 0 10px 26px rgba(16,24,40,.16) !important;
}

.up_zap_media_buttons button i {
    font-size: 18px !important;
    color: #344054 !important;
}

.up_zap_media_buttons button:hover {
    color: #6d22e6 !important;
    transform: translateY(-1px) !important;
}

/* Empurra o conteúdo abaixo para compensar os botões sobrepostos */
.up_zap_page {
    padding-top: 58px !important;
}

/* Mantém H1 limpo e mais parecido com a referência */
.up_zap_summary_text h1 {
    font-family: "Poppins", "Roboto", Arial, Helvetica, sans-serif !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: -0.3px !important;
}

/* Títulos internos um pouco menos pesados */
.up_zap_summary_map h3,
.up_zap_card h2,
.up_zap_contact_card h2 {
    font-family: "Poppins", "Roboto", Arial, Helvetica, sans-serif !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    letter-spacing: -0.25px !important;
}

/* Responsivo */
@media(max-width: 760px) {
    .up_zap_gallery,
    .up_zap_gallery_grid,
    .up_zap_gallery_photo,
    .up_zap_gallery_photo img {
        height: 300px !important;
        min-height: 300px !important;
        max-height: 300px !important;
    }

    .up_zap_gallery_grid {
        grid-template-columns: 1fr !important;
    }

    .up_zap_gallery_photo:not(.up_zap_gallery_big) {
        display: none !important;
    }

    .up_zap_media_buttons {
        bottom: -24px !important;
        left: 12px !important;
        right: 12px !important;
        transform: none !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
    }

    .up_zap_media_buttons button {
        flex: 0 0 auto !important;
        min-height: 44px !important;
        padding: 0 16px !important;
        font-size: 14px !important;
    }

    .up_zap_page {
        padding-top: 54px !important;
    }
}


/* =========================================================
   Correção do botão Favoritar no detalhe
   Volta ao padrão discreto da referência, sem bloco vermelho
   ========================================================= */

.up_zap_action_links {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
}

.up_zap_action_links a,
.up_zap_action_links button,
.up_zap_action_links .btn-favorito,
.up_zap_action_links .btn-favorito-active {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    border-radius: 0 !important;
    color: #111827 !important;
    font-family: "Roboto", "Poppins", Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-decoration: underline !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    cursor: pointer !important;
}

.up_zap_action_links a:hover,
.up_zap_action_links button:hover,
.up_zap_action_links .btn-favorito:hover {
    color: #6d22e6 !important;
}

.up_zap_action_links .btn-favorito i,
.up_zap_action_links .btn-favorito-active i,
.up_zap_action_links a i {
    color: #111827 !important;
    font-size: 17px !important;
    line-height: 1 !important;
}

/* Quando estiver favoritado, mantém discreto, só coração preenchido */
.up_zap_action_links .up_favorito_active,
.up_zap_action_links .btn-favorito-active {
    color: #111827 !important;
    background: transparent !important;
    border: 0 !important;
}

.up_zap_action_links .up_favorito_active i,
.up_zap_action_links .btn-favorito-active i {
    color: #d92d20 !important;
}

/* Evita que regras globais antigas do .btn-favorito vazem para esta área */
.up_zap_tags_actions .btn,
.up_zap_tags_actions .btn-favorito,
.up_zap_tags_actions .btn-favorito-active {
    width: auto !important;
    max-width: none !important;
}

/* Mobile: mantém alinhado e sem estourar */
@media(max-width: 760px) {
    .up_zap_tags_actions {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    .up_zap_action_links {
        gap: 18px !important;
        flex-wrap: wrap !important;
    }
}


/* =========================================================
   Abas Características: Imóvel / Condomínio
   CSS mínimo, sem alterar galeria, header ou layout geral
   ========================================================= */
.up_zap_features_panel {
    display: none;
}

.up_zap_features_panel.active {
    display: block;
}


/* =========================================================
   Tour virtual 360°: permite arrastar/girar dentro do player
   Mantém o CSS completo do detalhe, sem retrocesso visual.
   ========================================================= */
[data-up-media-panel="tour"],
[data-up-media-panel="videos"] {
    pointer-events: auto;
}

[data-up-media-panel="tour"] iframe,
[data-up-media-panel="videos"] iframe,
.up_media_iframe_360 {
    width: 100%;
    min-height: 520px;
    border: 0;
    display: block;
    pointer-events: auto !important;
    touch-action: auto !important;
}


/* Fallback visual para tours 360 do YouTube quando o embed limitar o arraste */
.up_tour360_help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid rgba(15, 35, 65, .12);
    border-top: 0;
    color: #334155;
    font-size: 13px;
}

.up_tour360_help a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 999px;
    background: #6d22e6;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
    white-space: nowrap;
}

.up_tour360_help a:hover {
    filter: brightness(.96);
}

@media (max-width: 768px) {
    .up_tour360_help {
        flex-direction: column;
        align-items: flex-start;
    }

    .up_tour360_help a {
        width: 100%;
    }
}


/* =========================================================
   Fase 3A - Detalhe do imóvel mais alinhado com Home/Mapa
   ========================================================= */

:root{
  --upz-purple:#0877ee;
  --upz-blue:#12b7e8;
  --upz-bg:#f8fbff;
  --upz-line:#e6eef6;
  --upz-shadow:0 10px 28px rgba(15,23,42,.055);
}

body.up_zap_like_body{
  background:#f8fbff !important;
}

.up_zap_detail_main{
  padding-bottom:48px!important;
}

/* Galeria topo: mais clean e menos pesada */
.up_zap_gallery{
  border-bottom:1px solid #e6eef6!important;
  background:#fff!important;
}
.up_zap_gallery_grid{
  height:360px!important;
  gap:2px!important;
}
.up_zap_gallery_photo:after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:34%;
  background:linear-gradient(180deg,transparent,rgba(15,23,42,.18));
  pointer-events:none;
}
.up_zap_media_buttons{
  bottom:-28px!important;
  gap:10px!important;
}
.up_zap_media_buttons button{
  min-height:48px!important;
  padding:0 18px!important;
  border:1px solid #e4edf6!important;
  box-shadow:0 12px 28px rgba(15,23,42,.10)!important;
  color:#1f2f46!important;
}

/* Estrutura principal */
.up_zap_page{
  padding-top:52px!important;
  gap:26px!important;
}
.up_zap_breadcrumb{
  font-size:12px!important;
  margin-bottom:14px!important;
}
.up_zap_tags_actions{
  margin-bottom:14px!important;
}
.up_zap_tags span{
  border-color:#dbe6f1!important;
  border-radius:12px!important;
  color:#344054!important;
  background:#fff!important;
}
.up_zap_action_links a,
.up_zap_action_links button{
  color:#0d2a47!important;
}
.up_zap_action_links .up_favorito_active,
.up_zap_action_links .btn-favorito-active{
  color:#e11d48!important;
}

/* Cards globais */
.up_zap_summary_card,
.up_zap_card,
.up_zap_advertiser_card,
.up_zap_contact_card{
  border:1px solid #e2ebf5!important;
  border-radius:20px!important;
  box-shadow:0 8px 24px rgba(15,23,42,.045)!important;
  background:#fff!important;
}

.up_zap_summary_card{
  grid-template-columns:minmax(0,1fr) 410px!important;
  margin-bottom:16px!important;
}
.up_zap_summary_text,
.up_zap_summary_map{
  padding:24px!important;
}
.up_zap_summary_text h1{
  font-size:26px!important;
  line-height:1.22!important;
  letter-spacing:-.04em!important;
  color:#09233d!important;
}
.up_zap_address{
  color:#52667c!important;
  font-weight:700!important;
}
.up_zap_specs{
  background:#f8fafc!important;
  border:1px solid #edf2f7!important;
  border-radius:16px!important;
  gap:10px!important;
}
.up_zap_specs div{
  background:#fff!important;
  border:1px solid #edf2f7!important;
  border-radius:13px!important;
}
.up_zap_specs span{
  color:#64748b!important;
  font-size:11px!important;
  font-weight:800!important;
}
.up_zap_specs strong{
  color:#0d2a47!important;
  font-size:15px!important;
}

.up_zap_summary_map h3,
.up_zap_card h2,
.up_zap_contact_card h2{
  color:#09233d!important;
  letter-spacing:-.035em!important;
}
.up_zap_summary_map h3{
  font-size:24px!important;
}
.up_zap_summary_map iframe{
  height:150px!important;
  border-radius:15px!important;
}
.up_zap_summary_map button{
  border-color:#dbe6f1!important;
  color:#0d2a47!important;
  box-shadow:none!important;
}

/* Blocos internos */
.up_zap_card{
  padding:22px 24px!important;
  margin-bottom:16px!important;
}
.up_zap_values div{
  background:#f8fafc!important;
  border:1px solid #edf2f7!important;
  border-radius:16px!important;
}
.up_zap_values span{
  color:#64748b!important;
  font-size:12px!important;
  text-transform:uppercase!important;
  letter-spacing:.04em!important;
}
.up_zap_values strong{
  color:#09233d!important;
  font-size:18px!important;
}
.up_zap_features_tabs{
  border-bottom:1px solid #e6eef6!important;
}
.up_zap_features_tabs button.active{
  color:#0877ee!important;
  border-bottom-color:#0877ee!important;
}
.up_zap_features_list{
  gap:14px 22px!important;
}
.up_zap_features_list span{
  font-size:15px!important;
  color:#344054!important;
}
.up_zap_features_list i{
  color:#10b981!important;
}
.up_zap_description{
  color:#40566f!important;
  line-height:1.75!important;
}
.up_zap_security a{
  border-color:#dbe6f1!important;
  color:#0d2a47!important;
  background:#fff!important;
}

/* Sidebar */
.up_zap_sidebar{
  gap:16px!important;
}
.up_zap_advertiser_card{
  margin-top:-66px!important;
  padding:18px!important;
}
.up_zap_advertiser_logo{
  border-radius:14px!important;
}
.up_zap_advertiser_badges span{
  background:#f4f8fc!important;
  color:#52667c!important;
}
.up_zap_contact_card{
  padding:22px!important;
}
.up_zap_contact_card input,
.up_zap_contact_card textarea,
.up_media_contact input,
.up_media_contact textarea{
  border:1px solid #e6eef6!important;
  background:#f8fafc!important;
  border-radius:18px!important;
  min-height:48px!important;
}
.up_zap_contact_card textarea,
.up_media_contact textarea{
  border-radius:18px!important;
}
.up_zap_check{
  align-items:flex-start!important;
  gap:10px!important;
  color:#52667c!important;
}
.up_zap_check input{
  accent-color:#0877ee!important;
}
.up_zap_send_btn{
  background:linear-gradient(135deg,#0877ee,#12b7e8)!important;
  box-shadow:0 12px 26px rgba(8,119,238,.18)!important;
}

/* Similares: conversa com os cards da Home */
.up_zap_similar{
  margin:32px 0 8px!important;
}
.up_zap_similar h2{
  color:#0d2a47!important;
  font-size:25px!important;
  letter-spacing:-.04em!important;
}
.up_zap_similar_grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  overflow:visible!important;
}
.up_zap_similar_card{
  border:1px solid #e6eef6!important;
  border-radius:18px!important;
  box-shadow:0 8px 24px rgba(15,23,42,.055)!important;
  overflow:hidden!important;
  background:#fff!important;
}
.up_zap_similar_card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px rgba(15,23,42,.10)!important;
}
.up_zap_similar_card img{
  height:150px!important;
}
.up_zap_similar_card strong{
  color:#09233d!important;
  font-size:14.5px!important;
}
.up_zap_similar_card span{
  color:#52667c!important;
}
.up_zap_similar_card b{
  color:#0877ee!important;
  font-size:18px!important;
}
.up_zap_similar_specs em{
  background:#f8fafc;
  border:1px solid #e6edf5;
  border-radius:999px;
  padding:5px 8px;
  color:#40566f;
  font-weight:800;
}

/* Responsivo */
@media(max-width:1100px){
  .up_zap_summary_card{
    grid-template-columns:1fr!important;
  }
  .up_zap_summary_text{
    border-right:0!important;
    border-bottom:1px solid #e6eef6!important;
  }
  .up_zap_similar_grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  .up_zap_gallery_grid{
    height:280px!important;
    grid-template-columns:1fr!important;
  }
  .up_zap_gallery_photo:not(.up_zap_gallery_big){
    display:none!important;
  }
  .up_zap_page{
    padding-top:42px!important;
  }
  .up_zap_specs,
  .up_zap_values,
  .up_zap_features_list,
  .up_zap_similar_grid{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   Fase 3B - ajustes finos detalhe: checkbox, sidebar e similares
   ========================================================= */

/* Checkbox do formulário lateral: menor, alinhado e sem aspecto gigante */
.up_zap_check{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  margin:4px 0 2px!important;
  padding:8px 4px!important;
  color:#52667c!important;
  font-size:13px!important;
  line-height:1.3!important;
}
.up_zap_check input{
  width:18px!important;
  height:18px!important;
  min-width:18px!important;
  min-height:18px!important;
  flex:0 0 18px!important;
  accent-color:#0877ee!important;
  transform:none!important;
}
.up_zap_check span,
.up_zap_check label{
  display:inline!important;
  max-width:150px!important;
  font-weight:800!important;
  color:#52667c!important;
}

/* Caso o HTML use label envolvendo o input diretamente */
.up_zap_check input + span,
.up_zap_check input + label{
  margin-left:0!important;
}

/* Botão lateral com respiro melhor após checkbox */
.up_zap_send_btn{
  margin-top:4px!important;
}

/* Similares: deixa a seção mais cheia mesmo quando houver poucos itens */
.up_zap_similar{
  padding-bottom:18px!important;
}
.up_zap_similar_grid{
  justify-content:start!important;
}
.up_zap_similar_card{
  max-width:320px!important;
}
.up_zap_similar_card img{
  height:165px!important;
}
.up_zap_similar_card strong{
  min-height:54px!important;
}
.up_zap_similar_specs{
  flex-wrap:wrap!important;
}

/* Rodapé do detalhe: um pouco menos pesado depois da página */
body.up_zap_like_body footer{
  margin-top:0!important;
}

/* Mobile */
@media(max-width:760px){
  .up_zap_check{
    justify-content:flex-start!important;
  }
  .up_zap_check span,
  .up_zap_check label{
    max-width:none!important;
  }
  .up_zap_similar_card{
    max-width:none!important;
  }
}


/* =========================================================
   Fase 3C - Contato, WhatsApp e compartilhamento
   ========================================================= */

.up_zap_share{
  position:relative;
  display:inline-flex;
}
.up_zap_share_toggle{
  border:0;
  background:transparent;
  color:#0d2a47;
  font-weight:900;
  text-decoration:underline;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
}
.up_zap_share_menu{
  position:absolute;
  right:0;
  top:calc(100% + 10px);
  width:190px;
  background:#fff;
  border:1px solid #e2ebf5;
  border-radius:16px;
  box-shadow:0 16px 40px rgba(15,23,42,.13);
  padding:8px;
  display:none;
  z-index:30;
}
.up_zap_share:hover .up_zap_share_menu,
.up_zap_share:focus-within .up_zap_share_menu{
  display:grid;
  gap:4px;
}
.up_zap_share_menu a,
.up_zap_share_menu button{
  border:0;
  background:transparent;
  color:#0d2a47!important;
  text-decoration:none!important;
  font-weight:800;
  font-size:13px;
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px;
  border-radius:12px;
  cursor:pointer;
}
.up_zap_share_menu a:hover,
.up_zap_share_menu button:hover{
  background:#f4f8fc;
}
.up_zap_share_menu .fa-whatsapp{
  color:#16a34a;
}
.up_zap_share_menu .fa-facebook{
  color:#1877f2;
}

.up_zap_advertiser_whatsapp{
  margin-top:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#ecfdf3;
  color:#15803d!important;
  font-size:12px;
  font-weight:900;
  text-decoration:none!important;
}
.up_zap_quick_whatsapp{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  border-radius:999px;
  background:#10b981;
  color:#fff!important;
  font-weight:900;
  text-decoration:none!important;
  margin:-4px 0 12px;
  box-shadow:0 10px 22px rgba(16,185,129,.18);
}
.up_zap_quick_whatsapp:hover{
  filter:brightness(.97);
}

.up_zap_summary_map p:after{
  content:"Localização aproximada";
  display:inline-flex;
  margin-left:8px;
  padding:4px 8px;
  border-radius:999px;
  background:#eff6ff;
  color:#0877ee;
  font-size:11px;
  font-weight:900;
  vertical-align:middle;
}

@media(max-width:760px){
  .up_zap_share_menu{
    left:0;
    right:auto;
  }
}


/* =========================================================
   Fase 3D - correção URL compartilhamento e specs
   ========================================================= */

/* Evita quebra estranha do valor, ex.: m² descendo sozinho */
.up_zap_specs strong,
.up_zap_values strong,
.up_zap_similar_card b{
  white-space:nowrap!important;
}

/* Em telas estreitas, deixa os cards de metragem/quartos respirarem */
.up_zap_specs{
  grid-template-columns:repeat(4,minmax(86px,1fr))!important;
}
.up_zap_specs div{
  min-width:0!important;
}

/* Menu compartilhar com largura suficiente para não quebrar visual */
.up_zap_share_menu{
  width:205px!important;
}


/* =========================================================
   Fase 3E - compartilhamento por clique, badge fotos e favoritos
   ========================================================= */

/* O menu de compartilhar não depende mais de hover. Assim o usuário consegue sair do mouse
   do botão e clicar nos itens sem o submenu sumir. */
.up_zap_share:hover .up_zap_share_menu,
.up_zap_share:focus-within .up_zap_share_menu{
  display:none!important;
}
.up_zap_share.open .up_zap_share_menu{
  display:grid!important;
  gap:4px!important;
}
.up_zap_share_toggle{
  color:#0d2a47!important;
}
.up_zap_share_toggle[aria-expanded="true"]{
  color:#0877ee!important;
}

/* Badges superiores com leitura melhor */
.up_zap_tags span{
  min-height:36px!important;
  padding:0 14px!important;
}

/* Link de favoritos do topo: usa a página correta do MobyUP, evitando cair no 404 legado */
body.up_zap_like_body .up_header .up_icon_link[href$="/favoritos"],
body.up_zap_like_body .up_header_global .up_icon_link[href$="/favoritos"],
body.up_zap_like_body .up_header .up_icon_link[href*="/mobyup/favoritos"],
body.up_zap_like_body .up_header_global .up_icon_link[href*="/mobyup/favoritos"]{
  position:relative;
}

/* Pequeno reforço visual: favoritar do anúncio não deve parecer link de navegação */
.up_zap_action_links .btn-favorito{
  text-decoration:none!important;
}


/* =========================================================
   Fase 3F - ajuste URL Facebook e camada do menu compartilhar
   ========================================================= */
.up_zap_tags_actions,
.up_zap_action_links,
.up_zap_share{
  z-index:60!important;
}
.up_zap_share_menu{
  z-index:999!important;
}


/* =========================================================
   Fase 3I - acabamento menu compartilhar
   ========================================================= */
.up_zap_share_menu a,
.up_zap_share_menu button{
  outline:0!important;
  border:0!important;
  box-shadow:none!important;
}
.up_zap_share_menu a:focus,
.up_zap_share_menu button:focus{
  outline:0!important;
  box-shadow:0 0 0 2px rgba(8,119,238,.15)!important;
}


/* =========================================================
   Fase 3K - Responsivo detalhe: topo, galeria e primeira dobra
   ========================================================= */

/* Evita qualquer vazamento horizontal no detalhe mobile */
html,
body.up_zap_like_body{
  max-width:100%!important;
  overflow-x:hidden!important;
}

/* Header mobile: fecha o buraco visual do menu aberto e deixa texto legível */
@media(max-width:760px){
  body.up_zap_like_body .up_header,
  body.up_zap_like_body .up_header_global,
  body.up_zap_like_body header{
    position:relative!important;
    z-index:100!important;
    overflow:visible!important;
  }

  body.up_zap_like_body .up_header .up_container,
  body.up_zap_like_body .up_header_global .up_container,
  body.up_zap_like_body header .up_container{
    width:100%!important;
    max-width:100%!important;
    padding:12px 14px!important;
    gap:10px!important;
    min-height:82px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    flex-wrap:wrap!important;
  }

  body.up_zap_like_body .up_header .up_logo,
  body.up_zap_like_body .up_header_global .up_logo,
  body.up_zap_like_body header .up_logo{
    max-width:132px!important;
    flex:0 0 auto!important;
  }

  body.up_zap_like_body .up_header .up_logo img,
  body.up_zap_like_body .up_header_global .up_logo img,
  body.up_zap_like_body header .up_logo img{
    max-width:132px!important;
    height:auto!important;
  }

  body.up_zap_like_body .up_header .up_header_actions,
  body.up_zap_like_body .up_header_global .up_header_actions,
  body.up_zap_like_body header .up_header_actions{
    margin-left:auto!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
  }

  body.up_zap_like_body .up_header .up_icon_link,
  body.up_zap_like_body .up_header_global .up_icon_link,
  body.up_zap_like_body header .up_icon_link{
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    border-radius:12px!important;
  }

  body.up_zap_like_body .up_header .up_account_link,
  body.up_zap_like_body .up_header_global .up_account_link,
  body.up_zap_like_body header .up_account_link{
    height:44px!important;
    min-height:44px!important;
    padding:0 14px!important;
    border-radius:12px!important;
    font-size:13px!important;
    white-space:nowrap!important;
  }

  body.up_zap_like_body .up_header .up_btn_primary,
  body.up_zap_like_body .up_header_global .up_btn_primary,
  body.up_zap_like_body header .up_btn_primary{
    display:none!important;
  }

  /* Menu aberto no mobile */
  body.up_zap_like_body .up_header nav,
  body.up_zap_like_body .up_header_global nav,
  body.up_zap_like_body header nav,
  body.up_zap_like_body .up_nav,
  body.up_zap_like_body .up_menu{
    color:#fff!important;
  }

  body.up_zap_like_body .up_header nav a,
  body.up_zap_like_body .up_header_global nav a,
  body.up_zap_like_body header nav a,
  body.up_zap_like_body .up_nav a,
  body.up_zap_like_body .up_menu a{
    color:#fff!important;
    opacity:1!important;
    text-shadow:none!important;
    font-weight:800!important;
  }

  body.up_zap_like_body .up_header nav.open,
  body.up_zap_like_body .up_header_global nav.open,
  body.up_zap_like_body header nav.open,
  body.up_zap_like_body .up_nav.open,
  body.up_zap_like_body .up_menu.open,
  body.up_zap_like_body .up_nav.active,
  body.up_zap_like_body .up_menu.active{
    left:0!important;
    right:auto!important;
    top:82px!important;
    width:calc(100vw - 28px)!important;
    max-width:330px!important;
    margin:0 14px!important;
    border-radius:18px!important;
    background:#082746!important;
    box-shadow:0 18px 46px rgba(15,23,42,.24)!important;
    padding:18px!important;
    z-index:200!important;
  }

  /* Galeria compacta e sem cortar botões */
  .up_zap_gallery{
    margin-top:0!important;
  }
  .up_zap_gallery_grid{
    height:300px!important;
    display:block!important;
    overflow:hidden!important;
    border-radius:0!important;
  }
  .up_zap_gallery_photo{
    display:none!important;
  }
  .up_zap_gallery_photo:first-child,
  .up_zap_gallery_big{
    display:block!important;
    width:100%!important;
    height:300px!important;
  }
  .up_zap_gallery_photo img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  .up_zap_media_buttons{
    position:relative!important;
    bottom:auto!important;
    left:auto!important;
    transform:none!important;
    margin:-32px 12px 0!important;
    padding:0 0 8px!important;
    display:flex!important;
    gap:8px!important;
    overflow-x:auto!important;
    justify-content:flex-start!important;
    z-index:5!important;
    scrollbar-width:none!important;
  }
  .up_zap_media_buttons::-webkit-scrollbar{
    display:none!important;
  }
  .up_zap_media_buttons button{
    height:46px!important;
    min-height:46px!important;
    min-width:max-content!important;
    padding:0 16px!important;
    border-radius:18px!important;
    font-size:14px!important;
    flex:0 0 auto!important;
  }

  /* Conteúdo da primeira dobra */
  .up_zap_page{
    width:100%!important;
    max-width:100%!important;
    padding:16px 12px 34px!important;
    display:block!important;
  }
  .up_zap_main{
    width:100%!important;
    min-width:0!important;
  }
  .up_zap_sidebar{
    width:100%!important;
    min-width:0!important;
    margin-top:18px!important;
  }
  .up_zap_breadcrumb{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:6px!important;
    line-height:1.6!important;
    font-size:12px!important;
    margin:4px 0 12px!important;
  }
  .up_zap_tags_actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    margin-bottom:12px!important;
  }
  .up_zap_tags{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
  }
  .up_zap_tags span{
    min-height:34px!important;
    padding:0 12px!important;
    font-size:12px!important;
  }
  .up_zap_action_links{
    justify-content:flex-start!important;
    gap:18px!important;
  }

  .up_zap_summary_card{
    display:block!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  .up_zap_summary_text,
  .up_zap_summary_map{
    padding:18px!important;
  }
  .up_zap_summary_text{
    border-right:0!important;
    border-bottom:1px solid #e6eef6!important;
  }
  .up_zap_summary_text h1{
    font-size:24px!important;
    line-height:1.18!important;
    letter-spacing:-.035em!important;
    word-break:normal!important;
    overflow-wrap:anywhere!important;
  }
  .up_zap_address{
    font-size:13px!important;
    line-height:1.45!important;
  }

  .up_zap_specs{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    padding:10px!important;
    overflow:visible!important;
  }
  .up_zap_specs div{
    min-width:0!important;
    padding:12px!important;
  }
  .up_zap_specs strong{
    white-space:normal!important;
    line-height:1.25!important;
    font-size:15px!important;
  }

  .up_zap_summary_map h3{
    font-size:24px!important;
  }
  .up_zap_summary_map p{
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    align-items:center!important;
    font-size:13px!important;
    line-height:1.45!important;
  }
  .up_zap_summary_map p:after{
    margin-left:0!important;
  }
  .up_zap_summary_map iframe{
    width:100%!important;
    height:190px!important;
  }
  .up_zap_summary_map button{
    width:100%!important;
    white-space:normal!important;
  }

  /* Cards internos respirando no mobile */
  .up_zap_card{
    padding:18px!important;
    border-radius:18px!important;
  }
  .up_zap_card h2{
    font-size:24px!important;
    line-height:1.15!important;
  }
  .up_zap_values{
    grid-template-columns:1fr!important;
  }
  .up_zap_features_tabs{
    gap:0!important;
  }
  .up_zap_features_tabs button{
    font-size:13px!important;
  }
  .up_zap_features_list{
    grid-template-columns:1fr!important;
  }

  .up_zap_contact_card{
    border-radius:18px!important;
    padding:20px!important;
  }

  /* Rodapé no mobile sem esmagar colunas */
  body.up_zap_like_body footer,
  body.up_zap_like_body .footer,
  body.up_zap_like_body .rodape{
    overflow:hidden!important;
  }
  body.up_zap_like_body footer .up_container,
  body.up_zap_like_body .footer .up_container,
  body.up_zap_like_body .rodape .up_container{
    width:100%!important;
    padding-left:20px!important;
    padding-right:20px!important;
  }
}

@media(max-width:390px){
  body.up_zap_like_body .up_header .up_account_link,
  body.up_zap_like_body .up_header_global .up_account_link,
  body.up_zap_like_body header .up_account_link{
    padding:0 10px!important;
    font-size:12px!important;
  }
  .up_zap_summary_text h1{
    font-size:22px!important;
  }
  .up_zap_media_buttons button{
    font-size:13px!important;
    padding:0 14px!important;
  }
}


/* =========================================================
   Fase 3L - refino responsivo do topo mobile
   ========================================================= */
@media(max-width:760px){
  /* Header em uma única linha, sem quebrar e sem espaço morto */
  body.up_zap_like_body .up_header,
  body.up_zap_like_body .up_header_global,
  body.up_zap_like_body header{
    padding-bottom:0!important;
  }

  body.up_zap_like_body .up_header .up_container,
  body.up_zap_like_body .up_header_global .up_container,
  body.up_zap_like_body header .up_container,
  body.up_zap_like_body .up_header_inner{
    min-height:68px!important;
    padding:10px 12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
    overflow:visible!important;
  }

  body.up_zap_like_body .up_header .up_container > *,
  body.up_zap_like_body .up_header_global .up_container > *,
  body.up_zap_like_body header .up_container > *,
  body.up_zap_like_body .up_header_inner > *{
    margin-top:0!important;
    margin-bottom:0!important;
    flex-shrink:0!important;
  }

  body.up_zap_like_body .up_header .up_logo,
  body.up_zap_like_body .up_header_global .up_logo,
  body.up_zap_like_body header .up_logo,
  body.up_zap_like_body .up_logo_img{
    margin:0!important;
    flex:0 0 auto!important;
  }

  body.up_zap_like_body .up_header .up_logo img,
  body.up_zap_like_body .up_header_global .up_logo img,
  body.up_zap_like_body header .up_logo img,
  body.up_zap_like_body .up_logo_img img{
    max-width:120px!important;
    width:120px!important;
    height:auto!important;
  }

  body.up_zap_like_body .up_header .up_header_actions,
  body.up_zap_like_body .up_header_global .up_header_actions,
  body.up_zap_like_body header .up_header_actions{
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    flex:0 0 auto!important;
    margin-left:auto!important;
  }

  /* Favoritos e conta ficam compactos */
  body.up_zap_like_body .up_header .up_icon_link,
  body.up_zap_like_body .up_header_global .up_icon_link,
  body.up_zap_like_body header .up_icon_link,
  body.up_zap_like_body .up_header .up_account_link,
  body.up_zap_like_body .up_header_global .up_account_link,
  body.up_zap_like_body header .up_account_link{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0!important;
    border-radius:12px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
  }

  /* Mobile: remove texto de Minha conta e mantém só o ícone */
  body.up_zap_like_body .up_header .up_account_link,
  body.up_zap_like_body .up_header_global .up_account_link,
  body.up_zap_like_body header .up_account_link{
    font-size:0!important;
    line-height:0!important;
    white-space:nowrap!important;
  }

  body.up_zap_like_body .up_header .up_account_link i,
  body.up_zap_like_body .up_header_global .up_account_link i,
  body.up_zap_like_body header .up_account_link i,
  body.up_zap_like_body .up_header .up_account_link svg,
  body.up_zap_like_body .up_header_global .up_account_link svg,
  body.up_zap_like_body header .up_account_link svg,
  body.up_zap_like_body .up_header .up_account_link .fa,
  body.up_zap_like_body .up_header_global .up_account_link .fa,
  body.up_zap_like_body header .up_account_link .fa{
    font-size:16px!important;
    width:16px!important;
    height:16px!important;
    line-height:16px!important;
    margin:0!important;
  }

  /* Tentativa ampla para trazer o toggle/hamburger para a mesma linha */
  body.up_zap_like_body .up_header .up_container > button:last-child,
  body.up_zap_like_body .up_header_global .up_container > button:last-child,
  body.up_zap_like_body header .up_container > button:last-child,
  body.up_zap_like_body .up_header_inner > button:last-child,
  body.up_zap_like_body .up_header .up_container > a:last-child,
  body.up_zap_like_body .up_header_global .up_container > a:last-child,
  body.up_zap_like_body header .up_container > a:last-child,
  body.up_zap_like_body .up_header_inner > a:last-child,
  body.up_zap_like_body .up_header .menu-toggle,
  body.up_zap_like_body .up_header_global .menu-toggle,
  body.up_zap_like_body header .menu-toggle,
  body.up_zap_like_body .up_header .up_menu_toggle,
  body.up_zap_like_body .up_header_global .up_menu_toggle,
  body.up_zap_like_body header .up_menu_toggle,
  body.up_zap_like_body .up_header .navbar-toggler,
  body.up_zap_like_body .up_header_global .navbar-toggler,
  body.up_zap_like_body header .navbar-toggler,
  body.up_zap_like_body .up_header [aria-label*="menu" i],
  body.up_zap_like_body .up_header_global [aria-label*="menu" i],
  body.up_zap_like_body header [aria-label*="menu" i],
  body.up_zap_like_body .up_header [class*="hamb"],
  body.up_zap_like_body .up_header_global [class*="hamb"],
  body.up_zap_like_body header [class*="hamb"]{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:static!important;
    margin:0!important;
    flex:0 0 auto!important;
    border-radius:12px!important;
  }

  /* Se o botão estiver vindo vazio, desenha o hamburger */
  body.up_zap_like_body .up_header .up_container > button:last-child:empty::before,
  body.up_zap_like_body .up_header_global .up_container > button:last-child:empty::before,
  body.up_zap_like_body header .up_container > button:last-child:empty::before,
  body.up_zap_like_body .up_header_inner > button:last-child:empty::before,
  body.up_zap_like_body .up_header .up_container > a:last-child:empty::before,
  body.up_zap_like_body .up_header_global .up_container > a:last-child:empty::before,
  body.up_zap_like_body header .up_container > a:last-child:empty::before,
  body.up_zap_like_body .up_header_inner > a:last-child:empty::before{
    content:"☰";
    font-size:20px!important;
    line-height:1!important;
    color:#111827!important;
    font-weight:700!important;
  }

  /* Menu aberto mais moderno */
  body.up_zap_like_body .up_header nav.open,
  body.up_zap_like_body .up_header_global nav.open,
  body.up_zap_like_body header nav.open,
  body.up_zap_like_body .up_nav.open,
  body.up_zap_like_body .up_menu.open,
  body.up_zap_like_body .up_nav.active,
  body.up_zap_like_body .up_menu.active{
    top:64px!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:10px!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,#082746 0%,#0b2f55 100%)!important;
    box-shadow:0 22px 44px rgba(2,8,23,.28)!important;
    backdrop-filter:blur(10px)!important;
  }

  body.up_zap_like_body .up_header nav.open ul,
  body.up_zap_like_body .up_header_global nav.open ul,
  body.up_zap_like_body header nav.open ul,
  body.up_zap_like_body .up_nav.open ul,
  body.up_zap_like_body .up_menu.open ul,
  body.up_zap_like_body .up_nav.active ul,
  body.up_zap_like_body .up_menu.active ul{
    display:flex!important;
    flex-direction:column!important;
    gap:6px!important;
    margin:0!important;
    padding:0!important;
    list-style:none!important;
  }

  body.up_zap_like_body .up_header nav.open li,
  body.up_zap_like_body .up_header_global nav.open li,
  body.up_zap_like_body header nav.open li,
  body.up_zap_like_body .up_nav.open li,
  body.up_zap_like_body .up_menu.open li,
  body.up_zap_like_body .up_nav.active li,
  body.up_zap_like_body .up_menu.active li{
    margin:0!important;
    padding:0!important;
  }

  body.up_zap_like_body .up_header nav.open a,
  body.up_zap_like_body .up_header_global nav.open a,
  body.up_zap_like_body header nav.open a,
  body.up_zap_like_body .up_nav.open a,
  body.up_zap_like_body .up_menu.open a,
  body.up_zap_like_body .up_nav.active a,
  body.up_zap_like_body .up_menu.active a{
    display:flex!important;
    align-items:center!important;
    min-height:46px!important;
    padding:0 14px!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.08)!important;
    color:#fff!important;
    font-size:16px!important;
    font-weight:700!important;
  }

  body.up_zap_like_body .up_header nav.open a:hover,
  body.up_zap_like_body .up_header_global nav.open a:hover,
  body.up_zap_like_body header nav.open a:hover,
  body.up_zap_like_body .up_nav.open a:hover,
  body.up_zap_like_body .up_menu.open a:hover,
  body.up_zap_like_body .up_nav.active a:hover,
  body.up_zap_like_body .up_menu.active a:hover{
    background:rgba(255,255,255,.14)!important;
  }

  /* Mais respiro entre galeria, breadcrumb e chips */
  .up_zap_gallery_grid{margin-bottom:0!important;}
  .up_zap_media_buttons{
    margin:-22px 12px 14px!important;
    padding:0 2px 8px!important;
    gap:8px!important;
  }
  .up_zap_media_buttons button{
    height:44px!important;
    min-height:44px!important;
    padding:0 14px!important;
    font-size:13px!important;
  }
  .up_zap_page{
    padding-top:4px!important;
  }
  .up_zap_breadcrumb{
    margin:10px 0 12px!important;
    padding:0 2px!important;
    row-gap:4px!important;
  }
  .up_zap_tags_actions{
    gap:10px!important;
    margin-bottom:14px!important;
  }
  .up_zap_tags{
    row-gap:8px!important;
  }
  .up_zap_action_links{
    margin-top:2px!important;
  }
}

@media(max-width:420px){
  body.up_zap_like_body .up_header .up_logo img,
  body.up_zap_like_body .up_header_global .up_logo img,
  body.up_zap_like_body header .up_logo img,
  body.up_zap_like_body .up_logo_img img{
    max-width:112px!important;
    width:112px!important;
  }

  .up_zap_media_buttons{
    margin:-18px 10px 14px!important;
  }

  .up_zap_breadcrumb{
    font-size:11px!important;
  }
}


/* =========================================================
   Fase 3M - correção real do header mobile pelo HTML atual
   Estrutura detectada:
   .up_header_inner > logo / .up_menu_toggle / .up_nav / .up_header_actions
   ========================================================= */
@media(max-width:760px){

  body.up_zap_like_body .up_header.up_header_global,
  body.up_zap_like_body .up_header_global.up_header_viva{
    height:auto!important;
    min-height:76px!important;
    padding:0!important;
    background:#fff!important;
    border-bottom:1px solid #e6eef6!important;
    overflow:visible!important;
  }

  body.up_zap_like_body .up_header_inner{
    width:100%!important;
    max-width:100%!important;
    min-height:76px!important;
    height:76px!important;
    padding:10px 12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px!important;
    flex-wrap:nowrap!important;
    position:relative!important;
    overflow:visible!important;
  }

  body.up_zap_like_body .up_logo,
  body.up_zap_like_body .up_logo_img{
    order:1!important;
    flex:0 0 auto!important;
    margin:0!important;
  }

  body.up_zap_like_body .up_logo img,
  body.up_zap_like_body .up_logo_img img{
    width:108px!important;
    max-width:108px!important;
    height:auto!important;
    display:block!important;
  }

  body.up_zap_like_body .up_header_actions,
  body.up_zap_like_body .up_header_actions_viva{
    order:2!important;
    margin-left:auto!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    flex:0 0 auto!important;
  }

  body.up_zap_like_body .up_btn_create{
    display:none!important;
  }

  body.up_zap_like_body .up_icon_link,
  body.up_zap_like_body .up_btn_login{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0!important;
    border-radius:12px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    font-size:0!important;
    line-height:0!important;
    background:#fff!important;
    border:1px solid #0877ee!important;
    color:#0877ee!important;
  }

  body.up_zap_like_body .up_icon_link i,
  body.up_zap_like_body .up_btn_login i{
    font-size:16px!important;
    line-height:1!important;
    margin:0!important;
    color:#0877ee!important;
  }

  /* Botão hamburger: estava branco sem os 3 risquinhos */
  body.up_zap_like_body .up_menu_toggle{
    order:3!important;
    position:relative!important;
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    min-height:44px!important;
    padding:0!important;
    margin:0!important;
    border-radius:12px!important;
    border:1px solid #d6e4f3!important;
    background:#fff!important;
    display:inline-flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    box-shadow:none!important;
    flex:0 0 auto!important;
    z-index:260!important;
  }

  body.up_zap_like_body .up_menu_toggle span{
    display:block!important;
    width:19px!important;
    height:2px!important;
    min-height:2px!important;
    border-radius:999px!important;
    background:#0877ee!important;
    opacity:1!important;
    visibility:visible!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
  }

  body.up_zap_like_body .up_menu_toggle:hover,
  body.up_zap_like_body .up_menu_toggle:focus{
    border-color:#0877ee!important;
    outline:0!important;
    box-shadow:0 0 0 3px rgba(8,119,238,.12)!important;
  }

  /* Menu mobile: classe real aberta é .up_nav_open */
  body.up_zap_like_body .up_nav,
  body.up_zap_like_body .up_nav_viva{
    order:4!important;
    display:none!important;
    position:absolute!important;
    top:72px!important;
    left:12px!important;
    right:12px!important;
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:10px!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,#082746 0%,#0b2f55 100%)!important;
    box-shadow:0 22px 44px rgba(2,8,23,.28)!important;
    z-index:240!important;
  }

  body.up_zap_like_body .up_nav.up_nav_open,
  body.up_zap_like_body .up_nav_viva.up_nav_open{
    display:flex!important;
    flex-direction:column!important;
    gap:8px!important;
  }

  body.up_zap_like_body .up_nav a,
  body.up_zap_like_body .up_nav_viva a,
  body.up_zap_like_body .up_nav_dropbtn{
    width:100%!important;
    min-height:46px!important;
    padding:0 14px!important;
    border:0!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.08)!important;
    color:#fff!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    font-size:15px!important;
    font-weight:800!important;
    line-height:1!important;
    text-decoration:none!important;
    opacity:1!important;
    text-shadow:none!important;
  }

  body.up_zap_like_body .up_nav a:hover,
  body.up_zap_like_body .up_nav_dropbtn:hover{
    background:rgba(255,255,255,.15)!important;
    color:#fff!important;
  }

  body.up_zap_like_body .up_nav_dropdown{
    width:100%!important;
    display:block!important;
    margin:0!important;
    padding:0!important;
  }

  body.up_zap_like_body .up_nav_dropdown_menu{
    position:static!important;
    display:none!important;
    width:100%!important;
    margin:6px 0 0!important;
    padding:6px!important;
    border:0!important;
    border-radius:14px!important;
    background:rgba(255,255,255,.10)!important;
    box-shadow:none!important;
  }

  body.up_zap_like_body .up_nav_dropdown.up_nav_dropdown_open .up_nav_dropdown_menu{
    display:flex!important;
    flex-direction:column!important;
    gap:6px!important;
  }

  body.up_zap_like_body .up_nav_dropdown_menu a{
    min-height:40px!important;
    background:rgba(255,255,255,.10)!important;
    font-size:14px!important;
  }

  /* Galeria e área abaixo dos botões com mais respiro */
  .up_zap_gallery{
    margin-bottom:0!important;
  }

  .up_zap_gallery_grid{
    height:292px!important;
  }

  .up_zap_gallery_photo:first-child,
  .up_zap_gallery_big{
    height:292px!important;
  }

  .up_zap_media_buttons{
    margin:-18px 10px 20px!important;
    padding:0 2px 10px!important;
    gap:8px!important;
    position:relative!important;
    z-index:8!important;
  }

  .up_zap_media_buttons button{
    height:42px!important;
    min-height:42px!important;
    padding:0 14px!important;
    border-radius:16px!important;
    font-size:13px!important;
  }

  .up_zap_page{
    padding:0 12px 34px!important;
  }

  .up_zap_breadcrumb{
    margin:12px 0 14px!important;
    padding-top:2px!important;
    line-height:1.75!important;
    row-gap:5px!important;
  }

  .up_zap_tags_actions{
    margin-top:0!important;
    margin-bottom:14px!important;
    gap:12px!important;
  }

  .up_zap_tags{
    gap:8px!important;
    row-gap:8px!important;
  }

  .up_zap_action_links{
    padding-top:2px!important;
  }
}

@media(max-width:390px){
  body.up_zap_like_body .up_header_inner{
    padding-left:10px!important;
    padding-right:10px!important;
    gap:7px!important;
  }

  body.up_zap_like_body .up_logo img,
  body.up_zap_like_body .up_logo_img img{
    width:104px!important;
    max-width:104px!important;
  }

  body.up_zap_like_body .up_icon_link,
  body.up_zap_like_body .up_btn_login,
  body.up_zap_like_body .up_menu_toggle{
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    min-height:42px!important;
  }

  .up_zap_gallery_grid,
  .up_zap_gallery_photo:first-child,
  .up_zap_gallery_big{
    height:282px!important;
  }
}


/* =========================================================
   Fase 3N - ajuste fino mobile: respiro galeria e menu
   ========================================================= */
@media(max-width:760px){

  /* Remove a linha azul/risco desnecessário no dropdown mobile */
  body.up_zap_like_body .up_nav_dropdown,
  body.up_zap_like_body .up_nav_dropdown_menu,
  body.up_zap_like_body .up_nav_dropbtn,
  body.up_zap_like_body .up_nav_dropdown_menu a{
    border-top:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
    text-decoration:none!important;
  }

  body.up_zap_like_body .up_nav_dropdown:before,
  body.up_zap_like_body .up_nav_dropdown:after,
  body.up_zap_like_body .up_nav_dropdown_menu:before,
  body.up_zap_like_body .up_nav_dropdown_menu:after,
  body.up_zap_like_body .up_nav_dropbtn:before,
  body.up_zap_like_body .up_nav_dropbtn:after{
    display:none!important;
    content:none!important;
  }

  body.up_zap_like_body .up_nav_dropdown_menu{
    margin-top:8px!important;
    padding:8px!important;
    background:rgba(255,255,255,.08)!important;
  }

  body.up_zap_like_body .up_nav_dropdown_menu a{
    background:rgba(255,255,255,.10)!important;
  }

  /* Botões da galeria deixam de sobrepor breadcrumb */
  .up_zap_gallery{
    padding-bottom:0!important;
    margin-bottom:0!important;
  }

  .up_zap_gallery_grid{
    height:292px!important;
    margin-bottom:0!important;
  }

  .up_zap_gallery_photo:first-child,
  .up_zap_gallery_big{
    height:292px!important;
  }

  .up_zap_media_buttons{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    margin:10px 10px 16px!important;
    padding:0 2px 8px!important;
    width:auto!important;
    max-width:calc(100vw - 20px)!important;
    display:flex!important;
    gap:8px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    justify-content:flex-start!important;
    z-index:8!important;
    scrollbar-width:none!important;
  }

  .up_zap_media_buttons::-webkit-scrollbar{
    display:none!important;
  }

  .up_zap_media_buttons button{
    flex:0 0 auto!important;
    height:42px!important;
    min-height:42px!important;
    min-width:max-content!important;
    padding:0 14px!important;
    border-radius:16px!important;
    font-size:13px!important;
    box-shadow:0 8px 20px rgba(15,23,42,.10)!important;
  }

  /* Breadcrumb e chips descem um pouco para não embolar */
  .up_zap_page{
    padding-top:0!important;
  }

  .up_zap_breadcrumb{
    margin:4px 0 14px!important;
    padding:0 2px!important;
    line-height:1.85!important;
    row-gap:5px!important;
    position:relative!important;
    z-index:1!important;
  }

  .up_zap_tags_actions{
    margin-top:0!important;
  }

  .up_zap_action_links{
    margin-top:4px!important;
  }
}

@media(max-width:390px){
  .up_zap_gallery_grid,
  .up_zap_gallery_photo:first-child,
  .up_zap_gallery_big{
    height:276px!important;
  }

  .up_zap_media_buttons{
    margin:9px 8px 16px!important;
    max-width:calc(100vw - 16px)!important;
  }
}


/* =========================================================
   Fase 3O - mobile: botões da galeria em grid, sem sobrepor breadcrumb
   ========================================================= */
@media(max-width:760px){

  /* A galeria passa a reservar espaço real para os botões */
  .up_zap_gallery{
    display:flex!important;
    flex-direction:column!important;
    position:relative!important;
    overflow:visible!important;
    padding-bottom:0!important;
    margin-bottom:0!important;
  }

  .up_zap_gallery_grid{
    order:1!important;
    position:relative!important;
    height:292px!important;
    min-height:292px!important;
    margin:0!important;
    overflow:hidden!important;
  }

  .up_zap_gallery_photo:first-child,
  .up_zap_gallery_big{
    height:292px!important;
    min-height:292px!important;
  }

  /* No mobile os 4 botões viram 2x2: fica legível e não atropela o breadcrumb */
  .up_zap_media_buttons{
    order:2!important;
    position:static!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    width:auto!important;
    max-width:none!important;
    margin:12px 12px 18px!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    overflow:visible!important;
    z-index:2!important;
  }

  .up_zap_media_buttons button{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:42px!important;
    min-height:42px!important;
    padding:0 10px!important;
    border-radius:16px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    font-size:13px!important;
    line-height:1!important;
    white-space:nowrap!important;
    box-shadow:0 8px 18px rgba(15,23,42,.10)!important;
  }

  .up_zap_media_buttons button i{
    flex:0 0 auto!important;
    margin:0!important;
  }

  /* Depois dos botões, o conteúdo começa limpo */
  .up_zap_page{
    padding-top:0!important;
    margin-top:0!important;
    clear:both!important;
  }

  .up_zap_breadcrumb{
    margin:0 0 14px!important;
    padding:0 2px!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:4px 6px!important;
    line-height:1.65!important;
    position:relative!important;
    z-index:1!important;
    background:transparent!important;
  }

  .up_zap_tags_actions{
    margin-top:0!important;
    padding-top:0!important;
  }
}

@media(max-width:390px){
  .up_zap_gallery_grid,
  .up_zap_gallery_photo:first-child,
  .up_zap_gallery_big{
    height:276px!important;
    min-height:276px!important;
  }

  .up_zap_media_buttons{
    margin:10px 10px 16px!important;
    gap:7px!important;
  }

  .up_zap_media_buttons button{
    height:40px!important;
    min-height:40px!important;
    font-size:12px!important;
    padding:0 8px!important;
  }
}


/* =========================================================
   Fase 4A - Header global unificado MobyUP
   Este bloco é a fonte principal do header em home, mapa, detalhe e páginas internas.
   ========================================================= */
.up_header_global.up_header_viva,
.up_header.up_header_global.up_header_viva,
.up_header_viva{
    background:#fff!important;
    border-bottom:1px solid #e6eef6!important;
    box-shadow:0 2px 10px rgba(16,24,40,.04)!important;
    color:#111827!important;
}

.up_header_viva .up_header_inner{
    width:min(1180px, calc(100% - 36px))!important;
    margin:0 auto!important;
}

.up_header_viva .up_menu_toggle{
    border-color:#d6e4f3!important;
    background:#fff!important;
    color:#0877ee!important;
}

.up_header_viva .up_menu_toggle span{
    background:#0877ee!important;
}

@media(max-width:760px){
    .up_header_global.up_header_viva,
    .up_header.up_header_global.up_header_viva,
    .up_header_viva{
        height:auto!important;
        min-height:72px!important;
        padding:0!important;
        background:#fff!important;
        border-bottom:1px solid #e6eef6!important;
        overflow:visible!important;
        z-index:300!important;
    }

    .up_header_viva .up_header_inner{
        width:100%!important;
        max-width:100%!important;
        height:72px!important;
        min-height:72px!important;
        padding:10px 12px!important;
        display:flex!important;
        align-items:center!important;
        justify-content:flex-start!important;
        gap:8px!important;
        flex-wrap:nowrap!important;
        position:relative!important;
        overflow:visible!important;
    }

    .up_header_viva .up_logo,
    .up_header_viva .up_logo_img{
        order:1!important;
        flex:0 0 auto!important;
        margin:0!important;
        display:inline-flex!important;
        align-items:center!important;
    }

    .up_header_viva .up_logo img,
    .up_header_viva .up_logo_img img{
        width:108px!important;
        max-width:108px!important;
        max-height:44px!important;
        height:auto!important;
        display:block!important;
        object-fit:contain!important;
    }

    .up_header_viva .up_header_actions,
    .up_header_viva .up_header_actions_viva{
        order:2!important;
        margin-left:auto!important;
        display:flex!important;
        align-items:center!important;
        gap:8px!important;
        flex:0 0 auto!important;
    }

    .up_header_viva .up_btn_create{
        display:none!important;
    }

    .up_header_viva .up_icon_link,
    .up_header_viva .up_btn_login{
        width:44px!important;
        min-width:44px!important;
        height:44px!important;
        min-height:44px!important;
        padding:0!important;
        border-radius:12px!important;
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        overflow:hidden!important;
        font-size:0!important;
        line-height:0!important;
        background:#fff!important;
        border:1.5px solid #0877ee!important;
        color:#0877ee!important;
        box-shadow:none!important;
    }

    .up_header_viva .up_icon_link i,
    .up_header_viva .up_btn_login i,
    .up_header_viva .up_icon_link .fa,
    .up_header_viva .up_btn_login .fa{
        font-size:16px!important;
        line-height:1!important;
        margin:0!important;
        color:#0877ee!important;
        display:inline-block!important;
    }

    .up_header_viva .up_menu_toggle{
        order:3!important;
        position:relative!important;
        width:44px!important;
        min-width:44px!important;
        height:44px!important;
        min-height:44px!important;
        padding:0!important;
        margin:0!important;
        border-radius:12px!important;
        border:1px solid #d6e4f3!important;
        background:#fff!important;
        display:inline-flex!important;
        flex-direction:column!important;
        align-items:center!important;
        justify-content:center!important;
        gap:5px!important;
        box-shadow:none!important;
        flex:0 0 auto!important;
        z-index:360!important;
    }

    .up_header_viva .up_menu_toggle span{
        display:block!important;
        width:19px!important;
        height:2px!important;
        min-height:2px!important;
        border-radius:999px!important;
        background:#0877ee!important;
        opacity:1!important;
        visibility:visible!important;
        margin:0!important;
        padding:0!important;
        transform:none!important;
    }

    .up_header_viva .up_nav,
    .up_header_viva .up_nav_viva{
        order:4!important;
        display:none!important;
        position:absolute!important;
        top:72px!important;
        left:12px!important;
        right:12px!important;
        width:auto!important;
        max-width:none!important;
        margin:0!important;
        padding:10px!important;
        border:0!important;
        border-radius:18px!important;
        background:linear-gradient(180deg,#082746 0%,#0b2f55 100%)!important;
        box-shadow:0 22px 44px rgba(2,8,23,.28)!important;
        z-index:340!important;
        flex:initial!important;
        align-items:stretch!important;
    }

    .up_header_viva .up_nav.up_nav_open,
    .up_header_viva .up_nav_viva.up_nav_open{
        display:flex!important;
        flex-direction:column!important;
        gap:8px!important;
    }

    .up_header_viva .up_nav > a,
    .up_header_viva .up_nav_viva > a,
    .up_header_viva .up_nav_dropbtn{
        width:100%!important;
        min-height:46px!important;
        height:auto!important;
        padding:0 14px!important;
        border:0!important;
        border-radius:12px!important;
        background:rgba(255,255,255,.08)!important;
        color:#fff!important;
        display:flex!important;
        align-items:center!important;
        justify-content:space-between!important;
        font-size:15px!important;
        font-weight:800!important;
        line-height:1!important;
        text-decoration:none!important;
        opacity:1!important;
        text-shadow:none!important;
        box-shadow:none!important;
        margin:0!important;
    }

    .up_header_viva .up_nav > a:hover,
    .up_header_viva .up_nav_viva > a:hover,
    .up_header_viva .up_nav_dropbtn:hover{
        background:rgba(255,255,255,.15)!important;
        color:#fff!important;
    }

    .up_header_viva .up_nav_dropdown{
        width:100%!important;
        display:block!important;
        margin:0!important;
        padding:0!important;
        border:0!important;
        box-shadow:none!important;
    }

    .up_header_viva .up_nav_dropdown:before,
    .up_header_viva .up_nav_dropdown:after,
    .up_header_viva .up_nav_dropdown_menu:before,
    .up_header_viva .up_nav_dropdown_menu:after,
    .up_header_viva .up_nav_dropbtn:before,
    .up_header_viva .up_nav_dropbtn:after{
        display:none!important;
        content:none!important;
    }

    .up_header_viva .up_nav_dropdown_menu{
        position:static!important;
        display:none!important;
        width:100%!important;
        min-width:0!important;
        margin:8px 0 0!important;
        padding:8px!important;
        border:0!important;
        border-radius:14px!important;
        background:rgba(255,255,255,.08)!important;
        box-shadow:none!important;
        transform:none!important;
    }

    .up_header_viva .up_nav_dropdown.up_nav_dropdown_open .up_nav_dropdown_menu{
        display:flex!important;
        flex-direction:column!important;
        gap:6px!important;
    }

    .up_header_viva .up_nav_dropdown_menu a{
        min-height:40px!important;
        padding:0 12px!important;
        border:0!important;
        border-radius:11px!important;
        background:rgba(255,255,255,.10)!important;
        color:#fff!important;
        font-size:14px!important;
        font-weight:800!important;
        display:flex!important;
        align-items:center!important;
        text-decoration:none!important;
        white-space:normal!important;
        box-shadow:none!important;
    }
}

@media(max-width:390px){
    .up_header_viva .up_header_inner{
        padding-left:10px!important;
        padding-right:10px!important;
        gap:7px!important;
    }

    .up_header_viva .up_logo img,
    .up_header_viva .up_logo_img img{
        width:104px!important;
        max-width:104px!important;
    }

    .up_header_viva .up_icon_link,
    .up_header_viva .up_btn_login,
    .up_header_viva .up_menu_toggle{
        width:42px!important;
        min-width:42px!important;
        height:42px!important;
        min-height:42px!important;
    }
}


/* =========================================================
   Hotfix final - detalhe mobile sem sobreposição
   ========================================================= */
@media (max-width:760px){
    body.up_zap_like_body .up_zap_gallery{
        position:relative!important;
        display:flex!important;
        flex-direction:column!important;
        width:100%!important;
        height:auto!important;
        min-height:0!important;
        margin:0!important;
        padding:0!important;
        overflow:visible!important;
        isolation:isolate!important;
    }

    body.up_zap_like_body .up_zap_gallery_grid{
        order:1!important;
        position:relative!important;
        width:100%!important;
        height:292px!important;
        min-height:292px!important;
        margin:0!important;
        overflow:hidden!important;
        z-index:1!important;
    }

    body.up_zap_like_body .up_zap_gallery_photo:first-child,
    body.up_zap_like_body .up_zap_gallery_big{
        width:100%!important;
        height:292px!important;
        min-height:292px!important;
    }

    body.up_zap_like_body .up_zap_media_buttons{
        order:2!important;
        position:relative!important;
        inset:auto!important;
        left:auto!important;
        right:auto!important;
        top:auto!important;
        bottom:auto!important;
        transform:none!important;
        width:auto!important;
        max-width:none!important;
        margin:12px 12px 18px!important;
        padding:0!important;
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:8px!important;
        overflow:visible!important;
        z-index:3!important;
        clear:both!important;
    }

    body.up_zap_like_body .up_zap_media_buttons button{
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
        height:44px!important;
        min-height:44px!important;
        padding:0 8px!important;
        display:inline-flex!important;
        align-items:center!important;
        justify-content:center!important;
        gap:7px!important;
        white-space:nowrap!important;
        font-size:13px!important;
        line-height:1!important;
    }

    body.up_zap_like_body .up_zap_page,
    body.up_zap_like_body .up_zap_gallery + .up_zap_page{
        position:relative!important;
        width:calc(100% - 22px)!important;
        margin:0 auto!important;
        padding-top:0!important;
        clear:both!important;
        z-index:1!important;
    }

    body.up_zap_like_body .up_zap_breadcrumb{
        position:relative!important;
        margin:0 0 14px!important;
        padding:0 2px!important;
        clear:both!important;
        z-index:1!important;
    }

    body.up_zap_like_body .up_zap_tags_actions{
        position:relative!important;
        display:flex!important;
        flex-direction:column!important;
        align-items:flex-start!important;
        width:100%!important;
        margin:0 0 16px!important;
        padding:0!important;
        clear:both!important;
        z-index:2!important;
    }

    body.up_zap_like_body .up_zap_tags,
    body.up_zap_like_body .up_zap_action_links{
        position:relative!important;
        width:100%!important;
        clear:both!important;
    }

    body.up_zap_like_body .up_zap_action_links{
        display:flex!important;
        flex-wrap:wrap!important;
        gap:14px 20px!important;
        margin-top:4px!important;
    }
}

@media (max-width:390px){
    body.up_zap_like_body .up_zap_gallery_grid,
    body.up_zap_like_body .up_zap_gallery_photo:first-child,
    body.up_zap_like_body .up_zap_gallery_big{
        height:276px!important;
        min-height:276px!important;
    }

    body.up_zap_like_body .up_zap_media_buttons{
        margin:10px 10px 16px!important;
        gap:7px!important;
    }

    body.up_zap_like_body .up_zap_media_buttons button{
        height:42px!important;
        min-height:42px!important;
        font-size:12px!important;
    }
}

/* =========================================================
   HOTFIX 2026-07-28 - DETALHE MOBILE
   Mantém os botões da galeria no fluxo e impede sobreposição
   com breadcrumb, etiquetas e ações do anúncio.
   ========================================================= */
@media (max-width:760px){
    body.up_detail_body.up_zap_like_body main.up_zap_detail_main > .up_zap_gallery,
    body.up_zap_like_body main.up_zap_detail_main > .up_zap_gallery{
        position:relative!important;
        display:grid!important;
        grid-template-columns:minmax(0,1fr)!important;
        grid-template-rows:auto auto!important;
        align-items:stretch!important;
        width:100%!important;
        height:auto!important;
        min-height:0!important;
        margin:0!important;
        padding:0 0 16px!important;
        overflow:visible!important;
        box-sizing:border-box!important;
        isolation:isolate!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_gallery_grid,
    body.up_zap_like_body .up_zap_gallery_grid{
        grid-row:1!important;
        position:relative!important;
        inset:auto!important;
        width:100%!important;
        height:292px!important;
        min-height:292px!important;
        margin:0!important;
        padding:0!important;
        overflow:hidden!important;
        box-sizing:border-box!important;
        z-index:1!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_gallery_photo:first-child,
    body.up_detail_body.up_zap_like_body .up_zap_gallery_big,
    body.up_zap_like_body .up_zap_gallery_photo:first-child,
    body.up_zap_like_body .up_zap_gallery_big{
        position:relative!important;
        inset:auto!important;
        width:100%!important;
        height:292px!important;
        min-height:292px!important;
        margin:0!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_media_buttons,
    body.up_zap_like_body .up_zap_media_buttons{
        grid-row:2!important;
        position:static!important;
        inset:auto!important;
        left:auto!important;
        right:auto!important;
        top:auto!important;
        bottom:auto!important;
        transform:none!important;
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:8px!important;
        width:calc(100% - 24px)!important;
        max-width:none!important;
        margin:12px auto 0!important;
        padding:0!important;
        overflow:visible!important;
        box-sizing:border-box!important;
        clear:both!important;
        z-index:2!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_media_buttons button,
    body.up_zap_like_body .up_zap_media_buttons button{
        position:relative!important;
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
        height:44px!important;
        min-height:44px!important;
        margin:0!important;
        padding:0 8px!important;
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        gap:7px!important;
        white-space:nowrap!important;
        font-size:13px!important;
        line-height:1!important;
        box-sizing:border-box!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_gallery + .up_zap_page,
    body.up_zap_like_body .up_zap_gallery + .up_zap_page{
        position:relative!important;
        display:block!important;
        width:calc(100% - 24px)!important;
        margin:0 auto!important;
        padding-top:0!important;
        clear:both!important;
        z-index:1!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_breadcrumb,
    body.up_zap_like_body .up_zap_breadcrumb{
        position:relative!important;
        display:flex!important;
        align-items:center!important;
        flex-wrap:nowrap!important;
        gap:5px!important;
        width:100%!important;
        min-height:40px!important;
        margin:0 0 10px!important;
        padding:9px 11px!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
        white-space:nowrap!important;
        box-sizing:border-box!important;
        -webkit-overflow-scrolling:touch!important;
        scrollbar-width:none!important;
        z-index:1!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_breadcrumb::-webkit-scrollbar,
    body.up_zap_like_body .up_zap_breadcrumb::-webkit-scrollbar{
        display:none!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_breadcrumb a,
    body.up_detail_body.up_zap_like_body .up_zap_breadcrumb span,
    body.up_zap_like_body .up_zap_breadcrumb a,
    body.up_zap_like_body .up_zap_breadcrumb span{
        flex:0 0 auto!important;
        white-space:nowrap!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_tags_actions,
    body.up_zap_like_body .up_zap_tags_actions{
        position:relative!important;
        display:flex!important;
        flex-direction:column!important;
        align-items:flex-start!important;
        gap:10px!important;
        width:100%!important;
        margin:0 0 16px!important;
        padding:0!important;
        clear:both!important;
        box-sizing:border-box!important;
        z-index:1!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_tags,
    body.up_detail_body.up_zap_like_body .up_zap_action_links,
    body.up_zap_like_body .up_zap_tags,
    body.up_zap_like_body .up_zap_action_links{
        position:relative!important;
        width:100%!important;
        clear:both!important;
    }
}

@media (max-width:390px){
    body.up_detail_body.up_zap_like_body .up_zap_gallery_grid,
    body.up_detail_body.up_zap_like_body .up_zap_gallery_photo:first-child,
    body.up_detail_body.up_zap_like_body .up_zap_gallery_big,
    body.up_zap_like_body .up_zap_gallery_grid,
    body.up_zap_like_body .up_zap_gallery_photo:first-child,
    body.up_zap_like_body .up_zap_gallery_big{
        height:276px!important;
        min-height:276px!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_media_buttons,
    body.up_zap_like_body .up_zap_media_buttons{
        width:calc(100% - 20px)!important;
        gap:7px!important;
        margin-top:10px!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_media_buttons button,
    body.up_zap_like_body .up_zap_media_buttons button{
        height:42px!important;
        min-height:42px!important;
        font-size:12px!important;
    }
}

/* =========================================================
   HOTFIX FINAL 2026-07-28 - ORDEM MOBILE DO DETALHE
   Estrutura garantida:
   1. foto principal
   2. botões Fotos / Vídeo / Mapa / Tour Virtual
   3. breadcrumb
   4. etiquetas e ações
   5. card principal do imóvel
   ========================================================= */
@media (max-width:760px){
    body.up_detail_body.up_zap_like_body main.up_zap_detail_main > .up_zap_gallery,
    body.up_zap_like_body main.up_zap_detail_main > .up_zap_gallery{
        position:relative!important;
        display:block!important;
        width:100%!important;
        height:auto!important;
        min-height:0!important;
        margin:0!important;
        padding:0 0 116px!important;
        overflow:hidden!important;
        box-sizing:border-box!important;
        background:#eef2f7!important;
        isolation:isolate!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_gallery_grid,
    body.up_zap_like_body .up_zap_gallery_grid{
        position:relative!important;
        display:block!important;
        width:100%!important;
        height:292px!important;
        min-height:292px!important;
        max-height:292px!important;
        margin:0!important;
        padding:0!important;
        overflow:hidden!important;
        box-sizing:border-box!important;
        z-index:1!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_gallery_photo,
    body.up_zap_like_body .up_zap_gallery_photo{
        display:none!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_gallery_photo:first-child,
    body.up_detail_body.up_zap_like_body .up_zap_gallery_big,
    body.up_zap_like_body .up_zap_gallery_photo:first-child,
    body.up_zap_like_body .up_zap_gallery_big{
        position:relative!important;
        display:block!important;
        inset:auto!important;
        width:100%!important;
        height:292px!important;
        min-height:292px!important;
        max-height:292px!important;
        margin:0!important;
        padding:0!important;
        overflow:hidden!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_gallery_photo img,
    body.up_zap_like_body .up_zap_gallery_photo img{
        display:block!important;
        width:100%!important;
        height:100%!important;
        min-height:100%!important;
        max-height:none!important;
        object-fit:cover!important;
        object-position:center center!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_media_buttons,
    body.up_zap_like_body .up_zap_media_buttons{
        position:absolute!important;
        left:10px!important;
        right:10px!important;
        top:auto!important;
        bottom:12px!important;
        transform:none!important;
        display:grid!important;
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        grid-template-rows:repeat(2,42px)!important;
        gap:8px!important;
        width:auto!important;
        max-width:none!important;
        height:92px!important;
        min-height:92px!important;
        margin:0!important;
        padding:0!important;
        overflow:visible!important;
        box-sizing:border-box!important;
        clear:none!important;
        z-index:5!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_media_buttons button,
    body.up_zap_like_body .up_zap_media_buttons button{
        position:relative!important;
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        gap:7px!important;
        width:100%!important;
        min-width:0!important;
        max-width:none!important;
        height:42px!important;
        min-height:42px!important;
        margin:0!important;
        padding:0 8px!important;
        border-radius:16px!important;
        white-space:nowrap!important;
        font-size:12px!important;
        line-height:1!important;
        box-sizing:border-box!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_gallery + .up_zap_page,
    body.up_zap_like_body .up_zap_gallery + .up_zap_page,
    body.up_detail_body.up_zap_like_body .up_zap_page,
    body.up_zap_like_body .up_zap_page{
        position:relative!important;
        display:block!important;
        width:calc(100% - 24px)!important;
        max-width:none!important;
        margin:0 auto!important;
        padding:14px 0 34px!important;
        clear:both!important;
        box-sizing:border-box!important;
        z-index:1!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_main_col,
    body.up_zap_like_body .up_zap_main_col{
        display:block!important;
        width:100%!important;
        min-width:0!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_breadcrumb,
    body.up_zap_like_body .up_zap_breadcrumb{
        position:relative!important;
        display:flex!important;
        align-items:center!important;
        flex-wrap:nowrap!important;
        gap:5px!important;
        width:100%!important;
        min-height:38px!important;
        margin:0 0 12px!important;
        padding:8px 10px!important;
        overflow-x:auto!important;
        overflow-y:hidden!important;
        white-space:nowrap!important;
        box-sizing:border-box!important;
        background:#fff!important;
        border:1px solid #e3e9f1!important;
        border-radius:14px!important;
        -webkit-overflow-scrolling:touch!important;
        scrollbar-width:none!important;
        clear:both!important;
        z-index:1!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_breadcrumb::-webkit-scrollbar,
    body.up_zap_like_body .up_zap_breadcrumb::-webkit-scrollbar{
        display:none!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_breadcrumb a,
    body.up_detail_body.up_zap_like_body .up_zap_breadcrumb span,
    body.up_zap_like_body .up_zap_breadcrumb a,
    body.up_zap_like_body .up_zap_breadcrumb span{
        flex:0 0 auto!important;
        white-space:nowrap!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_tags_actions,
    body.up_zap_like_body .up_zap_tags_actions{
        position:relative!important;
        display:flex!important;
        flex-direction:column!important;
        align-items:flex-start!important;
        gap:12px!important;
        width:100%!important;
        margin:0 0 18px!important;
        padding:0!important;
        clear:both!important;
        box-sizing:border-box!important;
        z-index:1!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_tags,
    body.up_zap_like_body .up_zap_tags{
        position:relative!important;
        display:flex!important;
        flex-wrap:wrap!important;
        gap:8px!important;
        width:100%!important;
        margin:0!important;
        clear:both!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_action_links,
    body.up_zap_like_body .up_zap_action_links{
        position:relative!important;
        display:flex!important;
        align-items:center!important;
        flex-wrap:wrap!important;
        gap:12px 18px!important;
        width:100%!important;
        margin:0!important;
        padding:0!important;
        clear:both!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_summary_card,
    body.up_zap_like_body .up_zap_summary_card{
        position:relative!important;
        width:100%!important;
        margin:0!important;
        clear:both!important;
        box-sizing:border-box!important;
        z-index:1!important;
    }
}

@media (max-width:390px){
    body.up_detail_body.up_zap_like_body main.up_zap_detail_main > .up_zap_gallery,
    body.up_zap_like_body main.up_zap_detail_main > .up_zap_gallery{
        padding-bottom:112px!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_gallery_grid,
    body.up_detail_body.up_zap_like_body .up_zap_gallery_photo:first-child,
    body.up_detail_body.up_zap_like_body .up_zap_gallery_big,
    body.up_zap_like_body .up_zap_gallery_grid,
    body.up_zap_like_body .up_zap_gallery_photo:first-child,
    body.up_zap_like_body .up_zap_gallery_big{
        height:276px!important;
        min-height:276px!important;
        max-height:276px!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_media_buttons,
    body.up_zap_like_body .up_zap_media_buttons{
        left:8px!important;
        right:8px!important;
        bottom:10px!important;
        grid-template-rows:repeat(2,40px)!important;
        height:87px!important;
        min-height:87px!important;
        gap:7px!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_media_buttons button,
    body.up_zap_like_body .up_zap_media_buttons button{
        height:40px!important;
        min-height:40px!important;
        padding:0 6px!important;
        font-size:11.5px!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_gallery + .up_zap_page,
    body.up_zap_like_body .up_zap_gallery + .up_zap_page,
    body.up_detail_body.up_zap_like_body .up_zap_page,
    body.up_zap_like_body .up_zap_page{
        width:calc(100% - 20px)!important;
        padding-top:12px!important;
    }
}


/* =========================================================
   HOTFIX 2026-07-29 - MENU COMPARTILHAR NO MOBILE
   Mantém o submenu acima do card principal e evita corte
   pelos contêineres do detalhe.
   ========================================================= */
@media (max-width:760px){
    body.up_detail_body.up_zap_like_body .up_zap_page,
    body.up_detail_body.up_zap_like_body .up_zap_main_col,
    body.up_detail_body.up_zap_like_body .up_zap_tags_actions,
    body.up_detail_body.up_zap_like_body .up_zap_action_links,
    body.up_detail_body.up_zap_like_body .up_zap_share,
    body.up_zap_like_body .up_zap_page,
    body.up_zap_like_body .up_zap_main_col,
    body.up_zap_like_body .up_zap_tags_actions,
    body.up_zap_like_body .up_zap_action_links,
    body.up_zap_like_body .up_zap_share{
        overflow:visible!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_tags_actions,
    body.up_zap_like_body .up_zap_tags_actions{
        z-index:120!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_action_links,
    body.up_zap_like_body .up_zap_action_links{
        z-index:121!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_share,
    body.up_zap_like_body .up_zap_share{
        position:relative!important;
        z-index:122!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_share.open,
    body.up_zap_like_body .up_zap_share.open{
        z-index:9998!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_share_menu,
    body.up_zap_like_body .up_zap_share_menu{
        position:absolute!important;
        top:calc(100% + 8px)!important;
        left:0!important;
        right:auto!important;
        width:min(220px, calc(100vw - 44px))!important;
        max-width:calc(100vw - 44px)!important;
        transform:none!important;
        z-index:9999!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_share.open .up_zap_share_menu,
    body.up_zap_like_body .up_zap_share.open .up_zap_share_menu{
        display:grid!important;
        visibility:visible!important;
        opacity:1!important;
        pointer-events:auto!important;
    }

    body.up_detail_body.up_zap_like_body .up_zap_summary_card,
    body.up_zap_like_body .up_zap_summary_card{
        z-index:1!important;
    }
}
