/* Keep the shared theme above page-specific button variants. */
body .areti-button.areti-button {
  box-sizing: border-box;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 999px;
  box-shadow: none;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

body .areti-button.areti-button:hover {
  background: #f5f5f5;
  color: #000;
  transform: none;
}

body .areti-button.areti-button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

body .areti-button.areti-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Favorite and meal-plan buttons briefly disable during their requests. Keep
   their pointer cursor so the browser does not show the blocked symbol. */
body .recipe-card .favorite-btn:disabled,
body .recipe-card .add-ingredients-btn:disabled {
  opacity: 1;
  cursor: pointer;
}

body .add-popup .areti-button.close {
  border: none;
  border-radius: 0;
}

/* The search field already provides its enclosing outline. */
body .search-form .areti-button.areti-button {
  border: none;
}

body .recipe-card .favorite-btn,
body .recipe-card .favorite-btn:hover {
  width: 32px;
  height: 32px;
  padding: 2px;
  border: none;
  background: transparent;
  color: #fff;
  box-shadow: none;
  transform: none;
}

.favorite-btn svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px #0006);
}

.favorite-btn.is-favorite svg { fill: currentColor; }
