/* HATERS: mobile catalog repair. Keep desktop and commerce behavior intact. */
@media (max-width: 767px) {
  .js-products-home-grid.row,
  .js-product-table.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
  }
  .js-products-home-grid > .item-product,
  .js-product-table > .item-product {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0;
    padding: 0 6px;
    margin-bottom: 24px;
    box-sizing: border-box;
  }
  .js-products-home-grid,
  .js-category-body .container-fluid { padding-left: 6px; padding-right: 6px; }
  .js-category-body .container-fluid > .row { margin-left: 0; margin-right: 0; }
  .js-category-body .container-fluid > .row > .col { padding-left: 0; padding-right: 0; min-width: 0; }
  .banners-row.row { margin-left: 0; margin-right: 0; max-width: 100%; }
  .banners-row > .banner-container { min-width: 0; max-width: 100%; }
  .item-product .item-image { overflow: hidden; }
  .item-product .item-name {
    display: block !important;
    margin: 0 0 7px !important;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;
    overflow-wrap: anywhere;
  }
  .item-product .item-description { padding: 10px 2px 0; min-width: 0; }
  .item-product .item-price-container .item-price {
    display: block;
    font-size: 17px;
    line-height: 1.3;
    white-space: nowrap;
  }
  .item-product .payment-discount-price-product-container {
    display: block;
    padding: 5px 7px;
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }
  .item-product .payment-discount-price-product { font-size: 14px; white-space: nowrap; }
  .gx-size-quickshop { height: auto; margin-top: 6px; }
  .gx-size-quickshop__sizes {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(26px, 1fr));
    gap: 3px;
  }
  .gx-size-quickshop__btn {
    width: 100%; min-width: 0; min-height: 40px; height: 40px;
    padding: 0; font-size: 11px; line-height: 1;
    background: #f5f5f5; border: 1px solid #dedede;
    box-shadow: none; backdrop-filter: none;
  }
  .gx-has-size-quickshop .item-floating-elements { bottom: 6px; left: 6px; right: 6px; }
  .item-product .labels .label {
    max-width: 100%; padding: 5px 6px; box-sizing: border-box;
    font-size: 9px; line-height: 1.3; letter-spacing: .02em;
    white-space: normal; overflow-wrap: anywhere;
  }
  .item-product .labels .label span { font-size: inherit; line-height: inherit; }
  .item-product .gx-item-excerpt { font-size: 11px; line-height: 1.45; margin: 0 0 7px; }
  .gx-marquee__message { padding: 10px 16px; font-size: 11px; }
  .gx-marquee__toggle { flex-basis: 36px; }
  #single-product .gx-pdp__info { min-width: 0; }
  #single-product .product-description img { max-width: 100%; height: auto; }
  #single-product .product-description [style*="width"] { max-width: 100%; box-sizing: border-box; }
  .gx-benefits { grid-template-columns: minmax(0, 1fr); }
}
