/*
 * Carmine: site-wide Dokan recolor (purple -> coral).
 * Loaded on every front-end page when Dokan is active (My account, dealer
 * storefronts, store lists, widgets). The dealer dashboard has its own, more
 * detailed block in parts-advisor.php; this file covers everything else.
 * Dokan reads these variables with a hard-coded purple (#7047EB) fallback, so
 * defining them on html:root (more specific than Dokan's :root) is enough for
 * most of the UI. Dokan's .dokan-btn-theme is hard-coded, so it is set directly.
 */
html:root {
  --dokan-button-background-color: #D74A3E;
  --dokan-button-border-color: #D74A3E;
  --dokan-button-hover-background-color: #B23A32;
  --dokan-button-hover-border-color: #B23A32;
  --dokan-button-hover-color: #D74A3E;
  --dokan-button-secondary-text-color: #D74A3E;
  --dokan-button-secondary-hover-text-color: #B23A32;
  --dokan-button-secondary-hover-border-color: #B23A32;
  --dokan-button-secondary-hover-background-color: rgba(215,74,62,0.08);
  --dokan-button-tertiary-hover-background-color: rgba(215,74,62,0.08);
  --dokan-link-color: #D74A3E;
  --dokan-link-hover-color: #B23A32;
  --color-dokan-btn: #D74A3E;
  --color-dokan-btn-hover: #B23A32;
  --color-dokan-btn-border: #D74A3E;
  --color-dokan-btn-border-hover: #B23A32;
  --color-dokan-link: #D74A3E;
  --color-dokan-link-hover: #B23A32;
  --color-dokan-primary: #D74A3E;
  --color-primary-dark: #B23A32;
  --color-primary-hover: #B23A32;
  --colors-primary-50: #fcefed;
  --colors-primary-100: #f9dcd8;
  --colors-primary-200: #f3bab3;
  --colors-primary-300: #ec968c;
  --colors-primary-400: #e26b5f;
  --colors-primary-500: #D74A3E;
  --colors-primary-600: #D74A3E;
  --colors-primary-700: #B23A32;
  --colors-primary-800: #8f2e28;
  --colors-primary-900: #72251f;
}

/* Dokan's hard-coded theme button (e.g. "Go to Vendor Dashboard"). */
input[type="submit"].dokan-btn-theme,
a.dokan-btn-theme,
.dokan-btn-theme {
  background-color: #D74A3E;
  border-color: #D74A3E;
  color: #fff;
}
input[type="submit"].dokan-btn-theme:hover,
a.dokan-btn-theme:hover,
.dokan-btn-theme:hover,
input[type="submit"].dokan-btn-theme:focus,
a.dokan-btn-theme:focus,
.dokan-btn-theme:focus,
.dokan-btn-theme.focus {
  background-color: #B23A32;
  border-color: #B23A32;
  color: #fff;
}
.dokan-btn-theme .badge {
  color: #D74A3E;
  background-color: #fff;
}
.dokan-announcement-uread {
  border-color: #D74A3E !important;
}
