.cart-content {
    padding: 80px 0;
    min-height: 60vh;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.empty-cart {
    text-align: center;
    padding: 80px 40px;
}

.empty-cart p {
    font-size: 20px;
    color: var(--mid-grey);
    margin-bottom: 30px;
}

.cart-item {
    display: grid;
    grid-template-columns: 150px 1fr auto auto;
    gap: 30px;
    padding: 30px;
    background: white;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    align-items: center;
}

.cart-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.cart-item-details h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--graphite);
}

.cart-item-price {
    font-size: 18px;
    color: var(--mid-grey);
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-item-quantity button {
    width: 35px;
    height: 35px;
    border: 1px solid var(--graphite);
    background: white;
    color: var(--graphite);
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.cart-item-quantity button:hover {
    background: var(--graphite);
    color: white;
}

.cart-item-quantity span {
    font-size: 18px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.cart-item-total {
    text-align: right;
}

.cart-item-total p {
    font-size: 22px;
    font-weight: 600;
    color: var(--graphite);
    margin-bottom: 15px;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--mid-grey);
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
}

.remove-btn:hover {
    color: #c41e3a;
}

.cart-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.cart-summary {
    background: #F5F3F0;
    padding: 40px;
    border-radius: 4px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-grey);
    font-size: 16px;
}

.summary-row.total {
    border-bottom: none;
    border-top: 2px solid var(--graphite);
    margin-top: 15px;
    padding-top: 25px;
    font-size: 24px;
    font-weight: 600;
    color: var(--graphite);
}

@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    
    .cart-sidebar {
        position: static;
    }
    
    .cart-item {
        grid-template-columns: 120px 1fr;
        gap: 20px;
    }
    
    .cart-item-quantity,
    .cart-item-total {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cart-item img {
        margin: 0 auto;
    }
    
    .cart-item-quantity {
        justify-content: center;
    }
    
    .cart-item-total {
        text-align: center;
    }
}
