/* Service V7: the monthly calendar is the primary page content. */
.service-v7-main {
  padding-bottom: 16px;
}

.service-v7-heading {
  padding-top: 20px;
  padding-bottom: 24px;
}

.service-v7-heading .breadcrumb {
  margin-bottom: 16px;
}

.service-v7-heading h1 {
  font-size: clamp(27px, 2.6vw, 39px);
  max-width: 820px;
}

.service-v7-heading h1 span {
  color: #b54a12;
}

.service-v7-heading .bv-heading-row > div > p:last-child {
  line-height: 1.6;
}

.service-v7-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 16px;
  font-size: 12px;
  color: var(--bv-muted);
}

.service-v7-points span::before {
  content: '✓';
  color: #b54a12;
  margin-right: 6px;
}

.service-v7-main #booking-v5,
.service-v7-main #servicii-auto {
  scroll-margin-top: 160px;
}

.service-v7-main .bv-calendar-panel {
  padding: clamp(16px, 2vw, 26px);
}

.service-v7-main .bv-calendar-nav,
.service-v7-main .bv-panel-label {
  margin-bottom: 18px;
}

.service-v7-main .bv-calendar-nav button {
  min-width: 44px;
  min-height: 44px;
}

.service-v7-main .bv-day {
  aspect-ratio: auto;
  height: clamp(42px, 4vw, 54px);
}

.service-v7-main .bv-calendar-help {
  margin-top: 18px;
  padding-top: 18px;
}

.service-v7-main .bv-welcome {
  min-height: 400px;
}

.service-v7-main .bv-welcome .service-v7-preselected {
  border: 1px solid #f5d4ba;
  background: #fff6ef;
  border-radius: 10px;
  padding: 12px 16px;
  color: #93410e;
  font-size: 13px;
  line-height: 1.6;
}

.service-v7-main .auto-v5-services {
  padding-top: 20px;
}

.service-v7-main :is(.bv-day, .bv-calendar-nav button, .bv-text-link):focus-visible {
  outline: 3px solid #f47a26;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .service-v7-main .bv-calendar-panel {
    position: static;
  }

  .service-v7-main .bv-welcome {
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .service-v7-heading .bv-heading-row {
    display: block;
  }

  .service-v7-heading .bv-phone {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    border-left: 0;
    padding: 12px 0 0;
  }

  .service-v7-heading .bv-phone strong {
    font-size: 15px;
  }

  .service-v7-main .bv-calendar-days,
  .service-v7-main .bv-weekdays {
    gap: 4px;
  }

  .service-v7-main .bv-calendar-legend {
    gap: 8px 12px;
    flex-wrap: wrap;
  }

  .service-v7-main #booking-v5,
  .service-v7-main #servicii-auto {
    scroll-margin-top: 150px;
  }
}
