body.storefront-app .store-listing-page .store-catalog-head {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin: 0 0 16px !important;
    padding: 14px 16px 16px;
    border: 0;
    border-bottom: 1px solid var(--storefront-line-strong, #d8e3ef);
    border-radius: 0;
    box-shadow: none;
}

body.storefront-app .store-listing-page .store-catalog-head h2 {
    margin: 0;
    color: var(--storefront-ink, #102a43);
    font-size: clamp(22px, 6vw, 28px) !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
}

body.storefront-app .store-listing-page .store-catalog-head p {
    margin: 4px 0 0;
    color: var(--storefront-muted, #526b86);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

body.storefront-app .store-listing-page .store-catalog-toolbar {
    display: grid;
    width: 100% !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 10px;
}

body.storefront-app .store-listing-page .store-catalog-sort {
    display: grid;
    min-width: 0;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
}

body.storefront-app .store-listing-page .store-catalog-sort span {
    display: block;
}

body.storefront-app .store-listing-page .store-catalog-sort select {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding-inline: 10px;
    border-radius: 9px;
    color: var(--storefront-ink, #102a43);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

body.storefront-app .store-listing-page .store-view-icons {
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--storefront-line-strong, #d8e3ef);
    border-radius: 9px;
    background: var(--storefront-soft, #f4f7fb);
}

body.storefront-app .store-listing-page .store-view-icons a {
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    border: 0 !important;
    border-radius: 6px;
    background: transparent;
    font-size: 15px;
}

body.storefront-app .store-listing-page .store-view-icons a.active {
    background: var(--storefront-primary, #102a43);
    color: #fff;
}

body.storefront-app .store-listing-page .store-view-icons a:active {
    opacity: .75;
}

body.storefront-app .store-listing-page .store-catalog-toolbar :is(select, .store-view-icons a):focus-visible {
    outline: 2px solid #1f62cf;
    outline-offset: -2px;
}

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 .store-category-panels {
    padding: 16px 12px 24px !important;
}

body.storefront-app #categoryDrawer .store-category-panel {
    margin: 0 !important;
    padding: 0 0 16px !important;
    border: 0 !important;
}

body.storefront-app #categoryDrawer .store-category-panel:not([hidden]) ~ .store-category-panel:not([hidden]) {
    padding-top: 14px !important;
    border-top: 1px solid #e6eaf0 !important;
}

body.storefront-app #categoryDrawer :is(.store-category-panel, .store-category-tile)[hidden] {
    display: none !important;
}

body.storefront-app #categoryDrawer .store-category-panel-title {
    margin: 0 0 10px !important;
    color: #18334c !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    overflow-wrap: anywhere;
}

body.storefront-app #categoryDrawer .store-category-panel-title a {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    color: inherit;
}

body.storefront-app #categoryDrawer .store-category-tile {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 6px;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

body.storefront-app #categoryDrawer .store-category-tile-image {
    margin: 0 !important;
}

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;
}

body.storefront-app .mobile-bottom-nav > .mobile-nav-item {
    border-radius: 10px;
    -webkit-tap-highlight-color: transparent;
}

body.storefront-app .mobile-bottom-nav > .mobile-nav-item:is(.active, [aria-expanded="true"]) {
    background: #edf5ff;
    color: #184fae;
}

body.storefront-app .mobile-bottom-nav > .mobile-nav-item:focus-visible {
    outline: 2px solid #1f62cf;
    outline-offset: -2px;
}

body.storefront-app .mobile-bottom-nav > .mobile-nav-item:active > i {
    transform: scale(.9);
}

@media (prefers-reduced-motion: reduce) {
    body.storefront-app .mobile-bottom-nav > .mobile-nav-item > i {
        transition: none;
    }

    body.storefront-app .mobile-bottom-nav > .mobile-nav-item:active > i {
        transform: none;
    }
}
