/* #region: Cart steps */
.cartSteps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  align-items: center;
  margin: 5rem 0;
}

.cartSteps-items {
  padding: 2rem 1rem;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  border-bottom: 3px solid #00000026;
  justify-content: flex-end;
  flex-direction: column;
  padding-bottom: 20px;
  color: #777777;
}

.cartSteps-items.activeStep {
  color: var(--wp--preset--color--text-color);
  border-bottom: 8px solid var(--wp--preset--color--accent-color);
}

/* #endregion */

.button-reg {
  transition: all 0.2s ease;
  color: #e40429;
  background-color: var(--wp--preset--color--primary-color);
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  border: 1px solid var(--wp--preset--color--accent-color);
  border-radius: 8px;
  min-width: 264px;
  padding: 15px 40px;
}

.syn_deelnemer_field {
  width: 100%;
  min-height: 4rem;
  color: #666;
  border-radius: 0.5rem;
  border: thin solid #666;
  background-color: #fff;
  font-size: 15px;
  margin-bottom: 0;
  margin-top: 0;
  padding: 8px;
}

.syn_deelnemer_label {
  width: 100%;
  margin-bottom: 25px;
  font-weight: bold;
}

#cart-title {
  font-size: var(--wp--preset--font-size--lg);
}

.cuw-offer {
  border-left: 10px solid yellow;
}

.woocommerce table.shop_table {
  border: none;
  margin-bottom: 0rem;
}

/* .woocommerce table.shop_table tr {
  height: 6vh;
} */

/* #region: Cart item */
.woocommerce a.remove {
  font-size: 1.8rem;
  font-family: var(--wp--preset--font-family--proxima);
  font-weight: 500;
  color: #e40429 !important;
  width: fit-content;
  text-decoration: underline;
}

.woocommerce a.remove:hover {
  background: transparent;
  color: var(--wp--preset--color--accent-color) !important;
}

.product-thumbnail img {
  width: 75px;
  height: 150px;
  object-fit: cover;
}

.product-name p {
  margin: 0;
}

.product-quantity .quantity {
  width: 50%;
}

.product-quantity .quantity input {
  position: relative;
  padding: 1rem;
  border: 1px solid black;
  border-radius: 8px;
}

.product-quantity .quantity input[type="number"]::-webkit-inner-spin-button {
  position: absolute;
  height: 100%;
  width: 15%;
  top: 0;
  right: 0;
}

/* #endregion */

/* #region: Coupons */

.woocommerce table.shop_table .actions,
.woocommerce table.cart td.actions {
  height: 8vh;
}

.woocommerce .coupon input,
.woocommerce table.cart td.actions .input-text {
  height: 50px;
  width: 200px;
  border-radius: 10px;
  padding: 0.5rem;
  margin-right: 0.5rem;
}

.woocommerce .coupon button {
  transition: background-color, color 0.2s ease-in-out;
  background-color: #303133;
  border: 1px solid #303133;
  color: var(--wp--preset--color--text-color-light);
  font-weight: 500;
  height: 50px;
  border-radius: 10px;
  padding: 0 4rem;
}

.woocommerce .coupon button:hover,
.woocommerce .coupon button:focus,
.woocommerce .coupon button:active {
  transition: background-color, color 0.2s ease-in-out;
  background-color: var(--wp--preset--color--primary-color);
}

/* #endregion */

/* #region: Cart totals */

.woocommerce .cart-collaterals .cart_totals {
  width: 100%;
}

#syn_page_winkelmand .woocommerce .cart-subtotal td,
#syn_page_winkelmand .woocommerce .tax-total td,
#syn_page_winkelmand .woocommerce .order-total td {
  text-align: end;
  border: 0;
}

#syn_page_winkelmand .woocommerce .cart-subtotal th,
#syn_page_winkelmand .woocommerce .tax-total th {
  font-weight: 500;
}

#syn_page_winkelmand .woocommerce .cart-subtotal th,
#syn_page_winkelmand .woocommerce .tax-total th,
#syn_page_winkelmand .woocommerce .order-total th {
  padding: 10px 0;
}

#syn_page_winkelmand .order-total {
  border-top: 2px solid black !important;
}

#syn_page_winkelmand .woocommerce table.shop_table tbody th {
  border-top: 0;
}

#syn_page_winkelmand .woocommerce {
  display: flex;
  flex-direction: column;
}

#syn_page_winkelmand .woocommerce table.shop_table td {
  border-top: 0;
  padding: 30px 30px 30px 30px;
}

.woocommerce .cart-collaterals {
  height: fit-content;
  border: 10px solid #f7f7f7;
  padding: 20px;
}

.woocommerce-cart-form {
  flex: 0 0 75%;
  padding-right: 40px;
}

/* #endregion */

/* #region: Proceed to checkout */

.wc-proceed-to-checkout {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-top: 20px;
}

.wc-proceed-to-checkout .checkout-button {
  width: 20vw;
}

.wc-proceed-to-checkout .checkout-button.hollow {
  transition: background-color 0.2s ease-in-out;
  color: var(--wp--preset--color--accent-color) !important;
  background-color: var(--wp--preset--color--primary-color) !important;
  border: 1px solid var(--wp--preset--color--accent-color) !important;
}

.wc-proceed-to-checkout .checkout-button.hollow:hover {
  transition: background-color 0.2s ease-in-out;
  color: var(--wp--preset--color--primary-color) !important;
  background-color: var(--wp--preset--color--accent-color) !important;
  border: 1px solid var(--wp--preset--color--accent-color) !important;
}

.woocommerce button[name="update_cart"],
.woocommerce input[name="update_cart"] {
  display: none;
}

label .mollie-gateway-icon {
  width: auto;
}

.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f00c";
  display: inline-block;
  position: absolute;
  top: 1em;
  left: 1.5em;
}

.woocommerce-message,
.woocommerce-info {
  border-top-color: var(--wc-green);
}

.woocommerce-info::before {
  color: var(--wc-green);
}

/* #syn_page_winkelmand .cart-subtotal {
  display: none;
} */

.cart_totals h2 {
  display: none;
}

.product-hidden,
.product-subtotal {
  content-visibility: hidden;
}

.product-price {
  height: 200px;
  padding: 30px 30px 30px 0;
}

.syn-order-cont {
  display: flex;
  justify-content: space-between;
}

#syn_coupon_dropdown_id {
  display: none;
}

#syn_coupon_dropdown_id.active {
  display: block;
}

.woocommerce table.cart td.actions .coupon {
  float: right !important;
}

.syn_coupon_dropdown button {
  display: none !important;
}

.woocommerce-table.woocommerce-table--custom-fields.shop_table.custom-fields {
  display: none;
}

.steps-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
}

.steps {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 300px;
  justify-content: flex-end;
}

.steps .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid #212529;
  background: transparent;
  display: inline;
  text-align: center;
  margin: 0;
  line-height: 47px;
}

.steps .connector {
  width: 7.5%;
  height: 3px;
  background: #212529;
}

/* Portrait and Landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) {
  /* .steps .icon span {
    display: none;
  } */
}

#syn_page_winkelmand main .container,
#syn_page_afrekenen main .container,
#syn_page_deelnemer main .container {
  padding-top: 0;
  margin: 2rem auto;
}

#syn_page_winkelmand #mysticky-wrap,
#syn_page_winkelmand header,
#syn_page_winkelmand footer {
  display: none;
}

#syn_page_deelnemergtest #mysticky-wrap,
#syn_page_deelnemergtest header {
  display: none;
}

.syn-checkout-container {
  display: flex;
  width: 100%;
  margin-bottom: 2rem;
  height: 100px;
  justify-content: space-between;
}

.woocommerce-cart-form__cart-item {
  background-color: #f7f7f7;
}

/* Quantity input container */
.woocommerce .quantity {
  display: flex;
}

/* Buttons */
.woocommerce .quantity .plus,
.woocommerce .quantity .minus {
  background-color: #ffffff;
  color: #333;
  padding: 0px 20px;
  cursor: pointer;
  font-size: 23px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.woocommerce .quantity .minus {
  border-radius: 16px 0 0 16px;
  border-left: 1px solid black;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-right: none;
}

.woocommerce .quantity .plus {
  border-radius: 0 16px 16px 0;
  border-right: 1px solid black;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-left: none;
}

.woocommerce .quantity input.qty {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-left: none;
  border-right: none;
  border-radius: 0;
}

.woocommerce .quantity .plus:hover,
.woocommerce .quantity .minus:hover {
  background-color: #ffffff;
}

.woocommerce .quantity .plus:active,
.woocommerce .quantity .minus:active {
  background-color: #ffffff;
}

/* Input field */
.woocommerce .quantity input.qty {
  width: 50px;
  text-align: center;
  font-size: 16px;
  padding: 5px;
  outline: none;
  box-sizing: border-box;
}

/* Remove input field spinners */
.woocommerce .quantity input.qty::-webkit-inner-spin-button,
.woocommerce .quantity input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Disable button outline */
.woocommerce .quantity .plus:focus,
.woocommerce .quantity .minus:focus {
  outline: none;
}

/* #endregion */

/* #Deelnemers */

.deelnemers-container {
  display: flex;
  flex-direction: column;
  margin-top: -60px;
}

.crs-deelnemers-container {
  display: flex;
  justify-content: space-between;
  min-height: 350px;
  flex-direction: row;
  width: 100%;
  border-bottom: 10px solid #f7f7f7;
  margin-top: 60px;
}

.deelnemer-left {
  width: 57%;
  height: auto;
}

.deelnemer-count {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #cbd3d6;
  margin-bottom: 20px;
}

.deelnemer-dropdown {
  background-color: #f7f7f7;
  height: 88px;
  color: #ff3521;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 20px;
  justify-content: space-between;
}

.deelnemer-txt {
  color: red;
  font-size: 20px;
  text-decoration: underline;
  margin: 0 0 0 40px;
}

.deelnemer-right {
  width: 375px;
  background-color: white;
 height: fit-content;
  border: 10px solid #f7f7f7;
  padding: 20px;
}

.deelnemer-right h2 {
  font-family: Proxima Nova, Helvetica, sans-serif;
  text-transform: capitalize;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 15px;
}

.deelnemer-right-row {
  display: flex;
}

.deelnemer-right-row-l,
.deelnemer-right-row-r {
  width: 50%;
}

.dropdown-menu {
  background-color: #f7f7f7;
  height: auto;
  margin-bottom: 20px;
  padding: 0 40px;
}

.dropdown-active {
  margin: 0;
}

.regular-popup {
  background-color: #d7f1ff;
  border: 1px solid #2194ff;
  color: #2194ff;
  width: auto;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0 0 0 40px;
}

.regular-popup p {
  color: #2194ff;
  margin: 0;
}

.whitespace-line h2 {
  display: inline-block;
  position: relative;
  width: 100%;
  margin: 30px 0 0 0;
}

.whitespace-line h2::after {
  content: "";
  position: absolute;
  transform: translateY(-50%);
  width: -webkit-fill-available;
  top: 80%;
  height: 2px;
  background-color: #cbd3d6;
  margin-left: 10px;
}

.whitespace-line-dl {
  display: inline-block;
  position: relative;
  width: 100%;
  margin: 30px 0 0 0;
}

.whitespace-line-dl::after {
  content: "";
  position: absolute;
  transform: translateY(-50%);
  width: -webkit-fill-available;
  top: 80%;
  height: 2px;
  background-color: #cbd3d6;
  margin-left: 10px;
}

/* #Betalingsgegevens */

.syn_custom_checkout {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

/* temp? */
.sa_billing_addresses_container {
  display: none;
}

.woocommerce-billing-fields__field-wrapper {
  padding: 0;
}

#syn_page_afrekenen #mysticky-wrap,
#syn_page_afrekenen .mysticky-welcomebar-fixed,
#syn_page_afrekenen header,
#syn_page_deelnemer header,
#syn_page_deelnemer .mysticky-welcomebar-fixed {
  display: none;
}

.order-left {
  background-color: #f7f7f7;
  width: 60%;
  padding: 30px 20px;
}

.order-right {
  width: 37%;
}

.woocommerce-billing-fields__field-wrapper {
  background-color: transparent !important;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  float: none;
  margin-bottom: 20px;
}

.bestelling-1,
.bestelling-2 {
  border: 10px solid #f7f7f7;
  padding: 20px;
}

.bestelling-2 {
  margin-top: 20px;
}

.syn_radio {
  accent-color: #ff3521;
  color: black;
}

.syn_radio_out {
  padding: 10px;
  display: inline;
  margin-right: 20px;
  background-color: #ffffff;
  color: black;
  border: 1px solid #cbd3d6;
}

.syn_radio_out:has(.syn_radio:checked) {
  background-color: #fff2f1;
  border: 1px solid #e40429;
}

.syn_radio_out:has(.syn_radio:checked) label {
  color: #e40429;
}

.syn_radio_out_bedrijf {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  margin-right: 20px;
  background-color: #ffffff;
  color: black;
  width: 100px;
  border: 1px solid #cbd3d6;
  height: fit-content;
}

.syn_radio_out_bedrijf:has(.syn_radio:checked) {
  background-color: #fff2f1;
  border: 1px solid #e40429;
}

.syn_radio_out_bedrijf:has(.syn_radio:checked) label {
  color: #e40429;
}

.syn_radio_out_bedrijf:first-child {
  margin-bottom: 20px;
}

#syn_page_winkelmand .woocommerce .cart-row {
  display: flex;
  flex-direction: row;
  /* row layout */
}

/* Make the cart form take most of the width */
#syn_page_winkelmand .woocommerce .woocommerce-cart-form {
  flex: 1;
}

.woocommerce-message,
.woocommerce-info {
  border: 1px solid #2194ff;
  background-color: #d7f1ff;
  color: #2194ff;
  margin: 20px 0 0 0;
  font-weight: 500;
}

.woocommerce-error {
  background-color: #ffdddd;
  border: 1px solid #af0505;
  color: #af0505;
  font-weight: 500;
}

.woocommerce-message.success {
  border: 1px solid #30715a;
  background-color: #f1f8f5;
  color: #30715a;
  margin: 20px 0 0 0;
  font-weight: 500;
}

#syn_page_winkelmand .woocommerce-info::before,
#syn_page_winkelmand .woocommerce-message::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f058";
  display: inline-block;
  position: absolute;
  top: 1em;
  left: 1.5em;
  color: #2194ff;
}

.woocommerce-info::before,
.woocommerce-message::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f058";
  display: inline-block;
  position: absolute;
  top: 1em;
  left: 1.5em;
  color: #2194ff;
}

.woocommerce-error::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f06a";
  display: inline-block;
  position: absolute;
  top: 1em;
  left: 1.5em;
  color: #af0505;
}

.woocommerce-message.success::before {
  font-family: "Font Awesome 5 Pro";
  content: "\f058";
  display: inline-block;
  position: absolute;
  top: 1em;
  left: 1.5em;
  color: #30715a;
}

/*Temp fix*/
.woocommerce-message .wc-forward {
  display: none !important;
}

.syn-order-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.syn-order-l {
  width: 750px;
  height: fit-content;
  border: 10px solid #f7f7f7;
  padding: 20px;
  background-color: #f7f7f7;
}

.syn-order-l h2 {
  margin: 0;
}

.syn-order-r {
  width: 520px;
  height: fit-content;
  border: 10px solid #f7f7f7;
  padding: 20px;
}

.syn-order-prijs {
  width: 230px;
  background-color: #30715a;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 10px;
  margin: 25px 0;
}

.syn-order-basisgeg {
  display: flex;
  gap: 100px;
  margin-bottom: 30px;
}

.crs-deelnemers-container:last-of-type {
  border-bottom: none;
}

/* Active step */
.steps .icon.active {}

/* Completed step */
.steps .icon.completed {
  background-color: #212529;
  color: white;
}

/* Disabled step */
.steps .icon.disabled span {
  color: #a6b4ba;
  opacity: 0.5;
}

.steps .icon.disabled p {
  color: #a6b4ba;
}

.steps .icon.disabled {
  border: 3px solid #a6b4ba;
}

/* Disabled connector */
.steps .connector.disabled {
  background-color: #a6b4ba;
  opacity: 0.5;
}

button#place_order {
  background-color: #ff3521;
  padding: 20px 32px;
  border-radius: 8px;
}

#billing_first_name_field,
#billing_last_name_field {
  background-color: #f7f7f7 !important;
  pointer-events: none;
  display: none;
}

#billing_email {
  background-color: #f7f7f7 !important;
  pointer-events: none;
}

.wc_payment_method {
  display: none;
}

.woocommerce form .form-row {
  position: relative;
}

.woocommerce form .form-row.woocommerce-validated input.input-text,
.woocommerce form .form-row.woocommerce-validated select,
.woocommerce form .form-row.woocommerce-validated .select2-container:not(.select2-container--open) .select2-selection {
  background-color: #F0F8F4;
  border-color: #30715A;
}

.select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: normal;
  box-sizing: border-box;
  color: var(--wc-form-color-text, #444);
  font-weight: 400;
}

.woocommerce form .form-row.woocommerce-validated::after {
  font-family: "Font Awesome 5 Pro";
  font-weight: 500;
  content: "\f058";
  color: #28a745;
  position: absolute;
  right: 50px;
  top: 72%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1em;
}

.woocommerce-cart .cart-collaterals .cart_totals table th {
  width: 70%;
}

.rrn-label {
  font-weight: bold;
}

.woocommerce-notices-wrapper:focus-visible,
.woocommerce-error:focus-visible,
.woocommerce-message:focus-visible {
  outline: none !important;
}

#syn_page_mijn-account .woocommerce-error strong {
  display: none;
}

#syn_page_mijn-account .woocommerce-notices-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

#syn_page_mijn-account .woocommerce-error {
  width: 92%;
}

@media (max-width: 990px) {
  #syn_page_winkelmand .woocommerce .cart-row {
    display: flex;
    flex-direction: column;
  }

  .woocommerce-cart-form {
    flex: 0 0 75%;
    padding-right: 0;
  }

  .syn-order-container {
    flex-direction: column;
  }

  .syn-order-l {
    width: auto;
  }

  .syn-order-r {
    width: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
  }

}

@media (max-width: 768px) {

  .deelnemer-left {
    width: 100% !important;
  }

  .deelnemer-right {
    width: 375px;
  }

  .order-right,
  .order-left {
    width: fit-content;
  }

  .syn-order-cont {
    flex-direction: column-reverse;
  }

  .crs-deelnemers-container {
    flex-direction: column-reverse !important;
  }

  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td {
    display: inline-block;
    text-align: left !important;
  }

  .woocommerce table.shop_table_responsive tr td::before,
  .woocommerce-page table.shop_table_responsive tr td::before,
  .woocommerce table.shop_table_responsive tr td::before,
  .woocommerce-page table.shop_table_responsive tr td::before {
    display: none;
  }

  .product-price {
    margin: 0;
    height: 200px;
  }

  .cartSteps-items {
    font-size: 1.3rem;
  }

  .woocommerce button[name="update_cart"],
  .woocommerce input[name="update_cart"] {
    display: none !important;
  }

  .woocommerce table.shop_table_responsive tr,
  .woocommerce-page table.shop_table_responsive tr {
    display: flex;
    justify-content: space-between;
    padding: 10px;
  }

  #syn_page_winkelmand .woocommerce table.shop_table td {
    border-top: 0;
    padding: 0;
  }

  .woocommerce table.shop_table_responsive tbody th,
  .woocommerce-page table.shop_table_responsive tbody th {
    display: block;
  }
}

/* Select2 Dropdown Height Fix */
.select2-container .select2-selection--single {
  height: 45px !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 4px !important;
  border: 1px solid #ccc !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: normal !important;
  padding-left: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 43px !important;
  top: 1px !important;
}

/* Custom alignment for billing address fields */
#billing_address_1_field {
  width: 74% !important;
  float: left !important;
  clear: left !important;
}

#billing_address_2_field {
  width: 24% !important;
  float: right !important;
  clear: none !important;
}

/* Clearfix for the fields wrapper so layout doesn't break */
.woocommerce-billing-fields__field-wrapper::after {
  content: "";
  display: table;
  clear: both;
}

.woocommerce-terms-and-conditions-wrapper .breadcrumbs {
    display: none;
}