.lm-bp {
  --lm-bp-gap: 1.25rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}
.lm-bp__cover {
  position: relative;
  height: 16rem;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #e2e8f0);
}
.lm-bp__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lm-bp__identity {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  margin-top: -3.25rem;
  position: relative;
  padding: 0 0.5rem 0.5rem;
}
.lm-bp__logo {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 1.1rem;
  border: 4px solid #fff;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.12);
}
.lm-bp__logo-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0b5ed7;
  background: #eff6ff;
}
.lm-bp__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 3.4rem;
}
.lm-bp__title-row h1 {
  margin: 0;
  font-size: 1.75rem;
  color: #102a43;
  line-height: 1.2;
}
.lm-bp__meta {
  margin: 0.35rem 0 0;
  color: #687280;
  font-size: 0.92rem;
}
.lm-bp__cats {
  margin: 0.35rem 0 0;
  color: #0b5ed7;
  font-size: 0.92rem;
  font-weight: 600;
}
.lm-bp__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.lm-bp__status.is-open {
  color: #16a34a;
}
.lm-bp__status.is-closed {
  color: #ef4444;
}
.lm-bp__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.lm-bp__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}
.lm-bp__tabs {
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  margin: 1.25rem 0 1rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid #e5eaf0;
  -webkit-overflow-scrolling: touch;
}
.lm-bp__tabs a {
  flex: 0 0 auto;
  padding: 0.65rem 0.9rem;
  color: #687280;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 2px solid transparent;
}
.lm-bp__tabs a:hover,
.lm-bp__tabs a.is-active {
  color: #0b5ed7;
  border-bottom-color: #0b5ed7;
}
.lm-bp__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20rem;
  gap: var(--lm-bp-gap);
  align-items: start;
}
.lm-bp__main {
  min-width: 0;
  display: grid;
  gap: var(--lm-bp-gap);
}
.lm-bp__main > .lm-bp-card {
  margin: 0;
}
.lm-bp__aside {
  display: grid;
  gap: var(--lm-bp-gap);
}
@media (min-width: 960px) {
  .lm-bp__aside {
    position: sticky;
    top: 5.5rem;
  }
}
.lm-bp-card {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: 0.9rem;
  padding: 1.15rem 1.2rem;
  box-shadow: 0 1px 2px rgba(16, 42, 67, 0.04);
}
.lm-bp-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  color: #102a43;
}
.lm-bp-card .lm-listings__head {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.lm-bp-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}
.lm-bp-highlight {
  border: 1px solid #e5eaf0;
  border-radius: 0.75rem;
  padding: 0.75rem;
  background: #f8fafc;
}
.lm-bp-highlight strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #687280;
  font-weight: 600;
}
.lm-bp-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.65rem;
}
.lm-bp-service {
  border: 1px solid #e5eaf0;
  border-radius: 0.75rem;
  padding: 0.85rem;
  text-align: center;
  font-weight: 600;
  color: #102a43;
  background: #fff;
}
.lm-bp-gallery {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: 8.5rem 8.5rem;
  gap: 0.5rem;
}
.lm-bp-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 0.7rem;
  background: #e5eaf0;
  position: relative;
}
.lm-bp-gallery a:first-child {
  grid-row: 1 / span 2;
}
.lm-bp-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lm-bp-gallery__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 42, 67, 0.45);
  color: #fff;
  font-weight: 700;
}
.lm-bp-reviews {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: 1.25rem;
}
.lm-bp-reviews__score {
  text-align: center;
}
.lm-bp-reviews__avg {
  font-size: 2.4rem;
  font-weight: 700;
  color: #102a43;
  line-height: 1;
}
.lm-bp-dist {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.lm-bp-dist li {
  display: grid;
  grid-template-columns: 1.5rem 1fr 1.75rem;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.8rem;
  color: #687280;
}
.lm-bp-dist span.bar {
  height: 0.4rem;
  background: #e5eaf0;
  border-radius: 99px;
  overflow: hidden;
}
.lm-bp-dist span.bar i {
  display: block;
  height: 100%;
  background: #f59e0b;
}
.lm-bp-review {
  border-bottom: 1px solid #e5eaf0;
  padding: 0.85rem 0;
}
.lm-bp-review:last-child {
  border-bottom: 0;
}
.lm-bp-dl {
  margin: 0;
}
.lm-bp-dl--pad {
  margin-top: 1rem;
}
.lm-bp-dl div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}
.lm-bp-dl dt {
  color: #687280;
  margin: 0;
}
.lm-bp-dl dd {
  margin: 0;
  font-weight: 600;
  color: #102a43;
  text-align: right;
}
.lm-bp-hours {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lm-bp-hours li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.28rem 0;
  font-size: 0.88rem;
}
.lm-bp-map {
  width: 100%;
  height: 12rem;
  border: 0;
  border-radius: 0.7rem;
}
.lm-bp-aside-actions {
  display: grid;
  gap: 0.45rem;
}
dialog.lm-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  display: none;
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 0;
  border-radius: 0.9rem;
  padding: 0;
  box-shadow: 0 20px 50px rgba(16, 42, 67, 0.2);
  background: #fff;
  color: inherit;
  z-index: 100000;
}
dialog.lm-modal[open] {
  display: block;
}
dialog.lm-modal::backdrop {
  background: rgba(16, 42, 67, 0.45);
}
.lm-modal__inner {
  padding: 1.25rem;
}
.lm-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.lm-modal__head h2 {
  margin: 0;
  font-size: 1.15rem;
}
.lm-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #687280;
}
.lm-lightbox {
  width: min(56rem, calc(100% - 1.5rem));
  padding: 0;
  border: 0;
  background: transparent;
}
.lm-lightbox img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0.5rem;
}
@media (max-width: 959px) {
  .lm-bp__cover {
    height: 11rem;
  }
  .lm-bp__identity {
    grid-template-columns: 1fr;
    margin-top: -2.5rem;
  }
  .lm-bp__title-row {
    margin-top: 0;
  }
  .lm-bp__layout,
  .lm-bp-reviews {
    grid-template-columns: 1fr;
  }
  .lm-bp-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 9rem 7rem;
  }
  .lm-bp-gallery a:first-child {
    grid-column: 1 / span 2;
    grid-row: 1;
  }
}
