.cart-page{
    max-width:900px;
    margin:20px auto;
    padding:15px;
}

.cart-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.cart-header h2{
    margin:0;
    font-size:28px;
    font-weight:700;
}

.cart-header span{
    background:#eef3ff;
    color:#2563eb;
    padding:8px 14px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.cart-card{
    background:#fff;
    border-radius:20px;
    padding:15px;
    display:flex;
    gap:15px;
    align-items:center;
    margin-bottom:15px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.cart-image{
    width:100px;
    height:100px;
    border-radius:15px;
    overflow:hidden;
    background:#f5f5f5;
    flex-shrink:0;
}

.cart-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.cart-info{
    flex:1;
}

.cart-info h4{
    margin:0 0 8px;
    font-size:18px;
}

.cart-info p{
    margin:0;
    color:#666;
}

.cart-price{
    margin-top:10px;
    font-size:24px;
    font-weight:700;
    color:#2563eb;
}


@media(max-width:768px){

.cart-card{
    padding:12px;
}

.cart-image{
    width:80px;
    height:80px;
}

.cart-price{
    font-size:20px;
}

.cart-header h2{
    font-size:22px;
}

}

.cart-title{
    font-size:24px;
    font-weight:700;
    margin-bottom:8px;
}

.cart-variant{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:10px;
}

.variant-badge{
    background:#eef4ff;
    color:#2563eb;
    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:600;
}

.cart-variant{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin:10px 0;
}

.variant-badge{
    display:flex;
    align-items:center;
    gap:6px;
    background:#eef4ff;
    color:#2563eb;
    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:600;
}

.variant-badge svg{
    width:14px;
    height:14px;
}

.cart-meta{
    margin-top:8px;
    color:#64748b;
}

.cart-meta span{
    display:flex;
    align-items:center;
    gap:6px;
}

.cart-actions{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:15px;
}

.qty-btn{
    width:34px;
    height:34px;
    border:none;
    border-radius:10px;
    background:#eef2ff;
    cursor:pointer;
    font-weight:700;
}

.qty-number{
    min-width:24px;
    text-align:center;
    font-weight:700;
}

.remove-btn{
    margin-left:auto;
    width:38px;
    height:38px;
    border:none;
    border-radius:10px;
    background:#fee2e2;
    color:#dc2626;
    cursor:pointer;
}


.cart-card{
    display:flex;
    align-items:flex-start;
    gap:15px;
}

.cart-check{
    margin-top:40px;
}

.cart-checkbox{
    width:18px;
    height:18px;
}

.cart-footer{
    position:sticky;
    bottom:90px;
    background:#fff;
    border-radius:20px;
    padding:15px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.cart-total span{
    display:block;
    color:#64748b;
    font-size:13px;
}

.cart-total strong{
    font-size:24px;
    color:#2563eb;
}

.checkout-btn{
    border:none;
    background:linear-gradient(
        135deg,
        #2563eb,
        #4f86ff
    );
    color:#fff;
    padding:14px 30px;
    border-radius:14px;
    font-weight:700;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:8px;
}

.delete-modal{

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.4);

    display:none;

    align-items:center;
    justify-content:center;

    z-index:9999;
}

.delete-modal.show{

    display:flex;
}

.delete-box{

    width:320px;

    background:#fff;

    border-radius:20px;

    padding:24px;

    text-align:center;
}

.delete-actions{

    display:flex;

    gap:10px;

    margin-top:20px;
}

.delete-actions button{

    flex:1;

    height:44px;

    border:none;

    border-radius:12px;

    cursor:pointer;
}

#confirmDelete{

    background:#ef4444;
    color:#fff;
}

.login-required{
    max-width:450px;
    margin:80px auto;
    background:#fff;
    border-radius:24px;
    padding:40px;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.login-required h3{
    font-size:32px;
    font-weight:700;
    line-height:1.3;
    margin:15px 0 10px;
}

.login-required p{
    max-width:320px;
    line-height:1.7;
    color:#64748b;
    margin-bottom:25px;
}

.login-btn{
    min-width:180px;
    height:50px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#2563eb;
    color:#fff;

    border-radius:14px;

    text-decoration:none;
    font-weight:700;
}

.login-required *{
    display:block;
}

.login-image{
    width:250px;
    height:auto;
    margin-bottom:25px;
    object-fit:contain;
    position:relative;
    z-index:2;

    animation:
    floatImage 4s ease-in-out infinite,
    glowPulse 3s ease-in-out infinite;

    filter:
    drop-shadow(0 0 15px rgba(37,99,235,.25))
    drop-shadow(0 0 30px rgba(37,99,235,.15));
}

.cart-login-required{
    max-width:450px;
    margin:60px auto;
    background:#fff;
    border-radius:24px;
    padding:40px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

    display:flex;
    flex-direction:column;
    align-items:center;
}

.login-required{
    position:relative;
    overflow:hidden;
}

.login-required::before{
    content:'';
    position:absolute;

    width:280px;
    height:280px;

    background:
    radial-gradient(
        circle,
        rgba(37,99,235,.18),
        transparent 70%
    );

    top:40px;
    left:50%;

    transform:translateX(-50%);

    animation:
    glowMove 5s ease-in-out infinite;

    z-index:1;
}

@keyframes floatImage{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-12px);
    }

    100%{
        transform:translateY(0);
    }

}

@keyframes glowPulse{

    0%{
        filter:
        drop-shadow(0 0 10px rgba(37,99,235,.2))
        drop-shadow(0 0 20px rgba(37,99,235,.1));
    }

    50%{
        filter:
        drop-shadow(0 0 25px rgba(37,99,235,.45))
        drop-shadow(0 0 45px rgba(37,99,235,.25));
    }

    100%{
        filter:
        drop-shadow(0 0 10px rgba(37,99,235,.2))
        drop-shadow(0 0 20px rgba(37,99,235,.1));
    }

}

@keyframes glowMove{

    0%{
        transform:
        translateX(-50%)
        scale(1);
    }

    50%{
        transform:
        translateX(-50%)
        scale(1.15);
    }

    100%{
        transform:
        translateX(-50%)
        scale(1);
    }

}

.login-required::after{
    content:'';
    position:absolute;
    inset:0;

    background-image:
    radial-gradient(circle,#2563eb 2px,transparent 2px),
    radial-gradient(circle,#60a5fa 2px,transparent 2px);

    background-size:
    120px 120px,
    180px 180px;

    opacity:.15;

    animation:
    particleMove 12s linear infinite;

    pointer-events:none;
}

@keyframes particleMove{

    from{
        background-position:
        0 0,
        0 0;
    }

    to{
        background-position:
        120px 120px,
        -180px 180px;
    }

}

@media(max-width:768px){

    .login-required{

        width:calc(100% - 60px);

        max-width:none;

        margin:20px auto 100px;

        padding:30px 20px;
    }

}


.required{
    color:#ef4444;
}