/*
Theme Name: Astra Child
Description: Дочерняя тема для Astra - Vetkins
Author: Vetkins
Template: astra
Version: 1.0.0
*/

/* ========================================
   Main Styles - Vetkins Child Theme
   ======================================== */

/*Astra CSS Snippets*/

/* ========================================
   CSS ПЕРЕМЕННЫЕ
   ======================================== */
:root {
    /* Цвета */
    --ms-primary: var(--ast-global-color-0);
    --ms-secondary: var(--ast-global-color-1);
    --ms-text: var(--ast-global-color-2);
    --ms-border: var(--ast-global-color-3);
    --ms-bg: var(--ast-global-color-5);

    /* Размеры шрифтов */
    --ms-font-xs: 12px;
    --ms-font-sm: 14px;
    --ms-font-base: 16px;
    --ms-font-lg: 18px;
    --ms-font-xl: 20px;
    --ms-font-2xl: 24px;
    --ms-font-3xl: 32px;
    --ms-font-4xl: 40px;
    --ms-font-5xl: 45px;
    --ms-font-6xl: 56px;
    --ms-font-7xl: 64px;

    /* Отступы */
    --ms-space-xs: 5px;
    --ms-space-sm: 10px;
    --ms-space-md: 15px;
    --ms-space-lg: 20px;
    --ms-space-xl: 30px;
    --ms-space-2xl: 40px;
    --ms-space-3xl: 50px;

    /* Радиусы */
    --ms-radius-sm: 5px;
    --ms-radius-md: 10px;
    --ms-radius-lg: 20px;
    --ms-radius-xl: 30px;
    --ms-radius-2xl: 40px;

    /* Переходы */
    --ms-transition: all 0.3s ease;
    --ms-transition-slow: all 0.5s ease;

    --box-shadow: 0px 3.705px 27.788px 0px rgba(165, 165, 165, 0.25);
}

body main {
    overflow-x: hidden;
}


/* ========================================
   ГЛОБАЛЬНАЯ СЕТКА И КОНТЕЙНЕРЫ
   ======================================== */

  
.ms-section {
	padding: 50px 0;
	margin: 50px auto;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

@media only screen and (max-width: 1021px) {
    .ms-section {
        padding: 0;
		margin: 40px auto;
    }
}

.ms-section:not(.ms-hero, .ms-section-cpa, .ms-section-steps)>.ms-container {
    flex-direction: column;
}

.ms-section p {
    max-width: 1000px;
    line-height: 1.4em;
    margin-bottom: 20px;
}

@media (max-width: 1021px) {
    .ms-section-padding-bottom {
        padding-bottom: var(--ms-space-lg);
    }
}

.ms-inner,
.ms-container {
    width: 100%;
    max-width: 1400px;
    margin-inline-start: auto;
    margin-inline-end: auto;
    display: flex;
    box-sizing: border-box;
}

.ms-container .ms-container {
    width: auto;
    max-width: 100%;
    padding: 0;
}

.ms-container p {
    font-size: var(--ms-font-lg);
}

@media only screen and (max-width: 1400px) {

    .ms-inner,
    .ms-container {
        padding: 0 20px;
    }
}

@media only screen and (max-width: 1021px) {

    .ms-inner,
    .ms-container {
        padding: 0 10px;
    }
}

.ms-container-center {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ms-col-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.ms-col-3 {
	display: grid;
	grid-template-columns: 2fr 1fr;
} 


@media (max-width: 1021px) {
	.ms-col-2,
	.ms-col-3 {
		grid-template-columns: 1fr;
	}

    .ms-col-2 img, .ms-col-3 img,
	.ms-our-mission-item img {
        max-height: 400px;
        width: auto;
    }
}


.ms-section-bg {
    padding: 50px 0;
    background: linear-gradient(98.78deg, #FFFBF9 0%, #E2D6EF 100%);
    border-radius: var(--ms-radius-2xl);
}

@media only screen and (max-width: 1021px) {
    .ms-section-bg {
        padding: 40px 0;
    }
}

.ms-section-bg--grey {
    background-color: transparent;
    background-image: linear-gradient(180deg, #F8F8F8 0%, #F8F8F8 100%);
}

@media only screen and (max-width: 1366px) {
    .ms-section-bg>.ms-container {
        padding-inline-start: 20px;
        padding-inline-end: 20px;
    }
}

@media (max-width: 1021px) {
    .ms-section-bg>.ms-container {
        padding-inline-start: 10px;
        padding-inline-end: 10px;
    }
}

.ms-img {
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.ms-img img {
    object-fit: cover;
    object-position: center center;
    border-radius: var(--ms-radius-lg);
}

.ms-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}


.ms-mob {
	display: none;
}

@media only screen and (max-width: 1021px) {
	.ms-mob {
		display: block;
	}

	.ms-pc {
		display: none;
	}
}


/* ========================================
   ГЛОБАЛЬНЫЕ БЛОКИ
   ======================================== */
.ms-box {
    padding: 1rem;
    border-radius: 0.5rem;
    width: 100%;
    transition: .5s;
    gap: 10px;
}

.ms-box * {
    margin-top: 0;
}

/* .ms-box-shadow {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
} */

.ms-box-shadow {
    box-shadow: var(--box-shadow);
}

.ms-box-center {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
}


/* ========================================
   ГЛОБАЛЬНЫЕ КНОПКИ
   ======================================== */
/* Медиа-запросы для кнопок вынесены в основной блок .ms-btn */

/*GLOBAL Color*/
.ms-accent-color {
    color: var(--ms-primary);
}

/* ========================================
   ГЛОБАЛЬНЫЕ ШРИФТЫ
   ======================================== */
h1,
h2,
h3,
h4 {
    font-weight: 500;
    line-height: 1.1em;
}

.ms-title {
    position: relative;
    font-size: var(--ms-font-6xl);
    margin-bottom: var(--ms-space-md);
    width: 100%;
    max-width: 1000px;
}

.ms-title em {
	font-style: normal;
	color: var(--ms-primary);
}


.ms-title-center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

@media only screen and (max-width: 1600px) {
    .ms-title {
        font-size: var(--ms-font-4xl);
    }
}

@media only screen and (max-width: 1021px) {
    .ms-title {
        text-align: center;
        max-width: 100%;
        font-size: var(--ms-font-4xl);
    }
}

@media only screen and (max-width: 544px) {
    .ms-title {
        font-size: var(--ms-font-3xl);
    }
}


.ms-middle-title-font {
    font-size: var(--ms-font-2xl);
    line-height: 1.2em;
    font-weight: 500;
}

.ms-small-title-font {
    font-size: var(--ms-font-lg);
    line-height: 1.2em;
    font-weight: 500;
}

.ms-medium-font {
    font-size: var(--ms-font-xl);
    line-height: 1.4em;
}

.ms-text-font {
    font-size: var(--ms-font-lg);
    font-weight: normal;
    line-height: 1.4em;
}

.ms-small-font {
    font-size: var(--ms-font-base);
    line-height: 1.4em;
}

.ms-extra-small-font {
    font-size: var(--ms-font-sm);
}

.ms-bg-gradient {
    background-image: linear-gradient(61deg, var(--e-global-color-e26fcd7) 0%, #FFFBF9 100%);
}

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

/* ========================================
   СПИСКИ MS-LIST
   ======================================== */
.ms-list {
    list-style: none;
    padding-left: 0;
}

.ms-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: var(--ms-space-sm);
    line-height: 1.6em;
}

.ms-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 14.5C5 14.5 6.5 14.5 8.5 18C8.5 18 14.0588 8.83333 19 7' stroke='%23AB2A85' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}


/*Grid*/
body .ms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

@media only screen and (min-width: 450px) and (max-width: 1021px) {
    body .ms-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media only screen and (max-width: 450px) {
    body .ms-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
}


/*Scroll*/
.ms-scroll {
    display: flex;
    overflow-x: scroll;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 10px;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    align-items: stretch;
    /* margin: auto;
    width: auto; */
}

.ms-scroll .ms-box {
    scroll-snap-align: start;
    min-width: 260px;
    max-width: 280px;
}

.ms-scroll-inner {
    width: 100%;
}


@media (max-width: 1021px) {
    .ms-scroll {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .ms-scroll .ms-box {
        flex: 0 0 80%;
    }

    .ms-scroll::-webkit-scrollbar {
        display: none;
    }
}

@media only screen and (max-width: 1021px) {
    .ms-scroll-mob {
        display: flex;
        overflow-x: scroll;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 10px;
        gap: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        align-items: stretch;
    }

    .ms-scroll-mob .ms-grid {
        display: flex !important;
        align-items: stretch;
    }


    .ms-scroll-mob .ms-scroll-inner {
        align-items: stretch;
        justify-content: flex-start;
    }

    .ms-scroll-mob .ms-box {
        flex: 0 0 80%;
        scroll-snap-align: start;
        min-width: 260px;
        max-width: 280px;
    }

    .ms-scroll-mob::-webkit-scrollbar {
        display: none;
    }
}











.ms-actions-wrap {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

@media only screen and (max-width: 1021px) {
    .ms-actions-wrap {
        flex-direction: column;
        gap: 15px;
        margin: 5px auto 10px auto !important;
        max-width: 350px;
    }
}


/* ========================================
   СЕКЦИЯ TWO COLUMNS
   ======================================== */
.ms-two-columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 1021px) {
    .ms-two-columns {
        margin-top: 40px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ms-two-columns img {
        max-height: 400px;
		width: auto;
    }

}



/*SECTIONS Services*/
.ms-section-services .ms-content {
    width: 70%;
}

.ms-section-services figure {
    width: 30%;
}

.ms-service-item {
    height: 100%;
}

@media only screen and (max-width: 1021px) {
    .ms-section-services .ms-content {
        width: 100%;
    }

    .ms-section-services figure.ms-services-hero-img {
        display: none;
    }
}

/* ========================================
   СЕКЦИЯ TREATMENT
   ======================================== */

.ms-section-treatment .ms-grid {
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    max-width: 1200px;
}

.ms-section-treatment .ms-treatment-item {
    padding-top: 150px;
    padding-bottom: 30px;
    overflow: hidden;
    border-radius: var(--ms-radius-lg);
}

.ms-section-treatment figure:not(.ms-icon) {
    width: 100%;
}

.ms-section-treatment figure:not(.ms-icon) img {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.ms-section-treatment .ms-icon img {
    height: 75px;
    width: 75px !important;
    margin-top: -65px;
    margin-bottom: -10px;
}

.ms-section-treatment .ms-icon {
    z-index: 2;
}

@media only screen and (max-width: 1021px) {
    .ms-section-treatment .ms-grid {
        padding: 0 20px;
    }
}


/* ========================================
   ГЛОБАЛЬНЫЕ СТИЛИ И ИСПРАВЛЕНИЯ
   ======================================== */


.ms-wrap {
    margin: 60px 0 !important;
}

@media (max-width: 1620px) {
    .ms-wrap {
        padding-left: min(10px) !important;
        padding-right: min(10px) !important;
    }
}

@media (max-width: 1021px) {
    .ms-wrap {
        margin: 40px 0 !important;
    }
}

body .hfeed {
    padding: 0 20px;
}

@media (max-width: 1021px) {
    body .hfeed {
        padding: 0 10px;
    }
}



.menu-toggle {
    padding: 0 !important;
}

.woocommerce-js h2 {
    margin-bottom: 0;
}

.ast-theme-transparent-header .site-logo-img img {
    filter: none;
}


@media screen and (max-width: 992px) {

    .hfeed.site {
        overflow-x: hidden;
    }
}

/* ========================================
   ГЛОБАЛЬНЫЕ ЗАГОЛОВКИ
   ======================================== */


/* Объединено с основным блоком .ms-title ниже */

.ms-divider::after,
hr.ms-divider {
    content: "";
    display: block;
    width: clamp(1%, 50px, 50%) !important;
    height: 3px !important;
    background: var(--ast-global-color-1);
    background-size: contain;
    background-repeat: no-repeat;
    margin: 15px 0 !important;
}

.ms-divider-center::after,
hr.ms-divider {
    margin: 15px auto !important;
}

hr.ms-divider:after {
    display: none;
}


@media only screen and (max-width: 1366px) {
    .ms-divider-center-lap::after {
        margin: 15px auto;
    }
}

@media only screen and (max-width: 1021px) {
    .ms-divider-center::after,
    .ms-divider-center-mob::after {
        margin: 15px auto 10px auto !important;
    }
}

/* ========================================
   ГЛОБАЛЬНЫЕ КАРУСЕЛИ
   ======================================== */

.ms-carousel .swiper {
    overflow: visible !important;
}

@media only screen and (max-width: 1021px) {
    .ms-carousel-ofset .swiper {
        padding-inline-start: 20px;
        padding-inline-end: 20px;
    }
}

/* ========================================
   ШАПКА САЙТА
   ======================================== */

.ast-primary-header-bar {
    padding: 0px 10px !important;
}

.ast-sticky-active {
    min-height: 0 !important;
}

.ast-sticky-active .ast-site-identity {
    padding: 5px;
}

.site-branding {
    transition: .5s;
}

.ast-primary-header-bar.ast-sticky-active .site-branding {
    transform: scale(0.9) translatex(-20px);

}

.ast-primary-header-bar.ast-sticky-active .ast-header-button-2 {
    transform: scale(0.9) translatex(10px);

}

.ast-header-sticked .ast-primary-header-bar {
    min-height: 0;
}

.site-below-header-wrap {
    border-top: 1px solid #D9D9D980;
    margin-top: 10px;
    padding: 0;
}

.current-menu-item {
    flex-direction: row !important;
    align-items: center;
}

header .current-menu-item:before {
    content: '';
    background-image: url('/wp-content/uploads/2024/09/Ellipse-1795.svg') !important;
    background: center center / contain no-repeat;
    height: 10px;
    width: 10px;
}

.ms-soc-net {
    display: flex;
    gap: 15px;
    margin-right: 20px
}

.ms-soc-net a {
    border: 1px solid var(--ast-global-color-3);
    padding: 10px;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

body:not(.ast-theme-transparent-header) .ast-below-header.ast-below-header-bar {
    background: linear-gradient(98.78deg, #E2D6EF 0%, #FFFBF9 100%) !important;
    border-radius: 10px
}

header ul.sub-menu li.menu-item:hover {
    background-color: #f1f1f1;
}

header ul.sub-menu li.menu-item:hover a {
    transform: translatex(-2px);
    /* 	background-color: #f1f1f1; */
}

.menu-item:has(.ast-menu-toggle) a.menu-link:before {
    display: none;
}


@media only screen and (max-width: 768px) {
    header .ast-custom-button:after {
        height: 12px;
        width: 12px;
    }
}

/*Account-menu*/

ul#ast-hf-account-menu {
    padding: 10px;
}

/*Header_MOB*/

.main-header-menu-toggle {
    background: transparent !important;
    box-shadow: none !important;
}

.main-header-menu-toggle svg {
    fill: var(--ast-global-color-2) !important;

}

@media only screen and (max-width: 575px) {

    header .ast-header-button-1,
    header .ast-header-button-2 {
        padding: 13px 15px;
        font-size: 12px;
        align-self: center !important;
    }
}

@media only screen and (max-width: 545px) {
    header .ast-header-button-1 {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 392px) {

    header .ast-header-button-1 .ast-custom-button:after,
    header .ast-header-button-2 .ast-custom-button:after {
        display: none !important;
    }
}

@media only screen and (max-width: 366px) {

    header .ast-header-button-1,
    header .ast-header-button-2 {
        display: none !important;
    }
}

@media only screen and (max-width: 1173px) and (min-width: 1022px) {
    header .main-header-menu a.menu-link {
        font-size: 16px !important;
        padding: 16px !important;
    }

    header .ast-header-button-1 {
        padding: 13px 20px;
        font-size: 16px;
    }

    .site-logo-img img {
        max-width: 150px !important;
    }
}


/*Header_Off-canvas menu*/

#ast-mobile-popup .ast-mobile-popup-header {
    position: absolute;
    top: 0;
    right: 0px;
    width: 100%;
}

#ast-mobile-popup .ast-mobile-popup-header:after {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    width: 150px;
    height: 80px;
    background-image: url('/wp-content/uploads/2024/09/Logo-vetkins-e1727379960430.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

#ast-mobile-popup #menu-toggle-close .ahfb-svg-iconset svg {
    width: 25px;
    height: 25px;
    margin-top: 10px;
}

.ast-mobile-popup-content {
    padding: 60px 0 0 0 !important;
}

#ast-mobile-popup form.search-form {
    border-radius: var(--ms-radius-md);
}

#ast-mobile-popup input.search-field {
    color: black !important;
}

/* #ast-mobile-popup .search-submit {} - empty rule removed */

#ast-mobile-popup .search-submit .ast-icon svg {
    fill: black;
}

#ast-mobile-popup button.search-submit {
    box-shadow: 0px 0px 0px 0px rgba(211.99999999999994, 202, 223, 0.5019607843137255) !important;
}

#ast-mobile-popup .ast-builder-menu-mobile {
    max-height: 350px;
    overflow-y: auto;
    overflow-x: hidden;
    max-width: calc(100% - 50px);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#ast-mobile-popup .ast-builder-menu-mobile::-webkit-scrollbar {
    display: none;
}


#ast-mobile-popup .sub-menu {
    background-color: transparent;
    padding: 5px 20px 5px 0;

}

#ast-mobile-popup a.menu-link {
    text-align: left;
}

#ast-mobile-popup .ast-menu-toggle {
    box-shadow: none;
    border-style: none;
}


#ast-mobile-popup .ast-header-button-1 .ast-custom-button {
    padding: 15px 20px;
    font-size: 16px;
    margin-top: 20px;
}

#ast-mobile-popup .ast-custom-button a,
#ast-mobile-popup .ast-builder-button-wrap {
    width: 100% !important;
    text-align: center;
}

#ast-mobile-popup .ast-builder-layout-element {
    margin: 20px !important;
    padding: 0 !important;
}

#ast-mobile-popup .ast-menu-toggle {
    background-color: transparent;
}

#ast-mobile-popup .ast-header-account {
    justify-content: start;
}


#ast-mobile-popup .ms-soc-net {
    margin: 10px 0px
}

.ms-soc-net a {
    height: 50px;
    width: 50px;
}

#ast-mobile-popup .ast-mobile-popup-inner {

    scrollbar-width: none;
    -ms-overflow-style: none;
}

#ast-mobile-popup .ast-mobile-popup-inner::-webkit-scrollbar {
    display: none;
}

.ast-builder-menu-mobile .main-navigation .menu-item>.menu-link {
    text-transform: none;
    height: auto !important;
}

/*Header_Login form */
.ast-hb-account-login {
    box-shadow: 0 0 10px 0 rgb(194 194 194 / 50%);
}

#loginform input:not(.button) {
    border: 1px solid var(--ast-global-color-0) !important;
}

#loginform p {
    margin: 0 0 10px 0 !important;
}


p.login-submit input {
    font-size: 20px !important;
    padding: 13px 50px !important;
}


/* ========================================
   ПОДВАЛ САЙТА
   ======================================== */

footer {
    background: linear-gradient(98.78deg, #E2D6EF 0%, #FFFBF9 100%) !important;
    border-radius: 20px 20px 0 0;
    margin-top: 20px;
    padding: 0 20px !important;
}

.site-primary-footer-wrap {
    border-radius: 40px;
}

.site-footer-section h3,
.site-footer-section h2 {
    margin: 30px 0;
    padding-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    font-size: 18px !important;
    font-weight: normal;
}

.site-footer-section h3:after,
.site-footer-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 75px;
    height: 3px;
    background-color: var(--ms-border);
}

footer .wp-block-heading {
    line-height: 1.6;
}

footer .site-above-footer-wrap nav {
    margin-top: 20px;
}

footer .menu-item {
    margin: 7px 0;
}

footer a {
    color: var(--ast-global-color-3) !important;
}

footer a:hover {
    opacity: 0.8;
}

.ms-contacts-list img {
    width: 20px;
    height: auto;
    margin-right: 15px;
}

.ms-contacts-list li {
    margin: 7px 0;
    display: flex;
    align-items: center;
}

.ms-contacts-list li a {
    display: flex;
    align-items: center;
}

footer #block-10 {
    margin-top: 30px;
}

@media only screen and (max-width: 1021px) {
    .ast-builder-grid-row-container.ast-builder-grid-row-tablet-5-equal .ast-builder-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }


    .site-primary-footer-wrap .site-footer-section:last-child * {
        text-align: center;
        justify-content: center
    }

    .site-footer-primary-section-5 {
        grid-column: 1/6;
    }

}

@media only screen and (max-width: 544px) {
    .site-primary-footer-inner-wrap {
        grid-template-columns: 1fr 1fr !important;
        column-gap: 5px !important;
    }

    .site-primary-footer-inner-wrap .site-footer-section:last-child {
        order: 1 !important;
        grid-column: 1/3 !important;
    }

    #astra-footer-menu li {
        margin: 0;
    }
}

/*Footer_copyright */
.ast-footer-copyright p {
    margin: 0;
    line-height: 1.4em;
}

@media only screen and (max-width: 544px) {
    .ast-footer-copyright .ast-footer-copyright {
        margin-top: 10px;
        padding-top: 20px;
        border-top: 1px solid grey;
    }

    .site-footer-below-section-1 {
        order: 2;
    }

    .site-footer-below-section-2 {
        order: 3;
    }

    .site-below-footer-inner-wrap a img {
        margin-bottom: -10px;
    }
}


/* ========================================
   WOOCOMMERCE
   ======================================== */

/*WOO_Cart*/

.cart .qib-button-wrapper {
    float: right;
}

ul#shipping_method li:not(.elementor-widget-woocommerce-cart #shipping_method li) {
    text-indent: 0px;
}

/*WOO_Checkout*/

.woocommerce-js #content table.cart [name=coupon_code],
.woocommerce-page #content table.cart [name=coupon_code] {
    max-height: 50px;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
    padding: 10.5px .75em;
}

.rtl input#billing_phone {
    text-align: right;
}

.rtl input#billing_phone {
    text-align: right;
}

/*WOO_Checkout_Remove button*/

tr.cart_item {
    position: relative;
}

td.product-name>span:first-child,
td.product-name a.remove {
    position: absolute;
    right: -20px;
}

.woocommerce-js a.remove {
    font-size: 18px !important;
    color: red;
    opacity: 1;
}

.woocommerce-js a.remove:before {
    border: 0px solid var(--ast-global-color-3);
}
/*WOO_Thank-you page*/

h2.woocommerce-order-details__title {
    background-color: transparent !important;
    border: 0 solid black !important;
    padding: 0 !important;
    margin-bottom: 20px !important;
}

.woocommerce-order-received .entry-header {
    display: none;
}

.woocommerce-thankyou-order-received {
    text-align: center;
    font-size: 28px;
    color: green;
    margin: 20px 0 !important;
    font-weight: 700;
}

.woocommerce-thankyou-order-details.order_details {
    text-align: center !important;
    margin: 20px 0 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.woocommerce-thankyou-order-details.order_details li {
    border: 0px solid !important;
}

.order_details span,
.order_details strong {
    color: var(--ast-global-color-0) !important;
}

.woocommerce-order-details,
.woocommerce-customer-details {
    max-width: 900px !important;
    width: 100% !important;
}

@media only screen and (max-width: 768px) {
    .woocommerce-thankyou-order-details.order_details {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        gap: 10px;
    }

    .order_details li {
        margin: 5px 0 !important;
        padding: 5px 0 !important;
        border-left: 0px solid !important;
    }

    .woocommerce-thankyou-order-details.order_details li:not(:last-child) {
        border-bottom: 1px dashed var(--ast-border-color) !important;
    }
}


/*Filters*/
.ms-filters search {
    gap: 15px !important;
}


.ms-filters search button {
    border-radius: 20px !important;
    font-size: 14px;
    box-shadow: 0px 0px 0px 0px rgba(211.99999999999994, 202, 223) !important;
    border: 1px solid lightgrey !important;
}

/*Archives*/

.ms-search-section .elementor-widget-search .e-search-form {
    display: flex;
    position: relative;
    align-items: center !important;
}

.ms-search-section button.e-search-submit {
    position: absolute !important;
    right: 10px !important;
    top: 50%;
    transform: translatey(-50%)
}

.ms-search-section button {
    box-shadow: 0px 0px 0px 0px rgba(211.99999999999994, 202, 223, 0.5019607843137255);
}

.ms-result-item .elementor-widget-image {
    max-height: 150px;
}


@media only screen and (max-width: 768px) {
    .ms-result-item p {
        max-height: 40px;
        overflow: hidden;

    }
}

.ast-grid-common-col {
    padding-left: 0px;
    padding-right: 0px;
}

@media only screen and (max-width: 1021px) {

    .ms-post-item p {
        margin: 0;
        max-height: 50px;
        overflow: hidden;
    }


    .post .ms-post-item h3 {
        margin-bottom: 0 !important;
    }
}

/* ========================================
   БЛОГ
   ======================================== */

.single-post blockquote {
    border-radius: var(--ms-radius-lg);
}

blockquote p {
    border-radius: 20px;
    /*     line-height: 1.4em; */
    margin-bottom: 0;
    background-color: transparent !important;
}

@media only screen and (max-width: 768px) {
    .single-post blockquote {
        margin-inline-start: 0 !important;
    }
}

.ast-single-related-posts-container {
    max-width: 1400px;
    margin: auto;
}

.ast-single-related-posts-container {
    padding: 20px 10px !important;
}

.ast-related-posts-inner-section .post-thumb-img-content {
    margin: 0;
    position: relative;
    max-height: 250px;
    overflow: hidden;
    border-radius: 20px;
}

.ast-related-post-cta.read-more {
    display: none;
}

.ast-related-post-excerpt {
    margin-bottom: 10px !important;
}

@media (max-width: 1021px) {
    .ast-related-posts-inner-section .post-thumb-img-content img {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }

    .ast-related-posts-inner-section .post-thumb-img-content {
        max-height: 200px;
    }
}

#primary.content-area {
    margin-top: 20px;
}

@media (max-width: 1021px) {
    #primary.content-area {
        margin-top: 0px;
    }
}

.ast-single-entry-banner {
    border-radius: 20px;
    padding: 20px !important;
}

.ast-breadcrumbs-inner p {
    margin-bottom: 0;
}

@media (max-width: 1021px) {
    .ast-container {
        padding: 0 !important;
    }
}

.single-post h2,
.single-post h3 {
    margin-bottom: 20px !important;
}

.post li,
.site-main article li {
    margin: 10px 0;
}


#main>article img {
    border-radius: 20px;
}

.comment-respond {
    margin: 40px 20px 10px 20px !important;
}


.comment-form-textarea textarea {
    border-radius: 20px !important;
}

.comment-reply-title {
    margin-bottom: 10px;
}

#comments {
    padding: 0 !important;
}

.comment-respond {
    margin: 40px;
}

.comments-area textarea#comment,
.comments-area .ast-comment-formwrap input[type="text"] {
    border-radius: 20px !important;
}

/*Blog_Table of Content*/
.table-of-contents {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 20px 0;
    border-radius: 20px;
}

.post .table-of-contents h3 {
    margin: 0 !important;
    cursor: pointer;
    display: flex;
    justify-content: space-between;

}

.table-of-contents ul {
    padding-left: 20px;
    display: block;
    list-style: disc;
    /* 	margin-top: 0 !important; */
    margin-bottom: 0 !important;
}

.post .table-of-contents li {
    font-size: 16px;
    list-style: disc;
}

.table-of-contents li:hover a {
    color: black;
    font-weight: 500;
}

.table-of-contents li a {
    font-size: 16px;
    color: black;
}

.table-of-contents li.toc-level-2 {
    font-weight: 500 !important;
    margin: 10px 0;
    margin-left: 20px;
}

.table-of-contents li.toc-level-3 {
    margin: 5px 0 5px 40px !important;
}


@media only screen and (max-width: 1021px) {
    .table-of-contents li.toc-level-2 {
        margin-left: 10px;
    }

    .table-of-contents li.toc-level-3 {
        margin: 5px 0 5px 30px !important;
    }
}

#toc-icon svg {
    display: inline-block;
    transition: transform 0.3s ease;
}

#toc-list {
    max-height: 500px;
    overflow: hidden;
    transition: 0.5s;
}

.toc-closed #toc-icon svg {
    transform: rotate(180deg);
}

.toc-closed #toc-list {
    max-height: 0;
    margin: 0;
    transition: 0.5s;
}

/*Author box*/

.author-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    padding: 2em;
    background: linear-gradient(98.78deg, #FFFBF9 0%, #E2D6EF 100%);
}

.author-avatar img {
    border-radius: 50%;
}

.author-info {
    display: flex;
    gap: 15px;
}

.author-badge {
    width: auto;
    display: inline;
    background-color: var(--ms-primary);
    padding: 2px 5px 3px 5px;
    color: white;
    border-radius: var(--ms-radius-sm);
}

.author-box p {
    margin-bottom: 0;
}

.author-position {
    font-style: italic;
    color: grey;
    margin-bottom: 15px;
}

.author-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9em;
    color: var(--ms-primary);
}

.author-link:hover {
    text-decoration: underline;
}

.author-link {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-top: 10px;
}


.author-socials {
    display: flex;
    gap: 15px;
    width: 100px;
    margin-left: auto;
}

@media only screen and (max-width: 1021px) {
    .author-box {
        padding: 1em;
    }

    .author-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-link {
        justify-content: center;
    }

    .author-socials {
        margin: auto;
        margin-top: 5px;
    }
}



/* Удалено - заменено на структурированный заголовок */

@media only screen and (min-width: 1022px) {
    .ms-benefits-item:nth-child(1) {
        grid-column: 2/3;
        grid-row: 1/4;
    }
}

/* Удалено - заменено на структурированный заголовок */

.ms-carousel-plans .swiper-wrapper {
    align-items: center;
}

.ms-carousel-plans-btn {
    margin-top: auto;
    transition: .5s;
}

.ms-carousel-plans-btn:hover {
    transform: translatey(-5px);
}

/* Удалено - заменено на структурированный заголовок */

.ms-arrow-after {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
}

.ms-arrow-after:after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    background-image: url('/wp-content/uploads/2024/09/arrow-right-02-round.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 5px;
    vertical-align: middle;
    margin-top: 5px;
}


/*Custom Tags*/

.custom-taxonomies-list ul,
.custom-taxonomies-list li {
    margin: 0 !important;
}

.custom-taxonomies-list {
    padding: 5px 0 20px 0;
    /*     white-space: nowrap; /* Запрещаем перенос текста */
}

.custom-taxonomies-list ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.custom-taxonomies-list li {
    display: inline-block;
    font-size: 14px;
}

.custom-taxonomies-list a {
    text-decoration: none;
    color: var(--ast-global-color-0);
    padding: 5px 10px;
    background: #F6EFF6;
    border-radius: 5px;
    white-space: nowrap;
}

.custom-taxonomies-list a:hover {
    background: #f4e9ff;
    color: var(--ast-global-color-0);
}


/*Other*/


/*Отключение обвотки и голубого перекрытия при нажатии*/
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

button,
button:active,
button:focus {
    outline: none;
}

.elementor-text-editor p:last-of-type {
    margin: 0;
}

.rtl input#form-field-phone {
    text-align: right;
}


/*Icon accessibility*/

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
    font-size: 150%;
    padding: 5px;
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle svg {
    max-width: 20px;
}

/* ========================================
   АНИМАЦИИ FADEIN
   ======================================== */
.ms-fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.ms-fadein.ms-animated {
    opacity: 1;
    transform: translateY(0);
}

.ms-popup-box .ms-phone-number {
    margin-bottom: 0px !important;
}


.ms-popup-box .ms-popup-close {
    background-color: transparent;
    font-size: 26px;
    box-shadow: rgba(212, 202, 223, 0.5) 0px 0px 0px 0px;
}

/* Удалено - дублирует медиа-запрос в основном блоке .ms-btn */


.ms-btn-chat.ms-btn-black:before {
    content: '';
    background-image: url(/wp-content/uploads/2024/10/chat-4.svg);
}





/*Page*/
.page article header.entry-header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0px;
    margin: 20px 0px;
}

.page header.entry-header h1.entry-title {
    text-align: center;
    margin-bottom: 0;
}

.page header.entry-header h1.entry-title::after {
    content: "";
    display: block;
    width: clamp(1%, 50px, 50%);
    height: 3px;
    background: var(--ast-global-color-1);
    background-size: contain;
    background-repeat: no-repeat;
    margin: 15px auto;
}

.ms-container.ms-narrow-container {
    max-width: 900px;
    margin: auto;
}

@media only screen and (max-width: 1021px) {
    .page article header.entry-header {
        margin: 0;
        align-items: start;
        margin: 0 0 20px 0;
    }

    .page article h1.entry-title {
        text-align: start !important;
    }

    .page header.entry-header h1.entry-title::after {
        margin: 15px 0;
    }
}


/*Posts*/


.ast-post-social-sharing {
    margin-top: 40px;
}

.ast-breadcrumbs-wrapper {
    margin-bottom: 0 !important;
}

.ast-breadcrumbs {
    font-size: var(--ms-font-sm);
}

/* .single-post main  p {
	font-size: var(--ms-font-xl);
}

@media only screen and (max-width: 768px) {
	.single-post main  p {
	font-size: 19px;
}	
} */


.single-post main ul {
    margin-bottom: 40px;
}

form.comment-form .ast-comment-formwrap.ast-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

form.comment-form .ast-comment-formwrap.ast-row p {
    margin-bottom: 0;
}

@media only screen and (max-width: 768px) {
    .author-description {
        text-align: center;
        margin-bottom: 10px !important;
    }
}

/*Specialist*/
.specialist-info {
    display: flex;
    gap: 20px;
}

.single-specialists .content-body li {
    margin: 20px 0 20px 20px;
}

.single-specialists .content-body p {
    font-size: var(--ms-font-lg);
}

.single-specialists #primary {
    margin: 20px 0 40px 0 !important;
}

.ms-all-link {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.ms-all-link {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    margin: auto;
}



header .ms-phone-number {
    margin: 0;
}

.rate-card__discount strong {
    font-weight: 500;
}

@media only screen and (max-width: 1021px) {

    .ms-icon-title {
        font-size: var(--ms-font);
    }

    /* Перемещено в раздел CPA */
}


/*Swiper*/
.ms-swiper__head {
    display: flex;
    justify-content: end;
    align-items: center;
    position: relative;
    margin-bottom: 70px;
    width: 100px;
    margin-right: 0;
    margin-left: auto;
}

.swiper {
    margin-top: 20px;
    pointer-events: none;
}

.swiper * {
    pointer-events: auto;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important;
}

.ms-swiper__nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.swiper-button-prev,
.swiper-button-next {
    padding: 5px;
    margin: 0;
    border-radius: 50%;
    border: solid 1px var(--ast-global-color-3);
    height: 30px;
    width: 30px;
    color: var(--ms-border);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {

    border: solid 1px black;

    color: black;
}

.ms-swiper-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: var(--ms-border);
    opacity: .2;
}

.ms-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

.ms-swiper-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    position: static;
}

.swiper-slide {
    width: 90%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .swiper-slide {
        width: 45%;
    }
}

@media (min-width: 1280px) {
    .swiper-slide {
        width: 30%;
    }
}

.ms-blog-card {
    display: flex;
    flex-direction: column;
    height: 100% !important;
}

.ms-blog-card a {
    text-decoration: none;
}


/* .ms-blog-card .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
} */


@media (max-width: 1021px) {
    .ms-swiper__nav {
        display: none;
    }

    .ms-swiper__head {
        margin-bottom: 20px;
    }

    .swiper {
        margin-top: 0px;
    }
}

/*SECTIONS Blog*/

.blog__img-container {
    min-height: 250px;
    border-radius: var(--ms-radius-lg);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-bottom: 15px;
}

.blog__img-banner {
    left: 0;
    top: 0;
    position: absolute;
    background: #FECF41;
    display: inline-block;
    padding: 0px 15px;
    border-radius: 0 0 5px 0;
    font-size: var(--ms-font-sm);
    font-weight: 400;
    color: #221a2a;
}

.blog__owner {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.blog__owner-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.blog__owner-name,
.blog__owner-date-time {
    color: #7a7a7a;
    font-size: var(--ms-font-sm);
    font-weight: 400;
}

.blog__owner-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog__owner-date svg {
    width: 5px;
    height: 5px;
}

.blog__card-title {
    margin-bottom: 10px;
}

.blog__card-tile-link {
    color: #4c4356 !important;
}

.blog__card-more {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog__card-text {
    margin-bottom: 20px;
}

.blog__card-more::after {
    content: "";
    display: inline-block;
    background-image: url(/wp-content/uploads/2024/09/arrow-right-02-round.svg);
    width: 15px;
    height: 15px;
    background-size: cover;
}


/* ========================================
   СЕКЦИЯ STEPS
   ======================================== */

.ms-step-feed {
    gap: 0 !important;
    margin: auto !important;
}

.ms-step * {
    margin: 0;
    margin-inline-start: 0 !important;
}

.ms-step {
    background-repeat: no-repeat;
    background-size: contain;
    display: flex;
    flex-wrap: nowrap;
    gap: var(--ms-space-sm);
    padding: var(--ms-space-lg) 0;
    position: relative;
}

.ms-step-number {
    color: var(--ms-primary);
    font-weight: 100;
    padding: 0 var(--ms-space-sm) var(--ms-space-sm) 0;
}

.ms-step img {
    width: 80px;
    height: 80px;
}

.ms-step h3 {
    margin: 0;
}

.ms-step p {
    margin-bottom: 0;
}

.ms-steps-title  p {
	margin-bottom: 10px;
}


@media (min-width: 1366px) {
    .ms-step {
        min-height: 350px;
    }

    .ms-steps-title {
        gap: var(--ms-space-sm);
    }

    .ms-section-steps .ms-step:nth-of-type(n + 2) {
        margin-top: -43px;
    }

    .ms-step:nth-child(even) {
        background-position: center left;
        justify-content: end;
        flex-direction: row-reverse;
        background-image: url(/wp-content/uploads/2025/06/step-circle-2.png);
    }

    .ms-step:nth-child(even) figure {
        text-align: end;
        padding-inline-end: var(--ms-space-lg);
    }

    .ms-step:nth-child(odd) {
        background-position: center right;
        justify-content: start;
        background-image: url(/wp-content/uploads/2025/06/step-circle-1.png);
    }

    .ms-step-content {
        width: 70%;
        margin: 0 !important;
        gap: var(--ms-space-sm);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .ms-step figure {
        width: 30%;
    }
}

@media (max-width: 1366px) {
    .ms-section-steps * {
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .ms-section-steps .ms-container {
        flex-direction: column;
    }

    .ms-section-steps .ms-divider::after {
        margin: var(--ms-space-md) auto;
    }

    .ms-step-feed {
        max-width: 700px;
    }

    .ms-step-content h3,
    .ms-step-content p {
        text-align: start;
    }

    .ms-step {
        flex-direction: row-reverse;
        align-items: start;
    }

    .ms-step-content {
        width: 80%;
        gap: var(--ms-space-sm);
        padding-top: var(--ms-space-lg);
    }

    .ms-step figure {
        width: 20%;
        height: 100%;
        z-index: 2;
        text-align: center;
    }

    .ms-step-content h3 {
        margin-bottom: var(--ms-space-sm) !important;
    }

    .ms-step:not(:last-child) figure::after {
        content: "";
        position: absolute;
        left: calc(10% - 2px);
        top: 75px;
        bottom: 0;
        width: 4px;
        background-color: #E2D6EF;
        z-index: -1;
    }

    .ms-step img {
        width: 60px;
        height: 60px;
    }
}



/*SECTION Benefits*/
.ms-benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    align-items: flex-start;
    margin-top: 50px !important;
}

.ms-benefits-grid .ms-benefits-item {
    display: flex;
    gap: 20px;
}

@media only screen and (min-width: 1022px) {
    .ms-benefits-img {
        grid-column: 2/3 !important;
        grid-row: 1/4 !important;
    }
}

.ms-benefits-item:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: end;
    text-align: end;
}


.ms-benefits-grid .ms-benefits-item figure {
    width: 20%;
    max-width: 50px;
}




.ms-benefits-item-content {
    width: 80%;
    margin-top: 0;
}

.ms-benefits-item-content p {
    margin-top: 5px;
}


@media (max-width: 1366px) {
    .ms-benefits-item:nth-child(even) {
        flex-direction: row;
        justify-content: start;
        text-align: start;
    }
}

@media only screen and (max-width: 1021px) {

    .ms-benefits-grid {
        grid-template-columns: 1fr;
        align-items: flex-start;
        margin-top: 20px !important;
    }

    .ms-section-benefits figure {
        max-width: 200px;
    }

    .ms-benefits-grid .ms-benefits-item figure {
        max-width: 50px;
    }
}

/*CPA*/
.ms-section-cpa,
.ms-section .ms-section-cpa {
    margin-top: 120px;
    display: flex;
    justify-content: center;
    padding: 0 !important;
    border-radius: var(--ms-radius-lg);
}

.ms-section-cpa .ms-container {
    display: flex;
    gap: 100px;
    max-width: 1400px;
    justify-content: center;
}


/* .ms-section-cpa .ms-icon-title {
    margin-bottom: var(--ms-space-sm);
} */

.ms-cpa-title {
    color: #4c4356;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2em;
    /* 	margin-bottom: 30px; */
    position: relative;
    margin-top: 20px;
}


.ms-cpa-footer .ms-divider::after {
    background: #4c4356;
}

.ms-cpa-img {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: end;
}

.ms-cpa-img img {
    margin: -150px 40px 0px 40px;
    width: auto;
    max-width: 550px;
    height: max-content;
}

.ms-cpa-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* gap: 20px; */
    padding: 40px 0 40px 0;
}

.ms-cpa-content p {
    margin-bottom: 20px;
}

.ms-cpa-content .ms-actions-wrap {
    margin-top: 20px;
}

.ms-cpa-footer img {
    max-width: 457px;
}



@media only screen and (max-width: 1366px) {
    .ms-section-cpa {
        margin: 20px 0;
    }

    .ms-section-cpa .ms-container {
        gap: 50px;
    }

    .ms-cpa-footer-inner {
        gap: 20px;
    }

    .ms-cpa-footer-img {
        width: 40%;
    }

    .ms-cpa-footer-img img {
        margin: 0px 20px;
        width: 100%;
        max-width: 457px;
        height: auto;
    }
}

@media only screen and (max-width: 1366px) and (min-width: 1022px) {
	.ms-section-cpa {
		margin-top: 80px;
	}
}

@media only screen and (max-width: 1021px) {

    .ms-cpa-description {
        text-align: center;
    }

    .ms-cpa-footer {
        border-radius: var(--ms-radius-2xl);
        background-image: linear-gradient(61deg, #FECE3E 0%, #FFCA2E 100%);
        margin: 20px 0 0 0;
        display: flex;
        justify-content: center;
    }

    .ms-section-cpa .ms-container {
        flex-direction: column-reverse;
        justify-content: center;
        padding: 40px 10px 0 10px;
        gap: 0;
    }

    /* .ms-cpa-title {
        margin-bottom: 10px;
    } */

    .ms-cpa-img {
        width: 100%;
        justify-content: center;
    }

    .ms-cpa-img img {
        margin: 0;
        max-height: 400px;
    }

    .ms-cpa-content {
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 0;
    }

    .ms-cpa-title {
        text-align: center;
    }

    .ms-cpa-footer-content p {
        font-size: var(--ms-font-lg);
        line-height: 1.4em;
        margin-bottom: 10px;
    }

    .ms-cpa-content p {
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    .ms-cpa-title:after {
        left: calc(50% - 30px);
        bottom: -20px;
    }

    .ms-cpa-content .ms-actions-wrap {
        margin: 10px auto 10px auto !important;
    }
}

.ms-cpa-footer {
    background-image: linear-gradient(61deg, #FECE3E 0%, #FFCA2E 100%);
    padding: 0 !important;
    margin-bottom: 0;
	width: 100%;
}


/* Accordion */
.ms-accordion {
    border-bottom: 1px solid #ddd;
    max-width: 1000px;
    margin: auto;
    /*   margin-bottom: 16px; */
}

.ms-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 16px;
    transition: background-color 0.3s;
}

/* .ms-accordion-header:hover,
.ms-accordion-header:focus {
  background-color: #f1f1f1;
  outline: none;
} */
.ms-accordion-content {
    overflow: hidden;
    transition: max-height 0.3s ease;
}


.ms-accordion-content div {
    padding: 0 20px 20px;
}

.ms-accordion-icon svg {
    transition: transform 0.3s ease;
}

.ms-accordion-icon.rotated svg {
    transform: rotate(180deg);
}

/* Удалено - объединено с основным блоком .ms-title */

/*All Contact Types*/
.ms-contact-all-types .ms-card figure {
    margin-top: auto;
}


.ms-contact-all-types .ms-card p {
    margin-bottom: 0;
    font-size: var(--ms-font-base);
}

.ms-contact-all-types .ms-card img {
    max-width: 250px;
}

/* Виды связи: сетка + swiper как rates-swiper */
.ms-contact-all-types .ms-our-mission {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    overflow: hidden;
}

.ms-contact-all-types .ms-our-mission-item {
    min-width: 0;
    grid-row: auto;
    grid-column: auto;
}

.ms-contact-all-types .ms-our-mission-item:first-child {
    grid-column: 1;
    grid-row: 1;
}

.ms-contact-all-types .ms-our-mission-item:last-child {
    grid-column: 2 / 4;
    grid-row: 1;
}

.ms-contact-all-types .ms-our-mission-item:first-child img {
    max-width: 100%;
    height: auto;
}

.ms-contact-all-types .swiper {
    max-width: 100%;
    overflow: hidden;
    margin-top: 0;
    min-width: 0;
}

.ms-contact-all-types .swiper .swiper-wrapper {
    align-items: stretch;
    gap: var(--ms-space-lg);
}

.ms-contact-all-types .swiper-slide .ms-box {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

@media (max-width: 1021px) {
    .ms-contact-all-types .ms-our-mission {
        grid-template-columns: 1fr;
    }

    .ms-contact-all-types .ms-our-mission-item:first-child {
        grid-column: 1;
        grid-row: 2;
    }

    .ms-contact-all-types .ms-our-mission-item:last-child {
        grid-column: 1;
        grid-row: 1;
    }
}


/*Sections_К нам чаще всего обращаются*/
.ms-treatment-item>.elementor-widget-container {
    background-color: var(--e-global-color-55b91a2);
    background-position: top center !important;
    background-repeat: no-repeat;
    background-size: 100% 200px;
    border-radius: var(--ms-radius-xl);
    padding: 150px 20px 20px 20px;
}


.ms-treatment-item h3 {
    margin-top: 10px;
}


@media (max-width: 1021px) {

    .ms-treatment-item>.elementor-widget-container {
        padding: 110px 20px 20px 20px;
        background-size: 350px 150px;
    }
}

@media (max-width: 544px) {

    .ms-treatment-item>.elementor-widget-container {
        padding: 40px 20px 20px 20px;
        background-size: 200px 80px;
    }

    .ms-treatment-item svg {
        width: 0.7em;
    }
}

/*BugFix*/
.e-con>.e-con-inner>.elementor-widget>.elementor-widget-container,
.e-con>.elementor-widget>.elementor-widget-container {
    height: auto;
}

.ms-non-margin {
    margin: 0;
}

/*Contacts*/
.ms-phone-number {
    text-align: center;
    font-size: 26px;
    font-weight: 500;
    margin: 0 0 0 -25px;
}

.ms-phone-number img {
    margin-top: -3px;
}

.ms-hot-line {
    font-size: var(--ms-font-xs);
    text-align: center;
    line-height: 1.4;
}

/* .ms-phone-number a {
    display: flex;
    gap: 5px;
    font-family: Euclid Circular A;
    font-size: 24px;
    font-weight: 500;
    align-items: center;
    color: var(--ast-global-color-2);
} */
#ast-mobile-popup .ms-phone-number {
    margin-left: 0px;
    margin-top: 0px;
}


/*Header Menu*/
.sub-menu .menu-link {
    padding: 10px 15px !important;
}

.sub-menu {
    border-radius: 20px !important;
    overflow: hidden;
}

header .current-menu-item {
    justify-content: start !important;
    padding-inline-start: 15px;
}


/* Удалено - дублирует заголовок выше */
.ms-btn {
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--ms-radius-xl);
    padding: 13px 30px 13px 30px !important;
    color: var(--ms-text) !important;
    font-size: var(--ms-font-lg) !important;
    box-shadow: 0px 4px 20px -2px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer;
    transition: var(--ms-transition-slow);
    box-sizing: border-box;
    /* Учитываем padding в общей ширине */
    max-width: 100%;
    /* Не выходим за границы родителя */
}

@media only screen and (max-width: 1021px) {
    .ms-btn {
        width: 100%;
    }
}

.ms-btn:hover {
    transform: translatex(-5px);
}

.ms-btn-primary {
    border: solid 1px var(--ast-global-color-1) !important;
    background-color: var(--ast-global-color-1) !important;
    border: solid 1px var(--ast-global-color-1) !important;
}

.ms-btn-secondary {
    background-color: transparent !important;
    border: solid 1px var(--ast-global-color-3) !important;
}

.ms-btn:before {
    display: inline-flex;
    background: center center / contain no-repeat;
    height: 20px;
    width: 20px;
    padding-bottom: 3px;
}

header .ms-btn:before {
    margin-inline-end: 10px;
}

.ms-btn-phone:before {
    content: '';
    background-image: url('/wp-content/uploads/2024/09/calling.svg');
}

.ms-btn-chat:before,
.ms-cpa-footer .ms-button-phone:after {
    content: '';
    background-image: url('/wp-content/uploads/2024/09/elements-8.svg');
}

.ms-btn-black {
    background-color: black !important;
    color: white !important;
}

.ms-btn-black :before {
    content: '';
    background-image: url('/wp-content/uploads/2024/09/bubble-chat-add-1.svg') !important;
}

.ms-btn-text {
    text-align: center;
}

/**Исправления темы**/

.ast-article-single {
    padding: 0 !important;
}









/* ========================================
   СЕКЦИИ САЙТА
   ======================================== */
.ms-our-mission-item:nth-child(1) {
    grid-column: 1/2;
    /* grid-row: 1/4; */
}

.ms-our-mission-item:nth-child(2) {
    grid-column: 2/4;
    grid-row: 1/2;
}

.ms-our-mission-item:nth-child(3) {
    grid-column: 2/4;
    grid-row: 2/4;
}

/* .ms-our-mission-item p {
	    margin-bottom: 0;
} */

.ms-card-title.ms-divider:after {
    margin-top: 10px;
    margin-bottom: 10px;
}

.ms-our-mission figure {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 1000px) {
    .ms-our-mission-item:nth-child(1) {
        grid-column: 1/2;
        grid-row: 1/2;
    }

    .ms-our-mission-item:nth-child(2) {
        grid-column: 2/4;
        grid-row: 1/2;
    }

    .ms-our-mission-item:nth-child(3) {
        grid-column: 1/4;
        grid-row: 2/4;
    }
}

@media only screen and (max-width: 1021px) {
    .ms-our-mission-item:nth-child(1) {

        grid-column: 1/4;
        grid-row: 2/3;
    }

    .ms-our-mission-item:nth-child(2) {
        grid-column: 1/4;
        grid-row: 1/2;
    }

    .ms-our-mission-item:nth-child(3) {
        grid-column: 1/4;
        grid-row: 3/4;
    }

    .ms-our-mission-item p {
        text-align: center;
    }
}


/*Rates (Price Table)*/
/*SECTIONS Rates*/
.rate-card p {
    margin-bottom: 0;
}

.rate-card .ms-title {
    margin-bottom: 0;
}

.rate-card {
    height: max-content;
    border-radius: var(--ms-radius-2xl);
    margin: 0 !important;
    max-width: min(100%, 400px);
    box-sizing: border-box;
    width: 90%;
}

.rate-card:not(.best) .ms-price {
    margin-top: var(--ms-space-sm);
}

.rate-card ins bdi {
	color: var(--ms-primary);
}

.rate-card.best {
    padding: 3px;
    background-image: linear-gradient(123deg, var(--ms-primary) 0%, var(--ms-secondary) 50%);
    border-radius: var(--ms-radius-2xl);
}

.rate-card__best {
    padding: var(--ms-space-md) var(--ms-space-sm);
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    margin: 0 !important;
    font-size: var(--ms-font-lg);
    font-weight: 500;
}

.rate-card__content {
    background: color-mix(in srgb, var(--ms-bg) 92%, white);
    border-radius: var(--ms-radius-2xl);
    padding: var(--ms-space-md) var(--ms-space-lg) var(--ms-space-lg);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
}

.rate-card__content .ms-title {
    text-align: start !important;
}

.rate-card.best .rate-card__content {
    border-radius: 0 0 var(--ms-radius-2xl) var(--ms-radius-2xl);
}

.rates-swiper {
    max-width: 100%;
    overflow: hidden;
}

.rates-swiper .swiper-wrapper {
    /* 	justify-content: center; */
    align-items: center;
    gap: var(--ms-space-lg);
}

.ms-price {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 0;
}


.ms-price ins bdi {
    font-size: var(--ms-font-5xl);
    line-height: 1;
    font-weight: 500;
}

.ms-price .woocommerce-Price-currencySymbol {
    font-size: var(--ms-font-xl);
    font-weight: normal;
    margin-inline-start: calc(var(--ms-space-sm) * -1);
}

.ms-price del {
    width: 100%;
    opacity: 0.7;
}

.ms-price del .woocommerce-Price-currencySymbol {
    margin-inline-start: -2px;
}



.rate-card__button {
    text-align: center;
}
.ms-price {
	position: relative;
}

.rate-card__period-label--tag {
    display: inline-block;
    padding: var(--ms-space-xs) var(--ms-space-sm);
    border-radius: var(--ms-radius-lg);
    font-size: var(--ms-font-sm);
    line-height: 1;
    font-weight: 600;
    color: color-mix(in srgb, var(--ms-primary) 82%, black);
    background: color-mix(in srgb, var(--ms-primary) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--ms-primary) 24%, transparent);

}

.rate-card__period-label {
    background: var(--ms-primary);
    padding: var(--ms-space-xs) var(--ms-space-sm);
    border-radius: var(--ms-radius-lg);
    font-size: var(--ms-font-sm);
    line-height: 1.2;
    font-weight: 500;
    color: #fff;
    margin-top: var(--ms-space-sm);
}

.rate-card.best .rate-card__period-label--tag {
    color: color-mix(in srgb, var(--ms-secondary) 55%, black);
    background: color-mix(in srgb, var(--ms-secondary) 25%, transparent);
    border-color: color-mix(in srgb, var(--ms-secondary) 65%, transparent);
}

.ms-price .rate-card__period-label--tag {
    margin-top: var(--ms-space-sm);
}

.rate-card__list {
    list-style: none;
    margin: 0 0 var(--ms-space-sm) 0;
    padding: 0;
}


.rate-card__list-item {
    position: relative;
    padding-left: calc(var(--ms-space-lg) + var(--ms-space-xs));
    font-size: var(--ms-font-lg);
    line-height: 1.4em;
    margin: var(--ms-space-sm) 0;
}

.rate-card__list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: var(--ms-font-lg);
    height: var(--ms-font-lg);
    background-color: var(--ms-primary);
    mask-image: url('/wp-content/uploads/2025/06/check.svg');
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-image: url('/wp-content/uploads/2025/06/check.svg');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
}


.ms-switcher {
    display: flex !important;
    gap: var(--ms-space-sm);
}

.ms-switcher:not(.ms-switcher--segmented) label {
    font-size: var(--ms-font-sm);
    cursor: pointer;
}

/* Сегментированный переключатель: 3 пункта в одну строку (паттерн iOS / Material) */
.ms-switcher--segmented {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: var(--ms-space-sm) 0;
    padding: max(2px, calc(var(--ms-space-xs) / 2));
    gap: max(1px, calc(var(--ms-space-xs) / 5));
    border-radius: var(--ms-radius-md);
    background: color-mix(in srgb, var(--ms-border) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--ms-border) 28%, transparent);
}

.ms-switcher--segmented.ms-switcher--segmented-compact {
    margin: var(--ms-space-xs) 0 var(--ms-space-sm);
    padding: max(2px, calc(var(--ms-space-xs) / 2.5));
    gap: max(1px, calc(var(--ms-space-xs) / 5));
    border-radius: var(--ms-radius-md);
}

.rate-card.best .ms-switcher--segmented {
    background: color-mix(in srgb, var(--ms-secondary) 16%, transparent);
    border-color: color-mix(in srgb, var(--ms-secondary) 40%, transparent);
}

.ms-switcher--segmented .ms-switcher__option {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    display: block;
    text-align: center;
    cursor: pointer;
}

.ms-switcher--segmented .ms-switcher__option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.ms-switcher--segmented .ms-switcher__pill {
    display: block;
    padding: var(--ms-space-xs) 2px;
    font-size: var(--ms-font-xs);
    line-height: 1.2;
    font-weight: 600;
    border-radius: var(--ms-radius-sm);
    color: var(--ms-text);
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.ms-switcher--segmented.ms-switcher--segmented-compact .ms-switcher__pill {
    padding: var(--ms-space-xs) 2px;
    font-size: var(--ms-font-xs);
    border-radius: var(--ms-radius-sm);
}

.ms-switcher--segmented .ms-switcher__option:has(input:checked) .ms-switcher__pill,
.ms-switcher--segmented .ms-switcher__option--selected .ms-switcher__pill {
    background: #fff;
    color: var(--ms-primary);
    box-shadow: 0 1px 2px color-mix(in srgb, var(--ms-text) 8%, transparent);
}

.rate-card.best .ms-switcher--segmented .ms-switcher__option:has(input:checked) .ms-switcher__pill,
.rate-card.best .ms-switcher--segmented .ms-switcher__option--selected .ms-switcher__pill {
    color: color-mix(in srgb, var(--ms-secondary) 45%, black);
    box-shadow: 0 1px 2px color-mix(in srgb, var(--ms-secondary) 18%, transparent);
}

.ms-switcher--segmented .ms-switcher__option:has(input:focus-visible) .ms-switcher__pill,
.ms-switcher--segmented .ms-switcher__option input:focus-visible + .ms-switcher__pill {
    outline: 2px solid var(--ms-primary);
    outline-offset: 1px;
}

.rate-card.best .ms-switcher--segmented .ms-switcher__option:has(input:focus-visible) .ms-switcher__pill,
.rate-card.best .ms-switcher--segmented .ms-switcher__option input:focus-visible + .ms-switcher__pill {
    outline-color: var(--ms-secondary);
}

@media (prefers-reduced-motion: reduce) {
    .ms-switcher--segmented .ms-switcher__pill {
        transition: none;
    }
}

.rate-card__list-item svg {
    position: absolute;
    right: calc(100% + var(--ms-space-xs));
    top: 0;
}

.rate-card__list-item span {
    margin: 0;
}

.rate-card__button {
    width: 100%;
    box-sizing: border-box;
}

.rate-card__details-link {
    display: block;
    margin-top: var(--ms-space-sm);
    text-align: center;
    font-size: var(--ms-font-sm);
    line-height: 1.3;
    font-weight: 500;
    text-underline-offset: 3px;
    color: grey;
}

.rate-card__details-link:hover,
.rate-card__details-link:focus-visible {
    text-decoration: underline;
    color: black;
}

/* .rate-card.best .rate-card__details-link {
    color: color-mix(in srgb, var(--ms-secondary) 50%, black);
}

.rate-card.best .rate-card__details-link:hover,
.rate-card.best .rate-card__details-link:focus-visible {
    color: color-mix(in srgb, var(--ms-secondary) 35%, black);
} */


.ms-swiper-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: var(--ms-border);
    opacity: .2;
}

.ms-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

.ms-swiper-pagination {
    display: flex;
    justify-content: center;
}

.ms-our-doctors .ms-card {
    padding: 0 10px 20px 10px !important;
}

.ms-our-doctors .ms-card p,
.ms-our-doctors .ms-card h3 {
    margin: 0;
}

/* Инлайн-иконка стрелки через псевдоэлемент */
.ms-arrow-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 4px;
    position: relative;
}

.ms-arrow-icon a,
.ms-arrow-icon:hover a {
    text-decoration: none !important;
    color: var(--ast-global-color-0);
}

.ms-arrow-icon::after {
    content: '';
    display: block;
    width: 25px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='25' height='24' viewBox='0 0 25 24' fill='none'%3E%3Cpath d='M20.5003 11.9998L4.50024 11.9998' stroke='%23AB2A85' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3Cpath d='M15.5003 17C15.5003 17 20.5002 13.3176 20.5002 12C20.5003 10.6824 15.5002 7 15.5002 7' stroke='%23AB2A85' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* ========================================
   TESTIMONIAL CARD (Loops Component)
   ======================================== */

.ms-testimonial-card {
    display: flex;
    flex-direction: column;
    background: var(--ms-bg, #fff);
    border-radius: var(--ms-radius-md, 10px);
    padding: var(--ms-space-xl, 30px);
    gap: var(--ms-space-lg, 20px);
    height: 100% !important;
}

.ms-testimonial-card__content {
    flex: 1;
}

.ms-testimonial-card__text {
    font-size: var(--ms-font-lg, 18px);
    line-height: 1.5;
}

.ms-testimonial-card__footer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--ms-space-md, 15px);
    align-items: start;
}

.ms-testimonial-card__avatar {
    width: 100px;
    height: 100px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 10px;
}

.ms-testimonial-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ms-testimonial-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ms-testimonial-card__date {
    font-size: var(--ms-font-sm, 14px);
    color: var(--ms-text, #4C4356);
    opacity: 0.6;
    line-height: 1.2;
}

.ms-testimonial-card__name {
    font-size: var(--ms-font-base, 16px);
    font-weight: 600;
    color: var(--ms-text, #4C4356);
    line-height: 1.2;
}

.ms-testimonial-card__rating {
    display: flex;
    gap: 3px;
    margin-top: 4px;
}

.ms-testimonial-card__star {
    width: 18px;
    height: 18px;
    fill: #e0e0e0;
    transition: fill 0.2s ease;
}

.ms-testimonial-card__star--filled {
    fill: #ffc107;
}

@media only screen and (max-width: 1021px) {
.ms-testimonial-card {
    background: white;
    padding: var(--ms-space-lg, 20px);
    }

    .ms-testimonial-card__footer {
        gap: var(--ms-space-sm, 10px);
    }

    .ms-testimonial-card__avatar {
        width: 50px;
        height: 50px;
    }
}

.state-loading {
    position: relative;
    pointer-events: none;
    color: transparent !important;
    background: rgb(254, 207, 65) !important;
}

.state-loading:before {
    content: "";
    display: inline-block;
    width: 4rem;
    height: 4rem;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBzdHlsZT0iIiB3aWR0aD0iMjAwcHgiIGhlaWdodD0iMjAwcHgiIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+CjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIHI9IjAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0U5QjQzRSIgc3Ryb2tlLXdpZHRoPSIyIj4KICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxcyIgdmFsdWVzPSIwOzQwIiBrZXlUaW1lcz0iMDsxIiBrZXlTcGxpbmVzPSIwIDAuMiAwLjggMSIgY2FsY01vZGU9InNwbGluZSIgYmVnaW49IjBzIi8+CiAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMXMiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBrZXlTcGxpbmVzPSIwLjIgMCAwLjggMSIgY2FsY01vZGU9InNwbGluZSIgYmVnaW49IjBzIi8+CjwvY2lyY2xlPjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIHI9IjAiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2VlZSIgc3Ryb2tlLXdpZHRoPSIyIj4KICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxcyIgdmFsdWVzPSIwOzQwIiBrZXlUaW1lcz0iMDsxIiBrZXlTcGxpbmVzPSIwIDAuMiAwLjggMSIgY2FsY01vZGU9InNwbGluZSIgYmVnaW49Ii0wLjVzIi8+CiAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ib3BhY2l0eSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMXMiIHZhbHVlcz0iMTswIiBrZXlUaW1lcz0iMDsxIiBrZXlTcGxpbmVzPSIwLjIgMCAwLjggMSIgY2FsY01vZGU9InNwbGluZSIgYmVnaW49Ii0wLjVzIi8+CjwvY2lyY2xlPgo8L3N2Zz4=) no-repeat center/cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 22;
}



.ms-btn-icon img {
    border-radius: 0 !important;
}

.ms-actions-wrap .ms-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ms-popup-box .ms-phone-number {
    margin-bottom: 0px !important;
}


.ms-popup-box .ms-popup-close {
    background-color: transparent;
    font-size: 26px;
    box-shadow: rgba(212, 202, 223, 0.5) 0px 0px 0px 0px;
}




a.open-chat {
    cursor: pointer;
}


.ms-testimonial-card__content {
    overflow-y: auto;
    max-height: 390px;
}


@media only screen and (max-width: 768px) {
    .ms-hero-image {
        margin-top: 20px;
    }

    .ms-two-columns {
        margin-top: 0 !important;
    }
}

@media only screen and (max-width: 768px) {
    .ms-section {
        padding: 30px 0;
    }
}


.ms-our-mission-reverse .ms-our-mission-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    width: 100%;
}


.ms-our-mission-reverse .ms-our-mission-item:nth-child(2) {
    grid-column: 1 / 4;
    grid-row: 1 / 2;
    width: 100%;
}

.ms-our-mission-reverse .ms-our-mission-item:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 4;
}


@media only screen and (max-width: 1021px) {

    .ms-our-mission-item p {
        margin: 0;
    }

    .ms-our-mission-reverse .ms-our-mission-item:nth-child(1) {
        grid-column: 1 / 4;
        grid-row: 3 / 4;
    }


    .ms-our-mission-reverse .ms-our-mission-item:nth-child(2) {
        grid-column: 1 / 4;
        grid-row: 1 / 2;
    }

    .ms-our-mission-reverse .ms-our-mission-item:nth-child(3) {
        grid-column: 1 / 4;
        grid-row: 2 / 3;
    }

    .ms-our-mission-reverse .ms-our-mission-item:nth-child(3) img {
        margin-top: -30px;
    }
}

@media only screen and (max-width: 768px) {

    .rate-card .ms-divider::after,
    .rate-card hr.ms-divider {
        margin: 10px 0 !important;
    }

    ul.rate-card__list {
        margin: 0 !important;
    }
}

@media only screen and (max-width: 768px) {

	.rate-card .ms-divider::after,
	.rate-card hr.ms-divider {
		margin: 10px 0 !important;
	}

	ul.rate-card__list {
		margin: 0 !important;
	}

	.wp-block-woocommerce-accordion-panel {
		margin-top: 0px !important;
	}
	.wp-block-woocommerce-accordion-item {
		margin-top: 10px;
	}
}


.ms-card-icon {
    max-width: 80px;
}


.wp-block-accordion  {
	width: 100%;
}

.wp-block-accordion-heading > button,
.wp-block-accordion-heading > button:hover,
.wp-block-accordion-heading > button:hover {
	border-radius: 0;
	background: none;
}

.ms-trust-grid {
	width: 100%;
}

.ms-trust-grid p {
	margin-bottom: 0;
}

.ms-trust-counters-block h3 {
	font-size: var(--ms-font-4xl);
}


@media only screen and (max-width: 1021px) {
	.ms-section-comfort p {
		text-align: center;
	}
}




/*areas*/
.ms-areas-content {
	display: flex;
	flex-direction: column;
	gap: 20px;
	z-index: 1;
}

 
.ms-section-areas .ms-card {
	flex-direction: row;
	align-items: center;
	justify-content: start;
	gap: 20px;
	border-radius: var(--ms-radius-xl);
}

.ms-section-areas * {
	margin: 0;
/* 	text-align: start; */
}

.ms-section-areas .ms-card-icon {
		margin: 0;
}


.ms-section-areas .ms-card-title {
	font-size: var(--ms-font-2xl);
		text-align: start;
}
.ms-section-areas .ms-card-title:after {
	display: none;
}

.ms-section-areas .ms-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.ms-areas-img {
	transform: scale(1.4);
}

.ms-section-areas .ms-card-grid  a.ms-btn-primary {
	background: none !important;
	border:none !important;
	box-shadow: none !important;
	font-size: var(--ms-font-sm, 14px) !important;
	text-transform: none !important;
	padding: 0 !important;
	color: var(--ms-primary) !important;
	text-align: start;
}

.ms-card-subtitle {
	margin: 0;
}

.ms-section-areas .ms-card-subtitle {
	margin: 0 !important;
	text-align: start;
}

.ms-section-areas * {
    margin: 0;
}



@media (max-width: 1021px) {
	.ms-section-areas .ms-card-grid {
		margin-top: 20px;
	}
	
	.ms-section-areas .ms-title {
		text-align: center;
	}
	
		.ms-section-areas .ms-card .ms-title {
		text-align: start;
	}
	.ms-areas-img {
		transform: none;
		text-align: center;
	}
}


.ms-section-areas .ms-card-icon {
    margin: 0;

}