/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/
.google-reviews-block{
	    padding-top: calc(100vw * 0.06);
    padding-bottom: calc(100vw * 0.03);
}
.google-reviews-slider-wrapper{
	width:calc(100% - 440px);
}
.glider{
	padding:7px;
}
.glider-dots{
	margin-top:30px !important;
}
.glider-dot{
	    width: 30px;
    opacity: 0.35;
	position: relative;
	background:none !important;
	box-shadow: none !important;
}
.glider-dot.active{
	    opacity: 1;
}
.glider-dot:before{
    width: 6px;
    height: 6px;
    background-color: transparent;
    box-shadow: rgb(0, 0, 0) 0px 0px 0px 5px inset;
    transition: 0.25s;
    border-radius: 50%;
	background: #333;
    display: block;
    content: '';
    position: absolute;
}
.glider-dot.active:before{
transform: scale(2);
    box-shadow: inset 0 0 0 1px #000;
    background-color: transparent;
}
.google-reviews-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 30px;
}

.google-reviews-summary {
    flex: 0 0 400px;
    text-align: left;
}

.google-reviews-summary .summary-rating {
    font-size: 28px;
    line-height: 1.2;
    font-weight: bold;
}

.google-reviews-summary span:not(.nectar-button span) {
    display: block;
    font-size: 18px;
    font-weight: normal;
    margin-top: 6px;
}

.summary-source {
    margin-top: 8px;
    font-size: 16px;
    color: #666;
}

.google-reviews-slider {
    flex: 1;
}
.google-review-author{
	margin-bottom:0;
	padding-bottom:0;
	font-weight:500;
}
.google-review-cell {
    background: #fff;
    padding: 20px;
box-shadow: 0 2px 6px rgba(0, 0, 0, .075);
    border-radius: 6px;
    width: 65%;
    display: flex;
    gap: 20px;
}

.google-review-rating {
    flex: 0 0 60px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #fbbc05;
}

.google-review-content p {
    margin: 0 0 8px 0;
}
.google-reviews-slider .glider-track {
    display: flex;
}

.google-reviews-slider .google-review-cell {
    margin-right: 20px;
}
.google-reviews-slider .google-review-cell:last-child {
    margin-right: 0;
}
.google-review-content .google-review-text{
	background-color:#FCFAF9;
	padding:10px;
	margin-bottom:10px;
	max-height:200px;
	overflow:auto;
	font-size:15px;
}
.google-reviews-block {
    padding-top: calc(100vw * 0.06);
    padding-bottom: calc(100vw * 0.03);
}

.google-reviews-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 30px;
}
.google-reviews-summary {
    flex: 0 0 400px;
    text-align: left;
}
.google-reviews-slider-wrapper {
    width: calc(100% - 440px);
}

.google-reviews-slider .glider-track {
    display: flex;
}

.google-reviews-slider .google-review-cell {
    margin-right: 20px;
}
.google-reviews-slider .google-review-cell:last-child {
    margin-right: 0;
}
@media (max-width: 1200px) {
    .google-reviews-summary {
        flex: 0 0 320px;
    }

    .google-reviews-slider-wrapper {
        width: calc(100% - 340px);
    }
}
@media (max-width: 1024px) {
    .google-reviews-layout {
        flex-direction: column;
        gap: 30px;
    }

    .google-reviews-summary {
        flex: none;
        width: 100%;
    }

    .google-reviews-slider-wrapper {
        width: 100%;
    }

    .google-review-cell {
        width: 80%;
        margin-right: 20px;
    }
}
@media (max-width: 768px) {

    .google-review-cell {
        flex-direction: column;
        width: 90%;
    }

    .google-review-rating {
        flex: none;
        text-align: left;
        margin-bottom: 10px;
    }

    .google-reviews-summary .summary-rating strong {
        font-size: 22px;
    }

    .google-reviews-summary span {
        font-size: 16px;
    }
}
@media (max-width: 480px) {

    .google-reviews-block {
        padding-top: 40px;
        padding-bottom: 20px;
    }
	.google-reviews-slider-wrapper{
		    width: calc(100% + 25px);
	}
	.glider-dots{
		display:none !important;
	}
    .google-review-cell {
        width: 100%;
        padding: 16px;
        margin-right: 12px;
    }

    .google-review-content p {
        font-size: 15px;
        line-height: 1.4;
    }

    .google-reviews-summary .summary-rating strong {
        font-size: 20px;
    }
}

.wpb_heading .wpb_widgetised_column_heading {display: none;}

#sidebar > h2  {display: none;}

body em {
    font-family: inherit;
}

.menu-item.megamenu .megamenu-image-col .nectar-ext-menu-item .menu-title-text {
    background-image: linear-gradient(to right, #ffffff 0, #ffffff 100%);
}

.menu-item.megamenu .megamenu-links-col .image-layer,
.menu-item.megamenu .megamenu-links-col .color-overlay {
    display: none;
}

.treatments-megamenu.menu-item.megamenu > .sub-menu {
    width: 62em !important;
}

.treatments-megamenu.menu-item.megamenu > .sub-menu .megamenu-links-col {
    padding-right: 10px !important;
}

.treatments-megamenu.menu-item.megamenu > .sub-menu .megamenu-links-col:last-of-type {
    padding-right: 25px !important;
}

.treatments-megamenu.menu-item.megamenu .megamenu-links-col > .sub-menu .menu-item {
    margin-bottom: 30px;
}

.products-megamenu.menu-item.megamenu > .sub-menu .megamenu-links-col:nth-child(2) {
    padding-left: 20px !important;
    padding-right: 10px !important;
}

.products-megamenu.menu-item.megamenu > .sub-menu .megamenu-links-col:nth-child(3) {
    padding-inline: 0 !important;
}

.products-megamenu.menu-item.megamenu > .sub-menu .megamenu-links-col:nth-child(4) {
    padding-left: 10px !important;
    padding-right: 20px !important;
}

.menu-item.megamenu .megamenu-links-col .inner-content .title span {
    color: #000;
}

.menu-item.megamenu .megamenu-links-col .inner-content .menu-item-desc {
    color: #707070;
}

.nectar-menu-icon.svg-icon svg path {
    fill: #000;
}

@media only screen and (min-width: 1px) and (max-width: 1200px) {
    .nectar-menu-icon.svg-icon svg path {
        fill: #fff;
    }
    
    .products-megamenu.menu-item > .sub-menu .menu-title-text {
        font-size: 14px;
    }
}

.archive .product img,
li.product.minimal .product-wrap img,
#header-outer .widget_shopping_cart .cart_list a img,
#header-outer ul.product_list_widget li img,
.nectar-slide-in-cart.style_slide_in_click ul.product_list_widget li img,
.woocommerce-page ul.product_list_widget li img:not(.nectar-lazy):not([srcset]),
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img,
table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__image img,
.wc-block-cart-items .wc-block-cart-item__image img,
.wc-block-components-order-summary .wc-block-components-order-summary-item__image>img,
.woocommerce.single-product div.product div.images .woocommerce-product-gallery__image img{
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: #fff !important;
}

#call-to-action .container span {
font-size: 18px;
}

body.material #search-results .result .inner-wrap img {
    height: 260px;
    width: 100%;
    object-fit: contain;
}

.single-product .post-area.span_9 .products.related .product, .single-product .post-area.span_9 .products.upsells .product {
    width: 100% !important;
}

.treatments-archive-header {
    margin-bottom: 40px;
}

.treatments-archive-title {
    margin-bottom: 30px;
    font-size: 32px;
    line-height: 46px;
    margin-top: 10px;
}

.treatment-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.filter-button {
    display: inline-block;
    padding: 4px 17px;
    background-color: #ffffff;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 40px;
    font-weight: 500;
}

.filter-button:hover {
    background-color: #e0e0e0;
    text-decoration: none;
}

.filter-button.active {
    background-color: #bf6e4f;
    color: #fff;
    border-color: #bf6e4f;
}

.treatments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.treatment-item {
    flex: 0 0 calc(33.333% - 20px);
    overflow: hidden;
}

.treatment-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.treatment-thumbnail {
    height: 265px;
    overflow: hidden;
    border-radius: 10px;
}

.treatment-thumbnail img {
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transition: all 1.5s cubic-bezier(.24,1,.3,1);
}

.treatment-link:hover .treatment-thumbnail img {
    transform: scale(1.1);
}

.treatment-content {
    padding-block: 25px;
}

.treatment-title {
    display: inline-block;
    margin: 0 !important;
    font-size: 22px !important;
    line-height: 28px !important;
    font-weight: 500 !important;
    position: relative;
}

.treatment-title::after {
    display: block;
    content: "";
    height: 1px;
    background-color: #000;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    position: absolute;
    bottom: 0;
    left: 0;
    width: var(--last-line-width, 100%);
}

.treatment-link:hover .treatment-title::after {
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.5s ease, transform-origin 0s;
}

.treatment-subtitle {
    font-weight: 200;
    margin-top: 10px;
    color: #000;
}

.no-treatments-found {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

@media only screen and (max-width: 1300px) and (min-width: 1000px) {
    .treatments-archive-title {
        font-size: 27.2px;
        line-height: 39.1px;
    }
}

@media (max-width: 1024px) {
    .treatment-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media only screen and (max-width: 999px) and (min-width: 691px) {
    .treatments-archive-title {
        font-size: 22.4px;
        line-height: 32.2px;
    }
}

@media (max-width: 768px) {
    .treatment-item {
        flex: 0 0 100%;
    }
    
    .treatment-category-filters {
        flex-direction: column;
    }
    
    .filter-button {
        width: 100%;
        text-align: center;
    }
}

@media only screen and (max-width: 690px) {
    .treatments-archive-title {
        font-size: 19.2px;
        line-height: 27.6px;
    }
}

.treatment-detail-header {
    height: 550px;
    margin-top: -42px;
    margin-bottom: 40px;
    display: flex;
    align-items: flex-end;
    position: relative;
}
@media only screen and (min-width: 1px) and (max-width: 767px) {
    .treatment-detail-header {
        height: 460px;
    }
}
.treatment-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(189,110,82,.25);
    z-index: 1;
}
.treatment-detail-header img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
}
.treatment-detail-header .container {
    max-width: 1500px;
}
@media only screen and (min-width: 1px) and (max-width: 999px) {
    .treatment-detail-header .container {
        max-width: var(--mobile-container-width);
        min-width: var(--mobile-container-width);
    }
}
.treatment-detail-header .container,
.treatment-detail-header .container .row,
.treatment-detail-header .container .row .col {
    position: relative;
    z-index: 2;
    height: 100%;
}
.treatment-detail-header .container .row .col {
    display: flex;
    align-items: flex-end;
    padding-bottom: 45px;
}
.treatment-detail-title {
    margin: 0;
    color: #fff;
    font-size: 46px;
    line-height: 50px;
}
@media only screen and (min-width: 1000px) and (max-width: 1300px) {
    .treatment-detail-title {
        font-size: 39.1px;
        line-height: 42.5px;
    }
}
@media only screen and (max-width: 999px) and (min-width: 691px) {
    .treatment-detail-title {
        font-size: 33.6px;
        line-height: 40.6px;
    }
}
@media only screen and (max-width: 690px) {
    .treatment-detail-title {
        font-size: 31.2px;
        line-height: 37.7px;
    }
}

.treatment-detail-after-content {
    margin-top: 60px;
}

@media only screen and (max-width: 999px) {
    .treatment-detail-after-content {
        margin-top: 0;
    }
}

.treatment-detail-after-content .google-reviews-block {
    max-width: 1500px;
    margin: 0 auto;
    padding-inline: 70px;
    padding-top: 0;
}

@media only screen and (max-width: 1659px) {
    .treatment-detail-after-content .google-reviews-block {
        padding-inline: 0;
    }
}

.treatment-detail-after-content .google-reviews-block .google-reviews-summary {
    flex: 0 0 320px;
}

.treatment-detail-after-content .google-reviews-block .google-reviews-slider-wrapper {
    width: calc(100% - 360px);
}

@media only screen and (max-width: 1299px) {
    .treatment-detail-after-content .google-reviews-block .google-reviews-summary {
        flex: 0 0 240px;
    }
    
    .treatment-detail-after-content .google-reviews-block .google-reviews-slider-wrapper {
        width: calc(100% - 280px);
    }
}

@media only screen and (max-width: 1024px) {
    .treatment-detail-after-content .google-reviews-block .google-reviews-summary {
        flex: none;
    }
    
    .treatment-detail-after-content .google-reviews-block .google-reviews-slider-wrapper {
        width: 100% !important;
    }
}

.treatment-detail-main-content {
    max-width: 1500px;
}
@media only screen and (min-width: 1px) and (max-width: 999px) {
    .treatment-detail-main-content {
        max-width: var(--mobile-container-width);
    }
}
.treatment-detail-main-content .post-area.col.span_9 {
    margin-bottom: 30px;
}
.treatment-detail-main-content h2,
.treatment-detail-main-content h3,
.treatment-detail-main-content h4,
.treatment-detail-main-content h5,
.treatment-detail-main-content h6 {
    margin-bottom: 20px;
}
.treatment-detail-main-content strong {
    font-family: inherit;
}
/* Column Layout */
.treatment-detail-main-content,
.treatment-detail-main-content > * {
    overflow: visible !important;
    transform: none !important;
    will-change: auto !important;
}

.treatment-detail-main-content .row {
    overflow: visible !important;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.treatment-detail-col-left {
    width: 30%;
    position: relative;
    align-self: flex-start;
    margin: 0;
}

.treatment-detail-col-left-sticky-wrapper {
    position: static;
    height: fit-content;
    max-height: calc(100vh - 40px);
    z-index: 10;
}

.treatment-detail-col-left-sticky-wrapper.is-sticky {
    position: fixed;
    top: 90px;
}

.treatment-detail-col-left-sticky-wrapper.is-sticky[style*="position: absolute"] {
    position: absolute !important;
}

.treatment-detail-col-right {
    width: 70%;
    padding-left: 90px;
}

@media (max-width: 768px) {
    .treatment-detail-main-content .row {
        flex-direction: column;
    }
    
    .treatment-detail-col-left,
    .treatment-detail-col-right {
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 30px;
    }
    
    .treatment-detail-col-left-sticky-wrapper {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}

/* Treatment Content Styles */
.treatment-detail-short-description {
    margin-bottom: 30px;
}

.treatment-detail-appointment-link {
    margin-bottom: 30px;
}

.treatment-detail-appointment-button {
    display: inline-block;
    padding: 6px 21px;
    background: #bf6e4f;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s ease;
    border-radius: 50px;
    font-weight: 500;
}

.treatment-detail-appointment-button:hover {
    background: #c88469;
    color: #fff;
}

.treatment-detail-summary h3 {
    margin-bottom: 15px !important;
    font-size: 18px !important;
}

.treatment-detail-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.treatment-detail-summary-list li {
    padding: 0;
    padding-left: 1px;
    padding-bottom: 9px;
    position: relative;
    list-style: none; /* Explicitly remove marker on li as well */
}

.treatment-detail-summary-list li i {
    padding-right: 7px;
    color: #bf6e4f !important;
}

/* Treatment Category Filters */
.treatment-detail-categories {
    margin-bottom: 15px;
}

.treatment-detail-category-filters {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row !important;
    gap: 10px;
    margin-bottom: 15px;
}

.treatment-detail-header .treatment-detail-filter-button {
    display: inline-block;
    padding: 4px 17px;
    background-color: #ffffff;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 40px;
    font-weight: 500;
    width: inherit !important;
}

.treatment-detail-header .treatment-detail-filter-button:hover {
    background-color: #e0e0e0;
    text-decoration: none;
}

/* Treatment Content Wrapper */
.treatment-detail-content {
    word-wrap: break-word;
}

/* Related Treatments Section */
.treatment-detail-related-treatments {
    max-width: 1500px;
    margin-top: 60px;
    margin-bottom: 0;
}

@media only screen and (min-width: 1px) and (max-width: 999px) {
    .treatment-detail-related-treatments {
        max-width: var(--mobile-container-width);
        margin-top: 40px;
    }
}

.treatment-detail-related-treatments-title {
    margin-bottom: 30px;
    font-size: 32px;
    line-height: 1.2;
}

@media only screen and (max-width: 768px) {
    .treatment-detail-related-treatments-title {
        font-size: 26px;
        margin-bottom: 20px;
    }
}

/* Treatments Slider - Slick Carousel */
.treatments-slider {
    margin: 0 -15px;
}

.treatments-slider .slick-list {
    text-align: left;
}

.treatments-slider .slick-track {
    margin-left: 0 !important;
}

.treatments-slider .slick-slide {
    padding: 0 15px;
}

/* Slick Navigation Arrows - Custom Styling */
.treatments-slider .slick-prev,
.treatments-slider .slick-next {
    width: 40px;
    height: 40px;
    z-index: 10;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: none;
    top: 40%;
}

.treatments-slider .slick-prev:before,
.treatments-slider .slick-next:before {
    display: none; /* Hide default Slick arrows */
}

.treatments-slider .slick-prev {
    left: 20px;
}

.treatments-slider .slick-next {
    right: 20px;
}

.treatments-slider .slick-next::before {
    display: block;
    content: "";
    width: 40%;
    height: 2px;
    background: black;
    position: absolute;
}

.treatments-slider .slick-next svg {
    width: 12px;
    margin-left: 9px;
}

.treatments-slider .slick-prev::before {
    display: block;
    content: "";
    width: 40%;
    height: 2px;
    background: black;
    position: absolute;
}

.treatments-slider .slick-prev svg {
    width: 12px;
    margin-right: 9px;
}

.treatments-slider .slick-prev::before,
.treatments-slider .slick-next::before,
.treatments-slider .slick-prev svg path,
.treatments-slider .slick-next svg path {
    transition: all 0.3s ease;
}

.treatments-slider .slick-prev.slick-disabled,
.treatments-slider .slick-next.slick-disabled {
    opacity: 0;
    pointer-events: none;
}

.treatments-slider .slick-prev:hover,
.treatments-slider .slick-next:hover {
    background: #e8d8ce;
    transform: scale(1.1);
}

.treatments-slider .slick-prev:hover::before,
.treatments-slider .slick-next:hover::before {
    background: #fff;
}

.treatments-slider .slick-prev:hover svg path,
.treatments-slider .slick-next:hover svg path {
    fill: #fff;
}

@media only screen and (max-width: 999px) {
    .treatments-slider .slick-prev,
    .treatments-slider .slick-next {
        width: 40px;
        height: 40px;
    }
    
    .treatments-slider .slick-prev {
        left: -20px;
    }
    
    .treatments-slider .slick-next {
        right: -20px;
    }
    
    .treatments-slider .slick-prev i,
    .treatments-slider .slick-next i {
        font-size: 16px;
    }
}

@media only screen and (max-width: 768px) {
    .treatments-slider {
        margin: 0 -10px;
    }
    
    .treatments-slider .slick-slide {
        padding: 0 10px;
    }
    
    .treatments-slider .slick-prev,
    .treatments-slider .slick-next {
        width: 35px;
        height: 35px;
    }
    
    .treatments-slider .slick-prev {
        left: 15px;
    }
    
    .treatments-slider .slick-next {
        right: 15px;
    }
    
    .treatments-slider .slick-prev i,
    .treatments-slider .slick-next i {
        font-size: 14px;
    }
}

.treatment-category-page-content {
    padding-bottom: 25px;
}
