﻿.product {
    overflow: hidden;
    background-image: url(../../../Design/img/home-about-img.png);
    background-size: cover;
}

    .product .list-pro {
    }

.product-container {
}

.product-cate {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #3333331f;
    padding: 15px 0;
}

.product-cate-item {
    text-transform: uppercase;
    background-color: #fff;
    line-height: 100%;
    padding: 18px 18px;
    position: relative;
    display: flex;
    align-items: center;
    transition: all .3s;
}

    .product-cate-item.active {
        background: var(--gradient-1);
    }


    .product-cate-item:hover h3 {
        color: var(--default-color-1);
    }

    .product-cate-item.active h3 {
        color: #fff;
    }

    .product-cate-item:last-child::before {
        opacity: 0;
    }

    .product-cate-item::before {
        content: '';
        position: absolute;
        width: 1px;
        height: 20px;
        background-color: #555;
        right: 0;
        opacity: .3;
    }

    .product-cate-item h3 {
        margin: 0;
        color: #252525;
        font-family: 'barSB';
        font-size: 15px;
        transition: all .3s;
    }

.product .product-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(4,minmax(0,1fr));
    column-gap: 20px;
    row-gap: 20px;
    margin-top: 45px;
    width: 100%;
}

.product-search-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--default-color-1);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    margin: 0 6px;
    padding: 6px 12px;
    white-space: nowrap;
    transition: all .3s;
}

    .product-search-btn:hover {
        opacity: .7;
    }

.product-search-reset:hover {
    opacity: .7;
}

.product-search-reset {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff;
    background-color: #333;
    font-size: 12px;
    transition: all .3s;
}


.product-search {
    display: flex;
    padding: 15px 0;
    position: relative;
    z-index: 4;
}

.product-search-item {
    height: 40px;
    background-color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 4px;
    margin: 0 5px;
    width: calc(100% / 7);
}

    .product-search-item input {
        outline: none;
        border: none;
        background-color: transparent;
        margin: 0;
        padding: 0;
        padding: 0 10px;
    }

    .product-search-item.drop input {
        padding-right: 26px;
        pointer-events: none;
    }

    .product-search-item.drop {
        cursor: pointer;
    }

        .product-search-item.drop::before {
            content: '';
            position: absolute;
            top: 100%;
            height: 5px;
            width: 100%;
            display: none;
        }

        .product-search-item.drop:hover::before {
            display: block;
        }

    .product-search-item .icon {
        position: absolute;
        right: 10px;
        font-size: 12px;
        color: #ef001f94;
        pointer-events: none;
    }

        .product-search-item .icon img {
        }

    .product-search-item .drop {
        position: absolute;
        top: calc(100% + 0px);
        left: 0;
        width: 100%;
        border-radius: 4px;
        background-color: #fff;
        overflow: hidden;
        padding: 2px;
        max-height: 178px;
        overflow-x: hidden;
        pointer-events: none;
        overflow-y: overlay;
        opacity: 0;
        box-shadow: 0 0 10px 0 #33333329;
    }

    .product-search-item:hover .drop {
        opacity: 1;
        pointer-events: all;
        z-index: 2;
    }

    .product-search-item .drop-item {
        display: flex;
        align-items: center;
        padding: 8px 6px;
        user-select: none;
        border-bottom: 1px solid #33333333;
        transition: all .3s;
        border-radius: 4px;
        position: relative;
    }

        .product-search-item .drop-item:first-child {
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
        }

        .product-search-item .drop-item:last-child {
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .product-search-item .drop-item:hover {
            background-color: var(--default-color-1);
        }

            .product-search-item .drop-item:hover h3 {
                color: #fff;
            }

        .product-search-item .drop-item:last-child {
            border-bottom: 0;
        }

    .product-search-item .drop-item-text {
        margin: 0;
        font-family: baiSB;
        font-weight: 100;
        font-size: 14px;
        color: #252525;
        padding-right: 22px;
        width: 100%;
    }

    .product-search-item .drop-item-count {
        background-color: #555;
        color: #fff;
        border-radius: 55px;
        font-size: 12px;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 6px;
        top: 6px;
    }

    .product-search-item .drop-item:hover .drop-item-count {
        background-color: #fff;
        color: var(--default-color-1);
    }

@media(max-width:1023px) {
    .no-display-mobile-tablet {
        display: none !important
    }

    .product-search {
        flex-wrap: wrap;
    }

    .product-search-item {
        width: calc(100% / 4);
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .product-cate-item h3 {
        font-size: 13px;
    }
}

@media(min-width:740px) and (max-width:1023px) {
    .no-display-tablet {
        display: none !important
    }

    .product-cate-item {
        padding: 12px 16px;
    }

    .list-pro .item .h3 {
        font-size: 20px;
        margin-top: 15px;
        padding: 0 5px;
    }

    .list-pro .item span {
        font-size: 14px;
        padding: 0 5px;
    }

    .product .product-list {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .product-container {
        padding: 35px 0;
    }
}

@media(max-width:739px) {
    .no-display-mobile {
        display: none !important
    }

    .product-search-btn {
        flex: unset;
        width: 100%;
        margin: 0;
        margin-top: 5px;
        font-size: 16px;
        padding: 9px 0;
    }

    .product-search-item {
        margin: 0;
    }

    .list-pro .item .h3 {
        font-size: 16px;
        padding: 0 5px;
        margin-top: 10px;
    }

    .list-pro .item span {
        font-size: 12px;
        padding: 0 5px;
    }

    .product .product-list {
        grid-template-columns: repeat(1,minmax(0,1fr));
    }

    .product .list-pro {
        margin-top: 25px;
    }

    .product-container {
        padding: 15px 0;
    }


    .product-search-item {
        width: calc(100% / 3);
    }

    .product-search-reset {
        position: absolute;
        bottom: 0;
        right: 0;
        border-radius: 2px;
        height: 36px;
    }

    .product-search {
        padding-bottom: 0;
    }

    .product-search-item .drop-item-text {
        font-size: 12px;
    }
}
