/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Generic Inline Editor Styles - Gray out product names when value is 0 */
.price-list-row.no-price .product-name,
.order-item-row.no-quantity .product-name {
  color: #9ca3af !important; /* text-gray-400 */
}

/* Hide remove button when there's no value */
.price-list-row.no-price .remove-price-btn,
.order-item-row.no-quantity .remove-quantity-btn {
  display: none;
}

/* Product Search Autocomplete Styles */
[data-product-search-target="results"]:not(:empty) {
  display: block !important;
}

[data-product-search-target="results"] li[role="option"]:not([aria-disabled="true"]):hover,
[data-product-search-target="results"] li[role="option"].active {
  background-color: #f3f4f6;
}
