/**
 * Стили страницы карточки НФД (форма + дозировка).
 * Базовые компоненты — в medication-name.css; переопределения — ниже.
 */

.medication-product-page {
    background: #f4f5fb;
    color: #2b3038;
    padding-bottom: 72px;
}

.medication-product-page .mn-product-card__image {
    width: 100%;
    max-width: 100%;
    max-height: 380px;
}

.mp-pharmacies .mp-super-top {
    margin: 20px 0 24px;
}

.mp-super-top .promo-banner {
    display: block;
    text-decoration: none;
    color: inherit;
}

.mp-super-top .promo-banner__content {
    margin-bottom: 0;
}

.mp-super-top .promo-banner__button--yellow,
.mp-super-top .promo-banner__button--yellow:hover,
.mp-super-top .promo-banner__button--yellow:focus,
.mp-super-top .promo-banner__button--yellow:visited {
    color: var(--bs-white, #fff);
    text-decoration: none;
}

/* --- Регистрационное удостоверение --- */
.mp-reg {
    padding-top: 0;
}

.mp-reg .mn-section__title {
    margin-bottom: 18px;
}

.mp-reg-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    padding: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(40, 51, 72, 0.06);
    overflow: hidden;
}

.mp-reg-card__left,
.mp-reg-card__right {
    padding: 22px 26px;
}

.mp-reg-card__left {
    border-right: 1px solid #e8ecf3;
}

.mp-reg-row {
    display: grid;
    gap: 6px;
    margin-bottom: 12px;
}

.mp-reg-row:last-child {
    margin-bottom: 0;
}

.mp-reg-row__label {
    font-size: 14px;
    line-height: 1.35;
    color: #5c6578;
    font-weight: 600;
}

.mp-reg-row__value {
    font-size: 14px;
    line-height: 1.4;
    color: #2b3038;
    font-weight: 700;
}

.mp-reg-card__text {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.45;
    color: #5c6578;
    font-weight: 600;
}

.mp-reg-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mp-reg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mp-reg-btn--solid {
    background: #3e9694;
    color: #fff;
    border: 1px solid #3e9694;
}

.mp-reg-btn--solid:hover {
    background: #358884;
    border-color: #358884;
    color: #fff;
}

.mp-reg-btn--outline {
    background: #fff;
    color: #3e9694;
    border: 1px solid #3e9694;
}

.mp-reg-btn--outline:hover {
    background: #f0faf9;
    color: #357f7d;
    border-color: #357f7d;
}

@media (max-width: 900px) {
    .mp-reg-card {
        grid-template-columns: 1fr;
    }

    .mp-reg-card__left {
        border-right: 0;
        border-bottom: 1px solid #e8ecf3;
    }
}

/* --- Производители --- */
.mp-manufacturers {
    padding-top: 0;
}

.mp-manufacturers__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
}

.mp-manufacturers__heading .mn-section__title {
    margin-bottom: 0;
}

.mp-manufacturers__info {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    margin-top: 2px;
    padding: 0;
    border: 1px solid #c5ccd8;
    border-radius: 50%;
    background: #fff;
    color: #5c6573;
    cursor: pointer;
}

.mp-manufacturers__info:hover,
.mp-manufacturers__info:focus-visible,
.mp-manufacturers__info.is-open {
    border-color: #3e9694;
    color: #3e9694;
    outline: none;
}

.mp-manufacturers__info-icon {
    font-size: 13px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
}

.mp-manufacturers__info-tooltip {
    display: none;
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    width: max-content;
    max-width: min(280px, calc(100vw - 48px));
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #d7dde8;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
    color: #5c6573;
    font-size: 13px;
    font-weight: 500;
    font-style: normal;
    line-height: 1.4;
    text-align: left;
    pointer-events: none;
}

.mp-manufacturers__info:hover .mp-manufacturers__info-tooltip,
.mp-manufacturers__info:focus-visible .mp-manufacturers__info-tooltip,
.mp-manufacturers__info.is-open .mp-manufacturers__info-tooltip {
    display: block;
}

@media (max-width: 640px) {
    .mp-manufacturers__info-tooltip {
        left: auto;
        right: 0;
        top: calc(100% + 8px);
        transform: none;
    }
}

.mp-manufacturers-grid {
    margin-bottom: 8px;
}

.mn-variant-card__image-wrap--zoom {
    cursor: zoom-in;
}

.mn-variant-card__image-wrap--zoom .mn-variant-card__image {
    pointer-events: auto;
}

.mp-manufacturer-card {
    cursor: pointer;
    border: 2px solid transparent;
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 116px;
    padding: 16px 18px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(40, 51, 72, 0.06);
}

.mp-manufacturer-card.is-active {
    border-color: #3e9694;
    box-shadow: 0 0 0 1px #3e9694, 0 8px 24px rgba(40, 51, 72, 0.08);
}

.mp-manufacturer-card.is-hidden {
    display: none;
}

.mp-manufacturer-card__no-price {
    color: #8b95a8;
    font-size: 14px;
    font-weight: 600;
}

.mp-manufacturers-more {
    margin-top: 8px;
}

/* --- Наличие в аптеках --- */
.mp-pharmacies {
    padding-top: 0;
}

.mp-pharmacies__title {
    margin-bottom: 22px;
    font-size: 24px;
    line-height: 1.25;
}

/* Toolbar */
.mp-pharmacies-toolbar {
    margin-bottom: 24px;
}

.mp-pharmacies-toolbar__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.mp-pharmacies-toolbar__left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.mp-pharmacies-search {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 270px;
    width: 270px;
    max-width: 270px;
    min-height: 37px;
    padding: 0 8px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e6ef;
    box-shadow: 0 2px 8px rgba(40, 51, 72, 0.04);
}

.mp-pharmacies-search__icon {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    opacity: 0.55;
}

.mp-pharmacies-search__input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    font-size: 13px;
    background: transparent;
    color: #2b3038;
    text-overflow: ellipsis;
}

.mp-pharmacies-search__input::-webkit-search-cancel-button,
.mp-pharmacies-search__input::-webkit-search-decoration,
.mp-pharmacies-search__input::-webkit-search-results-button,
.mp-pharmacies-search__input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.mp-pharmacies-search__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.45;
}

.mp-pharmacies-search__clear.is-hidden {
    display: none;
}

.mp-pharmacies-sort,
.mp-pharmacies-view {
    display: inline-flex;
    gap: 0;
    flex-shrink: 0;
}

.mp-pharmacies-view {
    margin-left: auto;
}

.mp-pharmacies-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid #3e9694;
    background: #fff;
    color: #2b3038;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
}

.mp-pharmacies-pill__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.mp-pharmacies-sort .mp-pharmacies-pill:first-child {
    border-radius: 8px 0 0 8px;
    border-right: 0;
}

.mp-pharmacies-sort .mp-pharmacies-pill:last-child {
    border-radius: 0 8px 8px 0;
}

.mp-pharmacies-sort .mp-pharmacies-pill,
.mp-pharmacies-view .mp-pharmacies-pill {
    min-height: 36px;
    padding: 6px 14px;
    font-size: 13px;
    gap: 6px;
}

.mp-pharmacies-view .mp-pharmacies-pill__icon {
    width: 14px;
    height: 14px;
}

.mp-pharmacies-view .mp-pharmacies-pill:first-child {
    border-radius: 8px 0 0 8px;
    border-right: 0;
}

.mp-pharmacies-view .mp-pharmacies-pill:last-child {
    border-radius: 0 8px 8px 0;
}

.mp-pharmacies-pill.is-active {
    background: #3e9694;
    color: #fff;
    border-color: #3e9694;
}

.mp-pharmacies-pill:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.mp-pharmacies-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    padding: 8px 0px;
    border-radius: 10px;
}

.mp-pharmacies-price-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    align-items: center;
}

.mp-pharmacies-price-filter__label {
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    color: #2b3038;
}

.mp-pharmacies-price-filter__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.2;
    color: #2b3038;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.mp-pharmacies-price-filter__item input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mp-pharmacies-price-filter__item span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mp-pharmacies-price-filter__item span::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #3e9694;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    transition: box-shadow 0.15s ease;
}

.mp-pharmacies-price-filter__item input:checked + span::before {
    box-shadow: inset 0 0 0 4px #3e9694;
}

.mp-pharmacies-price-filter__item input:focus-visible + span::before {
    outline: 2px solid #3e9694;
    outline-offset: 2px;
}

.mp-pharmacies-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    align-items: center;
}

.mp-pharmacies-flags__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.2;
    color: #2b3038;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
}

.mp-pharmacies-flags__item input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mp-pharmacies-flags__item span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.mp-pharmacies-flags__item span::before {
    content: '';
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #3e9694;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mp-pharmacies-flags__item input:checked + span::before {
    border-color: #3e9694;
    background-color: #3e9694;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10' fill='none'%3E%3Cpath d='M1 5.2L4.2 8.4L11 1.6' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 9px;
}

.mp-pharmacies-flags__item input:focus-visible + span::before {
    outline: 2px solid #3e9694;
    outline-offset: 2px;
}

/* Сеть аптек */
.mp-pharmacy-network {
    margin-bottom: 22px;
}

.mp-pharmacy-network.is-hidden {
    display: none;
}

.mp-pharmacy-network__head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 14px 22px;
    border-radius: 12px 12px 0 0;
    background: #3e9694;
    color: #fff;
}

.mp-pharmacy-network__logo {
    width: auto;
    max-width: 96px;
    min-width: 36px;
    height: 36px;
    flex-shrink: 0;
    object-fit: contain;
    /* background: #fff; */
    border-radius: 4px;
    /* padding: 2px 6px; */
    box-sizing: border-box;
}

.mp-pharmacy-network__name {
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    text-decoration: none;
}

a.mp-pharmacy-network__name:hover,
a.mp-pharmacy-network__name:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.mp-pharmacy-network__name-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
}

.mp-pharmacy-network__promotion {
    margin: 0;
    flex-shrink: 0;
}

.mp-pharmacy-network__promotion .mp-pharmacy-offer__promotion-btn img {
    width: 78px;
    height: 26px;
}

.mp-pharmacy-network__rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-top: 4px;
    font-size: 13px;
    opacity: 0.95;
}

.mp-pharmacy-network__head-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    margin-left: auto;
}

.mp-pharmacy-network__price {
    font-size: 20px;
    font-weight: 700;
    white-space: nowrap;
}

.mp-pharmacy-network__chevron {
    display: inline-flex;
    opacity: 0.9;
}

.mp-pharmacy-network__chevron img {
    filter: brightness(0) invert(1);
}

.mp-pharmacy-network__body {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(40, 51, 72, 0.06);
    overflow: hidden;
}

.mp-pharmacy-network__list {
    display: block;
    flex: 1 1 auto;
}

.mp-pharmacy-network__more {
    flex: 0 0 auto;
    display: block;
    width: 100%;
    margin: 0;
    padding: 14px 22px;
    border: 0;
    border-top: 1px solid #e8ecf2;
    background: #f7f9fc;
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #3e9694;
    text-align: center;
    cursor: pointer;
}

.mp-pharmacy-network__more:hover {
    background: #eef6f6;
}

.mp-pharmacy-network__more.is-hidden {
    display: none;
}

/* Карточка аптеки — 4 колонки как в макете */
.mp-pharmacy-offer {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(120px, 0.55fr) minmax(150px, 0.65fr) minmax(168px, 0.75fr);
    gap: 0;
    align-items: stretch;
    padding: 0;
    color: #2b3038;
}

.mp-pharmacy-offer.is-hidden {
    display: none;
}

.mp-pharmacy-offer:not(:last-child) {
    border-bottom: 1px solid #e8ecf3;
}

.mp-pharmacy-offer:hover {
    background-color: #f5f0ff;
}

.mp-pharmacy-offer__col {
    padding: 18px 20px;
    min-height: 100%;
}

.mp-pharmacy-offer__col:not(:last-child) {
    border-right: 1px solid #e8ecf3;
}

/* Колонка 1: инфо */
.mp-pharmacy-offer__col--info {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding-left: 16px;
}

.mp-pharmacy-offer__icon-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding-top: 2px;
    padding-right: 14px;
    border-right: 1px solid #e8ecf3;
}

.mp-pharmacy-offer__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0.75;
}

.mp-pharmacy-offer__icon-btn:hover {
    opacity: 1;
}

.mp-pharmacy-offer__attention {
    position: relative;
    opacity: 1;
}

.mp-pharmacy-offer__attention-icon {
    display: block;
    color: #ffc107;
}

.mp-pharmacy-offer__attention-tooltip {
    display: none;
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: max-content;
    max-width: 220px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #ffe08a;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
    color: #5c6573;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    pointer-events: none;
}

.mp-pharmacy-offer__attention:hover .mp-pharmacy-offer__attention-tooltip,
.mp-pharmacy-offer__attention:focus-visible .mp-pharmacy-offer__attention-tooltip,
.mp-pharmacy-offer__attention.is-open .mp-pharmacy-offer__attention-tooltip {
    display: block;
}

.mp-pharmacy-offer__favorite.is-active img {
    transform: scale(1.02);
}

.mp-pharmacy-offer__details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.mp-pharmacy-offer__promotion {
    margin: 0 0 12px;
}

.mp-pharmacy-offer__promotion-btn {
    display: inline-flex;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    line-height: 0;
}

.mp-pharmacy-offer__promotion-btn img {
    display: block;
    width: 90px;
    height: 30px;
}

.mp-pharmacy-offer__title {
    display: block;
    margin: 0 0 6px;
    color: #3e9694;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.mp-pharmacy-offer__title:hover,
.mp-pharmacy-offer__title:focus-visible {
    color: #3f8b8b;
    text-decoration: underline;
}

.mp-pharmacy-offer__details .mp-pharmacy-offer__stars.mp-stars {
    display: inline-flex;
    width: 100%;
    margin: 0 0 8px;
    line-height: 1;
}

.mp-pharmacy-offer__address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.45;
    color: #5c6578;
}

.mp-pharmacy-offer__address img {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.7;
}

.mp-pharmacy-offer__metro {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.4;
    color: #5c6578;
}

.mp-pharmacy-offer__metro img {
    flex-shrink: 0;
    opacity: 0.85;
}

.mp-pharmacy-offer__delivery-list {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.45;
    color: #3e9694;
}

.mp-pharmacy-offer__delivery-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.mp-pharmacy-offer__delivery-list li::before {
    content: '';
    flex-shrink: 0;
    width: 14px;
    height: 10px;
    background: url('../img/truck.svg') center / contain no-repeat;
    opacity: 0.85;
}

.mp-pharmacy-offer__map {
    display: block;
    width: 100%;
    margin-top: 2px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    color: #3e9694;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

.mp-pharmacy-offer__map:hover {
    text-decoration-style: solid;
}

.mp-pharmacies-map-wrap {
    margin-bottom: 24px;
}

.mp-pharmacies-map-wrap.is-hidden {
    display: none;
}

.mp-pharmacies-map {
    width: 100%;
    height: min(800px, 70vh);
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    background: #eef1f6;
}

.mp-pharmacies-results.is-hidden {
    display: none;
}

/* Колонка 2: часы */
.mp-pharmacy-offer__col--hours {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}

.mp-pharmacy-offer__hours {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
    font-size: 14px;
    line-height: 1.35;
    color: #5c6578;
}

.mp-pharmacy-offer__hours img {
    flex-shrink: 0;
    opacity: 0.55;
}

.mp-pharmacy-offer__hours span {
    min-width: 0;
}

/* Колонка 3: цена */
.mp-pharmacy-offer__col--price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.mp-pharmacy-offer__price-value {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    color: #2b3038;
    white-space: nowrap;
}

.mp-pharmacy-offer__stock {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
    color: #8b95a8;
}

.mp-pharmacy-offer__meta {
    margin: 0 0 6px;
    font-size: 13px;
    line-height: 1.35;
    color: #5c6578;
}

/* Колонка 4: кнопки */
.mp-pharmacy-offer__col--actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-right: 16px;
}

.mp-pharmacy-offer__cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border: 0;
    border-radius: 6px;
    background: #d81f4f;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mp-pharmacy-offer__cart:hover {
    background: #c41a45;
    color: #fff;
}

.mp-pharmacy-offer__call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #3e9694;
    background: #fff;
    color: #3e9694;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
    font-family: inherit;
}

button.mp-pharmacy-offer__call {
    appearance: none;
}

.mp-pharmacy-offer__call:hover {
    background: #f0faf9;
    color: #357f7d;
}

.mp-pharmacy-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mp-pharmacy-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #d8dfeb;
    border-radius: 8px;
    background: #fff;
    color: #222d32;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.mp-pharmacy-contact-item:hover {
    border-color: #3e9694;
    background: #f0faf9;
    color: #222d32;
}

.mp-pharmacy-contact-item__type {
    font-size: 12px;
    font-weight: 600;
    color: #8692a3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.mp-pharmacy-contact-item__label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    word-break: break-word;
}

/* Звёзды */
.mp-stars {
    display: inline-flex;
    gap: 2px;
    font-size: 14px;
    line-height: 1;
}

.mp-stars__item {
    color: #d5dae5;
}

.mp-stars__item.is-filled {
    color: #f5b301;
}

.mp-stars--light .mp-stars__item {
    color: rgba(255, 255, 255, 0.35);
}

.mp-stars--light .mp-stars__item.is-filled {
    color: #ffd966;
}

/* Пусто / пагинация */
.mp-pharmacies-empty {
    margin: 20px 0;
    text-align: center;
    color: #8b95a8;
    font-size: 15px;
}

.mp-pharmacies-empty.is-hidden {
    display: none;
}

.mp-pharmacies-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.mp-pharmacies-pagination.is-hidden {
    display: none;
}

.mp-pharmacies-pagination__btn {
    min-width: 40px;
    min-height: 40px;
    padding: 0 12px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #2b3038;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(40, 51, 72, 0.06);
}

.mp-pharmacies-pagination__btn.is-active,
.mp-pharmacies-pagination__btn:hover:not(:disabled) {
    background: #3e9694;
    color: #fff;
}

.mp-pharmacies-pagination__btn:disabled {
    opacity: 0.35;
    cursor: default;
    box-shadow: none;
}

@media (max-width: 1100px) {
    .mp-pharmacy-network__head {
        flex-wrap: wrap;
        gap: 10px;
    }

    .mp-pharmacy-network__head-right {
        margin-left: auto;
    }
}

@media (max-width: 900px) {
    .mp-pharmacies__title {
        font-size: 22px;
    }

    .mp-pharmacies-toolbar__top {
        flex-direction: column;
        align-items: stretch;
    }

    .mp-pharmacies-toolbar__left {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .mp-pharmacies-search {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
    }

    .mp-pharmacies-sort {
        width: 100%;
    }

    .mp-pharmacies-sort .mp-pharmacies-pill {
        flex: 1;
        justify-content: center;
    }

    .mp-pharmacies-view {
        width: 100%;
        margin-left: 0;
    }

    .mp-pharmacies-view .mp-pharmacies-pill {
        flex: 1;
        justify-content: center;
    }

    .mp-pharmacies-toolbar__filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .mp-pharmacies-price-filter,
    .mp-pharmacies-flags {
        width: 100%;
    }

    .mp-pharmacy-offer {
        grid-template-columns: 1fr;
    }

    .mp-pharmacy-network__list .mp-pharmacy-offer:nth-child(even) {
        background: #f5f0ff;
    }

    .mp-pharmacy-offer:not(:last-child) {
        margin-bottom: 6px;
        padding-bottom: 6px;
        border-bottom: 3px solid #e0e7f0;
    }

    .mp-pharmacy-offer__col--info {
        grid-column: auto;
    }

    .mp-pharmacy-offer__col {
        border-right: 0 !important;
        border-bottom: 1px solid #e8ecf3;
    }

    .mp-pharmacy-offer__col--hours {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .mp-pharmacy-offer__hours {
        gap: 6px;
        font-size: 13px;
        line-height: 1.3;
    }

    .mp-pharmacy-offer__col--actions {
        border-bottom: 0;
    }

    .mp-pharmacy-offer__icon-bar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding-right: 0;
        padding-bottom: 12px;
        border-right: 0;
        border-bottom: 1px solid #e8ecf3;
    }

    .mp-pharmacy-offer__col--info {
        flex-direction: column;
    }

    .mp-reg-card__left,
    .mp-reg-card__right {
        padding: 18px 16px;
    }
}

@media (max-width: 640px) {
    .mp-pharmacy-network__head {
        padding: 12px 14px;
    }

    .mp-pharmacy-network__logo {
        max-width: 72px;
        min-width: 30px;
        height: 30px;
        padding: 2px 4px;
    }

    .mp-pharmacy-network__name {
        font-size: 15px;
    }

    .mp-pharmacy-offer__col {
        padding: 14px 16px;
    }
}
