/* Scoped scroll controls for the category page; no changes to the home grid or dock. */
.category-page .dlm-rail-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:6px;min-width:0;direction:rtl}
.category-page .dlm-rail-layout.has-overflow{grid-template-columns:34px minmax(0,1fr) 34px}
.category-page .dlm-rail-track{min-width:0!important;width:100%!important;max-width:100%!important;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:none!important;scroll-behavior:auto!important;touch-action:pan-x pan-y;overscroll-behavior-x:contain;scrollbar-width:thin!important;scrollbar-color:#a86b40 transparent;padding-block:6px 10px!important;box-sizing:border-box!important}
.category-page .dlm-rail-track::-webkit-scrollbar{display:block!important;height:4px}
.category-page .dlm-rail-track::-webkit-scrollbar-thumb{background:#a86b40;border-radius:8px}
.category-page .dlm-rail-track .quick-category-item{flex:0 0 auto!important;white-space:nowrap;user-select:none;-webkit-user-select:none}
.category-page .dlm-rail-track img{-webkit-user-drag:none;user-select:none}
.category-page .dlm-rail-track.is-dragging,.category-page .dlm-rail-track.is-dragging *{cursor:grabbing!important;user-select:none!important}
.category-page .dlm-rail-arrow{width:34px;height:38px;display:grid;place-items:center;padding:0;border:1px solid rgba(224,164,86,.28);border-radius:14px;background:rgba(255,255,255,.06);color:#f6c478;cursor:pointer;transition:background .18s,opacity .18s;box-sizing:border-box}
.category-page .dlm-rail-arrow[hidden]{display:none!important}
.category-page .dlm-rail-arrow:disabled{opacity:.28;cursor:default}
.category-page .dlm-rail-arrow:not(:disabled):hover{background:rgba(224,164,86,.17)}
.category-page .dlm-rail-arrow svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="light"] .category-page .dlm-rail-arrow{background:#fff5e8;color:#80451f;border-color:#dfc3a7}
.category-page .dlm-rail-arrow:focus-visible,.category-page .dlm-rail-track:focus-visible{outline:2px solid #d88439;outline-offset:-2px}
@media(max-width:480px){.category-page .dlm-rail-layout.has-overflow{grid-template-columns:28px minmax(0,1fr) 28px;gap:4px}.category-page .dlm-rail-arrow{width:28px;height:36px;border-radius:12px}}
