.panel{
background:#1b1f2a;
padding:25px;
border-radius:20px;
}

#productList{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
gap:20px;
margin-top:25px;
}

.product-card{

background:#252b38;
border-radius:18px;
padding:20px;

border:1px solid rgba(255,215,0,.15);

transition:.3s;

display:flex;
flex-direction:column;
align-items:center;

}

.product-card:hover{

transform:translateY(-6px);

box-shadow:0 15px 35px rgba(0,0,0,.35);

}

.product-card img{

width:170px;
height:170px;

object-fit:contain;

margin-bottom:15px;

}

.product-card h3{

color:#FFD700;
margin-bottom:10px;

text-align:center;

}

.product-card p{

margin:5px 0;
color:#ddd;

}

.product-card button{

width:100%;
margin-top:10px;

padding:12px;

border:none;
border-radius:10px;

cursor:pointer;

font-weight:bold;

}

.product-card button:first-of-type{

background:#FFD700;
color:#111;

}

.product-card button:last-of-type{

background:#ff4d4f;
color:white;

}

.modal{

position:fixed;
inset:0;

background:rgba(0,0,0,.7);

display:flex;
align-items:center;
justify-content:center;

}

.modal-content{

background:#1b1f2a;

padding:30px;

border-radius:20px;

width:500px;
max-width:95%;

}

.modal-content input,
.modal-content textarea{

width:100%;

padding:12px;

margin:10px 0;

border:none;

border-radius:10px;

background:#2b2f3a;

color:white;

}

.modal-content button{

width:100%;
margin-top:10px;

padding:14px;

border:none;

border-radius:10px;

font-weight:bold;

cursor:pointer;

}

#saveEditBtn{

background:#FFD700;
color:#111;

}

#closeModalBtn{

background:#ff4d4f;
color:white;

}