.cart-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    width: fit-content;
    padding: 40px;
    margin: 0 auto;
}

/* My Items Card - extends sum-container */
.cart-items-card {
    flex: 1;
    min-width: 600px;
    max-width: none;
}

.cart-items-card .supplier-name {
    color: #2020B3;
}

/* Order Summary Card - Left Side */
.cart-summary-card {
    width: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 320px;
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0px 18px 39px 0px rgba(27, 22, 90, 0.1),
        0px 71px 71px 0px rgba(27, 22, 90, 0.09),
        0px 160px 96px 0px rgba(27, 22, 90, 0.05),
        0px 285px 114px 0px rgba(27, 22, 90, 0.01),
        0px 445px 125px 0px rgba(27, 22, 90, 0);
}

.cart-summary-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.cart-summary-title {
    font-size: 30px;
    font-weight: 500;
    line-height: 50px;
    color: #0B0427;
    text-align: right;
    margin: 0;
}

/* Total Row */
.cart-total-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
}

.cart-total-label {
    font-size: 24px;
    font-weight: 500;
    line-height: 18px;
    color: #0B0427;
    flex: 1;
    text-align: right;
}

.cart-total-value {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.cart-total-value .currency {
    font-size: 30px;
    font-weight: 500;
    line-height: 30px;
    color: #0B0427;
}

.cart-total-value .amount {
    font-size: 30px;
    font-weight: 600;
    line-height: 30px;
    color: #0B0427;
}

/* Coupon Section */
.cart-coupon-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
}

.cart-coupon-label {
    font-size: 24px;
    font-weight: 500;
    line-height: 18px;
    color: #0B0427;
    text-align: right;
    width: 100%;
    margin: 0;
}

.cart-coupon-input-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
}

.cart-coupon-input {
    flex: 1;
    height: 40px;
    border: 1px solid #DADADA;
    background-color: #fff;
    padding: 0 12px;
    font-size: 16px;
    text-align: right;
}

.cart-coupon-input:focus {
    outline: 1px solid #2020B3;
}

.cart-coupon-button {
    width: 84px;
    height: 40px;
    background-color: #f8f8f8;
    border: 1px solid #f8f8f8;
    font-size: 18px;
    font-weight: 600;
    line-height: 18px;
    color: #0B0427;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cart-coupon-button:hover {
    background-color: #e8e8e8;
}

/* Action Buttons */
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.cart-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 50px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    line-height: 34px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-button-primary {
    background-color: #2020B3;
    border: 2px solid #fff;
    color: #fff;
    box-shadow: 0 2.286px 7.429px 0 rgba(0, 0, 0, 0.16);
}

.cart-button-primary:hover {
    background-color: #1a1a99;
}

.cart-button-primary svg {
    width: 20px;
    height: 20px;
}

.cart-button-secondary {
    background-color: #fff;
    border: 2px solid #000;
    color: #000;
}

.cart-button-secondary:hover {
    background-color: #f8f8f8;
}

/* Mobile Responsive */
@media (max-width: 1200px) {
    .cart-container {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .cart-items-card {
        min-width: 100%;
    }

    .cart-summary-card {
        width: 100%;
        min-width: 100%;
        padding: 24px;
    }
}

@media (max-width: 768px) {
    main {
        width: 100%;
        padding: 0 20px;
    }

    .cart-container {
        padding: 20px 0;
        gap: 20px;

    }

    .cart-summary-card {
        padding: 20px 16px;
        border-radius: 16px;
        gap: 20px;
        z-index: 2;
    }

    .cart-summary-content {
        gap: 12px;
    }

    .cart-summary-title {
        font-size: 22px;
        line-height: 20px;
        padding: 0;
    }

    .cart-total-value {
        font-size: 16px;
        padding: 4px 16px;
        background-color: #F8F8F8;
        border-radius: 51px;
    }

    .cart-total-label {
        font-size: 16px;
    }

    .cart-total-value .currency,
    .cart-total-value .amount {
        font-size: 16px;
    }

    .cart-coupon-label {
        font-size: 18px;
    }

    .cart-coupon-input-row {
        flex-direction: row;
        gap: 12px;
    }

    .cart-coupon-input {
        width: 100%;
    }

    .cart-coupon-button {
        width: 84px;
        height: 40px;
    }
}
