.products-page{
    margin-top: 100px   ;
    padding:140px 0 80px;
    background: #ffffff;
}

.products-header{
    text-align:center;
    margin-bottom:50px;
}

.products-header h1{
    font-size:64px;
    color:#06298b;
}

.products-header p{
    color:#64748b;
}

.shop-layout{
    display:grid;
    grid-template-columns:280px 1fr;
    gap:30px;
}

.filters{
    background:#fff;
    padding:25px;
    border-radius:24px;
    height:max-content;
    position:sticky;
    top:150px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.filters h3{
    margin-bottom:25px;
    font-size:28px;
}

.filter-group{
    margin-bottom:30px;
}

.filter-group h4{
    margin-bottom:15px;
    font-size:18px;
}

.filter-group label{
    display:flex;
    gap:10px;
    margin-bottom:10px;
    cursor:pointer;
}

.price-range{
    margin-top:10px;
    color:#64748b;
}

.filter-group input[type="range"]{
    width:100%;
}

.filter-btn{
    width:100%;
    background:#06298b;
    color:white;
    border:none;
    border-radius:12px;
    padding:15px;
    font-weight:600;
}

.filter-reset{
    display:block;
    margin-top:12px;
    color:#06298b;
    font-weight:600;
    text-align:center;
    text-decoration:none;
}

.products-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.products-toolbar select{
    border:1px solid #ddd;
    padding:12px 16px;
    border-radius:12px;
}

.products-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.product-card{
    background:white;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    transition:.3s;
    position:relative;
}

.product-card:hover{
    transform:translateY(-6px);
}

.product-card img{
    width:100%;
    height:270px;
    object-fit:contain;
    padding: 8px;
}

.product-body{
    padding:20px;
}

.product-body h3{
    font-size:21px;
    margin-bottom:10px;
}

.product-body p{
    color:#64748b;
    margin-bottom:20px;
}

.product-footer{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:14px;
}

.price{
    color:#06298b;
    font-weight:700;
    font-size:24px;
    line-height:1.1;
}

.price small{
    display:block;
    margin-top:6px;
    color:#64748b;
    font-size:12px;
    font-weight:400;
    line-height:1.25;
}

.product-footer button{
    background:#06298b;
    color:white;
    border:none;
    padding:10px 18px;
    border-radius:12px;
    cursor:pointer;
}

.product-badge{
    position:absolute;
    top:15px;
    left:15px;
    background:#06298b;
    color:white;
    padding:6px 12px;
    border-radius:30px;
    font-size:12px;
    z-index:2;
}

.product-stock-badge{
    position:absolute;
    top:58px;
    left:15px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    min-height:28px;
    padding:0 12px;
    border-radius:999px;
    background:#fee2e2;
    color:#991b1b;
    font-size:12px;
    font-weight:800;
    box-shadow:0 8px 18px rgba(15, 23, 42, .12);
}

.product-stock-badge.is-on-the-way{
    background:#dbeafe;
    color:#1d4ed8;
}

.pagination{
    width: 100%;
    max-width: 100%;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:white;
    border-radius:12px;
    text-decoration:none;
    color:#06298b;
}

.pagination .active{
    background:#06298b;
    color:white;
}

.header .icons svg{
    stroke: #06298b;
}
.header .menu a{
    color: #06298b;
}

@media(max-width:992px){

    .shop-layout{
        grid-template-columns:1fr;
    }

    .filters{
        position:static;
    }

    .products-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){

    .products-header h1{
        font-size:42px;
    }

    .products-toolbar{
        flex-direction:column;
        gap:15px;
        align-items:flex-start;
    }

    .products-grid{
        grid-template-columns:1fr;
    }

    .product-card img{
        height:230px;
    }
}
