/*
 Theme Name: Apricotspace
 Author: Apricotspace
 Description: A custom WordPress theme for Apricotspace project
 Version: 1.0
 Text Domain: apricotspace
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat Arm", sans-serif;
}
html, body {
    height: 100%;
}
    /* Light (300) */
@font-face {
    font-family: "Montserrat Arm";
    src: url("fonts/MontserratArmLight/Montserratarm-Light.woff2") format("woff2"), url("fonts/MontserratArmLight/Montserratarm-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Regular (400) */
@font-face {
    font-family: "Montserrat Arm";
    src: url("fonts/MontserratArmRegular/Montserratarm-Regular.woff2") format("woff2"), url("fonts/MontserratArmRegular/Montserratarm-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium (500) */
@font-face {
    font-family: "Montserrat Arm";
    src: url("fonts/MontserratArmMedium/Montserratarm-Medium.woff2") format("woff2"), url("fonts/MontserratArmMedium/Montserratarm-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* SemiBold (600) */
@font-face {
    font-family: "Montserrat Arm";
    src: url("fonts/MontserratArmSemiBold/Montserratarm-SemiBold.woff2") format("woff2"), url("fonts/MontserratArmSemiBold/Montserratarm-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
/* Bold (700) */
@font-face {
    font-family: "Montserrat Arm";
    src: url("fonts/MontserratArmBold/Montserratarm-Bold.woff2") format("woff2"), url("fonts/MontserratArmBold/Montserratarm-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ExtraBold (800) */
@font-face {
    font-family: "Montserrat Arm";
    src: url("fonts/MontserratArmExtraBold/Montserratarm-ExtraBold.woff2") format("woff2"), url("fonts/MontserratArmExtraBold/Montserratarm-ExtraBold.woff") format("woff");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --main-color: rgba(0, 0, 0, 1);
    --gray: rgba(238, 239, 242, 1);
    --bordergray: rgba(208, 208, 208, 1);
    --white: rgba(255, 255, 255, 1);
    --green: rgba(125, 194, 76, 1);
    --blue: rgba(86, 168, 221, 1);
    --greydark: rgba(120, 117, 121, 1);
}
body {
    color: var(--main-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 104px;
}

a {
    text-decoration: none;
}

.mx-auto {
    margin: 0 auto;
}
main {
    padding-bottom: 50px;
    flex: 1;
}
.object-contain {
    object-fit: contain;
}
.object-cover {
    object-fit: cover;
}
.overflow-hidden{
    overflow: hidden;
}
.relative{
    position: relative;
}
.breadcrumbs {
    margin: 15px 0;
    font-size: 0;
}
.breadcrumbs a {
    font-size: 12px;
    font-weight: 400;
    color: var(--greydark);
    background: url("/wp-content/uploads/2025/09/bredcrumps_icon.png") no-repeat right center;
    padding-right: 16px;
    margin-right: 8px;
}
.breadcrumbs strong {
    font-size: 12px;
    font-weight: 400;
    color: var(--main-color);
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 50px auto 0;
}
.pagination span,
.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: 10px;
    color: var(--main-color);
}
.pagination span[aria-current="page"] {
    color: var(--white);
    background-color: var(--blue);
}
/* --- NEXT BUTTON --- */
.pagination .next {
    background: url("/wp-content/uploads/2025/09/pagination_arrow.png") no-repeat right center;
    padding-right: 30px;
}

/* --- PREV BUTTON --- */
.pagination .prev {
    position: relative;
    padding-left: 28px;
}

/* arrow inside prev */
.pagination .prev::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 16px;
    background: url("/wp-content/uploads/2025/09/pagination_arrow.png") no-repeat center / cover;
    transform: rotate(180deg);
    translate: 0 -50%;
}

/* --- DISABLED STATE --- */
.pagination .prev.disabled,
.pagination .next.disabled {
    color: rgba(0, 0, 0, 0.3);
    cursor: default;
    pointer-events: none;
}

/* grey/transparent arrows in disabled */
.pagination .prev.disabled::before,
.pagination .next.disabled {
    opacity: 0.3;
    filter: grayscale(100%);
}

ul,
ol {
    padding-left: 30px;
}
#menu-footer-menu-1,
#menu-footer-menu-2,
#menu-footer-menu-3{
    padding-left: 0;
    min-width: 280px;
    text-align: center;
}
.text-green {
    color: var(--green);
}
.text-greydark {
    color: var(--greydark);
}
.text-primary {
    color: var(--main-color);
}
#home .swiper-pagination{
    bottom: 0;
}
.single-product table{
    border-collapse: collapse;
    width: 100%;
}
.single-product table{
    margin: 50px 0;
}
.single-product table tr th,
.single-product table tr td {
    border:1px solid var(--bordergray);
    padding: 8px 12px;
}
.single-product table tr td ul{
    margin: 0;
    padding: 0 0 0 25px;
}

/*.swiper-slide .slide-button{*/
/*    display: inline-block;*/
/*    padding: 12px 24px;*/
/*    background-color: var(--green);*/
/*    color: var(--white);*/
/*    border-radius: 50px;*/
/*    font-weight: 500;*/
/*    font-size: 14px;*/
/*    line-height: 20px;*/
/*    letter-spacing: 0.1px;*/
/*    text-align: center;*/
/*}*/
.swiper-pagination-bullet-active{
    background-color: var(--green) !important;
}
#home .slider-section .swiper-pagination-bullet{
    border: 2px solid var(--green);
    background-color: transparent;
    width: 10px;
    height: 10px;
}
#home .swiper-button-next,
#home .swiper-button-prev{
    color: var(--main-color);
    top: 45%;
}
#home  .swiper-button-next{
    right: 7px;
}

#home  .swiper-button-prev{
    left: 7px;
}
.mt-auto {
    margin-top: auto;
}
.ml-auto {
    margin-left: auto;
}
.mb-0 {
    margin-bottom: 0 !important;
}
h1 {
    font-size: 22px;
    line-height: 30px;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 5px;
}
h2 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 10px;
}
h3 {
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    color: var(--main-color);
    margin-bottom: 10px;
}
p, ul li {
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    color: var(--main-color);

}
p,ul,ol{
    margin-bottom: 5px;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.flex-col {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}
.items-center {
    align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -ms-flex-pack: center;
}
.justify-content-between {
    justify-content: space-between;
}
.grid {
    display: grid;
}
.w-full {
    width: 100%;
}
.container {
    max-width: 1420px;
    margin: 0 auto;
    padding: 0 15px;
}
.text-center {
    text-align: center;
}
.bg-gray {
    background: var(--gray);
}
.bg-white {
    background: var(--white);
}

/* start slider styles*/
.slider-section {
    position: relative;
    /*width: 100%;*/
    overflow: hidden;
    padding-bottom: 35px;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 100px;
    transform: translateY(-50%);
    color: #fff;
    /*background: rgba(0, 0, 0, 0.5);*/
    /*padding: 10px 15px;*/
    /*border-radius: 6px;*/
}
.slide-text h2{
    margin-bottom: 14px;
}
.slide-text p{
    color: currentColor;
}
.slide-button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #0073e6;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
}


.opinion-slider .swiper-slide {
    display: flex;
    justify-content: center;
}

.opinion-slider .testimonial {
    background: #fff;
    padding: 30px 10px;
    text-align: center;
    border-radius: 20px;
    /*box-shadow: 0 2px 10px rgba(0,0,0,0.1);*/
}
#home .ti-inner{
    border: 1px solid var(--bordergray) !important;
    box-shadow: none !important;
}
#home .ti-widget.ti-goog .ti-review-header .ti-profile-img{
    margin-top: 0 !important;
}
#home .ti-widget.ti-goog .ti-review-header .ti-profile-img img{
    min-width: 75px !important;
    min-height: 75px !important;
}
#home .ti-widget.ti-goog .ti-reviews-container-wrapper{
    padding-top: 0;
    padding-bottom: 0;
}

#home .ti-widget.ti-goog:not(.ti-no-profile-img) .ti-review-header .ti-platform-icon{

}
.opinion-slider .testimonial img {

    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 10px;

}
.opinion-slider .testimonial p{
    font-weight: 400;
    font-size:15px;
}

.opinion-slider .author{
    display: block;
    font-weight: 700;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
    margin-bottom: 5px;
}
.opinion-slider .role{
    display: block;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    margin-bottom: 5px;
}
.rating {
    color: #ffb400; /* Star color */
}

.opinion-date{
    display: block;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}

/* end slider styles*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
}

.header-top {
    display: flex;
    /*justify-content: space-between;*/
    align-items: center;
    padding: 10px 0;
}

.header-top-logo img {
    height: 30px;
    min-width: 110px;
}

.header-top-menu,
.header-bottom-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}
.header-top-menu{
    margin-left: auto;
}
.header-top-menu a,
.header-bottom-menu a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: var(--main-color);

}
.header-top-menu a:hover,
.header-bottom-menu a:hover {
    color: var(--green);
}
.header-bottom-menu a {
    font-weight: 600;
    font-size: 14px;
}
.header-top-menu a{
    color: rgba(0, 0, 0, 0.7);
    font-weight: 500;
    font-size: 13px;
}


.header-top-menu ul,
.header-bottom-menu ul {
    list-style: none;
    display: flex;
    gap: 33px;
}
.header-top-menu ul li,
.header-bottom-menu ul li{
    position: relative;

}

.header-top-menu ul .sub-menu,
.header-bottom-menu ul .sub-menu{
    display: none;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 10px;
    gap:12px;
    padding: 15px;
    box-shadow: 0 4px 15px 1px rgba(0, 0, 0, 0.25);
    position: absolute;
    top:30px;
    z-index: 10;
    min-width: 150px;
}
.header-top-menu ul .sub-menu li:not(:last-child),
.header-bottom-menu ul .sub-menu li:not(:last-child){
    border-bottom: 1px solid var(--greydark);
    padding-bottom: 12px;
}

.header-top-menu ul li:focus-within .sub-menu,
.header-bottom-menu ul li:focus-within .sub-menu{
    display: flex;
}

.header-top-menu ul li.menu-item-has-children > a,
.header-bottom-menu ul li.menu-item-has-children > a{
    display: flex;
    align-items: center;
    background: url("/wp-content/uploads/2025/10/header_menu_arrow.png") no-repeat right center;
    padding-right: 19px;
}

.header-top-contacts {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.header-top-contacts a{
    display: inline-block;
 color: var(--green);
    font-weight: 400;
    font-size: 13px;
}
.header-top-contacts a img{
    min-width: 20px;
    width: 20px;
}

.search-language {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-language select {
    padding: 5px;
}

.search-language img {
    height: 20px;
}

.header-bottom-menu {
    padding: 10px 20px;
    background-color: #fff;
    border-top: 1px solid #ddd;
}
.header-bottom-menu_container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0;
}
/*.bottom-menu {*/
/*    display: flex;*/
/*    gap: 1.5rem;*/
/*}*/
.basket {
    display: inline-block;
    margin-left: 68px;
    position: relative;
}

.basket .cart-count {
    position: absolute;
    top: -15px;
    right: -15px;
    min-width: 20px;          /* enough for 1–2 digits */
    padding: 0 6px;           /* extra space for 3+ digits */
    height: 20px;
    background-color: var(--green);
    color: var(--white);
    border-radius: 9999px;    /* stays round/oval as needed */
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    white-space: nowrap;      /* prevents wrapping */
    box-sizing: border-box;
}

#searchform div {
    display: flex;
    align-items: center;
    gap: 5px;
}
/*#searchsubmit {*/
/*    font-size: 0;*/
/*    border: none;*/
/*    width: 24px;*/
/*    height: 24px;*/
/*    cursor: pointer;*/
/*    background: url("/wp-content/uploads/2025/09/search_icon.png") no-repeat center;*/
/*}*/
/* Container */
/* Container for search */
.search {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon{
    background-color: transparent;
    border:0;
    padding: 5px;
    z-index: 100;
    width: 20px;
    margin:0 10px;
    cursor: pointer;
}
.search-icon:focus{
    outline: 0;
}
/* Hide input by default */
.searchform {
    position: absolute;
    right: 0;
    top: 0;
    opacity: 0;
    display: none;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
    align-items: center;
}

/* When active, slide input in */
.search.active .searchform {
    transform: translateX(-5%);
    pointer-events: auto;
    opacity: 1;
    display: flex;
}

/*!* Style input *!*/
/*.searchform .search-field {*/
/*    width: 200px; !* adjust as needed *!*/
/*    padding: 5px 30px 5px 10px;*/
/*    border: 1px solid #ccc;*/
/*    border-radius: 4px;*/
/*    transition: width 0.3s ease;*/
/*}*/

/* Hide submit button, optional if you want auto submit on Enter */
.searchform #searchsubmit {
    display: none;
}
.searchform input{
    background-color: var(--white);
    border-radius: 8px;
    padding: 5px 14px;
    max-width: 315px;
    width: 250px;
    border:0;
}
.searchform input:focus{
    outline: none;
}


.language-switch {
    position: relative;
    width: 80px;
}

.lang-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6px;
    cursor: pointer;
    border: 0;
}

.lang-btn img {
    width: 20px;
    margin-right: 0;
    border-radius: 0 !important;
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -35%;
    right: 0;
    width: 120px;
    background: var(--white);
    border-radius: 10px;
    gap:12px;
    padding: 15px;
    list-style: none;
    margin: 0;
    z-index: 9999;
    box-shadow: 0 4px 15px 1px rgba(0, 0, 0, 0.25);
}

.lang-menu li {
    padding: 6px 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    transition: background-color 0.3s ease;

}

.lang-menu li:hover {
    background-color: var(--gray);
}

.lang-menu li img {
    width: 27px;
    height: 20px;
    margin-right: 8px;
}

/* Show on hover or with JS toggle */
.language-switch:focus-within .lang-menu {
    display: block;
}


li.product {
    width: 341px !important;
    height: 107px !important;
    border: 1px solid #d0d0d0;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    margin: 0 !important;
}

li.product a {
    display: flex !important;
    flex-direction: row !important;
    padding: 29.5px !important;
    gap: 12px !important;
    width: 100%;
    height: 100%;
    color: #484649 !important;
    text-transform: uppercase;
}

li.product a img {
    width: 58px !important;
    height: 58px !important;
}

.woocommerce .products ul,
.woocommerce ul.products {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.woocommerce-cart-form{
    width: 100%;
}
.woocommerce-cart-form tr{
    border-color: rgba(208, 208, 208, 1) !important;
}
.woocommerce-cart-form tr td{
    padding: 10px !important;
}
td.actions{
    background-color: transparent !important;
}
.product-page-wrapper {
    display: flex;
    gap: 30px; /* расстояние между колонками */
}

.uppercase{
    text-transform: uppercase;
}


.sidebar ul{
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px;
    /*max-width: 370px;*/
}

.sidebar ul li a{
    display: block;
    border: 2px solid var(--bordergray);
    border-radius: 15px;
    background: #fff;
    overflow: hidden;
    padding: 15px 20px;
    margin-bottom: 4px;
    color: var(--main-color);
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    transition: border-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.sidebar ul li a:hover,
.sidebar ul li a.active{
    color:var(--green);
    border-color: var(--green);
}

ul.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-item {
    /*min-height: 68px;*/
    margin-bottom: 6px;
    align-content: center;
    border: 1px solid #d0d0d0;
    border-radius: 15px;

}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    text-transform: capitalize;
    padding: 22px 15px;
}

.category-link {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.toggle-arrow {
    min-width: 8px;
    height: 8px;
    border-right: 1.5px solid #929497;
    border-bottom: 1.5px solid #929497;
    transform: rotate(45deg);
    /* transition: transform 0.3s ease; */
    cursor: pointer;
}

.toggle-arrow.open {
    transform: rotate(-135deg);
    /* position: relative;
      top: 7px; */
}

.product-sublist {
    list-style: none;
     margin: 0;
}
.active.toggle-arrow{
    transform: rotate(-180deg);
}
.product-sublist{
    padding: 0;
    /*padding: 0 0 0.25rem;*/
    transition: max-height 0.4s ease, padding 0.3s ease;
    max-height: 0;
    overflow: hidden;
}
.product-item{
    border-top: 1px solid var(--bordergray);
    padding: 10px 4px;
    margin: 0 6px;
}
.current-product{
    border-top: 1px solid var(--green);
}
.product-item a {
    display: inline-block;
    text-decoration: none;
    color: rgba(138, 138, 138, 1);
    font-weight: 600;
    font-size: 15px;
    line-height: 22px;
    text-transform: capitalize;
    transition: color 0.3s ease;

}
.product-item a:hover {
    color: var(--green);
}

.product-item.current-product a {
    color: var(--green);
    font-weight: bold;
}

.category-item.active {
    border: 1px solid var(--green);
}
.active .product-sublist {
    max-height: 500px;
    /*padding: 0 ;*/
}

/*.category-list li {*/
/*    padding-top: 22px;*/
/*}*/

.our-team-section {
    display: flex;
    gap: 20px;
    background: var(--gray);
}
.team-member-single p,
.team-member-single ul {
    margin: 20px 0 50px;
}
.team-member-single p,
.team-member-single li {
    font-size: 15px;
    line-height: 23px;
    font-weight: 500;
}

.team-member-main-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 30px 0;
}
.team-member-main-details h2 {
    margin-top: 30px;
    font-size: 20px;
}
.team-member-content h2 {
    font-size: 24px;
}

.team-member-content h3 {
    font-size: 20px;
}

.team-position,
.team-profession {
    font-size: 18px;
    font-weight: 500;
}

.certificates-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* start about us styles*/
.about-us-page .wp-block-media-text {
    margin-bottom: 15px;
    gap: 10px;
}
.about-us-page .wp-block-media-text__media{
    border-radius: 20px;
    overflow: hidden;
}
/*.about-us-page .wp-block-media-text.is-stacked-on-mobile{*/
/*    grid-template-columns: 1fr;*/
/*}*/
.about-us-page .wp-block-media-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-us-page  .wp-block-media-text__media {
    max-width: 635px;
    max-height: 534px;
}
.about-us-page  .wp-block-media-text__content{
    padding: 0;
}
.about-us-page  .wp-block-media-text__content p {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 400;
}
.about-us-page .wp-block-heading {
    border-bottom: 1px solid var(--bordergray);
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.advantages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.advantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    overflow: hidden;
    padding: 8px;
    border: 1px solid var(--bordergray);
}
.advantage-content {
    border-top: 1px solid var(--bordergray);
    padding: 15px 25px 0 0;
    margin-top: 15px;
    font-size: 16px;
    line-height: 30px;
    font-weight: 400;
}

.our_mission_section {
    display: flex;
    flex-direction: column;
    padding: 30px 0;
    gap: 20px;
}
.our_mission_section-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    order:2;
}
.mission-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bordergray);
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    padding: 30px 15px;
    background-color: rgba(230, 243, 221, 0.6);
    position: relative;
    margin: 0 auto;
}
.mission-image img {
    object-fit: cover;
    width: 100px;
    height: 100px;
}
.mission-content {
   order:1;
}
.mission-text {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    margin-top: 15px;
    text-align: center;
    color: var(--main-color);
}
.mission-arrow {
    position: absolute;
    display: inline-block;
    top: 15px;
    right: 10px;
    width: 35px;
    height: 35px;
    background: url("/wp-content/uploads/2025/09/green_Arrow.png") no-repeat center;
    background-size: cover;
    padding: 5px;
}

.our-team-section {
    padding: 30px 0;
}

.video-section {
    padding: 30px 0;
}
.video-container {
    margin-top: 10px;
    display: grid;
    align-items: flex-start;
    gap: 25px 13px;
    /* responsive columns: 1 column on small, multiple on larger screens */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.video-item {
    display: flex;
    flex-direction: column-reverse; /* keeps title under video as your design */
    align-items: center;
    gap: 10px;
    border-radius: 20px;
    overflow: visible; /* embed-wrap handles overflow */
    max-width: 100%; /* allow full width within grid */
}
.video-wrapper {
    position: relative;
    width: 100%;
    /*max-width: 800px;*/
    overflow: hidden;
}

video {
    width: 100%;
    display: block;
}


/* Aspect-ratio wrapper: padding-bottom fallback + modern aspect-ratio */
.embed-wrap {
    position: relative;
    width: 100%;
    /* fallback for older browsers */
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--bordergray);
}

/* modern browsers: prefer aspect-ratio (overrides padding-bottom if supported) */
@supports (aspect-ratio: 16/9) {
    .embed-wrap {
        aspect-ratio: 16 / 9;
        height: auto;
        padding-bottom: 0;
    }
}

/* Make embedded iframe/video fill the wrapper */
.embed-wrap iframe,
.embed-wrap embed,
.embed-wrap video,
.embed-wrap object,
.embed-wrap .wp-video-shortcode {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    border: 0;
}

/* Title styling */
.video-item h2 {
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    margin: 0;
    width: 100%;
}

.photo-section {
    padding: 30px 0;
}
.gallery-container {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    margin-top: 10px;
}
.gallery-item {
    border: 1px solid var(--bordergray);
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    max-height: 225px;

}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.careers-section {
    padding: 30px 0;
}
.careers-section h2{
    margin: 0;
}
.careers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}
.careers-list a {
    color: var(--main-color);
}
.career-item {
    display: flex;
    gap:5px;
    justify-content: space-between;
    border: 1px solid var(--bordergray);
    border-radius: 20px;
    padding: 10px;
    font-size: 17px;
    font-weight: 500;
}
.career-item strong{
    font-weight: 500;
}
/* end about us styles*/

.link-arrow {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("/wp-content/uploads/2025/09/arrow_link.png") no-repeat center;
    background-size: cover;
}

.mb-25 {
    margin-bottom: 25px;
}

.gap-60 {
    gap: 60px;
}

.adv-section {
    /*padding: 3rem 0;*/
}

.hero {
    display: flex;
    flex-direction: column-reverse;
    gap: 1.5rem;
}
.hero {
    margin-top: 5px;
}

.media-container {
    width: 100%;
    position: relative;
}

.media-container img,
.media-container video {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 12px;
}

.adv-text {
    order: 2;
}
.img-container {
    width: 100%;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
}
.img-container img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 10px 0 20px;
    /*padding: 0 15px;*/
}
.service {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 24px 20px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--bordergray);
    text-transform: uppercase;
    font-size: 15px;
    line-height: 24px;
    color: rgba(72, 70, 73, 1);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;

}
.service:hover{
    border-color: var(--green);
    color: var(--green);
}
.service img {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}
.service-single-top{
    display: flex;
    flex-direction: column;
    gap:10px;
margin-bottom: 15px;
}

.service-single-content{
    display: flex;
    flex-direction: column;
    gap:10px;
}
.service-single-content .full-image{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
}
.service-single-content p{
    margin: 20px 0;
}
.active-service-price{
    display: flex;
    flex-direction: column;
    gap:15px;
    border:2px solid var(--green);
    box-shadow: 0 2px 13px 0 rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    padding: 10px 16px;
    margin: 30px 0 50px;
}
.active-service-price h3{
    color: var(--green);
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    margin: 0;
}
.active-service-price h4{
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
}
.active-service-price a{
    color:var(--main-color);
    transition: color 0.3s ease;
}
.active-service-price a:hover{
    color:var(--green);
}
.woocommerce-Price-amount{
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    display: block;
    white-space: nowrap;
    margin-left: auto;
    color:rgba(0, 0, 0, 0.7);
}
.active-service-price div{
    display: flex;
    flex-direction: column;
    padding-right: 10px;
    border-bottom: 1px solid var(--bordergray);
}
.active-service-price.services-sub{
    flex-direction: column;
    gap: 0;
    margin: 25px 0;
}
.active-service-price.services-sub h3{
    border-bottom: 1px solid var(--bordergray);
    padding-bottom: 8px;
}
.active-service-price.services-sub div{
    padding: 5px;
    justify-content: space-between;
}


/* Branches */
.branches-section {
    margin-top: 28px;
}
.branches-section > p {
    font-weight: 300;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 20px;
    max-width: 820px;
}
.branches-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 12px;
}
.branch {
    padding: 32px 15px 5px;
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #fbfffb);
    border: 1px solid var(--bordergray);
    font-size: 14px;
    font-weight: 400;
}
.branch strong {
    display: block;
    margin-bottom: 10px;
    padding: 0 5px;
    font-weight: 600;
    font-size: 18px;
}
.branch-address {
    display: block;
    margin: 10px 5px 15px;
}
.status-link {
    display: flex;
    align-items: center;
}
.branch-arrow {
    display: block;
    width: 45px;
    height: 48px;
    background: url("/wp-content/uploads/2025/09/branch-arrow.png") no-repeat center;
}
.branch-status {
    background-color: var(--blue);
    color: var(--white);
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    padding: 5px 25px;
    border-radius: 20px;
    margin-left: auto;
}

.working-times {
    border-top: 1px solid var(--bordergray);
    margin: 10px 0;
    padding: 6px 10px;
}
.working-times span {
    display: block;
    color: var(--main-color);
    margin-top: 4px;
}
.branch-phone {
    padding: 0 5px;
}

.branch-info{
    display: grid;
    grid-template-columns: 1fr;
    gap:20px;
    margin: 10px 0 30px;
}
.branch-info-item{
    display: flex;
    flex-direction: column;
    gap:5px;
    border: 1px solid var(--bordergray);
    border-radius: 20px;
    padding: 10px;
}
.branch-info-item span{
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.branch-info-item strong{
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
}
.branch-single-working-days{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.branch-single-address,.branch-single-phone {
    display: flex;
    align-items: center;
    gap:10px;
}
.branch-single-address svg,.branch-single-phone svg{
    min-width: 25px;
}

.doctors {
    display: grid;
    grid-template-columns:  1fr;
    gap: 20px;
    margin-top: 20px;
}
.doctors a{
    color: var(--main-color);
}

.doctors figure {
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 2px solid var(--bordergray);
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    transition: border-color 0.3s ease;
}

.doctors a:hover figure {
    border-color: var(--green);

}

.doctors figure img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
    object-fit: cover;
}

.doctors figcaption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 10px 10px 5px;
}

.doctors figcaption h3 {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 700;
    margin: 0 0 5px;
}
.doctors figcaption strong{
    font-size: 15px;
    line-height: 26px;
    font-weight: 500;
    margin-bottom: 10px;
}

.doctors figcaption span {
    font-size: 14px;
    line-height: 23px;
    font-weight: 400;
}

/**/
.opinion-slider-section{
    /*padding: 30px 0;*/
    position: relative;
    overflow: hidden;
}
/*.opinion-slider-section .swiper-button-next{*/
/*    background: url("/wp-content/uploads/2025/10/slider-arrow.png") no-repeat center;*/
/*    background-size: cover;*/
/*}*/

.doctor-link{
    display: block;
    margin: 20px 0;
}


.doctor-link figure{
    display: flex;
    flex-direction: column;
    gap:10px;
    border:2px solid var(--bordergray);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}
.doctor-link:hover figure{
    border-color: var(--green);
}
.doctor-link figcaption{
    padding: 0 15px 15px;
}
.doctor-link h3{
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    color: var(--main-color);
    margin: 5px 0 0;
}
.doctor-link h3+strong{
    display: block;
    font-weight: 500;
    font-size: 15px;
    line-height: 24px;
    color: var(--greydark);
    margin-bottom: 10px;
}
.doctor-link .doctor-education *{
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
}
.doctor-education{
    padding-bottom: 5px;
}
.doctor-education ul{
    margin: 0;
}
p.education-title{
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    color: var(--main-color);
    margin:0 0 5px 0;
}
.doctor-img{
    border-radius: 20px;
    overflow: hidden;
    /*min-width: 25%;*/
    /*max-height: 340px;*/
    /*max-width: 340px;*/
}
.doctor-img img{
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/**/

/* --- General layout --- */
#home .news-section,
#home .branches-section,
#home .contact-section,
.home-services,
.opinion-slider-section,
.checkUp-section,
.stacked-cards,
.helpful-section,
.adv-section{
    margin: 40px 0 10px;
}

.stacked-cards{
    padding: 40px 0 20px;
}
.cards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    gap: 10px;
}


/* --- Card styles --- */
.card {
    flex: 0 0 33%;
    min-width: 300px;
    max-height: 248px;
    background: rgba(181, 202, 167, 1);
    color: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    z-index: 1;
    display: flex;                   /* ✅ centers content */
    flex-direction: column;
    justify-content: flex-start;
}

/* Step-down + overlap */
.card-2 {
    background: rgba(166, 220, 128, 1);
}

.card-3 {
    background: var(--green);
}

/* Hover bring-to-front */
.card:hover {
    transform: translateY(-15px) scale(1.01);
    z-index: 10;
}

/* Badge style */
.card-badge {
    display: inline-block;
    background: var(--white);
    color: var(--green);
    font-weight: 600;
    border-radius: 40px;
    padding: 10px 15px;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 0.25rem;
    width: max-content;
}

.card .text {
    display: inline-block;
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* number of visible lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/**/


/**/

/*.container {*/
/*    max-width: 1200px;*/
/*    margin: 0 auto;*/
/*}*/

/* Grid layout for 2 cards */
.helpful-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 1.5rem;
}

/* Card common styles */
.helpful-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;              /* text sits at bottom */
    min-height: 260px;                      /* equal height */
    border: 1px solid var(--bordergray);
    border-radius: 20px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Card header: title left, link right */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap:5px;
    margin-bottom: auto;                    /* push text down */
}

/* Title */
.card-header h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
}

/* Link with bg image */
.card-header a {
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    text-decoration: none;
}
.blue-card .card-header a{
    background: url("/wp-content/uploads/2025/10/blue-arrow.png") no-repeat center;
    background-size: cover;
}
.green-card .card-header a{
    background: url("/wp-content/uploads/2025/10/green-arrow.png") no-repeat center;
    background-size: cover;
}

/* Text inside card */
.helpful-card p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0;
}

/* Specific backgrounds with radial gradient */
.blue-card {
    background: rgba(211, 237, 255, 1);
    border-radius: 20px;
    overflow: hidden;
}
.blue-card-bg{
    height:100%;
    padding: 1rem;
    background: radial-gradient(
        rgba(86, 168, 221, 0.3) 0%,
        rgba(86, 168, 221, 0) 70%)
}
.green-card {
    background: rgba(230, 243, 221, 0.6);
    border-radius: 20px;
    overflow: hidden;
}
.green-card-bg{
    height:100%;
    padding: 1rem;
    background: radial-gradient(
            rgba(125, 194, 76, 0.3) 0%,
            rgba(125, 194, 76, 0) 70%)
}

/* Responsive tweaks */
@media (max-width: 640px) {
    .helpful-card {
        min-height: 220px;
    }
}

/**/

/**/
/*.news-section {*/
/*    padding: 1rem;*/
/*}*/

.news-section h2 {
    margin-bottom: 1.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.news-item {
    display: flex;
    flex-direction: column;
}
.news-img-container{
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.news-item figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item img {
    width: 100%;
    height: 207px;
    object-fit: cover;
   border-radius: 20px;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.news-item figcaption {
    padding: 5px 5px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-item figcaption h2,
.news-title{
    margin:0 0 5px;
    color: var(--main-color);
    flex: 1;
    font-weight: 600;
    font-size: 15px;
    line-height: 28px;
}
.news-item figcaption h2 a,
.news-title a{
    color: var(--main-color);
    font-weight: 600;
    font-size: 15px;
    line-height: 28px;
}

.news-date {
    display: block;
    font-size: 16px;
    line-height: 24px;
    color: rgba(174, 170, 174, 1);
    align-self: flex-start;
}

.news-item:hover img{
    transform: scale(1.05);
}
/**/



/**/
.team-list {
    margin: 10px 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.team-member-item {
    border: 2px solid var(--bordergray);
    border-radius: 20px;
    /*padding: 58px 30px;*/
    padding: 20px;
}

.team-member-item a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}
.team-member-item div {
    border-radius: 100%;
    overflow: hidden;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}
.team-member-item div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-member-item h2 {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    margin: 15px 0 10px;
}
.team-member-item span {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--blue);
    display: block;
    margin-top: auto;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.btn-group{
    display: flex;
    gap:10px;
    flex-wrap: wrap;
    margin: 10px;
}

.btn-green {
    display: inline-block;
    text-align: center;
    background-color: var(--green);
    color: var(--white);
    font-size: 12px;
    line-height: 20px;
    font-weight: 500;
    padding: 9px 20px;
    border-radius: 50px;
    transition: opacity 0.3s ease;
}


.wc-backward {
    display: inline-block;
    text-align: center;
    background-color: var(--green) !important;
    color: var(--white) !important;
    font-size: 14px  !important;
    font-weight: 500 !important;
    padding: 12px 24px !important;
    border-radius: 50px !important;
    transition: opacity 0.3s ease;
}


.woocommerce-info{
    border-top-color: var(--green);
    background-color: transparent !important;
    text-align: center;
}
.return-to-shop{
    text-align: center;
}
/* start error-page */
.error-page {
    max-width: 1586px;
    margin: 0 auto;
}
.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px auto;
}

.error-page h1 {
    font-size: 26px;
    margin-bottom: 20px;
}
.error-page img {
    margin-bottom: 20px;
}
/* start error-page */

/* start our team */
/*.our-team h1 {*/
/*    margin-bottom: 30px;*/
/*}*/
/* end our team */

/* start social page styles*/
/* Wrapper */
.social-card {
    margin: 30px 0;
}

/* Grid Layout */
.social-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Each Card */
.social-card-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* Images */
.social-card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--bordergray);
}


.social-resp-aside{
   flex:1;
    margin-top: 20px;
}
.social-resp-aside h2{
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 10px;
}
/* Captions */
.social-card-item figcaption a{
    font-weight: 600;
    font-size: 15px;
    color: var(--main-color);
}
.social-responsibility-single{
    display: flex;
    flex-direction: column;
}
.addtoany_share_save_container.addtoany_content{
    text-align:right;
    margin: -52px 0 0 0;
}
.social-resp-section {
    max-width: 340px;
}

.social-resp-section h2 {
    margin-bottom: 24px;
}

.social-resp-list,
.latest-news{
    display: grid;
    gap: 10px;
}

.social-resp-item {
    display: flex;
    gap: 10px;
    overflow: hidden;
    align-items: center;
}

.social-resp-figure,
.latest-news-figure{
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.social-resp-image-link,
.latest-news-image-link{
   border-radius: 10px;
   overflow: hidden;
}

.social-resp-item img,
.latest-news img{
    /*width: 176px;*/
    /*height: 109px;*/
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}
.social-resp-item:hover img,
.latest-news article:hover img {
    transform: scale(1.05); /* smaller zoom for a subtle effect */
}
.social-responsibility-single .post-content p{
    font-size: 15px;
    line-height: 23px;
    margin-top: 10px;
}
.social-responsibility-single .post-content .wp-block-heading{
    font-size: 24px;
    line-height: 32px;
    margin: 20px 0 5px;
}


/* Content */
.social-resp-content,
.latest-news-content{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
    flex: 1;
}

.social-resp-title-link,
.latest-news-title-link{
    color: var(--main-color);
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
}

.social-resp-date,
.latest-news-date{
    font-size: 14px;
    color: var(--greydark);
}

/* end social page styles*/

/* start search result page styles*/
.search-result-item {
    margin-bottom:30px;
    border-bottom :1px solid var(--bordergray);
}
.search-result-item h2{
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
}
.search-result-item h2 a{
    color: var(--main-color);
}
.search-form {
    display: flex;
    align-items: center;
    width: 100%;
    border: 1px solid var(--bordergray);
    border-radius: 14px;
    overflow: hidden;
    margin: 15px 0;
}

.search-field {
    flex: 1;
    padding: 10px 16px;
    border: none;
    outline: none;
    font-size: 16px;
    min-width: 300px;
    width: 100%;
}

::placeholder {
    font-size: 24px;
    font-weight: 300;       /* or 400/700 depending on your font */
    color: var(--greydark);            /* optional */
}

/* For older versions of Safari, Chrome */
::-webkit-input-placeholder {
    font-size: 24px;
    font-weight: 300;
    color: var(--greydark);
}

/* For Firefox 19–67 */
:-moz-placeholder {
    font-size: 24px;
    line-height: 32px;
    font-weight: 300;
    color: var(--greydark);
    opacity: 1; /* needed in Firefox */
}

/* For Firefox 4–18 (legacy) */
::-moz-placeholder {
    font-size: 24px;
    line-height: 32px;
    font-weight: 300;
    color: var(--greydark);
    opacity: 1;
}

/* For Internet Explorer 10–11 */
.search-field:-ms-input-placeholder {
    font-size: 24px;
    line-height: 32px;
    font-weight: 300;
    color: var(--greydark);
}

/* For Edge (legacy) */
.search-field::-ms-input-placeholder {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    color: var(--greydark);
}
.search-submit {
    background: transparent;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.search-submit svg {
    width: 16px;
    height: 16px;
}

.search-field::placeholder {
    color: #aaa;
    font-size: 14px;
}

h2.no-result{
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 5px;
}

/*end search result page styles*/

/* start accordion styles*/
.accordion-item {
    border: 2px solid var(--bordergray);
    border-radius: 20px;
    margin-bottom: 10px;
    background: #fff;
    overflow: hidden;
}

.accordion-header {
    padding: 10px 14px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

/* Animate arrow rotation */
.accordion-arrow {
    transition: transform 0.3s ease;
}

/* Rotate down when active */
.accordion-item.active .accordion-arrow{
    transform: rotate(180deg);
}


.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: var(--white);
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.7);
    padding: 0 0.25rem; /* side padding stays */
}
.accordion-content a{
    color: var(--main-color);
    transition: color 0.3s ease;
}

.accordion-content a:hover{
    color: var(--green);
}

.accordion-item.active .accordion-content {
    max-height: 500px;   /* or enough to fit content */
    padding: 0 0.5rem 0.5rem;

}
.accordion-item.active {
    border-color: var(--green);
}

.accordion-item.active .accordion-header{
    color: var(--green);
}

.accordion-row {
    padding: 10px 8px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--bordergray);
}
.accordion-row:first-child {
    border-top: 1px solid var(--bordergray);
}
.accordion-row:last-child {
    margin-bottom: 0;
}

/* end accordion styles*/

/*start contact form styles*/
.contact-form{
    border:2px solid var(--bordergray);
    background: url("/wp-content/uploads/2025/09/green_blur.png") no-repeat center center rgba(249, 249, 249, 1);
    border-radius: 20px;
    padding: 24px;
    position: relative;
    margin: 20px auto 40px;
}

.contact-form img{
   position: absolute;
    display: none;
    top: -10px;
    right: -25px;
}
.wpcf7-form{
    background-color: var(--white);

    border-radius: 20px;
    box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 43px 28px;
}
.wpcf7-form p{
    margin-bottom:30px;
}
.wpcf7-form label{
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    display: block;
    margin-bottom: 5px;
}
.wpcf7-form input:not(.wpcf7-submit){
    border-radius: 10px;
    padding: 8px 16px;
    border:1px solid var(--greydark);
    width: 100%;
    display: block;
    margin-top: 5px;
}
.wpcf7-form textarea{
    width: 100%;
    resize: vertical;
    border-radius: 10px;
    padding: 8px 16px;
    border:1px solid var(--greydark);
    height: 68px;
    display: block;
    margin-top: 5px;
}
.wpcf7-form .wpcf7-submit{
    background-color: var(--blue);
    color: var(--white);
    border:0;
    padding: 9px 24px;
    font-size: 14px;
    line-height: 20px;
    border-radius: 40px;

}
.wpcf7-form p:last-of-type{
    text-align: center;
    margin: 50px 0 0;
}
.wpcf7-response-output {
    font-size: 14px;
    text-align: center;
}
    /*end contact form styles*/

.open-modal-btn,.btn-outline {
    background: var(--white);
    color: var(--green);
    border:1px solid var(--green);
    padding: 8px 16px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    transition: color 0.3s ease, background-color 0.3s ease;
}
.open-modal-btn:hover,
.btn-outline:hover{
    background-color: var(--green);
    color: var(--white);
}

/* Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal */
.modal {
    background: var(--white);
    border-radius: 20px;
    max-width: 600px;
    width: 90%;
    padding: 30px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: fadeIn 0.2s ease-in-out;
}

/* Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    margin: 0;
}

/* Close button */
.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

/* Form */
.modal-form{
    max-width: 582px;
    margin: 30px auto;
    color: var(--greydark);
}
.modal-form input {
    border-radius: 10px;
    padding: 8px 16px;
    border:1px solid var(--greydark);
    width: 100%;
    display: block;
    margin-top: 5px;
}

.modal-form div{
    margin-bottom: 25px;
}
.modal-form button {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 9px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-form button:hover {
    background: #2a89d0;
}

.modal input::placeholder {
    font-size: 14px;
    font-weight: 400;
    color: rgba(174, 170, 174, 1);
}

/* For older versions of Safari, Chrome */
.modal input::-webkit-input-placeholder {
    font-size: 14px;
    font-weight: 400;
    color: rgba(174, 170, 174, 1);
}

/* For Firefox 19–67 */
.modal input:-moz-placeholder {
    font-size: 14px;
    font-weight: 400;
    color: rgba(174, 170, 174, 1);
    opacity: 1;
}

/* For Firefox 4–18 (legacy) */
.modal input::-moz-placeholder {
    font-size: 14px;
    font-weight: 400;
    color: rgba(174, 170, 174, 1);
    opacity: 1;
}
.register-row{
    margin-top: 35px;
}
/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .modal {
        padding: 15px;
    }

    .modal-header h2 {
        font-size: 1rem;
    }

    .modal-form input,
    .modal-form button {
        font-size: 0.9rem;
        padding: 8px;
    }
}
.single-branch-top{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.single-branch-top h1{
    margin:0 auto 0 0;
}
.days{
    display: flex;
    flex-wrap: wrap;
    gap:1px 12px;
    justify-content: center;
}
.single-branch .services{
    margin: 10px 0 30px;
}
.news-feed,
.news-single{
    display: flex;
    flex-direction: column;
    gap:20px;
}
.news-aside h2{
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 10px;
}
.news-aside ul{
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style-type: none;
    margin: 0 0 20px 0;
    padding: 0 0 0 5px;
}
.news-aside ul li{
    border-bottom: 1px solid var(--bordergray);
    padding-bottom: 12px;
}
.news-aside ul li a{
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: rgba(105, 105, 105, 1);
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.news-aside ul li a:hover{
    color: var(--green);
}
.tags{
    display: flex;
    flex-wrap:wrap;
    gap:20px;
    margin-top: 20px;
}
.tags a{
    display: inline-block;
    color: var(--green);
    background-color: var(--gray);
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    padding: 8px 26px;
    border-radius: 20px;
    overflow: hidden;
    white-space: normal;
    transition: color 0.3s ease, background-color 0.3s ease;
    /*transition: transform 0.3s ease, box-shadow 0.3s ease;*/
}
.tags a:hover {
    color: var(--gray);
    background-color: var(--green);
    /*transform: translateY(-4px);*/

}
.news-categories{
    display: flex;
    flex-wrap:wrap;
    gap:20px;
    margin: 50px 0 20px;

}
.news-categories a{
    font-weight: 600;
    font-size: 19px;
    line-height: 22px;
    color: var(--green);
}
.wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.7%; /* aspect ratio = 602/1062 */
    overflow: hidden;
    margin: 20px 0 40px;
}

.wp-block-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.wp-block-image img{
    border-radius: 20px !important;

}
.wp-block-image{
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    object-fit: cover;
}
.wp-block-image img{
    border-radius: 20px;
}

.file{
    border-radius: 10px;
    display: block;
    border: 1px solid var(--bordergray);
    margin: 7px 0;

}
.file a{
    display: inline-block;
    color: var(--main-color);
    padding: 11px 16px 11px 54px;
    background: url("/wp-content/uploads/2025/10/file-1.png") no-repeat 16px center;
}

/* start standard page styles*/
#standard-page a{
    color: var(--green);
}
h2.wp-block-heading{
    margin: 20px 0 5px ;
}
    /* Image full width and responsive */
#standard-page .wp-block-image.size-large img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive iframe without absolute */
#standard-page .wp-block-embed__wrapper {
    border-radius: 20px;
    overflow: hidden;
}
#standard-page .wp-block-embed__wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-width: 100%;
    border: none;
}

/* end standard page styles*/

.swiper-container {
    width: 100%;
    height: 416px;
}

.swiper-slide img,
.swiper-slide video {
    width: 100%;
    height: 100%;
    max-height: 416px;
    object-fit: cover;
}
/* Hide native radio input */
.wc_payment_methods .wc_payment_method .input-radio {
    display: none;
}

/* Style the labels to include custom circles */
.wc_payment_methods .wc_payment_method label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    color: var(--main-color);
    position: relative;
    font-width: 500;
    padding-left: 0;  /* remove WooCommerce default padding if any */
}

/* Custom circle before label text */
.wc_payment_methods .wc_payment_method label::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #999;
    border-radius: 50%;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease;
}

/* Green inner dot when checked */
.wc_payment_methods .wc_payment_method .input-radio:checked + label::before {
    border-color: #46b450; /* green border */
    background: radial-gradient(circle at center, #46b450 40%, transparent 41%);
}

/* Optional: change border color on hover */
.wc_payment_methods .wc_payment_method label:hover::before {
    border-color: #46b450;
}

/* Optional: spacing between items */
.wc_payment_methods .wc_payment_method {
    margin-bottom: 10px;
}

.doc-patient-content article.content{
    width: 100%;
}
.doc-patient-content  .wp-block-media-text{
    display: flex !important;
    flex-direction: column;
    gap:10px;
}
.doc-patient-content .wp-block-media-text__media{
    border: 1px solid var(--bordergray);
    border-radius: 10px;
    overflow: hidden;
    padding: 55px 60px;
    max-width: 312px;
    max-height: 302px;
    margin: 0 auto 10px 0;
    /*order:2;*/
}
.doc-patient-content .wp-block-media-text__media img{
    object-fit: cover;
    width: 192px;
    height: 192px;
}
.doc-patient-content .wp-block-media-text__content{
    margin: 0;
    padding: 0;
    width: 100%;
    /*order:1;*/
}

#search{
    width: 100%;
}

/*.slider-section{*/
/*    background-color: var(--gray);*/
/*}*/

.slider-top{
    height: 416px;
}
.swiper-button-next,
.swiper-button-prev{
    background: var(--white);
    border-radius: 50px;
    padding: 14px;
    min-width: 32px;
    transform: scale(0.8);
    color: var(--main-color);
}
.swiper-button-next svg,
.swiper-button-prev svg{
    fill: var(--main-color) !important;
}
/*.swiper-button-next svg{}*/
/*.swiper-button-prev svg{}*/
/*start footer styles*/

footer {
    width: 100%;
    padding: 40px 0 0;
    background: url("/wp-content/uploads/2025/09/footer_bg.png") no-repeat right center var(--gray);
}
.footer-logo {
    margin-bottom: 40px;
}
.footer-logo img {
    margin: 0 auto;
}
.footer-top {
    flex-direction: column;
    padding: 0 16px;
}
.yandex iframe{
    margin:  0 !important;
    max-width: 152px;
    height: 52px;
    border:1px solid var(--bordergray);
    border-radius: 6px !important;
    overflow: hidden !important;
}
.footer-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.footer-menu ul{
    list-style-type: none;
}
.footer-menu a {
    color: var(--main-color);
    font-weight: 500;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-menu a:hover {
    color: var(--green);
}
footer small {
    font-weight: 300;
    font-size: 13px;
}
.footer_contact{
   flex-direction: column;
    gap:20px;
    margin: 20px 0;
}
.footer-bottom {
    padding: 12px 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.footer iframe{
    width: 150px;
}
.footer_contact-left{
    gap: 30px;
}
.map {
    width: 100%;
    height: 260px;
    border-radius: 19px;
    overflow: hidden;
    margin: 0 auto;
}

.added-by{
    display: block;
    margin-top: 20px;
    color: var(--greydark);
}
.wp-gr .wp-google-right,
.RatingBadgeWidget{
    width: 160px !important;

}
.wp-gr {
    margin: 0 !important;
    padding-bottom: 1px !important;
    background: #f6f6f6 !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    width: 150px !important;
    pointer-events: none !important;
    border: 1px solid var(--bordergray) !important;
    height: 52px;
}
.payment .woocommerce.is_not_empty{
    display: flex;
    flex-direction: column;
    border: 2px solid var(--bordergray);
    background-color: rgba(249, 249, 249, 1);
    border-radius: 10px;
    overflow: hidden;
    padding: 10px !important;
    gap:20px;
}
#payment .woocommerce-info{
    display: none !important;
    font-size: 0;
}
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment{
    background-color: transparent;
}
#add_payment_method #payment ul.payment_methods, .woocommerce-cart #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods{
    border-bottom: 0;
    padding: 0 0 0 10px;
}
.checkout-payments{
    margin-top: 30px;
}
.checkout-left{
    border-bottom:1px solid var(--bordergray);
}
.checkout-products,
.checkout-bottom,
.thankyou-content{
    border: 2px solid var(--bordergray);
    background-color: rgba(249, 249, 249, 1);
    border-radius: 10px;
    overflow: hidden;
    padding: 20px !important;
    margin: 20px 0;
}
.checkout-review-order-table{
    width: 100%;
}
.checkout-review-order-table tr th,
.checkout-review-order-table tr td{
    border-bottom:1px solid rgba(232, 232, 232, 1);

}
.checkout-review-order-table tr th{
    padding-bottom: 20px;
    font-weight: 500;
}
.checkout-review-order-table tr th:first-child,
.checkout-review-order-table tr td:first-child{
    text-align: left;
    padding-left: 10px;
}
.checkout-review-order-table tr th:last-child,
.checkout-review-order-table tr td:last-child{
    text-align: right;
}
.checkout-review-order-table tr td:first-child{
    font-weight: 500;
    font-size: 16px;
    line-height: 28px;
    vertical-align: middle;
    padding: 33px 0 28px 10px;
}
.checkout-review-order-table tr td:last-child{
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.9px;
    padding: 33px 0 28px;

}
.checkout-billing-fields label{
    font-weight: 400;
    font-size: 15px;
    line-height: 23px;
    color: var(--main-color);
}
.checkout-billing-fields input.input-text{
    border: 1px solid var(--greydark);
    border-radius: 10px;
    padding:7px 15px ;
}
.form-row{
    margin-bottom: 20px;
}
.cart-collaterals{
    max-width: 324px;
}
.checkout-bottom-content{
    display: flex;
    flex-direction: column;
    gap:20px;
    width: 100%;
}
.cart-collaterals .cart_totals {
    float: none !important;
    width: 100% !important;
    max-width: 324px;
    min-width: 300px;
}
.woocommerce table.shop_table{
    border: 0;
}
.thankyou-content h2{
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 46px;
}
.thankyou-customer-data,
.thankyou-payment-data{
    margin: 10px 20px;
}
.thankyou-customer-data strong,
.thankyou-payment-data strong{
    font-weight: 600;
    font-size: 14px;
    line-height: 27px;
    text-transform: uppercase;
    color: var(--main-color);
}
.thankyou-customer-data span,
.thankyou-payment-data span{
color:rgba(79, 79, 79, 1);
}
.thankyou-content-top{
    display: flex;
    flex-direction: column;
    gap:20px;
    width: 100%;
}
.thankyou-content-top .border{
    border-top:1px solid rgba(232, 232, 232, 1);
    margin: 30px 0;
}
.services-table th{
    text-align: left;
    vertical-align: text-top;
}

.services-table th,
.services-table td{
    border-right:1px solid var(--bordergray);
    padding: 10px 15px;
}
.cart_totals,
.checkout-right,
.thanks_payment{
    background-color: rgba(239, 240, 244, 1);
    padding: 25px 10px;
    border-radius: 10px;
    overflow: hidden;
    max-width: 324px;
    min-width: 300px;
}
.thanks_payment .service-name{
    display: block;
    border-top:1px solid rgba(196, 196, 196, 1);
    padding: 15px 0;
}
.checkout-right .order-total{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.wc-proceed-to-checkout{
    text-align: center;
}
.wc-proceed-to-checkout a.checkout-button,
#place_order{
    display: inline-block !important;
    background-color: var(--green) !important;
    border-radius: 50px;
    overflow: hidden;
    font-weight: 500;
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: 0.1px !important;
    text-align: center;
    padding: 9px 24px !important;
    border:0;
    color:var(--white);
}
.place-order-cont{
    margin: 30px auto 20px;
    text-align: center;
}
.wp-block-list a{
    color: var(--main-color);
}
.woocommerce main img, .woocommerce-page main img{
    border-radius: 20px;
    overflow: hidden;
}
.form-row.place-order,
.product-quantity,
.product-thumbnail,
.product-subtotal,
button[name="update_cart"],
.cart-subtotal,
.woocommerce-notices-wrapper,
.woocommerce-error,
.cart_totals h2{
    display: none !important;
}
.product-price{
    white-space: nowrap;
}
.product-name a{
    font-weight: 500 !important;;
    font-size: 14px !important;;
    line-height: 22px !important;;
    text-transform: uppercase;
    color: var(--main-color) !important;
}

.shop_table tr.order-total th,
.shop_table tr.order-total td,
.checkout-right .order-total {
    border-bottom: 1px solid rgba(196, 196, 196, 1);
    border-top: 1px solid rgba(196, 196, 196, 1) !important;
}
.order-total th,
.order-total strong,
.thanks_payment-right strong{
    font-weight: 500 !important;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 13px 0 10px !important;
    vertical-align: middle !important;;
}
.thanks_payment-right{
    border-top: 1px solid rgba(196, 196, 196, 1);
    border-bottom: 1px solid rgba(196, 196, 196, 1);
    width: 100%;
    max-width: 324px;
    padding: 13px 0 10px;
}
.order-total td[data-title="Total"]{
    text-align: right;
}
.thanks_payment-right{
    display: flex;
    align-items: center;
}
.order-total .woocommerce-Price-amount,
.order-total span,
.thanks_payment-right span{
    font-weight: 400 !important;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.9px;
    padding: 0;
}
.woocommerce a.remove{
    color: var(--main-color) !important;
    font-size:30px !important;
}
.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before{
    font-size: 0;
}
.wp-google-based{
    margin: 0 !important;
}
.wp-gr .wp-google-rating{
    font-size: 15px !important;
}
.wp-gr .wp-google-place .wp-star svg{
    width: 12px !important;
    height: 12px !important;
}
.wp-gr .wp-google-based, .wp-gr .wp-google-powered {
    font-size: 11px !important;
    margin: -6px 0 0 0 !important;
}
.RatingBadgeWidget{
    display: block;
    padding: 8px !important;
}
.yandex{
    pointer-events: none;

}
.google-yandex{
    display: flex;
    gap: 12px;
}
.cart-clear .clear-cart-button{
    color: var(--bordergray);
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid var(--bordergray);
}
/*end footer styles*/

@media screen and (min-width: 375px) {
    .social-resp-figure, .latest-news-figure{
        flex-direction: row;
    }
    .social-resp-item img,
    .latest-news img{
        width: 176px;
        height: 109px;
    }
}
@media screen and (min-width: 576px) {
    h1 {
        font-size: 26px;
        line-height: 34px;
    }
    h2 {
        font-size: 24px;
        line-height: 32px;
    }
    h3 {
        font-size: 22px;
        line-height: 30px;
    }
    .team-thumbnail{
        min-width: 300px;
        margin: 0 auto;
    }
    .single-branch .services{
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-group{
        margin: 0 0 0 auto;
    }
    .footer_contact{
        flex-direction: row;
        margin-top: auto;
    }
    .social-resp-figure,
    .latest-news-figure{
        flex-direction: row;
    }
    .google-yandex{
        margin-left: auto;
    }
    .certificates-list {
        justify-content: flex-start;
    }
    .certificate-item {
        width: 49%;
        height: auto;
    }
    /*.sidebar {*/
    /*    min-width: 250px;*/
    /*    width: 250px;*/
    /*}*/

    .searchform input{
        width: 315px;
    }

    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .social-card-grid {
        grid-template-columns: repeat(2, 1fr);

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

    .news-date{
        font-size: 18px;
        line-height: 24px;
    }
    .doctors {
        grid-template-columns: repeat(2, 1fr);
    }
    .header-top-contacts a{
        font-size: 15px;
    }
    .header-top-contacts a img{
        min-width: 30px;
        width: 30px;
    }
    .header-top-contacts{
        gap:15px;
    }
    .search-icon{
        margin: 0 25px;
    }
    .lang-btn{
        padding: 6px 10px;
    }
    .lang-btn img {
        width: 27px;
        height: 20px;
    }
    .career-item {
        padding: 20px 20px;
        font-size: 18px;
    }
    .our_mission_section-images {
        grid-template-columns: repeat(2, 1fr);
    }

}
@media screen and (min-width: 768px) {
    #menu-footer-menu-1,
    #menu-footer-menu-2,
    #menu-footer-menu-3{
        text-align: left;
        min-width: auto;
    }
    .cards-wrapper{
        gap:30px;
    }

    .card-badge{
        margin-bottom: 15px;
    }
    /*.card{*/
    /*    min-width: 520px;*/
    /*}*/
    #home .news-section,
    #home .branches-section,
    #home .contact-section,
    .home-services,
    .opinion-slider-section,
    .checkUp-section,
    .stacked-cards,
    .helpful-section,
    .adv-section{
        margin: 60px 0 20px;
    }
    .stacked-cards{
        padding: 60px 0 30px;
    }
    #home .news-section h2,
    #home .branches-section h2,
    #home .contact-section h2,
    .home-services h2,
    .opinion-slider-section h2,
    .checkUp-section h2,
    .stacked-cards h2,
    .helpful-section h2{
        margin-bottom: 15px;
    }
    #home .news-section h2+p,
    #home .branches-section h2+p,
    #home .contact-section h2+p,
    .home-services h2+p,
    .opinion-slider-section h2+p,
    .checkUp-section h2+p,
    .stacked-cards h2+p,
    .helpful-section h2+p{
        margin-bottom: 15px;
    }
    .btn-green{
        font-size: 14px;
        padding: 13px 24px;
    }
    /*.active-service-price.services-sub h3{*/
    /*    margin-bottom: 18px;*/
    /*}*/

    .doctor-link .doctor-img{
        min-width: 300px;
    }
    .days{
        justify-content: flex-start;
    }
    .doctors figcaption span {
        font-size: 15px;
    }
    .open-modal-btn,.btn-outline{
        font-size: 14px;
        padding: 12px 24px;
    }
    .btn-green:hover,
    .wc-backward:hover,
    .btn-outline:hover,
    .open-modal-btn:hover{
       /*opacity: 80%;*/
    }
    .btn-green:hover,
    .wc-backward:hover,
    .wc-proceed-to-checkout a.checkout-button:hover, #place_order:hover{
        opacity: 80%;
    }

    .doc-patient-content .wp-block-media-text__media{
        /*margin: 0;*/
        margin: 0 auto 0 0;
    }
    .payment .woocommerce.is_not_empty{
        padding: 20px !important;
    }
    .woocommerce-cart-form tr td{
        padding: 15px 10px !important;
    }
    .product-name a{
        font-size: 16px !important;
        line-height: 28px !important;
    }
    .order-total .woocommerce-Price-amount, .order-total span, .thanks_payment-right span{
        font-size: 18px;
        line-height: 25px;
        padding: 13px 0  10px;
    }
    .btn-group{
        gap:20px;
    }
    .adv-text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    .card-header h3{
        font-size: 24px;
        line-height: 28px;
    }
    .green-card-bg,
    .blue-card-bg{
        padding: 30px 20px;
    }
    .card-header a{
        width: 50px;
        height: 50px;
    }

    .footer_contact-left{
        gap: 60px;
    }

    .form-row{
        margin-bottom: 30px;
    }
    .container{
        padding: 0 30px;
    }
    .breadcrumbs {
        margin: 15px 0 30px;
    }
    p{
        margin-bottom: 10px;
    }
    p, ul li {
        font-size: 15px;
        line-height: 23px;
    }
    .doctor-link figure{
        flex-direction: row;
        align-items: flex-start;
        gap:20px
    }
    .doctor-link figcaption{
        padding: 0 10px 0 0 ;
    }
    .certificates-list {
        gap: 35px;
    }
    .certificate-item {
        width: 327px;
    }
    .search-submit svg {
        width: 20px;
        height: 20px;
    }
    .advantages {
        grid-template-columns: repeat(2, 1fr);
    }
    .video-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .social-resp-list{
        grid-template-columns: repeat(2, 1fr);
    }
    .link-arrow {
        width: 18px;
        height: 18px;
    }

    .advantage-icon {
        width: 75px;
        height: 75px;
        padding: 16px;
    }


    .video-container{
        margin-top: 30px;
    }
    .careers-section,
    .video-section,
    .photo-section,
    .our_mission_section,
    .our-team-section{
        padding: 50px 0;
    }

    .careers-list{
        margin-top: 30px;
    }
    .career-item {
        padding: 27px 25px;
        font-size: 20px;
    }
    .team-list {
        margin: 30px 0 50px;
    }
    .team-member-item span{
        font-size: 16px;
    }
    .team-member-item div {
        width: 122px;
        height: 122px;
    }

    .gallery-container{
        margin-top: 30px;
    }

    .mission-image img {
        width: 160px;
        height: 160px;
    }
    .mission-arrow{
        width: 48px;
        height: 48px;
    }
    .mission-text {
        font-size: 23px;
        line-height: 31px;
        margin-top: 35px;
        text-align: left;
    }

    .single-branch-top{
        margin-bottom: 20px;
    }

    .social-resp-aside h2{
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 24px;
    }
    .accordion-header {
        padding: 18px 25px;
        font-size: 20px;
        line-height: 28px;
    }
    .accordion-content {
        font-size: 18px;
        line-height: 28px;
    }
    .accordion-item.active .accordion-content{
        padding: 0 1rem 1rem;
    }
    .accordion-row {
        padding: 20px 15px;
        justify-content: space-between;
        flex-direction: row;
    }
    .social-resp-list,
    .latest-news{
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .social-resp-figure,
    .latest-news-figure{
        flex-direction: column;
        gap:1px;
    }
    .social-resp-item img,
    .latest-news img{
        width: 100%;
        /*height: 210px;*/
        height: 160px;
    }

    .hero {
        flex-direction: row;
        gap: 20px;
    }
    .team-member-main-details {
        flex-direction: row;
        justify-self: flex-start;

    }
    .team-member-main-details h2 {
        margin-top: 16px;
    }

    .img-container {
        min-width: 345px;
    }
    .error-page h1 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    .error-page img {
        margin-bottom: 0;
    }
    .services {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .service {
        padding: 24px 20px;
    }

    .branches-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .team-list {
        grid-template-columns: repeat(3, 1fr);
    }
    .team-member-item {
        padding: 25px 16px;
    }
    .team-member-item h2 {
        margin: 15px 0 24px;
    }
    .branch-info{
        flex-direction: row;
        margin: 30px 0 52px;
        grid-template-columns: repeat(2, 1fr);
    }
    .branch-info-item{
        gap:10px;
        padding: 10px 15px;
    }

    .branch-single-working-days{
        gap: 10px 20px;
    }
    .single-branch-top{
        flex-direction: row;
        align-items: center;
    }


    .footer-menu {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 40px;
        margin-bottom: 20px;
    }
    .footer-top{
        padding: 0;
    }
    .map {
        width: 100%;
    }
    .contact-form{
        margin: 30px 0 60px;
    }
    .news-item figcaption {
        padding: 10px 0 0;
    }


    .footer-bottom {
        padding: 20px 0 18px;
        flex-direction: row;
        justify-content: space-between;
    }
    .doctors{
        grid-template-columns: 1fr;
    }
    .doctors figure{
        flex-direction: row;
    }
    .doctors figure .doctor-img {
        width: 300px;

    }
    .doc-patient-content{
        display: flex;
        gap:20px;
    }
    .active-service-price{
        flex-direction: row;
        justify-content: space-between;
        gap: 30px;
    }

    .active-service-price div{
        flex-direction: row;
        padding-right: 20px;
    }
    .sidebar{
        min-width: 250px;
        width: 250px;
    }

}



@media screen and (min-width: 1024px) {
    #home  .swiper-button-next{
        right: 15px;
    }

    .doctors figure .doctor-img{
        width: auto;
    }

    #home  .swiper-button-prev{
        left: 15px;
    }
    .checkout-bottom-content,
    .thankyou-content-top{
        flex-direction: row;
        align-items: flex-start;
    }
    .checkout-left,
    .thankyou-content-left{
        width: 75%;
        padding-left: 10px;
    }
    .checkout-righ,
    .thanks_payment{
        width: 25%;
    }

    .about-us-page .wp-block-media-text {
        flex-direction: row;
    }
    .about-us-page .wp-block-media-text__media{
        min-width: 350px;
    }
    .our_mission_section-images{
        order:1;
    }
    .mission-content{
        order:2;
    }
    .doc-patient-content{
        gap:30px;
    }

    .cards-wrapper {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
    }
    .card{
        max-width: 822px;
        min-width: 50%;
        padding: 36px 30px;
        transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
                     box-shadow 0.5s ease;
    }
    .card:hover {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    .card-2 {
        margin-left: -25%;
        margin-top: 34px;
        z-index: 2;
    }

    .card-3 {
        margin-left: -25%;
        margin-top: 68px;
        z-index: 3;
    }

    .card-badge {
        padding: 14px 38px;
        font-size: 20px;
        line-height: 30px;
    }

    .card .text {
        font-size: 23px;
        line-height: 30px;
        /*margin-top: 30px;*/
    }
    .container{
        padding: 0 40px;
    }
    .payment .woocommerce.is_not_empty{
        padding: 40px !important;
    }
    .btn-group{
        align-items: center;
        flex-wrap: nowrap;
        min-width: 400px;
    }
    .added-by{
        margin-top: 50px;
    }
    .service-single-top{
        flex-direction: row;
        gap:20px;
        margin-bottom: 40px;
    }
    .service-single-content{
        flex-direction: row;
        align-items: flex-start;
        gap:20px;
    }
    .service-single-content article{
        width: 100%;
    }
    .active-service-price.services-sub{
        margin: 50px 0;
    }
    .advantages {
        grid-template-columns: repeat(3, 1fr);
    }
    .video-container {
        grid-template-columns: repeat(3, 1fr);
    }
    .social-card-grid {
        grid-template-columns: repeat(3, 1fr);

    }
    .single-branch .services{
        grid-template-columns: repeat(3, 1fr);
    }

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

    .news-feed,
    .news-single{
        flex-direction: row;
        align-items: flex-start;
    }
    .news-item figcaption h2,
    .news-title{
        margin: 0 0 10px;
    }

    .news-date {
        font-size: 21px;
        line-height: 28px;
    }
    .news-aside h2{
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 25px;
    }
    .news-aside ul{
        gap:18px;
        margin: 0 0 50px 0 ;
    }
    .news-aside ul li a{
        font-size: 19px;
        line-height: 22px;
    }
    /*.news-section  .news-grid{*/
    /*    grid-template-columns: repeat(3, 1fr);*/
    /*}*/
    .social-resp-figure,
    .latest-news-figure{
        flex-direction: row;
        gap: 12px;
    }
    .social-card-item {
        gap: 14px;
    }
    .social-resp-item,
    .latest-news {
        grid-template-columns: 1fr;

    }
    .social-resp-item img,
    .latest-news img{
        width: 176px;
        height: 109px;
    }
    .social-resp-page h1{
        margin-bottom: 30px;
    }
    .addtoany_share_save_container.addtoany_content{
        margin: -62px 0 10px 0;
    }

    .social-resp-list,
    .latest-news{
        grid-template-columns: 1fr;
        display: grid;
        gap: 20px;
    }

    .social-resp-aside{
        margin-top: 0;
    }
    .social-resp-item {
        flex-direction: row;
    }

    .social-responsibility-single .post-content .wp-block-heading{
        font-size: 32px;
        line-height: 42px;
        margin: 50px 0 20px;
    }

    .social-responsibility-single{
        flex-direction: row;
        gap:20px;
    }
    .social-responsibility-single article:not(.social-resp-item){
        width: 70%;
    }
    .social-resp-aside{
        min-width: 340px;
    }
    .news-aside{
        min-width: 354px;
        width: 354px;
    }
    .search-form {
        margin: 30px 0;
    }
    .search-field {
        padding: 15px 22px;
    }
    h2.no-result{
        font-size: 20px;
        line-height: 28px;
        margin-bottom: 10px;
    }
    .gallery-item{
        max-width: 348px;
        max-height: 226px;
    }
    .about-us-page .wp-block-media-text {
        margin-bottom: 50px;
        gap: 34px;
    }
    .about-us-page  .wp-block-media-text__content p {
        margin-bottom: 30px;
    }
    .about-us-page .wp-block-heading{
        margin-bottom: 30px;
    }
    .video-item{
        gap:18px;
    }
    .our_mission_section {
        flex-direction: row;
        gap: 35px;
    }

    .branches-section > p{
        font-size: 16px;
    }
    .doctors figure img{
        width: 215px;
    }

    .footer-top {
        flex-direction: row;
        gap: 20px;
    }
    .footer_contact{
        margin-bottom: 0;
    }
    .map {
        width: 30%;
        margin: 0;
    }
    .services {
        grid-template-columns: repeat(3, 1fr);
    }
    .branches-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /*.hero {*/
    /*    margin: 100px 0;*/
    /*}*/
    .img-container{
        min-width: 514px;
        height: 280px;
        aspect-ratio: 16/9;
    }
    /*.doctor-link figure{*/
    /*    align-items: stretch;*/
    /*}*/

    .our_mission_section-images{
        align-items: flex-start;
    }
    .mission-image{
        min-width: 220px;
    }
    .mission-image img{
        width: 120px;
        height: 120px;
        margin-top: 30px;
    }
    .mission-text{
        font-size: 18px;
        line-height: 1.5;
        text-align: center;
        padding: 0 5px;
    }
    .mission-arrow{
        width: 40px;
        height: 40px;
    }
    .single-branch .services{
        margin: 20px 0 50px;
    }

}

@media screen and (min-width: 1136px) {
    .news-section  .news-grid{
        grid-template-columns: repeat(4, 1fr);
    }
    #home .services,
    #home .contact-form{
        margin-bottom: 0;
    }
    #home .news-section,
    #home .branches-section,
    #home .contact-section,
    .home-services,
    .opinion-slider-section,
    .checkUp-section,
    .stacked-cards,
    .helpful-section,
    .adv-section{
        margin: 80px 0;
    }
    .stacked-cards{
        padding: 70px 0 50px;
    }
    /*.card{*/
    /*    min-width: 580px;*/
    /*}*/
    .card-badge{
        margin-bottom: 30px;
    }
    .careers-section,
    .video-section,
    .photo-section,
    .our_mission_section,
    .our-team-section{
        padding: 100px 0;
    }
    .team-member-main-details h2 {
        margin-top: 36px;
    }
    .stacked-cards h2{
        margin-bottom: 30px;
    }
    .service-single-content{
        gap:30px;
    }

    .active-service-price.services-sub div{
        padding: 20px 5px 20px 10px;
    }


    .link-arrow {
        width: 26px;
        height: 26px;
    }
    .doc-patient-content .wp-block-media-text{
        flex-direction: row;
        width: 100%;
        margin-top: 15px;
    }
    .doc-patient-content .wp-block-media-text__media{
        padding: 45px 50px;
    }
    .doc-patient-content .wp-block-media-text__media img{
       width: 130px;
        height: 130px;
    }
    .doc-patient-content .wp-block-media-text__media{
        /*order: 1;*/
        min-width: 250px;
        margin: 10px 0 auto 0;
    }
    /*.doc-patient-content .wp-block-media-text__content{*/
    /*    order:2;*/
    /*}*/
    .about-us-page .wp-block-media-text__media{
        min-width: 500px;
    }
    .header-bottom-menu ul {
        gap: 30px;
    }
    .basket{
        margin-left: 10px;
    }
    .header-bottom-menu a{
        font-size: 13px;
    }
    .sidebar,
    .category-list {
        min-width: 370px;
        width: 370px;
    }
    .payment .woocommerce.is_not_empty{
        flex-direction: row;
    }
    .woocommerce-cart-form tr td{
        padding: 33px 10px 28px !important;
    }
    p, ul li {
        font-size: 16px;
        line-height: 24px;
    }

    .thankyou-content{
       padding:10px !important;
    }
    .checkout-products,
    .checkout-bottom{
        padding:30px !important;
    }
    .thankyou-content h2{
        padding: 20px 10px 0;
    }
    .basket {
        margin-left: 52px;
    }
    main {
        padding-bottom: 150px;
    }
    #standard-page h2{
        margin: 50px 0 20px;
    }
    .mission-image {
        padding: 25px 25px 20px;
    }
    .single-branch-top{
        margin-bottom: 30px;
    }
    .doctor-link .doctor-img{
        min-width: 340px;
        width: 340px;
        height: 340px;
    }

    .hero {
        gap: 30px;
    }
    .team-thumbnail {
        min-width: 462px;
        width: 462px;
        height: 462px;
        border-radius: 20px;
        overflow: hidden;
        background: var(--gray);
    }
    .team-thumbnail img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .services {
        grid-template-columns: repeat(3, 1fr);
        margin: 30px 0 100px;
        padding: 0;
    }
    .gallery-container {
        grid-template-columns: repeat(4, 1fr);
    }
    .social-card-grid {
        grid-template-columns: repeat(4, 1fr);
        gap:30px;
    }
    .social-resp-date {
        font-size: 16px;
    }
    .error-content {
        margin: 60px auto 150px;
    }
    .contact-form{
        margin: 30px 0 80px;
    }
    .contact-form img{
        display: block;
        width:50%;
        top: 50px;
        right: -37px;
    }
    .wpcf7-form{
        max-width: 580px;
    }

    .map{
        width: 35%;
    }
    .team-list {
        grid-template-columns: repeat(4, 1fr);
    }
    .single-branch .services{
        grid-template-columns: repeat(4, 1fr);
    }
    .cart_totals,
    .checkout-right,
    .thanks_payment{
        min-width: 324px;
        margin-left: auto;
    }
    .news-item figcaption {
        padding: 14px 0 0;
    }

    .mission-image {
        min-width: 250px;
        /*height: 324px;*/
    }
    .mission-image img{
        width: 140px;
        height: 140px;
        margin-top: 0;
    }

    .branch-single-working-days{
        gap: 10px 30px;
    }
    .modal{
        max-width: 1020px;
    }
    .footer-top{
        padding: 0;
        gap:40px;
    }
}
@media screen and (min-width: 1366px) {

    .contact-form img{
        width:55%;
        top: 0;
        right: -37px;
    }
    .about-us-page .wp-block-media-text__media{
        min-width: 635px;
    }

    .map {
        width: 35%;
    }

    .wpcf7-form{
        max-width: 630px;
    }


    .news-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}
    @media screen and (min-width: 1520px) {
        .header-bottom-menu ul{
            gap:54px;
        }
        .active-service-price.services-sub div{
            padding: 20px 5px 20px 20px;
        }

        #home .news-section,
        #home .branches-section,
        #home .contact-section,
        .opinion-slider-section,
        .checkUp-section,
        .stacked-cards,
        .helpful-section,
        .adv-section{
            margin: 100px 0;
        }

        .stacked-cards{
            padding: 90px 0 70px;
        }
        #home .news-section h2,
        #home .branches-section h2,
        #home .contact-section h2,
        .home-services h2,
        .opinion-slider-section h2,
        .checkUp-section h2,
        .stacked-cards h2,
        .helpful-section h2{
            margin-bottom: 30px;
        }
        #home .news-section h2+p,
        #home .branches-section h2+p,
        #home .contact-section h2+p,
        .home-services h2+p,
        .opinion-slider-section h2+p,
        .checkUp-section h2+p,
        .stacked-cards h2+p,
        .helpful-section h2+p{
            margin-bottom: 30px;
        }
        .services-table th,
        .services-table td{
            padding-right: 35px;
            padding-left: 20px;
        }
        .helpful-grid{
            margin-top: 30px;
            height: 278px;
        }


        .services-table th:first-child,
        .services-table td:first-child{
            padding-left: 10px;
        }
        #search .container{
            width: 1420px;
        }
        .sidebar ul li a{
            padding: 22px 15px;
            font-size: 18px;
            line-height: 24px;
        }
        h1 {
            font-size: 36px;
            line-height: 46px;
            margin-bottom: 20px;
        }
        h2 {
            font-size: 32px;
            line-height: 42px;
            margin-bottom: 30px;
        }
        h3 {
            font-size: 28px;
            margin-bottom: 20px;
        }
        .container {
            padding: 0;
        }
        #home  .swiper-button-next{
            right: -22px;
        }

        #home  .swiper-button-prev{
            left: -22px;
        }
        .doc-patient-content .wp-block-media-text{
            margin-top: -10px;
        }
        .doc-patient-content .wp-block-media-text__media{
            padding: 55px 60px;
        }
        /*.doc-patient-content .entry-content{*/
        /*    margin-top: -20px;*/
        /*}*/
        .doc-patient-content .wp-block-media-text__media img{
            width: 192px;
            height: 192px;
        }
        .doc-patient-content .wp-block-media-text__media{
            min-width: 315px;
        }

        .checkout-products,
        .checkout-bottom,
        .thankyou-content{
            padding: 40px !important;
        }
        .services{
            padding: 0;
            grid-template-columns: repeat(4, 1fr);
        }
        .service-single-top{
            margin-bottom: 60px;
        }
        .service{
            min-width: 341px;
        }
        .our_mission_section {
            gap: 44px;
        }
        .video-item {
            width: 465px;
            margin: 0 auto;
        }


        .team-list {
            grid-template-columns: repeat(5, 1fr);
        }
        .footer-menu {
            gap: 100px;
        }

        .branches-grid {
            grid-template-columns: repeat(5, 1fr);
        }
        .contact-form img{
            width: auto;
            top: -10px;
            right: -25px;
        }
        .wpcf7-form{
            max-width: 658px;
        }
        .branch-info-item{
            gap:20px;
            padding: 18px 38px;
        }
        .branch-info-item span{
            font-size: 16px;
            line-height: 24px;
        }
        .branch-info-item strong{
            font-size: 18px;
        }
        .branch-single-working-days{
            gap: 10px 46px;
        }
        .doctors figcaption h3 {
            font-size: 18px;
            line-height: 24px;
        }
        .active-service-price div{
            padding-right: 27px;
        }

        .doctor-link h3{
            font-size: 24px;
            line-height: 32px;
            margin: 30px 0 10px;
        }
        .doctor-link h3+strong{
            font-size: 18px;
            line-height: 26px;
            margin-bottom: 30px;
        }
        .doctor-link .doctor-education *{
            font-size: 15px;
            line-height: 23px;
        }
        p.education-title{
            font-size: 20px;
            line-height: 28px;
            margin: 0 0 10px 0;
        }
        .map {
            min-width: 488px;
            width: 488px;
            height: 368px !important;
        }
        .footer-menu >div{
            min-width: 195px;
        }
        .mission-content {
            max-width: 700px;
        }
        .mission-image{
            min-width: 220px;
            padding: 48px 33px 20px;
        }
        .mission-image img{
            width: 160px;
            height: 160px;
        }
        .mission-text{
            font-size: 23px;
            line-height: 31px;
            padding: 0 5px;
            text-align: left;
        }
        .mission-arrow{
            width: 48px;
            height: 48px;
        }
        .header-bottom-menu a{
            font-size: 14px;
        }
        .basket{
            margin-left: 50px;
        }

    }

    @media screen and (min-width: 1920px) {
        .header-bottom-menu ul {
            gap:54px;
        }
        .basket{
            margin-left: 70px;
        }

        .img-container {
            width: 514px;
            height: 280px;
        }
        .footer-menu {
            gap: 133px;
        }

        .footer-logo {
            margin-bottom: 60px;
        }

        .footer-top {
            flex-direction: row;
            gap: 70px;
        }

        .footer-bottom {
            padding: 22px 0 20px;
        }
        p {
            margin-bottom: 30px;
        }
        .contact-form{
            margin: 30px 0 100px;
        }
        .active-service-price h3{
            font-size: 20px;
            line-height: 28px;
        }
        .woocommerce-Price-amount{
            font-size: 18px;
            line-height: 28px;
        }
        .active-service-price h4{
            font-size: 18px;
            line-height: 28px;
        }


    }
@media screen and (max-width: 1200px) {
    .header-top-menu,
    #menu-header_second_menu{
        display: none;
    }
    .language-switch{
        width: 65px;
    }
    /*.lang-btn img{*/
    /*    margin-right: 5px;*/
    /*}*/
    .header-bottom-menu{
        display: block;
        padding: 0.5rem  0;
    }
    .header-bottom-menu_container{
        justify-content: space-between;
        padding: 0 0.25rem;
    }
    /* Burger button hidden on desktop */
    .burger-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
        border: 0;
    }

    .burger-btn span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #000;
        border-radius: 2px;
    }
    /* Mobile overlay hidden by default */
    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        height: 100vh;
        background-color: rgba(0,0,0,0.7);
        z-index: 101;
        display: none; /* hidden by default */
    }

    .mobile-menu-overlay.active {
        display: block;
    }

    .mobile-menu {
        background-color: #fff;
        width: 80%;
        height: 100vh;
        padding: 2rem;
        overflow-y: auto;
        position: relative;
        z-index: 1001;
    }
    .mobile-menu ul{
        list-style-type: none;
    }
    .mobile-menu ul li{
        margin-bottom: 15px;
        font-weight: 500;
    }
    .mobile-menu ul li .sub-menu li{
        margin-bottom: 5px;
    }
    .mobile-menu ul a{
        color: var(--main-color);
        font-size: 16px;
    }
    .mobile-menu ul li .sub-menu{
        padding-left: 20px;
    }
    .mobile-menu ul li .sub-menu a{
        color: var(--greydark);
        opacity: 0.7;

    }
    #menu-header_first_menu-1{
        margin-top: 50px;
        padding-left: 0;
    }
    #menu-header_second_menu-1{
        padding-left: 0;
    }
    .mobile-close-btn {
        position: absolute;
        top: 1.5rem;
        right: 2rem;
        font-size: 2rem;
        background: none;
        border: none;
        cursor: pointer;
        line-height: 1;
        color: #000;
    }

}

/* --- Mobile responsiveness --- */
@media screen and (max-width: 768px) {
    .checkout-review-order-table tr td::before,
    .services-table tr td::before{
        content: attr(data-title) ": ";
        font-weight: 600;
        float: left;
        margin-right: 10px;
        font-size: 16px;
    }
    .single-product table{
        margin: 20px 0;
    }
    .doctors .doctor-img{
        width: 100%;
    }
    .checkout-review-order-table tr td,
    .services-table tr td{
        display: block;
        text-align: right !important;
    }
    .checkout-review-order-table tr th[scope="col"],
    .services-table tr th[scope="col"]{
        display: none;
    }
    .services-table tr td{
        padding: 10px 0;
        border-right: 0;
    }

    .checkout-review-order-table tr td:first-child,
    .checkout-review-order-table tr td:last-child,
    .services-table tr td:first-child,
    .services-table tr td:last-child{
        padding: 10px 0;
        font-size: 14px;
        line-height: 22px;
    }
    .cart_totals,
    .checkout-right,
    .thanks_payment,
    .thanks_payment-right{
        margin: 0 auto;
        width: 100%;
        max-width: none;
    }


    #pricelist h1{
        margin-bottom: 5px;
    }
    .category-item{
        padding: 16px;
    }
    .category-header{
        font-size: 15px;
        line-height: 23px;
    }
    .language-switch{
        width: 55px;
    }
    .doctors-list{
        display: grid;
        gap: 10px;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .doctor-link{
        width: 100%;
        margin: 10px auto;
    }

    .card {
        margin: 0 0 1rem 0;          /* stacked vertically */
        max-width: 100%;
        height: auto;                /* let height grow naturally on mobile */
        transform: none !important;
    }
    .accordion-arrow{
        max-width: 13px;
    }

    .doctors figure {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .active-service-price h4,
    .active-service-price .woocommerce-Price-amount{
        font-size: 14px;
        line-height: 22px;
    }
    .active-service-price h4{
        margin-bottom: 5px;
    }
}
@media screen and (max-width: 576px) {
    .doctors a,
    .team-thumbnail{
        max-width: 350px;
        margin: 0 auto;
    }

    .lang-menu{
        left:-75%;
        width: 90px;
        padding: 5px;
    }
    .lang-menu li{
        font-size: 14px;
        padding: 2px 5px;
    }
    .lang-menu li img{
        width: 20px;
    }
    .doctors-link{
        max-width: 350px;
    }
    .header-top-contacts a[href^="tel:"] {
        font-size:0;
        background: url("/wp-content/uploads/2025/10/phone.png") no-repeat center;
        width: 29px;
        height: 28px;
        background-size: 65%;
    }

    .slider-top .container{
        padding: 0;
    }
    #home  .swiper-button-next{
        right: 5px;
    }

    #home  .swiper-button-prev{
        left: 5px;
    }

}


.hidden{
    display: none;
}

.category-description{
    p{
        display: flex;
        padding: 20px 0;
        gap:20px;
        width: 100%;
            img{
                overflow: hidden;
                object-fit: cover;
                border-radius: 25px !important;
            }
    }
    iframe {
        border-radius: 25px !important;
    }
}


.single-team_member img{
    border-radius: 20px;
}


.tax-product_cat .doctor-img img {
    border-radius: 20px !important;
}