section.services-header {
    padding: 260px 0;
    background-image: url(/wp-content/uploads/2024/12/services-header.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.services-header-content *:not(a) {
    color: var(--brownred);
}
.services-header-content .flex {
    gap: 20px;
}
.services-header-content {
    justify-self: flex-end;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
}

section#skin-wellness-services {
    padding: 80px 0;
    background-image: url(/wp-content/uploads/2024/12/elegant-white-abstract-background-1.webp);
    background-size: cover;
    background-position: bottom right;
    position: relative;
}
section#skin-wellness-services h2{
    color: var(--brownred);
    margin-bottom: 25px;
}
section#skin-wellness-services .services-main {
    width: 75%;
}
section#skin-wellness-services .loading-overlay{
    position:absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: #0008;
    top: 0;
    left: 0;
    display: none;
    transition: 0.3s;
}
section#skin-wellness-services .services-filter {
    width: 25%;
    padding-top: 73px;
}
.services-filter-buttons {
    margin: 20px 0;
}
.services-filter-buttons .flex {
    justify-content: space-between;
    overflow-x: auto;
    white-space: nowrap;
    gap: 20px;
    position: relative;
}
.services-filter-buttons .flex:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: #d7d7d7;
}
.service-filter-select {
    padding: 10px;
    box-shadow: 0 4px 14px 0 #0003;
    border-radius: 10px;
    background: #fff;
    margin-bottom: 25px;
}
.child-term {
    padding-left: 20px;
    display: none;
}
.filter-option:hover {
    cursor: pointer;
    color: var(--brownred);
}
.filter-option {
    padding: 5px 15px;
}
.service-item {
    width: 22.5%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-img {
    position: relative;
    width: 200px;
    height: 300px;
    background: url(/wp-content/uploads/2024/12/service-frame.webp) no-repeat center;
    background-size: cover;
    margin: auto auto 20px;
}
.service-img img, .service-img .overlay-service-img {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 72%;
    object-fit: cover;
    clip-path: ellipse(45% 45% at 50% 50%);
    opacity: 0;
    transition: 1s ease;
}
.service-img .overlay-service-img{
    background: rgb(0,0,0);
    background: -moz-linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6531862745098039) 37%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6531862745098039) 37%, rgba(255,255,255,1) 100%);
    background: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0.6531862745098039) 37%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#ffffff",GradientType=1);
    opacity: 1;
}
.service-item:hover .service-img img {
    opacity: 1;
}
.service-img:hover .overlay-service-img{
    opacity: 0;
}
.filter-button {
    position: relative;
    font-weight: 500;
    cursor: pointer;
    text-transform: uppercase;
}
.filter-button.active:before, .filter-button:hover:before, .filter-button:before {
    content: "";
    height: 2px;
    width: 100%;
    background: var(--brownred);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: 0.3s ease;
}
.filter-button:before{
    width:0;
}
.filter-button.active, .filter-button:hover {
    color: var(--brownred);
    font-weight: 500;
    padding-bottom: 10px;
    position: relative;
    transition: 0.3s ease;
}
.service-item a {
    color: #333;
    text-decoration: underline;
}
.filter-selected .selected-icon {
    width: 15px;
}
.filter-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
}
section#skin-wellness-services > div > div.flex {
    gap: 45px;
}
.filter-dropdown {
    display: none;
}
.services-items > .flex {
    justify-content: start;
    gap: 20px;
    flex-wrap: wrap;
}
img.service-placeholder {
    object-fit: contain;
    padding: 20px;
}
.filter-option.active {
    font-weight: 600;
    color: var(--brownred);
}
div#custom-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}
.page-item {
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}
.page-item.active, .page-item:hover {
    background: var(--brownred);
    color: #fff;
    border-radius: 5px;
}
section#skin-wellness-services div#mobile-filters {
    width: 100%;
    display: none;
}
section#testimonials {
    background-image: url(/wp-content/uploads/2024/12/services-form-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 0 !important;
}
.testimonial-overlay {
    padding: 100px 0;
}
section#testimonials * {
    color: var(--brownred);
}
.testimonial-carousel {
    width: 90%;
    max-width: 800px;
    margin: 30px auto 0;
}
.testimonial-item > img {
    width: 100%;
    max-width: 30px;
    position: absolute;
    top: 0;
    right: 0;
}
.testimonial-item {
    border: 15px solid transparent;
    position: relative;
    padding: 30px;
    border-image: url(/wp-content/uploads/2024/11/Rectangle-7.webp) 25 stretch;
    border-radius: 20px;
}
h3.testimonial-author {
    margin-top: 30px !important;
    margin-bottom: 0;
}
section#testimonials button.owl-dot span {
    border: 1px solid var(--brownred);
    background: transparent !important;
}
section#testimonials .owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span {
    background: var(--brownred) !important;
}

@media only screen and (max-width:991.5px){
    .services-filter {
        display: none;
    }
    section#skin-wellness-services .services-main {
        width: 100%;
    }
    .service-item {
        width: 30%;
    }
    section.services-header {
        padding: 100px 0;
        position: relative;
    }
    .services-header-content {
        max-width: 100%;
        position: relative;
    }
    .services-header-content * {
        text-align: center;
    }
    .services-header-content .flex {
        justify-content: center;
        flex-wrap: wrap;
    }
    .services-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff9;
    }
    section#skin-wellness-services, .testimonial-overlay, section.services-header {
        padding: 50px 0;
    }
    section#skin-wellness-services div#mobile-filters {
        width: 100%;
        display: block;
        padding: 0;
    }
}
@media only screen and (max-width: 767.5px){
    a.cta1, a.cta2 {
        width: 100%;
    }
    .service-item {
        width: 43%;
    }
    .services-items > .flex {
        justify-content: space-between;
    }
}

@media only screen and (max-width: 450.5px){
    .service-item {
        width: 100%;
    }
}