

/*==================================================
TOAST NOTIFICATION FOR ADD TO CART
==================================================*/

#toast{
position:fixed;
top:25px;
right:25px;
display:flex;
align-items:center;
gap:15px;
min-width:340px;
max-width:450px;
padding:18px 20px;
background:#16a34a;
color:#fff;
border-radius:14px;
box-shadow:0 18px 45px rgba(0,0,0,.18);
font-size:15px;
font-weight:600;
z-index:99999;
opacity:0;
visibility:hidden;
transform:translateX(120%);
transition:.35s;
}

#toast.show{
opacity:1;
visibility:visible;
transform:translateX(0);
}

#toast.error{
background:#dc2626;
}

#toast.warning{
background:#f59e0b;
}

#toast.info{
background:#2563eb;
}

#toastIcon{
font-size:22px;
line-height:1;
}

#toastMessage{
flex:1;
}

#toastClose{
background:none;
border:none;
color:#fff;
font-size:24px;
cursor:pointer;
padding:0;
margin:0;
opacity:.85;
transition:.2s;
}

#toastClose:hover{
opacity:1;
transform:scale(1.15);
}

@media(max-width:768px){

#toast{
left:15px;
right:15px;
top:15px;
min-width:0;
max-width:none;
width:auto;
}

}

/*==================================================
CONFIRM MODAL
==================================================*/

.confirm-modal{
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,.45);
display:none;
justify-content:center;
align-items:center;
z-index:99998;
backdrop-filter:blur(4px);
}

.confirm-modal.show{
display:flex;
}

.confirm-box{
width:420px;
max-width:92%;
background:#fff;
border-radius:20px;
padding:30px;
box-shadow:0 25px 60px rgba(0,0,0,.25);
animation:confirmPop .25s ease;
}

@keyframes confirmPop{
from{
opacity:0;
transform:scale(.9);
}
to{
opacity:1;
transform:scale(1);
}
}





.confirm-box h2{
margin:0 0 15px;
font-size:28px;
color:#1f2937;
}

.confirm-box p{
margin:0 0 30px;
color:#6b7280;
line-height:1.6;
}

.confirm-buttons{
display:flex;
justify-content:flex-end;
gap:15px;
}

.confirm-cancel,
.confirm-ok{
height:46px;
padding:0 22px;
border:none;
border-radius:12px;
font-size:15px;
font-weight:600;
cursor:pointer;
transition:.2s;
}

.confirm-cancel{
background:#e5e7eb;
color:#374151;
}

.confirm-cancel:hover{
background:#d1d5db;
}

.confirm-ok{
background:#dc2626;
color:#fff;
}

.confirm-ok:hover{
background:#b91c1c;
}