/* Mobile-only booking calendar event treatment.
   Event dates use one clear icon instead of stacking availability/service/event markers. */
@media (max-width: 760px) {
  /* When a published event exists on the date, hide the text/service chips so the
     calendar cell only carries a single event indicator. */
  .calendar-day.has-event .event-marker,
  .calendar-day.has-event .service-marker {
    display: none !important;
  }

  /* Reuse the existing availability marker position as the event indicator. */
  .calendar-day.has-event .availability-mark {
    position: relative;
    display: inline-block !important;
    flex: 0 0 auto;
    width: 22px !important;
    min-width: 22px !important;
    height: 22px !important;
    min-height: 22px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #0a0a09 !important;
    box-sizing: border-box;
  }

  /* Tiny white calendar/event glyph. */
  .calendar-day.has-event .availability-mark::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 6px;
    width: 10px;
    height: 9px;
    border: 1.5px solid #fff;
    border-radius: 1px;
    box-sizing: border-box;
  }

  .calendar-day.has-event .availability-mark::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 8px;
    width: 10px;
    height: 1.5px;
    background: #fff;
    box-shadow: 2px -3px 0 -0.5px #fff, 6px -3px 0 -0.5px #fff;
  }

  /* Keep the indicator visible once the date is selected. */
  .calendar-day.selected.has-event .availability-mark {
    background: #fff !important;
  }
  .calendar-day.selected.has-event .availability-mark::before {
    border-color: #0a0a09;
  }
  .calendar-day.selected.has-event .availability-mark::after {
    background: #0a0a09;
    box-shadow: 2px -3px 0 -0.5px #0a0a09, 6px -3px 0 -0.5px #0a0a09;
  }
}
