/* =====================================================================
   mobile-fixes.css — correções exclusivas para mobile
   Todas as regras ficam dentro de @media (max-width: 768px) ou menores.
   Nenhuma regra afeta desktop (min-width > 768px).
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* 1. BASE — overflow horizontal global                                */
/* ------------------------------------------------------------------ */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100vw;
    overflow-x: hidden;
  }

  img,
  iframe,
  video,
  canvas {
    max-width: 100%;
  }
}

/* ------------------------------------------------------------------ */
/* 2. NAVEGAÇÃO MOBILE                                                 */
/* ------------------------------------------------------------------ */

/* 2.1 — overlay ao abrir menu */
@media (max-width: 992px) {
  .nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3;
    cursor: pointer;
  }
  .nav-mobile-overlay.is-active {
    display: block;
  }
}

/* 2.2 — menu com scroll vertical e altura máxima */
@media (max-width: 992px) {
  nav > div > ul > li .nav__hamburger ~ ul {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 100dvh;
  }

  nav > div > ul > li > ul > li:not(:first-of-type) {
    margin-right: 16px;
    margin-left: 32px;
  }

  nav > div > ul > li > ul > li > .submenu li a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* 2.3 — área de toque mínima para botões do header */
@media (max-width: 992px) {
  .nav__hamburger {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  .nav__cart-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  #fechar-menu,
  #voltar-submenu {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* 2.4 — logo compacto em telas pequenas */
@media (max-width: 480px) {
  nav > div > ul > li img {
    max-width: 100px;
    width: 100%;
  }

  /* Esconde "Rede Credenciada" em 480px para não vazar */
  nav > div > ul > li > div ul.nav__quick-actions > li:last-child {
    display: none;
  }
}

/* 2.5 — scroll lock no iOS (position fixed + width) */
@media (max-width: 992px) {
  body.overflow-hidden {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
  }
}

/* 2.6 — Botão "Rede Credenciada" dentro do menu mobile */
li.nav__menu-rede {
  display: none;
}

@media (max-width: 992px) {
  li.nav__menu-rede {
    display: block;
    margin: 16px 45px 4px !important;
  }

  .nav__menu-rede-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 500px;
    background: #ff7bac;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    min-height: 44px;
    width: 100%;
    justify-content: center;
  }

  .nav__menu-rede-btn svg {
    stroke: #fff;
    flex-shrink: 0;
  }

  .nav__menu-rede-btn:hover,
  .nav__menu-rede-btn:visited {
    color: #fff !important;
    text-decoration: none;
    opacity: 0.9;
  }

  /* Esconde o li da rede no submenuIsOpen (mesma lógica dos outros itens) */
  nav > div > ul > li > ul.submenuIsOpen > li.nav__menu-rede {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* 3. HOME — fontes e espaçamentos                                     */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
  /* 3.1 — Hero */
  .section--hero {
    padding: 0 0.75rem;
  }

  .section--hero .hero__wrapper {
    padding: 3.5rem 1rem 4rem;
    border-radius: 16px;
    background-position: center 40%;
  }

  .section--hero .hero__wrapper h1 {
    font-size: 24px !important;
    line-height: 130%;
    max-width: 100%;
    margin: 0 auto 12px;
  }

  .section--hero .hero__wrapper p {
    font-size: 14px;
    max-width: 100%;
    margin: 0 auto 20px;
  }

  .section--hero .hero__wrapper span {
    font-size: 11px;
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
  }

  /* 3.2 — section--first (padding-top compactado) */
  .section--first {
    padding-top: 90px;
  }

  /* 3.3 — Funcionalidades */
  .section--funcionalidades {
    padding: 40px 0;
  }

  .section--funcionalidades h2 {
    font-size: 22px !important;
    margin-bottom: 8px;
  }

  .section--funcionalidades p {
    font-size: 14px;
  }

  .section--funcionalidades .swiper-funcionalidades {
    margin-top: 20px;
  }

  .section--funcionalidades h3 {
    font-size: 17px;
    margin-top: 14px;
    margin-bottom: 6px;
  }

  .section--funcionalidades .funcionalidade__card {
    max-width: 240px;
  }

  /* 3.4 — Vantagens */
  .section--vantagens {
    padding: 40px 0;
    overflow: hidden;
  }

  .section--vantagens h2 {
    font-size: 22px !important;
    max-width: 100%;
  }

  .section--vantagens p {
    font-size: 14px;
    margin-bottom: 32px;
  }

  .section--vantagens .vantagens {
    margin-top: 28px;
  }

  .section--vantagens .vantagens h4 {
    font-size: 16px;
  }

  /* Oculta o texto decorativo gigante que causa overflow */
  .section--vantagens .destaque {
    display: none;
  }

  /* 3.5 — Como Funciona */
  .section--funciona {
    padding: 40px 0;
  }

  .section--funciona h2 {
    font-size: 22px !important;
  }

  .section--funciona p {
    font-size: 14px;
  }

  .section--funciona .passos {
    margin-top: 28px;
  }

  .section--funciona .passos span {
    width: 72px;
    height: 72px;
    font-size: 32px;
  }

  .section--funciona .passos h4 {
    font-size: 18px;
    margin-top: 12px;
  }

  .section--funciona .passos p {
    font-size: 14px;
  }

  /* 3.6 — Depoimentos */
  .section--depoimentos {
    padding: 40px 0;
    margin: 24px 0;
  }

  .section--depoimentos blockquote p {
    font-size: 18px !important;
    line-height: 140%;
  }

  .section--depoimentos ul li b {
    font-size: 18px !important;
  }

  .section--depoimentos .depoimento__pagination {
    position: static;
    margin-top: 24px;
    justify-content: center;
  }

  .section--depoimentos .depoimento__pagination .swiper-button-prev,
  .section--depoimentos .depoimento__pagination .swiper-button-next {
    width: 44px;
    height: 44px;
  }

  /* 3.7 — Especialidades */
  .section--especialidades {
    padding: 40px 0;
  }

  .section--especialidades h2 {
    font-size: 22px !important;
  }

  /* 3.8 — FAQ */
  .section--faq {
    padding: 40px 0;
  }

  .section--faq h2 {
    font-size: 22px !important;
  }

  .section--faq #faqAccordion .accordion-item .accordion-button {
    font-size: 16px;
    padding: 14px 16px;
  }

  /* 3.9 — Dicas */
  .section--dicas {
    padding: 40px 0 0;
  }

  .section--dicas h1 {
    font-size: 26px !important;
    line-height: 120%;
  }

  .section--dicas h2 {
    font-size: 20px !important;
  }

  .dicas__card__title h3 {
    font-size: 18px;
  }

  /* 3.10 — Sobre */
  .section--sobre {
    padding: 40px 0;
  }

  .section--sobre h2 {
    font-size: 22px !important;
  }

  .section--sobre h4 {
    font-size: 18px;
  }

  /* 3.11 — section--simples (sem breakpoint mobile original) */
  .section--simples {
    padding: 40px 0;
  }

  .section--simples h2 {
    font-size: 26px !important;
    line-height: 130%;
  }

  .section--simples h4 {
    font-size: 18px;
  }

  /* 3.12 — Doenças */
  .section--doencas {
    padding: 40px 0 32px;
  }

  .section--doencas h1 {
    font-size: 26px !important;
    line-height: 120%;
  }

  .section--sobreDoencas .container .sobre__doencas h2 {
    font-size: 22px;
  }

  .section--sobreDoencas .container .doencas__box h4 {
    font-size: 18px;
  }

  /* 3.12b — Contato (sem breakpoint mobile original) */
  .section--contato h1 {
    font-size: 26px !important;
    line-height: 120%;
  }

  /* 3.12c — Checkups hero (original fica em 48px no mobile) */
  .section--checkupshero h1 {
    font-size: 26px !important;
    line-height: 120%;
  }

  /* 3.13 — Cuidados (sem breakpoint mobile original) */
  .section--cuidados {
    padding: 40px 0;
  }

  .section--cuidados h2 {
    font-size: 26px !important;
    line-height: 130%;
  }

  .section--cuidados h2 small {
    font-size: 18px;
  }

  /* 3.14 — Procurar */
  .section--procurar {
    padding: 40px 0;
  }

  .section--procurar h2 {
    font-size: 22px !important;
  }

  .section--procurar .procurar__box h4 {
    font-size: 17px;
  }

  /* 3.15 — Sanos (sem breakpoint mobile original) */
  .section--sanos {
    padding: 40px 0;
  }

  .section--sanos h1 {
    font-size: 26px !important;
    line-height: 120%;
  }

  /* 3.16 — Manifesto (sem breakpoint mobile original) */
  .section--manifesto {
    padding: 40px 0;
  }

  .section--manifesto h2,
  .section--manifesto h2 b {
    font-size: 26px !important;
    line-height: 130%;
  }

  .section--manifesto ul li p b {
    font-size: 16px;
  }

  /* 3.17 — Movimentos (sem breakpoint mobile original) */
  .section--movimentos {
    padding: 40px 0;
  }

  .section--movimentos h2,
  .section--movimentos h2 b {
    font-size: 26px !important;
    line-height: 130%;
  }

  .section--movimentos ul li {
    margin-bottom: 2rem;
  }

  /* 3.18 — CTA chamada final */
  .section--chamada {
    padding-bottom: 20px;
  }

  .section--chamada .container {
    border-radius: 16px;
    min-height: auto;
    padding: 36px 20px;
  }

  .section--chamada .container h2 {
    font-size: 24px !important;
    max-width: 100%;
  }

  .section--chamada .container p {
    font-size: 14px;
  }

  /* 3.19 — Seções de padding 75px que não têm ajuste mobile */
  .section--especialidades,
  .section--faq,
  .section--procurar {
    padding: 40px 0;
  }

  /* 3.20 — ul.iconizada.horizontal vira 1 coluna em mobile */
  ul.iconizada.horizontal {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ */
/* 4. PADDING LATERAL DE PÁGINAS — evita grudar nas bordas em mobile   */
/* Todas as classes usadas junto de .container com padding: X 0 Y      */
/* recebem padding lateral de 16px em mobile.                          */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
  /* Grupo A — páginas de laboratórios (laboratorios.css) */
  .det-page,
  .cidade-page,
  .estado-page,
  .guia-page,
  .rede-page {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 20px;
    padding-bottom: 48px;
  }

  /* Grupo B — páginas de exames/vacinas (exames.css) */
  .exa-page,
  .lista-page {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 20px;
    padding-bottom: 48px;
  }

  /* Grupo C — checkout (estilos inline nas views) */
  .ck-page,
  .conf-page {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 20px;
    padding-bottom: 48px;
  }

  /* Ajustes internos — lista de exames/vacinas */
  .lista-header h1 {
    font-size: 22px;
    line-height: 1.25;
  }

  .lista-header__sub {
    font-size: 14px;
  }

  /* Ajustes internos — cidade/estado/guia */
  .cidade-hero,
  .estado-hero,
  .guia-hero {
    margin-bottom: 28px;
  }

  .cidade-hero__desc,
  .estado-hero__desc,
  .guia-hero__desc {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .cidade-stats,
  .estado-stats,
  .guia-stats {
    gap: 16px;
  }

  .cidade-stat__num,
  .estado-stat__num,
  .guia-stat__num {
    font-size: 22px;
  }

  /* Ajustes internos — rede de laboratórios */
  .rede-breadcrumb {
    font-size: 12px;
    flex-wrap: wrap;
  }
}

/* ------------------------------------------------------------------ */
/* 4b. PÁGINAS DE DETALHE (exame, vacina, checkup) — ajustes internos  */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
  /* 4b.1 — Breadcrumb sem padding lateral extra */
  .exa-breadcrumb {
    margin-bottom: 16px;
  }

  /* 4.3 — Header compacto */
  .exa-header {
    margin-bottom: 16px;
  }

  .exa-header h1 {
    font-size: 20px;
    line-height: 1.3;
  }

  .exa-header__resumo {
    font-size: 15px;
  }

  /* 4.4 — Cards de conteúdo com padding menor */
  .exa-card {
    padding: 18px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .exa-card h2 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  /* 4.5 — CTA bar */
  .exa-cta-bar {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
  }

  /* 4.6 — Sidebar vira bloco abaixo do conteúdo (Bootstrap já faz com col-lg-4)
     Apenas ajusta padding interno dos cards */
  .purchase-card {
    padding: 18px 16px;
    border-radius: 12px;
  }

  .onde-sidebar__card {
    padding: 18px 16px;
    border-radius: 12px;
  }

  /* 4.7 — Seção "onde fazer" */
  .onde-fazer-section {
    margin-top: 28px;
    padding-top: 24px;
  }

  .onde-fazer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
  }

  .onde-fazer-header h2 {
    font-size: 18px;
  }

  /* 4.8 — Mapa "onde fazer" */
  #onde-map {
    height: 260px;
    border-radius: 10px;
  }

  /* 4.9 — Lista de laboratórios sem max-height em mobile */
  .lab-full-list {
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }

  /* 4.10 — Cards de laboratório */
  .lab-full-card {
    padding: 14px;
    border-radius: 10px;
  }

  /* 4.11 — Chips de sintomas e doenças */
  .sintomas-list,
  .doencas-list {
    gap: 6px;
  }

  /* 4.12 — Botão geolocalização: área de toque */
  .btn-geolocate {
    min-height: 44px;
  }

  /* 4.13 — Inclusos grid vira 1 coluna */
  .inclusos-list {
    grid-template-columns: 1fr;
  }

  /* 4.14 — Preco badge */
  .purchase-card__preco-val {
    font-size: 28px;
  }

  /* 4.15 — Meta row com wrap */
  .exa-meta {
    gap: 12px;
  }
}

/* ------------------------------------------------------------------ */
/* 5. MAPA E LABORATÓRIOS (index /laboratorios)                        */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
  .labs-page {
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 32px;
  }

  .labs-split {
    flex-direction: column !important;
    height: auto !important;
    overflow: visible !important;
  }

  .labs-sidebar {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    border-right: none !important;
    border-bottom: 1px solid #e5e7eb;
    overflow: visible !important;
  }

  .labs-list {
    max-height: none !important;
    overflow-y: visible !important;
    grid-template-columns: 1fr 1fr !important;
    padding-bottom: 16px;
  }

  .labs-map-container {
    height: 300px !important;
    min-height: 280px;
    max-height: 360px;
    position: relative !important;
    z-index: 0 !important;
  }

  #labs-map {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 0 !important;
  }

  .section--mapa .section--mapa__map {
    height: 300px !important;
    position: relative !important;
    width: 100% !important;
    z-index: 0 !important;
  }

  .gm-bundled-control,
  .gm-control-active,
  .gm-svpc,
  .gmnoprint {
    z-index: 1 !important;
  }
}

@media (max-width: 480px) {
  .labs-list {
    grid-template-columns: 1fr !important;
  }
}

/* ------------------------------------------------------------------ */
/* 5. FILTROS — bottom sheet                                           */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
  .labs-filters__row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .labs-loc-wrap {
    flex: 1 1 100%;
    min-width: 0;
  }

  .labs-filter-btn {
    flex-shrink: 0;
    min-height: 44px;
    padding: 10px 16px;
  }

  /* Dialog de filtros vira bottom sheet */
  .labs-fdialog {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 85dvh !important;
    overflow-y: auto !important;
    z-index: 1800 !important;
    margin: 0 !important;
  }

  .labs-fmodal {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 20px 20px 24px;
  }

  .labs-fmodal__footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 14px 0 0;
    border-top: 1px solid #f3f4f6;
    margin-top: auto;
  }

  .labs-fmodal__footer .btn {
    min-height: 44px;
  }

  /* Inputs com altura de toque e sem zoom iOS */
  .labs-loc-form input,
  .labs-name-wrap input,
  .labs-tipo-wrap select,
  .labs-combo__input,
  .maploc-input,
  .mapfilter-input {
    min-height: 44px;
    font-size: 16px !important;
  }

  .labs-loc-form button {
    min-height: 44px;
  }

  .mapfilter-trigger {
    min-width: 0 !important;
    width: 100% !important;
    min-height: 44px;
  }

  .maploc-field {
    min-height: 44px;
  }
}

@media (max-width: 576px) {
  .labs-filters {
    padding: 8px 12px 6px;
  }

  .labs-loc-form button span {
    display: none;
  }

  .labs-loc-form button {
    padding: 11px 14px;
  }
}

/* ------------------------------------------------------------------ */
/* 6. Z-INDEX — hierarquia de overlays, modais e carrinho              */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
  /* Modal Bootstrap (location modal) acima de tudo */
  .location-modal.modal,
  .modal.show {
    z-index: 1900 !important;
  }
  .modal-backdrop {
    z-index: 1899 !important;
  }

  /* Carrinho */
  .cart-overlay {
    z-index: 1400 !important;
  }
  .cart-drawer {
    z-index: 1500 !important;
    max-width: 100% !important;
  }

  /* Item drawer */
  .item-drawer-overlay {
    z-index: 1590 !important;
  }
  .item-drawer {
    z-index: 1600 !important;
    width: 100vw !important;
    top: 0 !important;
  }

  /* Dialog de filtros — z-index */
  .labs-fdialog {
    z-index: 1800 !important;
  }

  /* Lightbox de checkups — bottom sheet em mobile */
  dialog#sanos-lightbox {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 20px 20px 0 0 !important;
    max-height: 90dvh !important;
    overflow-y: auto !important;
    margin: 0 !important;
    z-index: 1800 !important;
  }

  /* Scroll lock quando overlays estão abertos */
  body.item-drawer-open,
  body.cart-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
  }

  nav {
    z-index: 99;
  }

  /* Location modal no mobile */
  .location-modal .modal-dialog {
    margin: 8px;
    max-width: calc(100vw - 16px);
  }

  .location-modal .modal-content {
    padding: 24px 16px 28px;
    border-radius: 16px !important;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }
}

/* ------------------------------------------------------------------ */
/* 7. RESPONSIVIDADE GERAL                                             */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
  /* 7.1 — Botões com área de toque mínima */
  .btn-sanos,
  .btn-rosa,
  .btn-branco,
  .btn-preto,
  .btn-neutral,
  .btn-add-to-cart {
    min-height: 44px;
  }

  .btn-add-to-cart {
    width: 100%;
    justify-content: center;
  }

  /* 7.2 — CTA bar de exames */
  .exa-cta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
  }

  /* 7.3 — Grid de serviços vira 1 coluna */
  .servico-grid {
    grid-template-columns: 1fr !important;
  }

  /* 7.4 — Detalhe do lab (/laboratorio/...) — ajustes internos */
  .det-header {
    margin-bottom: 20px;
  }

  .det-header h1 {
    font-size: 20px;
    line-height: 1.25;
  }

  .det-addr {
    font-size: 13px;
  }

  .det-servicos {
    border-radius: 14px;
    padding: 18px 16px;
    margin-bottom: 20px;
  }

  .det-servicos__title {
    font-size: 18px;
  }

  .det-servicos__search-wrap {
    height: 46px;
    padding: 0 12px;
  }

  .det-card {
    padding: 16px;
    border-radius: 12px;
  }

  .det-card h2 {
    font-size: 14px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .contact-row__label {
    font-size: 11px;
    min-width: 60px;
  }

  .contact-row__value {
    font-size: 13px;
  }

  .det-carousel {
    border-radius: 12px;
    margin-top: 8px;
  }

  .unit-card__name {
    font-size: 13px;
  }

  .unit-card__addr {
    font-size: 12px;
  }

  /* 7.5 — Tabs com scroll horizontal */
  .det-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .det-tab {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* 7.6 — Evita zoom iOS em qualquer input */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="search"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }

  /* 7.7 — Breadcrumbs não vazam */
  .det-breadcrumb,
  .exa-breadcrumb,
  .cidade-breadcrumb,
  .estado-breadcrumb {
    flex-wrap: wrap;
    font-size: 12px;
  }

  /* 7.8 — min-width que causavam overflow */
  .labs-sidebar {
    min-width: 0 !important;
  }

  /* 7.9 — Swiper responsivo */
  .swiper-slide img {
    max-width: 100%;
    height: auto;
  }

  /* 7.10 — scroll-to-top e whatsapp não se sobrepõem */
  .scroll-top {
    bottom: 80px;
  }

  .whatsapp-fixed {
    bottom: 16px;
    right: 16px;
  }

  /* 7.11 — item drawer content com safe area */
  .item-drawer__content {
    padding-bottom: env(safe-area-inset-bottom, 20px);
  }

  /* 7.12 — Seção de mapa não corta overlays */
  .section--mapa {
    position: relative;
    overflow: visible;
  }
}

/* ------------------------------------------------------------------ */
/* 8. TELAS MUITO PEQUENAS (≤ 390px)                                  */
/* ------------------------------------------------------------------ */

@media (max-width: 390px) {
  .section--hero .hero__wrapper h1 {
    font-size: 22px !important;
  }

  /* Esconde localização para não vazar */
  .nav__location-btn {
    display: none !important;
  }

  .labs-hero__title {
    font-size: 15px;
  }

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

/* ------------------------------------------------------------------ */
/* 9. SAFE AREA INSETS (iPhone com notch/Dynamic Island)              */
/* ------------------------------------------------------------------ */

@media (max-width: 768px) {
  nav > div > ul > li .nav__hamburger ~ ul {
    padding-top: env(safe-area-inset-top, 0px);
  }

  .cart-drawer {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .labs-fdialog {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}
