/* 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%;
    }
}

/* 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: 50px;
    right: -145px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.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-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: 30px !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.collapsed {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
    padding: 0;
}

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

/* Subcategory Styles */
.subcategory-section {
    margin-left: 15px;
    border-left: 2px solid rgba(229, 0, 80, 0.2);
    padding-left: 15px;
}

.subcategory-header {
    display: flex;
    align-items: center;
    padding: 12px 0;
    cursor: pointer;
    user-select: none;
}

.subcategory-header h4 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

.subcategory-services-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    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: 7px 20px;
    border: 1px solid rgba(213, 190, 198, 1);
    border-radius: 20px;
    background: #FAFAFA;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.custom-service-list .service-row:last-child {
    border-bottom: 1px solid rgba(229, 0, 80, 0.2);
}

.custom-service-list .service-info {
    max-width: 70%;
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.custom-service-list .service-image {
    flex-shrink: 0;
    position: relative;
}

.custom-service-list .service-image img {
    width: 67px;
    height: 67px;
    border-radius: 50%;
    object-fit: cover;
    background: #f5f5dc;
    border: none;
}

.custom-service-list .service-image-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f5f5dc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: #8b7355;
    text-align: center;
    line-height: 1.2;
    padding: 5px;
    word-break: break-word;
}

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

.custom-service-list .service-name a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.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-meta {
    /* display: flex; */
    flex-direction: column;
    align-items: flex-end;
    /* gap: 12px; */
    min-width: 140px;
}

.custom-service-list .service-meta>div:first-child {
    color: #1A1A1A;
    font-size: 15px;
    font-weight: 700;
}

.custom-service-list .choose-btn {
    background-color: #E50050;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s 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: #c0104e;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(229, 0, 80, 0.3);
}

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

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

.provider-card-company-name {
    letter-spacing: -2px;
    font-weight: 700;
    font-size: 50px;
}

.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: 20px 0;
}

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

.hours-toggle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 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;
}

/* Share Popup Styles */
.share-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.share-popup-content {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    animation: sharePopupSlideIn 0.3s ease-out;
}

@keyframes sharePopupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.share-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(213, 190, 198, 0.3);
}

.share-popup-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.share-popup-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.share-popup-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #333;
}

.share-popup-body {
    padding: 24px;
}

.share-url-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.share-url-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(213, 190, 198, 1);
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #f9f9f9;
    outline: none;
}

.share-url-input:focus {
    border-color: rgba(229, 0, 80, 1);
    background: white;
}

.share-copy-btn {
    padding: 12px 24px;
    background: rgba(229, 0, 80, 1);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.share-copy-btn:hover {
    background: #cc0046;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(229, 0, 80, 0.3);
}

.share-copy-btn:active {
    transform: translateY(0);
}

.share-copy-message {
    margin-top: 12px;
    padding: 8px 12px;
    background: #d4edda;
    color: #155724;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.share-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    flex-shrink: 0;
}

.share-social-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.share-whatsapp-btn {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

.share-whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 211, 102, 0.3);
}

.share-instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: transparent;
}

.share-instagram-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(188, 24, 136, 0.3);
    opacity: 0.9;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .share-popup-content {
        width: 95%;
        max-width: none;
    }

    .share-url-container {
        gap: 5px;
        /* flex-direction: column; */
    }

    .share-url-input {
        padding: 12px 2px;
    }

    .share-popup-body {
        padding: 16px;
    }

    .share-copy-btn {
        width: 100%;
    }

    .share-social-btn {
        width: 36px;
        height: 36px;
    }

    .share-social-btn svg {
        width: 18px;
        height: 18px;
    }
}

.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: 18px;
    font-weight: 700;
    color: #333;
}

.hours-time {
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
}

.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 28px;
}

.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;
}

.service-search-box {
    width: 100%;
    max-width: none;
    position: relative;
}

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

@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(2, 1fr);
    gap: 15px;
}

.highlighted-service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(213, 190, 198, 0.6);
    transition: box-shadow 0.2s ease;
}

.highlighted-service-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.highlighted-service-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.highlighted-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.highlighted-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: #E50050;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

.highlighted-service-info {
    padding: 10px 12px;
}

.highlighted-service-name {
    font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    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: 10px;
    }

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

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

@media (min-width: 768px) {
    .highlighted-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .highlighted-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ============================================================
   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 {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 8px;
    }

    .custom-service-list .service-info {
        max-width: 100%;
        width: 100%;
        gap: 10px;
    }

    .custom-service-list .service-image img {
        width: 56px;
        height: 56px;
    }

    .custom-service-list .service-image-placeholder {
        width: 56px;
        height: 56px;
        font-size: 9px;
    }

    .custom-service-list .service-name a {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .custom-service-list .service-desc {
        font-size: 13px;
        line-height: 1.4;
    }

    .custom-service-list .service-meta {
        display: flex !important;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        min-width: 0;
        margin: 0;
        text-align: left;
    }

    .custom-service-list .service-meta > div:first-child {
        text-align: left;
        font-size: 13px;
    }

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

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

    .subcategory-section {
        margin-left: 8px;
        padding-left: 10px;
    }

    .subcategory-header {
        padding: 8px 0;
    }

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

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

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

    .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;
    }
}
