*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Montserrat',sans-serif;
     background:#0f172a;
    color:#e2e8f0;

}

/* HEADER */

.topbar{

    height:70px;

    background:#111827;


    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 50px;

    border-bottom:1px solid #1f2937;

}

.logo{

    font-size:28px;

    font-weight:600;
    color:#f8fafc;
}
.logo a{
    text-decoration: none;

    color:#f8fafc;
}

nav{

    display:flex;

    gap:30px;

}

nav a{

    text-decoration:none;

    color:#cbd5e1;

    font-size:12px;

    letter-spacing:1px;

} 
nav a:hover{
        color:#60a5fa;

}

.icons{

    font-size:18px;
    color:#f8fafc;

}

/* HERO */

.hero{

    height:250px;

    

    position:relative;

}

.overlay{

    background:rgba(0,0,0,.55);

    width:100%;

    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    color:#f8fafc;

}

.overlay h1{

    letter-spacing:3px;

    font-size:32px;

    margin-bottom:10px;

}

.overlay p{

    margin-bottom:15px;

    opacity:.9;

}

.breadcrumb{

    font-size:13px;
        color:#cbd5e1;


}

/* TOOLBAR */

.toolbar{

     background:#111827;

    border-top:1px solid #1f2937;

    border-bottom:1px solid #1f2937;

    padding:20px 50px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.filters{

    display:flex;

    gap:10px;

}

.filters select{


    padding:10px;

    background:#1e293b;

    color:#e2e8f0;

    border:1px solid #334155;

}

.filters select:focus{

    border-color:#3b82f6;

}
 .search-container{
    position:relative;

    width:100%;
    padding:0 20px;
}

.search-input{
    width:100%;
    height:50px;

    border:none;
    border-radius:25px;

    background:#1e293b;

    color:#f8fafc;

    box-shadow:none;

    border:1px solid #334155;

    padding:0 60px 0 20px;

    font-size:16px;

    outline:none;

}

.search-btn{
    position:absolute;

    right:30px;
    top:50%;

    transform:translateY(-50%);

    width:38px;
    height:38px;

    border:none;
    border-radius:50%;
 background:#2563eb;

    color:white;

    cursor:pointer;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:18px;
}
.search-btn:hover{

    background:#3b82f6;

}

/* PRODUCT GRID */

.products{

    max-width:1400px;

    margin:30px auto;

    display:grid;

    grid-template-columns:
    repeat(auto-fill,minmax(220px,1fr));

    gap:25px;

    padding:0 20px;

}

.product{

    background:#111827;

    border:1px solid #1f2937;

    padding:20px;

    text-align:center;

    transition:.3s;

}

.product:hover{

   box-shadow:
        0 10px 25px rgba(0,0,0,.45);

    transform:translateY(-4px);

}
.imagen{

    width:100%;
    min-width:150px;
    position:relative;
    overflow:hidden;
}

.product img{

    width:100%;

    height:220px;

    object-fit:contain;

}

.product h3{
color:#f8fafc;
    margin-top:15px;

    font-size:13px;

    font-weight:600;

}


.badge-ribbon{

    position:absolute;

    top:15px;

    right:-35px;

    width:140px;

    text-align:center;

    padding:8px 0;

    transform:rotate(45deg);

    color:white;

    font-size:11px;

    font-weight:bold;

    z-index:10;
}

.badge-ribbon.new{

    background:#10b981;

}

.badge-ribbon.coming{

    background:#f59e0b;

}

.card{
    background:#111827;
    box-shadow:0 2px 10px rgba(0,0,0,.08);
}
.product span{

    display:block;

    margin-top:8px;

    color:#94a3b8;


    font-size:12px;

}

.price{

    margin-top:12px;

    color:#fbbf24;

    font-weight:600;

}

/* PAGINATION */

.pagination{

    display:flex;

    justify-content:center;

    gap:10px;

    margin:40px 0;

}

.pagination a{

    width:36px;

    height:36px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:white;

    cursor:pointer;

}

.pagination .active{

    background:#445b84;

    color:white;

}

/* FOOTER */

footer{

    background:#020617;

    color:#cbd5e1;

    border-top:1px solid #1f2937;

    padding:40px;

    display:grid;

    grid-template-columns:repeat(5,1fr);

    text-align:center;

    font-size:13px;

}

@media(max-width:768px){

    .topbar{

        flex-direction:column;

        height:auto;

        padding:20px;

        gap:15px;

    }

    nav{

        flex-wrap:wrap;

        justify-content:center;

    }

    .toolbar{

        flex-direction:column;

        gap:15px;

    }

    .filters{

        flex-wrap:wrap;

        justify-content:center;

    }

    footer{

        grid-template-columns:1fr;

        gap:20px;

    }

    

}