/* Hide attribute selectors and quantity for teaser view */
.node--product--teaser .commerce-order-item-add-to-cart-form .field--name-purchased-entity,
.node--product--teaser .commerce-order-item-add-to-cart-form .form-item-quantity,
.node--product--teaser .commerce-order-item-add-to-cart-form .attribute-widgets {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Style buttons blue */
.node--product--teaser .commerce-order-item-add-to-cart-form input[type="submit"] {
  background-color: #2563eb !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: bold !important;
  text-transform: uppercase !important;
  padding: 12px 24px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.node--product--teaser .commerce-order-item-add-to-cart-form input[type="submit"]:hover {
  background-color: #1d4ed8 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

/* Layout buttons properly */
.node--product--teaser .commerce-order-item-add-to-cart-form .form-actions {
  display: flex !important;
  gap: 0.5rem !important;
  flex-direction: row !important;
}
.node--product--teaser .commerce-order-item-add-to-cart-form #edit-submit {
  flex: 1 !important;
}
.node--product--teaser .commerce-order-item-add-to-cart-form #edit-wishlist {
  width: 3rem !important;
  flex: none !important;
}
