.cart-container {
    max-width: 1400px;
    margin: 0 auto;
}

.cart-items {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.cart-header {
    padding: 25px 30px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
    font-weight: 600;
    color: #374151;
    font-size: 18px;
}

.cart-item {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-checkbox {
    margin-right: 10px;
}

.item-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1e3a8a;
    cursor: pointer;
}

.item-image {
    width: 80px;
    height: 80px;
    background-color: #f3f4f6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex: 1;
    min-width: 0;
}

.item-details h3 {
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 8px;
    line-height: 1.4;
}

.item-variant {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 4px;
}

.item-original-price {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 8px;
}

.item-discount {
    background-color: #dc2626;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.item-price-section {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.item-price {
    font-size: 16px;
    font-weight: 600;
    color: #1e3a8a;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    background-color: white;
}

.qty-btn {
    background-color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: #374151;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s;
}

.qty-btn:hover {
    background-color: #f3f4f6;
}

.qty-btn:disabled {
    color: #d1d5db;
    cursor: not-allowed;
}

.qty-input {
    border: none;
    padding: 8px 12px;
    width: 50px;
    text-align: center;
    font-weight: 500;
    background-color: #f9fafb;
}

.remove-btn {
    color: #dc2626;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: 500;
}

.remove-btn:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

.item-total-price {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    min-width: 100px;
    text-align: right;
}

.cart-total {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #6b7280;
}

.total-row.final {
    border-top: 2px solid #e5e7eb;
    padding-top: 20px;
    margin-top: 25px;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
}

.checkout-btn {
    width: 100%;
    background-color: #1e3a8a;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 25px;
    transition: background-color 0.3s;
    text-decoration: none;
    display: block;
    text-align: center;
}

.checkout-btn:hover {
    background-color: #1e40af;
    color: white;
}

.continue-shopping {
    display: block;
    text-align: center;
    color: #1e3a8a;
    text-decoration: none;
    margin-top: 20px;
    font-weight: 500;
}

.continue-shopping:hover {
    color: #1e40af;
}

.empty-cart {
    text-align: center;
    padding: 80px 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.empty-cart h3 {
    font-size: 24px;
    color: #6b7280;
    margin-bottom: 15px;
}

.empty-cart p {
    color: #9ca3af;
    margin-bottom: 30px;
}

.shop-now-btn {
    background-color: #1e3a8a;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s;
}

.shop-now-btn:hover {
    background-color: #1e40af;
    color: white;
}

.breadcrumb {
    margin-bottom: 30px;
    color: #6b7280;
    font-size: 14px;
}

.breadcrumb a {
    color: #1e3a8a;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #1e40af;
}

.page-title {
    font-size: 32px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 40px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 15px;
    }

    .item-price,
    .item-quantity,
    .item-subtotal {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .cart-container {
        padding: 0 15px;
    }

    .cart-item {
        padding: 20px;
    }

    .cart-header {
        padding: 20px;
    }
}
