/* P10-SITE-1020 immutable-cache-safe mobile product filter and card refinement */
@media (max-width: 720px) {
  .catalog-surface #product-list .catalog-tools {
    gap: 11px;
    margin: 18px 0;
    padding: 14px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(23, 52, 79, 0.07);
  }

  .catalog-surface #product-list .catalog-search {
    gap: 7px;
  }

  .catalog-surface #product-list .catalog-search input {
    min-height: 46px;
  }

  .catalog-surface #product-list .catalog-filter-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    margin-inline: -2px;
    padding: 1px 2px 8px;
    scroll-padding-inline: 2px;
    scroll-snap-type: x proximity;
    scrollbar-color: rgba(46, 126, 174, 0.52) rgba(139, 170, 194, 0.16);
    scrollbar-width: thin;
  }

  .catalog-surface #product-list .catalog-filter-chips::-webkit-scrollbar {
    height: 4px;
  }

  .catalog-surface #product-list .catalog-filter-chips::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(139, 170, 194, 0.16);
  }

  .catalog-surface #product-list .catalog-filter-chips::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(46, 126, 174, 0.52);
  }

  .catalog-surface #product-list .catalog-filter-chips button {
    flex: none;
    min-height: 44px;
    padding-inline: 14px;
    scroll-snap-align: start;
  }

  .catalog-surface #product-list .catalog-result-count {
    font-size: 13px;
    line-height: 1.45;
  }

  .catalog-surface #product-list .catalog-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .catalog-surface #product-list .catalog-card {
    border-radius: 18px;
  }

  .catalog-surface #product-list .catalog-card:focus-within {
    border-color: rgba(22, 125, 181, 0.5);
    background: #fff;
    box-shadow: 0 18px 42px rgba(23, 74, 108, 0.13);
  }

  .catalog-surface #product-list .catalog-card a {
    grid-template-columns: 110px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 14px;
    row-gap: 7px;
    min-height: 154px;
    padding: 13px;
  }

  .catalog-surface #product-list .catalog-card img {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 110px;
    height: 110px;
    padding: 8px;
    border-radius: 14px;
    align-self: start;
  }

  .catalog-surface #product-list .catalog-card span {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    color: #152b3e;
    font-size: 16px;
    line-height: 1.22;
    overflow-wrap: anywhere;
  }

  .catalog-surface #product-list .catalog-card small {
    grid-column: 2;
    grid-row: 2;
    max-width: none;
    font-size: 11.5px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .catalog-surface #product-list .catalog-card a::after {
    grid-column: 2;
    grid-row: 3;
    align-self: end;
    max-width: none;
    margin: 1px 0 0;
    font-size: 13px;
  }

  .catalog-surface #product-list .catalog-card a:active {
    background: #f3f8fb;
  }
}

@media (max-width: 360px) {
  .catalog-surface #product-list .catalog-card a {
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 12px;
    min-height: 142px;
    padding: 12px;
  }

  .catalog-surface #product-list .catalog-card img {
    width: 92px;
    height: 92px;
    padding: 7px;
    border-radius: 12px;
  }

  .catalog-surface #product-list .catalog-card span {
    font-size: 15px;
    line-height: 1.2;
  }

  .catalog-surface #product-list .catalog-card small {
    font-size: 11px;
  }
}
