/* The same corner preference applies to navigation and header controls. */
html[data-rounded="0"]{--store-nav-radius:0px}
html[data-rounded="1"]{--store-nav-radius:8px}
html[data-rounded] body.store :is(.pagination a,.pagination button,.pagination input,.store-nav a,.store-nav summary,.category-tree,.category-tree a,.category-tree summary,.toolbar-menu>summary,.toolbar-options,.toolbar-options a,.toolbar-options>span,.reader-panel,.reader-panel button,.store-header .cart52-button,.category-at-search>summary){border-radius:var(--store-nav-radius)!important}
html[data-rounded="0"] body.store :is(.search input,.search button){border-radius:0!important}
html[data-rounded="1"] body.store .search input{border-radius:8px 0 0 8px!important}
html[data-rounded="1"] body.store .search button{border-radius:0 8px 8px 0!important}
.store .store-category-menu .category-tree{width:max-content;max-width:min(560px,calc(100vw - 32px));min-width:160px}
.store .store-category-menu .category-tree>ul{display:block}
.store .category-tree :is(a,summary){white-space:normal;overflow-wrap:anywhere}
@media(min-width:761px){
 .store .category-desktop-links{display:inline-grid!important;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:minmax(0,1fr);width:max-content;max-width:100%;flex:0 1 auto;gap:8px;min-width:0}
 .store .category-desktop-links>a,.store .category-desktop-links>.category-browse-all{width:100%;max-width:none;min-width:0;flex:none;padding:9px 15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .store .store-nav{justify-content:flex-start}
}
@media(max-width:760px){.store .category-desktop-links{display:none!important}.store .store-category-menu .category-tree{max-width:calc(100vw - 24px)}}
