:root {
    --primary: #2563eb; /* основной синий */
    --primary-dark: #1d4ed8; /* тёмно-синий для ховера */
    --primary-light: #3b82f6; /* светлый синий */
    --primary-bg-light: #eff6ff; /* очень светлый фон для блоков */

    --accent-orange: #f59e0b; /* оранжевый для звёзд, акцентов */

    --text-dark: #0f172a; /* основной текст (заголовки) */
    --text-medium: #334155; /* второстепенный текст */
    --text-light: #475569; /* малозначительный текст */
    --text-muted: #64748b; /* ещё светлее */

    --bg-white: #ffffff; /* белый фон */
    --bg-light: #f8fafc; /* светло-серый фон */
    --bg-lighter: #f1f5f9; /* фон для футера, секций */
    --border-light: #e2e8f0; /* цвет границ */
    --border-medium: #cbd5e1; /* более тёмная граница */

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 8px 20px -8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -8px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 8px 16px -4px rgba(37, 99, 235, 0.4);

    --border-radius-card: 28px;
    --border-radius-section: 48px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:
        "Segoe UI",
        Roboto,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;
}

.pb-4 {
    padding-bottom: 20px;
}

.pb-5 {
    padding-bottom: 25px;
}

.pb-10 {
    padding-bottom: 50px;
}

a {
    color: var(--text-dark);
    text-decoration: none;
    line-height: inherit;
}

body {
    background: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 16px;
}

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

._h1 {
    font-size: 26px;
}

._h3 {
    margin-bottom: 20px;
}

button,
.button,
.btn {
    outline: none;
    font-size: 17px !important;
    border: 1px solid var(--primary);
    background-color: var(--primary);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-weight: 500;
    text-align: center;
    font-family: ssinterface, sans-serif;
    padding: 9px 15px;
    transition: background-color 0.3s ease;
    display: inline-block;
    width: 100%;
    position: relative;
}

button .load-element,
.button .load-element,
.btn .load-element {
    position: absolute;
    left: 46%;
    top: 0%;
}

textarea,
input[type="text"],
input[type="number"] {
    font-family: inherit;
    border-width: 0px;
    color: rgba(0, 0, 0, 0.75);
    font-size: 18px;
    padding: 10px 15px 10px 15px;
    height: 46px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    transition: all 0.15s linear;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    outline: none;
    width: 100%;
}

.single-input {
    background: none !important;
}

.mb-1 {
    margin-bottom: 5px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 15px;
}

.mb-4 {
    margin-bottom: 20px;
}

.button.__outline,
.btn.__outline {
    background-color: var(--bg-white);
    color: var(--primary-light);
}

.phone-hide {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.phone-view-btn {
    grid-gap: 0 4px;
    gap: 0 4px;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    cursor: pointer;
}

.phone-view-btn a {
    position: relative;
    max-width: 40px;
    overflow: hidden;
    white-space: nowrap;
    color: #26364b;
    pointer-events: none;
    font-weight: 400;
}

.phone-view-btn._visible a {
    max-width: 100%;
}

.phone-view-btn a::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, transparent 60%, #fff);
}

.phone-view-btn._visible a::before {
    display: none;
}

.phone-view-btn span {
    font-weight: 600;
    color: var(--primary);
}

.phone-view-btn._visible span {
    display: none;
}

.h2-m {
    text-align: left;
    font-size: 25px;
    font-weight: 400;
}

.fancy-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-family: "Arial", sans-serif;
    font-size: 16px;
}

.fancy-checkbox input {
    display: none;
}

.fjg499e {
    width: auto;
    font-size: 20px;
    margin: auto;
    font-weight: 700;
    text-align: center;
}

.fj4ggktr4 {
    font-size: 18px;
    width: auto;
    margin: 20px auto;
}

.jgi955kg {
    margin-bottom: 23px;
    color: #ff256c;
    line-height: 20px;
    font-size: 23px;
    font-weight: 700;
}

.jgi955kg a {
    color: #ff256c;
}

.ghj56yhg {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 25px;
}

._description {
    padding-top: 7px;
    font-size: 14px;
}

.g1fhr55hfj {
    border: 1px solid #b7b7b7 !important;
    background-color: #b7b7b7 !important;
}

.form-card {
    max-width: 565px;
}

.form-card-body {
    display: flex;
    padding-bottom: 20px;
}

.form-card-img {
    padding-right: 32px;
}

.form-card-body .component-clinic-price-content ._name-price {
    font-weight: bold;
    font-size: 17px;
    padding-right: 15px;
}

.form-card-body .component-clinic-price-content ._block {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-flow: row wrap;
}

.form-card-note-online-back {
    padding: 7px 12px;
    text-transform: initial;
    margin-top: 20px;
    position: relative;
}

.usloviyes {
    font-size: 13px;
    padding: 25px 15px 0px;
    text-align: center;
}

.card-right-block ._doctor_name {
    margin: 0 0 10px !important;
    line-height: normal;
    font-size: 21px;
}

.buttons-wrapper::-webkit-scrollbar {
    display: none;
}

.buttons-wrapper {
    scrollbar-width: none;
}

/* Контейнер-обёртка для скролла БЕЗ видимой полосы */
.buttons-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
    scrollbar-width: none; /* скрываем скроллбар в Firefox */
    white-space: nowrap;
    user-select: none;
}

/* Скрываем скроллбар в Chrome, Safari, Edge */
.buttons-wrapper::-webkit-scrollbar {
    display: none; /* полностью скрываем полосу прокрутки */
}

.buttons-wrapper:active {
    cursor: grabbing;
}

/* Родитель кнопок — inline-flex для естественной ширины */
.buttons-row {
    display: inline-flex;
    gap: 12px;
    padding: 8px 4px;
}

/* Стили кнопок */
.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 40px;
    border: 1px solid #ddd;
    background-color: white;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

._row {
    padding-bottom: 15px;
}

._row > ._label {
    font-weight: 400;
    font-size: 16px;
    padding-bottom: 6px;
    color: var(--text-muted);
}

.slot-row._active {
    display: block;
}

.popup-slot-time {
    min-width: 200px;
    padding: 10px;
    border: 1px solid var(--border-light);
    box-shadow: inset 0 0 0 1px var(--bg-light);
    border-radius: var(--border-radius-card);
    cursor: pointer;
    display: flex;
}

.popup-slot-time-calendar {
    padding-right: 15px;
}

.popup-slot-time-calendar > svg {
    width: 27px;
}

.popup-slot-time-desc {
    display: flex;
    flex-flow: row wrap;
    font-size: 15px;
}

.popup-slot-time > div:last-child {
    padding-bottom: 0px;
}

.popup-slot-time .popup-slot-time-desc > div {
    padding-bottom: 2px;
}

.popup-slot-time .popup-slot-time-desc span {
    font-weight: 400;
    padding-right: 10px;
}

.popup-slot-time .popup-slot-time-desc i {
    font-style: normal;
}

.popup-slot-time ._week {
    padding: 0px 25px;
}

.popup-slot-time ._null {
    flex: 1 100%;
    text-align: center;
    color: red;
}

._error-required {
    background-color: rgb(255 0 0 / 22%) !important;
}

.popup-slot-time .popup-slot-time-desc > div {
    padding-bottom: 2px;
}

.loadajaxex .popup_main_child_1 {
    background: none;
    box-shadow: none;
}

.btn-outline {
    padding: 12px 24px;
    border: 1px solid var(--border-light);
    border-radius: 40px;
    background: var(--bg-white);
    color: var(--text-medium);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.checkbox-icon {
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 6px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: white;
}

.checkbox-icon svg {
    width: 16px;
    height: 16px;
    fill: white;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.checkbox-label {
    color: #333;
    font-weight: 500;
}

.fancy-checkbox input:checked + .checkbox-icon {
    background: var(--primary);
    border-color: var(--primary);
    animation: bounce 0.3s ease;
}

.fancy-checkbox input:checked + .checkbox-icon svg {
    transform: scale(1);
}

.clinic-diagnostics {
    max-height: 400px;
    overflow-y: auto;
}

.service {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f6f8f9;
    flex-flow: row wrap;
    font-size: 17px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    gap: 37px;
}

.service.mini {
    cursor: pointer;
}

.service > ._name {
    max-width: 55%;
}

.service > ._content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-flow: row wrap;
    gap: 25px;
}

.main-filter-checkbox .checkbox-icon {
    width: 15px;
    height: 15px;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.breadcrumb {
    padding-bottom: 15px;
    color: var(--text-medium);
    padding-top: 25px;
}

.crumbs-detail {
    padding-bottom: 36px;
    padding-top: 0px;
}

.post-title {
    padding-bottom: 15px;
}

.post-description {
    padding-bottom: 25px;
    color: var(--text-medium);
    line-height: 21px;
}

.state-content {
    padding-bottom: 25px;
    color: var(--text-medium);
}

.state-content a {
    color: var(--primary);
    font-weight: 700;
}

.state-content p {
    margin: 0px;
    line-height: 21px;
}
.state-content h2 {
    margin-top: 10px;
    margin-bottom: 13px;
}

.state-content h3 {
    margin-top: 10px;
    margin-bottom: 13px;
}

.state-content h4 {
    margin-top: 10px;
    margin-bottom: 13px;
}

.state-content ul,
.post-description ul,
.state-content ol,
.post-description ol {
    margin: 5px 0px;
    margin-bottom: 10px;
    list-style: disc;
    padding-left: 45px;
    line-height: 21px;
}

.state-content ol,
.post-description ol {
    list-style: decimal;
}

.textvnimatelno {
    border: 2px solid #eab500;
    padding: 7px;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 13px !important;
}

.component-clinic-price-content._departure ._icon {
    display: none;
}

.online-button-note {
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
}

.specialists-image {
    padding: 0px 0px;
}

.specialists-image .__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: row wrap;
    gap: 10px;
}

.specialists-image .__item {
    flex: 1 13%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e9f9;
    border-radius: 16px;
    padding: 12px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.specialists-image .__item:hover {
    transform: translateY(-5px);
}

.specialists-image .__item svg {
    color: var(--text-dark) !important;
}

.specialists-image .__item svg circle {
    color: var(--text-dark) !important;
}

.specialists-image .__item svg path {
    color: var(--text-dark) !important;
}

.specialists-image .__item svg path {
    fill: var(--text-dark) !important;
}

.specialists-image .__item:hover svg {
    color: var(--primary) !important;
}

.specialists-image .__item:hover svg path {
    color: var(--primary) !important;
}

.specialists-image .__item:hover svg path {
    fill: var(--primary) !important;
}

.specialists-image .__item:hover svg circle {
    fill: var(--primary) !important;
}

.specialists-image .__item > .__item-icon {
    width: 36px;
    height: 36px;
}

.specialists-image .__item > .__item-icon.fizioterapevt {
    position: relative;
}

.specialists-image .__item > .__item-icon.fizioterapevt svg {
    position: absolute;
    width: 48px;
    height: 53px;
    left: -6px;
    top: -6px;
}

.items-block.empty {
    margin-bottom: 25px;
}

.specialists-image .__item > .__item-icon > svg {
    width: 100%;
    height: 100%;
}

.specialists-image .__name {
    text-align: center;
    padding-top: 12px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.card {
    max-width: 1300px;
    width: 100%;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-section);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
    padding: 40px 48px 0 48px;
    border: 1px solid var(--border-light);
    position: relative;
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 16px;
    margin-bottom: 50px;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    width: 44px;
    height: 44px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 26px;
    box-shadow: 0 10px 18px rgba(37, 99, 235, 0.2);
}

.logo-text {
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.4px;
    color: var(--text-dark);
}
.logo-text span {
    color: var(--primary);
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-weight: 500;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-size: 17px;
    transition: color 0.15s;
    font-weight: 500;
}
.nav-links a:hover {
    color: var(--primary);
}

.burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 10;
}
.burger-icon span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    transition: 0.3s;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.overlay.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: var(--bg-white);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 40px 24px;
    overflow-y: auto;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}
.mobile-menu.open {
    left: 0;
}

.mobile-menu .close-btn {
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    margin-bottom: 30px;
    display: inline-block;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-medium);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
}
.mobile-menu a:hover {
    color: var(--primary);
}

.contact-block {
    display: flex;
    align-items: center;
    gap: 24px;
}
.phone {
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
    letter-spacing: -0.2px;
    white-space: nowrap;
    text-decoration: none;
}
.city {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-lighter);
    padding: 10px 18px;
    border-radius: 40px;
    font-weight: 600;
    color: var(--text-medium);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition:
        background-color 0.2s,
        border-color 0.2s;
}
.city:hover {
    background: var(--bg-light);
    border-color: var(--primary);
}
.city::before {
    content: "📍";
    font-size: 16px;
    opacity: 0.8;
}

/* герой */
.hero-with-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 45px 0 30px 0;
}

.hero-text {
    flex: 1;
    /* min-width: 400px; */
}

.hero-title {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.8px;
    color: var(--text-dark);
    /* max-width: 700px; */
}
.hero-title span {
    color: var(--primary);
}

.hero-sub {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 15px;
    border-left: 6px solid var(--primary);
    padding-left: 20px;
    background: var(--bg-light);
}

.hero-image {
    width: 450px;
    flex-shrink: 0;
    /* border-radius: 30px; */
    overflow: hidden;
    /* box-shadow: var(--shadow-lg); */
    /* border: 3px solid var(--bg-white); */
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* поиск */
.search-single {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border-radius: 70px;
    box-shadow: var(--shadow-lg);
    margin: 20px 0 20px 0;
    border: 1px solid var(--border-light);
    transition:
        box-shadow 0.2s,
        border-color 0.2s;
}
.search-single:focus-within {
    box-shadow: 0 15px 30px -8px var(--primary);
    border-color: var(--primary);
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 8px 8px 8px 28px;
    background: transparent;
}

.search-icon-large {
    font-size: 26px;
    margin-right: 16px;
    color: var(--text-muted);
}

.single-input {
    border: none !important;
    background: transparent;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    width: 100%;
    outline: none;
    padding: 18px 0;
}
.single-input::placeholder {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 17px;
}

.search-button-gradient {
    background: var(--primary);
    border: none;
    color: white;
    font-weight: 700;
    font-size: 19px;
    padding: 18px 42px;
    border-radius: 70px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    box-shadow: var(--shadow-primary);
    margin: 6px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
    width: auto;
}
.search-button-gradient:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

/* статистика */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px 32px;
    background: var(--bg-light);
    border-radius: 70px;
    padding: 36px 48px;
    margin: 58px 0 105px 0;
    border: 1px solid var(--border-light);
}

.stat-item {
    display: flex;
    flex-direction: column;
    min-width: 140px;
    width: 22.8%;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -0.5px;
}
.stat-label {
    font-size: 19px;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 6px;
    border-left: 3px solid var(--primary);
    padding-left: 12px;
}

/* ===== ОСНОВНЫЕ БЛОКИ ===== */
.sections-container {
    display: flex;
    flex-direction: column;
    gap: 110px;
    margin: 50px 0 60px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
    border-left: 5px solid var(--primary);
    padding-left: 20px;
}

/* БЛОК 1: Поможем найти врача (4 карточки) */
.doctor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.doctor-grid a {
    text-decoration: none;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-card);
    padding: 28px 22px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition:
        transform 0.2s,
        border-color 0.2s,
        box-shadow 0.2s;
}
.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px -10px var(--primary);
}
.service-card .emoji-big {
    font-size: 38px;
    margin-bottom: 15px;
}
.service-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.service-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.4;
}

/* БЛОК 2: Отзывы (слайдер) */
.reviews-section {
    background: var(--bg-light);
    border-radius: var(--border-radius-section);
    padding: 40px 40px 30px 40px;
    border: 1px solid var(--border-light);
}

.reviews-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding: 15px 5px 25px 5px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--border-light);
    -webkit-overflow-scrolling: touch;
}
.reviews-slider::-webkit-scrollbar {
    height: 6px;
}
.reviews-slider::-webkit-scrollbar-track {
    background: var(--border-light);
    border-radius: 10px;
}
.reviews-slider::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.review-card {
    min-width: 280px;
    background: var(--bg-white);
    border-radius: var(--border-radius-card);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    flex-shrink: 0;
}
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.review-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}
.review-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
}
.review-date {
    font-size: 13px;
    color: var(--text-muted);
}
.review-stars {
    color: var(--accent-orange);
    margin-bottom: 12px;
    font-size: 18px;
}
.review-text {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 15px;
}

/* БЛОК 3: Обследования и диагностика (список) */
.diagnostics-list,
.services-list,
.specialists-list {
    background: var(--bg-white);
    border-radius: 38px;
    padding: 30px 35px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.diagnostics-list ul,
.services-list ul,
.specialists-list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 30px;
}
.diagnostics-list li,
.services-list li,
.specialists-list li {
    font-size: 18px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px dashed var(--border-medium);
    padding-bottom: 8px;
}

.specialists-list .specialist-img {
}

.specialists-list .specialist-img img {
    width: 30px;
    height: 30px;
}

.specialists-list a,
.services-list a,
.diagnostics-list a {
    color: var(--text-medium);
    text-decoration: none;
}

.specialists-list a:hover,
.services-list a:hover,
.diagnostics-list a:hover {
    color: var(--primary);
}

.items-rows-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.doctor-card {
    background: var(--bg-white);
    border-radius: 38px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.doctor-card:hover {
    /* transform: translateY(-3px); */
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* Верхняя часть с фото и основной информацией */
.doctor-main {
    margin-bottom: 25px;
    flex-wrap: wrap;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.doctor-main.no-metro {
    margin-bottom: 0px !important;
}

.doctor-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--primary-bg-light),
        var(--bg-lighter)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--primary);
    border: 3px solid var(--primary-light);
    flex-shrink: 0;
    overflow: hidden;
}
.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-info {
    flex: 2;
    min-width: 300px;
}

.doctor-specialty {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.doctor-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.doctor-qualifications,
.card-right-description {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    color: var(--text-medium);
    font-size: 15px;
    margin-bottom: 15px;
}

.card-right-description {
    gap: 2px 20px;
}

.doctor-qualifications span,
.card-right-description span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.doctor-qualifications span::before,
.card-right-description span::before {
    content: "•";
    color: var(--primary);
    font-weight: 700;
    font-size: 18px;
}

/* Цены */
.price-block {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.price-item {
    background: var(--primary-bg-light);
    padding: 12px 20px;
    border-radius: 20px;
    min-width: 140px;
}

.price-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.price-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Телефон */
.doctor-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.phone-label {
    font-size: 14px;
    color: var(--text-muted);
}

.phone-number {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-lighter);
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all 0.2s;
}

.phone-number:hover,
.phone-number a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.phone-number:hover a {
    color: white;
}

/* Краткое описание */
.doctor-brief {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.5;
    margin: 15px 0;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

/* БЛОК ОНЛАЙН-ЗАПИСИ */
.booking-section {
    flex: 1;
    min-width: 280px;
    background: var(--bg-light);
    border-radius: 30px;
    padding: 20px;
    border: 1px solid var(--border-light);
    align-self: stretch;
}

.booking-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.booking-row {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.booking-item {
    flex: 1;
    min-width: 180px;
}

.booking-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.booking-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 16px;
    color: var(--text-dark);
    background: var(--bg-white);
    cursor: pointer;
    outline: none;
}
.booking-select:focus {
    border-color: var(--primary);
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.time-slot {
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    border-radius: 30px;
    font-size: 15px;
    color: var(--text-medium);
    background: var(--bg-white);
    cursor: pointer;
    transition: all 0.2s;
}
.time-slot:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.time-slot.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.booking-button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.booking-button:hover {
    background: var(--primary-dark);
}

/* Метро */
.metro-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.metro-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.metro-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px 20px;
}

.metro-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    font-size: 14px;
}

.metro-item ._link {
    display: flex;
    gap: 10px;
}

.metro-item ._link ._link-name ._link-name-color {
    display: block;
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: red;
}

.metro-item ._link ._link-name {
    display: flex;
    align-items: center;
    gap: 2px;
}

.metro-item ._link ._link-name ._link-name-name {
    margin-left: 4px;
}

.metro-distance {
    color: var(--text-muted);
    font-size: 13px;
    margin-left: auto;
}

/* Ссылка подробнее */
.doctor-details-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s;
    margin-top: 15px;
}

.doctor-details-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.component-clinic-price-content {
    background: var(--primary-bg-light);
    padding: 12px 20px;
    border-radius: 20px;
    cursor: pointer;
    min-width: 140px;
}

.component-clinic-departure-price-content {
    display: flex;
    justify-content: left;
    flex-flow: row wrap;
    gap: 15px;
}

.component-clinic-price-content.card {
    max-width: fit-content;
}

.component-clinic-price-content:hover,
.component-clinic-price-content._active {
    /* background-color: var(--primary-bg-light); */
}

.component-clinic-price-content.card:not(._departure):hover {
    background-color: #fff;
    cursor: initial;
}

.component-clinic-price-content > ._name {
    margin-bottom: 11px;
    font-weight: normal;
    font-size: 17px;
    color: #393939;
}

.component-clinic-price-content ._block {
    /* display: flex;
    justify-content: left;
    align-items: center;
    flex-flow: row wrap;
    padding-right: 0px; */
}

.component-clinic-departure-price-content
    > .component-clinic-price-content
    ._block {
    flex-direction: column;
}

.component-clinic-price-content ._content ._explanation {
    font-size: 14px;
    padding-top: 0px;
    position: relative;
    z-index: 1;
    cursor: help;
    padding-left: 10px;
}

.component-clinic-price-content ._content ._explanation img {
    width: 20px;
}

.component-clinic-price-content ._content ._explanation ._explanation-info {
    display: none;
    position: absolute;
    bottom: 34px;
    width: 200px;
    padding: 16px;
    text-align: left;
    background: #fff;
    border-radius: 14px;
    box-shadow:
        0 2px 24px rgba(26, 61, 107, 0.08),
        0 0 2px rgba(38, 54, 75, 0.08);
}

.component-clinic-price-content
    ._content
    ._explanation
    ._explanation-info._active {
    display: block;
}

.component-clinic-price-content ._block > ._name-price {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.component-clinic-price-content._departure {
}

.component-clinic-price-content ._block > ._price-item {
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    position: relative;
    z-index: 1;
}

.component-clinic-price-content ._block > ._price-item > ._icon {
    width: 35px;
    padding-right: 12px;
}

.component-clinic-price-content ._block > ._price-item > ._price {
    -webkit-box-sizing: border-box;
    background: var(--primary-color) 38;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    box-sizing: border-box;
    display: inline-block;
    font-size: 20px;
    font-weight: 600;
    height: 41px;
    padding: 0 11px 0 0px;
    position: relative;
}

.component-clinic-price-content ._block > ._price-item > ._price > ._inner {
    -ms-flex-align: center;
    -webkit-box-align: center;
    align-items: center;
    color: #181d21;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100%;
    position: relative;
    z-index: 1;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
}

.component-clinic-price-content
    ._block
    > ._price-item
    > ._price
    > ._inner
    > ._price-text {
    vertical-align: middle;
    color: #42474c;
}

.component-clinic-price-content
    ._block
    > ._price-item
    > ._price
    > ._inner
    > ._price-ruble {
    padding-left: 6px;
}

.component-clinic-price-content ._block > ._price-item > ._price-discount {
    display: inline-block;
    height: 41px;
    margin-left: 16px;
    vertical-align: top;
}

.component-clinic-price-content
    ._block
    > ._price-item
    > ._price-discount
    > ._discount {
    background: #ed2227;
    border-radius: 5px;
    color: #fff;
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    line-height: 12px;
    margin-bottom: 3px;
    padding: 2px 4px 2px 6px;
    position: relative;
    text-align: center;
    top: -1px;
    z-index: 1;
}

.component-clinic-price-content .d-none {
    display: none !important;
}

.component-clinic-price-content
    ._block
    > ._price-item
    > ._price-discount
    > ._discount-inner {
    color: #979ea7;
    font-weight: 500;
}

.component-clinic-price-content
    ._block
    > ._price-item
    > ._price-discount
    > ._discount-inner
    > ._discount-ruble {
    position: relative;
}

.component-clinic-price-content
    ._block
    > ._price-item
    > ._price-discount
    > ._discount-inner
    > ._discount-ruble:after {
    background: #ed2227;
    content: "";
    display: block;
    height: 1px;
    left: 0;
    position: absolute;
    right: 0;
    top: 50%;
}

.online-note {
    display: block;
    align-items: center;
    justify-content: center;
    padding: 0px 0px 0px 0px;
}

.online-note-clinic._active {
    display: block;
}

.online-note-help {
    padding-bottom: 20px;
}

.phone-clinic-card .phone-label {
    display: none;
}

.phone-clinic-card {
    padding-bottom: 15px;
}

/* адаптивность */
@media (max-width: 900px) {
    .doctor-main {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .doctor-qualifications {
        justify-content: center;
    }

    .price-block {
        justify-content: center;
    }

    .doctor-contact {
        justify-content: center;
    }

    .booking-row {
        flex-direction: column;
        align-items: stretch;
    }

    .booking-button {
        width: 100%;
    }
}

@media (max-width: 1000px) {
    .doctor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .diagnostics-list ul,
    .services-list ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .doctor-grid {
        grid-template-columns: 1fr;
    }
    .reviews-slider .review-card {
        min-width: 240px;
    }
    .metro-list {
        grid-template-columns: 1fr;
    }
}

/* футер */
.footer {
    overflow: hidden;
    background: var(--bg-lighter);
    border-radius: 40px 40px 40px 40px;
    padding: 48px 40px 40px 40px;
    margin: 0 -48px 0 -48px;
    border-top: 1px solid var(--border-medium);
    border-bottom: 1px solid var(--border-light);
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col {
    flex: 1 1 250px;
    min-width: 220px;
}

.footer-col h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 22px;
    color: var(--text-dark);
}

.registrations {
    padding-bottom: 20px;
    color: var(--text-medium);
    font-size: 15px;
}

.ogrip {
    color: var(--text-medium);
    font-size: 15px;
}

.footer-menu {
    list-style: none;
}
.footer-menu li {
    margin-bottom: 12px;
}
.footer-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.15s;
    border-bottom: 1px dotted transparent;
}
.footer-menu a:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.work-hours p {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.work-hours p span {
    font-weight: 600;
    min-width: 110px;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-info p strong {
    font-weight: 700;
    min-width: 70px;
}

.contact-info a {
    text-decoration: none;
    color: var(--text-dark);
}

.footer-note {
    text-align: center;
    margin-top: 40px;
    color: var(--text-muted);
    font-size: 14px;
    border-top: 1px solid var(--border-medium);
    padding-top: 25px;
}

/* ===== ПОПАП ВЫБОРА ГОРОДА ===== */
.city-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-white);
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    z-index: 1002;
    width: 90%;
    max-width: 400px;
    border: 1px solid var(--border-light);
}

.city-popup.active {
    display: block;
}

.city-popup h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-right: 30px;
}

.city-popup .close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
    line-height: 1;
}
.city-popup .close-popup:hover {
    color: var(--primary);
}

.cities-list {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 10px;
}

.cities-list li {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    font-size: 18px;
    color: var(--text-medium);
    transition:
        background-color 0.2s,
        color 0.2s;
    border-radius: 12px;
}
.cities-list li:hover {
    background: var(--primary-bg-light);
    color: var(--primary);
}

.owl-carousel-main {
}

.owl-carousel-main .owl-controls {
    display: none !important;
}

.owl-carousel-main .owl-carousel-nav {
    top: 46%;
    bottom: 50px;
    width: 100%;
    position: absolute;
    text-align: center;
    height: 1px;
}

.owl-carousel-main .owl-carousel-nav > a > i {
    width: 37px;
    height: 37px;
    padding: 0px;
    display: block;
    background: #fff;
    border-radius: 100%;
    box-shadow: 1px 1px 14px rgba(0, 0, 0, 0.15);
}

.owl-carousel-main .owl-carousel-nav ._prev-btn {
    margin-left: -39px;
    float: left;
    position: relative;
    top: -16px;
}

.owl-carousel-main .owl-carousel-nav ._prev-btn i {
    transform: rotate(-90deg);
}

.owl-carousel-main .owl-carousel-nav ._next-btn {
    margin-right: -39px;
    float: right;
    top: -18px;
    position: relative;
}

.owl-carousel-main .owl-carousel-nav ._next-btn i {
    transform: rotate(90deg);
}

.owl-carousel-main .owl-carousel-nav > a {
    cursor: pointer;
}

.owl-carousel-main > div {
    width: 100%;
    position: relative;
}

.owl-carousel-main .owl-carousel-nav i svg,
.owl-carousel-main .owl-carousel-nav svg path {
    fill: var(--primary) !important;
}

.footer-warning {
    text-align: center;
    margin-top: 20px;
    padding: 20px 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 14px;
}

.age-restriction {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-white);
    padding: 6px 14px;
    border-radius: 40px;
    border: 1px solid var(--border-light);
    font-weight: 600;
    color: var(--text-medium);
}

.age-restriction::before {
    content: "🔞";
    font-size: 18px;
}

.select-block {
    position: relative;
}

.select-block .select-list {
    position: absolute;
    z-index: 23;
    display: none;
    overflow: auto;
    flex-flow: column;
    padding: 0px 0 0px;
    border-radius: 20px;
    margin: 0;
    background-color: #fff;
    box-shadow:
        0 6px 24px rgb(26 61 107 / 16%),
        0 0 2px rgb(38 54 75 / 8%);
    inset: calc(100% + 1px) auto auto 0;
    box-sizing: border-box;
    width: 100%;
    max-height: 300px;
}

.review-healing-doctor-content {
    display: inline-block;
    padding: 5px 10px;
    background: #f0f4f7;
    border-radius: 10px;
    font-weight: 400;
    font-size: 15px;
}

.review-healing-doctor-content a:hover {
    color: var(--primary);
}

.review-healing-doctor span {
    font-weight: 500;
    padding-right: 8px;
}

.review-healing-doctor {
    padding-top: 20px;
}

.select-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-dark);
    background: var(--bg-white);
    padding: 10px 16px;
    cursor: pointer;
    outline: none;
    font-size: 16px;
}

.select-button ._name,
.select-button ._placeholder {
    color: #000;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-button ._placeholder {
    color: rgb(118 118 118);
}

.select-button ._arrow {
    min-width: 24px;
    height: 24px;
    transform: rotate(-180deg);
}

.select-button ._arrow path {
    fill: var(--primary-color) !important;
}

.select-block .select-list ._option {
    padding: 12px 16px;
    cursor: pointer;
    color: #000;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.select-block .select-list ._option:hover,
.select-block .select-list ._option._active {
    background: var(--primary-bg-light) !important;
    color: var(--primary);
}

.select-block .select-list ._active::after {
    content: " ";
    display: inline-block;
    width: 3px;
    height: 8px;
    margin: 0px 0px 0px;
    border: solid var(--primary-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
    right: 10px;
    top: 33%;
}

.select-block .select-list ._option:hover {
    background-color: var(--primary-bg-light);
}

.select-block._active .select-list {
    display: flex;
}

.select-block._active .select-button ._arrow {
    transform: rotate(0deg);
}

.d-none {
    display: none !important;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.pagination ul {
    margin: 0px;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pagination span,
.pagination a {
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-medium);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0 12px;
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-bg-light);
}

.pagination .active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.no-find-item {
    padding: 20px 0px 20px;
}

.empty-items-rows-list {
    background: #fff;
    text-align: center;
    font-size: 20px;
    border-radius: 38px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.empty-items-rows-list > h3 {
    margin: 0px;
}

.empty-items-rows-list > ._info {
    font-size: 16px;
    margin: 0px;
    padding: 20px 0px;
}

.reviews-cart-items {
    padding-top: 35px;
    padding-bottom: 50px;
}

.reviews-cart-content-items {
    display: flex;
    align-items: normal;
    justify-content: space-between;
    flex-flow: row wrap;
    gap: 18px;
}

.reviews-cart-items .review {
    flex: 1 43%;
}

.reviews-cart-items .author-info > h3 {
    font-size: 17px;
}

.reviews-cart-items .author-avatar {
    overflow: hidden;
}

.review-mode-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
}

.reviews-cart-title {
    font-size: 25px;
    padding-bottom: 40px;
    text-align: center;
}

.review {
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-bg-light);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    position: relative;
    animation: fadeIn 0.6s ease-out;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius-card);
    background: var(--bg-white);
    display: flex;
    flex-direction: column;
}

.reviews-cart-items .review {
    flex: 1 43%;
    margin-bottom: 0px;
}

.review::before {
    content: '"';
    font-size: 4em;
    color: #3498db;
    opacity: 0.1;
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: serif;
    display: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    min-width: 60px;
    max-width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    font-weight: 700;
}

.author-info a {
    word-break: break-word;
}

.review-rating {
    color: #f39c12;
    font-size: 1.2em;
}

.line-stars {
    display: flex;
    align-items: center;
    justify-content: center;
}

.line-stars-body {
    width: 75px;
}

.review-content {
    color: #34495e;
    line-height: 1.6;
    height: 100%;
}

.review-mode-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.line-stars-body > ._content {
    width: 100%;
    background-color: #d8d8d8;
    position: relative;
}

.slot-row {
    display: none;
}

.line-stars-body > ._content > ._full {
    position: absolute;
    width: 100%;
    background: var(--accent-orange);
    z-index: 1;
    height: 13px;
    top: 2px;
}

.response-content {
    color: #2c3e50;
    line-height: 1.6;
}

.review-response {
    border: 1px solid var(--primary-bg-light);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    position: relative;
}

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

.response-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: #d1fae5;
    color: var(--accent-green);
}

.line-stars-body > ._content > ._star {
    width: 15px;
    height: 16px;
    background-image: url(/upload/images/star.png);
    background-position: center;
    background-repeat: no-repeat;
    float: left;
    background-size: contain;
    position: relative;
    z-index: 2;
}

.line-stars-body > ._content::after {
    content: " ";
    display: table;
    clear: both;
}

.line-stars._mini .line-stars-body {
    width: auto;
    display: flex;
    gap: 5px;
}

.line-stars._mini .line-stars-body > ._content {
    background: none;
}

.line-stars._mini .line-stars-body > ._content > ._star {
    float: none;
    position: relative;
    top: -1px;
}

.line-stars._mini .line-stars-body > ._content::after {
    display: none;
}

.line-stars._mini .line-stars-body ._rating {
    font-weight: bold;
}

.doctor-slip-rating {
    width: 100%;
    padding-top: 10px;
}

.doctor-slip-rating-cx {
}

.doctor-slip-rating-cx a {
    display: block;
    text-align: center;
    color: var(--text-muted) !important;
    font-weight: bold;
}

.online-note-navigation {
    display: none;
}

.online-clinic-note-headers {
    padding-bottom: 20px;
}

.online-raspisanie-place {
    -ms-flex-wrap: wrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: none;
    flex-wrap: wrap;
    gap: 6px;
}

.online-raspisanie-place._active {
    display: flex;
}

.online-note-time {
    position: relative;
    display: inline-flex;
    width: 71px;
    height: 35px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    border: var(--primary);
    border-radius: 30px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    font-weight: 400;
    transition: background-color 0.3s ease;
}

.doctor-info-clinic {
    display: none;
}

.doctor-info-clinic._active {
    display: block;
}

.online-note-clinic {
    display: none;
}

.popup_main_header-title {
    font-size: 23px;
    padding-bottom: 20px;
    font-weight: bold;
}

.containerss {
    max-width: 587px;
}

.oifnejfe {
    display: flex;
}

.oifnejfe > a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    cursor: pointer;
    font-size: 18px;
    color: var(--text-medium);
    transition:
        background-color 0.2s,
        color 0.2s;
    border-radius: 12px;
}

.oifnejfe > a:hover,
.oifnejfe > a._active {
    background: var(--primary-bg-light);
    color: var(--primary);
}

.cmp-search > ._content > ._bl-form > ._popup {
    display: none;
    -webkit-box-shadow: 0 15px 20px rgba(151, 158, 167, 0.2);
    -webkit-box-sizing: border-box;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 15px 20px rgba(151, 158, 167, 0.2);
    box-sizing: border-box;
    color: #979ea7;
    font-size: 16px;
    padding: 24px 24px;
    position: absolute;
    top: calc(100% + 8px) !important;
    width: 100%;
    z-index: 31;
    max-height: 412px;
    overflow: auto;
}

.cmp-search > ._content > ._bl-form > ._popup._active {
    display: block !important;
}

.cmp-search > ._content > ._bl-form {
    position: relative;
}

.search_select_block_note {
    padding: 12px 16px;
    cursor: pointer;
    color: #000;
    border-bottom: 1px solid var(--border-light);
}

.search_select_block_note > a {
    color: #000;
    display: block;
    width: 100%;
}

.search_select_block_note > div {
    padding-top: 10px;
}

.search_select_block_note:hover {
    background: var(--primary-bg-light) !important;
}

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

.search_select_block_note span > o {
    color: var(--primary);
}

.search_select_block_note > div > span {
    color: var(--text-light);
}

.header_filter {
    font-size: 19px;
    background: var(--bg-light);
    color: var(--text-light);
    padding: 12px 16px;
    margin-bottom: 10px;
    border-left: 6px solid var(--primary);
}

.list-jbject-filter {
    padding-bottom: 20px;
}

.component-clinic-mini-price-content ._price-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.component-clinic-mini-price-content ._price-item > ._price {
    font-weight: 500;
    font-size: 18px;
}

.component-clinic-mini-price-content .ruble {
    position: relative;
    left: -5px;
}

.component-clinic-mini-price-content ._price-item > ._price-discount {
    display: flex;
    align-items: center;
}

.component-clinic-mini-price-content
    ._price-item
    > ._price-discount
    > ._discount {
    color: red;
    font-weight: 500;
    padding-left: 8px;
}

.component-clinic-mini-price-content
    ._price-item
    > ._price-discount
    > ._discount-inner
    > ._discount-ruble {
    position: relative;
}

.component-clinic-mini-price-content .ruble {
    position: relative;
    left: -5px;
}

.cmp-specialist {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.clinic-block {
    background: var(--bg-white);
    border-radius: 38px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    display: flex;
    align-items: flex-start;
}

.clinic-block:hover {
    /* transform: translateY(-3px); */
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.clinic-slip-left {
    width: 178px;
    flex-shrink: 0;
    padding: 0 30px 0 0;
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap;
    align-items: center;
}

.clinic-slip-right {
    display: flex;
    width: 100%;
    flex-basis: 100%;
    justify-content: space-between;
    padding: 0 0 0 0;
    position: relative;
    box-sizing: border-box;
    gap: 30px;
}

.clinic-slip-avatar-link {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    text-decoration: none;
    margin-bottom: 0px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--primary-light);
    width: 140px;
    height: 140px;
    overflow: hidden;
}

.clinic-slip-left .clinic-slip-avatar-link {
    width: 140px !important;
    height: 140px !important;
}

.clinic-slip-avatar-link img {
    max-width: 100px;
    max-height: 100px;
    width: 100%;
    height: auto;
}

.clinic-slip-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 15px;
    flex-direction: column;
    gap: 5px;
}

.clinic-slip-right-l {
    flex: 1 27%;
}

.clinic-slip-right-r {
    min-width: 260px;
    max-width: 260px;
}

.clinic-slip-name {
    font-size: 24px;
    font-weight: bold;
    padding-bottom: 13px;
    display: block;
}

.clinic-slip-license {
    font-size: 13px;
    line-height: 16px;
    font-weight: 400;
    color: #828ea5;
    margin-bottom: 8px;
}

.clinic-street {
    font-weight: 400;
    padding-bottom: 17px;
    color: var(--text-medium);
}

.clinic-metro {
    margin: 0px;
    padding-bottom: 15px;
}

.clinic-metro .metro-list {
    gap: 12px 11px !important;
}

.clinic-description {
    padding-bottom: 20px;
}

.clinic-description p {
    word-wrap: break-word;
    margin: 0px;
    padding: 0px;
    color: var(--text-medium);
    font-size: 15px;
    line-height: 1.5;
}

.schedule-card {
    padding-bottom: 20px;
    color: var(--text-medium);
}

.clinic-schedule > ._content {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 5px;
}

.clinic-schedule ._days {
    font-weight: 400;
}

.clinic-schedule ._days > ._day {
    min-width: 48px;
    margin-right: 16px;
    display: inline-flex;
}

.components-forms-search-global {
    margin-bottom: 55px;
}

.components-forms-search-global ._h1 {
    text-align: center;
}

.main-cities {
    padding-bottom: 17px;
}

.main-cities .oifnejfe {
    gap: 15px;
}

.main-cities .oifnejfe > a {
    font-weight: bold;
}

.region-cities {
    display: flex;
    flex-flow: row wrap;
    gap: 15px;
}

.region-cities .oifnejfe {
    flex-direction: column;
}

.close-window {
    text-align: center;
    padding: 12px 26px 0px;
    display: none;
}

.phone-click {
    padding-top: 40px;
}

.phone-click > a {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--primary-bg-light);
    padding: 8px 18px;
    border-radius: 30px;
    border: 1px solid var(--primary-bg-light);
    cursor: pointer;
    transition: all 0.2s;
    display: inline-block;
}

.body-item-tabs {
    border-radius: 5px;
    padding: 16px 0px 0px;
    display: flex;
    margin-bottom: 0px;
    flex-flow: row wrap;
}

.body-item-tabs > ._item {
    position: relative;
    display: inline-block;
    padding: 15px 15px 25px;
    border: 1px solid transparent;
    border-bottom: 0;
    cursor: pointer;
    font-weight: 400;
    font-size: 16px;
}

.body-item-tabs > ._active {
    border-color: #ccc;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
    border-radius: 5px 5px 0px 0px;
}

.body-content-tabs {
    padding: 20px 0;
    border-top: 1px solid #ccc;
}

.body-content-tabs > ._item {
    display: none;
}

.body-content-tabs > ._active {
    display: block;
}

.paginate-button-all {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paginate-button-all > ._content {
    padding: 10px 20px;
    border: 1px solid #cad6f4;
    border-radius: 8px;
    cursor: pointer;
}

.paginate-button-all > ._content > ._placeholder {
    font-weight: 400;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--primary-bg-light);
    border-left-color: var(--primary-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1320px) {
    .stat-item {
        width: 48%;
    }
}

/* адаптивность общая */
@media (max-width: 1100px) {
    .hero-with-image {
        flex-direction: column;
    }
    .hero-image {
        width: 100%;
        max-width: 530px;
    }
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    .burger-icon {
        display: flex;
    }
    .nav-left {
        /* flex-direction: row-reverse; */
        justify-content: flex-start;
    }
    .hero-text {
        min-width: auto;
    }

    .stat-item {
        width: 39%;
    }
    .clinic-slip-right {
        flex-flow: row wrap;
        gap: 0px;
    }

    .clinic-slip-right-r {
        min-width: initial;
        max-width: initial;
    }

    .clinic-slip-right-l {
        flex: 1 100%;
    }

    .clinic-left-schedule {
        display: block !important;
        padding-top: 20px;
    }

    .clinic-slip-right-r .clinic-schedule,
    .clinic-slip-right-r .phone-view {
        display: none;
    }

    .clinic-left-phone {
        display: block !important;
    }

    .clinic-left-phone .phone-number {
        font-size: 14px;
    }

    .clinic-slip-left {
        width: 185px;
    }
}

@media (max-width: 1023px) {
    .phone-click {
        padding-top: 20px;
    }
}

@media (max-width: 900px) {
    .card {
        padding: 28px 24px 0 24px;
    }
    .footer {
        margin: 0 -24px 0 -24px;
        padding: 40px 24px;
    }

    .search-single {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        gap: 16px;
    }
    .search-input-wrapper {
        background: var(--bg-white);
        border-radius: 60px;
        width: 100%;
        padding: 0 24px;
        border: 1px solid var(--border-light);
    }
    .search-button-gradient {
        width: 100%;
        justify-content: center;
        margin: 0;
    }
    .stats-grid {
        border-radius: 40px;
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .stat-item {
        width: 44.8%;
    }

    .specialists-image .__item {
        flex: 1 30%;
    }

    .review-header {
        flex-wrap: wrap;
    }
}

@media (max-width: 700px) {
    .contact-block {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 660px) {
    .diagnostics-list ul,
    .services-list ul,
    .specialists-list ul {
        grid-template-columns: repeat(1, 1fr);
    }

    .stat-item {
        width: 100%;
    }

    .booking-section {
        min-width: auto;
    }
}

@media (max-width: 620px) {
    .doctor-info {
        flex: 2;
        min-width: auto;
    }

    .select-button ._name,
    .select-button ._placeholder {
        white-space: normal;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 38px;
    }
    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }
    .section-title {
        font-size: 26px;
    }
    .footer-col {
        flex: 1;
    }

    .footer-warning {
        margin-top: 0px;
    }

    .clinic-block {
        flex-flow: row wrap;
    }

    .clinic-slip-left {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        padding-bottom: 20px;
        padding-right: 0px;
    }

    .clinic-slip-right-l {
        text-align: center;
    }

    .clinic-slip-right-l .metro-item {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .clinic-slip-right-r {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .city-popup {
        padding: 24px;
    }
    .cities-list li {
        padding: 12px;
        font-size: 16px;
    }
    .contact-block .phone {
        font-size: 16px;
    }
    .city {
        padding: 6px 12px;
    }

    .specialists-image .__item {
        flex: 1 32%;
    }

    .doctor-card,
    .clinic-block {
        border-radius: 0px !important;
        padding: 20px 0px;
        border: none !important;
        box-shadow: none !important;
        position: relative;
    }

    .doctor-card::after,
    .doctor-card::before,
    .clinic-block::after,
    .clinic-block::before {
        content: " ";
        display: block;
        height: 18px;
        position: absolute;
        left: -24px;
        z-index: 10;
        width: calc(100% + 48px);
    }

    .doctor-card::after,
    .clinic-block::after {
        border-top: 1px solid var(--border-light);
        border-radius: var(--border-radius-section) var(--border-radius-section)
            0px 0px;
        top: 0px;
    }

    .doctor-card::before,
    .clinic-block::before {
        border-bottom: 1px solid var(--border-light);
        border-radius: 0 0 var(--border-radius-section)
            var(--border-radius-section);
        bottom: 0px;
    }
}

@media (max-width: 465px) {
    .region-cities .oifnejfe {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .main-cities .oifnejfe {
        gap: 15px;
        flex-flow: row wrap;
    }
    .main-cities .oifnejfe > a {
        width: 100%;
    }
}

@media (max-width: 413px) {
    .contact-block .phone {
        display: none;
    }
}

@media (max-width: 382px) {
    .booking-section {
        min-width: auto;
    }

    .doctor-info {
        min-width: auto;
    }
}

@media (max-width: 350px) {
    .logo-text {
        display: none;
    }
}

@media (max-width: 330px) {
    .specialists-image .__item {
        flex: 1 100%;
    }
}
