/* Catalog actions stay still while results change; only direct controls respond to press. */
.catalog-results{min-width:0}
.catalog-results .products-grid{align-items:stretch;overflow-anchor:none}
.catalog-skeleton{min-height:470px;border:1px solid #e4ebe5;border-radius:var(--va-card-radius);background:linear-gradient(#f0f5f0 0 45%,#fff 45% 100%)}
.catalog-error{min-height:240px;padding:48px 24px;border:1px solid #d8e5da;border-radius:var(--va-card-radius);background:#fff;text-align:center}
.catalog-error[hidden],.filter-backdrop[hidden]{display:none!important}
.catalog-error h3{margin:0 0 10px;color:var(--va-brand-deep);font-size:22px}
.catalog-error p{margin:0 auto 20px;max-width:45ch;color:#617365;font-size:13px;line-height:1.6}
.catalog-error .button{min-height:44px}
.product-card{position:relative}
.product-card-details{position:absolute;inset:0;z-index:1;width:100%;border:0;background:transparent;cursor:pointer}
.product-card-details:focus-visible{outline:3px solid #31925b;outline-offset:-4px;border-radius:12px}
.product-action{position:relative;z-index:2;cursor:pointer}
.product-action:focus-visible,.side-filter:focus-visible,.mobile-filter-trigger:focus-visible,.sidebar-heading button:focus-visible,.mobile-filter-footer button:focus-visible{outline:3px solid #31925b;outline-offset:2px}
.product-action,.mobile-filter-trigger,.sidebar-heading button,.mobile-filter-footer button{transition-property:transform,background-color,border-color,color;transition-duration:120ms;transition-timing-function:var(--ease-va)}
.product-action:active,.mobile-filter-trigger:active,.sidebar-heading button:active,.mobile-filter-footer button:active{transform:scale(.97)}
.product-card:hover,.product-card:hover .product-img img{transform:none}
@media (hover:hover) and (pointer:fine){
  .product-card:hover{transform:translateY(-3px)}
  .product-card:hover .product-img img{transform:scale(1.025)}
}
.sidebar-heading-actions{display:flex;align-items:center;gap:12px}
#mobile-filter-close,.mobile-filter-footer{display:none}
.filter-backdrop{position:fixed;inset:0;z-index:99;background:#11281975}
@media (max-width:700px){
  html{scroll-padding-top:120px}
  .header-search{height:46px}
  .header-search button{min-width:54px}
  .shop-header-actions .cart-nav,.mobile-menu-toggle{min-width:44px;min-height:44px;height:44px}
  .results-toolbar{align-items:flex-start;flex-wrap:wrap;gap:8px}
  .results-toolbar>div:first-child{min-width:0;flex:1}
  .toolbar-actions{justify-content:flex-end;min-width:0}
  .mobile-filter-trigger,.toolbar-actions select,.toolbar-actions .reset{min-height:44px}
  .toolbar-actions select{max-width:min(42vw,170px)}
  .catalog-sidebar.filters-open{position:fixed;inset:0 auto 0 0;z-index:100;display:flex;flex-direction:column;width:min(100%,380px);height:100vh;height:100dvh;max-height:none;margin:0;border-radius:0;box-shadow:12px 0 36px #11281924;overflow-y:auto;overscroll-behavior:contain}
  .catalog-sidebar .sidebar-heading{position:sticky;top:0;z-index:1;background:#fff;padding:14px 16px}
  #mobile-filter-close{display:grid;place-items:center;width:44px;height:44px;border:1px solid #d8e5da;border-radius:9px;background:#f3f8f4;color:#205a3d;font-size:18px}
  .catalog-sidebar .sidebar-group{padding:16px}
  .side-filter{min-height:44px}
  .promo-toggle{min-height:44px}
  .promo-toggle input{width:20px;height:20px}
  .mobile-filter-footer{position:sticky;bottom:0;display:block;margin-top:auto;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e1e9e2;background:#fff}
  .mobile-filter-footer button{width:100%;min-height:48px;border:0;border-radius:9px;background:#237d50;color:#fff;font:inherit;font-size:13px;font-weight:800}
  .catalog-skeleton{min-height:410px}
  .product-action{gap:4px;padding-inline:8px;min-height:44px}
}
@media (max-width:360px){
  .results-toolbar{padding:10px}
  .toolbar-actions{width:100%;justify-content:space-between}
  .toolbar-actions select{max-width:125px}
  .catalog-results .products-grid{grid-template-columns:1fr}
  .catalog-results .product-card{display:grid;grid-template-columns:104px minmax(0,1fr);min-height:228px}
  .catalog-results .product-img{height:100%;min-height:228px;padding:28px 8px 12px;border-bottom:0;border-right:1px solid #f1f3ef}
  .catalog-results .product-kind{left:5px;top:7px;font-size:7px;letter-spacing:.3px;padding:4px}
  .catalog-results .product-img .promotion-flag{right:5px;top:30px;font-size:9px;padding:4px}
  .catalog-results .product-details{min-height:228px;padding:11px}
  .catalog-results .product-details h3{min-height:0;font-size:13px}
  .catalog-results .product-action{font-size:10px}
  .catalog-skeleton{min-height:228px}
}
@media (prefers-reduced-motion:reduce){
  .product-card,.product-img img,.product-action,.mobile-filter-trigger,.sidebar-heading button,.mobile-filter-footer button{transition:none}
  .product-card:hover,.product-card:hover .product-img img,.product-action:active,.mobile-filter-trigger:active,.sidebar-heading button:active,.mobile-filter-footer button:active{transform:none}
}
