.search-skeleton{width:100%}.search-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.filters-header .filters-close{display:none}
@media(max-width:900px){
    .search-page .breadcrumb{padding-top:17px;padding-bottom:13px;font-size:14px}
    .search-page .page-heading{align-items:flex-start;margin-bottom:18px}
    .search-page .page-heading h1{font-size:25px}
    .search-page .page-heading p{font-size:14px;line-height:1.8}
    .search-page .result-count{font-size:14px}
    .search-page .result-count strong{font-size:16px}
    .results-layout{display:block}
    .results-layout>section{min-width:0}
    .results-layout>.filters-backdrop.is-open{display:block;position:fixed;inset:0;background:rgba(16,42,67,.62);z-index:110}
    .results-layout>.filters{display:none;position:fixed;inset:auto 0 0;z-index:111;width:100%;max-height:88vh;max-height:88dvh;overflow-y:auto;overscroll-behavior:contain;border-radius:22px 22px 0 0;padding:18px 20px calc(20px + env(safe-area-inset-bottom,0px));box-shadow:0 -12px 40px rgba(16,42,67,.2)}
    .results-layout>.filters.is-open{display:block}
    .filters-header{position:sticky;top:-18px;z-index:2;background:#fff;margin:0 -20px 0;padding:0 20px 16px;border-bottom:1px solid var(--line)}
    .filters-header h3{font-size:17px}
    .filters-header .filters-close{display:grid;place-items:center;width:40px;height:40px;margin-top:-3px;border:0;background:transparent;color:var(--ink);cursor:pointer}
    .filters-header .filters-close .ui-icon{width:20px;height:20px}
    .filters .filter-group{padding:18px 0}
    .filters .category-options{max-height:250px}
    .filters-footer{position:sticky;bottom:-20px;z-index:2;background:#fff;padding:14px 0 calc(20px + env(safe-area-inset-bottom,0px));margin-bottom:-20px}
    .filters-footer .button-primary{display:flex}
    .filters-footer .clear-filters-button{margin-top:12px}
    .sort-row{display:block;margin-bottom:16px}
    .sort-label{display:block;font-size:14px;margin-bottom:9px}
    .sort-options{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:none}
    .sort-options::-webkit-scrollbar{display:none}
    .sort-options .sort-button{flex:none;min-height:42px}
    .filter-toggle{display:inline-flex;position:sticky;inset-inline-end:0;z-index:1}
    .applied-filters{display:block;margin-bottom:16px;padding:12px}
    .applied-filters-heading{margin-bottom:8px}
    .product-grid.list-view .product-card{grid-template-columns:145px 1fr}
    .product-grid.list-view .product-info{padding:16px}
}
@media(max-width:520px){
    .search-page .container{width:calc(100% - 24px)}
    .search-page .page-heading{display:block}
    .search-page .page-heading h1{font-size:23px}
    .search-page .page-heading p{font-size:14px;margin-top:5px}
    .search-page .result-count{margin-top:10px;font-size:14px}
    .sort-button{padding-inline:11px;font-size:14px}
    .filter-toggle span{display:none}
    .filter-toggle{width:44px;padding:0}
    .search-page .product-card .product-name{font-size:14px;line-height:1.75}
    .search-page .product-card .rating{font-size:14px}
    .search-page .product-card .price strong{font-size:15px}
    .product-grid.list-view .product-card{grid-template-columns:108px 1fr}
    .product-grid.list-view .product-info{padding:12px}
    .product-grid.list-view .product-name{font-size:14px}
    .empty-results{padding:52px 22px}
    .empty-results h2{font-size:21px}
}

/* Product filters keep the same bottom-sheet affordance as other mobile dialogs. */
@media(max-width:900px){.results-layout>.filters{padding-top:26px}.results-layout>.filters::before{content:'';display:block;width:42px;height:4px;margin:-17px auto 12px;border-radius:999px;background:#cbd5e1}}
