.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.cart-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cart-header h1 {
    font-family: "Boldonse", system-ui;
    font-size: 4rem;
    margin: 0 0 1rem 0;
    color: #1d1d1f;
}

.cart-header p {
    font-size: 1.3rem;
    color: #86868b;
    font-family: system-ui;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    margin-top: 3rem;
}

.cart-items {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cart-item {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e5e5e5;
    animation: fadeIn 0.5s ease;
    transition: 0.3s;
}

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

.item-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-name {
    font-family: "Boldonse", system-ui;
    font-size: 1.5rem;
    color: #1d1d1f;
    margin: 0 0 0.5rem 0;
}

.item-specs {
    font-family: system-ui;
    font-size: 0.95rem;
    color: #86868b;
    margin: 0;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f5f5f7;
    border-radius: 8px;
    padding: 0.5rem 1rem;
}

.quantity-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #0071e3;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: transform 0.2s ease;
}

.quantity-btn:hover {
    transform: scale(1.2);
}

.quantity-btn:disabled {
    color: #d2d2d7;
    cursor: not-allowed;
}

.quantity-value {
    font-family: system-ui;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    color: #d70015;
    font-family: system-ui;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.remove-btn:hover {
    background: #fff0f0;
}

.item-price {
    text-align: right;
    font-family: "Boldonse", system-ui;
    font-size: 1.3rem;
    color: #1d1d1f;
}

.cart-summary {
    background: #f5f5f7;
    border-radius: 20px;
    padding: 2rem;
    height: fit-content;
    position: sticky;
    top: 120px;
}

.summary-title {
    font-family: "Boldonse", system-ui;
    font-size: 1.8rem;
    margin: 0 0 1.5rem 0;
    color: #1d1d1f;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-family: system-ui;
    font-size: 1rem;
    color: #1d1d1f;
}

.summary-row.total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #d2d2d7;
    font-size: 1.3rem;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: #0071e3;
    color: white;
    border: none;
    border-radius: 12px;
    font-family: system-ui;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

.checkout-btn:disabled {
    background: #d2d2d7;
    cursor: not-allowed;
    transform: none;
}

.continue-shopping {
    display: inline-block;
    margin-top: 2rem;
    color: #0071e3;
    text-decoration: none;
    font-family: system-ui;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.continue-shopping:hover {
    color: #0077ed;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-cart-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.empty-cart h2 {
    font-family: "Boldonse", system-ui;
    font-size: 2rem;
    color: #1d1d1f;
    margin: 0 0 1rem 0;
}

.empty-cart p {
    font-family: system-ui;
    color: #86868b;
    margin-bottom: 2rem;
}

.shop-now-btn {
    display: inline-block;
    padding: 12px 35px;
    background: #0071e3;
    color: white;
    text-decoration: none;
    border-radius: 980px;
    font-family: system-ui;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.shop-now-btn:hover {
    background: #0077ed;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 113, 227, 0.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 968px) {
    .cart-content {
        grid-template-columns: 1fr;
    }
    .cart-summary {
        position: static;
    }
    .cart-header h1 {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .cart-item {
        flex-direction: column;
        gap: 1rem;
    }
    .item-image {
        width: 100%;
        height: 200px;
    }
    .item-price {
        text-align: left;
    }
    .cart-header h1 {
        font-size: 2.5rem;
    }
}