@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#0d1117;
    color:#fff;
}

/* ================= HEADER ================= */

.category-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
    background:#111827;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.logo{
    font-size:30px;
    font-weight:700;
}

.logo span{
    color:#00ff88;
}

.category-header button{
    padding:12px 24px;
    border:none;
    border-radius:12px;
    background:#00ff88;
    color:#111;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.category-header button:hover{
    transform:translateY(-3px);
}

/* ================= HERO ================= */

.hero{
    width:90%;
    max-width:1300px;
    margin:45px auto 25px;
}

.hero h1{
    font-size:48px;
    margin-bottom:10px;
}

.hero p{
    color:#a9b1bc;
    font-size:17px;
}

/* ================= TOOLBAR ================= */

.toolbar{
    width:90%;
    max-width:1300px;
    margin:auto;
    display:flex;
    gap:20px;
    margin-bottom:35px;
}

.toolbar input{
    flex:1;
    padding:16px;
    border:none;
    outline:none;
    border-radius:12px;
    background:#1f2937;
    color:white;
}

.toolbar select{
    width:220px;
    padding:16px;
    border:none;
    outline:none;
    border-radius:12px;
    background:#1f2937;
    color:white;
}

/* ================= GRID ================= */

.product-grid{
    width:90%;
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
    gap:28px;
    padding-bottom:70px;
}

/* ================= CARD ================= */

.product-card{
    background:#161b22;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    transition:.35s;
}

.product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 35px rgba(0,255,136,.18);
}

.product-card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.product-info{
    padding:20px;
}

.product-info h2{
    font-size:22px;
    margin-bottom:10px;
}

.product-category{
    color:#00ff88;
    margin-bottom:12px;
}

.price{
    font-size:22px;
    font-weight:700;
    margin-bottom:18px;
}

.buttons{
    display:flex;
    gap:10px;
}

.details-btn,
.buy-btn{
    flex:1;
    padding:12px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.details-btn{
    background:#2d3748;
    color:white;
}

.buy-btn{
    background:#00ff88;
    color:#111;
}

.details-btn:hover,
.buy-btn:hover{
    transform:translateY(-2px);
}

/* ================= EMPTY ================= */

.empty-state{
    display:none;
    text-align:center;
    padding:80px 20px;
}

.empty-state i{
    font-size:80px;
    color:#00ff88;
    margin-bottom:20px;
}

.empty-state h2{
    margin-bottom:10px;
}

.empty-state p{
    color:#aaa;
    margin-bottom:25px;
}

.empty-state button{
    padding:15px 28px;
    border:none;
    border-radius:12px;
    background:#00ff88;
    color:#111;
    cursor:pointer;
    font-weight:600;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

.category-header{
    flex-direction:column;
    gap:15px;
    padding:20px;
}

.toolbar{
    flex-direction:column;
}

.toolbar select{
    width:100%;
}

.hero h1{
    font-size:38px;
}

}
.category-card{
    text-decoration:none;
    color:white;
    display:block;
}

.category-card div{
    cursor:pointer;
}