/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-nz0vzy3jzr] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-nz0vzy3jzr] {
    flex: 1;
}

.sidebar[b-nz0vzy3jzr] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-nz0vzy3jzr] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-nz0vzy3jzr]  a, .top-row .btn-link[b-nz0vzy3jzr] {
        white-space: nowrap;
        margin-left: 1.5rem;
    }

    .top-row a:first-child[b-nz0vzy3jzr] {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row:not(.auth)[b-nz0vzy3jzr] {
        display: none;
    }

    .top-row.auth[b-nz0vzy3jzr] {
        justify-content: space-between;
    }

    .top-row a[b-nz0vzy3jzr], .top-row .btn-link[b-nz0vzy3jzr] {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-nz0vzy3jzr] {
        flex-direction: row;
    }

    .sidebar[b-nz0vzy3jzr] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-nz0vzy3jzr] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-nz0vzy3jzr], article[b-nz0vzy3jzr] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Components/Layout/MobileBottomNav.razor.rz.scp.css */
.mob-tabbar[b-1ezmgn6x6n] {
    display: none;
}

@media (max-width: 991px) {
    /*
      Пять пунктов в одном ряду: justify-content: space-between —
      первый у левого края, последний у правого (с padding), промежутки между соседями равные.
    */
    .mob-tabbar[b-1ezmgn6x6n] {
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: space-between;
        column-gap: 0;
        row-gap: 0;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10050;
        min-height: calc(56px + env(safe-area-inset-bottom, 0px));
        padding: 8px max(10px, env(safe-area-inset-left, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-right, 0px));
        margin: 0;
        list-style: none;
        background: #000;
        box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.12);
    }

    .mob-tabbar__slot[b-1ezmgn6x6n] {
        flex: 0 1 auto;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        min-width: 0;
        padding: 0;
        border: 0;
        background: transparent;
        text-align: center;
        text-decoration: none !important;
        color: inherit;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .mob-tabbar__cell[b-1ezmgn6x6n] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 6px;
        width: 100%;
        max-width: 100%;
        min-height: 100%;
    }

    .mob-tabbar__cell .btn-cart[b-1ezmgn6x6n] {
        flex-shrink: 0;
    }

    .mob-tabbar__caption[b-1ezmgn6x6n] {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 11px;
        line-height: 1.25;
        font-weight: 500;
        text-decoration: none !important;
        text-align: center;
        color: rgba(255, 255, 255, 0.9);
    }

    .mob-tabbar__slot:hover .mob-tabbar__caption[b-1ezmgn6x6n],
    .mob-tabbar__slot:focus-visible .mob-tabbar__caption[b-1ezmgn6x6n] {
        color: #fff;
    }

    .mob-tabbar__slot.is-active .mob-tabbar__caption[b-1ezmgn6x6n] {
        color: #2dae2c;
    }

    .mob-tabbar .btn-cart:not(.is-active)[b-1ezmgn6x6n] {
        border-color: rgba(255, 255, 255, 0.35);
        background: rgba(255, 255, 255, 0.06);
    }

    .mob-tabbar .btn-cart:not(.is-active) .btn-cart__icon[b-1ezmgn6x6n] {
        color: #fff;
    }

    .mob-podbor-modal[b-1ezmgn6x6n] {
        z-index: 10060;
    }

    .mob-podbor-modal .modal__overlay[b-1ezmgn6x6n] {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        background: rgba(0, 0, 0, 0.55);
    }

    /* Убираем «белую рамку» от стандартного .modal__container (фон, тень, отступы) */
    .mob-podbor-modal .modal__container.mob-podbor-modal__container[b-1ezmgn6x6n] {
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        margin: 0;
        width: min(100%, 560px);
        max-width: 100%;
    }

    .mob-podbor-modal__close.modal__close[b-1ezmgn6x6n],
    .mob-podbor-modal .mob-podbor-modal__close[b-1ezmgn6x6n] {
        color: #e53935;
    }

    .mob-podbor-modal__close.modal__close:hover[b-1ezmgn6x6n],
    .mob-podbor-modal__close.modal__close:focus-visible[b-1ezmgn6x6n],
    .mob-podbor-modal .mob-podbor-modal__close:hover[b-1ezmgn6x6n],
    .mob-podbor-modal .mob-podbor-modal__close:focus-visible[b-1ezmgn6x6n] {
        color: #c62828;
    }

    .mob-podbor-modal__close .bx[b-1ezmgn6x6n] {
        color: currentColor;
    }

    .mob-podbor-modal__container[b-1ezmgn6x6n] {
        position: relative;
        width: min(100%, 560px);
        max-height: min(92vh, 900px);
        margin: 0 auto;
        overflow: visible;
        display: flex;
        flex-direction: column;
    }

    .mob-podbor-modal__scroll[b-1ezmgn6x6n] {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        border-radius: 0;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-aqn7lt2cpm] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-aqn7lt2cpm] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-aqn7lt2cpm] {
    font-size: 1.1rem;
}

.oi[b-aqn7lt2cpm] {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

.nav-item[b-aqn7lt2cpm] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-aqn7lt2cpm] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-aqn7lt2cpm] {
        padding-bottom: 1rem;
    }

    .nav-item[b-aqn7lt2cpm]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-aqn7lt2cpm]  a.active {
    background-color: rgba(255,255,255,0.25);
    color: white;
}

.nav-item[b-aqn7lt2cpm]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-aqn7lt2cpm] {
        display: none;
    }

    .collapse[b-aqn7lt2cpm] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
    
    .nav-scrollable[b-aqn7lt2cpm] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
