.map {
    margin: 0 0 50px 0;
}

.map-selector {
    padding: 30px;
    background-color: #F8F9FA;
}

.map-selector .form-control {
    background-color: transparent;
}

.map-objects {
    padding: 15px 30px 20px 30px;
    background-color: #EEF2F7;
    height: 450px;
    overflow: scroll;
    position: relative;
}

.map-objects button {
    text-align: left;
    padding: 0;
    border: 0;
    margin: 0 0 15px 0;
    min-height: 24px;
    width: 100%;
}

.map-objects button:focus-visible {
    outline: 0;
    outline-offset: 0;
}

.map-objects button:focus-visible .map-object {
    border-color: #002664;
}

.map-object {
    padding: 15px;
    background-color: #fff;
    border: 1px solid #fff;
    cursor: pointer;

    box-shadow: 0 4px 16px -4px #00266414;
    border-radius: 12px;
}

.map-object.selected {
    border-color: #002664;
}

.map-object .object-name {
    color: #002664;
    font-size: 18px;
    font-weight: bold;
    padding: 0 40px 0 0;
    margin: 0 0 10px 0;
}

.map-object .object-address {
    position: relative;
    color: #4A4A49;
    padding: 0 0 0 27px;
}

.map-object .object-address img {
    position: absolute;
    top: 1px;
    left: 0;
    height: 20px;
}

.map-holder {
    height: 100%;
    position: relative;
}

.map-object-info {
    position: absolute;
    top: 100px;
    right: 100px;
    padding: 20px;
    max-width: 350px;
    background-color: #fff;

    border-radius: 12px;
    box-shadow: 0 4px 16px -4px #00266414;
}

.map-object-info .object-name {
    color: #002664;
    font-size: 18px;
    font-weight: bold;
    padding: 0 40px 0 0;
    margin: 0 0 15px 0;
}

.map-object-info .object-action {
    position: absolute;
    top: 20px;
    right: 15px;
}

.map-object-info .object-action img {
    height: 35px;
}

.map-object-info .object-address,
.map-object-info .object-phone {
    color: #4A4A49;
    margin: 0 0 5px 0;
    padding: 0 0 0 27px;
    position: relative;
}

.map-object-info .object-address img,
.map-object-info .object-phone img {
    position: absolute;
    top: 1px;
    left: 0;
    height: 20px;
}

.map-object-info .object-phone {
    text-decoration: underline;
    color: #002664;
}

.map-object-info .object-work-time {
    margin: 15px 0;
}

.map-object-info .object-work-time .lab {
    color: #757575;
    font-size: 12px;
}

.map-object-info .object-work-time .val span {
    font-weight: bold;
}

.map-object-info .object-hint span {
    display: block;
}


/* MOBILE */
@media only screen and (min-width: 1200px) and (max-width: 1400px) {
    .map-selector {
        padding: 20px 30px;
    }
}

@media only screen and (min-width: 767px) and (max-width: 991px) {
    .map {
        margin: 0 0 30px 0;
    }
}

@media only screen and (min-width: 0px) and (max-width: 767px) {
    .map {
        margin: 0 0 30px 0;
    }

    .map-holder {
        height: 600px;
    }

    .map-objects {
        padding: 15px 15px 15px 15px;
        max-height: 400px;
        height: inherit;
    }

    .map-object-info {
        padding: 15px;
        margin-left: 15px;
    }

}


.pharmacy-show-layout {
    --ph-blue: #002d62;
    --ph-green: #58a618;
    --ph-bg: #eef2f7;
    --ph-text: #4a4a49;
    --ph-white: #fff;
    --ph-radius-card: 12px;
    --ph-radius-lg: 24px;
    --ph-shadow-soft: 0 4px 16px -4px rgba(0, 38, 100, 0.08);
    color: var(--ph-text);
    padding-top: 1.5rem;
    padding-bottom: 3.5rem;
}

.pharmacy-show-layout h2 {
    font-size: 30px;
    line-height: 36px;
}

.pharmacy-show-layout__hero {
    margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
    .pharmacy-show-layout__map-hero {
        position: -webkit-sticky;
        position: sticky;
        top: 1rem;
    }
}

.pharmacy-show-layout__map-wrap--hero .pharmacy-show-layout__gmap {
    width: 100%;
    height: 100%;
    min-height: 280px;
    border: 0;
    border-radius: inherit;
}

@media (min-width: 992px) {
    .pharmacy-show-layout__map-wrap--hero {
        height: min(68vh, 560px);
        min-height: 420px;
        max-height: 600px;
    }
}

.pharmacy-show-layout__title {
    color: var(--ph-blue);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.75rem;
}

.pharmacy-show-layout__card {
    background: var(--ph-bg);
    border-radius: var(--ph-radius-card);
    padding: 1.5rem;
    margin-bottom: 1.25rem;
}

.pharmacy-show-layout__card-row {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: justify;
            justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
}

.pharmacy-show-layout__card-main {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    gap: 1.25rem;
    min-width: 0;
    -webkit-box-flex: 1;
            flex: 1 1 0;
}

.pharmacy-show-layout__card-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    color: var(--ph-blue);
}

.pharmacy-show-layout__card-value {
    color: var(--ph-blue);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}

.pharmacy-show-layout__card-label {
    color: var(--ph-text);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.pharmacy-show-layout__card-row .pharmacy-show-layout__btn-pill {
    flex-shrink: 0;
    align-self: center;
}

@media (max-width: 767.98px) {
    .pharmacy-show-layout__card-row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
                flex-direction: column;
        -webkit-box-align: stretch;
                align-items: stretch;
        gap: 1.25rem;
    }

    .pharmacy-show-layout__card-main {
        -webkit-box-flex: 0;
                flex: none;
        width: 100%;
    }

    .pharmacy-show-layout__card-row .pharmacy-show-layout__btn-pill {
        align-self: stretch;
        -webkit-box-pack: center;
                justify-content: center;
        width: 100%;
    }
}

.pharmacy-show-layout__btn-pill {
    display: -webkit-inline-box;
    display: inline-flex;
    -webkit-box-align: center;
            align-items: center;
    gap: 0.35rem;
    padding: 0.85rem 1.5rem;
    border-radius: 32px;
    font-size: 1rem;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid var(--ph-blue);
    -webkit-transition: background 0.15s ease, color 0.15s ease;
    transition: background 0.15s ease, color 0.15s ease;
}

.pharmacy-show-layout__btn-pill--primary {
    background: var(--ph-blue);
    color: var(--ph-white);
}

.pharmacy-show-layout__btn-pill--primary:hover {
    background: #001a4d;
    color: var(--ph-white);
}

.pharmacy-show-layout__btn-pill--ghost {
    background: var(--ph-white);
    color: var(--ph-blue);
}

.pharmacy-show-layout__btn-pill--ghost:hover {
    background: var(--ph-bg);
    color: var(--ph-blue);
}

.pharmacy-show-layout__btn-pill svg {
    flex-shrink: 0;
}

.pharmacy-show-layout__hours-line {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.35rem;
}

.pharmacy-show-layout__hours-line strong {
    font-weight: 700;
}

.pharmacy-show-layout__status {
    border-radius: var(--ph-radius-card);
    padding: 1.25rem 1.5rem;
    height: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    gap: 0.75rem;
}

.pharmacy-show-layout__status--open {
    max-height: 100px;
}

.pharmacy-show-layout__status--closed {
    background: var(--ph-bg);
}

.pharmacy-show-layout__status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.pharmacy-show-layout__status--open .pharmacy-show-layout__status-dot {
    background: var(--ph-green);
}

.pharmacy-show-layout__status--closed .pharmacy-show-layout__status-dot {
    background: #c9ccd1;
}

.pharmacy-show-layout__status-label {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.pharmacy-show-layout__status--open .pharmacy-show-layout__status-label {
    color: var(--ph-green);
}

.pharmacy-show-layout__status--closed .pharmacy-show-layout__status-label {
    color: var(--ph-blue);
}

.pharmacy-show-layout__status-detail {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.pharmacy-show-layout__convenience {
    margin-top: 0.5rem;
}

.pharmacy-show-layout__service-card {
    background: var(--ph-white);
    border-radius: 24px;
    /*box-shadow: var(--ph-shadow-soft);*/
    box-shadow: 8px 10px 55px -4px #00173D1F;

    padding: 1.25rem 1.5rem 1.5rem;
    height: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
            flex-direction: column;
}

@media (max-width: 768px) {
    .pharmacy-show-layout__service-card {
        height: auto;
        margin: 0 0 20px 0;
    }
}

.pharmacy-show-layout__service-card p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.pharmacy-show-layout__map-wrap {
    border-radius: 17px;
    overflow: hidden;
    box-shadow: var(--ph-shadow-soft);
    background: var(--ph-bg);
}

.pharmacy-show-layout__map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.pharmacy-show-layout__gallery-thumb {
    border-radius: var(--ph-radius-lg);
    overflow: hidden;
}

.pharmacy-show-layout__gallery-row .pharmacy-show-layout__gallery-thumb img {
    width: 100%;
    height: 220px;
    -o-object-fit: cover;
       object-fit: cover;
}

@media (min-width: 768px) {
    .pharmacy-show-layout__gallery-row .pharmacy-show-layout__gallery-thumb img {
        height: 260px;
    }
}

.pharmacy-show-layout__convenience.pharmacy-additional-info ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 576px) {
    .pharmacy-show-layout__convenience.pharmacy-additional-info ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.pharmacy-show-layout__convenience.pharmacy-additional-info li {
    position: relative;
    padding-left: 1.65rem;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.pharmacy-show-layout__convenience.pharmacy-additional-info li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 20px;
    height: 20px;

    background-image: url(/build/images/pharmacies-list-icon.bda1b641.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.pharmacy-show-layout__services-section {
    margin-top: 2.5rem;
    padding-top: 0.5rem;
}

.pharmacy-show-layout__service-icon {
    width: 66px;
    margin-bottom: 10px;
    margin-top: -50px;
    color: var(--ph-blue);
    opacity: 0.9;
}

.pharmacy-show-layout__breadcrumb-wrap {
    margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
    .pharmacy-show-layout__btn-pill--full-xs {
        -webkit-box-pack: center;
                justify-content: center;
        width: 100%;
    }
}
