.shop-category-wrap{display:flex;align-items:center;gap:4px;width:100%;min-width:0;margin:10px 0 14px}.shop-category-wrap .shop-category-row{display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;overflow-y:hidden;min-width:0;flex:1;margin:0;padding:4px 2px 7px;scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior-x:contain}.shop-category-row::-webkit-scrollbar{display:none}.shop-category-wrap .shop-category-row>button.chip{display:flex;flex:0 0 78px;min-width:78px;min-height:78px;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:7px 4px;border-radius:16px;scroll-snap-align:start;background:#fff9eb;border:1.5px solid #dbc39f;color:#746044;box-shadow:inset 0 1px white,0 2px #dac29d55;text-shadow:none}.shop-category-wrap .shop-category-row>button.active{background:#e3edda;border-color:#87a57c;color:#345b43;box-shadow:inset 0 0 0 1px #a8bf99}.shop-category-picture{display:flex;justify-content:center;align-items:center;width:42px;height:40px;pointer-events:none;font-size:31px}.shop-category-picture .item-art,.shop-category-picture img,.shop-category-picture svg{position:relative!important;width:40px!important;height:40px!important;max-width:40px;max-height:40px;object-fit:contain;display:block}.shop-category-label{font-size:11px;font-weight:600;line-height:1.2;white-space:nowrap}.shop-category-arrow{flex:0 0 24px;width:24px;min-height:44px;padding:0;border:0;background:transparent;color:#856e4f;font-size:30px;box-shadow:none;cursor:pointer}.shop-category-arrow:disabled{opacity:.22;cursor:default}.shop-category-row>button:focus-visible,.shop-category-arrow:focus-visible{outline:3px solid #347b68;outline-offset:1px}

/* Only the product grid scrolls; sections/categories remain below the header. */
body.shop-screen{height:100dvh;overflow:hidden}.shop-screen .app{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding-bottom:calc(100px + env(safe-area-inset-bottom))}.shop-screen header{flex-shrink:0;position:relative;z-index:10}.shop-screen #main{display:flex;flex:1;min-height:0;flex-direction:column;overflow:hidden}.shop-screen #main>.shop-tabs,.shop-screen #main>.shop-category-wrap,.shop-screen #main>.shop-try-hint{flex-shrink:0}.shop-screen #main>h2,.shop-screen #main>p:not(.shop-try-hint){display:none}.shop-screen #main>.shop-grid{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;align-content:start;padding:3px 3px 16px;margin:0;scrollbar-color:#c4cda8 transparent}.shop-screen .shop-tabs{margin-top:4px;margin-bottom:4px}.shop-screen .shop-category-wrap{margin-top:4px;margin-bottom:8px}.shop-screen .shop-try-hint{margin:0 0 7px;font-size:12px}
@media(orientation:landscape) and (max-height:500px){.shop-screen .app{padding-bottom:calc(70px + env(safe-area-inset-bottom))}.shop-screen .shop-tabs button{padding:5px}.shop-screen .shop-category-wrap .shop-category-row>button.chip{min-height:55px;gap:2px;padding:3px}.shop-screen .shop-category-picture{height:27px}.shop-screen .shop-category-picture .item-art,.shop-screen .shop-category-picture img,.shop-screen .shop-category-picture svg{width:27px!important;height:27px!important}.shop-screen .shop-category-wrap{margin:0 0 3px}}

.shop-category-wrap .shop-category-row{height:89px;max-height:89px;flex-direction:row;align-items:stretch}.shop-category-wrap .shop-category-row>button.chip{height:78px;max-height:78px}@media(orientation:landscape) and (max-height:500px){.shop-category-wrap .shop-category-row{height:66px;max-height:66px}.shop-category-wrap .shop-category-row>button.chip{height:55px;max-height:55px}}
