.cart-page {
    padding: 40px 0 80px;
    min-height: 70vh;
    font-family: 'Arial', sans-serif;
}

.cart-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 20px;
}

.cart-header h1 {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    color: #333;
}

.cart-breadcrumb {
    font-size: 12px;
    color: #666;
    letter-spacing: 1px;
}

.cart-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.cart-breadcrumb a:hover {
    color: #333;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
    margin: 40px 0;
}

.empty-cart-content svg {
    opacity: 0.3;
    margin-bottom: 30px;
}

.empty-cart h2 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 15px;
}

.empty-cart p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.continue-shopping-btn {
    display: inline-block;
    background: #333;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.continue-shopping-btn:hover {
    background: #000;
}

.cart-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.cart-items-section {
    min-height: 400px;
}

.cart-items-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.items-count {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #333;
}

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

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 20px;
    padding: 0;
    background: none;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 30px;
    align-items: flex-start;
}

.cart-item-image {
    position: relative;
}

.cart-item-image img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    background: #f8f8f8;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-details h3 {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    color: #333;
    line-height: 1.4;
}

.cart-item-details .brand {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0;
}

.cart-item-details .variant {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.cart-item-details .price {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 8px 0 0 0;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
    justify-self: end;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e5e5e5;
    background: white;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    border: none;
    background: white;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    color: #666;
}

.quantity-controls button:hover:not(:disabled) {
    background: #f8f8f8;
}

.quantity-controls button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.quantity-controls .quantity {
    min-width: 40px;
    height: 30px;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    border: none;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn {
    background: none;
    color: #999;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 11px;
    text-decoration: underline;
    transition: color 0.2s;
    letter-spacing: 0.5px;
}

.remove-btn:hover {
    color: #333;
}

.cart-item-total {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: right;
    margin-top: 10px;
}

.cart-summary {
    position: sticky;
    top: 40px;
    height: fit-content;
}

.summary-card {
    background: #f8f8f8;
    padding: 30px;
    border: none;
}

.summary-card h3 {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #333;
}

.summary-details {
    margin-bottom: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 12px;
    color: #666;
}

.summary-row.total {
    border-top: 1px solid #e5e5e5;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.checkout-btn {
    width: 100%;
    background: #333;
    color: white;
    border: none;
    padding: 15px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 15px;
}

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

.continue-shopping-link {
    width: 100%;
    background: none;
    color: #666;
    border: 1px solid #e5e5e5;
    padding: 15px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    display: block;
    text-decoration: none;
}

.continue-shopping-link:hover {
    background: #f8f8f8;
    color: #333;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    background: #28a745;
}

.notification.error {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

    .cart-header h1 {
        font-size: 24px;
    }

    .cart-item {
        grid-template-columns: 100px 1fr;
        gap: 15px;
        padding-bottom: 20px;
    }

    .cart-item-image img {
        width: 100px;
        height: 130px;
    }

    .cart-item-controls {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #f0f0f0;
    }

    .cart-item-total {
        margin-top: 0;
        font-size: 14px;
    }

    .summary-card {
        position: static;
        padding: 20px;
    }

    .continue-shopping-btn {
        padding: 12px 25px;
        font-size: 11px;
    }
}
