.cart-container {
    padding: 2rem 0;
}

.cart-header {
    margin-bottom: 2rem;
}

.cart-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Cart Items */
.cart-items {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom:10px;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.cart-item-attributes {
    font-size: 0.9rem;
    color: #6c757d;
}

.attribute-tag {
    display: inline-block;
    background-color: var(--light-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.cart-item-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: fit-content;
}

.quantity-control button {
    background: none;
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: var(--text-dark);
}

.quantity-control input {
    width: 50px;
    border: none;
    text-align: center;
    padding: 0.5rem 0;
}

.remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Summary */
.cart-summary {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
}

.summary-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.summary-row.total {
    border-top: 2px solid var(--border-color);
    padding-top: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.continue-btn {
    width: 100%;
    background-color: var(--accent);
    color: var(--secondary);
    border: none;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.continue-btn:hover {
    background-color: #c9a227;
}

/* Responsive */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        
    }
    .cart-summary {
        position: static;
        margin-top: 2rem;
    }
    .cart-header{
        margin-left: 10px;
    }
}