@media (max-width: 650px) {
  .cat-head > div:has(> #title),
  .catalog-sort-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .cat-head,
  .cat-head .catalog-controls { width: 100%; }
  .cat-head { margin: 0 0 12px; }
  .cat-head .catalog-controls { gap: 7px; flex-wrap: nowrap; }
  .cat-head .size-control,
  .cat-head #fCount { display: none; }
  .cat-head .side-open-btn,
  .cat-head .sort select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    height: auto;
    margin: 0;
    border: 1px solid #bbb;
    border-radius: 10px;
    background: #fff;
    color: #1a1a1a;
    font-weight: 650;
    font-size: clamp(12px, 3.05vw, 14px);
  }
  .cat-head .side-open-btn { flex: 1.15 1 0; gap: 3px; padding: 5px 5px; }
  .cat-head .sort { display: block; min-width: 0; flex: 1 1 0; }
  .cat-head .sort select { padding: 0 4px; }
  .catalog-previous:not([hidden]) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 0 0 8px;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
@media (max-width:650px) {
  .layout:has(.catalog-results) > #side :is(.scats,[data-rc],.side-catalog-prefix),
  .catalog-results #crumbs:has(> a:only-child), .catalog-results .filter-label { display: none; }
  .side__head b { text-transform: capitalize; }
  .catalog-results .cat-head .side-open-btn { flex: 0 0 44px; width: 44px; padding: 0; justify-content: center; }
  .catalog-results .filter-symbol { display: block; width: 22px; height: 22px; }
  #catalogDiscovery { min-width: 0; width: 100%; margin-block: 8px 16px; }
  #catalogDiscovery[hidden] { display: none; }
  .discovery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-flow: row dense; gap: 8px; }
  .discovery-grid a {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
    min-height: 76px; gap: 5px; padding: 12px; border-radius: 14px; background: #f6e8b8;
    color: #211d19; line-height: 1.06; font-size: clamp(17px,4.8vw,23px); overflow-wrap: anywhere;
  }
  .discovery-tiles a:nth-child(5n+1) { background: #e8d8f2; }
  .discovery-tiles a:nth-child(5n+2) { background: #ffb58a; }
  .discovery-tiles a:nth-child(5n+3) { background: #f4d1df; }
  .discovery-tiles a:nth-child(5n+4) { background: #d7e4f7; }
  .discovery-tiles a:nth-child(9n+3):not([data-category=drinks]) { grid-column: span 2; }
  .discovery-tiles a:nth-child(9n+4):not([data-category=drinks]) { grid-row: span 2; font-size: clamp(22px,6vw,32px); }
  .discovery-tiles a[data-category=drinks] { background: #cae8db; }
  .discovery-grid .home-tile__photo {
    position: absolute; width: 100%; height: 100%; object-fit: contain; pointer-events: none;
  }
  .discovery-grid strong, .discovery-grid a span { position: relative; }
  .discovery-grid a span { align-self: end; font-size: 16px; }
  #discovery-groups-title { margin: 20px 0 8px; font-size: 23px; }
  #catalogDiscovery .carousel-section { margin: 22px 0 0; }
  #catalogDiscovery .section-title { font-size: 29px; }
}
