/* =====================================================================
   laboratorios.css — estilos das páginas de laboratórios
   Index · Detalhe · Cidade · Estado · Guia
   ===================================================================== */

/* ------------------------------------------------------------------ */
/* Badges (compartilhado entre Index, Detalhe e Cidade)                */
/* ------------------------------------------------------------------ */
.badge-sanos {
  background: #fff0f7;
  color: #c2185b;
  border: 1px solid #f9a8d4;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.3px;
}
.badge-tipo {
  background: #f3f4f6;
  color: #6b7280;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 99px;
}

/* ------------------------------------------------------------------ */
/* Index — sidebar (busca + lista 2-col) + mapa                        */
/* ------------------------------------------------------------------ */
.labs-page {
  height: calc(100vh - 73px);
  overflow: hidden;
}

/* ── Hero da sidebar ────────────────────────────────────────────── */
.labs-hero {
  padding: 20px 20px 0;
  flex-shrink: 0;
}
.labs-hero__title {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 4px;
  line-height: 1.3;
}
.labs-hero__sub {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* ── Filtros (barra superior) ────────────────────────────────────── */
.labs-filters {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 20px 8px;
  flex-shrink: 0;
  z-index: 20;
}
.labs-filters__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.labs-filters__status {
  font-size: 11px;
  color: #6b7280;
  display: block;
  padding: 5px 2px 0;
}

/* Campo de localização */
.labs-loc-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.labs-loc-form {
  display: flex;
  width: 100%;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.labs-loc-form:focus-within {
  border-color: #ff7bac;
  box-shadow: 0 0 0 3px rgba(255, 123, 172, 0.12);
}
.labs-loc-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 14px;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  min-width: 0;
  background: transparent;
}
.labs-loc-form button {
  border: none;
  background: #ff7bac;
  color: #fff;
  padding: 11px 20px;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.labs-loc-form button:hover {
  background: #e6007e;
}

/* Dropdown de autocomplete */
.labs-loc-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  overflow: hidden;
}
#labs-loc-suggestions {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  max-height: 240px;
  overflow-y: auto;
}
#labs-loc-suggestions::-webkit-scrollbar {
  width: 4px;
}
#labs-loc-suggestions::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}
.labs-loc-suggestion {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 14px;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  font-family: Manrope, sans-serif;
  transition: background 0.1s;
}
.labs-loc-suggestion:hover,
.labs-loc-suggestion.active {
  background: #fff0f7;
}
.labs-loc-suggestion__icon {
  color: #9ca3af;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.labs-loc-suggestion__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.labs-loc-suggestion__main {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.labs-loc-suggestion__secondary {
  font-size: 12px;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.labs-loc-powered {
  padding: 7px 14px;
  font-size: 11px;
  color: #9ca3af;
  text-align: right;
  border-top: 1px solid #f3f4f6;
}
/* Skeletons do autocomplete */
.labs-loc-skel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
}
.labs-loc-skel-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite linear;
}
.labs-loc-skel-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.labs-loc-skel-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s infinite linear;
}
.labs-loc-skel-line:first-child {
  width: 60%;
}
.labs-loc-skel-line:last-child {
  width: 40%;
}

/* Botão "Filtrar" */
.labs-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 18px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.labs-filter-btn:hover {
  border-color: #ff7bac;
  color: #ff7bac;
}
.labs-filter-btn.active {
  border-color: #ff7bac;
  background: #fff0f7;
  color: #c2185b;
}
.labs-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: #ff7bac;
  color: #fff;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 800;
}

/* ── Dialog de filtros ───────────────────────────────────────────── */
.labs-fdialog {
  border: 0;
  border-radius: 16px;
  padding: 0;
  width: 460px;
  max-width: calc(100vw - 24px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  font-family: Manrope, sans-serif;
}
.labs-fdialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
}
.labs-fmodal {
  padding: 24px 24px 28px;
}
.labs-fmodal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.labs-fmodal__header h2 {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  margin: 0;
}
.labs-fmodal__close {
  border: 0;
  background: #f9fafb;
  color: #6b7280;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  flex-shrink: 0;
}
.labs-fmodal__close:hover {
  background: #f3f4f6;
  color: #111827;
}

.labs-fmodal__group {
  margin-bottom: 14px;
}
.labs-fmodal__group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}

.labs-fmodal__footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #f3f4f6;
}
.labs-fmodal__footer .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
}

/* ── Controles de filtro (usados dentro do dialog) ───────────────── */
.labs-name-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.labs-name-wrap:focus-within {
  border-color: #ff7bac;
  box-shadow: 0 0 0 3px rgba(255, 123, 172, 0.12);
}
.labs-name-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 0;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  min-width: 0;
  background: transparent;
}
.labs-name-clear {
  border: none;
  background: none;
  cursor: pointer;
  color: #9ca3af;
  font-size: 18px;
  padding: 0;
  line-height: 1;
  display: none;
  flex-shrink: 0;
}
.labs-name-clear:hover {
  color: #374151;
}

.labs-tipo-wrap {
  display: flex;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.labs-tipo-wrap:focus-within {
  border-color: #ff7bac;
  box-shadow: 0 0 0 3px rgba(255, 123, 172, 0.12);
}
.labs-tipo-wrap select {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 34px 11px 14px;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  color: #374151;
  background: transparent;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  min-width: 0;
}

/* Combo pesquisável */
.labs-combo {
  position: relative;
}
.labs-combo__trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  padding: 0 12px;
  background: #fff;
  cursor: text;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.labs-combo__trigger.open,
.labs-combo__trigger:focus-within {
  border-color: #ff7bac;
  box-shadow: 0 0 0 3px rgba(255, 123, 172, 0.12);
}
.labs-combo__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 11px 0;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  min-width: 0;
  background: transparent;
}
.labs-combo__input::placeholder {
  color: #9ca3af;
}
.labs-combo__clear {
  border: none;
  background: none;
  cursor: pointer;
  color: #9ca3af;
  font-size: 16px;
  padding: 0;
  line-height: 1;
  display: none;
  flex-shrink: 0;
}
.labs-combo__clear:hover {
  color: #374151;
}
.labs-combo__chevron {
  color: #9ca3af;
  font-size: 9px;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform 0.18s;
}
.labs-combo__trigger.open .labs-combo__chevron {
  transform: rotate(180deg);
}

.labs-combo__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  max-height: 220px;
  overflow-y: auto;
  z-index: 9999;
  display: none;
}
.labs-combo__dropdown.open {
  display: block;
}
.labs-combo__dropdown::-webkit-scrollbar {
  width: 4px;
}
.labs-combo__dropdown::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}
.labs-combo__option {
  padding: 10px 16px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: background 0.12s;
}
.labs-combo__option:hover {
  background: #fff0f7;
  color: #c2185b;
}
.labs-combo__option.selected {
  background: #fff0f7;
  color: #c2185b;
  font-weight: 700;
}
.labs-combo__option.hidden {
  display: none;
}
.labs-combo__empty {
  padding: 10px 16px;
  font-size: 13px;
  color: #9ca3af;
}

@media (max-width: 576px) {
  .labs-filters {
    padding: 8px 12px 6px;
  }
  .labs-loc-form button span {
    display: none;
  }
}

.lab-card-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.lab-card-content {
  flex: 1;
  min-width: 0;
}
.lab-card__photo {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #d1d5db;
}
.lab-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.labs-split {
  display: flex;
  height: 100%;
  overflow: hidden;
}

.labs-sidebar {
  width: 54%;
  min-width: 360px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid #e5e7eb;
}

.labs-list {
  flex: 1;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 16px 60px;
  align-content: start;
}
.labs-list::-webkit-scrollbar {
  width: 4px;
}
.labs-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}

.labs-empty,
.lab-card-skeleton {
  grid-column: 1 / -1;
}

.lab-card {
  display: block;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-left: 4px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px 14px 16px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
  text-decoration: none;
  color: inherit;
}
.lab-card:hover {
  border-color: #ff7bac;
  border-left-color: #ff7bac;
  box-shadow: 0 6px 20px rgba(255, 123, 172, 0.22);
  transform: translateY(-2px);
  color: inherit;
  text-decoration: none;
}
.lab-card.active {
  border-color: #ff7bac;
  border-left-color: #e6007e;
  box-shadow: 0 6px 24px rgba(255, 123, 172, 0.3);
  color: inherit;
  text-decoration: none;
}

.lab-card__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.lab-card h5 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 3px;
  color: #111827;
  line-height: 1.3;
}
.lab-card__addr {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 2px;
  line-height: 1.4;
}
.lab-card__cidade {
  font-size: 11px;
  color: #9ca3af;
  margin: 0 0 8px;
}
.lab-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #ff7bac;
  font-weight: 600;
}

.labs-empty {
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
  padding: 40px 16px;
  line-height: 1.6;
}

@keyframes shimmer {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: 400px 0;
  }
}
.skel {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
  border-radius: 6px;
}
.lab-card-skeleton {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-left: 4px solid #e5e7eb;
  border-radius: 12px;
  padding: 14px 18px 14px 16px;
}
.lab-card-skeleton .skel-badge {
  height: 18px;
  width: 56px;
  margin-bottom: 10px;
}
.lab-card-skeleton .skel-title {
  height: 16px;
  width: 70%;
  margin-bottom: 8px;
}
.lab-card-skeleton .skel-addr {
  height: 13px;
  width: 90%;
  margin-bottom: 5px;
}
.lab-card-skeleton .skel-cidade {
  height: 12px;
  width: 50%;
  margin-bottom: 12px;
}
.lab-card-skeleton .skel-link {
  height: 13px;
  width: 30%;
}

.labs-map-container {
  flex: 1;
  position: relative;
}
#labs-map {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

@media (max-width: 1100px) {
  .labs-sidebar {
    width: 50%;
    min-width: 320px;
  }
}

@media (max-width: 768px) {
  .labs-page {
    height: auto;
    overflow: visible;
  }
  .labs-split {
    flex-direction: column;
    height: auto;
  }
  .labs-sidebar {
    width: 100%;
    min-width: 0;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  .labs-list {
    grid-template-columns: 1fr 1fr;
    max-height: 50vh;
  }
  .labs-map-container {
    height: 50vh;
  }
}

@media (max-width: 480px) {
  .labs-list {
    grid-template-columns: 1fr;
  }
  .labs-filters {
    padding: 8px 12px 6px;
  }
}

/* ------------------------------------------------------------------ */
/* Detalhe — página do laboratório                                     */
/* ------------------------------------------------------------------ */
.det-page {
  padding: 40px 0 80px;
}

.det-breadcrumb {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.det-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}
.det-breadcrumb a:hover {
  color: #ff7bac;
}
.det-breadcrumb span {
  color: #d1d5db;
}

.det-header {
  margin-bottom: 36px;
}
.det-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.det-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 10px;
  line-height: 1.2;
}
.det-addr {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
}
.det-addr a {
  color: #ff7bac;
  text-decoration: none;
  font-weight: 600;
}
.det-addr a:hover {
  text-decoration: underline;
}

.det-servicos {
  background: linear-gradient(135deg, #fff0f7 0%, #f5f0ff 100%);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 36px;
}
.det-servicos__header {
  margin-bottom: 20px;
}
.det-servicos__title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 6px;
}
.det-servicos__subtitle {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.det-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.det-tab {
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #6b7280;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 99px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
}
.det-tab[aria-pressed="true"] {
  border-color: #ff7bac;
  background: #ff7bac;
  color: #fff;
}
.det-tab:hover:not([aria-pressed="true"]) {
  border-color: #ff7bac;
  color: #ff7bac;
}

.servico-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  gap: 12px;
}
@media (max-width: 576px) {
  .servico-grid {
    grid-template-columns: 1fr;
  }
}
.servico-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  border: 1.5px solid rgba(255, 123, 172, 0.2);
  transition:
    box-shadow 0.2s,
    transform 0.15s;
}
.servico-card:hover {
  box-shadow: 0 8px 24px rgba(255, 123, 172, 0.18);
  transform: translateY(-2px);
}
.servico-card__body {
  flex: 1;
  margin-bottom: 12px;
}
.servico-card__nome {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
  line-height: 1.3;
}
.servico-card__desc {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.servico-card__footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #f3f4f6;
}
.servico-card__preco {
  font-size: 17px;
  font-weight: 800;
  color: #c2185b;
  white-space: nowrap;
}
/* ── Busca de serviços ─────────────────────────────────────────────── */
.det-servicos__header-top {
  margin-bottom: 16px;
}
.det-servicos__search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid rgba(255, 123, 172, 0.35);
  border-radius: 12px;
  padding: 0 16px;
  height: 52px;
  margin-bottom: 20px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  color: #ff7bac;
  box-shadow: 0 10px 28px rgba(255, 123, 172, 0.12);
}
.det-servicos__search-wrap:focus-within {
  border-color: #ff7bac;
  box-shadow:
    0 0 0 4px rgba(255, 123, 172, 0.14),
    0 12px 30px rgba(255, 123, 172, 0.14);
}
.det-servicos__search {
  flex: 1;
  border: none;
  outline: none;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 650;
  color: #111827;
  background: transparent;
  min-width: 0;
}
.det-servicos__search::placeholder {
  color: #9ca3af;
}
.det-servicos__search::-webkit-search-cancel-button {
  cursor: pointer;
}

/* ── Ações do card (Adicionar + Comprar) ───────────────────────────── */
.servico-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.btn-servico-add {
  background: #ff7bac;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  font-family: Manrope, sans-serif;
}
.btn-servico-add:hover {
  background: #e6007e;
}
.btn-servico-add:disabled,
.btn-servico-add.added,
.btn-servico-add.in-cart {
  background: #f5d9e8;
  color: #9f2d67;
  pointer-events: none;
  cursor: default;
  opacity: 1;
}
.btn-saiba-mais {
  font-size: 13px;
  font-weight: 600;
  color: #ff7bac;
  padding: 1px 12px;
  border-radius: 99px;
  border: none;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  font-family: Manrope, sans-serif;
}
.btn-saiba-mais:hover {
  background: #ff7bac;
  color: #fff;
}
.servico-search-empty {
  font-size: 14px;
  color: #9ca3af;
  margin: 8px 0 0;
}
.servico-vazio {
  font-size: 14px;
  color: #9ca3af;
  margin: 0;
}
.servico-results__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}
.servico-results__count {
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
}
.servico-load-more {
  border: 1.5px solid #ff7bac;
  background: #fff;
  color: #c2185b;
  border-radius: 99px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 800;
  font-family: Manrope, sans-serif;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.servico-load-more:hover {
  background: #ff7bac;
  color: #fff;
}
.servico-load-more:disabled {
  border-color: #f3c1d8;
  color: #b76f91;
  background: #fff7fb;
  cursor: wait;
}
.servico-card--skeleton {
  gap: 10px;
  pointer-events: none;
}
.servico-skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f3f4f6;
}
.servico-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.75),
    transparent
  );
  animation: servico-skeleton 1.2s infinite;
}
.servico-skeleton--title {
  width: 72%;
  height: 16px;
}
.servico-skeleton--line {
  width: 100%;
  height: 12px;
}
.servico-skeleton--line.short {
  width: 58%;
}
.servico-skeleton--footer {
  width: 86%;
  height: 34px;
  margin-top: 10px;
}
@keyframes servico-skeleton {
  100% {
    transform: translateX(100%);
  }
}
@media (max-width: 576px) {
  .det-servicos {
    padding: 20px;
  }
  .servico-card__actions,
  .servico-results__footer {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .servico-results__footer {
    flex-direction: column;
  }
  .servico-load-more {
    width: 100%;
  }
}

.det-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.det-card h2 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f9fafb;
}
.contact-row:last-child {
  border-bottom: none;
}
.contact-row__label {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  min-width: 80px;
}
.contact-row__value {
  flex: 1;
  font-size: 15px;
  color: #374151;
  font-weight: 500;
}
.contact-row__value a {
  color: #374151;
  text-decoration: none;
}
.contact-row__value a:hover {
  color: #ff7bac;
}
.btn-revelar {
  border: 1.5px solid #ff7bac;
  background: transparent;
  color: #ff7bac;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 99px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.btn-revelar:hover {
  background: #ff7bac;
  color: #fff;
}
.btn-revelar:disabled {
  opacity: 0.5;
  cursor: default;
}

.unit-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  color: inherit;
}
.unit-card:last-child {
  border-bottom: none;
}
.unit-card__info {
  flex: 1;
}
.unit-card__name {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 2px;
}
.unit-card__addr {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}
.unit-card__arrow {
  color: #ff7bac;
  font-size: 18px;
  font-weight: 300;
}
.unit-card:hover .unit-card__name {
  color: #ff7bac;
}

.det-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #f3f4f6;
  aspect-ratio: 4 / 3;
  margin-bottom: 0;
}
.det-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}
.det-carousel__slide {
  flex: 0 0 100%;
  height: 100%;
}
.det-carousel__slide img {
  width: 100%;
  object-position: top;
  height: 100%;
  object-fit: cover;
  display: block;
}
.det-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.88);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
  z-index: 2;
}
.det-carousel__btn:hover {
  background: #fff;
}
.det-carousel__btn--prev {
  left: 10px;
}
.det-carousel__btn--next {
  right: 10px;
}
.det-carousel__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.det-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  padding: 0;
}
.det-carousel__dot.active {
  background: #fff;
}

/* ------------------------------------------------------------------ */
/* Cidade — lista de labs por cidade                                   */
/* ------------------------------------------------------------------ */
.cidade-page {
  padding: 48px 0 80px;
}

.cidade-breadcrumb {
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cidade-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}
.cidade-breadcrumb a:hover {
  color: #ff7bac;
}
.cidade-breadcrumb span {
  color: #d1d5db;
}

.cidade-hero {
  margin-bottom: 48px;
}
.cidade-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin: 0 0 12px;
}
@media (max-width: 768px) {
  .cidade-hero h1 {
    font-size: 26px;
  }
}
.cidade-hero__desc {
  font-size: 16px;
  color: #6b7280;
  max-width: 620px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.cidade-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.cidade-stat {
  display: flex;
  flex-direction: column;
}
.cidade-stat__num {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}
.cidade-stat__label {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 4px;
}
.cidade-stat--sanos .cidade-stat__num {
  color: #c2185b;
}

.labs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
@media (max-width: 992px) {
  .labs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .labs-grid {
    grid-template-columns: 1fr;
  }
}

.lab-grid-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.15s,
    border-color 0.2s;
}
.lab-grid-card:hover {
  box-shadow: 0 8px 28px rgba(255, 123, 172, 0.2);
  border-color: #ff7bac;
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}
.lab-grid-card--sanos {
  border-color: #f9a8d4;
}

.lab-grid-card__photo {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #f9fafb;
  flex-shrink: 0;
}
.lab-grid-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.lab-grid-card__body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lab-grid-card__badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.lab-grid-card__name {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 6px;
  line-height: 1.3;
}
.lab-grid-card__addr {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 16px;
  flex: 1;
}
.lab-grid-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
  margin-top: auto;
}
.lab-grid-card__servicos {
  font-size: 12px;
  color: #9ca3af;
}
.lab-grid-card__link {
  font-size: 13px;
  font-weight: 700;
  color: #ff7bac;
  white-space: nowrap;
}
.lab-grid-card:hover .lab-grid-card__link {
  text-decoration: underline;
}

.outras-cidades h2 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 20px;
}
.cidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.cidade-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.cidade-link:hover {
  border-color: #ff7bac;
  color: #ff7bac;
  text-decoration: none;
}
.cidade-link__count {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 400;
  white-space: nowrap;
}

.cidade-vazia {
  text-align: center;
  padding: 60px 16px;
  color: #9ca3af;
  font-size: 16px;
  line-height: 1.7;
}
.cidade-vazia a {
  color: #ff7bac;
  font-weight: 700;
  text-decoration: none;
}

/* ------------------------------------------------------------------ */
/* Estado — lista de cidades por estado                                */
/* ------------------------------------------------------------------ */
.estado-page {
  padding: 48px 0 80px;
}

.estado-breadcrumb {
  font-size: 13px;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.estado-breadcrumb a {
  color: #6b7280;
  text-decoration: none;
}
.estado-breadcrumb a:hover {
  color: #ff7bac;
}
.estado-breadcrumb span {
  color: #d1d5db;
}

.estado-hero {
  margin-bottom: 48px;
}
.estado-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin: 0 0 12px;
}
@media (max-width: 768px) {
  .estado-hero h1 {
    font-size: 26px;
  }
}
.estado-hero__desc {
  font-size: 16px;
  color: #6b7280;
  max-width: 600px;
  line-height: 1.6;
  margin: 0 0 28px;
}
.estado-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.estado-stat {
  display: flex;
  flex-direction: column;
}
.estado-stat__num {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}
.estado-stat__label {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 4px;
}
.estado-stat--sanos .estado-stat__num {
  color: #c2185b;
}

.cidades-grid-main {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 0;
}
@media (max-width: 576px) {
  .cidades-grid-main {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 360px) {
  .cidades-grid-main {
    grid-template-columns: 1fr;
  }
}

.cidade-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.15s;
}
.cidade-card:hover {
  border-color: #ff7bac;
  box-shadow: 0 6px 20px rgba(255, 123, 172, 0.18);
  transform: translateY(-2px);
  text-decoration: none;
  color: inherit;
}
.cidade-card--sanos {
  border-color: #f9a8d4;
}

.cidade-card__nome {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px;
  line-height: 1.2;
}
.cidade-card__stats {
  font-size: 13px;
  color: #6b7280;
  flex: 1;
}
.cidade-card__sanos {
  display: inline-block;
  margin-top: 10px;
  background: #fff0f7;
  color: #c2185b;
  border: 1px solid #f9a8d4;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
}
.cidade-card__link {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: #ff7bac;
}

/* ------------------------------------------------------------------ */
/* Guia — índice de estados e cidades                                  */
/* ------------------------------------------------------------------ */
.guia-page {
  padding: 48px 0 80px;
}

.guia-hero {
  margin-bottom: 56px;
}
.guia-hero h1 {
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin: 0 0 12px;
}
@media (max-width: 768px) {
  .guia-hero h1 {
    font-size: 26px;
  }
}
.guia-hero__desc {
  font-size: 16px;
  color: #6b7280;
  max-width: 600px;
  line-height: 1.6;
  margin: 0 0 28px;
}
.guia-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.guia-stat {
  display: flex;
  flex-direction: column;
}
.guia-stat__num {
  font-size: 28px;
  font-weight: 800;
  color: #111827;
  line-height: 1;
}
.guia-stat__label {
  font-size: 13px;
  color: #9ca3af;
  margin-top: 4px;
}

.guia-estados {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
@media (max-width: 576px) {
  .guia-estados {
    grid-template-columns: 1fr;
  }
}

.guia-estado {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}

.guia-estado__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 20px;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  transition: background 0.15s;
}
.guia-estado__header:hover {
  background: #fff8fb;
  text-decoration: none;
}

.guia-estado__nome {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}
.guia-estado__count {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 500;
  white-space: nowrap;
}
.guia-estado__uf {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #ff7bac;
  border-radius: 99px;
  padding: 2px 8px;
  flex-shrink: 0;
}

.guia-estado__cidades {
  padding: 14px 20px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.guia-cidade-link {
  font-size: 13px;
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 99px;
  padding: 4px 12px;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
  white-space: nowrap;
}
.guia-cidade-link:hover {
  background: #fff0f7;
  border-color: #f9a8d4;
  color: #c2185b;
  text-decoration: none;
}
.guia-cidade-link--sanos {
  background: #fff0f7;
  border-color: #f9a8d4;
  color: #c2185b;
  font-weight: 700;
}
.guia-cidade-link--sanos:hover {
  background: #ffe0f0;
  border-color: #f48fb1;
}

/* ------------------------------------------------------------------ */
/* Drawer "Saiba mais"                                                 */
/* ------------------------------------------------------------------ */
body.item-drawer-open {
  overflow: hidden;
}
.item-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1590;
  background: rgba(17, 24, 39, 0.48);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.item-drawer-overlay.is-visible {
  opacity: 1;
}
.item-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1600;
  width: min(520px, 100vw);
  background: #fff;
  color: #111827;
  box-shadow: -18px 0 48px rgba(17, 24, 39, 0.18);
  transform: translateX(100%);
  transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.item-drawer.is-open {
  transform: translateX(0);
}
.item-drawer__header {
  min-height: 70px;
  padding: 18px 22px;
  border-bottom: 1px solid #f1f2f4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
}
.item-drawer__eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #ff7bac;
}
.item-drawer__close {
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  flex: 0 0 auto;
  transition:
    background 0.15s,
    color 0.15s;
}
.item-drawer__close:hover {
  background: #e5e7eb;
  color: #111827;
}
.item-drawer__content {
  padding: 24px 28px 34px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* conteúdo injetado pelo _ItemModal partial */
.imodal-header {
  margin-bottom: 20px;
}
.imodal-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ff7bac;
  display: block;
  margin-bottom: 6px;
}
.imodal-nome {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
}
.imodal-fab {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 6px;
}
.imodal-resumo {
  font-size: 14px;
  color: #374151;
  margin: 0;
}
.imodal-section {
  margin-bottom: 20px;
}
.imodal-section h3 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}
.imodal-html {
  font-size: 14px;
  color: #374151;
  line-height: 1.6;
}
.imodal-html p {
  margin: 0 0 8px;
}
.imodal-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  font-size: 14px;
  color: #374151;
}
.imodal-list li {
  margin-bottom: 4px;
}
.imodal-faq {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
}
.imodal-faq summary {
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.imodal-faq summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 300;
  color: #9ca3af;
  flex-shrink: 0;
}
.imodal-faq[open] summary::after {
  content: "−";
}
.imodal-faq .imodal-html {
  padding: 0 14px 14px;
}
.imodal-loading,
.imodal-erro {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  padding: 40px 0;
}

@media (max-width: 575.98px) {
  .item-drawer {
    width: 100vw;
  }
  .item-drawer__header {
    min-height: 64px;
    padding: 14px 18px;
  }
  .item-drawer__content {
    padding: 20px 18px 30px;
  }
}
