﻿.cart-hero {
    background: linear-gradient(135deg, #fa8c16 0%, #ff6b35 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
}

    .cart-hero h1 {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .cart-hero p {
        font-size: 1rem;
        margin-bottom: 0;
        opacity: 0.9;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.cart-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.cart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.cart-items {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.cart-summary {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    align-self: start;
}

.cart-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 20px 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

    .cart-item:hover {
        background-color: #f8f9fa;
    }

    .cart-item:last-child {
        border-bottom: none;
    }

.item-info {
    flex: 1;
}

.item-domain {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.item-details {
    color: #666;
    font-size: 0.9rem;
}

.year-selector {
    margin: 10px 0;
}

    .year-selector label {
        margin-right: 10px;
    }

    .year-selector select {
        padding: 5px 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 0.9rem;
    }

.item-price {
    font-weight: 700;
    color: #fa8c16;
    margin: 0 30px;
    min-width: 80px;
}

.remove-item {
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.cart-item:hover .remove-item {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.remove-item:hover {
    color: #ff4d4f;
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

    .summary-row.total {
        font-weight: 700;
        font-size: 1.2rem;
        color: #333;
        border-bottom: 2px solid #333;
        margin-top: 10px;
    }

.checkout-btn {
    display: block;
    width: 100%;
    background: #fa8c16;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    margin-top: 20px;
}

    .checkout-btn:hover {
        background: #e67d0e;
        transform: translateY(-2px);
        color: white;
        text-decoration: none;
    }

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #fa8c16;
    font-weight: 500;
    text-decoration: none;
}

    .continue-shopping:hover {
        text-decoration: none;
    }

.empty-cart {
    text-align: center;
    padding: 50px 0;
}

.empty-cart-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-cart-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.back-to-shopping {
    display: inline-block;
    background: #fa8c16;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .back-to-shopping:hover {
        background: #e67d0e;
        color: white;
        text-decoration: none;
        transform: translateY(-2px);
    }

@media (max-width: 768px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }

    .cart-hero h1 {
        font-size: 2.5rem;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-price {
        margin: 10px 0;
    }
}
