.sbh-pro-calendar-panel .sbh-native-booking-controls,
.sbh-pro-calendar-panel [data-booking-slots],
.sbh-pro-calendar-panel [data-booking-status] {
  display: none;
}

.sbh-pro-calendar-panel {
  position: relative;
  z-index: 20;
}

.sbh-calendar-pro {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.sbh-calendar-pro__shell {
  overflow: hidden;
  border: 1px solid rgba(255, 231, 146, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(32, 32, 31, 0.96), rgba(15, 15, 15, 0.98)),
    #151515;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
}

.sbh-calendar-pro__top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-bottom: 1px solid rgba(255, 231, 146, 0.12);
}

.sbh-calendar-pro__eyebrow {
  margin-bottom: 0.25rem;
  color: #ffe792;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sbh-calendar-pro__title {
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.35rem, 3.8vw, 2.35rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-transform: capitalize;
}

.sbh-calendar-pro__subtitle {
  margin-top: 0.45rem;
  color: rgba(227, 226, 226, 0.72);
  font-size: 0.84rem;
  line-height: 1.45;
}

.sbh-calendar-pro__nav {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.sbh-calendar-pro__nav-button,
.sbh-calendar-pro__today {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  border: 1px solid rgba(227, 226, 226, 0.14);
  border-radius: 6px;
  color: #e3e2e2;
  background: rgba(255, 255, 255, 0.035);
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.sbh-calendar-pro__nav-button {
  width: 2.55rem;
}

.sbh-calendar-pro__today {
  padding: 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sbh-calendar-pro__nav-button:hover,
.sbh-calendar-pro__today:hover {
  border-color: rgba(255, 231, 146, 0.52);
  color: #ffe792;
  background: rgba(255, 231, 146, 0.08);
}

.sbh-calendar-pro__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 30rem;
}

.sbh-calendar-pro__month {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.sbh-calendar-pro__weekdays,
.sbh-calendar-pro__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5rem;
}

.sbh-calendar-pro__weekdays {
  margin-bottom: 0.55rem;
  color: rgba(227, 226, 226, 0.56);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.sbh-calendar-pro__weekday {
  min-height: 1.2rem;
}

.sbh-calendar-pro__day {
  position: relative;
  display: grid;
  min-height: clamp(4.8rem, 8.5vw, 6.35rem);
  padding: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(227, 226, 226, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.032);
  color: #ffffff;
  text-align: left;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease, opacity 150ms ease;
}

.sbh-calendar-pro__day:not(:disabled):hover {
  transform: translateY(-1px);
  border-color: rgba(255, 231, 146, 0.48);
}

.sbh-calendar-pro__day.is-outside {
  opacity: 0.32;
}

.sbh-calendar-pro__day.is-past,
.sbh-calendar-pro__day.is-closed {
  color: rgba(227, 226, 226, 0.42);
  background: rgba(255, 255, 255, 0.018);
}

.sbh-calendar-pro__day.is-loading {
  color: rgba(227, 226, 226, 0.62);
}

.sbh-calendar-pro__day.is-free {
  border-color: rgba(77, 163, 101, 0.32);
  background: linear-gradient(135deg, rgba(77, 163, 101, 0.13), rgba(255, 231, 146, 0.045));
}

.sbh-calendar-pro__day.is-partial {
  border-color: rgba(77, 163, 101, 0.36);
  background:
    linear-gradient(135deg, rgba(77, 163, 101, 0.14), rgba(255, 231, 146, 0.045)),
    rgba(255, 255, 255, 0.025);
}

.sbh-calendar-pro__day.is-full {
  border-color: rgba(255, 113, 98, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 113, 98, 0.72), rgba(255, 113, 98, 0.38)),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(255, 113, 98, 0.24);
}

.sbh-calendar-pro__day.is-selected {
  border-color: #ffe792;
  box-shadow: 0 0 0 2px rgba(255, 231, 146, 0.18);
}

.sbh-calendar-pro__day.is-today .sbh-calendar-pro__number {
  color: #ffe792;
}

.sbh-calendar-pro__number {
  position: relative;
  z-index: 1;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1;
}

.sbh-calendar-pro__meta {
  position: relative;
  z-index: 1;
  align-self: end;
  margin-top: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
}

.sbh-calendar-pro__load {
  position: absolute;
  right: 0.55rem;
  bottom: 0.5rem;
  left: 0.55rem;
  height: 0.18rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.sbh-calendar-pro__day.is-partial .sbh-calendar-pro__load,
.sbh-calendar-pro__day.is-full .sbh-calendar-pro__load {
  inset: 0;
  height: auto;
  border-radius: inherit;
  background: transparent;
  pointer-events: none;
}

.sbh-calendar-pro__load::before {
  content: "";
  display: block;
  width: var(--sbh-load, 0%);
  height: 100%;
  border-radius: inherit;
  background: #ff7162;
}

.sbh-calendar-pro__day.is-partial .sbh-calendar-pro__load::before,
.sbh-calendar-pro__day.is-full .sbh-calendar-pro__load::before {
  background: linear-gradient(135deg, rgba(255, 113, 98, 0.5), rgba(255, 113, 98, 0.22));
}

.sbh-calendar-pro__detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid rgba(255, 231, 146, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.sbh-calendar-pro__detail-title {
  color: #ffffff;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.1;
}

.sbh-calendar-pro__detail-copy {
  color: rgba(227, 226, 226, 0.72);
  font-size: 0.86rem;
  line-height: 1.5;
}

.sbh-calendar-pro__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sbh-calendar-pro__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 1.8rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(227, 226, 226, 0.1);
  border-radius: 999px;
  color: rgba(227, 226, 226, 0.78);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sbh-calendar-pro__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
}

.sbh-calendar-pro__dot.is-free { background: #4da365; }
.sbh-calendar-pro__dot.is-partial { background: linear-gradient(90deg, #4da365 0 55%, #ff7162 55% 100%); }
.sbh-calendar-pro__dot.is-full { background: #ff7162; }

.sbh-calendar-pro__slots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.sbh-calendar-pro__slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border: 1px solid rgba(255, 231, 146, 0.18);
  border-radius: 6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 900;
  transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.sbh-calendar-pro__slot:hover,
.sbh-calendar-pro__slot.is-selected {
  border-color: #ffe792;
  color: #655400;
  background: #ffe792;
}

.sbh-calendar-pro__slot:disabled {
  border-color: rgba(255, 113, 98, 0.32);
  color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 113, 98, 0.13);
}

.sbh-calendar-pro__empty {
  display: flex;
  align-items: center;
  min-height: 7rem;
  padding: 1rem;
  border: 1px dashed rgba(227, 226, 226, 0.14);
  border-radius: 8px;
  color: rgba(227, 226, 226, 0.68);
  font-size: 0.9rem;
  line-height: 1.55;
}

.sbh-calendar-pro__summary {
  margin-top: auto;
  padding: 0.85rem;
  border: 1px solid rgba(255, 231, 146, 0.14);
  border-radius: 8px;
  color: rgba(227, 226, 226, 0.76);
  background: rgba(255, 231, 146, 0.055);
  font-size: 0.8rem;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .sbh-calendar-pro__top {
    grid-template-columns: 1fr;
  }

  .sbh-calendar-pro__nav {
    justify-content: space-between;
  }

  .sbh-calendar-pro__slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sbh-calendar-pro__month {
    padding: 0.75rem;
  }

  .sbh-calendar-pro__weekdays,
  .sbh-calendar-pro__grid {
    gap: 0.32rem;
  }

  .sbh-calendar-pro__day {
    min-height: 4.1rem;
    padding: 0.48rem;
  }

  .sbh-calendar-pro__meta {
    font-size: 0.62rem;
  }

  .sbh-calendar-pro__slots {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1024px) {
  .sbh-pro-calendar-panel {
    width: min(72rem, calc(100vw - 7rem));
    max-width: calc(100vw - 7rem);
  }

  .sbh-calendar-pro__body {
    grid-template-columns: minmax(0, 1.35fr) minmax(19rem, 0.65fr);
  }

  .sbh-calendar-pro__detail {
    border-top: 0;
    border-left: 1px solid rgba(255, 231, 146, 0.12);
  }

  .sbh-calendar-pro__slots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
