body.storefront-app #categoryDrawer {
    left: -100% !important;
    width: min(360px, 92vw) !important;
    max-width: none !important;
    height: 100dvh !important;
    padding-bottom: env(safe-area-inset-bottom) !important;
    border: 0;
}

body.storefront-app #categoryDrawer.active {
    left: 0 !important;
}

body.storefront-app.category-drawer-open .mobile-bottom-nav,
body.storefront-app.store-filter-open .mobile-bottom-nav,
body.storefront-app #categoryDrawer > :is(.vt-drawer, .printing-drawer-link) {
    display: none !important;
}

body.storefront-app #categoryDrawer .store-category-explorer-head {
    flex-basis: calc(54px + env(safe-area-inset-top)) !important;
    height: calc(54px + env(safe-area-inset-top)) !important;
    padding-top: env(safe-area-inset-top) !important;
}

body.storefront-app #categoryDrawer :is(.store-category-back, .store-category-search-toggle) {
    width: 44px;
    min-height: 44px;
}

body.storefront-app #categoryDrawer .store-category-explorer {
    grid-template-columns: 88px minmax(0, 1fr) !important;
}

body.storefront-app #categoryDrawer .store-category-rail {
    padding: 0;
    background: #fff3ea !important;
    border-color: #f3d7ca !important;
    scrollbar-width: thin;
}

body.storefront-app #categoryDrawer .store-category-rail-shortcuts {
    display: contents !important;
}

body.storefront-app #categoryDrawer .store-category-rail :is(.store-category-rail-item, .printing-drawer-link) {
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 86px !important;
    margin: 0 !important;
    padding: 8px 5px !important;
    border: 0;
    border-radius: 0 !important;
    background: transparent;
    color: #102a43 !important;
    font: inherit;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}

body.storefront-app #categoryDrawer .store-category-rail-item.active {
    background: #fff !important;
    box-shadow: none !important;
}

body.storefront-app #categoryDrawer .store-category-rail-thumb {
    width: 42px !important;
    height: 42px !important;
}

body.storefront-app #categoryDrawer :is(.store-category-service-icon, .printing-drawer-link i) {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #f4e2d6;
    color: #8a3c20;
    font-size: 17px;
}

body.storefront-app #categoryDrawer .store-category-rail .printing-drawer-link > span {
    white-space: normal;
}

body.storefront-app #categoryDrawer .store-category-rail :is(button, a):focus-visible {
    outline: 2px solid #994220;
    outline-offset: -2px;
}

body.storefront-app #categoryDrawer .store-category-no-results {
    margin: 12px 4px;
    color: #43586b;
    font-size: 13px;
}

body.storefront-app #categoryDrawer [data-category-panel="tools"] {
    border-top: 0;
}

body.storefront-app .mobile-bottom-nav {
    display: grid !important;
    grid-template-columns: repeat(var(--mobile-nav-item-count), minmax(0, 1fr)) !important;
    min-height: 64px !important;
    padding: 3px 8px max(3px, env(safe-area-inset-bottom)) !important;
}

body.storefront-app .mobile-bottom-nav > .mobile-nav-item {
    min-height: 54px !important;
}

body.storefront-app .mobile-bottom-nav > .mobile-nav-item span:not(.mobile-nav-badge) {
    font-size: 11px;
}

body.storefront-app .mobile-bottom-nav > .mobile-nav-user > span {
    max-width: 100% !important;
}

.store-mobile-more[open] {
    position: fixed;
    inset: auto 0 0;
    display: grid;
    width: min(100%, 450px);
    max-width: 100%;
    max-height: calc(100dvh - 20px);
    margin: 0 auto;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    overflow: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 18px 18px 0 0;
    background: #fff;
    color: #102a43;
    box-shadow: 0 -12px 50px #102a4333;
}

.store-mobile-more::backdrop {
    background: #142b4490;
}

.store-mobile-more header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.store-mobile-more h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
}

.store-mobile-more header button {
    width: 44px;
    height: 44px;
    border: 1px solid #dce3eb;
    border-radius: 10px;
    background: #fff;
    color: inherit;
}

.store-mobile-more-list {
    display: grid;
    gap: 4px;
}

body.storefront-app .store-mobile-more-list :is(a, button) {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    gap: 12px;
    min-height: 48px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: #f3f7fb;
    color: #102a43;
    text-align: left;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.store-mobile-more-list :is(a, button) > i {
    width: 20px;
    color: #295c88;
    text-align: center;
}

body.storefront-app .store-mobile-more-list :is(a, button) > span {
    max-width: none;
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
    text-align: left;
}
