@media (max-width: 768px) {
    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile {
        margin-bottom: 24px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__container {
        display: block;
        padding: 10px 16px 20px;
        border-radius: 0;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__info {
        width: 100%;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .gc-doctor-profile-picture-source,
    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .gc-doctor-profile-heading-source,
    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .gc-doctor-profile-empty-source,
    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .gc-doctor-profile-sale-source,
    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .gc-doctor-profile-price-source {
        display: none !important;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-identity {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 6px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-identity > img {
        display: block;
        width: 76px;
        height: 76px;
        flex: 0 0 76px;
        border-radius: 50%;
        object-fit: cover;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-identity-text {
        min-width: 0;
        flex: 1;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-identity .expert-detail__name {
        display: block;
        width: auto;
        margin: 0 0 5px;
        font-size: 21px;
        line-height: 1.28;
        text-align: left;
        letter-spacing: -.4px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 3px 10px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .gc-doctor-profile-meta .expert-detail__reviews {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin: 0;
        color: #426f9c;
        opacity: 1;
        font-size: 12px;
        line-height: 1.4;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .gc-doctor-profile-meta .expert-detail__reviews::after {
        position: static;
        inset: auto;
        flex: 0 0 14px;
        margin: 0;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-ranks .expert-detail__labels {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
        max-width: none;
        margin-bottom: 6px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-ranks .expert-detail__label {
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 4px 8px;
        border-radius: 8px;
        font-size: 11px;
        line-height: 1.45;
        text-align: center;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: 'price action' 'sale timer';
        align-items: center;
        gap: 5px 8px;
        margin-bottom: 6px;
        padding: 10px 12px;
        border-left: 4px solid #77c75b;
        border-radius: 8px;
        background: #fff;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo .expert-detail__price {
        display: contents;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo .expert-detail__price__num {
        grid-area: price;
        min-width: 0;
        width: auto;
        padding: 0;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo .expert-detail__price__num-sum {
        flex-wrap: nowrap;
        align-items: baseline;
        gap: 2px 7px;
        margin: 0;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo .expert-detail__price__num-sum > span {
        margin: 0;
        font-size: 26px;
        line-height: 1.25;
        white-space: nowrap;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo .expert-detail__price__num-sum > .expert-detail__price__num-sum_sale {
        order: 1;
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo .expert-detail__price__num-desc {
        display: none;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-discount {
        grid-area: sale;
        align-self: stretch;
        min-width: 0;
        padding-top: 5px;
        border-top: 1px solid #e7edf4;
        font-size: 11px;
        line-height: 1.45;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-discount-percent {
        color: #365c2b;
        font-weight: 600;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .gc-doctor-profile-promo > .gc-doctor-countdown {
        grid-area: timer;
        align-self: stretch;
        justify-content: flex-end;
        gap: 0 5px;
        max-width: 140px;
        margin: 0;
        padding-top: 5px;
        font-size: 11px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .gc-doctor-profile-promo > .gc-doctor-countdown .gc-doctor-countdown__value {
        font-size: 11px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-book {
        grid-area: action;
        min-height: 44px;
        max-width: 140px;
        padding: 11px 13px;
        border: 0;
        border-radius: 8px;
        background: #73b3ff;
        color: #243f60;
        font-size: 13px;
        line-height: 1.3;
        font-weight: 700;
        cursor: pointer;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-book:focus-visible {
        outline: 2px solid #2c639d;
        outline-offset: 3px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__dirs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 6px;
        filter: none;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .gc-doctor-profile-specialty {
        min-width: 0;
        padding: 0;
        border-radius: 7px;
        overflow: hidden;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-specialty > a {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding-top: 3px;
        font-size: 11px;
        line-height: 1.5;
        text-align: center;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-specialty .gc-doctor-profile-specialty-prices {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: baseline;
        gap: 3px 6px;
        margin: 3px 0 0;
        padding: 4px 3px;
        border-radius: 0;
        background: #e5f1ff;
        color: #494462;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-specialty-old {
        color: #6f7380;
        font-size: 11px;
        font-weight: 400;
        text-decoration-line: line-through;
        text-decoration-thickness: 1px;
        white-space: nowrap;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-specialty-current {
        font-size: 16px;
        font-weight: 700;
        white-space: nowrap;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__mobile > .expert-detail__row:first-child {
        justify-content: center;
        margin: 0;
        gap: 0;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert__timetable_wrapper {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__expirience {
        display: flex;
        width: auto;
        flex: 0 0 auto;
        align-items: baseline;
        justify-content: flex-start;
        gap: 4px;
        max-width: none;
        margin: 0;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__top-buttons.expert-detail__buttons {
        width: 100%;
        max-width: none;
        margin-bottom: 6px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__top-buttons.expert-detail__buttons .btn {
        width: 100%;
        min-height: 44px;
        padding: 10px 8px;
        font-size: 11px;
        line-height: 1.4;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__expirience div:first-child {
        margin: 0;
        font-size: 11px;
        line-height: 1.3;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__expirience div:last-child {
        font-size: 11px;
        line-height: 1.4;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__new {
        display: block;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__location {
        width: 100%;
        margin: 22px 0 0;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__location-title {
        font-size: 16px;
        line-height: 1.4;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__location-value {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 0;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__location-value > li {
        display: block;
        min-width: 0;
        margin: 0;
        padding: 10px;
        border: 1px solid #d6e5f2;
        border-radius: 10px;
        background: #fff;
        font-size: 12px;
        line-height: 1.5;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__location-value > li br {
        display: block;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .expert-detail__location-value .metro {
        font-size: 11px;
        line-height: 1.45;
    }
}

@media (max-width: 360px) {
    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-identity {
        gap: 10px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-identity > img {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-identity .expert-detail__name {
        font-size: 18px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo .expert-detail__price__num-sum > span {
        font-size: 24px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo {
        padding: 10px 12px;
    }
}

@media (max-width: 359px) {
    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo {
        grid-template-columns: minmax(0, 1fr) 96px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo .expert-detail__price__num-sum {
        gap: 4px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo .expert-detail__price__num-sum > span {
        font-size: 22px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-promo .expert-detail__price__num-sum > .expert-detail__price__num-sum_sale {
        font-size: 10px !important;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile-book {
        width: 100%;
        max-width: 96px;
        padding-right: 8px;
        padding-left: 8px;
    }

    body.gc-mobile-doctor-toolbars-active .gc-doctor-profile .gc-doctor-profile-promo > .gc-doctor-countdown {
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        max-width: 96px;
        gap: 0;
    }
}
