button.woopremium-calc-toggle {
  background-color: #8aaf52 !important;
  border: 0px solid #000;
  border-radius: 0px !important;
  color: #fff;
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 600;
  line-height: 24px !important;
  font-size: 16px !important;
  padding: 8px 16px !important;
  transition: 0ms !important;
}

.woopremium-calc-toggle:hover {
  background-color: #000;
}

.woopremium-calc-toggle:focus, .woopremium-calc-toggle:active {
  background-color: #000;
}

#woopremium-plinten-section {
  top: 1rem;
  position: relative;
}

#woopremium-totaalprijs {
  top: 1rem;
  position: relative;
}

#woopremium-direct-order {
  background-color: var(--acf-kleur);
  border: 0px solid #000;
  border-radius: 4px;
  color: #fff;
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: 600;
  padding: 8px 16px;
  transition: 0ms;
}

#woopremium-direct-order:hover {
  background-color: #000;
}

.woopremium-resultaat {
  display: flex;
  flex-wrap: wrap; /* mocht het smal worden, anders weg laten */
  gap: 1rem; /* ruimte tussen de paragrafen */
}

.woopremium-resultaat p {
  margin: 0; /* reset de standaard marges */
}

.woopremium-calc-sidebar {
  position: fixed;
  background: #fff;
  top: 80px;
  right: -100%;
  width: 100%;
  max-width: 750px;
  height: 100%;
  gap: 1rem;
  max-height: 100dvh;
  overflow-y: auto;
  transition: all 0.3s ease-in-out;
  padding: 2rem;
  z-index: 888;
}

.woopremium-calc-sidebar.open {
  right: 0;
}

.woopremium-calc-header {
  padding: 2rem;
  background: rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 8px 8px 0 0;
  height: max-content;
}
.woopremium-calc-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  font-weight: bold;
}
.woopremium-calc-header .woopremium-calc-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #000 !important;
}

.woopremium-calc-close:hover {
  color: #fff !important;
}

.woopremium-calc-content {
  align-items: start;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 0 0 8px 8px;
  display: flex;
  margin-top: 1rem;
  flex-direction: column;
  height: max-content;
  justify-content: start;
  margin: 0;
  overflow-y: scroll;
  padding: 1rem;
  width: 100%;
}

.woopremium-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.woopremium-cta .button-primary {
  background-color: #007cba;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-radius: 4px;
}

.woopremium-cta .button-secondary {
  background-color: #f1f1f1;
  color: #333;
  border: none;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-radius: 4px;
}

.woopremium-microcopy {
  list-style: none;
  padding-left: 0;
  margin-top: 2rem;
}

.woopremium-microcopy li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: baseline;
}

@media (max-width: 900px) {
  .woopremium-calc-sidebar {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .woopremium-calc-header h2 {
    font-size: 1.25rem;
  }
}
.woopremium-price-suffix {
  font-size: 0.85em;
  color: #666;
  margin-left: 0.25em;
}

body.product-cat-vloeren .elementor-widget-woocommerce-product-add-to-cart {
  display: none;
}

#woopremium-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* semi-transparant zwart */
  z-index: 777; /* lager dan sidebar (888), hoger dan de rest */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#woopremium-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.woopremium-calc-product-additions-header {
  line-height: 1.2;
  margin-bottom: 1em;
}

.woopremium-additional-products-wrapper {
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.05);
  padding: 1rem;
  margin-bottom: 1rem;
}
.woopremium-additional-products-wrapper .woopremium-additional-header {
  line-height: 1.2;
  margin-bottom: 1em;
}
.woopremium-additional-products-wrapper .woopremium-additional-products {
  padding-block: 1rem;
  padding-inline: 0;
  display: grid;
  grid-template-columns: repeat(var(--wprc-additional-product-grid, 1), 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .woopremium-additional-products-wrapper .woopremium-additional-products {
    --wprc-additional-product-grid: 2;
  }
}
@media (min-width: 768px) {
  .woopremium-additional-products-wrapper .woopremium-additional-products {
    --wprc-additional-product-grid: 4;
  }
}
.woopremium-additional-products-wrapper .woopremium-additional-product label {
  --wprc-additional-products-background-color: #ffffff;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  outline: 3px solid var(--wprc-additional-products-border-color, var(--wprc-additional-products-background-color));
  border-radius: var(--wprc-additional-products-border-radius, 4px);
  background: var(--wprc-additional-products-background-color, #ffffff);
  padding: 0.5rem;
}
.woopremium-additional-products-wrapper .woopremium-additional-product label:has(input[type=radio]:checked) {
  --wprc-additional-products-border-color: var(--e-global-color-primary, #eeeeee);
  --wprc-additional-products-font-weigth: 500;
}
.woopremium-additional-products-wrapper .woopremium-additional-product input[type=radio], .woopremium-additional-products-wrapper .woopremium-additional-product input[type=checkbox] {
  display: none;
}
.woopremium-additional-products-wrapper .woopremium-additional-product .woopremium-additional-product-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}
.woopremium-additional-products-wrapper .woopremium-additional-product .woopremium-additional-product-name {
  font-size: 0.85rem;
  text-align: center;
}
.woopremium-additional-products-wrapper .woopremium-additional-product .woopremium-additional-product-price {
  font-weight: 500;
}

.woopremium-additional-product-form-field__wrapper {
  display: flex;
  gap: 1rem;
  flex-direction: row;
  align-items: center;
}
.woopremium-additional-product-form-field__wrapper label {
  min-width: 100px;
  font-weight: bold;
}
.woopremium-additional-product-form-field__wrapper label:after {
  content: ": ";
}
.woopremium-additional-product-form-field__wrapper input {
  flex-grow: 1;
}

.woopremium_product_meta {
  display: grid;
  margin-bottom: 1rem;
  grid-template-columns: repeat(var(--wprc-product-meta-cols, 1), 1fr);
}
.woopremium_product_meta .woopremium_product_meta-wrapper {
  display: flex;
  gap: 1rem;
  flex-direction: row;
}
.woopremium_product_meta .woopremium_product_meta-label {
  font-weight: bold;
  min-width: var(--wprc-product-meta-label-width, 100px);
}
.woopremium_product_meta .woopremium_product_meta-label:after {
  content: ": ";
}
.woopremium-calculator-cart {
  display: grid;
  margin-bottom: 1rem;
  grid-template-columns: repeat(var(--wprc-cart-cols, 1), 1fr);
  gap: 0.5rem;
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem;
}
.woopremium-calculator-cart .woopremium_calculator-cart_item {
  display: flex;
  gap: 1rem;
  flex-direction: row;
  font-size: var(--wprc-cart-item-font-size, 1em);
}
.woopremium-calculator-cart .woopremium_calculator-cart_item.woopremium_calculator-cart_total {
  border-top: 1px solid #ccc;
  padding-top: 1rem;
  --wprc-cart-item-font-size: 1.25rem;
}
.woopremium-calculator-cart .woopremium_calculator-cart-label {
  font-weight: bold;
  min-width: var(--wprc-product-meta-label-width, 100px);
}
.woopremium-calculator-cart .woopremium_calculator-cart-label:after {
  content: ": ";
}
.woopremium-cta-wrapper {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  grid-template-columns: repeat(var(--wprc-cart-cta-meta-cols, 1), 1fr);
}
@media (min-width: 768px) {
  .woopremium-cta-wrapper {
    --wprc-cart-cta-meta-cols: 2;
  }
}

.woopremium-calculator-cta-add_to_cart button {
  width: 100%;
  height: 100%;
}

.woopremium-calculator-cta-offerte_form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.woopremium-calculator-cta-offerte_form input, .woopremium-calculator-cta-offerte_form select {
  width: 100%;
}
.woopremium-calculator-cta-offerte_form button {
  width: 100%;
}

.woopremium-calc-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.woopremium-calc-area label {
  font-weight: bold;
  font-size: 1.25rem;
  color: black;
}
.woopremium-calc-area input {
  font-weight: bold;
  font-size: 1.25rem;
}
.woopremium-calc-area {
  margin-bottom: 1rem;
}

.service-options .service-options_wrapper {
  margin-top: 1rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.05);
  padding: 1rem;
  margin-bottom: 1rem;
  padding-block: 1rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(var(--wprc-service-options-cols, 4), 1fr);
}
.service-options .service-options_wrapper .service-options__item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
.service-options .service-options_wrapper .service-options__item input[type=radio] {
  display: none;
}
.service-options .service-options_wrapper .service-options__item input[type=radio]:checked ~ label {
  --wprc-service-selection-color: var(--e-global-color-primary, #eeeeee);
}
.service-options .service-options_wrapper .service-options__item label {
  font-weight: bold;
  border-radius: 4px;
  background: #fff;
  outline: 2px solid var(--wprc-service-selection-color, #fff);
  padding: 0.5rem;
}