/*
	Custom CSS
	Please make sure your CSS rules are 
	more particular / have higher priority
	then other page styles
*/
 #events h3   {
	/* add your css rule here */
}


 #events p.duration, #events div.duration   {
	/* add your css rule here */
}


 #events p.description, #events div.description   {
	/* add your css rule here */
}


 #events .selectedEvent   {
	/* add your css rule here */
}


 #events input.reserve_time_btn   {
	/* add your css rule here */
}


 #events input.select_another_btn   {
	/* add your css rule here */
}


 #eventForm #start_date-block-container h3, #eventForm #timeline-container h3   {
	/* add your css rule here */
}


 #eventForm #save_button   {
	/* add your css rule here */
}


 div.ui-widget-content   {
	/* add your css rule here */
}


 div.ui-widget-header   {
	/* add your css rule here */
}


 #timeline-container table.timeline   {
	/* add your css rule here */
}


 .timeline td.not_worked_time   {
	/* add your css rule here */
}


 .timeline td.free_time   {
	/* add your css rule here */
}


 .timeline td.selected_time   {
	/* add your css rule here */
}


 .timeline td.reserved_time   {
	/* add your css rule here */
}


 div#loading   {
	/* add your css rule here */
}


 #start_date-block-container .zend_form dt, start_date-block-container .zend_form dt b, start_date-block-container .zend_form dd label   {
	/* add your css rule here */
}



/* =============================================
   MEDHEALTHULTRASOUND MOBILE OPTIMISATION
   Fixes for phones (max-width: 768px)
   ============================================= */

@media (max-width: 768px) {

  /* --- Hide 'Our time' clock display --- */
  .current_time {
    display: none !important;
  }

  /* --- Stack all booking step cards into single full-width column --- */
  .units-list,
  .services-list,
  .categories-list,
  .locations-list,
  #events {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  .unit-item,
  .service-item,
  .category-item,
  .location-item,
  #events .event {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  /* --- Select buttons full width on mobile --- */
  .unit-item .btn,
  .service-item .btn,
  .category-item .btn,
  .location-item .btn,
  .book-btn {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 14px !important;
    font-size: 16px !important;
  }

  /* --- Confirm/Client form: stack left and right panels vertically --- */
  .confirm-wrap,
  .booking-form-wrap,
  .checkout-wrap {
    flex-direction: column !important;
    display: flex !important;
  }

  .confirm-wrap > div,
  .booking-form-wrap > div,
  .checkout-wrap > div {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 16px !important;
  }

  /* --- Confirm booking button: full width, at bottom --- */
  .confirm-booking-btn,
  button[type=submit],
  .book-now-btn {
    width: 100% !important;
    display: block !important;
    padding: 16px !important;
    font-size: 16px !important;
    margin-top: 20px !important;
  }

  /* --- Make checkboxes and labels easier to tap --- */
  .zend_form .checkbox label,
  .zend_form .radio label {
    padding: 12px 12px 12px 40px !important;
    display: block !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }

  .zend_form input[type=checkbox],
  .zend_form input[type=radio] {
    width: 22px !important;
    height: 22px !important;
  }

  /* --- Calendar Prev/Next month navigation: larger tap targets --- */
  .datepicker-nav .prev,
  .datepicker-nav .next,
  .calendar-nav button {
    min-width: 44px !important;
    min-height: 44px !important;
    font-size: 20px !important;
  }

  /* --- Time slot buttons: ensure they remain large and thumb-friendly --- */
  .timeline .slot,
  .time-slot,
  .free-time {
    min-height: 48px !important;
    font-size: 15px !important;
    margin-bottom: 6px !important;
  }

  /* --- Ensure service descriptions are fully readable --- */
  .unit-item .description,
  .service-item .description,
  .category-item .description {
    font-size: 14px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow: visible !important;
    -webkit-line-clamp: unset !important;
    display: block !important;
  }

  /* --- Reduce hero banner height on mobile so booking starts sooner --- */
  .sb-banner-img,
  .company-header-image {
    max-height: 180px !important;
    object-fit: cover !important;
  }

}
/* === END MOBILE OPTIMISATION === */