@charset "utf-8";

@media (max-width: 600px) {
    :root {
        --main-width: 100%;
    }

    html, body {
        touch-action: pan-y;
        overflow: auto;
    }

    body {
        -webkit-text-size-adjust: none;
        margin: 116px 0 0 0;
        height: calc(100% - 160px);
    }

    .android body {
        margin: 194px 0 0 0;
        height: calc(100% - 241px);
    }

    .ios body {
        margin: 194px 0 0 0;
        height: calc(100% - 241px);
    }

    body:has(.app-banner[search="true"]) {
        margin: 116px 0 0 0;
        height: calc(100% - 160px);
    }

    body:has(.app-banner[homepage="false"]) {
        margin: 116px 0 0 0;
        height: calc(100% - 160px);
    }

    .ios-app body {
        margin: 116px 0 0 0;
        height: calc(100% - 160px);
    }

    @media (display-mode: standalone) {
        .android body {
            margin: 116px 0 0 0;
            height: calc(100% - 160px);
        }
    }

    [hide] {
        display: none;
    }

    textarea,
    input {
        font-size: 16px;
    }

    .header-first-container {
        justify-content: space-between;
        display: flex;
    }

    .first-city-pharmacy {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 50%;
    }

    .pharmacy-popup-container,
    .city-popup-container {
        height: 100%;
        border-radius: 0;
        width: 100%;
    }

    .pharmacy-popup-city-list {
        width: 100%;
        background: white;
        height: calc(100vh - 160px);
        padding-bottom: 100px;
    }

    .el-availability-list .el-basket {
        height: 40px;
        grid-area: basket;
        font-size: 14px;
    }

    /*.pharmacy-popup[city-code] .pharmacy-popup-city-list {*/
    /*    display: none;*/
    /*}*/

    /*.pharmacy-popup-city-list:before {*/
    /*    content: "Выберите город";*/
    /*    background: var(--footer-color);*/
    /*    display: block;*/
    /*    text-align: center;*/
    /*}*/

    .pharmacy-popup-city-toggle-view {
        bottom: calc(100% - 100px);
        padding: 0;
    }

    .basket-map-toggle-view {
        bottom: calc(100% - 48px);
        padding: 17px 0;
        width: 100%;
        z-index: 1;
    }

    .basket-container {
        height: unset;
    }

    .basket-element-map-pharmacy-list {
        display: none;
        background-color: white;
        padding: 14px;
    }

    .basket-element-map-pharmacy-list[list] {
        display: flex;
        width: 100%;
    }

    .basket-element-map {
        right: unset;
        width: 100%;
    }

    .pharmacy-popup-city {
        display: flex;
        justify-content: space-between;
    }

    .pharmacy-popup-city-block {
        width: 100%;
        padding-top: 0;
    }

    /*.pharmacy-popup-city:after {*/
    /*    content: ">"*/
    /*}*/

    .pharmacy-popup-pharmacy-list {
        padding: 0;
        height: calc(100vh - 160px);
    }

    .pharmacy-popup-pharmasy-search {
        margin-top: 40px;
    }

    .pharmacy-popup-pharmacy-selected-pharmacy {
        display: none;
    }

    .pharmacy-popup-pharmacy[select] {
        border-radius: 4px;
    }

    .pharmacy-popup-pharmacy-select-city {
        background: var(--footer-color);
        padding: 0 30px;
        font-weight: 900;
        text-align: left;
    }

    .pharmacy-popup-pharmacy-select-city:before {
        content: "<";
        margin-right: 20px;
    }

    .pharmacy-popup-pharmacy {
        padding-left: 20px;
    }

    .pharmacy-popup-city-container {
        padding: 0px 0px 20px 0;
    }

    #pharmacy-popup-pharmacy-map {
        right: 0;
        overflow: hidden;
    }

    .choose-map-pharmacy-timing-left-column {
        width: 17%;
        text-align: left;
        box-sizing: border-box;
    }

    .choose-map-pharmacy-timing-right-column {
        width: 50%;
        text-align: left;
        box-sizing: border-box;
    }

    .header-first {
        font-size: 16px;
        line-height: 3;
        padding: 0 20px;
    }

    .first-city {
        text-align: left;
        width: 50%;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .pharmacy-popup-pharmacy-map-select {
        right: unset;
        width: 100%;
        padding: 0;
        border-radius: 6px 6px 0px 0px;
        box-shadow: 0px 0px 54px 6px rgba(0, 0, 0, 0.25);
        transition: bottom 0.5s;
    }

    .pharmacy-popup-pharmacy-map-select .basket-choose-map-pharmacy-amounts {
        margin-bottom: 16px;
    }

    .basket-element-map .pharmacy-popup-pharmacy-map-select[up] {
        bottom: 0px;
    }

    .basket-element-map .pharmacy-popup-pharmacy-map-select[down] {
        bottom: -170px;
    }

    #pharmacy-popup-pharmacy-map .pharmacy-popup-pharmacy-map-select[up] {
        bottom: 0px;
    }

    #pharmacy-popup-pharmacy-map .pharmacy-popup-pharmacy-map-select[down] {
        bottom: -100px;
    }

    .pharmacy-map-head-line {
        width: 100%;
        height: 14px;
        border-radius: 6px 6px 0px 0px;
        background: #EFF5F6;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pharmacy-map-head-line:before {
        content: '';
        border-top: 2px solid #949199;
        width: 26px;
        display: block;
    }

    .pharmacy-map-select-title {
        display: flex;
        flex-direction: column;
        align-items: baseline;
        padding: 16px 14px 6px 14px;
        border-bottom: unset;
        margin-bottom: 0;
    }

    .pharmacy-map-select-schedule {
        display: flex;
        flex-direction: column;
        padding: 4px 0 10px 14px;
        font-size: 14px;
        align-items: flex-start;
    }

    .pharmacy-map-select-but {
        margin: 0 14px 26px 14px;
        background-color: #455A64;
        border-radius: 3px;
        padding: 3px 0;
    }

    .basket-element-map .pharmacy-map-select-but {
        padding: 5px 0;
    }

    .basket-choose-map-pharmacy-choose[selected] {
        background: #E8EFF0;
        border-top: unset;
    }

    .basket-choose-map-another .title {
        background-color: white;
    }

    .pharmacy-map-select-but[selected="true"] {
        color: #455A64;
        background-color: #E8EFF0;
    }

    .pharmacy-map-select-title-chedule {
        line-height: 1;
        color: #0B8E89;
    }

    .pharmacy-map-select-title-chedule[close] {
        color: var(--orange-color);
    }

    .pharmacy-map-select-title-breaktime {

    }

    .pharmacy-map-select-title-detail {
        font-size: 12px;
        font-weight: normal;
        line-height: 1;
        margin-bottom: 6px;
    }

    .choose-map-pharmacy-favorite {
        position: absolute;
        top: 38px;
        right: 14px;
    }

    .choose-map-pharmacy-favorite:before {
        background: url(/local/img/favorite-off35.svg) no-repeat center;
        width: 35px;
        height: 35px;
    }

    .basket-element-choose-map {
        width: 100%;
    }

    .basket-element-choose-map-container {
        width: 100%;
    }

    .basket-element-choose-map-block {
        height: 100%;
    }

    .basket-element-choose-map-container {
        height: 100vh;
        flex-direction: column;
        justify-content: flex-start;
    }

    .basket-element-map {
        /*display: none;*/
    }

    .choose-map-pharmacy-favorite[selected]:before {
        background: url(/local/img/favorite-on35.svg) no-repeat center;
        width: 35px;
        height: 35px;
    }

    .first-logo,
    .first-phone {
        display: none;
    }

    .header-second {
        padding: 0 0 10px 0;
        /* background: var(--green-color); */
    }

    .header-second-container {
        gap: 0;
        margin: 10px 20px 0 20px;
    }

    .second-favorite,
    .second-order,
    .second-basket,
    .second-catalog-button {
        display: none;
    }

    .second-search {
        height: 48px;
        margin: 0;
        z-index: 1;
    }

    .second-search:after {
        height: 34px;
    }

    .second-catalog-body {
        top: 56px;
        left: -20px;
        right: -20px;
        border-radius: 0;
        width: auto;
        height: calc(100vh - 152px);
        max-height: none;
    }

    .catalog-list-header {
        width: 100%;
        background: white;
    }

    .catalog-list-header>div {
        border-bottom: 1px solid var(--background-color);
        margin: 0 10px;
    }

    .catalog-list-body .catalog-list-body-back {
        display: block;
        font-size: 18px;
        font-weight: 900;
        line-height: 2;
        margin-bottom: 10px;
        border-bottom: 1px solid var(--footer-color);
    }

    .catalog-list-body .catalog-list-body-back:before {
        content: "<";
        margin-right: 10px;
    }

    .catalog-list-body>div {
        columns: 1;
    }

    main {
        padding-top: 0;
        margin: 0 20px;
        width: calc(100% - 40px);
    }

    .mobile-second-search {
        display: block;
        margin-bottom: 20px;
        width: auto;
        background: white;
        z-index: 1;
        border: 1px solid var(--green-color);
    }

    .mobile-second-search input {
        font-size: 16px;
    }

    .second-search-list {
        font-size: 16px;
        line-height: 2;
        max-height: calc(100vh - 250px);
        overflow: auto;
    }

    .main-banner-list {
        height: calc((150vw) / 3);
    }

    .banner-list-el {}

    .banner-list-el>img {
        width: calc(100vw - 40px);
    }

    .banner-controll-el {
        display: none;
    }

    .main-banner:after {
        font-size: 8px;
        height: 8px;
    }

    .main-catalog {
        margin-top: 0;
        flex-direction: column;
        padding-bottom: 20px;
    }

    .main-catalog div {
        height: auto;
        width: 100%;
        margin-bottom: 20px;
        align-items: center;
    }

    .main-catalog div:last-child {
        margin-bottom: 0px;
    }

    .main-catalog img {
        margin: 10px auto 10px auto;
        width: 100px;
        height: 40px;
    }

    .main-catalog span {
        position: relative;
        opacity: 1;
        color: inherit;
        background: inherit;
        padding: 10px;
        justify-content: left;
    }

    .catalog-container {
        flex-direction: column;
    }

    .catalog-filter[filter="true"] {
        margin: 0 0 20px 0;
    }

    .catalog-filter[filter="false"] {
        /*display: none;*/
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .catalog-filter[filter="true"] {
        width: 100%;
        box-sizing: border-box;
        padding: 15px;
    }

    /*.catalog-filter[filter-close] .catalog-filter-section,*/
    /*.catalog-filter[filter-close] .catalog-filter-button,*/
    /*.catalog-filter[filter-close] .catalog-filter-button-clear {*/
    /*    display: none;*/
    /*}*/

    .catalog-filter[filter-close] .mobile-filter-container {
        visibility: hidden;
        height: 0;
        /*animation-name: filterClose;*/
        /*animation-duration: 0.3s;*/
        /*animation-timing-function: linear;*/
    }

    /*@keyframes filterClose {*/
    /*    0% {*/
    /*        height: 244px;*/
    /*    }*/

    /*    100% {*/
    /*        height: 0;*/
    /*    }*/
    /*}*/
    .catalog-filter[filter-open] .mobile-filter-container {
        visibility: visible;
        /*animation-name: filterOpen;*/
        /*animation-duration: 0.3s;*/
        /*animation-timing-function: linear;*/
    }

    /*@keyframes filterOpen {*/
    /*    0% {*/
    /*        visibility: hidden;*/
    /*        height: 0;*/
    /*    }*/
    /*    50% {*/
    /*        visibility: hidden;*/
    /*        height: 120px;*/
    /*    }*/
    /*    90% {*/
    /*        visibility: hidden;*/
    /*    }*/
    /*    100% {*/
    /*        visibility: visible;*/
    /*        height: 214px;*/
    /*    }*/
    /*}*/

    .apply-but {
        font-size: 12px;
        width: 75px;
    }

    .catalog-filter .catalog-filter-button-clear {
        position: unset;
        margin-top: 10px;
    }

    .mobile-filter-but {
        display: flex;
        justify-content: space-between;
    }

    .mobile-filter-but[open] {
        margin-bottom: 20px;
    }

    .mobile-filter-but-title {
        display: flex;
    }

    .mobile-filter-but-title:before {
        content: '';
        background: url(/local/img/mobile-filter.svg) no-repeat center;
        width: 13px;
        height: 13px;
        display: inline-block;
        margin-right: 5px;
        margin-bottom: -2px;
    }

    .mobile-filter-but-title[count]:after {
        content: attr(count);
        background: var(--green-color)center;
        border-radius: 50%;
        color: white;
        font-size: 9px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 5px;
        width: 16px;
    }

    .mobile-filter-but[open] .mobile-filter-but-arrow:after {
        content: "v";
        color: var(--light-gray-color);
        font-weight: 100;
    }

    .mobile-filter-but .mobile-filter-but-arrow:after {
        content: "<";
        color: var(--light-gray-color);
        font-weight: 100;
    }

    .catalog-elements-sort {
        position: relative;
        margin-bottom: 50px;
    }

    .sort-in-pharmacy {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        height: 30px;
        background: white;
        padding: 0 10px;
        border-radius: 4px;
    }

    .el {
        width: 100%;
    }

    .basket-pharmacy-elements .el:first-child .el-body {
        padding-top: 16px !important;
        padding-bottom: 0 !important;
    }

    .el-favorite {
        top: 15px !important;
        right: 15px !important;
    }

    .el-body[employee] .el-favorite {
        right: 5px !important;
    }

    .basket-pharmacy-elements .el-body,
    .el-body {
        grid-template-areas:
            "img price"
            "name name"
            "basket basket"
            "ava ava";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 0;
        justify-items: center;
    }

    .basket-container .el-body[employee],
    .el-body[employee] {
        grid-template-rows: 50px 85px auto 60px;
        grid-template-areas:
            "img price"
            ". employee"
            "name name"
            "basket basket"
            "ava ava";
    }

    .basket-container .el-body[employee] {
        padding: 16px 0 0 0;
        grid-template-rows: 50px 85px auto 40px;
    }

    .el-img img {
        width: 130px;
        height: 130px;
    }

    .pop-up-img img {
        width: 100%;
    }

    .el-name {
        margin: 20px 0;
        line-height: 22px;
        width: 100%;
    }

    .el-availability {
        padding: 0;
        height: 40px;
        margin-top: 20px;
        width: calc(100vw - 72px);
    }

    .el-price {
        margin: 0;
    }

    .el-basket {
        width: 100%;
        margin-top: 20px;
        height: 40px;
        font-size: 18px;
    }

    .el-basket:before {
        font-size: 16px;
    }

    .el-availability-list {}

    .el-availability-pharmacy {
        display: grid;
        grid-template-areas:
            "name name"
            "price basket";
        justify-content: space-between;
        margin: 10px 0;
    }

    .el-availability-pharmacy-name {
        grid-area: name;
        margin-bottom: 20px;
    }

    .el-availability-pharmacy-price {
        grid-area: price;
    }

    .el-availability-pharmacy-basket {
        grid-area: basket;
        height: 40px;
    }

    .el-footer {
        font-size: 12px;
    }

    .catalog-elements-page-container {}

    .banner-left {
        display: none;
    }

    /* .banner-info { display: none; } */

    .basket-container {
        flex-direction: column;
    }

    .basket-pharmacy-title[all-at-once="true"] {
        margin-bottom: 50px;
    }

    .basket-pharmacy-title[all-at-once="true"] .basket-pharmacy-title-all {
        display: flex;
        height: 50px;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .basket-pharmacy-title-all-text:before {
        content: "Будет создано 2 заказа";
    }

    .basket-pharmacy[all-at-once] .basket-pharmacy-title-all-text:before {
        content: "Будет создан 1 заказ";
    }

    .basket-container .el-body {
        grid-template-areas:
            "img price"
            "name name"
            "basket basket";
    }

    .basket-container .el-availability {
        display: none;
    }

    .basket-container .el-basket {
        margin-top: 0px;
    }

    .basket-pharmacy-elements .el-img {
        width: inherit;
        height: inherit;
    }

    .basket-form {
        width: 100%;
        margin: 0;
    }

    .basket-form-container {
        position: relative;
        width: 100%;
        margin-top: 20px;
        top: unset;
    }

    .basket-form-container:has(.basket-form-but[none]) {
        margin-bottom: 40px;
    }

    .first-city-choose-city-btns {
        font-size: 14px;
    }

    .reset-pharmacys-but {
        margin: 0px;
        padding-left: 20px;
    }

    .basket-form-name,
    .basket-form-phone {
        height: 40px;
    }

    .basket-form-but {
        margin-bottom: 40px;
    }

    .basket-form-extra:has(.info-privacy-basket) .basket-form-but {
        margin-bottom: 0;
    }

    .basket-form-but,
    .form-extra-clear {
        height: 40px;
    }

    .basket-form-extra {
        position: relative;
        margin-top: 20px;
    }

    .basket-pharmacy-elements-pharmacy-sber-pay,
    .basket-pharmacy-elements-provider-sber-pay {
        flex-direction: column;
        margin-bottom: 16px;
    }

    .basket-pharmacy-elements-pharmacy-sber-pay-sum,
    .basket-pharmacy-elements-provider-sber-pay-sum {
        padding: 0;
        margin-top: 10px;
    }

    .basket-pharmacy-elements {
        padding: 16px 16px 16px 16px;
    }

    .order-list {
        margin-top: 20px;
        padding-bottom: 80px;
    }

    .order-list .order {
        width: calc(100% - 40px);
    }

    .order-list-el {
        width: calc(100% - 32px);
    }

    .user-container {
        flex-direction: column;
    }

    .user-info {
        width: 100%;
        margin: 0 0 20px 0px;
    }

    .user-info-container {
        margin-top: 16px;
        position: relative;
        width: calc(100% - 32px);
    }

    .user-exit,
    .user-delete {
        position: relative;
        margin-top: 20px;
    }

    .user-data .order {}

    .user-data .order-head {
        grid-template-areas:
            "number status"
            "pharmacy pharmacy"
            "date sum"
            "pay pay";
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
    }

    .order-head-number {
        grid-area: number;
    }

    .order-head-status {
        grid-area: status;
    }

    .order-head-pharmacy {
        grid-area: pharmacy;
    }

    .order-head-sum {
        grid-area: sum;
    }

    .order-head-date {
        grid-area: date;
    }

    .order-head-pay {
        grid-area: pay;
    }

    .order-head-payment-code {
        grid-column: 1 / -1;
    }

    .head-status-cancel:before {
        content: "X";
    }

    .favorite-container {
        margin: 0;
    }

    .pharmacy-container {
        height: auto;
    }

    #pharmacy-map {
        display: none;
    }

    .pharmacy-list {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        justify-content: center;
        align-items: center;
    }

    .pharmacy-list:last-child {
        margin-bottom: 20px;
    }

    .pharmacy-el-but {
        display: none;
    }

    .pharmacy-list-el {
        display: flex;
        flex-direction: column;
        width: 100%;
        font-size: 14px;
    }

    .store-data-schedule {
        border: none;
    }

    .schedule-today {
        padding: 0 0 8px 0;
        margin: 0 10px;
    }

    .schedule-today::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        background: url(/local/img/arrow-down.svg) no-repeat center center;
        background-size: contain;
        transition: transform 0.3s ease;
    }

    .schedule-today.open::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .schedule-today-work-header {
        padding-left: 72px;
        width: 61%;
    }

    .schedule-today-break-header {
        width: 28.5%;
    }

    .schedule-date {
        width: 22%
    }

    .schedule-full {
        max-height: 0;
        overflow: hidden;
        background: #FFFFFF;
        transition: max-height 0.3s ease;
    }

    .schedule-today-work,
    .schedule-full-time {
        width: 40%;
    }

    .schedule-today-break,
    .schedule-full-break {
        padding: 0;
    }

    .schedule-date,
    .schedule-today-work,
    .schedule-today-break,
    .schedule-full-time,
    .schedule-full-break {
        font-size: 14px;
    }

    .schedule-today-break,
    .schedule-full-break{
        text-align: start;
    }

    .pharmacy-el-title {
        order: 1;
        padding: 12px 0 5px 0;
        font-size: 16px;
    }

    .pharmacy-list-el {
        padding-bottom: 10px;
    }

    .pharmacy-list-el a{
        order: 2;
    }

    .pharmacy-el-schedule {
        order: 3;
    }

    .store-data-phone {
        border-bottom: none;
        padding: 8px 0 12px 0;
        background-color: #fff;
        color: var(--dark-gray-color);
        border-bottom: 1px solid var(--light-gray-color);
        font-size: 14px;
        margin-bottom: 10px;
    }

    .catalog-elements-page-container>span,
    .catalog-elements-page-container>a,
    .catalog-elements-page [prev],
    .catalog-elements-page [next] {
        width: 32px;
        height: 30px;
    }

    .catalog-elements-page {
        margin-bottom: 40px;
    }

    .footer-container {
        padding: 0 20px;
        margin: 20px 0px 80px 0px;
    }

    .footer-first {
        flex-direction: column;
    }

    .footer-first-legal-address {
        order: 1;
        margin-bottom: 20px;
    }

    .footer-first-links {
        order: 2;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .footer-first-links>a {
        height: 30px;
        width: 100%;
        display: flex;
        align-items: center;
        margin-bottom: 16px;
        background: var(--light-gray-color);
        padding-left: 4px;
        border-radius: 2px;
    }

    .footer-first-links>a:last-child {
        margin-bottom: 0px;
    }

    .footer-first-connection {
        order: 1;
        margin-bottom: 20px;
    }

    .connection-call {
        background: var(--dark-gray-color);
    }

    .connection-message {
        background: var(--dark-gray-color);
    }

    .footer-second {
        flex-direction: column;
    }

    .footer-second>a {
        margin-bottom: 20px;
    }

    .footer-second>a:last-child {
        margin-bottom: 0px;
    }

    .mobile-navigation {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: white;
        display: flex;
        z-index: 100;
        box-shadow: 0 0 10px -6px black;
        justify-content: space-around;
    }

    .mobile-navigation:after {
        content: "";
        position: fixed;
        width: 100vw;
        height: 300px;
        background: #0daca5;
        bottom: -300px;
    }

    .mobile-navigation>a,
    .mobile-navigation>div {
        display: flex;
        width: 60px;
        font-size: 12px;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position: relative;
        cursor: none;
    }

    [nav]:before,
    [nav]:after {
        content: "";
        height: 26px;
        width: 30px;
    }

    [nav][count][toggled]:before,
    [nav]:before {
        position: unset;
    }

    [nav]:after {
        position: absolute;
        left: -999px;
    }

    [nav] {
        border-top: 2px solid transparent;
        flex-direction: row;
    }

    [nav][toggled] {
        color: #0DACA5;
        border-top: 2px solid #0DACA5;
    }

    [nav][toggled]:after {
        position: unset;
        order: -1;
    }

    [nav][toggled]:before {
        position: absolute;
        left: -999px;
    }

    [nav="menu"]:before {
        background: url(/local/img/menu.svg) center top no-repeat;
    }

    [nav="menu"]:after {
        background: url(/local/img/menu_green.svg) center top no-repeat;
    }

    [nav="catalog"]:before {
        background: url(/local/img/catalog-mobile.svg) center top no-repeat;
    }

    [nav="catalog"]:after {
        background: url(/local/img/catalog_green.svg) center top no-repeat;
    }

    [nav="user"]:before {
        background: url(/local/img/profile.svg) center top no-repeat;
    }

    [nav="user"]:after {
        background: url(/local/img/profile_green.svg) center top no-repeat;
    }

    [nav="order"]:before {
        background: url(/local/img/order.svg) center top no-repeat;
    }

    [nav="order"]:after {
        background: url(/local/img/order_green.svg) center top no-repeat;
    }

    [nav="basket"]:before {
        background: url(/local/img/basket.svg) center top no-repeat;
    }

    [nav="basket"]:after {
        background: url(/local/img/basket_green.svg) center top no-repeat;
    }

    .mobile-navigation [nav="user"][count]:after,
    .mobile-navigation [nav="basket"][count]:after,
    .mobile-navigation [nav="order"][count]:after {
        top: 7px;
        left: 17px;
        height: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .clear-input-btn {
        top: 17px;
    }

    .main-search-btn {
        margin-right: 0;
    }

    .banner-description {
        font-size: 12px;
        padding: 3px 0;
    }

    .banner-line {
        width: 40%;
        right: 30%;
    }

    .chat-block {
        right: 20px;
        bottom: 300px;
    }

    .chat-block-hidden {
        right: 20px;
        bottom: 300px;
    }

    .anchor {
        right: 25px;
    }

    h1 {
        font-size: 1rem;
    }

    .order-head-status[order-status="N"] .head-status-name {
        width: 100%;
    }

    /* принят */
    .order-head-status[order-status="D"] .head-status-name {
        width: 100%;
    }

    /* готов */

    .catalog-elements-empty-search {
        margin-bottom: 20px;
        margin-top: 20px;
    }

    .el-favorite-bubble {
        display: none;
    }

    .basket-choose-map-pharmacy-favorite:hover::after,
    .choose-map-pharmacy-favorite:hover::after {
        opacity: 0;
    }

    .basket-choose-map-pharmacy-favorite:hover .triangle,
    .choose-map-pharmacy-favorite:hover .triangle {
        opacity: 0;
    }

    .basket-pharmacy-title-info[but] {
        width: 260px;
    }

    .basket-pharmacy-title-name {
        width: 100%;
        text-overflow: ellipsis;
        overflow: hidden;
        display: flex;
        justify-content: end;
    }

    .user-data {
        margin-bottom: 40px;
        width: 100%;
    }

    .banner-img-picture img {
        width: calc(100vw - 40px);
    }

    .main-block .property {
        padding-bottom: 15px;
        display: inline-block;
        height: unset;
        width: 100%;
    }

    .main-block .name-property-choose {
        display: block;
        height: unset;
    }

    .main-block .choose {
        margin-top: 5px;
    }

    .btn-report-container {
        position: unset;
        margin-top: 30px;
        padding: 0 15px;
    }

    .btn-report,
    .btn-open-prop {
        padding: unset;
        height: 30px;
        width: 100%;
    }

    .additional-block .name-property:hover::after {
        animation-name: a2;
        animation-duration: 1s;
        animation-delay: 1s;
        animation-fill-mode: forwards;
    }

    .question:hover::after,
    .el-manufacturer text:hover::after {
        animation-name: a1;
        animation-duration: 1s;
        animation-delay: 3.5s;
        animation-fill-mode: forwards;
    }

    .main-block .value-property {
        word-break: break-all;
    }

    .main-container {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }

    .main-banner {
        order: 1;
        margin-top: 20px;
    }

    .brand-banner {
        order: 2;
    }

    .main-catalog {
        order: 3;
    }

    .brand-banner-container {
        margin: 12px auto 12px;
    }

    .brand-banner-navi-left,
    .brand-banner-navi-right {
        display: none;
    }

    .brand-banner-item {
        width: 100%;
        height: auto;
    }

    .brand-banner-item picture {
        width: 100%;
        height: auto;
    }

    .brand-banner-item picture:hover {
        transform: none;
    }

    .brand-banner-item img {
        width: 100%;
        height: auto;
    }

    .pay-modal {
        width: 70%;
        padding: 20px 20px 20px 20px;
        gap: 5px;
    }

    .pay-modal-text {
        font-size: 17px;
    }

    .payment-option {
        padding: 10px 15px;
        width: 100%;
    }

    .payment-option[provider="sber"] {
        padding: 10px;
    }

    .payment-option[provider="sber-pay"] {
        padding: 9px;
    }

    .payment-option[provider="alfa"] {
        padding: 8px;
    }

    .pay-modal[three-provider] {
        min-height: 286px;
    }

    .pay-modal[two-provider] {
        min-height: 210px;
    }

    .payment-label {
        font-size: 16px;
    }

    .breadcrumb {
        padding: 16px 0 16px 0;
    }

    .breadcrumb ol {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        scrollbar-width: none;
        white-space: nowrap;
    }

    .breadcrumb ol::-webkit-scrollbar {
        display: none;
    }

    .element-container {
        overflow-x: hidden;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .mobile.breadcrumb {
        padding: unset;
        height: 52px;
        background: var(--background-color);
    }

    .mobile.breadcrumb ol {
        display: flex;
        height: 100%;
        padding: 0 20px;
        align-items: center;
    }

    .product-lastseen {
        grid-area: basket;
        width: 100%;
        margin-top: 20px;
        height: 40px;
        font-size: 14px;
        flex-direction: unset;
    }

    .product-lastseen:before {
        margin-right: 4px;
    }

    .subscribe {
        grid-area: ava;
        width: 100%;
        margin-top: 20px;
        height: 40px;
        font-size: 18px;
    }

    .pharmacy-choose-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        gap: 8px;
        margin-top: 20px;
        list-style: none;
    }

    .pharmacy-main-list {
        margin-top: 20px;
    }

    .pharmacy-button,
    .dlo-button {
        height: 45px;
        padding: 15px 0;
    }

    .disclaimer {
        font-size: 12px;
        height: unset;
        margin: 14px 0 10px 0;
    }

    .disclaimer .text {
        width: unset;
        height: fit-content;
        background-color: unset;
        margin: 0;
    }

    .mobile-main-logo {
        padding-right: 20px;
        content: '';
        background-image: url("/local/img/gosa-white.svg");
        background-size: contain;
        background-repeat: no-repeat;
        width: 25px;
        height: 21px;
        display: inline-flex;
        cursor: none;
    }

    .mobile-sidebar-button[hidden] {
        display: none;
    }

    .mobile-sidebar-menu {
        position: fixed;
        background-color: white;
        color: black;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: calc(100dvh - 70px);
        top: 0;
        left: -10px;
        padding: 16px 16px 20px 26px;
        width: 65%;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 1px 0px 17px -8px;
        z-index: 3;
    }

    .mobile-sidebar-menu[active] {
        transform: translateX(0);
    }

    .mobile-sidebar-menu[hidden] {
        display: none;
    }

    .mobile-sidebar-background {
        content: "";
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #7C7B7E8A;
        opacity: 50%;
        z-index: 2;
        cursor: default;
    }

    .mobile-sidebar-background[hidden] {
        display: none;
    }

    .sidebar-header {
        display: flex;
        flex-direction: column;
    }

    .sidebar-header>a {
        padding: 12px 0;
        color: #455A64;
        border-bottom: 1px solid #F2F2F2;
    }

    .sidebar-header>a:last-child {
        border-bottom: none;
    }

    .mobile-auth-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 10px;
    }

    .mobile-auth-info div {
        color: #7C7B7E;
    }

    .mobile-auth-name {
        display: flex;
        align-items: center;
    }

    .mobile-auth-name:before {
        content: '';
        background-image: url("/local/img/gosa.svg");
        background-size: contain;
        background-repeat: no-repeat;
        width: 25px;
        height: 21px;
        display: inline-flex;
        margin-right: 8px;
    }

    .sidebar-footer {
        display: flex;
        flex-direction: column;
    }

    .connection-phone {
        color: #455A64;
    }

    .connection-call, .connection-message {
        line-height: 36px;
    }

    .connection-call-mobile, .connection-message-mobile {
        line-height: 36px;
        background: var(--dark-gray-color);
        color: white;
    }

    .connection-call-mobile {
        margin: 20px 0;
    }

    .footer-first-legal-address {
        margin-top: 10px;
        line-height: 12px;
        color: #455A64;
        font-size: 12px;
    }

    .footer-container {
        display: none;
    }

    .user-links-container {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .user-link {
        display: flex;
        align-items: center;
        padding: 15px;
        border-radius: 1px;
        background-color: #ffffff;
        text-decoration: none;
        color: inherit;
        transition: background-color 0.1s;
        cursor: none;
    }

    .user-link:hover {
        background-color: #e0e0e0;
    }

    .user-link img {
        margin-right: 15px;
    }

    .user-link-button {
        flex-grow: 1;
        font-size: 16px;
    }

    .user-but-email-notification, .user-but-push-notification {
        display: flex;
        cursor: pointer;
        position: relative;
        font-size: 16px;
        margin: 20px 0;
    }

    .info-privacy-basket {
        margin: 10px 0 30px 0;
    }

    .notifications-wrapper {
        position: fixed;
        bottom: 10vh;
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
        width: 100%;
        max-height: 80vh;
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
        padding: 0;
        box-sizing: border-box;
        z-index: 1000;
        overflow-x: hidden;
    }

    .notification {
        position: relative;
        background: rgba(69, 90, 100, 0.95);
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        padding: 15px;
        color: #fff;
        box-sizing: border-box;
        transform: translateX(-100%);
        opacity: 0;
        transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.4s ease,
        visibility 0.4s;
        visibility: hidden;
    }

    .notification.show {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .notification.hide {
        opacity: 0 !important;
        transition: opacity 0.2s ease !important;
    }

    .message-text {
        padding-right: 20px;
        font-size: 14px;
        line-height: 1.4;
        margin: 0;
        word-break: break-word;
    }

    .close-icon {
        position: absolute;
        right: 10px;
        top: 10px;
        width: 24px;
        height: 24px;
        cursor: none;
        transition: opacity 0.2s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .close-icon::before {
        content: '';
        display: block;
        width: 14px;
        height: 14px;
        background-image: url("/local/img/cross_gosa.svg");
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .main-order-list {
        margin-bottom: 10px;
    }

    .main-order-list-but {
        margin-top: 0;
    }

    .offer-package-window .cop:after {
        margin-bottom: 2px;
    }

    .back-to-breadcrumbs {
        background-color: #0DACA5;
        color: white;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        bottom: 60px;
        left: 0;
        right: 0;
        z-index: 100;
    }

    .notification-body {
        background: #ffffff;
        border-radius: 3px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
        padding: 16px;
        position: relative;
    }

    .notification-body:last-child {
        margin-bottom: 0;
    }

    .notification-message {
        color: #455A64;
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    .notification-date {
        position: absolute;
        bottom: 12px;
        left: 16px;
        color: #A8C5C9;
        font-size: 12px;
    }

    .no-notifications-title {
        font-size: 18px;
        text-align: center;
        line-height: 2;
    }

    .back-to-breadcrumbs:before {
        content: 'Назад';
    }

    .user-link[count]:after {
        content: attr(count);
        position: absolute;
        right: 15px;
        background: var(--green-color);
        color: white;
        border-radius: 2px;
        padding: 5px 10px;
    }

    .push-subscription-background {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #0DACA5;
        z-index: 1000;
    }

    .push-subscription-logo {
        position: absolute;
        top: 15%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 14vh;
        height: 12vh;
    }

    .push-subscription-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        border-radius: 3px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        width: 60%;
        max-width: 400px;
        padding: 18px;
        text-align: center;
    }

    .push-subscription-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .push-subscription-icon {
        width: 48px;
        height: 54px;
        margin-bottom: 8px;
    }

    .push-subscription-title {
        font-size: 16px;
        line-height: 20px;
        font-weight: 600;
        color: #455A64;
        margin: 0;
    }

    .push-subscription-text {
        font-size: 14px;
        color: #455A64;
        line-height: 1.4;
        margin: 0;
        max-width: 320px;
    }

    .push-subscription-buttons-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 260px;
        margin-top: 8px;
    }

    .push-subscription-subscribe-button,
    .push-subscription-remind-button {
        padding: 12px 24px;
        border-radius: 3px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .push-subscription-subscribe-button {
        background: #455A64;
        color: #ffffff;
    }

    .push-subscription-remind-button {
        background: #EFF5F6;
        color: #455A64;
    }

    .app-banner {
        display: none;
        position: relative;
        width: 100%;
        height: 79px;
        background-image: url('/local/img/app-banner-background.png');
        background-size: cover;
        background-position: center;
        overflow: hidden;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .desktop .app-banner {
        display: none;
    }

    .app-banner[search="true"] {
        display: none;
    }

    .android .app-banner[homepage="true"] {
        display: block;
    }

    .ios .app-banner[homepage="true"] {
        display: block;
    }

    @media (display-mode: standalone) {
        .app-banner {
            display: none !important;
        }
    }

    .ios-app .app-banner {
        display: none !important;
    }

    .app-banner-text {
        position: absolute;
        top: 12%;
        left: 22%;
        font-size: 19px;
        font-weight: bold;
        text-align: center;
        color: #455A64;
    }

    .stores-container {
        position: absolute;
        bottom: 14%;
        left: 30%;
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .ios .app-banner-text {
        left: 26%;
    }

    .ios .stores-container {
        left: 40%;
    }

    .store-link {
        text-decoration: none;
        transition: transform 0.3s ease;
    }

    .ios .android-link {
        display: none;
    }

    .android .ios-link {
        display: none;
    }

    .store-small-btn {
        width: 30px;
        height: 30px;
        border-radius: 5px;
        background-size: 20px 20px;
        background-repeat: no-repeat;
        background-position: center;
        background-color: white;
    }

    .store-btn {
        width: 106px;
        height: 30px;
        border-radius: 5px;
        background-size: 98px 24px;
        background-repeat: no-repeat;
        background-position: center;
        background-color: white;
    }

    .big-store-btn {
        width: 126px;
        height: 30px;
        border-radius: 5px;
        background-size: 98px 24px;
        background-repeat: no-repeat;
        background-position: center;
        background-color: white;
    }

    .rustore-button {
        background-image: url('/local/img/rustore-logo.png');
    }

    .playmarket-button {
        background-image: url('/local/img/play-logo.png');
    }

    .apk-button {
        background-image: url('/local/img/apk-download.png');
    }

    .appstore-button {
        background-image: url('/local/img/appstore-logo.png');
    }

    .second-search-list-el:first-child {
        border-top: none;
    }

    .erid-label {
        padding: 6px;
    }

    .erid-label img {
        height: 10px;
    }

    .erid-action-nav {
        font-size: 10px;
        top: 6px;
        right: 6px;
    }

    .erid-info {
        padding: 4px 10px;
        margin-top: 6px;
    }

    .erid-info div {
        height: 14px;
    }

    .el-price[new] .el-price-new {
        opacity: 1;
    }

    .el-price[new] .el-price-old {
        opacity: 0;
    }

    .el-price[old] .el-price-new {
        opacity: 0;
    }

    .el-price[old] .el-price-old {
        opacity: 1;
    }

    .banner-container {
        display: block;
    }

    .empty-user-data img {
        height: 150px;
    }

    .empty-user-data-container div {
        font-size: 17px;
    }
}
@media (width: 360px) {
    .main-banner:after {
        font-size: 7px;
        height: 18px;
    }

    .main-catalog span {
        font-size: 13px;
    }
}

@media (max-width: 543px) {
    .banner-description {
        font-size: 10px;
        padding: 4px 0;
        line-height: 12px;
    }
}

@media (max-width: 466px) {
    .el-body[employee] .el-favorite {
        right: 5px !important;
        top: 130px !important;
    }
}
