/* =====================================================================
   Site, WooCommerce and form styling.
   Moved from Appearance > Customize > Additional CSS of the old child theme
   (Additional CSS is stored per theme, so it would be lost on a theme switch).
   ===================================================================== */

.center-vat-text {
  text-align: center;
}

/* Checkout without Astra: both customer columns full width (Astra used to do this). */
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  float: none;
  width: 100%;
}
.woocommerce-checkout #customer_details.col2-set::before,
.woocommerce-checkout #customer_details.col2-set::after {
  display: none;
}

/* ---------- WooCommerce: checkout panel (orange "Bestel overzicht") ---------- */
.tax-rate-belasting-1 {
  display: none;
}

#order_review,
.woocommerce-checkout-review-order,
#order_review_heading,
#golorder_review-col {
  border: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
#order_review {
  padding-bottom: 20px !important;
}

#order_review_heading,
.woocommerce-checkout-review-order {
  background-color: #ff9800;
}
#order_review_heading {
  color: #311162;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  margin: 0;
  padding: 20px 25px 10px 25px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
form #order_review_heading:not(.elementor-widget-woocommerce-checkout-page #order_review_heading) {
  color: #3D0095 !important;
}
.woocommerce-checkout-review-order {
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 0 25px 25px 25px;
  margin: 0;
  position: relative;
  color: #311162 !important;
  font-family: 'Poppins', sans-serif;
}
.woocommerce-checkout-review-order-table {
  background-color: #ff9800 !important;
  border-radius: 16px;
  color: #311162 !important;
  font-family: 'Poppins', sans-serif;
}
.woocommerce-checkout-review-order h3 {
  font-size: 20px;
  font-weight: 700;
  color: #311162 !important;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
}
.woocommerce-checkout-review-order-table tbody tr td:first-child::before {
  content: "⬤";
  color: #311162;
  margin-right: 10px;
  font-size: 10px;
  vertical-align: middle;
}

/* Subtotal / total rows */
.woocommerce-checkout-review-order-table .cart-subtotal th,
.woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout-review-order-table .cart-subtotal .amount,
.woocommerce-checkout-review-order-table .order-total .amount {
  font-size: 16px;
  color: #000000 !important;
}
.woocommerce-page.woocommerce-checkout form #order_review th {
  padding-left: 0 !important;
  font-weight: bold;
}
.cart-subtotal th {
  display: inline-block;
}
.order-total th {
  padding-left: 13px !important;
}
.woocommerce-checkout-review-order-table tfoot {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 15px;
}
.woocommerce-checkout-review-order-table tr.order-total,
.cart_totals tr.order-total {
  border-bottom: 2px solid #512da8 !important;
  border-top: none !important;
}

/* Purple lines above/below subtotal and total (pseudo-elements) */
table.woocommerce-checkout-review-order-table tfoot th,
table.woocommerce-checkout-review-order-table tfoot td {
  border: none !important;
}
table.woocommerce-checkout-review-order-table tfoot tr.order-total {
  position: relative;
}
table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal {
  position: relative;
  padding-top: 15px;
}
table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal::after,
table.woocommerce-checkout-review-order-table tfoot tr.order-total::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #311162;
}
table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #311162;
}
table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th {
  padding-left: 0 !important;
}
/* Apple devices: hide the pseudo lines (Safari renders them wrong) */
@supports (-webkit-touch-callout: none) or (-webkit-overflow-scrolling: touch) or (-webkit-appearance: none) {
  .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th::before,
  .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th::after,
  .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td::before,
  .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td::after,
  .woocommerce-checkout-review-order-table tfoot tr.order-total th::before,
  .woocommerce-checkout-review-order-table tfoot tr.order-total th::after,
  .woocommerce-checkout-review-order-table tfoot tr.order-total td::before,
  .woocommerce-checkout-review-order-table tfoot tr.order-total td::after {
    content: none !important;
    display: none !important;
    background: transparent !important;
    height: 0 !important;
    box-shadow: none !important;
  }
  .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
  .woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td,
  .woocommerce-checkout-review-order-table tfoot tr.order-total th,
  .woocommerce-checkout-review-order-table tfoot tr.order-total td {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}

/* ---------- WooCommerce: checkout form ---------- */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-billing-fields label,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-shipping-fields label,
.woocommerce-checkout h2,
.woocommerce-checkout h3 {
  color: #311162 !important;
  font-family: 'Poppins', sans-serif;
}
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  color: #333 !important;
  border: 1.5px solid #311162 !important;
  border-radius: 8px;
  padding: 10px 12px;
  font-family: 'Poppins', sans-serif;
  box-shadow: none;
}
.woocommerce-checkout input::placeholder,
.woocommerce-checkout textarea::placeholder {
  color: #a7a7a7 !important;
  opacity: 1;
}
.woocommerce-checkout input::-webkit-input-placeholder,
.woocommerce-checkout textarea::-webkit-input-placeholder {
  color: #a7a7a7 !important;
}
.woocommerce-checkout .required {
  color: red !important;
}
.woocommerce-privacy-policy-text {
  color: #333 !important;
}
.wc_payment_methods {
  display: block !important;
}
#place_order,
.woocommerce-checkout-review-order .modify-button {
  background-color: #3d0095 !important;
  color: #ffffff !important;
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 25px;
  display: block;
  text-align: center;
  font-size: 16px;
  border: none;
  margin-top: 20px;
  transition: all 0.3s ease;
}
#place_order:hover,
.woocommerce-checkout-review-order .modify-button:hover {
  background-color: #240a4e !important;
}
div[style*="background-color: #f9f9f9"] {
  background-color: transparent !important;
}

/* ---------- WooCommerce: thank-you / view-order ---------- */
.woocommerce-order-details td {
  width: 100% !important;
  max-width: none !important;
  padding: 0;
}
.woocommerce-order-details tfoot th,
.woocommerce-order-details tfoot td,
.woocommerce-order-details + h2 + div,
.woocommerce-order-details + h2 + div td {
  color: #000 !important;
  font-weight: bold !important;
}
.woocommerce-order-details > div:nth-child(4) {
  display: none !important;
}
.woocommerce-order-received .woocommerce-columns--addresses .woocommerce-column--billing {
  display: none !important;
}
.woocommerce-customer-details {
  display: none !important;
}
th.order-actions--heading {
  display: none !important;
}
div:has(> address) strong,
div:has(> address) address {
  color: #311162 !important;
}
a.woocommerce-button.button.invoice.order-actions-button {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  background-color: #3c009d !important;
  color: white !important;
  padding: 12px 20px !important;
  border-radius: 50px !important;
  font-weight: bold !important;
  box-shadow: 0 0 0 8px #ffa500 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  text-align: center !important;
  box-sizing: border-box !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
}
a.woocommerce-button.button.invoice.order-actions-button:hover {
  background-color: #2c0173 !important;
  color: white !important;
}

/* ---------- Volume calculator widget (separate page widget) ---------- */
.volume-calculator {
  max-width: 400px;
  margin: auto;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  color: #3c1f6e;
}
.volume-calculator label {
  color: #3c1f6e;
  font-weight: 600;
  display: block;
  margin: 20px 0 5px;
  text-align: left;
}
.volume-calculator input {
  border: 1px solid #3C0096 !important;
  width: 100%;
  padding: 15px;
  height: 48px;
  font-size: 16px;
  border-radius: 10px !important;
  background: #fff;
  outline: none;
  transition: box-shadow 0.3s;
}
.volume-calculator input:focus {
  box-shadow: 0 0 0 2px #a88eff;
}
.volume-result {
  font-size: 60px;
  font-weight: bold;
  margin: 30px 0 10px;
  color: #3c1f6e;
}
.volume-unit {
  font-size: 18px;
  vertical-align: super;
  margin-left: 4px;
}
.volume-calculator button {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  border: none;
  border-radius: 25px;
  background: #3C0096;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}
.volume-calculator button:hover {
  background: #4C00BA;
}
.volume-note {
  font-weight: 600;
  margin-top: 15px;
  font-size: 14px;
  color: #3C1F6E;
}
@media screen and (max-width: 480px) {
  .volume-calculator { padding: 0 20px; }
  .volume-result { font-size: 40px; }
}

/* ---------- WPForms ---------- */
.wpforms-image-choices-image img {
  height: 50px !important;
}
.homepage-bottom-form textarea {
  height: 180px !important;
}
#wpforms-1074-field_37-container legend::before,
#wpforms-1074-field_38-container legend::before {
  content: "";
  display: inline-block;
  background-image: url(https://a.zartechdigital.com/wp-content/uploads/2025/06/icon-1.svg); /* old dev domain: replace with this site's own upload */
  background-size: contain;
  background-repeat: no-repeat;
  width: 18px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
}
#wpforms-1074-field_37-container legend,
#wpforms-1074-field_38-container legend {
  margin-bottom: 5px;
}
#wpforms-1074-field_37-description,
#wpforms-1074-field_38-description {
  margin-bottom: 10px;
}
#wpforms-submit-1074,
.Quation_form #wpforms-submit-1074 {
  border-radius: 30px;
  width: 100%;
  background-color: #3D0095;
  height: 50px;
  text-transform: uppercase;
}
#wpforms-1074-field_18 .wpforms-image-choices-item label {
  padding: 15px 30px !important;
  width: 171.7px !important;
  border: 1px solid #3D0095;
}
.Home_form .wpforms-field-required {
  padding: 0 !important;
  border: none !important;
  border-bottom: 1px solid #E1E1E1 !important;
  border-radius: 0 !important;
}
.Home_form .wpforms-field-label,
.Quation_form .wpforms-field-label {
  color: #311162 !important;
}
#wpforms-submit-647 {
  border-radius: 30px;
  width: 100%;
  background-color: #3D0095;
  height: 50px;
}
#wpforms-647 {
  margin-bottom: 0;
}

/* Subtotaal + Totaalprijs rows: the row pseudo-element lines made the browser add a third table
   column, which pushed these two rows out of line. Draw the lines as cell borders instead. */
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal::before,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal::after,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total::after {
  content: none !important;
  display: none !important;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total th {
  display: table-cell !important;
  padding-left: 0 !important;
  text-align: left !important;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td {
  padding-right: 0 !important;
  text-align: right !important;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td {
  border-top: 1px solid #311162 !important;
  border-bottom: 1px solid #311162 !important;
}
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total th,
.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot tr.order-total td {
  border-bottom: 1px solid #311162 !important;
}

/* Checkout fields: rows only use the grid gap (12px), no extra paragraph margin under each field. */
.woocommerce-checkout #customer_details .go-checkout-fields .form-row {
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-checkout #customer_details .go-checkout-fields .form-row > label:not(.checkbox) {
  display: none;
}
.woocommerce-checkout #customer_details .go-checkout-fields .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout #customer_details .go-checkout-fields .woocommerce-billing-fields__field-wrapper {
  margin-bottom: 4px;
}

/* Even 30px spacing between the checkout cards (the attribution element created an empty grid row). */
.woocommerce-checkout .go-wc-input-fields > wc-order-attribution-inputs {
  display: none;
}
/* Collapsed "Bedrijfsgegevens" card: no empty space or line under the heading. */
.woocommerce-checkout #customer_details .go-accordion-heading:not(.is-open) {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

/* ---------------------------------------------------------------------------
 * WooCommerce icon font. Astra loaded WooCommerce's own stylesheet (which brings this font);
 * the new theme does not load that stylesheet on Woo pages, so the notice icons need the font from here.
 * ------------------------------------------------------------------------- */
@font-face{font-family:WooCommerce;src:url(../../../woocommerce/assets/fonts/WooCommerce.woff2) format("woff2"),url(../../../woocommerce/assets/fonts/WooCommerce.woff) format("woff"),url(../../../woocommerce/assets/fonts/WooCommerce.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}

/* Thank-you page: same width as the header, checkout and the rest of the site. */
.gbbp-woo-scope .woocommerce .woocommerce-order{max-width:none}

/* Mollie "Betaling afgerond door …" box on the thank-you page: room for the icon, clean check icon. */
.gbbp-woo-scope .mollie-instructions.woocommerce-info{position:relative;display:block;padding:16px 20px 16px 54px!important}
.gbbp-woo-scope .mollie-instructions.woocommerce-info::before{content:""!important;font-family:inherit!important;position:absolute!important;left:20px!important;top:50%!important;width:22px;height:22px;margin:-11px 0 0!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%233d0096'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.gbbp-woo-scope .mollie-instructions.woocommerce-info>:first-child{margin-top:0}
.gbbp-woo-scope .mollie-instructions.woocommerce-info>:last-child{margin-bottom:0}

/* ---------------------------------------------------------------------------
 * Checkout coupon ("Heb je een waardebon?") in the same style as the checkout cards.
 * ------------------------------------------------------------------------- */
.gbbp-woo-scope .woocommerce-form-coupon-toggle .woocommerce-info::before{content:""!important;font-family:inherit!important;width:20px;height:20px;top:50%!important;margin-top:-10px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d0096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.6 13.4 13.4 20.6a2 2 0 0 1-2.8 0L3 13V3h10l7.6 7.6a2 2 0 0 1 0 2.8z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E") center/contain no-repeat}
.gbbp-woo-scope .woocommerce .woocommerce-form-coupon-toggle .woocommerce-info{margin-bottom:16px}
.gbbp-woo-scope .woocommerce form.checkout_coupon{width:auto;max-width:calc(65% - 20px);margin:0 0 30px;padding:20px;border:0;border-radius:19px;background:#fff;box-shadow:0 0 20px 0 #052B5C1A}
.gbbp-woo-scope .woocommerce form.checkout_coupon>p:not(.form-row){margin:0 0 12px;font-size:15px;color:#3d0096}
.gbbp-woo-scope .woocommerce form.checkout_coupon .form-row{display:block;margin:0;padding:0}
.gbbp-woo-scope .woocommerce form.checkout_coupon .form-row-first{float:left;width:calc(100% - 232px)}
.gbbp-woo-scope .woocommerce form.checkout_coupon .form-row-last{float:right;width:220px}
.gbbp-woo-scope .woocommerce form.checkout_coupon input[name="coupon_code"]{width:100%;height:50px;margin:0;padding:0 16px;border-radius:10px;font-size:16px;box-sizing:border-box}
.gbbp-woo-scope .woocommerce form.checkout_coupon .button,.gbbp-woo-scope .woocommerce form.checkout_coupon button[name="apply_coupon"]{width:100%;height:50px;margin:0;padding:0 20px;border:0;border-radius:999px;background:#3d0096;color:#fff;font-size:16px;font-weight:600;line-height:50px;white-space:nowrap;cursor:pointer;transition:background-color .2s,color .2s}
.gbbp-woo-scope .woocommerce form.checkout_coupon .button:hover,.gbbp-woo-scope .woocommerce form.checkout_coupon .button:focus-visible{background:#fca01a;color:#3d0096}
.gbbp-woo-scope .woocommerce form.checkout_coupon .clear{display:block;clear:both;height:0}
@media (max-width:1199.98px){.gbbp-woo-scope .woocommerce form.checkout_coupon{max-width:calc(67% - 10px)}}
@media (max-width:991.98px){.gbbp-woo-scope .woocommerce form.checkout_coupon{max-width:none}}
@media (max-width:600px){
  .gbbp-woo-scope .woocommerce form.checkout_coupon{padding:16px}
  .gbbp-woo-scope .woocommerce form.checkout_coupon .form-row-first,.gbbp-woo-scope .woocommerce form.checkout_coupon .form-row-last{float:none;width:100%;margin:0}
  .gbbp-woo-scope .woocommerce form.checkout_coupon .form-row-first{margin-bottom:10px}
}

/* WooCommerce "highlight" colour (shop prices, sale badge): its default #958e09 is too light on white (3.4). */
:root{--wc-highlight:#3d0096}

/* WooCommerce highlight colour (#958e09) is too light on white: prices, stock and sale badge in the brand purple. */
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price,.woocommerce div.product .stock{color:#3d0096}
.woocommerce span.onsale{background-color:#3d0096}

/* Calculator date shortcuts: the small date line had too little contrast (opacity .75). */
#wcc-calculator-container .wcc-date-quick-sub{opacity:1}
