/* RESET */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top, #132400, #050505 45%, #000);
    color: #fff;
    min-height: 100vh;
}

/* HEADER */
.header{
    height: 100px;
    padding: 0 60px;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(200,255,0,0.15);
}

.logo{
    font-weight: 900;
    font-size: 34px;
    letter-spacing: 7px;
    color: #000;
    text-decoration: none;
    text-shadow:
        0 0 5px #c8ff00,
        0 0 15px #c8ff00,
        0 0 35px #9cff00,
        0 0 70px rgba(156,255,0,0.8);
    animation: neonPulse 2s infinite alternate;
}

@keyframes neonPulse{
    0%{
        text-shadow:
            0 0 5px #c8ff00,
            0 0 15px #c8ff00,
            0 0 35px #9cff00;
    }

    100%{
        text-shadow:
            0 0 12px #c8ff00,
            0 0 25px #c8ff00,
            0 0 60px #9cff00;
    }
}

/* CART SECTION */
.cart-section{
    padding: 70px 8%;
}

.cart-title{
    text-align: center;
    margin-bottom: 60px;
}

.cart-title span{
    color: #c8ff00;
    letter-spacing: 6px;
    font-weight: 800;
}

.cart-title h1{
    font-size: 60px;
    margin: 15px 0;
}

.cart-title p{
    color: #bdbdbd;
    font-size: 18px;
}

/* LAYOUT */
.cart-container{
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 35px;
}

.cart-products{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* CART ITEM */
.cart-item{
    background: linear-gradient(135deg, rgba(12,12,12,0.95), rgba(20,35,0,0.9));
    border: 1px solid rgba(200,255,0,0.35);
    border-radius: 28px;
    padding: 25px;

    display: grid;
    grid-template-columns: 120px 1fr 120px 90px 45px;
    align-items: center;
    gap: 22px;

    box-shadow:
        0 0 25px rgba(200,255,0,0.08),
        inset 0 0 18px rgba(200,255,0,0.04);
}

.cart-item img{
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 22px;
    border: 1px solid rgba(200,255,0,0.45);
}

.item-info h3{
    color: #c8ff00;
    font-size: 25px;
    margin-bottom: 8px;
}

.item-info p{
    color: #ccc;
    margin-bottom: 8px;
}

.item-info span{
    font-weight: bold;
}

/* QUANTITY */
.quantity{
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity button,
.remove-btn{
    border: 1px solid #c8ff00;
    background: #000;
    color: #c8ff00;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.quantity button{
    width: 35px;
    height: 35px;
    font-size: 20px;
}

.remove-btn{
    width: 40px;
    height: 40px;
    font-size: 24px;
}

.quantity button:hover,
.remove-btn:hover{
    background: #c8ff00;
    color: #000;
    box-shadow: 0 0 20px #c8ff00;
}

.item-total{
    color: #c8ff00;
    font-size: 23px;
    font-weight: bold;
}

/* SUMMARY */
.cart-summary{
    background: linear-gradient(145deg, #050505, #101f00);
    border: 1px solid rgba(200,255,0,0.45);
    border-radius: 30px;
    padding: 35px;
    height: fit-content;
    position: sticky;
    top: 30px;

    box-shadow:
        0 0 40px rgba(200,255,0,0.12),
        inset 0 0 20px rgba(200,255,0,0.04);
}

.cart-summary h2{
    font-size: 32px;
    margin-bottom: 35px;
    color: #c8ff00;
}

.summary-line,
.summary-total{
    display: flex;
    justify-content: space-between;
    margin-bottom: 22px;
    font-size: 19px;
}

.summary-total{
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 25px;
    font-size: 27px;
    color: #c8ff00;
}

/* BUTTONS */
.checkout-btn,
.invoice-btn{
    width: 100%;
    padding: 17px;
    border-radius: 40px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 15px;
    transition: 0.3s;
}

.checkout-btn{
    background: #c8ff00;
    color: #000;
    border: none;
}

.checkout-btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 0 25px #c8ff00;
}

.invoice-btn{
    background: transparent;
    color: #c8ff00;
    border: 1px solid #c8ff00;
}

.invoice-btn:hover{
    background: #c8ff00;
    color: #000;
}

/* EMPTY CART */
.empty,
.empty-cart{
    text-align: center;
    color: #c8ff00;
    font-size: 26px;
    padding: 60px;
    border: 1px dashed rgba(200,255,0,0.4);
    border-radius: 25px;
}

/* MOBILE */
@media(max-width: 900px){

    .header{
        padding: 0 25px;
    }

    .logo{
        font-size: 26px;
    }

    .cart-container{
        grid-template-columns: 1fr;
    }

    .cart-title h1{
        font-size: 42px;
    }

    .cart-item{
        grid-template-columns: 90px 1fr;
    }

    .cart-item img{
        width: 90px;
        height: 90px;
    }

    .quantity,
    .item-total,
    .remove-btn{
        grid-column: 2;
    }
}