/* Override styles from personal theme. */
body div.site-page {
  padding-top: 0 !important;
}

html.impaired body button {
    background-color: transparent !important;
}

.chose-style {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.chose-style__version {
  cursor: pointer;
}
.chose-style__impaired {
  font-size: 0;
}
.chose-style__standart {
  display: none;
}
.chose-style__size {
  display: none;
}
html.impaired .chose-style__size {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}


/* Fix header */
header.header {
    z-index: 12;
}
header.header.site-header {
    animation: none !important;
    position: sticky !important;
    left: 0;
    min-height: 5.25rem;
    top: 0;
    transition: background .3s;
}
/* Fix ajax progress throbber position */
header.header div.ajax-progress {
    top: auto;
    bottom: -.6rem;
    right: auto;
    left: .3rem;
}

[data-ajax-placeholder] .ajax-big-pipe-loader{
  display: none !important;
}
.header a {
    text-decoration: none;
}
.header .b-header-block__item--container {
    margin: inherit;
    padding: inherit;
}

.header .b-dpl-link {
    font-size: inherit;
    min-height: inherit;
    margin: inherit;
}
.header .menu__link {
    align-items: center;
    display: inline-flex;
    font-size: .875rem;
    font-weight: 500;
    padding: .125rem 0;
    position: relative;
    transition: color .3s
}

.header .menu__link:after {
    background: var(--white);
    bottom: 0;
    content: "";
    height: .0625rem;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transition: transform .3s;
    width: 100%
}
.header .block-pharma-fav .b-dpl-link .count {
    top: -7px;
    right: -12px;
    width: 15px;
    height: 15px;
}
.header .block-pharma-fav .head-pharmacies {
    right: -100%;
}
.header .search__form input {
    height: auto;
    padding-left: 2.5rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}


/* Search results program icons */
.view-catalog .b-product-card__info {
    display: flex;
    gap: .25rem;
}
.view-catalog .b-product-card__info-img {
    flex: 1 1 auto;
}
.view-catalog .b-product-list .b-product-card__info {
    margin-top: .3rem;
}
.view-catalog .b-product-small .b-product-card__info {
    margin-bottom: .3rem;
}

.header .header__city-mobile .city-btn {
    font-size: 0;
}

.header .side-menu__nav li.side-menu__item {
    display: flex;
    align-items: center;
    padding-left: 1rem;
}
.header .side-menu__nav li.side-menu__item .side-menu__link {
    font-weight: 400;
}

.header .search__form .addto_basket_button span  {
    font-size: 0;
}


.side-menu__header {
    gap: .8rem;
}

/* Catalog */
.catalog, .catalog .catalog__body, .catalog .sublist {
    transition: none !important;
}

/* Login popup */
button.eye-open, button.eye-close {
    background: none !important;
}
button.eye-open:before, button.eye-close:before {
    width: 25px;
    height: 20px;
}
.user-login-form .form-info__title:after {
    display: inline;
}
.social-auth-btn {
    text-decoration: none;
}

form.user-logout-confirm .form-actions {
    display: flex;
    justify-content: center;
    gap: 4rem;
}
form.user-logout-confirm .form-actions .dialog-cancel {
    background: var(--grey-scale-600);
}
/* Search results program icons */
.view-catalog .b-product-card__info {
    display: flex;
    gap: .25rem;
}
.view-catalog .b-product-card__info-img,
.view-catalog .product-card__info-img {
    flex: 0 1 auto;
}
.view-catalog .b-product-list .b-product-card__info {
    margin-top: .3rem;
}
.view-catalog .b-product-small .b-product-card__info {
    margin-bottom: .3rem;
}

/* Blocks */
.block-footer-contacts .text-formatted {
    color: var(--white);
}
.block-footer-socials .field-block-paragraph .field__label {
    display: none;
}
.block-copyrights p {
    color: var(--white);
}
.block-order-instruction .text-formatted {
    color: var(--white);
}

.side-menu .menu--footer{
    display: block;
} 

/* Buttons */
body .button {
    gap: 0;
    background: transparent;
}
body .button:hover {
    box-shadow: none;
}

body .text-formatted {
    font-size: 1rem;
}

/* Misc */
div.bonus {
    width: auto;
}

div.bonus .bonus__value::before {
    content: "";
    width: 44px;
    height: 32px;
}

@media screen and (max-width: 1199px) {
    div#online-chat-wrapper.b-callback {
        right: 17px;
        bottom: 75px;
    }
}

.view-cart-goods.view-display-id-cart.view-display-id-block_1 .view-footer .order-cart-footer-sum {
    bottom: 60px !important;
}