.custom-cart-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.custom-cart-item {
    display: flex;
    flex-direction: row;
    gap: 12px;
    position: relative;
    background-color: #FAFAFA;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 14px;
}

.custom-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none !important;
    border: none !important;
    color: #191817 !important;
    font-size: 14.01px !important;
    font-weight: 700;
    cursor: pointer;
}


.custom-remove-btn:hover {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none !important;
    border: none !important;
    color: #191817 !important;
    cursor: pointer;
}

.custom-product-image {
    flex: 0 0 auto;
    max-width: 100px;
    max-height: 100px;
}

.custom-product-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.custom-product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0px;
}

.custom-product-name {
    font-size: 15.6px;
    font-weight: 400;
    font-family: "Futura book test", sans-serif;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #191817 !important;
}

.custom-product-price {
    font-size: 16.2px;
    color: #191817;
    font-family: "Futura medium test 2", sans-serif;
    font-weight: 400;
    letter-spacing: 0.2px;
    position: absolute;
    bottom: 15px;
    right: 24px;
}

.elementor-widget-woocommerce-cart table.woocommerce-cart-form__contents,
.elementor-widget-woocommerce-cart .product-quantity,
.custom-product-quantity,
.elementor-widget-woocommerce-cart .actions {
    display: none !important;
}

.e-cart__column-end {
    width: 100% !important;
}

.custom-product-variations {
    font-size: 12.9px;
    font-family: "Futura medium test 2", sans-serif;
    letter-spacing: 0.2px;
    color: #686868;
    font-weight: 400;
    margin-top: 2px;
    list-style: none;
    padding-left: 0;
}

.woocommerce-cart-form__cart-item .product-remove a {
    color: #565656 !important;
}

.woocommerce-cart-form__cart-item .product-remove a:hover {
    color: #565656 !important;
    background: none !important;
}

.e-cart__container {
    gap: 120px !important;
}

@media (max-width: 767px) {
    .custom-product-image {
        max-width: 90px;
        max-height: 90px;
    }

    .custom-product-name {
        font-size: 15px;
    }

    .custom-product-price {
        font-size: 15.5px;
    }
}





@media (max-width: 767px) {
  /* Forceer elke rij van de table naar flex layout */
  .woocommerce-cart .shop_table.shop_table_responsive tbody tr {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  /* Linkerkant: "BTW", "Totaalbedrag", etc. */
  .woocommerce-cart .shop_table.shop_table_responsive .cart-description {
    flex: 1 1 auto !important;
    text-align: left !important;
    justify-content: flex-start !important;
    display: flex !important;
    align-items: center !important;
    word-break: break-word !important;
  }

  /* Rechterkant: bedragen */
  .woocommerce-cart .shop_table.shop_table_responsive .cart-amount {
    flex: 0 0 auto !important;
    text-align: right !important;
    justify-content: flex-end !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
  }

  /* Voorkom Woo styles die de layout breken */
  .woocommerce-cart .shop_table.shop_table_responsive td {
    width: auto !important;
    float: none !important;
    display: block !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}






/* Properly Align the Table Rows */
.shop_table tbody tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Beschrijvingen (Incl. BTW, Totaalbedrag, Gratis bezorging) - LEFT aligned */
.cart-description {
    text-align: left !important;
    font-weight: 400;
    flex: 1;
    display: flex;
    justify-content: flex-start; /* Force left alignment */
}

/* Amounts (Prices) - RIGHT aligned */
.cart-amount {
    flex: 1;
    text-align: right !important;
    display: flex;
    justify-content: flex-end !important; /* Force right alignment */
}

/* Styling for Totaal btw */
.cart-btw-label {
    font-size: 7.2x !important;
    font-family: "Futura book test", sans-serif;
    letter-spacing: 1.6px !important;
    font-weight: 400;
    color: #191817;
}

/* Styling for Incl. BTW Price */
.custom-btw-price {
    font-family: "Futura book test", sans-serif !important;
    font-size: 13.3px !important;
    letter-spacing: 0.2px !important;
    font-weight: 400;
    color: #191817 !important;
}

/* Styling for Totaalbedrag */
.cart-total-label {
    font-size: 17px !important;
    font-family: "Futura medium test 2", sans-serif;
    font-weight: 400;
    letter-spacing: 0.3px;
    color: #191817 !important;
}

/* Styling for Totaalbedrag Price */
.custom-total-price {
    font-size: 17px !important;
    font-weight: 600;
    color: #191817 !important;
}

/* Divider line between Totaalbedrag and Gratis bezorging */
.cart-divider {
    border: none;
    border-top: 1px solid #E5E5E5;
    margin-top: 10px !important;
    width: 100%;
}



/* WooCommerce Standard Table Fixes */
.shop_table td, .shop_table th {
    padding: 3px 0px !important;
}

/* Fix Elementor or WooCommerce Overriding Alignment */
.woocommerce table.shop_table tbody tr td {
    text-align: inherit !important;
}

/* Stijl de betaalmethode afbeeldingen */
.custom-payment-methods {
    display: flex;
    justify-content: left;
    gap: 10px; /* Ruimte tussen de afbeeldingen */
    margin-top: 20px;
}

.custom-payment-methods img {
    width: 62px; /* Pas de grootte aan indien nodig */
    height: auto;
    display: block;
}




.wc-proceed-to-checkout {
    margin-top: 40px;
    width: 100% !important;
    padding: 0px !important; /* Links en rechts padding */
    box-sizing: border-box !important; /* Zorgt ervoor dat padding binnen de container blijft */
}

.wc-proceed-to-checkout .checkout-button {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
}





.custom-continue-shopping-button {
    display: block;
    text-align: center;
    font-family: "Futura medium test 2", sans-serif;
    font-weight: 400 !important;
    letter-spacing: 0.3px;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    background-color: #f3f3f3;
    color: #333;
    font-size: 17px;
    font-weight: 600;
    border-radius: 100px;
    border: 1.5px solid #191817;
    transition: all 0.3s ease;
    margin-top: 10px;
    background-color: #FFFFFF;
}

.custom-continue-shopping-button:hover {
    background-color: #191817;
    border-color: #191817;
    color: #FFFFFF !important;
}

.elementor-135 .elementor-element.elementor-element-ef8d574 .cart_totals h2 {
    margin-left: -1.2px;
}