main {
    padding: 80px 20px 40px;
    max-width: 1000px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cart-items {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cart-items h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #cf4de3;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.cart-items .item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

.cart-items .item:last-child {
    border-bottom: none;
}

.cart-items .item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 20px;
}

.cart-items .item span:first-of-type {
    flex-grow: 1;
    font-size: 16px;
    color: #333;
}

.cart-items .item span:last-of-type {
    font-weight: bold;
    color: #000000;
    min-width: 80px;
    text-align: right;
}

.cart-summary {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    align-self: flex-end;
    width: 300px;
}

.cart-summary .item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #000000;
}

.cart-summary .total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 18px;
    font-weight: bold;
    color: #000000;
}

.payment-details {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 20px;
}

.payment-details h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #000000;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.payment-details label {
    display: block;
    margin: 15px 0 5px;
    color: #000000;
    font-size: 14px;
}

.payment-details input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

.payment-details input:focus {
    outline: none;
    border-color: #5c3d2e;
}

.payment-details br {
    display: none;
}

.payment-details .row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.payment-details .row > div {
    flex: 1;
}

.payment-details button {
    width: 100%;
    padding: 15px;
    background-color: #cf4de3;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.payment-details button:hover {
    background-color: #9923ab;
}

@media (max-width: 850px) {
    main {
        padding: 70px 15px 30px;
    }
    
    .cart-summary {
        width: 50%;
    }
    
    .payment-details .row {
        flex-direction: column;
        gap: 0;
    }
}