:root {
  --htw-benebone-forest: #00572a;
  --htw-benebone-forest-deep: #00451f;
  --htw-benebone-nav: #14532d;
  --htw-benebone-leaf: #a4df63;
  --htw-benebone-ink: #121212;
  --htw-benebone-soft: #f5fbed;
}

body.htw-source-site-shell {
  --primary-color: #00572a;
  --primary-color-dark: #00451f;
  --secondary-color: #a4df63;
  --success-color: #00572a;
  --fs-color-primary: #00572a;
  --fs-color-secondary: #a4df63;
  --fs-color-success: #00572a;
  --color-base-accent-1: 0, 87, 42;
  --color-base-accent-2: 164, 223, 99;
  --color-button: 0, 87, 42;
  --color-button-text: 255, 255, 255;
  color: #121212;
  background-color: #ffffff;
}

/* The source store uses a forest-green announcement strip with white copy. */
body.htw-source-site-shell #top-bar,
body.htw-source-site-shell #header .header-top {
  background-color: #00572a !important;
  color: #ffffff !important;
}
body.htw-source-site-shell #top-bar a,
body.htw-source-site-shell #top-bar p,
body.htw-source-site-shell #top-bar span,
body.htw-source-site-shell #top-bar .html,
body.htw-source-site-shell #header .header-top a,
body.htw-source-site-shell #header .header-top p,
body.htw-source-site-shell #header .header-top span {
  color: #ffffff !important;
}

/* Match the source site's dark-green desktop and mobile navigation text. */
body.htw-source-site-shell #header .header-main .header-nav-main > li > a,
body.htw-source-site-shell #header .header-main .header-nav-main > li > .nav-top-link,
body.htw-source-site-shell .htw-native-wp-menu-mobile-list a {
  color: #14532d !important;
}
body.htw-source-site-shell #header .header-main .header-nav-main > li > a:hover,
body.htw-source-site-shell #header .header-main .header-nav-main > li.current-menu-item > a,
body.htw-source-site-shell .htw-native-wp-menu-mobile-list a:hover {
  color: #00572a !important;
}

/* Brand sale and product labels. Red error notices remain semantic red. */
body.htw-source-site-shell .badge-container .badge-inner,
body.htw-source-site-shell .badge-container .badge-inner .onsale,
body.htw-source-site-shell .woocommerce .onsale,
body.htw-source-site-shell .product .onsale {
  background-color: #00572a !important;
  border-color: #00572a !important;
  color: #ffffff !important;
}
body.htw-source-site-shell .price ins,
body.htw-source-site-shell .price ins .amount,
body.htw-source-site-shell .woocommerce-Price ins .woocommerce-Price-amount {
  color: #006937 !important;
}

/* Primary purchase actions use forest green; secondary and browse actions use leaf green. */
body.htw-source-site-shell .button.primary,
body.htw-source-site-shell a.button.primary,
body.htw-source-site-shell button.button.alt,
body.htw-source-site-shell .single_add_to_cart_button,
body.htw-source-site-shell .checkout-button,
body.htw-source-site-shell .woocommerce-form-login__submit,
body.htw-source-site-shell .wp-block-button__link:not(.is-style-outline),
body.htw-source-site-shell .wc-block-components-button:not(.is-link) {
  border-color: #00572a !important;
  background-color: #00572a !important;
  color: #ffffff !important;
}
body.htw-source-site-shell a.button:not(.primary):not(.alt):not(.checkout-button):not(.single_add_to_cart_button):not(.woocommerce-form-login__submit):not(.is-outline):not(.plain):not(.icon),
body.htw-source-site-shell button.button:not(.primary):not(.alt):not(.checkout-button):not(.single_add_to_cart_button):not(.woocommerce-form-login__submit):not(.is-outline):not(.plain):not(.icon),
body.htw-source-site-shell input.button:not(.primary):not(.alt):not(.checkout-button):not(.single_add_to_cart_button):not(.woocommerce-form-login__submit):not(.is-outline):not(.plain):not(.icon),
body.htw-source-site-shell .button.secondary:not(.is-outline):not(.icon),
body.htw-source-site-shell .button.success:not(.is-outline):not(.icon) {
  border-color: #00572a !important;
  background-color: #a4df63 !important;
  color: #00572a !important;
}
body.htw-source-site-shell .button.is-outline:not(.plain):not(.icon),
body.htw-source-site-shell a.button.is-outline:not(.plain):not(.icon) {
  border-color: #00572a !important;
  color: #00572a !important;
  background-color: transparent !important;
}
body.htw-source-site-shell .button.primary:hover,
body.htw-source-site-shell a.button.primary:hover,
body.htw-source-site-shell button.button.alt:hover,
body.htw-source-site-shell .single_add_to_cart_button:hover,
body.htw-source-site-shell .checkout-button:hover,
body.htw-source-site-shell .woocommerce-form-login__submit:hover,
body.htw-source-site-shell .wp-block-button__link:not(.is-style-outline):hover {
  border-color: #00451f !important;
  background-color: #00451f !important;
  color: #ffffff !important;
}
body.htw-source-site-shell a.button:not(.primary):not(.alt):not(.checkout-button):not(.single_add_to_cart_button):not(.woocommerce-form-login__submit):not(.is-outline):not(.plain):not(.icon):hover,
body.htw-source-site-shell button.button:not(.primary):not(.alt):not(.checkout-button):not(.single_add_to_cart_button):not(.woocommerce-form-login__submit):not(.is-outline):not(.plain):not(.icon):hover,
body.htw-source-site-shell input.button:not(.primary):not(.alt):not(.checkout-button):not(.single_add_to_cart_button):not(.woocommerce-form-login__submit):not(.is-outline):not(.plain):not(.icon):hover,
body.htw-source-site-shell .button.secondary:not(.is-outline):not(.icon):hover,
body.htw-source-site-shell .button.success:not(.is-outline):not(.icon):hover {
  border-color: #00572a !important;
  background-color: #00572a !important;
  color: #ffffff !important;
}

body.htw-source-site-shell :is(h1, h2, h3, .page-title, .woocommerce-products-header__title) {
  color: #00572a;
}
body.htw-source-site-shell a:not(.button):hover {
  color: #00572a;
}
body.htw-source-site-shell :is(input, select, textarea):focus {
  border-color: #00572a !important;
  box-shadow: 0 0 0 1px #00572a !important;
}
body.htw-source-site-shell .woocommerce-message {
  border-top-color: #00572a;
}
body.htw-source-site-shell .woocommerce-message::before {
  color: #00572a;
}

/* Keep Flatsome quick-view galleries navigable while showing four grouped image indicators. */
.mfp-wrap .product-gallery-slider .flickity-page-dots.htw-quick-view-four-dots > .dot:nth-child(n + 5) {
  display: none !important;
}
.mfp-wrap .product-gallery-slider .flickity-page-dots.htw-quick-view-four-dots > .dot {
  background-color: #00572a !important;
  opacity: .28 !important;
}
.mfp-wrap .product-gallery-slider .flickity-page-dots.htw-quick-view-four-dots[data-htw-active-group="0"] > .dot:nth-child(1),
.mfp-wrap .product-gallery-slider .flickity-page-dots.htw-quick-view-four-dots[data-htw-active-group="1"] > .dot:nth-child(2),
.mfp-wrap .product-gallery-slider .flickity-page-dots.htw-quick-view-four-dots[data-htw-active-group="2"] > .dot:nth-child(3),
.mfp-wrap .product-gallery-slider .flickity-page-dots.htw-quick-view-four-dots[data-htw-active-group="3"] > .dot:nth-child(4) {
  background-color: #00572a !important;
  opacity: 1 !important;
}
