/* Wrapper */
.bookly-wrapper {
    display: flex;
    gap: 20px;
}

/* Categories sidebar */
.bookly-categories {
    width: 25%;
    border-right: 1px solid #ddd;
    padding: 10px;
}

.bookly-categories ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bookly-categories li {
    margin-bottom: 8px;
}

.bookly-categories a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 6px 10px;
    display: block;
    border-radius: 5px;
}

.bookly-categories a:hover {
    background: #e66c00;
}

/* Services container */
.bookly-services {
    width: 75%;
    padding: 10px;
    position: relative;
}

#bookly-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* center horizontally & vertically */
    z-index: 1000; /* keep above content */
}

/* Service grid */
.bookly-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.bookly-service-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
    padding: 10px;
    background: #fff;
}

.bookly-service-image {
    width: 100%;
    height: 200px;         /* taller to fit */
    object-fit: contain;   /* keep full image */
    background: #f9f9f9;   /* fill gaps nicely */
    border-radius: 8px;
}
.bookly-service-title {
    margin: 10px 0;
    font-size: 16px;
    font-weight: 600;
}

.bookly-service-price {
    margin: 5px 0;
    font-size: 14px;
    color: #0073aa;
    font-weight: bold;
}

/* Book Now button */
.bookly-book-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 15px;
    background: #FF7B01;
    color: #fff !important;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.bookly-book-btn:hover {
    background: #e66c00;
}
.bookly-category.active {
    background: #FF7B01; /* orange highlight */
    color: #fff; /* text white */
    font-weight: bold;
}

.bookly-category:hover,
.bookly-category.active:hover {
    background: #e66c00; /* darker orange */
    color: #fff;
}
/* --------------------
   Mobile Responsive
-------------------- */
@media (max-width: 768px) {
    .bookly-wrapper {
        flex-direction: column;
    }

    .bookly-categories {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 10px 0;
        overflow-x: auto;
        white-space: nowrap;
    }

    .bookly-categories ul {
        display: flex;
        gap: 15px;
        padding: 0 10px;
        margin: 0;
    }

    .bookly-categories li {
        display: inline-block;
    }

    .bookly-categories a {
        background: #f5f5f5;
        font-size: 14px;
        white-space: nowrap;
    }

    .bookly-services {
        width:100%}
}
