*:focus{
    outline: none;
}
:root {
    --primary: #0d73c3;
    --primary-dark: #08559d;
    --accent: #ffcf33;
    --text: #1d2e49;
    --muted: #8fa0b8;
    --bg: #f8fbff;
    --card-bg: #ffffff;
    --shadow: 0 20px 50px rgba(17, 44, 94, 0.08);
    font-size: 16px;
}
* {
    box-sizing: border-box;
}
body {
    font-family: 'Open Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    margin: 0;
    color: var(--text);
}

@media (min-width: 992px) {
    html {
        scroll-behavior: smooth;
    }
}

main {
    padding: 0px 20px;
    max-width: 1400px;
    margin: 0 auto;
}
@media (max-width: 767px) {
    main {
        padding: 0px 20px;
        max-width: 100%;
        margin: 0 auto;
    }
}
.top_bar_back {
        background: #fff;
    box-shadow: 0 10px 30px rgba(15, 64, 141, 0.08);
}
.top-bar {
    max-width: 1440px;
    height: 74px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: none;
}
@media (max-width: 767px) {
    .top-bar {
        max-width: 100%;
        height: 60px;
        margin: 0 auto;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #fff;
        box-shadow: 0 10px 30px rgba(15, 64, 141, 0.08);
    }
}

.m_block {
    padding: 52px;
    border-radius: 24px;
    margin-bottom: 23px;
    /* background: var(--7, linear-gradient(96deg, #BEE1FF 1.39%, #6EB8F8 100%)); */
    background: linear-gradient(96deg, rgba(190, 225, 255, .5), rgba(110, 184, 248, .5));
    position: relative;
    margin-top:24px;
}
.m_block .main_content {
    width: 542px;
    z-index: 100;
    display: block;
    position: relative;
}
.m_block h1 {
    color: #0F0F0F;
    font-size: 42px;
    font-weight: 600;
    margin-top:0px;
}
.m_block .h4 {
    color: #0F0F0F;
    font-size: 22px;
    font-weight: 400;
    margin-top: 24px;
    margin-bottom: 32px;
}
.m_block a._hero_but {
    display: inline-block;
    color: #FFF;
    text-align: center;
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
    padding: 12px 32px;
    border-radius: 40px;
    background: #307DBF;
    margin-bottom: 32px;
    transition: .25s;
}
.m_block .m_background {
    background: url(../images/main_img_1.png) no-repeat;
    background-size: 69%;
    width: 81%;
    height: 100%;
    position: absolute;
    background-position: right bottom;
    right: 0px;
    bottom: 0;
    z-index: 10;
    border-radius: 24px 24px 24px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.logo-text {
    display: none;
    flex-direction: column;
    font-size: 0.8rem;
    line-height: 1.2;
}
.logo-title {
    margin: 0;
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
}
.logo-text span {
    color: var(--muted);
    font-size: 0.75rem;
}

.desktop-nav {
    display: none;
}

.top-bar__contact {
    display: none;
}
.menu-toggle {
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

@media (min-width: 992px) {
    .top-bar {
        justify-content: flex-start;
        gap: 2rem;
        padding: 10px 40px;
    }

    .logo-text {
        display: flex;
    }

    .menu-toggle {
        display: none;
    }

    .desktop-nav {
        display: flex;
        gap: 2rem;
        flex: 1;
        justify-content: center;
    }

    .desktop-nav a {
        text-decoration: none;
        color: #0f0f0f;
        font-size: 15px;
        font-weight: 500;
    }

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

    .top-bar__contact {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        font-size: 12px;
        line-height: 1.4;
        color: #6d6c6c;
        margin-left: auto;
    }

    .top-bar__contact a {
        color: #0d73c3;
        text-decoration: none;
        font-weight: 600;
        font-size: 14px;
    }
}
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
}
.mobile-menu__panel {
    width: 100%;
    /* max-width: 480px; */
    margin: 0 auto;
    min-height: 100vh;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 64, 141, 0.08);
    height: 74px;
}
@media (max-width: 992px) {
    .mobile-menu__top {
        height: 60px;
    }
}



.mobile-menu__top .logo img {
    width: auto;
    height: auto;
    max-height: 46px;
}

.mobile-menu__content {
    padding: 1.5rem 1.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-close {
    width: 48px;
    height: 48px;
    border: none;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.menu-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 26px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.menu-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__info {
    line-height: 1.4;
}

.mobile-menu__info p {
    margin: 0;
    color: var(--muted);
    font-size: 0.85rem;
}

.mobile-menu__info a {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
}

.mobile-menu__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.25rem 0;
}

.mobile-menu__links svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .mobile-menu {
    opacity: 1;
    pointer-events: auto;
}


.hero-cta {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.cta-button {
    border: none;
    border-radius: 0.6rem;
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #307DBF;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
}

.filters {
    margin-top: -63px;
    margin-left: 32px;
    margin-right: 32px;
    z-index: 100;
    position: relative;
}

@media (max-width: 992px) {
    .filters {
        margin-top: 1.5rem;
        margin-left:0px;
        margin-right:0px;
    }
}

.filter-card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 16px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
}
@media (max-width: 992px) {
    .filter-card {
        background: var(--card-bg);
        border-radius: 12px;
        padding: 24px 16px;
        box-shadow: var(--shadow);
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
}
.dropdown {
    position: relative;
    width:100%;
}
@media (max-width: 992px) {
    .dropdown {
        position: relative;
    }
}
.dropdown.open .filter-select {
    border-color: var(--primary);
    box-shadow: inset 0 0 0 1px rgba(13, 115, 195, 0.15);
}

.filter-select {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    border-radius: 0.9rem;
    border: 1px solid #dfe7f6;
    font-size: 14px;
    font-weight: 400;
    color: #6D6C6C;
    background: #fff;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.filter-select svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.filter-select img {
    width: 22px;
    height: 22px;
}

.selected-label {
    text-align: left;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 1rem;
    padding: 0.5rem 0;
    box-shadow: 0 25px 60px rgba(15, 64, 141, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.dropdown.open .dropdown-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 210px;
    overflow-y: auto;
}

.dropdown-option {
    width: 100%;
    padding: 0.7rem 1.1rem;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 0.95rem;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-option:hover,
.dropdown-option.active {
    background: #e7f0ff;
    color: var(--primary-dark);
}

.dropdown-option .option-line {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.cashback-link {
    margin-top: 0px;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #307DBF;
    font-weight: 500;
    text-decoration: underline;
    width:100%;
    margin-bottom: 66px;
}
.cashback-link img {
    width: 18px;
    height: 18px;
}

@media (max-width: 992px) {
    .cashback-link {
        margin-top: 24px;
        font-size: 10px;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        color: #307DBF;
        font-weight: 500;
        text-decoration: underline;
        margin-bottom: 24px;
    }
    .cashback-link img {
        width: 18px;
        height: 18px;
    }
}

/* .calendar {
    padding: 0.5rem 0.75rem 0.75rem;
} */

.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.calendar-title {
    margin: 0;
    font-weight: 600;
}

.calendar-arrow {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #eef5ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.calendar-arrow svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
}

.calendar-cell {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text);
}

.calendar-cell.weekday {
    font-weight: 600;
    color: var(--muted);
}

.calendar-cell.empty {
    visibility: hidden;
}

.calendar-cell.day {
    cursor: pointer;
    width: 38px;
    height: 38px;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    outline: none;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.calendar-cell.day:hover {
    background: #eef5ff;
    color: var(--primary);
}

.calendar-cell.today:not(.selected) {
    color: var(--primary);
    font-weight: 600;
}

.calendar-cell.selected {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}




.specialists {
    margin-top: 80px;
}
@media (max-width: 992px) {
    .specialists {
        margin-top: 24px;
    }
}



.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-header h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
}
@media (max-width: 992px) {
    .section-header h2 {
        margin: 0;
        font-size: 20px;
        font-weight: 600;
    }
}




.section-header a {
    text-decoration: none;
    color:#0F0F0F;
    font-size: 10px;
}
.section-header a span {
    color: #017dc5;
}

.cards-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cards-grid.cards-grid--columns {
        display: flex;
        gap: 1.2rem;
        align-items: flex-start;
        width: 100%;
    }

    .cards-grid__column {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        flex: 1 1 0;
        min-width: 0;
    }
}

/* doctor cards */
.doctor-card {
    background: white;
    border-radius: 24px;
    padding: 16px;
    box-shadow: -7px 5px 30px 0 rgba(143, 141, 141, 0.1);
    display: flex;
    flex-direction: column;
    gap:12px;
    width: 100%;
    min-width: 0;
}

.doctor-card__content {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.doctor-photo {
    width: 130px;
    flex-shrink: 0;
    position: relative;
}

.doctor-photo img._doc_img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius:12px;
    display: block;
}


.clinic-tag {
    position: absolute;
    left: 6px;
    bottom: 16px;
    transform: translateY(50%);
    background: #fff;
    color: var(--text);
    border-radius: 999px;
    font-size: 12px;
    padding: 3px 4px;
    box-shadow: 0 15px 35px rgba(15, 54, 112, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 600;
}

.clinic-tag img {
    width: 15px;
    height: 15px;
    object-fit: contain;
    display: block;
}
@media (max-width: 992px) {
    .doctor-photo {
        width: 110px;
        flex-shrink: 0;
        position: relative;
    }
    .doctor-photo img._doc_img {
        width: 110px;
        height: 110px;
        object-fit: cover;
        border-radius:12px;
        display: block;
    }
    .clinic-tag {
        position: absolute;
        left: 6px;
        bottom: 16px;
        transform: translateY(50%);
        background: #fff;
        color: var(--text);
        border-radius: 999px;
        font-size: 10px;
        padding: 3px 4px;
        box-shadow: 0 15px 35px rgba(15, 54, 112, 0.18);
        display: inline-flex;
        align-items: center;
        gap: 3px;
        font-weight: 600;
    }
}

.doctor-info {
    flex: 1;
}

.stat-group {
    display: inline-flex;
    align-items: stretch;
    background: #F5F5F5;
    border-radius: 12px;
    padding: 6px 0px;
    border: none;
}

.stat {
    padding: 0px 8px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.8);
}

.stat:last-child {
    border-right: none;
}

.stat p {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
    color: #0F0F0F;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    justify-content: center;
    white-space: nowrap;
}

.stat span {
    font-size: 10px;
    color: #6D6C6C;
}

.stat .star-icon {
    width: 12px;
    height: 12px;
    display: inline-block;
    background: url('../images/icon-star.svg') no-repeat center / contain;
}

.doctor-info h3 {
    margin: 0.65rem 0 0.35rem;
    font-size: 18px;
    font-weight: 600;
    color: #222f44;
    width:80%;
}


.doctor-tags {
    margin: 0;
    font-size: 14px;
    color: #6D6C6C;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .doctor-info h3 {
        margin: 0.65rem 0 0.35rem;
        font-size: 1.12rem;
        font-weight: 600;
        color: #222f44;
    }
    .doctor-tags {
        margin: 0;
        font-size: 12px;
        color: #6D6C6C;
        line-height: 1.4;
    }
}

.doctor-tags .extra-tags {
    display: none;
}

.doctor-tags.expanded .extra-tags {
    display: inline;
}

@media (min-width: 992px) {
    .doctor-tags .extra-tags {
        display: inline;
    }

    .doctor-tags .tags-toggle {
        display: none;
    }
}

.tags-toggle {
    border: none;
    background: none;
    padding: 0;
    margin-left: 0.35rem;
    color: #307DBF;
    font-weight: 400;
    cursor: pointer;
    font-size: 12px;
    text-decoration: underline;
}

.doctor-tags.expanded .tags-toggle {
   color: #307DBF;
}

/* price section */
.price-row {
    margin-top: 0.2rem;
    display: flex;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
    padding-top: 0.95rem;
    border-top: 1px solid #e5eaf4;
    align-items: end;
}

.price-info {
    margin-left: auto;
    text-align: right;
}
.price-info ._name_cash {
    margin: 0px;
    font-size: 12px;
    color: #6D6C6C;
    margin-bottom: 6px;
}
.price-info button{
    border: none;
    display: block;
    width: 100%;
    margin-top: 5px;
    padding: 4px 0;
    background: #f3b75a;
    font-size: 12px;
    border-radius: 100px;
    cursor: pointer;
}



.price-label {
    font-size: 0.82rem;
    margin: 0;
    color: #7f8aa2;
    font-weight: 500;
}

.price {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #0F0F0F;
}
._sup_price {
    font-size: 12px;
    font-weight: 500;
    background: #f3b75a;
    border-radius: 100px;
    padding: 2px 4px;
    display: flex;
    gap: 3px;
    align-items: center;
}
@media (max-width: 992px) {
   .price-info ._name_cash {
        margin: 0px;
        font-size: 11px;
        color: #6D6C6C;
        margin-bottom: 6px;
    }
    .price {
        margin: 0;
        font-size: 14px;
        font-weight: 500;
        color: #0F0F0F;
    }
    ._sup_price {
        font-size: 10px;
        background: #f3b75a;
        border-radius: 100px;
        padding: 2px 4px;
        display: flex;
        gap: 3px;
        align-items: center;
    }
}



.cashback {
    text-align: left;
}
._price {
    display:flex;
    gap: 4px;
}
.cashback p {
    margin: 0 0 0.35rem;
    font-size: 12px;
    color: #0F0F0F;
    font-weight: 500;
}
@media (max-width: 992px) {
    .cashback p {
        margin: 0 0 0.35rem;
        font-size: 10px;
        color: #0F0F0F;
        font-weight: 500;
    }
}




.cashback span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffeeb1 0%, #ffd980 100%);
    font-size: 1.05rem;
    font-weight: 700;
    color: #a86a00;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.05);
}

.cashback span .crown-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background: url('../images/icon-cash.svg') no-repeat center / contain;
}

.doctor-card {
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.doctor-card.expanded {
    /* box-shadow: 0 30px 70px rgba(23, 49, 86, 0.15); */
}

.schedule {
    display: none;
    margin-top: 0;
    padding: 12px 16px;
    background: #E7F4FF;
    border-radius: 26px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    width: 100%;
    min-width: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.doctor-card.expanded .schedule {
    display: block;
    margin-top: 16px;
    opacity: 1;
    max-height: 520px;
}
.schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #112644;
    font-weight: 600;
    font-size: 14px;
    padding-bottom: 3px;
    border-bottom: 1px solid #fff;
    margin-bottom: 16px;
}
@media (max-width: 992px) {
    .schedule-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #112644;
        font-weight: 600;
        font-size: 1rem;
        padding-bottom: 12px;
        border-bottom: 1px solid #fff;
        margin-bottom: 12px;
    }
}

.schedule-header p {
    margin:0px;
}

.schedule-nav {
    display: flex;
    justify-content: flex-end;
    width: 60px;
}

.schedule-arrow {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.schedule-arrow svg {
    width: 14px;
    height: 14px;
    stroke: #0d73c3;
}


.schedule-days,
.schedule-times {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    width: 100%;
    flex-wrap: nowrap;
    scrollbar-width: thin;
}

.schedule-days::-webkit-scrollbar,
.schedule-times::-webkit-scrollbar {
    height: 4px;
}

.schedule-days::-webkit-scrollbar-thumb,
.schedule-times::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
}

.day-pill,
.time-pill {
    border: none;
    border-radius: 8px;
    padding: 6px 6px;
    font-size: 12px;
    font-weight: 500;
    background: #fff;
    color: #6D6C6C;
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid white;
}

.day-pill.active {
    background: #fff;
    color: #307DBF;
    border: 1px solid #307DBF
}

.schedule-label {
    margin: 8px 0 8px;
    font-weight: 600;
    color: #31405f;
}

.schedule-times {
    border-radius: 8px;
}

.time-pill {
    box-shadow: none;
    background: #fff;
    color: #6b748f;
}

.day-pill {
    border: 1px solid transparent;
    background: #fff;
    color: #6b748f;
}

.day-pill.active {
    border-color: #0d73c3;
    color: #0d73c3;
    background: #fff;
}

.booking-modal {
    padding: 20px;
    background: #fff;
    border-radius: 18px;
    max-width: 320px;
    text-align: center;
    line-height: 1.4;
}

.booking-modal h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    color: #1f2c45;
}

.booking-modal p {
    margin: 4px 0;
    color: #506184;
}

.booking-modal__btn {
    margin-top: 12px;
    padding: 10px 20px;
    border: none;
    border-radius: 999px;
    background: #0d73c3;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay[hidden] {
    display: none !important;
}

.modal {
    background: #fff;
    border-radius: 24px;
    max-width: 496px;
    width: 90%;
    position: relative;
}

.modal-close {
    font-family: 'Open Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    position: absolute;
    top: 27px;
    right: 40px;
    background: none;
    border: none;
    font-size: 44px;
    cursor: pointer;
    font-weight: 100;
    color: #307dbf;
}

.modal-close:hover {
    color: #005f96;
}

.appointment-modal .content-card {
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    box-shadow: -7px 5px 30px rgba(143, 141, 141, 0.1);
    border: none;
    background: #fff;
}

.appointment-modal .card_content {
    padding: 40px 0 21px;
    display: flex;
    flex-wrap: wrap;
}

.appointment-modal .card_content .price-row {
    width: 100%;
    padding: 0px 40px;
    border-top: 0px solid #e5eaf4;
}
@media (max-width: 992px) {
    .appointment-modal .card_content .price-row {
        width: 100%;
        padding: 0px 20px;
        border-top: 0px solid #e5eaf4;
    }
}




.appointment-modal .card_content_1 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.appointment-modal h6 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.appointment-modal .doc {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 40px;
    margin: 24px 0;
}

.appointment-modal .doc-img {
    border-radius: 50%;
}

.confirmation-message {
    padding: 0 40px;
    margin: 24px 0;
}

.cashback-info {
    padding: 0 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.cashback-info-modal .cashback-info {
    gap: 2px;
}

.cashback-info p {
    margin-top: 20px;
    margin-bottom:0px;
    font-size: 14px;
    line-height: 1.5;
    color: #0F0F0F;
}
.cashback-info ul {
    margin: 0px;
    padding-left: 20px;
    margin-bottom: 15px;
}
.cashback-info ul li {
    font-size: 14px;
    line-height: 1.5;
    color: #0F0F0F;
}

.appointment-modal .doc-title {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
}

.appointment-modal .text-muted {
    font-size: 12px;
    font-weight: 400;
    color: #6d6c6c;
}

.modal .text_clinic,
.modal .text_usluga {
    padding: 0 40px;
    width: 100%;
}

.modal .text_usluga {
    margin: 24px 0;
}



@media (max-width: 992px) {
    .appointment-modal h6 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }
    .appointment-modal .doc-title {
        margin: 0;
        font-weight: 600;
        font-size: 14px;
    }
}
.modal .doc-footer {
    padding: 0 40px;
    margin: 0;
    width: 100%;
    background: none;
    display: flex;
    gap: 16px;
    margin-top:24px;
}

.error-message {
    padding: 0 40px;
    margin-top: 5px;
}

.modal .doc-footer div {
    display: flex;
    align-items: center;
    gap: 11px;
    background: #e7f4ff;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
}

.appointment-modal .doc-buts {
    border-top: 1px solid #eaeaea;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 16px 0 2px;
    margin-top: 24px;
}

.appointment-modal .doc-buts a {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    width: 50%;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.appointment-modal .doc-buts a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 66%;
    transform: translateY(-50%);
    width: 1px;
    height: 57px;
    background: #eaeaea;
}

.appointment-modal .doc-buts .doc_but_gray {
    color: #6d6c6c;
}

.appointment-modal .doc-buts .doc_but_blue {
    color: #307dbf;
}

.appointment-modal .doc-buts a:hover {
    color: #005f96;
}

@media (max-width: 992px) {
    .modal-close {
        top: 9px;
        right: 16px;
    }

    .appointment-modal .card_content {
        padding: 24px 0 16px;
    }

    .appointment-modal .card_content_1,
    .modal .doc,
    .modal .text_clinic,
    .modal .text_usluga,
    .modal .doc-footer,
    .error-message,
    .confirmation-message,
    .cashback-info {
        padding: 0 16px;
    }

    .appointment-modal .doc-buts a:not(:last-child)::after {
        top: 60%;
        height: 50px;
    }
}


.clinic-address {
    margin-top: 2.5rem;
}

.clinic-select .filter-select {
    border-radius: 1rem;
    border: 1px solid #d5def0;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    color: #31405f;
    box-shadow: inset 0 0 0 1px rgba(13, 115, 195, 0.05);
    height: 100%;
}

.clinic-select .filter-select svg {
    stroke: #0d73c3;
}

.clinic-select .dropdown-panel {
    border-radius: 1rem;
    box-shadow: 0 25px 60px rgba(15, 64, 141, 0.12);
}

.clinic-select .dropdown-option {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

.clinic-select .dropdown-option:hover,
.clinic-select .dropdown-option.active {
    background: #e7f4ff;
    color: #0d73c3;
}

.clinic-details {
    margin-top: 1rem;
    padding: 0.5rem 0 0.75rem;
    border-radius: 1rem;
    color: #31405f;
}

.clinic-details__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 600;
    color: #0d73c3;
}

.clinic-details__address {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
}

.clinic-details__phone {
    display: inline-block;
    font-size: 0.95rem;
    color: #0d73c3;
    font-weight: 600;
    text-decoration: none;
}

.clinic-details__phone:hover {
    text-decoration: underline;
}

.select-wrapper {
    margin-bottom: 1rem;
}

.map-card {
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--card-bg);
}

.map-card img {
    width: 100%;
    display: block;
}

.about {
    margin-top: 80px;
    line-height: 1.6;
}
.about h2 {
    margin-top:0px;
    margin-bottom:24px;
    font-size: 32px;
    font-weight: 600;
}
.about p {
     font-size: 16px;
    font-weight: 400;
}

@media (max-width: 992px) {
    .about {
        margin-top: 24px;
        line-height: 1.6;
    }
    .about h2 {
        margin-top:0px;
        margin-bottom:12px;
        font-size: 20px;
        font-weight: 600;
    }
    .about p {
        font-size: 14px;
        font-weight: 400;
    }
}



footer {
    margin: 2rem auto;
    text-align: center;
    font-size: 0.85rem;
    color: var(--muted);
}
footer p {
    font-weight: 300;
    font-size: 12px;
    color: #6D6C6C;
    padding-left: 20px;
}
._descktop_only {
    display:block;
}
._mobile_only {
    display:none;
}
._descktop_only_b {
    display:block;
}
._mobile_only_b {
    display:none;
}
@media (max-width: 992px) {
    ._descktop_only {
        display:none;
    }
    ._mobile_only {
        display:flex;
    }
    ._descktop_only_b {
        display:none;
    }
    ._mobile_only_b {
        display:block;
    }
}

.main-page-clinics {
    margin-top:80px;
}
.main-page-clinics .flex-header {
    display:flex;
    gap:24px;
    align-items: center;
    margin-bottom: 24px;
}
.main-page-clinics .flex-header .h2 {
    font-weight: 600;
    font-size: 32px;
}
.main-page-clinics .flex-header .h4 {
    font-weight: 400;
    font-size: 16px;
}
.main-page-clinics .flex-header .h4 a {
    font-weight: 700;
    color: #017dc5;
}
.map-block {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 24px;
    height: 552px;
}
a.show-clinics {
    display: none;
}
.map-list {
    box-shadow: -7px 5px 30px 0px #8F8D8D1A;
    padding: 11px 25px;
    border-radius: 30px;
    background: #FFF;
}
ul.map-list-menu, ul.map-list-submenu {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}
.map-list-menu>li>a {
    display: none;
}
ul.map-list-submenu {
    height: 480px;
    overflow-y: scroll;
    padding-right: 10px;
}
ul.map-list-submenu::-webkit-scrollbar {
    width: 5px;               /* ширина scrollbar */
    height: 250px;
}

ul.map-list-submenu::-webkit-scrollbar-track {
    background: #FFF;        /* цвет дорожки */
}
ul.map-list-submenu::-webkit-scrollbar-thumb {
    background-color: #017DC5;    /* цвет плашки */
    border-radius: 20px;
}
ul.map-list-submenu li {
    background: #FFF;
    border-radius: 20px;
    padding: 12px;
    background: #FFF;
}
a {
    text-decoration: none;
    color: rgb(89, 88, 88);
}
span.list-clinic-header {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    gap: 9px;
    align-items: center;
}
.list-clinic-header img {
    max-width: 24px;
}
.list-clinic-info {
    color: #0F0F0F;
    margin-top: 8px;
    font-size: 16px;
    display: block;
}
ul.map-list-submenu li.active, ul.map-list-submenu li:hover {
    background: #ECF2FE;
}
.just_map {
    height:552px
}
.just_map img {
    object-fit: cover;
    width: 100%;
    height: 552px;
}

.calendar-img{
    position: absolute;
    right: 11px;
    top: 11px;
}
.clinic-tag{
    position: static;
}
