/* Keep catalogue prices legible when Odoo's sidebar narrows tablet cards. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gs-wholesale #products_grid .o_wsale_products_grid_table > .oe_product {
    grid-column: auto / span 4 !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .gs-wholesale #products_grid .o_wsale_products_grid_table > .oe_product {
    grid-column: auto / span 6 !important;
  }
}

.gs-wholesale #products_grid .gs-range-value {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}

.gs-wholesale #products_grid .gs-reference-range strong,
.gs-wholesale #products_grid .product_price,
.gs-wholesale #products_grid .product_price .h6 {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.gs-wholesale .gs-utility .gs-manager-link {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid rgba(232, 214, 175, .55);
  border-radius: 6px;
  color: #e8d6af;
  font-size: 13px;
  white-space: nowrap;
}

.gs-wholesale .gs-utility .gs-manager-link:hover {
  border-color: #e8d6af;
  color: #fff;
}

@media (max-width: 575px) {
  .gs-wholesale .gs-utility .gs-manager-link {
    padding: 6px 8px;
    font-size: 12px;
  }
}
