
/* CSS применяется ТОЛЬКО когда корзина открыта */
.t-store__cartwin.t-store__cartwin-opened,
.t-store__cartwin-opened .t-store__cartwin-wrapper {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
}

.t-store__cartwin.t-store__cartwin-opened {
    overflow-y: auto !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.t-store__cartwin.t-store__cartwin-opened .t-store__cartwin-content {
    max-height: calc(100vh - 70px) !important;
    max-height: calc(100dvh - 70px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* Общие стили (всегда активны) */
html, body {
    overscroll-behavior-y: none;
}

.t-store__cartwin input,
.t-store__cartwin textarea,
.t-store__cartwin button {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}
