.sub-head {
    text-align: center;
    width: 70%;
    margin: 0 auto;
    font-family: Verdana,Arial,Helvetica,sans-serif;
}

@media screen and (max-width:950px) {
    .sub-head {
        width: 85%;
    }
}

.mb {
    margin-bottom: 4%;
}

.mr1 {
    margin-right: 5px;
}

.mt1{
    margin-top: 15px;
}

.bt{
    border-top: 1px solid #000;
}

.user {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
}

.user a {
    text-decoration: none;
    color: #ffffff;
}

@media screen and (max-width:1100px) {
    #form {
        width: 50%;
    }
}

@media screen and (max-width:850px) {
    #form {
        left: 0;
        transform: translate(0, 50%);
    }
}

@media screen and (max-width:768px) {
    .topp3 {
        display: none;
    }
    #form {
        width: 75%;
    }
}

.logo {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-right: 20px;
}

.logo img {
    width: 135px;
}

.sidenav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 80%;
}

.mid-nav {
    width: 30vw;
}

.search-box {
    width: fit-content;
    height: fit-content;
    display: inline-block;
    position: relative;
}

.search-box1 {
    width: fit-content;
    height: fit-content;
    display: inline-block;
    position: relative;
    display: none;
}

.a1 {
    color: #13294a;
    text-decoration: none;
    margin: 0 25px;
}

.a1:hover {
    color: #2272FF;
}

.closebtn {
    display: none;
}

@media screen and (min-width:1250px) and (max-width:1410px) {
    .a1 {
        margin: 0 20px;
    }
}

@media screen and (min-width:1250px) and (max-width:1340px) {
    .a1 {
        margin: 0 15px;
    }
}

@media screen and (min-width:1180px) and (max-width:1270px) {
    .a1 {
        margin: 0 9px;
    }
}

@media screen and (max-width:1180px) {
    .sidenav {
        height: 100%;
        width: 0;
        position: fixed;
        display: block;
        z-index: 1;
        top: 0;
        left: 0;
        background-color: #111;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 60px;
    }

    .logo a div {
        display: none;
    }

    .sidenav a {
        padding: 8px;
        text-decoration: none;
        font-size: 25px;
        color: #818181;
        display: block;
        border-left: 2px solid transparent;
    }

    .a1:hover {
        color: #f1f1f1;
        border-left: 2px solid red;
    }

    .a1 {
        margin: 0;
        border-bottom: 1px solid #5b5b5b;
    }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

    .sidenav .closebtn:hover {
        color: white;
    }
    .search-box {
        display: none;
    }

    .open-search {
        display: flex;
        gap: 20px;
    }

    .search-box1 {
        display: block;
    }
}

@media screen and (max-width:950px) {
    .topp3 {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .item-page{
        display: none;
    }
    #productCount {
        width: 100% !important;
        text-align: center !important;
    }
}

@media screen and (max-width:600px) {
    .logo img {
        width: 120px;
    }
    /* add by jj*/
    /* #productCount{
        text-align: center !important;
        width: 50% !important;
    } */
    .item-page{
        width: 50% !important;
    }
}

/* header end here */

main {
    font-family: Verdana,Arial,Helvetica,sans-serif;
}

.locate {
    background-color: #f0f0f091;
    color: rgb(0, 0, 0);
    font-size: 16px;
    padding: 6px 16px;
}
.locate a{
    color: rgb(0, 0, 0);
}

@media screen and (max-width:500px) {
    .locate{
        font-size: 12px;
    }
}

@media screen and (max-width:300px) {
    .locate{
        font-size: 10px;
    }
}

.main-product{
    padding: 1.8% 0;
}

.main-product p {
    width: 100%;
    max-width: 100ch;
    margin-inline: auto;
    color: #13294a;
    text-align: center;
    font-size: large;
    padding: 0 5%;
}
.main-product-share{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    padding: 0% 5%;
}
.main-products-category_subcat{
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 2%;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 10px 4px #dddddd69;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}
.main-products-category_subcat::before {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-left: 120px solid #505050;
    border-top: 120px solid transparent;
    left: 0;
    bottom: 0;
    transition: all 0.4s ease;
}
.main-products-category_subcat::after {
    position: absolute;
    content: '';
    width: 0;
    height: 0;
    border-left: 110px solid #ffffff24;
    border-top: 80px solid transparent;
    left: 0;
    bottom: 0;
    transition: all 0.4s ease;
}
.main-products-category_subcat:hover::before{
    border-left: 100px solid #505050;
    border-top: 140px solid transparent;
}
.main-products-category_subcat:hover::after{
    border-left: 40px solid #ffffff24;
    border-top: 100px solid transparent;
}
.main-image{
    width: 100%;
    height: 120px;
    padding: 3%;
    transition: all 0.4s ease;
    justify-items: center;
    justify-content: center;
    display: flex;
}
.main-image img{
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    margin-inline: auto;
}
.main-products-category-cont{
    font-size: 15px;
    text-align: center;
    background-color: #2272FF;
    border-radius: 500px;
    padding: 3% 6%;
    color: white;
    width: 90%;
    box-shadow: 0 2px 8px #00000020;
    transition: 0.4s ease;
    vertical-align: middle;
    align-content: center;
    border: 2px solid #ffffff24;
    transition: all 0.4s ease;  
    margin-bottom: 4px;
    z-index: 1;
}
.main-products-category-cont:hover{
    background: #1e68e7;
}
.main-products-category-cont h5{
    position: relative;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    color: white;
}

@media screen and (max-width:940px) {
    .main-product-share {
        justify-content: center;
        gap: 12px;
        padding: 0% 5%;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .main-products-category-cont h5 {
        font-size: 11px;
    }
    .main-products-category_subcat {
        gap: 12px;
    }
    .main-products-category_subcat::before, .main-products-category_subcat::after {
        bottom: -12%;
    }
    .main-image {
        height: 100px;
    }
}

/* main products ends here */

.pagina {
    display: inline-block;
}

.pagina a {
    color: black;
    padding: 4px 12px;
    text-decoration: none;
}

.pagina a.active10 {
    background-color: #2272FF;
    color: white;
    border-radius: 5px;
}

.pagina a:hover:not(.active10) {
    background-color: #ddd;
    border-radius: 5px;
}

.direct {
    display: flex;
    width: 98%;
    margin: 0 auto;
    gap: 10px;
}

#filter-button {
    margin-top: 27px;
    width: 290px;
}

.filter-btn {
    background-color: transparent;
    color: #2272FF;
    border: none;
    outline: none;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 16px;
    padding: 0px 4px;
    display: none;
}

#filter-cont {
    width: 290px;
    /* position: absolute; */
    margin-bottom: 10px;
    background-color: #fff;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 10px;
}

.close-filter{
    display: none;
    position: absolute;
    top: 0;
    right: 7px;
    font-size: 40px;
    color: black;
}

.ft1 {
    border-bottom: 1px solid #ddd;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.ft1 label {
    font-size: 14px;
}

#filter-cont h4 {
    color: #2272FF;
    margin-bottom: 5px;
    font-size: 14px;
    display: inline;
    margin-right: 5px;
    font-weight: normal;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-thumb {
    margin: 2px;
    border-radius: 10px;
    background: rgba(0, 0, 0, .2);
}

/* direct ends here */

.d-item{
    max-width: 1700px;
    margin: 0 auto;
}

.direct-table {
    width: calc(100% - 290px);
    margin: 0 auto 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.desk-table {
    border-collapse: collapse;
    margin-bottom: 10px;
    width: 100%;
}

.desk-table-mobile{
    display: none;
    margin: 5px 0 15px 0;
    width: 100%;
}

.bgt {
    background-color: #2272ff;
    color: white;
}

.table1, .table2, .table3, .table4, .table5, .table6, .table7 {
    vertical-align: middle;
    text-align: center;
    border: 1px solid #ddd;
    font-size: 14px;
}

.table1 {
    width: 5%;
}

.table2 {
    width: 15%;
}

.tb-cont {
    display: flex;
    flex-direction: column;
}

.tb-cont-check {
    margin-top: 5px;
}

.tb-cont-check input[type="checkbox"] {
    vertical-align: middle;
}

.table3 {
    width: 10%;
}

.table3 span img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.table4 {
    width: 35%;
    padding: 5px;
    text-align: justify;
}

.table5 {
    width: 10%;
    vertical-align: middle;
    border: 1px solid #ddd;
    font-size: 14px;
}

.table6 {
    width: 8%;
}

.table7 {
    width: 5%;
}

.tbm1{
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #000;
}
.tbm2{
    display: flex;
    justify-content: space-between;
}
.tbm3{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.table3m span img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}
.tbm4{
    width: calc(50% - 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.table7m{
    width: 20px;
}

.table4m{
    text-align: left;
    font-size: 14px;
}

.resetChk {
    font-size: 14px;
    cursor: pointer;
}

.table5m {
    margin: 5px 0;
}
.stockMob_div {
    text-align: center;
    margin-top: 5px;
}

.stock_labelMob {
    margin-left: 5px;
}

.paginationMob {
    display: none;
}

.productlink {
    color: #0F427B;
}

.signInMsg_subcat {
    color: #2272FF;
}

@media screen and (max-width:768px)  {
    .paginationMob {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .paginationPC {
        display: none;
    }
}

@media screen and (min-width:768px) and (max-width:1250px)  {
    .table4 {
        padding: 15px 5px;
    }
}
@media screen and (min-width:768px) and (max-width:1000px)  {
    .table1 {
        font-size: 12px;
    }
    .table2 {
        font-size: 12px;
    }
    .table3 {
        
        font-size: 12px;
    }
    .table4 {
        font-size: 12px;
    }
    
    .table5 {
        font-size: 12px;
    }
    
    .table6 {
        font-size: 12px;
    }
    
    .table7 {
        font-size: 12px;
    }
}
@media screen and (min-width:768px) and (max-width:900px)  {
    .direct{
        width: 98%;
    }
    .table2{
        width: 18%;
    }
    .table5{
        width: 8%;
    }
}

@media screen and (max-width:768px) {
    .direct{
        display: block;
    }
    .close-filter{
        display: block;
    }
    .bgt{
        display: none;
    }
    .direct-table {
        width: 100%;
    }
    #filter-button{
        display: none;
        width: 80%;
        position: absolute;
        top: 90px;
        left: 0;
        z-index: 1;
    }
    .filter-btn {
        display: block;
    }
    #filter-cont {
        width: 100%;
    }  
    .desk-table{
        display: none;
    }  

    .desk-table-mobile{
        display: block;
    }
}

.i {
    font-size: 20px;
    color: #ffffff;
    padding: 0 10px;
}

.i:hover {
    font-size: 20px;
    color: #1476f2;
    padding: 0 10px;
}

.copy p {
    color: #ffffff;
    font-family: Verdana,Arial,Helvetica,sans-serif;
}

@media screen and (max-width:950px) {
    .share {
        flex-direction: column;
        padding: 45px 10px 30px 10px;
    }
    .second {
        padding: 0 10px;
    }

    .third {
        padding: 0 10px;
    }

    .fourth {
        padding: 0 10px;
    }
}

@media screen and (max-width:500px) {
    .icon {
        margin-bottom: 5px;
    }

    .i {
        padding: 0 15px 0 0;
    }
}
/* add by jj */
.productheader{
    display: flex;
    width: 100%;
}
#productCount{
    text-align: end;
    display: inline;
    width: 56%;
}
.item-page{
    float: right;
    margin: 0 0 8px 0;
    width: 44%;
    text-align: end;
}
@media screen and (max-width:768px) and (min-width:600px) {
    #productCount,.item-page{
        text-align: center;
    }
}
