.container {
    max-width: 1200px;
    padding: 0 20px;
}

.cart-header {
    border-bottom: 2px solid #ffffff; 
    margin-bottom: 30px;
}

.cart-header h1 {
    font-size: 28px;
    color: #ffffff;
    font-weight: 500;
}

.cart-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* 商品列表样式 */
.cart-items {
    background: rgba(255, 255, 255, 0.07);
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid white;
}

.item-image img {
    width: 100%;
    border-radius: 4px;
}

.item-info h3 {
    font-size: 16px;
    color: #e1b257;
    margin-bottom: 8px;
}

.item-sku {
    color: #95A5A6;
    font-size: 13px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    background: #e7185c;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.quantity-btn:hover {
    border-color: #e7185c;
    color: #d2b10a;;
}

.item-price {
    font-weight: 500;
    color: #e7185c;
    min-width: 100px;
    text-align: right;
}

/* 结算面板 */
.checkout-panel {
    background: rgba(255, 255, 255, 0.07);
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.summary-item {
    color: #e7185c;
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    padding: 10px 0;
    border-bottom: 1px solid #ffffff;;
}

.total-price {
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
}

.checkout-btn {
    outline: none;
    margin-top: 2%;
    align-items: center;
    align-content: center;
    text-align: center;
    width: 100%;
    height: 40px;
    border-radius: 18px 18px 18px 18px;
    border: none;
    background-color: rgb(231, 24, 92);
    box-shadow: 0 0 1px 0 rgb(255, 255, 255);
    color: #ffffff;
    font-size: 18px;
}

.checkout-btn:hover {
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .cart-wrapper {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .item-image {
        grid-row: 1;
    }

    .item-price {
        text-align: left;
    }
}