* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

h1 {
    font-size: 36px;
    color: #1e293b;
    margin-bottom: 30px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
}

.item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

.item-details h3 {
    margin-bottom: 5px;
    color: #1e293b;
}

.item-price {
    font-size: 18px;
    font-weight: 600;
    color: #fe5900;
}

.item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-qty input {
    width: 60px;
    padding: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
}

.btn-remove {
    padding: 8px 16px;
    background: #fe5900;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cart-summary {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    position: sticky;
    top: 20px;
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 16px;
}

.summary-total {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    border-top: 2px solid #e2e8f0;
    padding-top: 15px;
    margin-top: 15px;
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: #fe5900;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
}

.checkout-btn:hover {
    background: #c44119;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
}