/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

/* Category card hover effects for admin editing */
.category-card--hover {
  position: relative;
}

.category-card__content {
  position: relative;
}

.category-card__edit {
  display: none !important;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #fff !important;
  background-color: #007bff;
  border-radius: 4px;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.category-card__edit:hover {
  background-color: #0056b3 !important;
  color: #fff !important;
  text-decoration: none;
}

.category-card--hover:hover .category-card__content .category-card__edit {
  display: block !important;
}

/* Product card specs alignment fix */
.product-card__specs-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.product-card__specs-item dt {
  flex-shrink: 0;
  margin: 0;
}

.product-card__specs-item dd {
  margin: 0;
  flex: 1;
}
