.lb-checkout-cart-container {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    align-items: flex-start;
}

.lb-cart-items, .lb-cart-totals {
    background-color: #FFF;
    padding: 20px;
}

.lb-cart-items {
    flex: 7;
}

.lb-cart-totals {
    flex: 3;
}

/* Cart item styling */
.lb-cart-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #EFEFEA;
}

.lb-cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0px !important;
}

.lb-cart-item:first-child {
    padding-top: 15px;
}

.lb-cart-item-image {
    width: 120px;
    height: 120px;
    position: relative;
    overflow: visible;
    display: inline-block;
    vertical-align: top;
}

.lb-cart-item-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    display: block;
    z-index: 1;
}

.lb-cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lb-cart-item-top {
    display: flex;
    justify-content: space-between;
}

.lb-cart-item-info {
    flex: 1;
    padding-right: 1em;
}

.lb-cart-item-variations {
    display: flex;
    column-gap: 10px;
    margin: 5px 0;
    flex-wrap: wrap;
    row-gap: 0px;
}

.lb-cart-item-variation {
    font-size: 0.9em;
    color: #666;
}

.lb-cart-item-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.lb-cart-item-price {
    font-weight: bold;
    min-width: 80px;
    text-align: right;
    color: #000;
}

/* Quantity controls */
.quantity-selector {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.quantity-minus, .quantity-plus {
    padding: 5px 10px;
    font-size: 0.9em;
}

.quantity-minus {
    background: #099747 !important;
    color: #FFF !important;
    border-color: transparent !important;
}

.quantity-plus {
    background: #099747 !important;
    color: #FFF !important;
    border-radius: 0px;
    border-color: transparent !important;
}

input[type="number"] {
    width: 40px;
    height: 30px;
    text-align: center;
    border: none;
    font-size: 0.9em;
    background: #F5F5F5 !important;
    color: #000 !important;
}

/* Totals section styling */
.lb-cart-totals {
    background-color: #FFF;
    padding: 20px;
}

.lb-cart-totals-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 0px !important;
    color: #000;
}

.lb-cart-totals-row.total {
    border-top: 1px solid #EFEFEA;
    padding-top: 15px;
    border-bottom: none;
    font-size: 1.2em;
    font-weight: bold;
    color: #000;
}

/* Coupon styling */
.lb-coupon-form {
    margin: 20px 0;
}

.lb-coupon-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #EFEFEA;
    background: #F5F5F5;
    color: #000;
}

.lb-coupon-button {
    width: 100%;
    padding: 10px;
    background: #099747;
    border: none;
    color: #FFF;
    cursor: pointer;
    text-transform: uppercase;
}

.lb-checkout-button {
    display: block;
    width: 100%;
    padding: 18px 0;
    background: #099747;
    border: none;
    color: #FFF;
    font-weight: 700;
    font-size: 1.15em;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 20px;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.04em;
    box-shadow: none;
    transition: background 0.2s, color 0.2s;
}

.lb-checkout-button:hover {
    background: #08803D;
    color: #FFF;
    text-decoration: none !important;
}

.lb-remove-item {
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    color: #FFF;
    background: #099747;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 0 3px rgba(0,0,0,0.2);
    z-index: 10;
    transition: background 0.2s;
    margin: 0;
    padding: 0;
}

.lb-remove-item:hover {
    color: #FFF;
    background: #08803D;
    text-decoration: none !important;
}

.lb-cart-item-quantity-static {
    display: inline-block;
    min-width: 32px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 600;
    color: #099747;
    background: #F5F5F5;
    border-radius: 6px;
    padding: 6px 0;
    margin-right: 10px;
}

.lb-remove-item i {
    display: none;
}

.lb-remove-item:before {
    content: "×";
}

.lb-remove-item:hover {
    color: #FFF;
    background: #08803D;
    text-decoration: none !important;
}

.lb-remove-item .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 768px) {
    .lb-checkout-cart-container {
        flex-direction: column;
    }
    
    .lb-cart-items, .lb-cart-totals {
        width: 100%;
    }
    
    .lb-cart-item {
        display: flex;
        gap: 15px;
        padding: 15px 0;
        position: relative;
    }

    .lb-login-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .lb-login-button {
        width: 100%;
        text-align: center;
    }
    
    .lb-lost-password {
        text-align: center;
    }
}

/* Login styling */
.lb-returning-customer {
    margin: 20px 0;
    padding: 20px;
    background: #FFF;
}

.lb-login-toggle {
    color: #099747;
    text-decoration: underline;
    cursor: pointer;
}

.lb-toggle-login {
    display: inline-block;
    padding: 10px 20px;
    background: #099747;
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 10px;
}

.lb-toggle-login:hover {
    background: #08803D;
}

.lb-login-form {
    margin-top: 20px;
}

.lb-login-message {
    margin-bottom: 20px;
    color: #666;
}

.lb-login-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lb-form-row {
    display: flex;
    flex-direction: column;
}

.lb-form-row label {
    margin-bottom: 5px;
    color: #000;
    font-weight: 500;
}

.lb-form-row input {
    padding: 10px;
    border: 1px solid #EFEFEA;
    background: #F5F5F5;
    color: #000;
}

.lb-login-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.lb-login-button {
    padding: 10px 20px;
    background: #099747;
    color: #FFF;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.lb-login-button:hover {
    background: #08803D;
    text-decoration: none !important;
}

.lb-lost-password {
    color: #099747;
    text-decoration: underline;
}

.lb-lost-password:hover {
    color: #08803D;
}

.lb-cart-item-title {
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #000;
}

.lb-cart-item-variations {
    display: flex;
    column-gap: 10px;
    margin: 5px 0;
    flex-wrap: wrap;
    row-gap: 0px;
}

.lb-cart-item-variation {
    font-size: 0.9em;
    color: #666;
}

/* Cart header styling */
.lb-cart-header {
    display: flex;
    justify-content: space-between;
    padding: 0 0 15px 0;
    border-bottom: 1px solid #EFEFEA;
    font-weight: bold;
}

.lb-cart-header-product {
    flex: 1;
}

.lb-cart-header-controls {
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.lb-cart-header-quantity {
    width: 110px;
    text-align: center;
}

.lb-cart-header-price {
    min-width: 80px;
    text-align: right;
}

@media (max-width: 768px) {
    .lb-cart-header {
        display: none;
    }
} 

/* Wenskaart checkbox container */
.lb-wenskaart-option {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #EFEFEA;
}

/* Checkbox styling */
.lb-wenskaart-option input[type="checkbox"] {
    margin-right: 10px;
}

/* Label styling */
.lb-wenskaart-option label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
    margin-bottom: 0;
}

.lb-wenskaart-input button:hover, .lb-wenskaart-input input[type=button]:hover, .lb-wenskaart-input input[type=submit]:hover{
    border: 0px;
}

/* Input container styling */
.lb-wenskaart-input {
    margin-top: 15px;
}

.lb-wenskaart-input textarea {
    width: 100%;
    height: 60px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #EFEFEA;
    border-radius: 0px;
}

.lb-wenskaart-cancel {
    background: #EFEFEA;
    border: none;
    padding: 8px 15px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 0px;
}

.lb-wenskaart-add {
    background: #099747;
    color: #FFF;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 0px;
}

.textarea-container {
    position: relative;
    margin-bottom: 10px;
}

.char-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    color: #666;
} 

/* Coupon checkbox container */
.lb-coupon-option {
    border: 1px solid #EFEFEA;
    border-radius: 12px;
    padding: 18px 16px;
    background: #FFF;
    margin-bottom: 20px;
}

/* Checkbox styling */
.lb-coupon-option input[type="checkbox"] {
    margin-right: 10px;
}

/* Label styling */
.lb-coupon-option label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
    margin-bottom: 0;
}

/* Input container styling */
.lb-coupon-input-container {
    margin-top: 12px;
    display: none;
    border-radius: 8px;
    background: #F5F5F5;
    padding: 12px 10px 10px 10px;
}

.lb-coupon-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #EFEFEA;
    border-radius: 8px !important;
    background: #FFF;
    color: #000;
    font-size: 1em;
}

.lb-coupon-add, .lb-coupon-cancel {
    background: none !important;
    border: none !important;
    color: #099747 !important;
    font-weight: 700;
    border-radius: 0;
    padding: 0;
    margin: 0 18px 0 0;
    font-size: 1em;
    cursor: pointer;
    box-shadow: none !important;
    transition: color 0.2s;
    display: inline;
}

.lb-coupon-cancel {
    color: #666 !important;
}

.lb-coupon-add:hover {
    color: #08803D !important;
}

.lb-coupon-cancel:hover {
    color: #444 !important;
}

.lb-secure-shopping {
    text-align: center;
    margin-top: 15px;
    color: #666;
    font-size: 0.9em;
}

.lb-secure-shopping i {
    margin-right: 5px;
    color: #099747;
}

/* Shipping progress styling */
.lb-shipping-progress-wrapper {
    padding: 10px;
    margin: 10px 0;
    background: #f8f8f8;
    border-radius: 0px;
    border: 1px solid #efefef;
}

.lb-progress-bar-container {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: visible;
    position: relative;
    margin: 8px 0;
}

.lb-progress-bar {
    height: 100%;
    background: #f6b9c9;
    transition: width 0.3s ease;
    position: relative;
}

.lb-progress-bar i {
    position: absolute;
    right: -6px;
    top: -8px;
    font-size: 16px;
    color: #54274E;
    transform: scaleX(1);
}

.lb-shipping-text {
    text-align: center;
    font-size: 12px;
    color: #54274E;
    margin-top: 8px;
}

.lb-shipping-text strong {
    color: #54274E;
}

.lb-shipping-text i {
    margin-right: 4px;
    color: #f6b9c9;
}

/* Login popup styling */
.lb-login-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lb-login-popup-content {
    background: #fff;
    padding: 20px !important;
    max-width: 400px;
    width: 90%;
    position: relative;
}

.lb-login-popup-content h2 {
    color: #54274e;
    margin: 0 0 20px 0 !important;
    font-size: 24px;
    font-weight: normal;
}

.lb-login-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    color: #54274e;
}

.lb-form-row {
    margin-bottom: 15px;
}

.lb-form-row label {
    display: block;
    color: #54274e;
    margin-bottom: 5px;
    font-size: 14px;
}

.lb-form-row input {
    width: 100%;
    padding: 10px;
    border: 1px solid #eee;
    background: #fff;
}

.lb-login-button {
    width: 100%;
    padding: 12px;
    background: #e5ca5f;
    border: none;
    color: #54274e;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    margin: 15px 0 10px 0;
    font-size: 14px;
}

.lb-login-button:hover {
    background: #d4bc57;
}

.lb-lost-password {
    display: block;
    text-align: center;
    color: #54274e;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
}

.lb-lost-password:hover {
    text-decoration: underline;
}

/* Trigger styling */
.lb-login-popup-trigger {
    display: block;
    text-align: left;
    color: #54274e;
    font-size: 14px;
    margin: -10px 0 20px;
    cursor: pointer;
}

.lb-login-popup-trigger:hover {
    color: #F6B9C9;
}

@media screen and (max-width: 480px) {
    .lb-login-popup {
        width: 100%;
        right: -100%;
    }
}

.lb-login-popup-content .lb-checkout-form h2 {
    margin-top: 10px !important;
}