/* Bootstrap-free grid system scoped to provider-services */

/* Ensure white background on provider/agent pages (override any inherited styles) */
.provider-services {
    background: var(--color-bg, #ffffff);
}

.page-header.bg-section {
    background: var(--color-bg, #ffffff);
}

.service-proivder-mobile-view {
    display: none !important;
}

.provider-ratting-review {
    display: flex;
    gap: 7px;
}

.provider-service-address {
    display: flex;
}

.provider-services .services-container,
.page-header .services-container {
    width: 100%;
    max-width: 1275px;
    margin: 0 auto;
    padding: 0 15px;
}

.service-name-heading {
    letter-spacing: -2px;
    font-weight: 700;
    font-size: 80px;
}

.page-header .services-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.page-header .services-col-12 {
    padding: 0 15px;
    flex: 0 0 100%;
    width: 100%;
}

.provider-services .services-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.provider-services .services-col-12,
.provider-services .services-col-md-10,
.provider-services .services-col-lg-8,
.provider-services .services-col-lg-4 {
    padding: 0 15px;
    flex: 0 0 100%;
    width: 100%;
}

@media (min-width: 768px) {
    .provider-services .services-col-md-10 {
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }
}

@media (min-width: 992px) {
    .provider-services .services-col-lg-8 {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .provider-services .services-col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        align-self: flex-start;
        position: sticky;
        top: 88px;
    }
}

/* Utility classes scoped to provider-services */
.provider-services .services-d-flex {
    display: flex;
}

.provider-services .services-align-center {
    align-items: center;
}

.provider-services .services-justify-between {
    justify-content: space-between;
}

.provider-services .services-flex-wrap {
    flex-wrap: wrap;
}

.provider-services .services-text-center {
    text-align: center;
}

.provider-services .services-text-end {
    text-align: right;
}

.provider-services .services-text-muted {
    color: #6c757d;
}

.provider-services .services-small {
    font-size: 0.875rem;
}

.provider-services .services-fw-semibold {
    font-weight: 600;
}

.provider-services .services-img-fluid {
    max-width: 100%;
    display: block;
}

.provider-services .services-rounded-circle {
    border-radius: 50%;
}

.provider-services .services-mb-1 {
    margin-bottom: 0.25rem;
}

.provider-services .services-mt-4 {
    margin-top: 2.5rem;
}

.provider-services .services-py-4 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.provider-services .services-border-bottom {
    border-bottom: 1px solid #dee2e6;
}

.choose-button {
    margin-top: 20px;
}

.provider-header {
    /* background: #fff;
    border-radius: 10px;
    padding: 20px;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}


/* Desktop Grid Layout */
.provider-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 20px;
}

.provider-image-main {
    grid-row: 1 / 3;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 360px;
}

.desktop-image-controls {
    position: relative;
    top: auto;
    right: auto;
    z-index: 10;
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}

.desktop-control-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(213, 190, 198, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ff69b4;
    padding: 0;
}

.desktop-control-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
}

.desktop-control-btn i {
    font-size: 16px;
}

.desktop-control-btn.heart-btn.active {
    background: #ff69b4;
    color: white;
}

.desktop-control-btn.heart-btn.active i {
    color: white;
}

.provider-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.provider-images-small {
    grid-row: 1 / 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    height: 360px;
    grid-template-rows: repeat(2, 1fr);
}

.provider-image-small {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.provider-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Mobile Carousel Layout */
.provider-images-carousel {
    display: none;
    position: relative;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.carousel-controls-top {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #ff69b4;
}

.carousel-btn:hover {
    background: #f8f8f8;
    transform: scale(1.05);
}

.carousel-btn i {
    font-size: 16px;
}

.heart-btn.active i {
    color: #ff69b4;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-track {
    display: flex;
    position: relative;
    width: 100%;
    height: 300px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.carousel-counter {
    position: absolute;
    bottom: 50px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 10;
}

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

/* Responsive: Show carousel on mobile, grid on desktop */
@media (max-width: 767px) {
    .provider-images-grid {
        display: none;
    }

    .provider-images-carousel {
        display: block;
    }

    .service-proivder-desktop-view {
        display: none !important;
    }

    .service-proivder-mobile-view {
        display: block !important;
    }

    .desktop-image-controls {
        display: none;
    }

    .service-proivder-mobile-view .desktop-image-controls,
    .carousel-controls-top {
        display: flex;
    }

    .service-name-heading {
        font-size: 35px;
        letter-spacing: 0px;
    }

    .provider-info {
        display: block !important;
    }

    .provider-ratting-review {
        gap: 7px;
    }

    .carousel-btn-mobile {
        width: 50px;
        height: 50px;
        border-radius: 40px;
        background-color: rgb(255 255 255);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .provider-card-company-name {
        letter-spacing: 0px !important;
        font-size: 20px !important;
    }

    .hours-row {
        padding: initial !important;
    }

    /* Service card mobile overrides moved to end of file for cascade priority */
}

@media (min-width: 768px) {
    .provider-images-grid {
        display: grid;
    }

    .provider-images-carousel {
        display: none;
    }
}

.provider-info {
    /* margin-top: 10px; */
    display: flex;
    align-items: center;
    gap: 5px;
}

.provider-info-ratting {
    font-weight: 700;
    font-size: 14px;
    color: #000000ff;
}

.provider-info-reviews {
    font-weight: 700;
    font-size: 14px;
    color: rgba(233, 93, 142, 1);
}

.provider-info-address {
    font-weight: 500;
    font-size: 14px;
    color: rgba(44, 13, 24, 0.5);
}

/* .service-page-header-text{
    margin-top: 29px;
    line-height: 65px;
} */

.provider-info p {
    gap: 5px;
    display: flex;
    margin-bottom: 3px;
}

.provider-info i {
    margin-right: 8px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.service-image {
    /* margin-bottom: 10px; */
}

.service-details {
    color: #333;
}

.discounted {
    color: #ff4444;
    text-decoration: line-through;
    margin-left: 5px;
}

.service-meta {
    margin: 15px 0;
}

.service-meta>div {
    margin-bottom: 8px;
}

/* SCOPED to .custom-service-list */
.custom-service-list {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    /* max-height: 5000px; */
    opacity: 1;
}

.category-services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-services-list.collapsed {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    padding: 0;
}

.category-chevron.rotated {
    transform: rotate(180deg);
}

/* Subcategory Styles */
.subcategory-section {
    margin-left: 0;
    padding-left: 0;
}

.subcategory-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    background: #fafafa;
    border-left: 3px solid #E50050;
    border-radius: 10px;
    margin-bottom: 4px;
    transition: background 0.15s ease;
}

.subcategory-header:hover {
    background: #fff5f8;
}

.subcategory-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.subcategory-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 12px;
}

.subcategory-count {
    font-size: 11px;
    font-weight: 600;
    color: #999;
    background: #ededed;
    border-radius: 20px;
    padding: 2px 8px;
    line-height: 1.5;
}

.subcategory-chevron-btn {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s, border-color 0.15s;
}

.subcategory-header:hover .subcategory-chevron-btn {
    background: #fff0f4;
    border-color: #E50050;
}

.subcategory-chevron {
    font-size: 10px;
    color: #E50050;
    transition: transform 0.25s ease;
}

.subcategory-services-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 5000px;
    opacity: 1;
}

.subcategory-services-list.collapsed {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    padding: 0;
}

.subcategory-chevron.rotated {
    transform: rotate(180deg);
}

.custom-service-list .service-row {
    padding: 16px 20px;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0;
}

.custom-service-list .service-info {
    flex: 1;
    min-width: 0;
    max-width: none;
    display: block;
}

.custom-service-list .service-list-details {
    flex: 1;
    margin-left: 0 !important;
}

.custom-service-list .service-name {
    margin-bottom: 0;
}

.custom-service-list .service-name a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    color: #000;
    line-height: 1.35;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.custom-service-list .service-name a:hover {
    color: #333;
}

.custom-service-list .service-duration {
    font-size: 14px;
    font-weight: 400;
    color: #757575;
    margin-top: 4px;
    line-height: 1.4;
}

.custom-service-list .service-price {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin-top: 8px;
    line-height: 1.4;
}

.custom-service-list .service-desc {
    font-size: 14px;
    color: rgba(26, 26, 26, 0.65);
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.custom-service-list .service-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.custom-service-list .choose-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    border: 1px solid #e0e0e0;
    border-radius: 9999px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    transition: background 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.see-more-services-btn {
    background-color: transparent;
    color: #E50050;
    border: 2px solid #E50050;
    border-radius: 40px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 15px 0;
    margin-left: 10px;
    white-space: nowrap;
}

.see-more-services-btn:hover {
    background-color: #E50050;
    color: white;
}

.hidden-service-item {
    display: none;
}

.custom-service-list .choose-btn:hover {
    background: #fafafa;
    border-color: #ccc;
    transform: none;
    box-shadow: none;
}

/* Provider Info Card Styles */
.provider-info-card {
    border: 1px solid rgba(213, 190, 198, 1);
    background: #FAFAFA;
    border-radius: 16px;
    padding: 14px;
    margin-top: 20px;
}

.provider-card-header {
    margin-bottom: 10px;
}

.provider-card-company-name {
    letter-spacing: -0.5px;
    font-weight: 700;
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.provider-card-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.2;
}

.provider-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rating-number {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    color: #ffa500;
    font-size: 14px;
}

.review-count-text {
    font-size: 14px;
    font-weight: 600;
    color: rgba(233, 93, 142, 1);
}

.to-book-btn {
    display: block;
    width: 100%;
    background: rgba(229, 0, 80, 1);
    color: white;
    text-align: center;
    padding: 12px 20px;
    border-radius: 45px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.to-book-btn:hover {
    background: #e55a9f;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 105, 180, 0.3);
}

.provider-card-separator {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 12px 0;
}

.hours-section {
    margin-bottom: 12px;
}

.hours-toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 6px 0;
    user-select: none;
}

.hours-toggle-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hours-icon {
    color: rgba(233, 93, 142, 1);
    font-size: 16px;
}

.open-until-text {
    font-size: 14px;
    font-weight: 500;
    color: rgba(233, 93, 142, 1);
}

.until-text-time {
    font-size: 14px;
    font-weight: 500;
    color: rgba(118, 33, 62, 1);
}

.hours-chevron {
    color: rgba(233, 93, 142, 1);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.hours-chevron.rotated {
    transform: rotate(180deg);
}

.hours-list {
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.hours-list.collapsed {
    max-height: 0;
    overflow: hidden;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: none;
}

.hours-day {
    font-size: 15px;
    font-weight: 400;
    color: #8a8a8a;
}

.hours-time {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Closed days: muted time, matching the day */
.hours-row--closed .hours-time {
    font-weight: 400;
    color: #b0b0b0;
}

/* Today: emphasize both day and time */
.hours-row--today .hours-day,
.hours-row--today .hours-time {
    color: #1a1a1a;
    font-weight: 700;
}

.provider-card-location {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 15px;
    margin-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.location-pin {
    color: #e50050;
    font-size: 14px;
}

.location-address {
    font-size: 12px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

/* View Type Tabs Styling */
.view-type-tabs-container {
    /* margin: 30px 0; */
    width: 100%;
}

.view-type-tabs {
    display: flex;
    gap: 0;
    border: none;
    background: transparent;
    width: fit-content;
}

.view-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
}

.view-tab:hover {
    color: rgba(229, 0, 80, 1);
}

.view-tab.active {
    color: rgba(229, 0, 80, 1);
    background: transparent;
}

.view-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(229, 0, 80, 1);
}

.view-tab svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.view-tab span {
    white-space: nowrap;
}

.provider-services-toolbar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0 0;
}

.provider-services-toolbar .service-filter-pills {
    width: 100%;
    margin-bottom: 0;
}

.provider-services-toolbar .service-filter-pills .filter-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 340px;
    min-height: 46px;
    padding: 9px 18px;
    font-size: 15px;
    line-height: 1.2;
}

.provider-services-toolbar .service-filter-pills .filter-pill .filter-pill__label {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-filter-toggle[hidden] {
    display: none !important;
}

.service-filter-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    align-self: center;
    border: none;
    background: transparent;
    color: rgba(118, 33, 62, 1);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    padding: 0;
}

.provider-services-toolbar .service-filter-pills .filter-pill.service-filter-hidden {
    display: none;
}

/* Sticky search: stays visible below the .wl-header (61px, z-index 100) while
   the services list scrolls. The white padding strip masks content sliding
   underneath; top tucks 1px under the header so no seam ever shows. */
.service-search-box {
    width: 100%;
    max-width: none;
    position: sticky;
    top: 60px;
    z-index: 90;
    background: #fff;
    padding: 16px 0 12px;
    margin-bottom: 16px;
}

/* Embed mode hides .wl-header — stick to the very top instead. */
body.embed-mode .service-search-box {
    top: 0;
}

/* Desktop: span only the services column, so the stuck strip never paints
   over the sticky provider info card in the right column. Matches the
   column's inner width (row is -15px-margined, columns 15px-padded). */
@media (min-width: 992px) {
    .service-search-box {
        width: calc((100% + 30px) * 0.66666667 - 30px);
    }
}

.service-search-box__inner {
    position: relative;
    width: 100%;
}

.service-search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 1px solid #eee;
    border-radius: 50px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    font-size: 14px;
}

.service-search-input:focus {
    border-color: rgba(229, 0, 80, 0.5);
    box-shadow: 0 4px 10px rgba(229, 0, 80, 0.1);
}

@media (max-width: 640px) {
    .view-type-tabs {
        width: 100%;
        justify-content: flex-start;
    }

    .view-tab {
        padding: 10px 16px;
        font-size: 14px;
    }

    .view-tab svg {
        width: 18px;
        height: 18px;
    }
}

/* See All Photos Overlay */
.see-all-photos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.see-all-photos-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.see-all-photos-overlay span {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 0 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.provider-image-small {
    position: relative;
}

@media (max-width: 767px) {
    .see-all-photos-overlay span {
        font-size: 14px;
        padding: 0 10px;
    }
}

/* Loading State - Same as provider-results spinner */
.services-loading,
.provider-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    min-height: 400px;
}

.services-spinner,
.provider-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #d5bec6;
    border-top-color: #75213e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.services-loading p,
.provider-loading p {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    color: #75213e;
}

/* Highlighted Services Section */
.highlighted-services-section {
    margin-bottom: 25px;
    padding: 0 20px;
}

.highlighted-services-title {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.highlighted-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
}

.highlighted-service-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    border: 1px solid rgba(213, 190, 198, 0.6);
    background: #fff;
    padding: 12px 14px;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.highlighted-service-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border-color: rgba(229, 0, 80, 0.4);
    text-decoration: none;
    color: inherit;
}

.highlighted-service-info {
    padding: 0;
}

.highlighted-service-name {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.highlighted-service-price {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.highlighted-service-price .promo-price {
    font-weight: 700;
    color: #ff4444;
}

.highlighted-service-price .old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.85em;
    margin-left: 5px;
    font-weight: 400;
}

.highlighted-service-desc {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    color: #888;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .highlighted-services-section {
        padding: 0 10px;
    }

    .highlighted-services-grid {
        gap: 8px;
    }

    .highlighted-service-name {
        font-size: 12px;
    }

    .highlighted-service-price {
        font-size: 13px;
    }
}

/* ============================================================
   Service Card — Mobile Compact
   Placed at end of file to win over desktop rules by cascade.
   ============================================================ */
@media (max-width: 767px) {
    .custom-service-list .service-row {
        padding: 14px 16px;
        gap: 12px;
        margin-bottom: 10px;
    }

    .custom-service-list .service-info {
        max-width: none;
        width: auto;
    }

    .custom-service-list .service-name a {
        font-size: 15px;
    }

    .custom-service-list .service-duration {
        font-size: 13px;
    }

    .custom-service-list .service-price {
        font-size: 14px;
        margin-top: 6px;
    }

    .custom-service-list .choose-btn {
        padding: 8px 18px;
        font-size: 14px;
    }

    .custom-service-list {
        gap: 8px;
    }

    .subcategory-section {
        margin-left: 0;
        padding-left: 0;
    }

    .subcategory-header {
        padding: 10px 12px;
        border-radius: 8px;
    }

    .subcategory-header h4 {
        font-size: 14px;
    }

    .subcategory-services-list {
        gap: 8px;
    }

    .provider-services-toolbar {
        gap: 12px;
        margin: 16px 0 0;
    }

    .service-search-box {
        padding: 12px 0 10px;
        margin-bottom: 12px;
    }

    .provider-services-toolbar .service-filter-pills {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .provider-services-toolbar .service-filter-pills .filter-pill {
        width: 100%;
        max-width: none;
        min-height: 52px;
        padding: 10px 12px;
        font-size: 13px;
        line-height: 1.2;
    }

    .provider-services-toolbar .service-filter-pills .filter-pill .filter-pill__label {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
        white-space: normal;
    }

    .service-filter-toggle {
        margin-top: -2px;
    }

    .service-search-input {
        border: 1.5px solid rgba(229, 0, 80, 0.4);
        box-shadow: 0 2px 8px rgba(229, 0, 80, 0.08);
    }

    .service-search-input:focus {
        border-color: rgba(229, 0, 80, 0.75);
        box-shadow: 0 4px 12px rgba(229, 0, 80, 0.15);
    }
}

/* Salon booking history section */
/* The heading sits ABOVE a light card (Planity-style), not inside a heavy box. */
.salon-bookings-section {
    margin-bottom: 24px;
    max-width: 420px;
}

.salon-bookings-section[hidden] {
    display: none !important;
}

.salon-bookings-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.salon-bookings-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.salon-bookings-view-all {
    font-size: 13px;
    font-weight: 600;
    color: #E50050;
    text-decoration: none;
    white-space: nowrap;
}

.salon-bookings-view-all:hover {
    text-decoration: underline;
}

.salon-bookings-loading {
    display: none;
    justify-content: center;
    padding: 8px 0 16px;
}

.salon-bookings-loading.is-visible {
    display: flex;
}

.salon-bookings-spinner {
    width: 28px;
    height: 28px;
    border: 2px solid #ececec;
    border-top-color: #111;
    border-radius: 50%;
    animation: salon-bookings-spin 0.8s linear infinite;
}

@keyframes salon-bookings-spin {
    to {
        transform: rotate(360deg);
    }
}

.salon-bookings-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.salon-booking-card {
    width: 100%;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: none;
}

.salon-booking-card__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.salon-booking-card__details {
    flex: 1;
    min-height: 0;
}

.salon-booking-card__date {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.salon-booking-card__row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 7px;
    font-size: 13px;
    line-height: 1.4;
    color: #555;
}

.salon-booking-card__row span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.salon-booking-card__row:last-of-type {
    margin-bottom: 0;
}

.salon-booking-card__icon {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 1px;
    color: #b58a98;
}

.salon-booking-card__rebook-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: auto;
    margin-top: 16px;
    padding: 9px 18px;
    border-radius: 8px;
    background: #E50050;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.salon-booking-card__rebook-btn:hover {
    background: #c20044;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 767px) {
    .salon-bookings-section {
        max-width: none;
    }
}

/* ============================================================
   Mobile About / Team / Reviews Cards
   ============================================================ */
.provider-mobile-cards {
    display: none;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

/* Show on ALL breakpoints when About/Team/Reviews have content. These cards are
   the only place the salon bio, team and reviews render, so gating them behind
   a max-width:767px query dropped that content entirely on desktop (regression:
   empty gap between the services list and the footer). */
.provider-mobile-cards.is-visible {
    display: flex;
}

.provider-mobile-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(213, 190, 198, 0.55);
    padding: 20px 18px;
}

.provider-mobile-card__title {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 14px;
    line-height: 1.2;
}

.provider-mobile-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.provider-mobile-card__header .provider-mobile-card__title {
    margin-bottom: 0;
}

.provider-mobile-card__link {
    border: none;
    background: transparent;
    padding: 0;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(118, 33, 62, 1);
    cursor: pointer;
    flex-shrink: 0;
}

.provider-mobile-card__divider {
    border: none;
    border-top: 1px solid rgba(213, 190, 198, 0.45);
    margin: 20px 0 18px;
}

.provider-about-text {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    white-space: pre-line;
}

.provider-about-text.is-clamped {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.provider-about-read-more {
    display: inline;
    margin-top: 6px;
    padding: 0;
    border: none;
    background: transparent;
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(118, 33, 62, 1);
    cursor: pointer;
}

.provider-team-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 2px 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.provider-team-scroll::-webkit-scrollbar {
    display: none;
}

.provider-team-scroll.is-expanded {
    flex-wrap: wrap;
    overflow-x: visible;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 92px;
    max-width: 92px;
    text-align: center;
    flex-shrink: 0;
}

.provider-team-scroll.is-expanded .team-member-card {
    min-width: calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
}

.team-member-avatar-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 10px;
}

.team-member-avatar {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: #E50050;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-initials {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
}

.team-member-rating {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 12px 3px 8px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(213, 190, 198, 0.6);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    font-size: 11px;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

.team-member-rating img {
    display: block;
    flex-shrink: 0;
}

.team-member-name {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
}

.team-member-role {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #888;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.provider-reviews-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.provider-reviews-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.provider-reviews-star {
    display: block;
    flex-shrink: 0;
}

.provider-reviews-summary {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.provider-reviews-score {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.provider-reviews-count {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgba(118, 33, 62, 1);
    line-height: 1;
}

.provider-rating-trigger {
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.provider-rating-trigger:hover {
    opacity: 0.85;
}

.provider-rating-trigger:focus-visible {
    outline: 2px solid rgba(233, 93, 142, 0.6);
    outline-offset: 2px;
    border-radius: 6px;
}

.provider-reviews-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.provider-reviews-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.provider-reviews-modal__content {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    max-height: min(85vh, 720px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.provider-reviews-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 20px 12px;
    border-bottom: 1px solid rgba(213, 190, 198, 0.35);
}

.provider-reviews-modal__header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #2c0d18;
}

.provider-reviews-modal__close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(245, 235, 239, 1);
    color: #2c0d18;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.provider-reviews-modal__summary {
    padding: 12px 20px 0;
}

.provider-reviews-modal__summary-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.provider-reviews-modal__score {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.provider-reviews-modal__stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.provider-reviews-modal__count {
    font-size: 14px;
    font-weight: 600;
    color: rgba(233, 93, 142, 1);
}

.provider-reviews-modal__body {
    padding: 16px 20px;
    overflow-y: auto;
    flex: 1;
}

.provider-reviews-modal__footer {
    padding: 12px 20px 20px;
    border-top: 1px solid rgba(213, 190, 198, 0.35);
}

.provider-reviews-modal__load-more {
    width: 100%;
    border: 1.5px solid rgba(213, 190, 198, 1);
    background: #fff;
    color: #2c0d18;
    border-radius: 999px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.provider-reviews-modal__load-more:disabled {
    opacity: 0.6;
    cursor: wait;
}

.provider-reviews-modal__empty,
.provider-reviews-modal__loading {
    text-align: center;
    color: rgba(44, 13, 24, 0.6);
    padding: 24px 12px;
    font-size: 14px;
}

.provider-review-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(213, 190, 198, 0.25);
}

.provider-review-item:last-child {
    border-bottom: none;
}

.provider-review-item__header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.provider-review-item__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245, 235, 239, 1);
    color: #75213e;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.provider-review-item__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.provider-review-item__meta {
    flex: 1;
    min-width: 0;
}

.provider-review-item__name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #2c0d18;
}

.provider-review-item__date {
    margin-top: 2px;
    font-size: 12px;
    color: rgba(44, 13, 24, 0.55);
}

.provider-review-item__stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    flex-shrink: 0;
}

.provider-review-item__text {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(44, 13, 24, 0.85);
}

.provider-review-item__service {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(233, 93, 142, 1);
}

@media (max-width: 767px) {
    .provider-reviews-modal {
        padding: 0;
        align-items: flex-end;
    }

    .provider-reviews-modal__content {
        width: 100%;
        max-height: 90vh;
        border-radius: 16px 16px 0 0;
    }
}

/* ------------------------------------------------------------------ */
/* Chain right-hand panel (chain umbrella pages): a compact address    */
/* list + an optional reservation-policy block. Scales to many venues. */
/* ------------------------------------------------------------------ */
.chain-venues-panel {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.chain-panel-block {
    border: 1px solid rgba(213, 190, 198, 1);
    background: #FAFAFA;
    border-radius: 16px;
    padding: 16px;
}

.chain-panel-block__title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.chain-address-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chain-address-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
    color: #444;
}

.chain-address-item img {
    margin-top: 2px;
    flex-shrink: 0;
}

.chain-policy-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chain-policy-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.chain-policy-item__title {
    align-self: flex-start;
    background: #1a1a1a;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 999px;
}

.chain-policy-item__text {
    font-size: 13px;
    line-height: 1.4;
    color: #444;
}

.chain-policy-note {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(213, 190, 198, 0.6);
    font-size: 12px;
    font-style: italic;
    color: #777;
}

