/* Keep the established palette; use its darker tones for small text and actions. */
:root {
  --dw-a11y-green-text: #147a4f;
  --dw-a11y-muted-on-dark: #b2aca3;
  --dw-cc-accent: #147a4f;
  --dw-cc-ink-50: #6f685f;
  --dw-sidecart-accent: #147a4f;
  --dw-sidecart-ink-50: #6f685f;
}

/* These IDs belong to the existing authored homepage, not product content. */
body.home .elementor-553 :is(
  .elementor-element-2bbc5f7,
  .elementor-element-9ceb889,
  .elementor-element-ab94a13,
  .elementor-element-64b43a4,
  .elementor-element-77a1340,
  .elementor-element-c4c2ec4
) .elementor-heading-title {
  color: var(--dw-a11y-green-text) !important;
}
body.home .elementor-553 .elementor-element-41ac1d0 .elementor-button {
  background-color: var(--dw-a11y-green-text) !important;
}
body.home .elementor-553 .elementor-element-41ac1d0 .elementor-button:hover {
  background-color: #106540 !important;
}

/* Preserve each seasonal hue while increasing contrast against cream/white. */
body.home .elementor-553 .elementor-element-82ac120 .elementor-heading-title {
  color: #99501f !important;
}
body.home .elementor-553 .elementor-element-7617177 .elementor-button {
  background-color: #99501f !important;
}
body.home .elementor-553 .elementor-element-fdea931 .elementor-heading-title {
  color: #476682 !important;
}
body.home .elementor-553 .elementor-element-cb91773 .elementor-button {
  background-color: #476682 !important;
}
body.home .elementor-553 .elementor-element-5e6ad9c .elementor-heading-title {
  color: #8e486e !important;
}
body.home .elementor-553 .elementor-element-46c087e .elementor-button {
  background-color: #8e486e !important;
}
body.home .elementor-553 .elementor-element-113929b p {
  color: #6f685f !important;
}

body .dwerg-card-brand .elementor-heading-title,
body .dwerg-card-brand .elementor-heading-title span,
body .dwerg-card-price .price {
  color: var(--dw-a11y-green-text) !important;
}
/* Apply the same small-text/action contrast to the product purchase flow. */
body.single-product .dwerg-atc {
  --dw-accent: var(--dw-a11y-green-text);
}
body.single-product .dwerg-atc button.single_add_to_cart_button.button {
  background-color: var(--dw-a11y-green-text) !important;
}
body.single-product .dwerg-atc button.single_add_to_cart_button.button:hover {
  background-color: #106540 !important;
}
body.single-product .elementor-widget-woocommerce-product-price .price,
body.single-product .woocommerce-variation-price .price,
body.single-product .elementor-widget-heading .elementor-heading-title a[href*="/merk/"],
body.single-product .dwerg-eyebrow .elementor-heading-title,
body.single-product .elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-title {
  color: var(--dw-a11y-green-text) !important;
}
body.single-product .elementor-widget-woocommerce-product-add-to-cart
:is(button, input, [role="radio"]):focus-visible {
  outline: 2px solid #147a4f !important;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #fff !important;
}
.dwerg-site-footer h2,
.dwerg-site-footer .dwerg-site-footer__hours dd,
.dwerg-site-footer .dwerg-site-footer__bottom,
.dwerg-site-footer .dwerg-site-footer__credit {
  color: var(--dw-a11y-muted-on-dark) !important;
}
body .dwerg-contact__launcher {
  background-color: var(--dw-a11y-green-text) !important;
}
body .dwerg-contact__launcher:hover {
  background-color: #106540 !important;
}
body .elementor-menu-cart__toggle_button .elementor-button-icon-qty {
  background-color: var(--dw-a11y-green-text) !important;
}

/* A two-tone focus indicator remains visible on both cream and dark surfaces. */
:is(.elementor-553, .dwerg-site-footer, .dwerg-contact, .dwerg-mobile-menu)
:is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid #147a4f !important;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #fff !important;
}
@media (forced-colors: active) {
  :is(.elementor-553, .dwerg-site-footer, .dwerg-contact, .dwerg-mobile-menu)
  :is(a, button, input, select, textarea):focus-visible {
    outline-color: CanvasText !important;
    box-shadow: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home .elementor-553 .animated {
    animation: none !important;
  }
  body.home .elementor-553 .elementor-invisible {
    visibility: visible !important;
  }
}

/* Test report: readable breadcrumbs and native colour links of at least 24px. */
.dwerg-archive-page .dwerg-archive-breadcrumb ol,
.dwerg-archive-page .dwerg-archive-breadcrumb a,
.dwerg-archive-page .dwerg-archive-breadcrumb li::before {
  color: var(--dw-cc-ink-50);
}
body .dwerg-card-colours {
  flex-wrap: wrap !important;
  gap: 7px !important;
  overflow: visible;
}
body .dwerg-card-colours a.dwerg-card-colour {
  flex: 0 0 24px !important;
  width: 24px !important;
  min-width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
}

.elementor-location-header .elementor-nav-menu--main .elementor-item:not(:hover):not(:focus-visible):not(.elementor-item-active),
.dwerg-crumb .woocommerce-breadcrumb,
.dwerg-crumb .woocommerce-breadcrumb a {
  color: var(--dw-cc-ink-50) !important;
}

.elementor-location-header .elementor-nav-menu--main .elementor-item.elementor-item-active,
.elementor-location-header .elementor-nav-menu--main .elementor-item:hover,
.elementor-location-header .elementor-nav-menu--main .elementor-item:focus-visible,
body.single-product .dwerg-price .price,
body.single-product .dwerg-price .price .amount,
body.single-product .dwerg-price .price bdi {
  color: var(--dw-a11y-green-text) !important;
}
