/* Custom scrollbar for WebKit browsers (Chrome, Safari, Edge) */
.product-modal-scrollable .modal-content::-webkit-scrollbar,
.product-modal-scrollable .modal-body::-webkit-scrollbar {
    width: 4px;
}

.product-modal-scrollable .modal-content::-webkit-scrollbar-track,
.product-modal-scrollable .modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.product-modal-scrollable .modal-content::-webkit-scrollbar-thumb,
.product-modal-scrollable .modal-body::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.product-modal-scrollable .modal-content::-webkit-scrollbar-thumb:hover,
.product-modal-scrollable .modal-body::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* For Firefox */
.product-modal-scrollable .modal-content,
.product-modal-scrollable .modal-body {
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

/* Hide scrollbar for image carousel */
.image-carousel {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.image-carousel::-webkit-scrollbar {
    display: none; /* WebKit browsers (Chrome, Safari, Edge) */
}

/* Label Out of Stock && No Slot - in dialog & product page */
.item-status {
    top: 50%;
}

@media (max-width: 768px) {
    .item-status {
        top: 40%;
    }
}

.quantity-btn:disabled,
.add-to-cart-btn:disabled {
    cursor: not-allowed;
    opacity: 0.3;
}

.cursor-pointer {
  cursor: pointer;
}

/*-------------------------------------------
# DATEPICKER CALENDAR ("#booking-calendar")
---------------------------------------------*/

/* Style the calendar container */
.ui-datepicker {
    border: none !important;
    padding: 10px;
    background-color: #fff;
    width: 100%;
}

/* Header with month and year */
.ui-datepicker .ui-datepicker-header {
    position: relative;
    padding: 8px 0;
    font-weight: 700;
    font-size: 14px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
}

.ui-datepicker .ui-datepicker-title {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

/* Prev / Next arrows */
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #333;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.ui-datepicker .ui-datepicker-prev {
    left: 10px;
}

.ui-datepicker .ui-datepicker-next {
    right: 10px;
}

.ui-datepicker-prev:before {
    content: "◀";
}

.ui-datepicker-next:before {
    content: "▶";
}

.ui-datepicker-prev:hover,
.ui-datepicker-next:hover {
    background-color: #e0e0e0;
}

/* Calendar table cells */
.ui-datepicker td,
.ui-datepicker td.ui-datepicker-unselectable span {
    text-align: center;
    vertical-align: middle;
    padding: 4px;
}

/* Calendar table */
.ui-datepicker-calendar {
    width: 100%;
    margin-top: 8px;
}

.ui-datepicker td a {
    display: block;
    padding: 4px;
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    color: #333;
}

.ui-datepicker td a:hover {
    background-color: #f0f0f0;
    color: #333;
    border-radius: 50px;
    transition: background-color 0.2s ease;
}

/* Selected date */
.ui-datepicker td.available-date.ui-datepicker-current-day a {
    background-color: #6c757d !important;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Optional: fade-in feel when hover/active */
.ui-datepicker td a {
    transition: all 0.2s ease-in-out;
}

/* Available dates */
/* .ui-datepicker .available-date a {
	background-color: white;
    color: #333;
    border: 1px solid #ddd;
} */

.ui-datepicker td.ui-datepicker-unselectable,
.ui-datepicker td.ui-state-disabled {
    cursor: not-allowed !important;
}

/* Remove jQuery UI default styling conflicts */
.ui-datepicker .ui-state-default {
    background: none;
    border: none;
    color: inherit;
}

.ui-datepicker .ui-state-hover {
    background: none;
    border: none;
}

.ui-datepicker .ui-state-active {
    background: none;
    border: none;
}