:root {
    --primary-font: "Libre Caslon Text", serif;
    --global-font: "Manrope", sans-serif;
    --highlight-color: #ffeab8;
    --primary-color: #093854;
    --secondary-color: #e2222b;
    --light-color: #ffffff;
    --dark-color: #1a1a1a;
    /* --scrollbar-width: ; */
}

/* Reset and general styles */

*,
*::before,
*::after {
    box-sizing: border-box;
}

::placeholder {
    color: #093854;
    opacity: 0.5;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--global-font);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--primary-font) !important;
}

ul,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

body,
body a {
    text-decoration: none;
    color: var(--primary-color);
}

figure {
    margin: 0;
}

a,
button,
svg,
path,
rect,
circle {
    transition: 0.3s ease;
}
 a.linove-link {
    text-decoration: underline !important;
}

a.linove-link:hover {
    text-decoration: none !important;
    color: var(--secondary-color);
}



button,
input,
select,
textarea {
    border-radius: 0 !important;
    outline: none !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color) !important;
}

svg,
img {
    vertical-align: middle;
    max-width: 100%;
}

.container {
    width: clamp(320px, 95%, 1262px);
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 575px) {
    .container {
        width: 100%;
    }
}

.d-none {
    display: none;
}

html body .btn-primary,
html body .btn-secondary,
html body [type="submit"].btn-primary,
html body [type="submit"].btn-secondary {
    background-color: #004165;
    color: white;
    padding: 16px 27px;
    text-decoration: none;
    font: 700 16px var(--global-font);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 0;
    border-radius: 0;
}

html body .btn-secondary,
html body [type="submit"].btn-secondary {
    background-color: var(--secondary-color);
}

html body .btn-primary:hover,
html body .btn-primary:focus {
    background-color: var(--secondary-color);
    color: white;
}

@media (max-width: 767px) {
    html body .btn-primary,
    html body .btn-secondary {
        font-size: 15px;
        padding: 12px 20px;
    }
}

html body .btn-secondary:hover {
    background-color: var(--primary-color);
}

html body .specialist__btn.specialist__btn--online {
    background-color: #2d64c0;
}

html body .specialist__btn.specialist__btn--online:hover {
    background-color: #264f99;
}

.ln-flex {
    display: flex;
}

.ln-items-center {
    align-items: center;
}

.ln-content-center {
    justify-content: center;
}

.ln-content-between {
    justify-content: space-between;
}

.overflow-hidden {
    overflow: hidden !important;
    width: 100%;
}

.widget-100 .e-con .elementor-widget.elementor-widget {
    width: 100%;
}

.def-section {
    background-color: #f8f8f8;
}

.sec-padding {
    padding: 100px 0 150px;
}

@media (max-width: 991px) {
    .sec-padding {
        padding: 60px 0;
    }
}

@media (max-width: 575px) {
    .sec-padding {
        padding: 40px 0;
    }
}

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main {
    max-width: 1370px !important;
    width: 100%;
    padding-top: 15px;
}

video {
    width: 100%;
}

.required {
    color: Red;
}

/* ************* ******* ************* */
/* *********** Main styles *********** */
/* ************* ******* ************* */
/* Promotion Banner */
.promo {
    background-color: #ffeab8;
    padding: 10px;
    text-align: center;
    position: relative;
}

.promo__text {
    font: 500 14px var(--global-font);
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.promo .promo__text .promo__link {
    font-weight: 600;
    text-decoration: underline;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.promo .promo__text .promo__link:hover {
    color: var(--secondary-color);
}

.promo .promo__close {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50% !important;
    border: 1px dotted var(--primary-color);
    line-height: 0;
    padding: 6px;
    transition: border-color 0.3s ease;
}

.promo .promo__close:hover {
    border-color: var(--secondary-color);
}

.promo .promo__close:hover svg path {
    stroke: var(--secondary-color);
}

/* ************** ******* ************** */
/* *********** Header styles *********** */
/* ************** ******* ************** */
.ehf-header #masthead {
    position: sticky !important;
    top: 0;
}

.main-header {
    padding: 12px 0;
    background: white;
    border-bottom: 1px solid rgba(9, 56, 84, 0.2);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.main-header__logo img {
    height: 53px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-actions__contacts {
    gap: 48px;
    margin-right: 24px;
}

.phone-link,
.email-link {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
    font: 500 14px/1.2 "Manrope", sans-serif;
    transition: color 0.3s ease;
}

.phone-link:hover,
.email-link:hover {
    color: var(--secondary-color);
}

.phone-link:hover svg path,
.email-link:hover svg path {
    stroke: var(--secondary-color);
}

.header-actions__contact.email-link {
    position: relative;
}

.header-actions__contact.email-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -24px;
    width: 1px;
    height: 100%;
    border-left: 1px dashed var(--primary-color);
}

/* Language Selector */
.lng-selector {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.lng-selector.mobile-hidden .header__selected-lng {
    padding: 11px 0;
}

.header__language,
.header__selected-lng {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lng-selector img {
    width: 20px;
    height: 15px;
}

.header__languages {
    position: absolute;
    background-color: #fff;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.226);
    width: 150px;
    top: calc(100% + 30px);
    left: 50%;
    transform: translateX(-50%);
    z-index: -9;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}

.header__lng-selector:hover .header__languages {
    top: 100%;
    z-index: 9;
    pointer-events: all;
    visibility: visible;
    opacity: 1;
}

.header__lng-selector .icon {
    line-height: 1;
}

.header__languages .header__language {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    background-color: transparent;
    transition: 0.3s ease;
}

.header__languages .header__language:hover {
    background-color: #004165;
    color: #fff;
}

.header__languages .header__language:last-child {
    border: none;
}

/* Cart */
.ln-cart {
    position: relative;
    cursor: pointer;
}

.ln-cart-count {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50% !important;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.ln-cart:hover svg path,
.ln-cart:hover svg rect {
    stroke: var(--secondary-color);
}

/* Offcanvas Button */
.megamenu-trigger {
    background: none;
    border: none;
    cursor: pointer;
    border: none;
    padding: 12px 12px;
    background-color: var(--secondary-color);
    line-height: 1;
    border-radius: 50% !important;
}

.megamenu-trigger:focus {
    background-color: var(--secondary-color);
}

.megamenu-trigger:hover {
    opacity: 0.8;
    background-color: var(--secondary-color);
}

.megamenu-trigger__icon {
    pointer-events: none;
}

.megamenu-trigger__icon.trigger-close {
    display: none;
}

.header-actions.mobile-visible {
    display: none;
}

.main-header .header-actions .book-appointment {
    padding: 12px 21px;
}

.book-appointment__icon {
    line-height: 0;
}

@media (max-width: 1266px) {
    .book-appointment__text {
        display: none;
    }

    .header__book-appointment {
        border-radius: 50% !important;
        height: 52px;
        width: 52px;
        padding: 0 !important;
    }
}

@media (max-width: 991px) {
    .header-actions__contacts.mobile-hidden,
    .header__lng-selector.mobile-hidden {
        display: none;
    }

    .header-actions.mobile-visible {
        width: 100%;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header__languages {
        left: auto;
        right: 0;
        transform: translateX(0);
    }
}

@media (max-width: 767px) {
    .main-header__logo img {
        height: 36px;
    }

    .promo {
        text-align: start;
        padding-right: 50px;
    }

    .header__book-appointment,
    .header__cart svg,
    .megamenu-trigger {
        height: 40px;
        width: 40px;
        border-radius: 50px !important;
    }

    .megamenu-trigger {
        padding: 0;
    }
    .header-actions.mobile-visible.header-actions--sm-hidden {
        display: none;
    }
}

@media (max-width: 575px) {
    .phone-link svg,
    .email-link svg {
        height: 18px;
        width: 18px;
    }

    .header-actions__contacts {
        gap: 35px;
    }

    .header-actions__contact.email-link::before {
        left: -17px;
    }

    .phone-link,
    .email-link {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .phone-link svg,
    .email-link svg {
        width: 15px;
        height: 15px;
    }

    .header-actions__contacts {
        gap: 20px;
        /* flex-direction: column;
      gap: 10px;
      align-items: flex-start; */
    }

    .header-actions__contact.email-link::before {
        left: -10px;
    }
}

@media (max-width: 420px) {
    /* .header-actions__contacts {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  } */

    .header-actions__contact.email-link,
    .header-actions__contact.email-link::before {
        display: none;
    }
}

/* ************* ******* ************* */
/* ******* Service List styles ******* */
/* ************* ******* ************* */
.service-blocks {
    gap: 24px;
}

.service-block {
    background-color: var(--light-color);
    padding: 27px;
    filter: drop-shadow(4.5px 9px 27px 0 var(--dark-color) / 0.2);
}

.service-block .service-block__title {
    font: 400 27px var(--primary-font);
    color: var(--primary-color);
    margin: 0 0 21px;
    line-height: 1.2;
}

.service-list__item {
    border-bottom: 1px solid rgba(9, 56, 84, 0.1);
}

.service-list__item:last-child {
    border-bottom: none;
}

.service-list__icon {
    width: 36px;
    height: 36px;
}

.service-list__link {
    gap: 10px;
    padding: 12px 0;
}

.service-list__item:first-child .service-list__link {
    padding-top: 0;
}

.service-list__link .service-list__title {
    font: 600 16px var(--global-font);
    color: var(--dark-color);
    line-height: 1.2;
    transition: color 0.3s ease;
}

.service-list__arrow {
    margin-left: auto;
    transform: translateX(-12px);
    transition: transform 0.3s ease, opacity 0.3s ease-in;
    opacity: 0;
}

.service-list__link:hover .service-list__arrow {
    transform: translateX(0);
    opacity: 1;
}

.service-block__btn {
    margin-top: 24px;
}

@media (max-width: 991px) {
    .service-block {
        padding: 20px;
    }

    .service-block .service-block__title {
        font-size: 24px;
    }

    .service-list__item {
        margin-top: 10px;
        padding-bottom: 10px;
    }

    .service-list__link {
        padding: 8px 0;
    }

    .service-list__link .service-list__title {
        font-size: 16px;
    }

    .service-list__arrow svg {
        width: 32px;
        height: 32px;
    }

    .service-block__btn {
        margin-top: 20px;
    }

    .service-block__btn {
        font-size: 16px;
        padding: 12px 20px;
    }
}

/* ************* ******* ************* */
/* ******** Specialist styles ******** */
/* ************* ******* ************* */
.specialist {
    padding: 40px 0 80px;
}

.specialist__wrapper {
    gap: 60px;
    align-items: flex-start;
}

.specialist__image-col,
.specialist__content-col {
    flex: 1;
    max-width: 50%;
    position: sticky;
    top: 20px;
}

.specialist__image-col img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.specialist__header {
    margin-bottom: 30px;
}

/* Dynamic content styling using tag selectors */
.specialist .specialist__content-col h1 {
    font: 700 43px var(--primary-font);
    color: var(--primary-color);
    line-height: 1.2;
    margin: 0 0 18px;
}

.specialist .specialist__content-col h2 {
    font: 400 21px var(--primary-font);
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0 0 12px;
}

.specialist .specialist__content-col h3 {
    font: 400 22px var(--primary-font);
    line-height: 1.2;
    color: var(--primary-color);
    margin: 0 0 15px;
}

.specialist .specialist__section {
    margin-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--primary-color);
}

.specialist .specialist__section:nth-child(n + 6) {
    border-bottom: 0;
}

.specialist .specialist__section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.specialist .specialist__section:first-child {
    margin-top: 0;
}

.specialist .specialist__content-col p {
    font: 400 14px var(--global-font);
    line-height: 1.6;
    color: var(--primary-color);
    margin: 0 0 16px;
}

.specialist .specialist__content-col p:last-child {
    margin-bottom: 0;
}

/* Share button structure */
.specialist .specialist__header a {
    gap: 8px;
    color: var(--secondary-color);
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s ease;
}

.specialist .specialist__header a:hover {
    text-decoration: underline;
}

/* Lists styling */
.specialist .specialist__specialty-list,
.specialist .specialist__expertise-list,
.specialist .specialist__language-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Dynamic list items */
.specialist__specialty-list .specialist__specialty-item,
.specialist__expertise-list .specialist__expertise-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: #f5f5f5;
    border-radius: 100px !important;
    font: 500 14px var(--global-font);
    transition: background-color 0.3s ease;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.specialist__expertise-list .specialist__expertise-item {
    background-color: #ffeab8;
}

/* .specialist__specialty-list .specialist__specialty-item a:hover {
    background-color: var(--primary-color);
    color: white;
  } */

/* Education list */
.specialist__education ul {
    margin: 0;
    padding: 0;
}

.specialist__education li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.specialist__education li:last-child {
    margin-bottom: 0;
}

/* Icons within list items */
.specialist__education .specialist__education-icon,
.specialist__specialty-list .specialist__specialty-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Language flags */
.specialist__language-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font: 600 14px/1.2 var(--global-font);
}

.specialist__language-list li img {
    width: 21px;
    height: 21px;
    object-fit: cover;
    margin-right: 7px;
}

.specialist__education-item span.specialist__education-text {
    font: 400 14px var(--global-font);
    flex-grow: 1;
}

/* Action buttons container */
.specialist__actions {
    display: flex;
    flex-wrap: wrap;
    column-gap: 16px;
    row-gap: 10px;
    margin-top: 40px;
}

.specialist__actions .specialist__btn {
    flex: 1;
    white-space: nowrap;
}

.specialist__share__icon svg path {
    fill: currentColor;
}

@media (max-width: 1200px) {
    .specialist__wrapper {
        gap: 40px;
    }

    .specialist .specialist__content-col h1 {
        font-size: 38px;
    }

    .specialist .specialist__specialty-list,
    .specialist .specialist__expertise-list,
    .specialist .specialist__language-list {
        gap: 10px;
    }

    .specialist__specialty-list .specialist__specialty-item,
    .specialist__expertise-list .specialist__expertise-item,
    .specialist__language-list .specialist__language-item {
        padding: 8px 12px;
    }
}

@media (max-width: 991px) {
    .specialist__wrapper {
        flex-direction: column;
    }

    .specialist__image-col,
    .specialist__content-col {
        flex: 1;
        max-width: 100%;
        position: static;
    }

    .specialist__image-col,
    .specialist__content-col {
        flex: 0 0 100%;
        width: 100%;
    }

    .specialist .specialist__content-col h1 {
        font-size: 32px;
    }

    .specialist .specialist__content-col h2 {
        font-size: 20px;
        margin: 24px 0 12px;
    }

    .specialist .specialist__content-col p {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .specialist {
        padding: 60px 0;
    }

    .specialist__specialty-list .specialist__specialty-item,
    .specialist__expertise-list .specialist__expertise-item,
    .specialist__language-list .specialist__language-item {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .specialist {
        padding: 40px 0;
    }
}

/* ************* ******* ************* */
/* ********* Services styles ********* */
/* ************* ******* ************* */
.services {
    /* background-color: #f8f8f8; */
    overflow: hidden;
}

.service-types {
    background-color: var(--light-color);
}

.services__title {
    font: 400 43px var(--primary-font);
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 16px;
}

/* Filter Tabs */
.services__filter {
    margin-bottom: 40px;
}

.services__tabs {
    gap: 40px;
    border-bottom: 1px solid #09385433;
}

.services__filter .services__tab-btn {
    font: 400 16px var(--global-font);
    color: var(--primary-color);
    background: none;
    border: none;
    padding: 0 0 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background-color: transparent;
}

.services__filter .services__tab-btn::before {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.services__filter .services__tab-btn:hover::before,
.services__filter .services__tab-btn--active::before {
    width: 100%;
}

/* Services Slider */
.services__slider {
    margin: 0 -12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Prevent CLS for service slider during initialization */
.services__slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.services__slider.slick-initialized {
    opacity: 1;
    visibility: visible;
}

.services__slider .slick-track {
    display: flex;
    align-items: stretch;
}

.services__slide {
    padding: 0 12px;
    height: auto !important;
}

.services__slide .services__slide-inner {
    height: 100%;
}

.doctors .services__slide {
    height: 100%;
}

.services__slide-inner {
    background: var(--light-color);
    overflow: hidden;
    position: relative;
}

.doctors .services__slide-inner {
    border-radius: 0;
    height: 100%;
}

.doctors .services__slide-figure,
.services__slide-figure a {
    height: 100%;
    position: relative;
    z-index: 1;
}

.service-types .services__slide-figure a::before,
.service-types .services__slide-figure a::after,
.team-specialists__carousel article a::after,
.team-specialists__carousel article a::before,
.services__slide-figure::after,
.services__slide-figure::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(
        rgba(13, 12, 7, 0) 21%,
        rgba(13, 12, 7, 1) 79%
    );
    z-index: 9;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

.service-types .services__slide-figure a::before,
.team-specialists__carousel article a::before,
.services__slide-figure::before {
    background-image: linear-gradient(
        rgba(13, 12, 7, 0) 21%,
        rgba(13, 12, 7, 0.5) 79%
    );
    opacity: 1;
}

.service-types .services__slide-figure a:hover::before,
.team-specialists__carousel article a:hover::before,
.services__slide-figure:hover::before {
    opacity: 0;
}

.service-types .services__slide-figure a:hover::after,
.team-specialists__carousel article a:hover::after,
.services__slide-figure:hover::after {
    opacity: 1;
}

.services__slide-figure {
    margin: 0;
    position: relative;
}

.team-specialists__carousel article a {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 99;
}

.services__slide-figure:after {
    content: "";
    height: 100%;
    width: 100%;
    background-image: linear-gradient(
        rgba(13, 12, 7, 0) 21%,
        rgba(13, 12, 7, 0.6) 79%
    );
    position: absolute;
    left: 0;
    top: 0;
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.services__slide-figure a {
    display: block;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.services__slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1.2;
}

.services__slide-img:hover {
    transform: scale(1.03);
}

.services__slide-content {
    padding: 21px;
}

.services__slide-title {
    font: 500 21px var(--primary-font);
    color: var(--primary-color);
    margin: 0 0 21px;
}

.services__slider.related__slider .related__slider_price {
    font: 400 27px/1.2 var(--primary-font);
}

.services__slider.related__slider .services__slide-inner,
.services__slider.related__slider .services__slide-content {
    display: flex;
    flex-direction: column;
}

.services__slider.related__slider .services__slide-content {
    flex: 1;
}

.services__slider.related__slider .services__slide-title {
    margin: 0;
}

.services__slider.related__slider .services__slide-link {
    padding-top: 21px;
    margin-top: auto;
    display: inline-block;
}

.services__slide-title-link {
    color: inherit;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.services__slide-title-link:hover {
    color: #e2222b;
}

.services__slide-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font: 500 16px var(--global-font);
    color: var(--secondary-color);
    transition: 0.3s ease;
}

.services__slide-link:hover {
    gap: 12px;
}

/* Slider Navigation */
.services__nav {
    margin-top: 36px;
    gap: 20px;
}

.services__counter {
    font: 700 16px var(--global-font);
    color: var(--primary-color);
    margin-top: 20px;
    display: block;
}

.services__arrows {
    gap: 12px;
}

.slick-arrow.services__arrow {
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 16.5px;
    border-radius: 0px;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .slick-arrow .services__arrow {
        padding: 14px;
    }

    .services__counter {
        margin-top: 8px;
    }
}

@media (max-width: 991px) {
    .services__slider.related__slider .related__slider_price {
        font-size: 23px;
    }
}

@media (max-width: 991px) {
    .services__title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .services__filter {
        margin-bottom: 30px;
    }

    .services__arrows {
        gap: 6px;
    }

    .services__tabs {
        gap: 20px;
        max-width: 100%;
        overflow-x: auto;
        width: max-content;
        justify-content: flex-start;
        margin: 0 auto;
        scrollbar-width: none;
    }

    .services__counter {
        margin-top: 0;
    }

    .services__tab-btn {
        font-size: 15px;
        padding: 10px 0;
        white-space: nowrap;
    }

    .services__slide-title,
    .doctor .services__slide-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .services__slide-link {
        font-size: 16px;
    }

    .services__arrow {
        padding: 10px;
    }

    .services__arrow svg {
        width: 20px;
        height: 20px;
    }

    .services__slider.related__slider .related__slider_price {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .slick-arrow.services__arrow {
        padding: 12px;
    }
}

@media (max-width: 575px) {
    .services__title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .services__nav {
        margin-top: 24px;
    }

    .services__slider.related__slider .related__slider_price {
        font-size: 18px;
    }
}

.services__counter-wrapper {
    gap: 8px;
    flex: 1;
}

.services__progress {
    margin-top: 14px;
    width: 100%;
    height: 2px;
    background-color: rgba(9, 56, 84, 0.2);
    position: relative;
}

.services__progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

/* ************* ******* ************* */
/* *********** Popup styles ********** */
/* ************* ******* ************* */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.popup.popup--active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup.popup-filter {
    display: block;
    opacity: 0;
    z-index: -999;
    transition: 0.3s;
    overflow: hidden;
}

.popup.popup-filter.popup--active {
    opacity: 1;
    z-index: 9999;
}

.popup__wrapper {
    position: relative;
    width: 100%;
    max-width: 670px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 0;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    scrollbar-width: thin;
}

.popup-filter .popup__wrapper {
    width: 440px;
    max-width: 440px;
    min-height: 100vh;
    overflow: auto;
    max-height: 100vh;
    margin: 0 0 0 auto;
    transition: 0.3s;
    transition-delay: 0.1s;
    /* overflow: hidden; */
    transform: translate(100%);
}

.popup-filter.popup--active .popup__wrapper {
    transform: translate(0);
}

.filter__from-content {
    padding-bottom: 60px;
    overflow: auto;
    scrollbar-width: none;
}

.popup__close {
    position: sticky;
    display: block;
    margin: -15px -15px 0 auto;
    top: -15px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 99;
    background-color: var(--light-color);
    border-radius: 50% !important;
}

.popup__close:hover {
    background-color: transparent !important;
}

.popup__close svg {
    pointer-events: none;
}

.popup__close:hover svg path {
    stroke: var(--secondary-color);
    fill: var(--secondary-color);
}

.popup__close:hover svg rect {
    stroke: var(--secondary-color);
}

.popup__logo {
    display: block;
    margin: 0 auto 16px;
    max-width: 150px !important;
}

.popup__title {
    text-align: center;
    color: var(--primary-color);
    font: 400 32px var(--primary-font);
    line-height: 1.2;
    margin: 0 0 20px;
}

.popup-filter .popup__title {
    text-align: start;
    font: 400 38px/1.2 var(--primary-font);
    margin-bottom: 30px;
}

.popup-filter__item__header {
    padding: 16px 10px 16px 0;
    gap: 20px;
}

.shop .popup-filter__item__header {
    padding-top: 0;
}

.popup-filter__item__title {
    font: 400 20px/1.2 var(--primary-font);
    color: var(--primary-color);
    margin: 0;
}

.shop .popup-filter__item__title {
    font: 400 23px/1.2 var(--primary-font);
}

.popup-filter .action_btns {
    display: flex;
    gap: 16px;
    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;
    padding: 20px 32px;
    background: #fff;
    box-shadow: 0 0 10px 0 #00000024;
}

.shop .shop__filter .action_btns.mobile-view {
    align-items: stretch;
    gap: 16px;
    display: none;
    position: absolute;
    z-index: 99;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background-color: var(--light-color);
}

.shop .shop__filter .action_btns.mobile-view button:hover,
.shop .shop__filter .action_btns.mobile-view button {
    flex: 1;
    border-color: var(--primary-color);
    font: 500 16px/1.2 var(--global-font);
    text-align: center;
    padding: 10px;
    color: var(--primary-color);
    background-color: transparent;
}

.shop .action_btns.mobile-view button.clear-filters {
    white-space: nowrap;
    font: 600 16px / 1.2 var(--global-font);
    color: var(--secondary-color);
    padding: 8px 14px;
    border-radius: 100px !important;
    background-color: rgba(226, 34, 43, 0.1);
    margin-bottom: 16px;
    border: none;
    display: none;
}

.shop .shop__filter .action_btns.mobile-view button:hover {
    opacity: 0.9;
}

.shop .shop__filter .action_btns.mobile-view button.filter__submit,
.shop .shop__filter .action_btns.mobile-view button.filter__submit:hover {
    color: var(--light-color);
    background-color: var(--primary-color);
}

.popup-filter .action_btns button {
    flex: 1;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 0;
    font-size: 16px;
    background-color: transparent;
}

.popup-filter .action_btns button:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

.popup-filter .action_btns button:last-child {
    background-color: var(--primary-color);
    color: #ffffff;
}

.popup-filter .action_btns button:last-child:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.popup-filter__item__icon {
    transition: 0.3s;
}

.faq--active .popup-filter__item__icon {
    rotate: 90deg;
}

.popup-filter__item__body {
    padding-top: 20px;
    border-top: 1px solid rgba(9, 56, 84, 0.3);
}

.shop .popup-filter__item__body {
    margin-top: 0;
    padding-top: 16px;
}

.popup-filter .popup-filter__item {
    padding: 0;
    border: none;
}

.shop .popup-filter__item {
    border: none;
    padding: 20px;
    background-color: #f8f8f8;
    margin-bottom: 20px;
    border: none !important;
}

.popup-filter__item__field:not(:last-child) {
    margin-bottom: 20px;
}

.popup-filter__item__field input[type="checkbox"] {
    display: none;
}

.popup-filter__item__field label {
    font: 600 16px/1.3 var(--global-font);
    color: var(--dark-color);
    cursor: pointer;
}

.popup-filter__item__field .popup-filter__item__field__check-icon {
    height: 16px;
    width: 16px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    position: relative;
    background-color: transparent;
    display: inline-block;
    margin-right: 4px;
}

.popup-filter__item__field
    input:checked
    + label
    .popup-filter__item__field__check-icon {
    background-color: var(--primary-color);
}

.popup-filter__item__field .popup-filter__item__field__check-icon::after {
    content: "";
    position: absolute;
    top: 5px;
    left: 4px;
    height: 3px;
    width: 7px;
    border: solid transparent;
    border-width: 0 0 1px 1px;
    rotate: -45deg;
}

.popup-filter__item__field
    input:checked
    + label
    .popup-filter__item__field__check-icon::after {
    border-color: var(--light-color);
}

.popup__form-field {
    margin-bottom: 1.5rem;
}

.popup__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.popup__label {
    display: block;
    margin-bottom: 12px;
    color: var(--primary-color);
    font: 600 14px var(--primary-font);
}

.popup__input-wrapper {
    position: relative;
}

.popup__input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.popup__input,
.popup__select,
.popup__textarea {
    width: 100%;
    padding: 16px 20px !important;
    border: 1px solid #0938544b !important;
    font: 500 18px/1.3 var(--global-font);
    color: #093854;
    border-radius: 0 !important;
    outline: none;
}

/*
.popup__input:focus,
.popup__select:focus,
.popup__textarea:focus{
  border-color: var(--primary-color);
} */

.popup__textarea {
    padding-left: 1rem;
    height: 170px;
    resize: none;
}

.popup__checkbox {
    margin-bottom: 0.5rem;
}

.popup__checkbox input {
    height: 20px;
    width: 20px;
    accent-color: var(--primary-color);
}

.popup__checkbox-text {
    margin-left: 0.5rem;
    font: 500 16px var(--global-font);
    color: var(--primary-color);
    flex: 1;
    cursor: pointer;
}

.popup__link {
    color: var(--secondary-color);
    text-decoration: underline !important;
}

.popup form .popup__submit {
    width: 100%;
    margin-top: 1rem;
    border: none;
    cursor: pointer;
}

.popup__contact {
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
}

.popup__contact-label {
    display: block;
    font: 700 20px var(--primary-font);
    color: var(--primary-color);
    margin-bottom: 10px;
}

.popup__contact-link {
    color: var(--primary-color);
    font: 500 18px var(--global-font);
    text-decoration: underline;
    gap: 10px;
}

.popup__contact-link:hover {
    color: var(--secondary-color);
}

/* Popup range style */
.price-input {
    width: 100%;
    display: flex;
    margin: 0 0 35px;
    gap: 18px;
}

.price-input .field {
    display: flex;
    width: 100%;
    height: 45px;
    align-items: center;
}

.price-input .field input {
    width: 100%;
    height: 100%;
    outline: none;
    font: 500 16px/1.2 var(--primary-color);
    text-align: center;
    border: 1px solid rgba(9, 56, 84, 0.2);
    -moz-appearance: textfield;
    background-color: #fff;
    border-radius: 0;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.price-input .separator {
    width: 130px;
    display: flex;
    font-size: 19px;
    align-items: center;
    justify-content: center;
}

.slider {
    height: 5px;
    position: relative;
    background: #ddd;
    border-radius: 5px;
}

.slider .progress {
    height: 100%;
    left: 0%;
    right: 0%;
    position: absolute;
    border-radius: 5px;
    background: #004165;
}

.range-input {
    position: relative;
}

.range-input input {
    position: absolute;
    width: 100%;
    height: 5px;
    top: -5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    height: 17px;
    width: 17px;
    border-radius: 50%;
    background: #004165;
    pointer-events: auto;
    -webkit-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

input[type="range"]::-moz-range-thumb {
    height: 17px;
    width: 17px;
    border: none;
    border-radius: 50%;
    background: #004165;
    pointer-events: auto;
    -moz-appearance: none;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

/* Adjust the slider track for overlapping range thumbs */
input#minRange::-webkit-slider-thumb {
    z-index: 2;
}

input#maxRange::-webkit-slider-thumb {
    z-index: 1;
}

/* Popup Success Styles */
#popup-success .popup__logo {
    max-width: 200px !important;
}

.popup__success-content {
    padding-top: 20px;
    text-align: center;
}

.popup__success-icon {
    width: max-content;
    margin: 0 auto 30px;
}

.popup__success-title {
    font: 400 32px/1.2 var(--primary-font);
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 16px;
    max-width: 550px;
    margin: 0 auto 16px;
}

.popup__success-dsc {
    font: 500 16px/1.7 var(--global-font);
    color: #1a1a1a;
    margin: 0;
}

.popup__success-close {
    padding: 19px 24px;
    border: 1px solid var(--primary-color);
    cursor: pointer;
    margin: 40px 0 0;
    font: 700 18px/1.2 var(--global-font);
    text-align: center;
    display: block;
    width: 100%;
    background-color: transparent;
}

.popup__success-close .icon {
    pointer-events: none;
}

/* Popup Responsive Styles */
@media (max-width: 767px) {
    .popup__wrapper {
        max-width: 100%;
        padding: 1.5rem;
        padding-bottom: 350px;
        /* margin: 1rem auto; */
        max-height: 100vh;
    }

    .shop .action_btns.mobile-view button.clear-filters {
        display: block;
    }

    .filter__from-content {
        max-height: calc(100vh - 122px);
    }

    .popup-filter .popup__title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .popup-filter__item__title {
        font-size: 18px;
    }

    .popup-filter__item__field label {
        font-size: 15px;
    }

    .shop .shop__filter .action_btns.mobile-view {
        display: flex;
    }

    .popup-filter .popup__wrapper {
        width: 300px;
    }

    .popup-filter__item__header {
        padding: 15px 10px 15px 0;
    }

    .popup__title {
        font-size: 24px;
        margin-bottom: 1.5rem;
    }

    .popup__form-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .popup__contact {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .popup__contact-item {
        width: auto;
    }
    
    .popup__contact-link {
        width: auto;
        justify-content: center;
    }
    
    .popup__contact-text {
        display: none;
    }

    .popup__contact-label {
        font-size: 18px;
    }

    .popup__checkbox input {
        height: 17px;
        width: 17px;
    }

    .popup__contact-link {
        font-size: 16px;
    }

    .popup__success-icon svg {
        height: 120px;
        width: 120px;
    }

    .popup__success-title {
        font-size: 26px;
        max-width: 400px;
    }

    .popup__success-dsc {
        font-size: 15px;
    }

    .popup__success-close {
        padding: 12px 24px;
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .popup__contact-label{
        font-size: 12px;
    }
    
    .popup__contact {
        gap: 1rem;
        justify-content: space-between;
        max-width: 300px;
    }
    
    .popup__contact-icon {
        flex-shrink: 0;
    }
    
    .popup__contact-text {
        display: none;
    }
    
    .popup__contact-link {
        font-size: 14px;
        justify-content: center;
    }
    
    .popup__wrapper {
        padding: 1rem;
        padding-bottom: 350px;
    }

    .popup__logo {
        max-width: 120px;
        margin-bottom: 12px;
    }

    .popup__title {
        font-size: 20px;
        margin-bottom: 1rem;
    }

    .popup__label {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .popup__input,
    .popup__select,
    .popup__textarea {
        padding: 12px 16px;
        font-size: 14px;
    }

    .popup__checkbox-text {
        font-size: 14px;
    }

    .popup__submit {
        padding: 12px 20px;
        font-size: 16px;
    }

    .popup__close {
        margin: -10px -10px 0 auto;
        top: -10px;
        width: 20px;
        height: 20px;
    }

    .popup__close:hover {
        background-color: transparent;
    }
}

/* ************* ******* ************* */
/* ******* Testimonials styles ******* */
/* ************* ******* ************* */
.testimonials__slider {
    margin: 0 -12px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Prevent CLS for testimonials slider during initialization */
.testimonials__slider {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.testimonials__slider.slick-initialized {
    opacity: 1;
    visibility: visible;
}

.testimonials__slider.slick-initialized .slick-track {
    display: flex;
    align-items: stretch;
}

.testimonials__slider.slick-initialized .slick-slide {
    height: auto !important;
}

.testimonial {
    padding: 0 12px;
}

.testimonial__inner {
    align-items: stretch;
    background: var(--light-color);
    gap: 40px;
    height: 100%;
}

.testimonial__media {
    flex: 0 0 354px;
    max-width: 30%;
    position: relative;
}

/* .testimonial__video {
    background: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
  } */

.ln-testimonials .testimonial__media img,
.testimonial .testimonial__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ln-testimonials .testimonial__media .testimonial__play-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: none;
    cursor: pointer;
}

.testimonial__play-btn {
    position: absolute;
    top: 0;
    left: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.testimonial__play-icon {
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.testimonial__media:hover .testimonial__play-icon {
    transform: scale(1.1);
}

.testimonial__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial__content .testimonial__quote {
    margin-bottom: 15px;
    display: block;
}

.testimonial__text p {
    font: 400 28px/1.5 var(--primary-font);
    color: var(--primary-color);
    margin: 0 0 24px;
}

.testimonial__author {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px dashed var(--primary-color);
}

.testimonial__author h3 {
    font: 600 16px/1.2 var(--global-font);
    color: var(--primary-color);
    margin: 0 0 4px;
}

.testimonial__author p {
    font: 400 14px/1.4 var(--global-font);
    color: var(--primary-color);
    opacity: 0.7;
    margin: 0;
}

.testimonials__nav {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: -60px;
    position: relative;
}

.ln-testimonials .testimonials__arrow {
    border: none;
    padding: 15px;
    cursor: pointer;
    border-radius: 0;
}

@media (max-width: 1200px) {
    .testimonial__text p {
        font-size: 20px;
    }

    .ln-testimonials .testimonials__arrow {
        padding: 12px;
    }
}

@media (max-width: 991px) {
    .testimonial__inner {
        gap: 24px;
    }

    .testimonial__content {
        padding: 0;
    }

    .testimonial__text p {
        font-size: 17px;
    }

    .testimonials__nav {
        margin-top: -45px;
        gap: 6px;
    }

    .ln-testimonials .testimonials__arrow {
        padding: 10px;
    }

    .testimonials__arrow svg {
        width: 20px;
        height: 20px;
    }

    .testimonial__content .testimonial__quote {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 767px) {
    .testimonial__inner {
        flex-direction: column;
        gap: 24px;
    }

    .testimonial__media {
        flex: none;
        max-width: 100%;
    }

    .testimonial__content {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .ln-testimonials {
        padding: 40px 0;
    }

    .testimonial__text p {
        font-size: 18px;
    }

    .testimonial__author h3 {
        font-size: 15px;
    }

    .testimonial__author p {
        font-size: 13px;
    }

    .slick-initialized .slick-slide {
        width: 320px;
    }

    .services__slide-content {
        padding: 11px;
    }

    .video-popup__inner {
        width: 100%;
    }

    /* .testimonials__nav {
      bottom: 20px;
      right: 20px;
    } */
}

/* ************* ***** ********** */
/* *** Contact Section Styles *** */
/* ************** ***** ********* */
.section {
    position: relative;
    z-index: 1;
}

.section__bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
}

.section__bg svg {
    height: 100%;
    width: 100%;
}

.contact {
    padding: 100px 0;
    background-color: #f8f8f8;
}

.contact button {
    width: 100%;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
}

.wpcf7-acceptance input {
    vertical-align: text-bottom;
    margin-right: 5px;
}

section .section-label {
    position: relative;
    width: max-content;
    margin: 0 auto 18px;
    padding-left: 50px;
    font: 400 16px/1.2 var(--primary-font);
}

.contact .section-label {
    text-align: center;
}

.section-label::before {
    content: "";
    height: 1px;
    width: 40px;
    background-color: var(--primary-color);
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.contact .contact__title {
    font: 400 43px var(--primary-font);
    line-height: 1.2;
    color: var(--primary-color);
    text-align: center;
    margin: 0 auto 36px;
    max-width: 640px;
}

.contact__content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.contact__map {
    flex: 1;
    max-width: 50%;
    background-color: var(--light-color);
}

.contact__map figure {
    aspect-ratio: 1.6/1;
}

.contact__map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.contact__form {
    flex: 1;
    padding: 20px 24px;
    background-color: var(--light-color);
    max-width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__form-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.contact__form-group .contact__form-field {
    flex: 1;
    max-width: 100%;
    min-width: 250px;
}

.contact__form-field label {
    font: 400 14px var(--primary-font);
    color: var(--primary-color);
    margin-bottom: 8px;
    display: inline-block;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.contact__form-field input,
.contact__form-field textarea {
    padding: 17px 24px;
    border: 1px solid #ddd;
    font: 500 18px var(--global-font);
    display: block;
    width: 100%;
}

.contact__form-field textarea {
    height: 170px;
    resize: none;
}

.contact__form-field .text--normal {
    text-transform: none;
}

.contact .check-field {
    gap: 7px;
}

.contact .check-field input {
    display: inline-block;
    width: auto;
    height: 20px;
    width: 20px;
    accent-color: var(--primary-color);
}

.contact .check-field label {
    font: 500 16px/1.5 var(--global-font);
}

.contact .check-field label a {
    color: var(--secondary-color);
    font: 500 56px var(--primary-color);
    text-decoration: underline;
}

.contact__submit {
    text-transform: uppercase;
}

.contact__submit span {
    margin-left: 5px;
}

.contact__info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    border-top: 1px dashed rgba(9, 56, 84, 0.2);
    padding-top: 20px;
    gap: 22px;
    flex-wrap: wrap;
}

.contact__info:last-child {
    margin-bottom: 0;
}

.contact__map__info {
    padding: 16px 24px;
}

.contact__map__row:first-child {
    margin-top: 0;
    border: none;
    padding-top: 0;
}

.contact__item {
    gap: 10px;
    flex: 1;
    min-width: 220px;
}

.contact__form .contact__item {
    min-width: 170px;
}

.contact__item__title {
    font: 700 16px/1.2 var(--primary-font);
    margin: 0 0 10px;
    white-space: nowrap;
}

.contact__item__content {
    gap: 10px;
}

.contact__icon {
    width: 39px; /* Adjust size as needed */
    height: 39px; /* Adjust size as needed */
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    align-self: flex-start;
}

.contact__info a,
.contact__info p {
    font: 500 14px/1.5 var(--global-font);
    color: var(--primary-color);
    text-decoration: underline;
    flex: 1;
    transition: colors 0.3s;
}

.contact__info a:hover {
    color: var(--secondary-color);
}

.contact__info p {
    text-decoration: none;
    margin: 0;
}

@media (max-width: 1200px) {
    .contact__map__row.contact__info {
        padding: 10px 0 0;
        border: none;
    }
}

@media (max-width: 1023px) {
    .contact__content-wrapper {
        gap: 20px;
    }

    .contact .contact__title {
        font-size: 38px;
    }

    .contact__form-field input,
    .contact__form-field textarea {
        padding: 10px 15px;
        font-size: 15px;
    }

    .contact__form-field label {
        font-size: 13px;
    }

    .contact__item__title {
        font-size: 15px;
        margin: 0 0 8px;
    }

    section .section-label {
        padding-left: 40px;
    }

    .section-label::before {
        width: 32px;
    }
}

@media (max-width: 991px) {
    .contact {
        padding: 80px 0;
    }
}

@media (max-width: 767px) {
    .contact {
        padding: 60px 0;
    }

    .contact__content-wrapper {
        flex-direction: column;
    }

    .contact .contact__title {
        font-size: 32px;
        margin: 0 0 24px;
    }

    .contact__map,
    .contact__form,
    .contact__form-group .contact__form-field {
        max-width: 100%;
    }

    .contact__form-group {
        flex-direction: column;
    }

    section .section-label {
        padding-left: 30px;
    }

    .section-label::before {
        width: 24px;
    }

    .contact__icon {
        height: 35px;
        width: 35px;
    }

    .contact .check-field label {
        font-size: 14px;
    }

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

@media (max-width: 575px) {
    .contact .contact__title {
        font-size: 30px;
    }
}

/* ************* ******* ************* */
/* ********** Service Types ********** */
/* ************* ******* ************* */
.services.team-specialists {
    overflow: visible !important;
}

.services .container {
    position: relative;
}

.services__subtitle {
    font: 400 16px/1.2 var(--primary-font);
    margin: 0 0 21px;
    color: var(--primary-color);
    text-align: center;
}

.services__title-wrap {
    gap: 20px;
    margin: 0 0 21px;
}

.services__title-wrap .services__title {
    margin: 0;
}

.services__filter-dropdown .icon {
    margin-left: 10px;
}

.services__filter-dropdown__trigger {
    padding: 0;
    font: 400 41px/1.2 var(--primary-font);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    padding: 12px 24px;
    border-radius: 100px !important;
    border: 1px solid var(--primary-color);
    background-color: transparent;
}

.services__resoult {
    font: italic 400 23px/1.2 var(--primary-font);
    color: var(--primary-color);
    text-align: center;
    margin: 0 0 18px;
}

.team-specialists__carousel .slick-slide {
    width: 315px;
}

.service-types .service-types__carousel .service-types__slide,
.team-specialists .team-specialists__carousel .services__slide,
.doctor {
    position: relative;
    z-index: 2;
}

.service-types {
    overflow: visible;
    /* Prevent CLS - constrain container width */
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Prevent horizontal overflow during initialization */
    position: relative; /* Create positioning context */
}

.service-types .service-types__carousel {
    width: 100%;
    max-width: 100%;
    overflow: hidden; /* Prevent slider from expanding beyond container */
    position: relative;
}

.service-types .service-types__carousel .slick-list {
    width: 130%;
    /* Ensure parent container constrains this - overflow hidden on parent prevents CLS */
    max-width: none; /* Allow internal expansion but parent constrains */
    /* The parent's overflow: hidden prevents this from causing layout shift */
}

.service-types .service-types__carousel .service-types__slide {
    width: 315px;
}

.service-types .service-types__carousel .services__slide-content,
.team-specialists .team-specialists__carousel .services__slide-content,
.doctor .services__slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 21px;
    width: 100%;
    background-color: transparent;
    z-index: 999;
    pointer-events: none;
}

.service-types .service-types__carousel .services__slide-content {
    padding: 18px;
}

.service-types .service-types__carousel .services__slide-icon {
    margin: 0 0 16px;
    display: inline-block;
    border-radius: 50% !important;
    overflow: hidden;
}

.service-types .service-types__carousel .services__slide-title,
.team-specialists .team-specialists__carousel .services__slide-title,
.doctor .services__slide-title {
    font: 400 23px var(--primary-font);
    color: var(--light-color);
    margin: 0;
    transition: 0.3s;
}

.team-specialists .team-specialists__carousel .services__slide-title {
    font-size: 21px;
}

.service-types .service-types__carousel .services__slide-figure .icon {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9;
    opacity: 0;
    scale: 0.9;
    transition: 0.3s;
}

.service-types
    .service-types__carousel
    .service-types__slide:hover
    .services__slide-figure
    .icon {
    opacity: 1;
    scale: 1;
}

.service-types__carousel .service-types__slide:hover .services__slide-img,
.team-specialists__carousel .service-types__slide:hover .services__slide-img,
.team-specialists__carousel .services__slide:hover .services__slide-img,
.doctor:hover .services__slide-img {
    transform: scale(1.04);
}

@media (max-width: 991px) {
    .service-types .service-types__carousel .services__slide-title,
    .services__resoult,
    .team-specialists .team-specialists__carousel .services__slide-title,
    .doctor .services__slide-title {
        font-size: 20px;
    }

    .services__resoult {
        margin-bottom: 15px;
    }

    .services__filter-dropdown__trigger {
        padding: 8px 16px;
        font-size: 32px;
    }

    .services__subtitle {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .services__title-wrap {
        flex-wrap: wrap;
    }
}

@media (max-width: 767px) {
    .services__filter-dropdown__trigger {
        padding: 8px 16px;
        font-size: 26px;
    }

    .services__resoult {
        font-size: 17px;
    }

    .service-types .service-types__carousel .services__slide-content,
    .team-specialists .team-specialists__carousel .services__slide-content,
    .doctor .services__slide-content {
        padding: 15px;
    }
}

/* ********** **** *********** */
/* ******* Specialists ******* */
/* *********** **** ********** */

.team-specialists {
    width: 100%;
    max-width: 100%;
    position: relative; /* Create positioning context */
    overflow-y: visible;
    overflow-x: visible; /* Clip left side */
    /* Clip only left side - allow right overflow using clip-path */
    clip-path: inset(0 -100vw 0 0); /* Clip left at 0, allow infinite right extension */
}

.team-specialists .slick-slider {
    width: 100%;
    max-width: 100%;
    overflow: visible; /* Allow slider to extend beyond container on right */
    position: relative;
    /* Ensure left edge starts at container edge */
    left: 0;
}

/* Override services__slider overflow for team-specialists */
.team-specialists .services__slider.team-specialists__carousel {
    overflow: visible !important; /* Override services__slider overflow: hidden */
}

.team-specialists .slick-slider .slick-list {
    width: 100vw;
    overflow-x: visible !important; /* Allow cards to overflow and slide - override inline styles */
    overflow-y: visible !important;
    max-width: none; /* Allow viewport width but parent constrains overflow */
    /* Ensure left side starts at edge, right side can overflow */
    padding-left: 0; /* No left padding - start at first slide */
    margin-left: 0;
    /* Position to allow right overflow */
    position: relative;
    left: 0;
    /* Clip only left side - use a wrapper approach with mask */
    /* The parent .team-specialists will handle left clipping */
}

/* Prevent overflow hidden from being set during dragging */
.team-specialists .slick-list.dragging {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

.team-specialists .services__slide-bio,
.doctor .services__slide-bio {
    font: 400 16px/1.3 var(--global-font);
    color: var(--light-color);
    margin: 8px 0 0;
}

@media (max-width: 767px) {
    .team-specialists .slick-slider .slick-list {
        width: 100%;
    }

    .team-specialists .services__slide-bio,
    .doctor .services__slide-bio {
        font-size: 16px;
    }
}

/* ****************************** */
/* *********** Mega Menu ******** */
/* ****************************** */
.mega-menu-wrap {
    position: relative;
}

.mega-menu {
    display: none;
    position: absolute;
    top: calc(100% + 17px);
    right: 0;
    width: clamp(320px, 90.5vw, 1370px);
    max-width: 1000px;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    border-radius: 22px;
    overflow: hidden;
}

.mega-menu__main {
    padding: 30px 20px 30px 30px;
}

.mega-menu__main > ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    font: 700 18px/1.3 var(--primary-font);
    margin: 0 0 10px;
    color: var(--primary-color);
    transition: 0.3s;
    cursor: pointer;
    position: relative;
}

.mega-menu__main > ul li a:hover,
.mega-menu__main > ul li.active-menu > a {
    color: var(--secondary-color);
}

.mega-menu__main > ul .mega-menu__sub__col li a {
    font-family: var(--global-font);
}

.mega-menu__main > ul > li[data-submenu] > a::after {
    display: none;
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    right: 10px;
    border: 1px solid;
    border-color: transparent transparent #093854 #093854;
    transition: 0.3s;
}

.mega-menu__main > ul > li.active-menu[data-submenu] > a::after {
    transform: translateY(-50%) rotate(135deg);
}

.mega-menu__main > ul li span {
    width: 44px;
}

.mega-menu__langulages__label {
    font: 700 16px/1.2 var(--primary-font);
    margin: 0 0 16px;
    color: var(--primary-color);
}

.mega-menu__langulages > ul {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mega-menu__langulages > ul a {
    display: inline-block;
    height: 34px;
    width: 34px;
    border-radius: 50%;
}

.mega-menu__sub {
    flex: 1;
    background-color: #f8f8f8;
}

.mega-menu__sub__inner {
    display: none;
    flex-direction: column;
    height: 100%;
}

.mega-menu__sub__row {
    padding: 0 40px;
    gap: 40px;
    flex: 1;
    transition: 0.3s;
    display: flex;
}

.mega-menu__sub__inner.active-content {
    display: flex;
}

.mega-menu__sub__col {
    position: relative;
    flex: 1;
    max-width: 50%;
    padding: 40px 0;
}

.mega-menu__sub__col:not(:last-child)::after {
    content: "";
    height: 100%;
    width: 1px;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #0938541a;
}

.mega-menu__sub__col > h3 {
    font: 700 20px/1.2 var(--primary-font);
    color: var(--primary-color);
    margin: 0 0 24px;
}

.mega-menu__sub__col > ul a {
    font: 500 16px/1.3 var(--global-font);
    color: var(--primary-color);
    margin: 0 0 20px;
    display: inline-block;
    transition: 0.3s;
}

.mega-menu__sub__col > ul a:hover {
    color: var(--secondary-color);
}

.mega-menu__sub__col > ul li:last-child a {
    margin-bottom: 0;
}

.mega-menu__sub__footer {
    border-top: 1px solid #0938541a;
    padding: 30px 40px;
    gap: 20px;
}

.mega-menu__main .mega-menu__sub__footer {
    display: none;
}

.mega-menu__sub__block {
    padding: 10px;
    background-color: #cfd6de;
    border-radius: 20px;
    gap: 18px;
    flex: 1;
    max-width: 50%;
    position: relative;
}

.mega-menu__sub__block-link-overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}

.mega-menu__sub__block-icon {
    width: 56px;
    height: 56px;
    border-radius: 15px;
    overflow: hidden;
    align-self: flex-start;
    padding: 13px;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
}

.mega-menu__sub__block-icon img {
    width: 100%;
}

.mega-menu__sub__block-text {
    flex: 1;
}

.mega-menu__sub__block-title {
    font: 700 16px/1.2 var(--primary-font);
    color: var(--primary-color);
    margin: 0 0 5px;
}

.mega-menu__sub__block-link {
    font: 500 16px/1.3 var(--global-font) !important;
    color: var(--primary-color);
    display: inline-block;
}

.mega-menu__sub__block-link:hover {
    color: var(--secondary-color);
}

.mega-menu__sub__block-link .icon {
    margin-left: 8px;
    transition: 0.3s;
}

.mega-menu__sub__block-link:hover .icon {
    margin-left: 12px;
}

.mega-menu__sub__block-link:hover path {
    stroke: var(--secondary-color);
}

@media (max-width: 991px) {
    .mega-menu {
        flex-direction: column;
    }

    .mega-menu {
        top: calc(100% + 16px);
        height: calc(100vh - 100px);
        right: -0;
        overflow-y: auto;
        scrollbar-width: thin;
    }

    .mega-menu__main > ul {
        flex-wrap: wrap;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 20px;
    }

    .mega-menu__main > ul li a {
        margin-bottom: 0;
    }

    .mega-menu__sub__row {
        padding: 0 24px;
        gap: 24px;
    }

    .mega-menu__sub__col {
        padding: 24px 0;
    }

    .mega-menu__main,
    .mega-menu__sub__footer {
        padding: 24px;
    }

    .mega-menu__sub__col:not(:last-child)::after {
        right: -12px;
    }
}

@media (max-width: 767px) {
    .mega-menu {
        top: calc(100% + 12px);
    }

    .mega-menu {
        width: calc(100vw - var(--scrollbar-width));
        border-radius: 0;
    }

    .mega-menu__main > ul li a {
        font-size: 18px;
    }

    .mega-menu__sub__footer {
        padding-left: 0;
        padding-right: 0;
    }

    .mega-menu__main .submenu-content .mega-menu__sub__footer {
        display: none;
    }

    .mega-menu__main .mega-menu__sub__footer {
        display: flex;
    }

    .mega-menu__main > ul {
        grid-template-columns: 1fr;
        gap: 15px;
        display: block;
    }

    .mega-menu__main > ul li {
        margin-bottom: 10px;
    }

    .mega-menu__sub__inner {
        display: none;
        margin-top: 10px;
        padding-left: 20px;
    }

    .mega-menu__sub {
        display: none;
    }

    .mega-menu__sub__row {
        flex-direction: column;
        gap: 0;
    }

    .mega-menu__sub__col > h3 {
        font-size: 18px;
    }

    .mega-menu__main > ul li .mega-menu__sub__col > ul a {
        font-size: 14px !important;
        color: var(--primary-color);
    }

    .mega-menu__main > ul li .mega-menu__sub__col > ul a:hover {
        color: var(--secondary-color);
    }

    .mega-menu__main > ul > li[data-submenu] > a::after {
        display: block;
    }

    .mega-menu__sub__block,
    .mega-menu__sub__col {
        width: 100%;
        max-width: 100%;
    }

    .mega-menu__main > ul li.active-menu > a {
        font-weight: bold;
    }

    .mega-menu__sub__footer {
        flex-direction: column;
    }

    .mega-menu__sub__col:not(:last-child)::after {
        display: none;
        padding: 0;
    }
}

@media (max-width: 575px) {
    .mega-menu__main > ul {
        margin-bottom: 0;
    }
    .mega-menu__main > ul li span {
        width: 45px;
    }

    .mega-menu__main > ul > li:not(:last-child) {
        border-bottom: 1px solid #0938541a;
    }

    .mega-menu__main > ul > li > a {
        padding: 15px 0;
    }

    /* .mega-menu__main > ul li span {
        display: none;
    } */

    .mega-menu__sub__row {
        padding: 0 15px;
    }

    .mega-menu__sub__col > h3 {
        margin-bottom: 15px;
    }

    .mega-menu__sub__col {
        padding: 10px 0;
    }
}

/*  ************************************* */
/*  ******** Testimolials cards ********* */
/*  ************************************* */
.testimonial-cards {
    background: linear-gradient(#fbfaf3 0%, #f0f2f5 100%);
}

.testimonial-cards__header {
    text-align: center;
}

.testimonial-cards__title {
    max-width: 680px;
    font: 400 54px/1.2 var(--primary-font);
    color: var(--primary-color);
    margin: 0 auto 40px;
}

.testimonial-card {
    width: 464px;
}

.testimonial-card__inner {
    padding: 24px 28px;
    background-color: var(--light-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card__author {
    gap: 14px;
    margin: 0 0 21px;
}

.testimonial-card__author__photo {
    height: 63px;
    width: 63px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-card__author__photo img {
    width: 100%;
    object-fit: cover;
}

.testimonial-card__author__text {
    flex: 1;
}

.testimonial-card__author__text .testimonial-card__author__name {
    /* font: 700 20px/1.7 var(--global-font); */
    font-size: 16px;
    font-weight: 700;
    font-family: var(--global-font);
    color: var(--primary-color);
    margin: 0 0 6px;
}

.testimonial-card__author__text .testimonial__date {
    font: 500 14px/1.3 var(--global-font);
    color: var(--primary-color);
    margin: 0;
}

.testimonial-card__rating {
    gap: 4px;
}

.testimonial-card__rating-wrap {
    margin-bottom: 26px;
}

.testimonial-card__para {
    font: 500 14px/1.7 var(--global-font);
    color: var(--primary-color);
    margin: 0 0 24px;
}

.testimonial-card__source {
    gap: 13px;
    margin-top: auto;
}

.testimonial-card__source-logo {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-card__source-logo img {
    width: 100%;
}

.testimonial-card__source-text {
    flex: 1;
}

.testimonial-card__source-label,
.testimonial-card__source-site {
    font: 500 14px/1.2 var(--global-font);
    color: var(--primary-color);
    opacity: 0.6;
    margin: 0 0 3px;
}

.testimonial-card__source-site {
    opacity: 1;
}

@media (max-width: 767px) {
    .testimonial-cards__title {
        font-size: 44px;
    }

    .testimonial-card__author__photo {
        width: 55px;
        height: 55px;
    }

    .testimonial-card__inner {
        padding: 15px;
    }
}

@media (max-width: 767px) {
    .testimonial-cards__title {
        font-size: 38px;
    }

    .testimonial-card__author__text .testimonial-card__author__name {
        font-size: 17px;
    }

    .testimonial-card__author__text .testimonial__date,
    .testimonial-card__para,
    .testimonial-card__source-label,
    .testimonial-card__source-site {
        font-size: 13px;
    }

    .testimonial-card__source-logo {
        height: 34px;
        width: 34px;
    }
}

@media (max-width: 767px) {
    .testimonial-cards__title {
        font-size: 32px;
    }
}

/* ************************************* */
/* ************* Blog cards ************ */
/* ************************************* */
.blog-cards {
    position: relative;
}

.blog-card__inner {
    background-color: var(--light-color);
    max-width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card__thumb {
    aspect-ratio: 1.47/1;
    overflow: hidden;
    width: 100%;
    display: block;
    transition: 0.3s;
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.blog-card:hover .blog-card__thumb img {
    scale: 1.05;
}

.blog-card__content {
    flex-direction: column;
    padding: 21px;
    gap: 22px;
    flex: 1;
}

/* .blog-card__content__bottom {
    margin-top: auto;
  } */

.blog-card__date {
    font: 600 14px/1.3 var(--global-font);
    color: var(--dark-color);
    margin: 0 0 16px;
    position: relative;
    padding-left: 16px;
}

.blog-card__date.ln-flex {
    padding-left: 0;
    gap: 8px;
}



.blog-card__title {
    font: 700 16px/1.3 var(--primary-font);
    margin: 0 0 12px;
    color: var(--primary-color);
}

body .blog-card__title a {
    font: inherit;
    color: inherit;
    text-decoration: none;
}

.blog-card__title a:hover {
    color: var(--secondary-color);
}

.blog-card__para {
    font: 500 16px/1.6 var(--global-font);
    color: var(--primary-color);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

body div .blog-card__link {
    font: 700 16px/1.3 var(--global-font);
    color: var(--secondary-color);
    text-decoration: none;
}

.blog-card__link:hover {
    text-decoration: underline;
}

.blog-card__link .icon {
    margin-left: 6px;
    transition: 0.3s;
}

.blog-card__link:hover .icon {
    margin-left: 10px;
}

@media (max-width: 767px) {
    .blog-card__content {
        padding: 16px;
        gap: 20px;
    }

    .blog-card__title {
        font-size: 15px;
    }

    .blog-card__date,
    .blog-card__para,
    .blog-card__link,
    body div .blog-card__link {
        font-size: 14px;
    }
}

/* *********************************** */
/* ******** Featured Products ******** */
/* *********************************** */
.fetured-products {
    padding: 0;
    position: relative;
}

.fetured-products__slide {
    position: relative;
    width: 100vw;
    padding: 0;
}

.fetured-products__slide__bg {
    width: 100%;
    overflow: hidden;
}

.fetured-products__slide__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 0.38;
}

.fetured-products__slide-content-wrap {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(320px, 95%, 1262px);
}

.services__nav-wrap {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(320px, 95%, 1400px);
}

.fetured-products__slide-content {
    width: 620px;
    position: absolute;
    top: 80px;
    left: 15px;
    background-color: var(--light-color);
    padding: 40px;
}

section .fetured-products__slide__label {
    margin-left: 0;
}

.fetured-products__slide__title {
    font: 400 43px/1.2 var(--primary-font);
    color: var(--primary-color);
    margin: 0 auto 18px;
}

.fetured-products__slide__discount {
    font: 700 27px/1.2 var(--primary-font);
    color: var(--secondary-color);
    margin: 0 0 36px;
}

.fetured-products__slide__discount span {
    font-size: 14px;
    font-weight: 500;
    font-family: var(--global-font);
    color: var(--primary-color);
}

.fetured-products__slide__link {
    width: max-content;
}

.fetured-products .services__nav {
    position: relative;
    max-width: 1262px;
    padding: 0 15px;
    margin: 0 auto;
}

.fetured-products .services__nav .services__nav__inner {
    position: absolute;
    width: 470px;
    bottom: 40px;
    right: 15px;
    display: flex;
    gap: 12px;
}

.fetured-products .services__arrow {
    background-color: var(--light-color);
}

.fetured-products .services__arrow path {
    stroke: var(--primary-color);
}

.fetured-products .services__arrow:hover {
    background-color: var(--secondary-color);
}

.fetured-products .services__arrow:hover path {
    stroke: var(--light-color);
}

.fetured-products .services__counter {
    color: var(--light-color);
}

.fetured-products .services__progress-bar {
    background-color: var(--light-color);
}

.fetured-products .services__progress {
    background-color: #ffffff2d;
}

.fetured-products__slider {
    margin: 0;
}

@media (max-width: 1266px) {
    .fetured-products__slide-content {
        width: calc(100% - 30px);
        top: 40px;
        padding: 24px;
    }
}

@media (max-width: 1023px) {
    .fetured-products__slide__title {
        font-size: 38px;
    }

    .fetured-products__slide__bg {
        height: 550px;
    }

    .fetured-products .slick-initialized .slick-slide {
        width: 100vw;
    }

    .fetured-products__slide__discount {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .fetured-products__slide__title {
        font-size: 32px;
    }

    .fetured-products__slide__bg {
        height: 500px;
    }
}

@media (max-width: 767px) {
    .fetured-products__slide__title {
        font-size: 28px;
    }

    .fetured-products__slide__discount {
        font-size: 21px;
        margin-bottom: 20px;
    }

    .fetured-products__slide__bg {
        height: 450px;
    }

    .fetured-products__slide__link {
        padding: 8px 15px;
    }
}

@media (max-width: 575px) {
    .fetured-products__slide__title {
        font-size: 27px;
    }

    .fetured-products__slide-content-wrap,
    .services__nav-wrap {
        width: 100%;
    }

    .fetured-products__slide__discount {
        font-size: 18px;
    }

    .fetured-products .services__nav {
        width: calc(100% - 30px);
    }
}

/* ************* ******* ************* */
/* *************** FAQs ************** */
/* ************* ******* ************* */
.faqs {
    padding: 120px 0;
}

.faqs__content:not(.faqs__alt-content) {
    padding-top: 10px;
}

section .section-title {
    font: 400 54px/1.2 var(--primary-font);
    color: var(--primary-color);
    margin: 0 auto 40px;
    text-align: center;
}

.faqs__title {
    max-width: 835px;
}

.faq:not(:last-child) {
    border-bottom: 1px dashed var(--primary-color);
}

.faq-alt {
    border-bottom: 1px solid var(--primary-color);
    margin-bottom: 27px;
}

.faq-alt:last-child {
    margin-bottom: 0;
    border: none;
}

.faq__header {
    padding: 27px 0;
    gap: 20px;
}

.faq-alt .faq__header {
    padding: 18px 0 18px 18px;
}

.faq__trigger {
    cursor: pointer;
}

.faq__title {
    font: 400 21px/1.3 var(--primary-font);
    color: var(--primary-color);
    margin: 0;
    flex: 1;
}

.faq__title .icon {
    height: 30px;
    width: 30px;
    display: inline-block;
    margin-right: 8px;
}

.faq__title .icon img {
    width: 100%;
    height: 100%;
}

.faq__icon {
    width: 32px;
    height: 32px;
    display: inline-block;
    position: relative;
    background-color: transparent;
    transition: 0.3s;
}

.faq--active .faq__icon {
    padding: 15px 10px;
    height: 32px;
    width: 32px;
    background-color: var(--primary-color);
}

.faq-alt .faq__icon {
    border-radius: 50% !important;
    background-color: var(--primary-color);
}

.faq__icon::before,
.faq__icon::after {
    content: "";
    height: 1px;
    width: 12px;
    background-color: var(--primary-color);
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
}

.faq-alt .faq__icon::before,
.faq-alt .faq__icon::after {
    background-color: var(--light-color);
}

.faq--active .faq__icon::before {
    background-color: var(--light-color);
}

.faq__icon::after {
    height: 12px;
    width: 1px;
}

.faq--active .faq__icon::after {
    display: none;
}

/* .faq--active .faq__body {
  display: block !important;
} */

.faq.faq-alt:first-child .faq__body {
    display: block;
}

.faq__body {
    padding-bottom: 27px;
    display: none;
    margin-top: -15px;
}

.shop .faq__body {
    padding-bottom: 0;
}

.faq-alt .faq__body {
    padding-bottom: 12px;
    margin: 0;
}

.faq__thumb {
    margin: 0 0 10px !important;
    position: relative;
    z-index: 1;
}

.faq__thumb-link {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: 100%;
    width: 100%;
    z-index: 9;
}

.faq__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right;
}

.faq__thumb-info {
    position: absolute;
    left: 40px;
    bottom: 24px;
    gap: 14px;
}

.faq__thumb-info .play-video {
    position: relative;
    z-index: 1;
}

@media (max-width: 1023px) {
    section .section-title {
        font-size: 48px;
    }
}

@media (max-width: 991px) {
    section .section-title {
        font-size: 42px;
    }
}

@media (max-width: 767px) {
    .faq__body {
        margin-top: 0;
    }

    section .section-title {
        font-size: 36px;
    }

    .faq__title {
        font-size: 20px;
    }

    .faq__header {
        padding: 15px 0;
    }

    .faq__icon {
        width: 28px;
        height: 28px;
    }

    .faq__dsc {
        font-size: 13px;
    }

    .faq__thumb {
        height: 300px;
    }
}

@media (max-width: 767px) {
    section .section-title {
        font-size: 32px;
    }
}

/* **************** Play Icon ****************** */

.play-video__wave {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
}

.play-video__wave div:nth-child(1) {
    --opacity: 0.4;
    width: 70px;
    height: 70px;
    --delay: 0s;
}

.play-video__wave div:nth-child(2) {
    --opacity: 0.3;
    width: 85px;
    height: 85px;
    --delay: 0.4s;
}

.play-video__wave div:nth-child(3) {
    --opacity: 0.2;
    width: 100px;
    height: 100px;
    --delay: 0.8s;
}

.play-video__wave > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--secondary-color);
    background-color: #e2222b98;
    animation: play-wave 4000ms calc(400ms + var(--delay, 0s)) infinite
        backwards;
}

@keyframes play-wave {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    40%,
    50% {
        opacity: var(--opacity);
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
    }
}

.faq__thumb-info__label {
    font: 400 21px/1.2 var(--primary-font);
    color: var(--light-color);
    margin: 0 0 5px;
}

.faq__thumb-info__duration {
    font: 600 16px/1.3 var(--global-font);
    color: var(--light-color);
    margin: 0 0 12px;
}

.faq__dsc {
    font: 500 14px/1.7 var(--global-font);
    color: var(--primary-color);
    margin: 0;
}

.faq__dsc p {
    margin: 0 0 10px;
}

.faq__dsc p:last-child {
    margin-bottom: 0;
}

.faq__dsc ul,
.faq__dsc ol {
    margin: 0 0 10px !important;
    padding-left: 25px !important;
    list-style-position: outside;
}

.faq__dsc ul {
    list-style-type: disc !important;
    list-style: disc !important;
}

.faq__dsc ol {
    list-style-type: decimal !important;
    list-style: decimal !important;
}

.faq__dsc li {
    margin-bottom: 5px;
    padding-left: 5px !important;
    margin-left: 0 !important;
    list-style: inherit !important;
    display: list-item !important;
    font: 500 14px/1.7 var(--global-font);
    color: var(--primary-color);
}

.faq__dsc ul ul {
    list-style-type: circle !important;
    list-style: circle !important;
    margin-top: 5px;
}

.faq__dsc ul ul ul {
    list-style-type: square !important;
    list-style: square !important;
}

.faq__dsc a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.faq__dsc a:hover {
    color: var(--primary-color);
}

.faq__dsc strong,
.faq__dsc b {
    font-weight: 700;
}

.faq__dsc em,
.faq__dsc i {
    font-style: italic;
}

/* Video Popup */
.video-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 60px 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-popup__inner {
    position: relative;
    height: max-content;
    width: clamp(320px, 95%, 1400px);
}

[type="button"].video-popup__close {
    margin-left: auto;
    display: block;
    border: none;
    background-color: transparent;
    cursor: pointer;
    margin-bottom: 10px;
    position: absolute;
    top: -15px;
    right: 10px;
}

[type="button"].video-popup__close svg {
    pointer-events: none;
}

[type="button"].video-popup__close rect,
[type="button"].video-popup__close path {
    transition: 0.3s;
}

[type="button"].video-popup__close:hover {
    background-color: transparent !important;
}

[type="button"].video-popup__close:hover rect,
[type="button"].video-popup__close:hover path {
    stroke: var(--secondary-color);
}

.video-player {
    width: 100%;
    border-radius: 20px;
    border: 2px solid #ffffff8c;
}

/* **************************** */
/* ********* Video Area ******* */
/* **************************** */
.video-area {
    position: relative;
    z-index: 1;
    /* height: 100vh;
      width: 100vw; */
}

.play-video__trigger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* *********************************** */
/* ********** Blog Details *********** */
/* *********************************** */
.blog-details {
    padding: 40px 0 80px;
}

.blog-details > .ln-flex {
    gap: 24px;
    align-items: flex-start;
}

.blog-details__main,
.blog-details__aside {
    position: sticky;
    top: 20px;
}

.blog-details__main {
    flex: 1;
}

.blog-details__aside {
    width: 346px;
}

.blog-details__back-link {
    font: 600 16px/1.3 var(--global-font);
    color: var(--primary-color);
    display: inline-block;
    transition: 0.3s;
    margin-bottom: 24px;
}

.blog-details__back-link:hover {
    color: var(--secondary-color);
}

.blog-details__back-link .icon {
    margin-right: 5px;
}

.blog-details__back-link:hover .icon path {
    stroke: var(--secondary-color);
}

section .blog-details__title {
    /* font: 400 54px/1.2 var(--primary-font);
    color: var(--primary-color);*/
    margin: 24px 0 28px;
    text-align: start;
}

.blog-details__author {
    padding: 20px 28px;
    background-color: #fbfaf3;
}

.blog-details__label {
    font: 500 16px/1.3 var(--global-font);
    color: var(--primary-color);
    padding: 0 0 10px;
    margin: 0 0 16px;
    border-bottom: 1px solid #cfd6de;
}

.blog-details__label .icon {
    margin-right: 5px;
}

.blog-details__author__bio {
    padding: 0 0 16px;
    margin: 0 0 16px;
    border-bottom: 1px solid #cfd6de;
    gap: 10px;
}

.blog-details__author__photo {
    margin: 0;
    height: 52px;
    width: 52px;
    border-radius: 50%;
    overflow: hidden;
}

.blog-details__author__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-details__author__photo + div {
    flex: 1;
}

.blog-details .blog-details__author__name {
    font: 700 20px/1.2 var(--primary-font);
    color: var(--dark-color);
    margin: 0 0 6px;
}

.blog-details__author__status {
    font: 500 16px/1.5 var(--global-font);
    color: var(--dark-color);
    opacity: 0.4;
    margin: 0;
}

.blog-details__info {
    padding: 0 0 16px;
    margin: 0 0 16px;
    border-bottom: 1px solid #cfd6de;
}

.blog-details__info p {
    font: 500 16px/1.3 var(--global-font);
    color: var(--dark-color);
    margin: 0 0 12px;
    gap: 10px;
}

.blog-details__info p:last-child {
    margin-bottom: 0;
}

.blog-details__info__label {
    opacity: 0.4;
}

.blog-details__info__text svg {
    margin-right: 4px;
}

.blog-details__author__share-btn {
    font: 700 18px/1.2 var(--global-font);
    color: var(--primary-color);
    padding: 9px 20px;
    border: 1px solid var(--primary-color);
    display: block;
    text-align: center;
}

.blog-details__author__share-btn .icon {
    margin-left: 5px;
}

.blog-details__author__share-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.blog-details__author__share-btn:hover .icon path {
    fill: var(--light-color);
}

@media (max-width: 1080px) {
    .blog-details__title {
        font-size: 40px;
    }

    .blog-details__aside {
        width: 290px;
    }

    .blog-details__author {
        padding: 15px;
    }

    .blog-details__label,
    .blog-details__author__status,
    .blog-details__info p {
        font-size: 15px;
    }

    .blog-details .blog-details__author__name {
        font-size: 17px;
    }
}

@media (max-width: 991px) {
    .blog-details > .ln-flex {
        flex-direction: column;
    }

    .blog-details__main,
    .blog-details__aside {
        position: static;
    }

    .blog-details__aside {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .blog-details {
        padding: 40px 0;
    }

    .single-product .blog-details {
        padding-top: 20px;
    }

    .blog-details__title {
        margin: 20px 0;
    }
}

/* *********************************** */
/* ************ Doctors ************** */
/* *********************************** */
.doctors {
    padding: 120px 0;
}
.doctor {
    max-width: 300px;
    min-width: 300px;
}

.doctors__inner {
    margin: 0 -11px;
    display: flex;
    row-gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}


@media (max-width: 1080px) {
    .doctors .services__slide-title {
        font-size: 20px;
    }

    .doctors .services__slide-bio {
        font-size: 15px;
    }
}



/* ************* ******* ************* */
/* *********** Shop style*s ********** */
/* ************* ******* ************* */
.shop__inner.ln-flex {
    gap: 21px;
}

.shop__title {
    font: 400 48px/1.2 var(--primary-font);
    color: var(--primary-color);
    margin: 0 0 30px;
}

.shop__filter {
    gap: 20px;
    flex-wrap: wrap;
    width: 390px;
}

.shop__filter-topbar {
    display: none;
    padding: 16px;
}

.shop__filter-title {
    font: 600 24px/1.2 var(--primary-font);
    color: var(--primary-color);
    margin: 0;
}

.shop__filter-topbar .ln-flex {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 0;
}

.ln-flex .filter-close {
    border: none;
    cursor: pointer;
    background-color: transparent;
    padding: 0;
}

.ln-flex .filter-close:hover {
    background-color: transparent !important;
}

.action_btns .filter-close:hover {
    background-color: var(--primary-color) !important;
}

.shop__filter__btns {
    gap: 10px;
    flex-wrap: wrap;
}

.filter__header {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.filter__header .filter__close {
    display: none;
    cursor: pointer;
    padding: 0;
    border: none;
    background-color: transparent;
}

.filter__header__title {
    font: 400 27px/1.2 var(--primary-font);
    color: var(--primary-color);
    margin: 0;
}

.filter__header__title span {
    display: none;
}

.filter__clear-btn {
    padding: 10px 20px;
    border: 1px solid #e2222b;
    border-radius: 100px;
    background-color: transparent;
    color: #e2222b;
    font: 700 16px/1.2 var(--global-font);
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    outline: none;
}

.filter__clear-btn:focus {
    background-color: transparent;
    border-color: #e2222b;
    color: #e2222b;
    outline: 2px solid rgba(226, 34, 43, 0.3);
    outline-offset: 2px;
}

.filter__clear-btn:hover {
    background-color: #e2222b;
    color: white;
    border-color: #e2222b;
}

.filter__clear-btn:hover svg path {
    stroke: white;
}

.disable {
    opacity: 0.4;
    pointer-events: none;
}

.shop .shop__filter__label svg {
    margin-right: 5px;
    display: none;
}

.shop .shop__filter__label,
.shop .shop__filter__btn {
    font: 400 23px/1.3 var(--primary-font);
    margin: 0;
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
}

.shop__filter__btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 100px !important;
    background-color: #f8f8f8;
    transition: 0.3s;
}

.shop__filter__btn:hover,
.shop__filter__btn.active {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.shop__filter__search {
    /* border-radius: 100px; */
    border: 1px solid var(--primary-color);
    overflow: hidden;
    flex: 1;
}

.shop .shop__filter__search input {
    font: 500 16px/1.3 var(--global-font);
    color: var(--primary-color);
    padding: 12px 24px;
    border: none;
    background-color: transparent;
    outline: none;
}

.shop .shop__filter__submit {
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    background-color: var(--primary-color);
    border-radius: 0;
}

.shop__filter-content {
    flex: 1;
}

.shop__filter-traigger-wrap {
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 20px;
}

.shop__filter__mobile-actions {
    display: none;
}

.shop__filter__search--outside {
    display: flex;
}

.filter__clear-btn--outside {
    display: none;
}

.shop__filter__mobile-actions {
    display: none;
}

.filter-trigger {
    cursor: pointer;
    border: none;
    padding: 0;
    background-color: transparent;
    color: var(--primary-color);
    font: 500 18px/1.2 var(--global-font);
    display: none;
}

.filter-trigger svg {
    margin-right: 6px;
}

.filter-trigger:focus,
.filter-trigger:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
}

.shop__filter-content__heading {
    margin-bottom: 30px;
}

.shop__sort__select {
    padding: 11px 16px;
    background-color: #f8f8f8;
    /* width: 123px; */
    font: 400 16px/1.2 var(--primary-color);
    border: none;
    appearance: none;
    padding-right: 45px;
}

@media (max-width: 575px) {
    .shop__sort__select {
        font-size: 13px !important;
    }
}

.shop__sort__select:focus-visible {
    outline: none;
}

.shop__products--loader {
    display: none;
    animation: spin 1s steps(8) infinite;
    width: max-content;
    margin: 100px auto 0;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.shop__products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.shop__product--empty {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}
.shop__product--empty .filter__clear-btn{
    display: block!important;
}
.shop__product--empty p {
    margin: 24px 0 0;
    font: 400 23px/1.2 var(--primary-font);
}

.shop .shop__products {
    grid-template-columns: repeat(2, 1fr);
}

.shop__product {
    display: flex;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    background-color: #f8f8f8;
    flex-direction: column;
}

.shop__product-rating {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ffeab8;
    padding: 7px 10px;
    font: 500 16px/1.2 var(--global-font);
    color: var(--primary-color);
}

.shop__product-rating .shop__product-icon {
    line-height: 0;
    vertical-align: text-top;
    margin-right: 5px;
}

.shop__product-sale {
    position: absolute;
    top: 10px;
    right: 10px;
    font: 500 18px/1.2 var(--global-font);
    background-color: #e2222b;
    color: white;
    padding: 7px 12px;
}

.shop__product-image {
    display: block;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

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

.shop__product-content {
    flex: 1;
    padding: 24px 20px;
    flex-direction: column;
}

.shop__product-title {
    font: 600 20px/1.3 var(--primary-font);
    color: var(--primary-color);
    margin: 0 0 4px;
}

.shop__product-title a {
    display: inline-block;
    font: inherit;
    color: inherit;
}

.shop__product-title a:hover {
    color: var(--secondary-color);
}

.shop__product-description {
    font: 500 16px/1.7 var(--global-font);
    color: var(--dark-color);
    opacity: 0.7;
    overflow: hidden;
    text-overflow: ellipsis;
    /* white-space: nowrap; */
    margin: 0 0 18px;
}

.shop__product-price {
    font: 500 16px/1.3 var(--global-font);
    color: var(--primary-color);
    margin: 0 0 5px;
    transition: 0.3s;
}

.shop__product-price__starting-from {
    margin-right: 4px;
}

.shop__product-price__current {
    font: 600 22px/1.3 var(--global-font);
    color: var(--secondary-color);
    margin-top: 5px;
    display: inline-block;
}

.shop__product-price__original {
    text-decoration: line-through;
    color: var(--dark-color);
    opacity: 0.4;
    margin-left: 8px;
}



.shop__product-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    transform: scaleY(0);
    margin-top: -35px;
    overflow: hidden;
    transition: 0.3s;
    /* flex-wrap: wrap; */
    transform-origin: top;
}

.shop__product:hover .shop__product-actions {
    transform: scaleY(1);

    z-index: 9;
    position: relative;
}

.shop__product:hover .shop__product-price {
    opacity: 0;
    z-index: -1;
    position: relative;
}

.shop__product-btn--add-to-cart,
.shop__product-btn--view-details {
    border: none;
    flex: 1;
    white-space: nowrap;
}

@media (max-width: 1080px) {
    .shop__products {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .shop__title {
        font-size: 38px;
        margin: 0 0 20px;
    }

    .shop .shop__filter__btn,
    .shop .shop__filter__label span {
        display: none;
    }

    .shop .shop__filter__label svg {
        display: inline-block;
    }

    .shop__filter {
        width: 280px;
    }
}

@media (max-width: 767px) {
    .shop__title {
        font-size: 28px;
        margin: 0 0 20px;
        line-height: 1.2;
    }

    .shop .shop__products {
        min-height: 125px;
        gap: 20px;
    }

    .shop__product--empty {
        top: 0;
    }

    .shop__filter-topbar,
    .filter-trigger {
        display: block;
    }

    .shop__filter__search {
        flex: none;
    }

    /* Stack filter controls in column on mobile */
    .shop__filter-traigger-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 12px;
    }

    /* Style filter trigger button */
    .filter-trigger {
        width: 100%;
        padding: 12px 24px;
        border-radius: 0;
        background-color: transparent;
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
        font: 500 18px/1.2 var(--global-font);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .filter-trigger:hover,
    .filter-trigger:active {
        background-color: transparent;
        color: var(--primary-color);
    }

    .filter-trigger svg {
        flex-shrink: 0;
        margin-left: 6px;
        margin-right: 0;
    }

    /* Show outside versions on mobile - restore original styling */
    .shop__filter__search--outside {
        display: flex !important;
        width: 100%;
        margin: 0;
        gap: 0;
        border-radius: 0;
        overflow: hidden;
        background-color: transparent;
        border: 1px solid var(--primary-color);
        flex: 1;
    }

    .shop__filter__search--outside input {
        flex: 1;
        width: 100%;
        padding: 12px 24px;
        border: none;
        background: transparent;
        font: 500 16px/1.3 var(--global-font);
        color: var(--primary-color);
        outline: none;
    }

    .shop__filter__search--outside input::placeholder {
        color: var(--primary-color);
        opacity: 0.6;
    }

    .shop__filter__search--outside .shop__filter__submit {
        padding: 10px 18px;
        border: none;
        background-color: var(--primary-color);
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease;
        flex-shrink: 0;
        border-radius: 0;
    }

    .shop__filter__search--outside .shop__filter__submit:hover {
        background-color: var(--secondary-color);
    }

    .shop__filter__mobile-actions {
        display: block;
        width: 100%;
        margin: 0;
    }

    .filter__clear-btn--outside {
        display: flex !important;
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 14px 20px;
        border-radius: 100px;
        font: 600 16px/1.2 var(--global-font);
        transition: all 0.3s ease;
    }

    .filter__clear-btn--outside:hover,
    .filter__clear-btn--outside:active {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(226, 34, 43, 0.2);
    }

    /* Hide inside versions on mobile (they're still in the menu) */
    .shop__filter__search--inside {
        display: none;
    }

    .filter__clear-btn--inside {
        display: none;
    }

    .filter__header {
        padding: 0 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .filter__header__title {
        display: none;
    }

    .filter__header .action_btns {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .filter__header .filter__clear-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .shop__inner.ln-flex {
        flex-direction: column;
        gap: 0;
    }

    .filter-wrap.mobile-view {
        position: fixed;
        top: 0;
        z-index: 9999;
        width: 320px;
        background: #fff;
        box-shadow: 0 2px 15px 0 #00000030;
        height: 100vh;
        left: -330px;
        transition: left 0.3s ease;
        touch-action: pan-y;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .shop .filter__clear-btn.submit_form {
        display: none;
    }

    .shop__filter {
        width: 100%;
    }

    .filter-wrap.mobile-view.active {
        left: 0;
    }

    .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .filter-overlay.active {
        display: block;
        opacity: 1;
    }

    .shop__products,
    .shop .shop__products {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .shop__product {
        border-radius: 8px;
        overflow: hidden;
        flex-direction: row !important;
        align-items: stretch;
        max-height: 130px;
        min-height: 180px;
        position: relative;
    }

    .shop__product-image {
        width: 130px;
        min-width: 130px;
        height: 130px;
        flex-shrink: 0;
        overflow: hidden;
    }

    .shop__product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .shop__product-content {
        flex: 1;
        padding: 16px 16px 50px 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: hidden;
        position: relative;
    }

    .shop__product-title {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 6px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
    }

    .shop__product-description {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 8px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        flex-shrink: 0;
    }

    .shop__product-info--bottom {
        margin-top: auto;
    }

    .shop__product-price {
        font-size: 12px;
        margin-bottom: 6px;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 1 !important;
        position: relative !important;
        line-height: 1.2;
    }

    .shop__product-price__current {
        font-size: 20px;
        line-height: 1.2;
        display: block;
    }

    .shop__product-price__original {
        font-size: 14px;
        margin-left: 0px;
    }

    .shop__product-rating {
        font-size: 11px;
        padding: 4px 8px;
        top: 8px;
        left: 8px;
        z-index: 1;
    }

    .shop__product-sale {
        font-size: 11px;
        padding: 4px 8px;
        top: 8px;
        left: 8px;
        right: auto;
        z-index: 3;
    }

    .shop__product-actions {
        position: absolute;
        bottom: 8px;
        right: 8px;
        margin-top: 0;
        transform: none;
        z-index: 10;
    }

    .shop__product:hover .shop__product-actions {
        transform: none !important;
        z-index: 10 !important;
        position: absolute !important;
    }

    .shop__product-info {
        flex: 1;
        overflow: hidden;
    }

    .shop__product-btn--view-details,
    .shop__product-actions .shop__product-btn--view-details,
    .btn-secondary.shop__product-btn--view-details,
    a.shop__product-btn--view-details {
        display: flex !important;
        visibility: visible !important;
        margin: 0;
        padding: 8px 12px;
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        font-family: var(--global-font) !important;
        background-color: transparent !important;
        color: var(--primary-color) !important;
        border: 1px solid var(--primary-color) !important;
        border-radius: 0 !important;
        transition: all 0.3s ease !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .shop__product-btn--view-details:hover,
    .shop__product-btn--view-details:focus,
    .shop__product-actions .shop__product-btn--view-details:hover,
    .btn-secondary.shop__product-btn--view-details:hover,
    a.shop__product-btn--view-details:hover {
        background-color: transparent !important;
        color: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
    }

    .shop__product:hover .shop__product-price,
    .shop__product:active .shop__product-price,
    .shop__product:focus .shop__product-price {
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 1 !important;
        position: relative !important;
    }

    .shop .shop__filter__search input {
        font-size: 16px;
    }

    .shop .shop__filter__submit {
        padding: 13px;
    }

    .shop .shop__filter__submit svg {
        height: 20px;
        width: 20px;
    }

    .shop__filter-content__heading {
        margin-bottom: 20px;
    }

    .reviews__pagination {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .reviews__pagination-btn {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 40px;
    }

    .reviews__pagination-arrow {
        padding: 10px;
    }

    .selected_items {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 16px;
        margin-bottom: 16px;
    }

    .filter__item__label {
        font-size: 13px;
        padding: 6px 12px;
    }
}
.shop__product-price__symbol {
    font-size: smaller;
}
@media (max-width: 575px) {
    .shop__title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .shop__products,
    .shop .shop__products {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .shop__product {
        max-height: 130px;
        height: 130px;
        position: relative;
    }

    
    .shop__product-image {
        width: 130px;
        min-width: 130px;
        height: 100% !important;
        overflow: hidden;
    }

    .shop__product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .shop__product-content {
        padding: 12px 12px 4px 12px;
        position: relative;
    }

    .shop__product-title {
        font-size: 15px;
        line-height: 1.3;
        margin-bottom: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .shop__product-description {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 6px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
    }

    .shop__product-price {
        font-size: 11px;
        margin-bottom: 4px;
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 1 !important;
        position: relative !important;
    }

    .shop__product-price__current {
        font-size: 18px;
        line-height: 1.2;
    }

    .shop__product-price__original {
        font-size: 13px;
    }

    .shop__product-rating {
        font-size: 10px;
        padding: 3px 6px;
        top: 6px;
        left: 6px;
        z-index: 1;
    }

    .shop__product-sale {
        font-size: 10px;
        padding: 3px 8px;
        top: 6px;
        left: 6px;
        right: auto;
        z-index: 3;
    }

    .shop__product-actions {
        position: absolute;
        bottom: 6px;
        right: 6px;
        margin-top: 0;
        transform: none;
        z-index: 10;
    }

    .shop__product:hover .shop__product-actions {
        transform: none !important;
        z-index: 10 !important;
        position: absolute !important;
    }

    .shop__product-info {
        flex: 1;
        overflow: hidden;
        min-width: 0;
    }

    .shop__product-info--bottom {
        margin-top: auto;
        flex-shrink: 0;
    }

    .shop__product-btn--view-details,
    .shop__product-actions .shop__product-btn--view-details,
    .btn-secondary.shop__product-btn--view-details,
    a.shop__product-btn--view-details {
        display: flex !important;
        visibility: visible !important;
        margin: 0;
        padding: 8px 12px;
        font-size: 14px !important;
        font-weight: 500 !important;
        line-height: 1.2 !important;
        font-family: var(--global-font) !important;
        background-color: transparent !important;
        color: var(--primary-color) !important;
        border: 1px solid var(--primary-color) !important;
        border-radius: 0 !important;
        transition: all 0.3s ease !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    
    .shop__product-btn--view-details:hover,
    .shop__product-btn--view-details:focus,
    .shop__product-actions .shop__product-btn--view-details:hover,
    .btn-secondary.shop__product-btn--view-details:hover,
    a.shop__product-btn--view-details:hover {
        background-color: transparent !important;
        color: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
    }

    .shop__product:hover .shop__product-price,
    .shop__product:active .shop__product-price,
    .shop__product:focus .shop__product-price {
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 1 !important;
        position: relative !important;
    }

    .shop .shop__filter__search input {
        width: 150px;
        padding: 12px 16px;
        font-size: 15px;
    }

    .filter__item__label,
    .selected_items_title {
        font-size: 13px;
    }

    .shop__filter-content__heading {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .total_post_count {
        font-size: 14px;
    }

    .reviews__pagination {
        gap: 4px;
    }

    .reviews__pagination-btn {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 36px;
    }

    .reviews__pagination-arrow {
        padding: 8px;
    }

    .reviews__pagination-arrow svg {
        width: 18px;
        height: 18px;
    }

    .selected_items {
        gap: 6px;
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .filter__item__label {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* ************* ******* ************* */
/* *********** Result Cards ********** */
/* ************* ******* ************* */
.ln-results {
    overflow: hidden;
}

.result-area .result-cards {
    margin: 0 -12px;
}

.result-cards {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll during initialization */
    position: relative; /* Create positioning context */
}

.result-cards .slick-slider {
    margin: 0 -12px;
    width: calc(100% + 24px); /* Account for negative margins */
    max-width: calc(100% + 24px);
    overflow: hidden; /* Constrain slider width */
    position: relative;
}

.result-cards .slick-list {
    width: 92vw;
    /* Parent's overflow: hidden prevents this from causing layout shift */
    /* The viewport width is intentional for slider effect */
    max-width: none; /* Allow viewport width but parent constrains overflow */
}

.result-cards .slick-track {
    display: flex;
    align-items: stretch;
}

.result-cards .services__slide {
    width: 440px;
    height: auto;
}

.result-card__inner {
    flex-direction: column;
    background-color: var(--light-color);
    height: 100%;
}

.icon-type .result-card__thumb img {
    margin: 21px 21px 0;
    width: 54px;
}

.result-card__thumb img {
    width: auto;
}

.result-card__content {
    flex: 1;
    padding: 21px;
}

.result-card .result-card__content h3 {
    font: 400 21px/1.2 var(--primary-font);
    color: var(--primary-color);
    margin: 0 0 21px;
}

.result-card .result-card__content p {
    font: 500 14px/1.7 var(--global-font);
    color: var(--primary-color);
}

.result-card .result-card__content ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font: 500 14px/1.7 var(--global-font);
    color: var(--primary-color);
}

.result-card .result-card__content ul li:not(:last-child) {
    margin: 0 0 16px;
    padding: 0 0 16px;
    border-bottom: 1px dashed rgba(9, 56, 84, 0.6);
}

.result-card .result-card__content ul li img {
    height: 18px;
    width: 18px;
    margin-top: 5px;
}

.result-card .result-card__content ul li span {
    flex: 1;
}

@media (max-width: 991px) {
    .result-cards .services__slide {
        width: 400px;
    }
}

@media (max-width: 767px) {
    .result-cards .services__slide {
        width: 370px;
    }

    .result-card__thumb svg {
        margin: 16px 16px 0;
        width: 48px;
    }

    .result-card__content {
        padding: 20px 16px 16px;
    }

    .result-card .result-card__content h3 {
        font-size: 20px;
        margin: 0 0 16px;
    }

    result-card .result-card__content ul li {
        font-size: 14px;
    }
}

/* ************* ******* ************* */
/* ************* Reviews ************* */
/* ************* ******* ************* */
.review {
    align-items: flex-start;
    gap: 48px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(9, 56, 84, 0.2);
}

.review__author {
    gap: 16px;
}

.review__author__photo {
    height: 64px;
    width: 64px;
    border-radius: 50%;
    overflow: hidden;
}

.review__author__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review__author__bio {
    flex: 1;
}

.review__author__name {
    font: 400 20px/1.2 var(--primary-font);
    color: var(--primary-color);
    margin: 0 0 6px;
}

.review__author__label {
    font: 500 16px/1.3 var(--global-font);
    color: var(--primary-color);
    margin: 0;
}

.review__author__label .icon {
    margin-left: 8px;
}

.review__content {
    flex: 1;
}

.review__rating-wrap {
    position: relative;
    margin: 0 0 23px;
    width: max-content;
}

.review__rating {
    display: grid;
    grid-template-columns: repeat(5, 21px);
    gap: 2px;
}

.actual-rating {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    height: 100%;
}

.default-rating path {
    fill: #00000017;
}

.review__text {
    font: 500 18px/1.6 var(--global-font);
    color: var(--primary-color);
    margin: 0;
    max-width: 790px;
}

.review__date {
    font: 500 16px/1.6 var(--global-font);
    color: var(--primary-color);
    margin: 0;
}

.reviews__actions {
    margin-top: 40px;
    gap: 20px;
}

.reviews__pagination {
    gap: 8px;
}

.reviews__pagination-btn {
    padding: 5px 15px;
    background-color: transparent;
    font: 600 16px/1.7 var(--global-font);
    color: var(--dark-color);
    display: inline-block;
}

.reviews__pagination-btn.active-btn,
.reviews__pagination-btn:hover {
    background-color: #ffeab8;
}

.reviews__pagination-arrow {
    padding: 13px;
    background-color: var(--primary-color);
}

.reviews__pagination-arrow:hover {
    background-color: var(--secondary-color);
}

.review-write-btn {
    background-color: var(--primary-color);
}

@media (max-width: 991px) {
    .review {
        gap: 35px;
    }

    .review__author {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .review {
        gap: 24px;
        flex-wrap: wrap;
        padding-bottom: 16px;
        margin-bottom: 20px;
    }

    .review__content {
        order: 3;
        flex: 100%;
    }

    .review__author__name {
        font-size: 17px;
    }

    .review__author__label {
        font-size: 14px;
    }

    .review__rating-wrap {
        margin-bottom: 10px;
    }

    .review__text,
    .review__date {
        font-size: 15px;
    }

    .review__rating {
        grid-template-columns: repeat(5, 17px);
    }

    .reviews__actions {
        flex-direction: column;
        justify-content: center;
    }

    .reviews__pagination-arrow {
        padding: 8px 10px;
    }

    .reviews__pagination-btn {
        padding: 5px 10px;
    }
}

@media (max-width: 575px) {
    .reviews__pagination-arrow svg {
        width: 20px;
        height: 20px;
    }

    .reviews__pagination {
        gap: 5px;
    }
}

a.fetured-products__slide__link.btn-primary,
a.animated-card__btn.btn-primary,
a.service-list__link.ln-flex.ln-items-center {
    text-decoration: none;
}

/* *********************************** */
/* ********* Animated cards ********** */
/* *********************************** */
.elementor-widget-hero_cards.elementor-widget {
    position: static !important;
}

.animated-cards {
    position: absolute;
    bottom: 25px;
    right: 0px;
    max-width: 100%;
    pointer-events: none;
    z-index: 9;
    overflow: hidden;
}

.animated-card {
    background-color: var(--light-color);
    padding: 21px;
    width: 505px;
    position: relative;
    overflow: hidden;
    pointer-events: all;
}

.animated-card:nth-child(2) {
    scale: 0.85;
    opacity: 0.6;
    transition: 0.3s;
    position: absolute;
    top: -40px;
    z-index: -1;
}

.animated-cards:hover .animated-card:nth-child(2) {
    top: -20px;
    scale: 1;
    transform: translateY(-100%);
    opacity: 1;
    margin-bottom: 15px;
}

.animated-card__content {
    max-width: 260px;
}

.animated-card__title {
    font: 400 21px/1.2 var(--primary-font);
    color: var(--primary-color);
    margin: 0 0 23px;
}

.animated-card__btn {
    max-width: 240px;
}

.animated-card__figure {
    position: absolute;
    top: 16px;
    right: -35px;
    /* right: 0; */
    margin: 0;
    width: 210px;
    border-radius: 50%;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .animated-cards {
        right: auto;
        left: 0;
        transform: translateX(0);
        width: 100%;
    }

    .animated-card {
        width: 1024px;
        padding: 16px;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .animated-card__title {
        font-size: 18px;
        margin-bottom: 16px;
        letter-spacing: -1px;
    }

    .animated-card__content,
    .animated-card__btn {
        max-width: 200px;
    }

    .animated-card__figure {
        width: 180px;
    }
}

@media (max-width: 575px) {
    .animated-card__figure {
        width: 150px;
    }
}

@media (max-width: 400px) {
    .animated-card__figure {
        width: 120px;
        top: 50px;
    }

    html body .btn-primary.animated-card__btn {
        max-width: 167px;
        padding: 8px;
        font-size: 14px;
    }
}

/* product-meta-list */
.product-meta-list {
    margin-top: 20px;
}

.product-meta-list__item {
    background-color: #fbfaf3;
    padding: 20px;
}

.terms {
    background-color: #ffffff;
    border: 1px dashed #cfd6de;
    padding: 14px;
    margin-bottom: 15px;
}

.terms:last-child {
    margin-bottom: 0;
}

.terms__head {
    gap: 15px;
}

.terms__head h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.terms__head__right h5 {
    white-space: nowrap;
    font-size: 23px !important;
    min-height: 32px; /* Reserve space to prevent CLS */
    display: inline-block; /* Maintain height when empty */
}

.terms__head__right h5 span {
    font-family: var(--global-font);
    font-size: 18px;
}

/* Reserve space for price displays to prevent layout shift */
.display_section_price {
    min-height: 24px;
    display: inline-block; /* Maintain height when empty */
}

.discount_text {
    min-height: 20px;
    visibility: hidden; /* Reserve space but hide by default */
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    font-family: var(--global-font);
}

.discount_text.visible {
    visibility: visible;
}

.discount_text .discount {
    font-weight: 600;
}

.package_price {
    font-size: 24px;

    color: var(--secondary-color);
    font-family: var(--global-font);
    display: block;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .package_price {
        font-weight: 600 !important;
    }
}


.right_side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: right;
}

/* Reserve space for service types section */
.service-types {
    min-height: 100px; /* Reserve minimum space */
}

.service-types__item {
    min-height: 80px; /* Reserve space for each item */
}

.service-types__item__right {
    min-height: 60px; /* Reserve space for icons and prices */
}

.terms_prices {
    margin: 0;
}

.terms_prices > span:last-child {
    color: #093854;
    opacity: 0.5;
}

.terms_prices > span:first-child {
    font-size: 26px;
    /* font-weight: 600; */
    margin-right: 12px;
}

.terms ul {
    list-style: inherit;
    margin: 0;
    padding: 0px 20px;
}
.terms ol {
    margin: 0;
    padding: 0px 20px;
}
.items_val ul {
    list-style: inherit;
    margin: inherit;
    padding: 0;
}
.treatment-item-render li {
    /* border-bottom: 1px dashed #093854;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 20px; */
    list-style: inherit;
}
.items_val li {
    border-bottom: 1px dashed #093854;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 20px;
}

.terms li P {
    /* font-size: 26px; */
    margin: 0;
}

.terms li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

/* mx */
.post-share {
    display: inline-block;
    margin: 10px 0;
    color: var(--secondary-color);
    font-weight: 500;
}

.woocommerce div.product form.cart table td {
    padding: 10px 24px !important;
}

.woocommerce div.product form.cart .ln-type-product table td {
    padding: 0 !important;
}

.variations .label label {
    font-size: 30px;
    font-family: var(--primary-font);
    line-height: 1;
    padding-bottom: 15px;
    color: #093854;
    font-weight: 400 !important;
    display: block;
}

.ln-type-service .variations .value {
    background-color: #fbfaf3 !important;
}

.product div.summary .variations .value {
    padding: 16px 24px;
    background-color: #f8f8f8;
}

.treatment-option.form__field.attr_input {
    padding: 17px 0 17px;
}

.treatment-option.form__field.attr_input:first-child {
    /* padding-top: 24px !important; */
}

.treatment-option.form__field.attr_input:last-child {
    padding-bottom: 10px;
}

.variations [type="radio"]:checked,
.variations [type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.variations [type="radio"]:checked + label,
.variations [type="radio"]:not(:checked) + label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: var(--primary-color);
}

.variations [type="radio"]:checked + label:before,
.variations [type="radio"]:not(:checked) + label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 18px;
    height: 18px;
    border: 1px solid var(--primary-color);
    border-radius: 100%;
    background: #fff;
}

.variations [type="radio"]:checked + label:after,
.variations [type="radio"]:not(:checked) + label:after {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    position: absolute;
    top: 3px;
    left: 3px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.variations [type="radio"]:not(:checked) + label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.variations [type="radio"]:checked + label:after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.ap-book-btn {
    margin-top: 20px;
}

.woocommerce span.onsale,
.reset_variations {
    display: none !important;
}

.popup__form-group {
    margin-bottom: 24px;
}

.ln-type-service .woocommerce-variation-price {
    display: none;
}

.ln-variation-price {
    display: flex;
    justify-content: space-between;
    border-top: 1px dashed #cfd6de;
    align-items: center;
    padding-top: 20px;
}

.ln-variation-price .total_price {
    color: #1a1a1a;
    opacity: 0.4;
    font-size: 20px;
    text-decoration: line-through;
    margin-left: 10px;
    font-family: var(--global-font);
}

.ln-variation-price .total_price_with_dis {
    font-size: 32px;
    color: var(--secondary-color);
    font-family: var(--global-font);
    font-weight: 500;
}

.ln-variation-price .total_discount {
    background-color: #ffeab8;
    color: var(--primary-color);
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 50px;
    display: inline-flex;
    font-weight: 600;
}

.service-help-block {
    background-color: #f0f2f5;
    margin-top: 24px;
}

.service-help-block__figure {
    width: 290px;
    max-width: 45%;
}

.service-help-block__figure img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
}

.service-help-block__content {
    padding: 20px;
    flex: 1;
}

.service-help-block__content a {
    max-width: 240px;
}

.service-help-block__content h4 {
    font-weight: 500;
    margin-bottom: 10px;
}

.service-help-block__content p {
    font-weight: 500;
}

/* temp */
.lin-select-wrap {
    position: relative;
}

.lin-select-wrap .lin-select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--primary-color);
    height: 40px;
    width: 40px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.lin-select-wrap select {
    /* height: 73px; */
    border: 1px solid var(--primary-color);
    border-radius: 100px !important;
    font: 400 32px var(--primary-font);
    color: var(--primary-color);
    padding: 10px 80px 10px 21px;
    appearance: none;
    field-sizing: content;
}

.lin-select-wrap select option {
    font-size: 28px;
    font-family: initial;
}

@media (max-width: 991px) {
    .lin-select-wrap select {
        font-size: 27px;
    }
}

@media (max-width: 767px) {
    .lin-select-wrap select {
        height: 56px;
        padding: 8px 55px 8px 16px;
        font-size: 22px;
    }

    .lin-select-wrap .lin-select-icon {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .lin-select-wrap select option,
    .lin-select-wrap select {
        font-size: 16px;
    }

    .lin-select-wrap select {
        height: 48px;
    }

    .lin-select-wrap .lin-select-icon {
        height: 32px;
        width: 32px;
    }
}

/* Extra Styles */
footer {
    overflow: hidden;
}

@media (max-width: 991px) {
    .lin_wrapper div.product div.summary,
    .lin_wrapper div.product div.images,
    .lin_wrapper div.product div.summary {
        width: 100%;
    }

    .product-attributes__item__trigger,
    .service-types__item h3 {
        font-size: 24px;
    }

    .terms_prices > span:first-child,
    .service-help-block__content h4 {
        font-size: 20px;
    }

    .variations .label label,
    .ln-variation-price .total_price_with_dis {
        font-size: 28px;
    }

    /* Improve package_price and discount_text visibility on tablet */
    .package_price {
        font-size: 22px;
    }

    .discount_text {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .service-help-block {
        flex-direction: column-reverse;
    }

    .service-help-block__figure {
        width: 100%;
    }

    .terms_prices > span:first-child {
        font-size: 17px;
        margin-right: 7px;
    }

    .terms_prices > span:last-child {
        font-size: 14px;
    }

    .variations .label label,
    .ln-variation-price .total_price_with_dis {
        font-size: 25px;
    }

    .ln-variation-price .total_price,
    .woocommerce-product-details__short-description p {
        font-size: 15px;
    }

    .woocommerce div.product form.cart table td {
        padding: 16px !important;
    }

    .variations [type="radio"]:checked + label,
    .variations [type="radio"]:not(:checked) + label {
        padding-left: 15px;
    }

    /* Improve package_price and discount_text visibility on mobile */
    .package_price {
        font-size: 20px;
        font-weight: 600;
    }

    .discount_text {
        font-size: 14px;
        font-weight: 500;
    }

    .discount_text .discount {
        font-weight: 600;
    }
}

@media (max-width: 575px) {
    .product-attributes__item__trigger,
    .service-types__item h3 {
        font-size: 20px;
    }

    .service-help-block__content h4 {
        font-size: 17px;
    }

    .option-content p {
        margin: 0;
        font-size: 12px;
        color: var(--primary-color);
        font-weight: 300;
        line-height: normal;
    }

    .terms__head {
        flex-direction: column;
        gap: 0;
    }

    /* Further improve package_price and discount_text on small mobile */
    .package_price {
        font-size: 18px;
        font-weight: 600;
    }

    .discount_text {
        font-size: 13px;
        font-weight: 500;
    }

    .right_side {
        gap: 6px;
    }
}

/* Woocommerce */
.woocommerce.single-product div.product div.images.woocommerce-product-gallery,
.woocommerce.single-product div.product div.summary {
    position: sticky;
    top: 79px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 991px) {
    .woocommerce.single-product
        div.product
        div.images.woocommerce-product-gallery,
    .woocommerce.single-product div.product div.summary {
        position: static;
    }
}

/* *******Style from WP-Customizer******* */
.paragraph_margin_bottom p {
    margin-bottom: 0;
}

body.woocommerce-checkout .site-main,
body.woocommerce-cart .site-main {
    margin: 0 auto;
}

.li_hero_right_btn:hover svg path {
    stroke: #ffffff !important;
    fill: none !important;
}

/*
.contact__item {
  min-width: initial;
} */

.elementor-widget-video_faqs_widget {
    width: 100%;
}

.drz_list_style ul li {
    list-style: disc;
}

.drz_list_style ol li {
    list-style: numbers;
}

.drz_list_style ul,
.drz_list_style ol {
    padding-left: 20px;
}

/*All Title Shape style*/
.li_minus_shape span {
    position: relative;
    margin-left: 60px;
}

.li_minus_shape span:before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    width: 40px;
    height: 1px;
    background: #ffffff;
    margin-left: -60px;
}

.li_black_shape span:before {
    background: #1a1a1a;
}

/*Product Details style*/
.product_des_text_style span {
    font-family: "Libre Caslon Text", serif;
    font-style: italic;
    font-weight: 700;
    font-size: 26px;
}

@media (max-width: 767px) {
    .product_des_text_style span {
        font-size: 20px;
    }
}

/*About Us Page Styles*/
.about_num_style sub {
    font-size: 26px;
    bottom: 0;
}

/*Privacy Policy page*/
.privacy_list_item ul {
    padding-left: 20px;
}

.privacy_list_item ul li {
    padding-bottom: 15px;
    list-style: initial;
}

.li_doctors_img img {
    width: 50vw;
}

/*Footer Section*/
.li_footer_icon_flex .elementor-icon-list-icon {
    flex: 0 0 26px !important;
}

.li_footer_list_hover
    .elementor-icon-list-items
    li:hover
    .elementor-icon-list-text {
    color: #fff;
}

.li_footer_list_hover
    .elementor-icon-list-items
    li
    a:hover
    .elementor-icon-list-text {
    color: #e2222b !important;
}

.li_footer_icon_flex .elementor-icon-list-text {
    word-break: break-word;
}

@media (max-width: 767px) {
    .li_fullwidth_btn a {
        width: 100% !important;
    }
    .popup__form-group {
        margin-bottom: 0;
    }
    .popup__form-row {
        gap: 0;
    }
}

/* temporary */
button.single_add_to_cart_button.button.alt,
button.single_book_button.button.alt {
    background-color: var(--barnd-color);
}

.blog-details__title {
    text-align: start !important;
}

.woocommerce-shipping-fields {
    display: none;
}

.lin_wrapper {
    padding-top: 15px;
}

/*Home Out team sec*/
@media (max-width: 1024px) {
    .li_team_speci .elementor-icon-list-icon {
        flex: 0 0 45px !important;
    }
}

.treatment-item-render h4 {
    font-size: 20px;
    margin: 0 0 10px;
}

.service-types__item__left h3 {
    font-size: 21px;
}

.terms .discount {
    font-size: 16px;
    text-decoration: line-through;
}

.selected_lists {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter__item__label {
    white-space: nowrap;
    font: 500 16px/1.2 var(--global-font);
    color: var(--dark-color);
    padding: 8px 14px;
    border-radius: 100px !important;
    background-color: #f8f8f8;
    margin-bottom: 16px;
}

.shop .total_post_count {
    font: 400 27px/1.2 var(--primary-font);
    color: var(--primary-color);
}

.selected_items {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.selected_items_title {
    white-space: nowrap;
    margin-bottom: 16px;
    display: none;
}

.hd-empty-filer {
    display: none;
}

.filter__item__label svg {
    margin-left: 5px;
    cursor: pointer;
}

@media (max-width: 1023px) {
    .shop .total_post_count {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .shop .total_post_count {
        font-size: 20px;
    }
}
#billing_address_1_field{
  grid-column: span 2;
}
@media (max-width: 575px) {
    .shop .total_post_count {
        font-size: 16px;
    }
#billing_address_1_field{
  grid-column: span 1;
}
    .ln_single_add_to_cart_button .arrow_right,
    .single_book_button .arrow_right {
        display: none;
    }
}

.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: url("../imgs/arrow-down.svg");
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(calc(-50% - 8px));
    width: 10px;
    height: 10px;
    pointer-events: none;
}

.clear-filters:focus {
    background-color: transparent !important;
    color: var(--secondary-color);
}

.clear-filters:focus-visible {
    border: none !important;
}

li .ln-icon svg {
    display: none;
}

li.active-menu .ln-icon svg {
    display: block;
}

.ln-icon svg path {
    stroke: var(--secondary-color);
}

.woocommerce-product-gallery__image img.zoom,
.woocommerce-product-gallery__image img:hover {
    transform: none !important;
    cursor: default !important;
}

textarea#order_comments {
    min-height: 100px;
}
span.company-text {
    margin-top: 5px;
}
.wpcf7 br{
    display: none;
}
.ml-0{
    margin-left: 0 !important;
}
.mr-0{
    margin-right: 0 !important;
}

/* Disable parent label clicks when the nested input has "active" and is checked */
.lin-option:has(> input.lin-radio-input.active:checked),
.lin-option:has(> input.lin-radio-input.active),
.lin-option:has(> input.lin-radio-input:checked)
 {
  pointer-events: none;
  cursor: default;
  user-select: none;
}
.d-flex-d-c{
   flex-direction: column;
}

div#elementor-lightbox-slideshow-single-img {
    display: none !important;
}

@media (max-width: 767px) {
    .selected_items_title {
        margin: 0;
    }
}
@media (max-width: 467px) {
    .shop .action_btns.mobile-view button.clear-filters{
        margin-top: 10px;
    }
    .filter__item__label{
        margin-bottom: 0;
    }
    /* .result-cards .services__slide {
        width: calc(100vw );
    } */
     .result-cards .slick-list{
        width: 100vw;
     }
     .selected_lists{
      gap: 0px;
    }

}

/* Single Product Service Type Styles - Extracted from inline styles */
/* Using body class for global targeting */
body.lin-type-service .woocommerce-variation.single_variation {
    order: 2;
}

body.lin-type-service .variations {
    order: 1;
}

body.lin-type-service .variations_button {
    order: 3;
}

/* Book-only product styles */
body.lin-buying-type-only-book .variations_button .add_to_cart_btns,
body.lin-buying-type-only-book .variations_button .add_to_cart_and_qnts {
    display: none !important;
}

body.lin-buying-type-only-book .woocommerce-variation.single_variation,
body.lin-buying-type-only-book .woocommerce-variation-price,
body.lin-buying-type-only-book .single-variation-wrap .woocommerce-variation-price,
body.lin-buying-type-only-book .ln-variation-price {
    display: none !important;
}

body.lin-buying-type-only-book .service-types--book-only .ap-book-btn {
    display: block !important;
}

/* Variation items layout for book-only */
body.lin-buying-type-only-book .service-types--book-only .variation-item-book .service-types__item__left {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

body.lin-buying-type-only-book .service-types--book-only .variation-item-book .service-types__item__left.has-description {
    justify-content: center;
}

body.lin-buying-type-only-book .service-types--book-only .variation-item-book .service-types__item__left.has-description h3 {
    width: 100%;
    margin-bottom: 8px;
}

body.lin-buying-type-only-book .service-types--book-only .variation-item-book .service-types__item__left.has-description p {
    width: 100%;
    margin: 0;
}

body.lin-buying-type-only-book .service-types--book-only .variation-item-book .service-types__item__left.no-description {
    justify-content: center;
}

body.lin-buying-type-only-book .service-types--book-only .variation-item-book .service-types__item__left.no-description h3 {
    margin: 0;
}

body.lin-buying-type-only-book .service-types--book-only .variation-item-book .service-types__item__right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

body.lin-buying-type-only-book .service-types--book-only .variation-item-book .service-types__item__right svg {
    margin: 0 auto;
}

/* Utility classes for show/hide to prevent forced reflow */
.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

.single-variation-wrap.visible {
    display: flex !important;
}

/* CLS Prevention - Reserve space for conditional content */
.ap-book-btn {
    min-height: 50px; /* Reserve space even when hidden */
}

.ap-book-btn.hidden {
    visibility: hidden; /* Use visibility to reserve space */
    height: 0;
    min-height: 0;
    margin: 0;
    overflow: hidden;
}

/* Product attributes section - reserve space */
.lin-product-attributes-section {
    min-height: 200px; /* Reserve space to prevent CLS */
}

.product-attributes__item {
    min-height: 60px; /* Reserve space for each accordion item */
}

/* Ensure images have aspect ratio to prevent CLS */
.woocommerce-product-gallery__image img {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: auto;
}

/* Service types items - reserve space */
.service-types__item__left h3,
.service-types__item__left p {
    min-height: 1.2em; /* Reserve space for text */
}

.service-types__item__right h4 {
    min-height: 28px; /* Reserve space for price */
    display: inline-block;
}
/* *********************************** */
/* ****** Featured Shop Slider ******* */
/* *********************************** */
.featured-product-slider {
    padding: clamp(32px, 7vw, 96px) 0;
    background: #f7fafc;
}

.featured-product-slider__inner {
    width: min(1220px, 100%);
    margin: 0 auto;
    padding-left: 20px !important;
    padding: 0;
    overflow: visible; /* Allow carousel to overflow */
}

.featured-product-slider__header {
    max-width: 720px;
    margin: 0 auto clamp(32px, 4vw, 48px);
    text-align: left;
    padding: 0 clamp(16px, 5vw, 32px);
}

.featured-product-slider__header .section-label {
    margin: 0 0 12px;
}

.featured-product-slider__header .section-title {
    margin-bottom: 18px;
    text-align: left;
}

.featured-product-slider__header .section-description {
    font: 400 16px/1.6 var(--global-font);
    color: rgba(9, 56, 84, 0.75);
    margin: 0;
}

.featured-product-slider__body {
    margin-top: clamp(24px, 4vw, 48px);
    overflow: visible; /* Allow draggable area to be visible */
}

.featured-product-slider__carousel {
    margin: 0 -10px;
    padding-bottom: clamp(24px, 4vw, 40px);
    overflow: visible; /* Override services__slider overflow: hidden */
}

/* Ensure slick-list draggable is visible for featured product slider */
.featured-product-slider__carousel .slick-list {
    overflow-x: visible !important; /* Allow cards to overflow and slide from right to left - override inline styles */
    overflow-y: visible !important;
    padding-left: 0; /* No left padding - start at first slide */
    padding-right: 30px; /* Right padding for peek effect */
}

/* Prevent overflow hidden from being set during dragging */
.featured-product-slider__carousel .slick-list.dragging {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

.featured-product-slider__carousel .slick-slider {
    overflow: visible; /* Allow slider to extend beyond container */
}

.featured-product-slider__carousel .slick-slide {
    padding: 0 10px;
    height: auto;
    max-height: 500px;
}

.featured-product-card {
    height: 100%;
}

.featured-product-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--light-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(17, 38, 65, 0.08);
}

.featured-product-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.featured-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-product-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font: 600 12px/1 var(--global-font);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--light-color);
    background: rgba(9, 56, 84, 0.9);
}

.featured-product-card__badge--service {
    background: rgba(226, 34, 43, 0.9);
}

.featured-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: clamp(20px, 4vw, 32px);
    height: 100%;
}

.featured-product-card__title {
    font: 500 20px/1.3 var(--primary-font);
    margin: 0;
}

.featured-product-card__title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-product-card__title a:hover {
    color: var(--secondary-color);
}

.featured-product-card__excerpt {
    margin: 0;
    color: rgba(9, 56, 84, 0.75);
    font-size: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.featured-product-card__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    font: 600 18px/1.3 var(--global-font);
    color: var(--primary-color);
}

.featured-product-card__price-label {
    font: 600 12px/1.2 var(--global-font);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(9, 56, 84, 0.7);
}

.featured-product-card__price-current {
    font: 600 22px/1.3 var(--global-font);
    color: var(--secondary-color);
}

.featured-product-card__price-original {
    font: 500 16px/1.3 var(--global-font);
    color: rgba(9, 56, 84, 0.5);
    text-decoration: line-through;
}

.featured-product-card__actions {
    margin-top: auto;
}

.featured-product-card__cta {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    gap: 8px;
}

.featured-product-card__cta-full-width {
    width: 100% !important;
}

.featured-product-slider__nav {
    margin-top: clamp(12px, 3vw, 28px);
    padding: 0 clamp(16px, 5vw, 32px);
}

.featured-product-slider__empty {
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    background: var(--light-color);
    box-shadow: 0 10px 30px rgba(17, 38, 65, 0.05);
}

@media (min-width: 768px) {
    .featured-product-card__title {
        font-size: 22px;
    }

    .featured-product-card__excerpt {
        font-size: 16px;
    }

    .featured-product-card__cta {
        width: max-content;
        padding-inline: 32px;
    }
}
