/* Lab details — modern profile + catalog */

body.mh-lab-detail-body {
  background: #f3f6fb;
}

.mh-lab-page {
  --mh-navy: #0b1f4d;
  --mh-teal: #0ea5c6;
  --mh-blue: #2b6fd6;
  --mh-text: #0f172a;
  --mh-muted: #5b6b7c;
  --mh-line: #e4ebf5;
  --mh-card: #ffffff;
  color: var(--mh-text);
  padding: calc(var(--header-height, 59px) + 0.5rem) 0 2.5rem;
  background:
    radial-gradient(circle at 8% 0%, rgba(14, 165, 198, 0.09), transparent 32%),
    radial-gradient(circle at 92% 8%, rgba(43, 111, 214, 0.08), transparent 28%),
    #f3f6fb;
  overflow-x: clip;
  max-width: 100%;
}

.mh-lab-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.86rem;
  color: var(--mh-muted);
  margin-bottom: 1rem;
}

.mh-lab-breadcrumb a {
  color: var(--mh-blue);
  text-decoration: none;
}

.mh-lab-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 0.9fr);
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.mh-lab-hero__main,
.mh-lab-hero__aside,
.mh-lab-card,
.mh-lab-catalog,
.mh-lab-extra {
  background: var(--mh-card);
  border: 1px solid var(--mh-line);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  min-width: 0;
  max-width: 100%;
}

.mh-lab-hero__main {
  padding: 1.35rem 1.4rem 1.25rem;
}

.mh-lab-hero__brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.mh-lab-hero__logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--mh-line);
  background: #fff;
  padding: 0.4rem;
  flex-shrink: 0;
}

.mh-lab-hero__logo--empty {
  display: grid;
  place-items: center;
  color: var(--mh-blue);
  font-size: 1.8rem;
  background: #eef5ff;
}

.mh-lab-hero__eyebrow {
  margin: 0 0 0.25rem;
  color: var(--mh-muted);
  font-size: 0.9rem;
}

.mh-lab-hero__title {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--mh-navy);
  font-weight: 750;
}

.mh-lab-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 0.55rem;
  color: var(--mh-muted);
  font-size: 0.92rem;
}

.mh-lab-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #b45309;
}

.mh-lab-rating i {
  color: #f59e0b;
}

.mh-lab-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.mh-lab-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--mh-line);
  background: #f8fbff;
  color: var(--mh-navy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
}

.mh-lab-pill--ok {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #166534;
}

.mh-lab-pill--warn {
  background: #fff7ed;
  border-color: #fed7aa;
  color: #9a3412;
}

.mh-lab-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.mh-lab-hero__aside {
  padding: 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background:
    linear-gradient(160deg, rgba(14, 165, 198, 0.08), transparent 42%),
    #fff;
}

.mh-lab-fact__label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mh-muted);
  margin-bottom: 0.3rem;
}

.mh-lab-fact strong {
  font-size: 1.15rem;
  color: var(--mh-navy);
}

.mh-lab-pay {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mh-lab-pay span {
  background: #eef6ff;
  color: #1d4ed8;
  border-radius: 8px;
  padding: 0.28rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.mh-lab-fact--flags {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.mh-lab-fact--flags i {
  color: #16a34a;
  margin-right: 0.3rem;
}

.mh-lab-extra {
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.25rem;
  border-left: 4px solid var(--mh-teal);
}

.mh-lab-extra h2 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  color: var(--mh-navy);
}

.mh-lab-extra p {
  margin: 0 0 0.75rem;
  color: var(--mh-muted);
}

.mh-lab-catalog {
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(14, 165, 198, 0.25);
  box-shadow: 0 14px 36px rgba(14, 165, 198, 0.08);
}

.mh-lab-section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}

.mh-lab-section-head--tight {
  align-items: center;
}

.mh-lab-kicker {
  margin: 0;
  color: var(--mh-teal);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mh-lab-section-head h2,
.mh-lab-card h2 {
  margin: 0.15rem 0 0.25rem;
  font-size: 1.25rem;
  color: var(--mh-navy);
}

.mh-lab-lead {
  margin: 0;
  color: var(--mh-muted);
  font-size: 0.92rem;
}

.mh-lab-tabs {
  display: inline-flex;
  gap: 0.35rem;
  background: #eef3fb;
  padding: 0.3rem;
  border-radius: 999px;
}

.mh-lab-tabs button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--mh-muted);
}

.mh-lab-tabs button.is-active {
  background: #fff;
  color: var(--mh-navy);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.mh-lab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 0.9rem;
}

.mh-lab-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mh-line);
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff 0%, #fff 55%);
  padding: 1rem;
  min-height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mh-lab-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.07);
}

.mh-lab-item h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.mh-lab-item h3 a {
  color: var(--mh-blue, #13b6ec);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.mh-lab-item h3 a:hover,
.mh-lab-item h3 a:focus-visible {
  color: #0d8fc0;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.mh-lab-item__meta,
.mh-lab-item__lab {
  margin: 0.45rem 0 0;
  color: var(--mh-muted);
  font-size: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.mh-lab-item__foot {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.mh-lab-item__price strong {
  font-size: 1.1rem;
  color: #15803d;
}

.mh-lab-item__mrp {
  display: block;
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 0.8rem;
}

.mh-lab-catalog__panel:not(.is-expanded) .mh-lab-item--extra {
  display: none;
}

.mh-lab-catalog__more {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--mh-line);
  text-align: center;
}

.mh-lab-catalog__more .btn {
  min-width: 220px;
  font-weight: 600;
}

.mh-lab-catalog__panel.is-expanded .mh-lab-grid {
  animation: mh-lab-catalog-reveal 0.28s ease;
}

@keyframes mh-lab-catalog-reveal {
  from {
    opacity: 0.92;
  }
  to {
    opacity: 1;
  }
}

.mh-lab-empty {
  margin: 0;
  padding: 1.25rem;
  text-align: center;
  color: var(--mh-muted);
  background: #f8fafc;
  border-radius: 12px;
}

.mh-lab-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
}

/* Explicit grid areas so reviews always pairs with highlights (no row gap). */
.mh-lab-layout--sync {
  grid-template-areas:
    "about contact"
    "reviews highlights"
    "write hours"
    ". map";
}

.mh-lab-layout--sync:not(:has(.mh-lab-layout__about)) {
  grid-template-areas:
    "reviews contact"
    "reviews highlights"
    "write hours"
    ". map";
}

.mh-lab-layout--sync:not(:has(.mh-lab-layout__highlights)) {
  grid-template-areas:
    "about contact"
    "reviews ."
    "write hours"
    ". map";
}

.mh-lab-layout--sync:not(:has(.mh-lab-layout__about)):not(:has(.mh-lab-layout__highlights)) {
  grid-template-areas:
    "reviews contact"
    "write hours"
    ". map";
}

.mh-lab-layout--sync:not(:has(.mh-lab-layout__hours)) {
  grid-template-areas:
    "about contact"
    "reviews highlights"
    "write write"
    ". map";
}

.mh-lab-layout--sync:not(:has(.mh-lab-layout__about)):not(:has(.mh-lab-layout__hours)) {
  grid-template-areas:
    "reviews contact"
    "reviews highlights"
    "write write"
    ". map";
}

.mh-lab-layout--sync:not(:has(.mh-lab-layout__map)) {
  grid-template-areas:
    "about contact"
    "reviews highlights"
    "write hours";
}

.mh-lab-layout--sync:not(:has(.mh-lab-layout__about)):not(:has(.mh-lab-layout__map)) {
  grid-template-areas:
    "reviews contact"
    "reviews highlights"
    "write hours";
}

.mh-lab-layout__about { grid-area: about; }
.mh-lab-layout__contact { grid-area: contact; }
.mh-lab-layout__reviews { grid-area: reviews; }
.mh-lab-layout__highlights { grid-area: highlights; }
.mh-lab-layout__write { grid-area: write; }
.mh-lab-layout__hours { grid-area: hours; }
.mh-lab-layout__map { grid-area: map; }

.mh-lab-layout--sync .mh-lab-layout__write,
.mh-lab-layout--sync .mh-lab-layout__hours,
.mh-lab-layout--sync .mh-lab-layout__reviews,
.mh-lab-layout--sync .mh-lab-layout__highlights {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mh-lab-card {
  padding: 1.15rem 1.2rem;
  margin-bottom: 0;
}

.mh-lab-prose {
  margin: 0;
  color: var(--mh-muted);
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.mh-lab-prose > *:first-child {
  margin-top: 0;
}

.mh-lab-prose > *:last-child {
  margin-bottom: 0;
}

.mh-lab-prose p {
  margin: 0 0 0.75rem;
}

.mh-lab-prose h1,
.mh-lab-prose h2,
.mh-lab-prose h3,
.mh-lab-prose h4,
.mh-lab-prose h5,
.mh-lab-prose h6 {
  margin: 1rem 0 0.45rem;
  color: var(--mh-ink, #0f2748);
  font-weight: 700;
  line-height: 1.3;
}

.mh-lab-prose ul,
.mh-lab-prose ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.mh-lab-prose li {
  margin-bottom: 0.25rem;
}

.mh-lab-prose a {
  color: var(--mh-blue);
  text-decoration: underline;
}

.mh-lab-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.mh-lab-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 0.75rem;
}

.mh-lab-prose th,
.mh-lab-prose td {
  border: 1px solid var(--mh-line);
  padding: 0.4rem 0.55rem;
  vertical-align: top;
}

.mh-lab-meta {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mh-lab-meta li {
  display: flex;
  gap: 0.65rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed var(--mh-line);
  color: var(--mh-muted);
}

.mh-lab-meta li:last-child {
  border-bottom: 0;
}

.mh-lab-meta i {
  color: var(--mh-blue);
  margin-top: 0.15rem;
}

.mh-lab-sub {
  margin: 0.75rem 0 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--mh-muted);
}

.mh-lab-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mh-lab-chips span {
  background: #eef5ff;
  color: #1e40af;
  border-radius: 8px;
  padding: 0.3rem 0.6rem;
  font-size: 0.82rem;
}

.mh-lab-hours {
  width: 100%;
  border-collapse: collapse;
}

.mh-lab-hours-card {
  background:
    linear-gradient(165deg, rgba(43, 111, 214, 0.08), transparent 48%),
    linear-gradient(0deg, #fff, #fff);
  border-color: rgba(43, 111, 214, 0.2);
  box-shadow: 0 10px 28px rgba(43, 111, 214, 0.08);
}

.mh-lab-hours-card__head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--mh-line);
}

.mh-lab-hours-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2b6fd6 0%, #0ea5c6 100%);
  color: #fff;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(43, 111, 214, 0.28);
}

.mh-lab-hours-card__head h2 {
  margin: 0.1rem 0 0.35rem;
}

.mh-lab-hours-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.mh-lab-hours-badge--open {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.mh-lab-hours-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
  flex: 1;
}

.mh-lab-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  padding: 0.52rem 0.72rem;
  border-radius: 11px;
  border: 1px solid #e8eef8;
  background: #f8fafc;
  font-size: 0.87rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.mh-lab-hours-row.is-today {
  background: linear-gradient(90deg, #eef6ff 0%, #f8fbff 100%);
  border-color: rgba(43, 111, 214, 0.28);
  box-shadow: inset 3px 0 0 #2b6fd6;
}

.mh-lab-hours-row__day {
  font-weight: 650;
  color: var(--mh-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.mh-lab-hours-row__tag {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}

.mh-lab-hours-row__time {
  color: var(--mh-muted);
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.mh-lab-hours-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.14rem 0.55rem;
  font-size: 0.76rem;
  font-weight: 700;
}

.mh-lab-hours-status--open {
  background: #ecfdf5;
  color: #166534;
}

.mh-lab-hours-status--closed {
  background: #fef2f2;
  color: #b91c1c;
}

.mh-lab-hours-24h {
  margin: 0;
  color: var(--mh-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.mh-lab-reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
  text-align: right;
}

.mh-lab-reviews-summary strong {
  font-size: 1.55rem;
  line-height: 1;
  color: var(--mh-navy);
}

.mh-lab-reviews-summary__count {
  font-size: 0.78rem;
  color: var(--mh-muted);
}

.mh-lab-reviews-foot {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--mh-line);
}

.mh-lab-empty--compact {
  padding: 0.85rem;
}

.mh-lab-map {
  border-radius: 12px;
  overflow: hidden;
}

.mh-lab-map iframe {
  width: 100%;
  min-height: 220px;
  border: 0;
}

.mh-lab-reviews {
  display: grid;
  gap: 0.85rem;
}

.mh-lab-layout__reviews .mh-lab-section-head {
  flex-shrink: 0;
}

.mh-lab-layout__reviews .mh-lab-reviews {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 0.15rem;
  align-content: start;
}

.mh-lab-layout__reviews .mh-lab-empty--compact {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
}

.mh-lab-layout__reviews .mh-lab-reviews-foot {
  margin-top: auto;
}

.mh-lab-review {
  border: 1px solid var(--mh-line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: #fbfdff;
}

.mh-lab-review__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.mh-lab-stars {
  color: #f59e0b;
}

.mh-lab-review p {
  margin: 0;
  color: var(--mh-muted);
}

.mh-lab-review time {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #94a3b8;
}

.mh-lab-review__file {
  margin-top: 0.65rem;
}

.mh-lab-review__file img {
  max-width: 180px;
  border-radius: 8px;
  border: 1px solid var(--mh-line);
}

.mh-lab-review-form {
  margin-top: 0.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mh-lab-review-form .btn-primary {
  margin-top: auto;
  align-self: flex-start;
}

.mh-lab-review-gate {
  margin-top: 0.5rem;
  padding: 1.5rem 1.25rem;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  text-align: center;
}

.mh-lab-review-gate__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 1.35rem;
}

.mh-lab-review-gate__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.mh-lab-review-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1rem;
}

.mh-lab-field-required {
  margin-bottom: 0.25rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: #fffbeb;
  border-color: #fde68a;
}

.mh-lab-field-required .form-label {
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.mh-lab-field-required.is-invalid {
  border-color: #f87171;
  background: #fef2f2;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.15);
}

.mh-lab-field-required .mh-star-input {
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
}

.mh-lab-alert {
  margin: 0.75rem 0;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.mh-lab-alert.is-success {
  background: #ecfdf5;
  color: #166534;
}

.mh-lab-alert.is-error {
  background: #fef2f2;
  color: #991b1b;
}

.mh-star-input {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.2rem;
  margin: 0.85rem 0 1rem;
}

.mh-star-input input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mh-star-input label {
  cursor: pointer;
  color: #cbd5e1;
  font-size: 1.55rem;
  line-height: 1;
  transition: color 0.15s ease, transform 0.15s ease;
}

.mh-star-input label:hover,
.mh-star-input label:hover ~ label,
.mh-star-input input:checked ~ label {
  color: #f59e0b;
}

.mh-star-input label:hover {
  transform: scale(1.08);
}

@media (max-width: 991px) {
  .mh-lab-page {
    overflow-x: clip;
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom));
  }

  .mh-lab-page .container {
    max-width: 100%;
    overflow-x: clip;
  }

  .mh-lab-hero,
  .mh-lab-layout {
    grid-template-columns: 1fr;
  }

  .mh-lab-layout--sync {
    grid-template-areas:
      "about"
      "contact"
      "reviews"
      "highlights"
      "write"
      "hours"
      "map" !important;
    gap: 1rem;
  }

  .mh-lab-layout--sync > [class*='mh-lab-layout__'] {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-width: 0;
  }

  .mh-lab-layout__reviews .mh-lab-reviews {
    max-height: none;
  }

  .mh-lab-section-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .mh-lab-tabs {
    display: flex;
    width: 100%;
    border-radius: 12px;
  }

  .mh-lab-tabs button {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    padding: 0.5rem 0.45rem;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mh-lab-grid {
    grid-template-columns: 1fr;
  }

  .mh-lab-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }

  .mh-lab-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .mh-lab-hero__actions .btn-dark {
    grid-column: 1 / -1;
  }

  .mh-lab-catalog__more .btn {
    min-width: 0;
    width: 100%;
  }

  .mh-lab-map,
  .mh-lab-map iframe {
    width: 100%;
    max-width: 100%;
  }

  .mh-lab-map iframe {
    height: 260px;
  }
}

@media (max-width: 575px) {
  .mh-lab-page {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom));
  }

  .mh-lab-breadcrumb {
    font-size: 0.8rem;
    gap: 0.3rem;
    overflow-wrap: anywhere;
  }

  .mh-lab-hero__main,
  .mh-lab-hero__aside,
  .mh-lab-card,
  .mh-lab-catalog,
  .mh-lab-extra {
    padding: 1rem;
    border-radius: 14px;
  }

  .mh-lab-hero__brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .mh-lab-hero__logo {
    width: 72px;
    height: 72px;
  }

  .mh-lab-hero__title {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .mh-lab-hero__meta {
    gap: 0.45rem 0.75rem;
  }

  .mh-lab-hero__actions {
    grid-template-columns: 1fr;
  }

  .mh-lab-hero__actions .btn-dark {
    grid-column: auto;
  }

  .mh-lab-pill {
    font-size: 0.75rem;
    padding: 0.28rem 0.55rem;
  }

  .mh-lab-item__foot {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .mh-lab-item__foot .btn {
    width: 100%;
  }

  .mh-lab-hours-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .mh-lab-hours-row__time {
    width: 100%;
    text-align: left;
  }

  .mh-lab-review-gate__actions,
  .mh-lab-review-form .btn-primary {
    width: 100%;
  }

  .mh-lab-review-gate__actions .btn,
  .mh-lab-review-form .btn-primary {
    width: 100%;
  }

  .mh-lab-prose table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mh-lab-item,
  .mh-star-input label {
    transition: none;
  }
}
