@media only screen and (min-width: 1200px){
    .jer-search__wrapper .catalog-search__wrapper.container__catalog_list .category {
        width: calc(100% + 20px);
    }

    .jer-search__wrapper .container__catalog_list .category__item{
        width: calc(25% - 20px) !important;
    }

    .jer-search__wrapper .container__catalog_list .category__item:nth-child(3n+3), .category__item--lookbook {
        margin-right: 20px;
    }
}


.search-page {
    width: 100%;
    margin-bottom: 30px;
    margin-top: 20px;
}

.search-page .jer-custom-search {
    width: 100%;
    padding: 14px 59px 12px 14px;
    height: 44px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    border-radius: 2px;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}


.search-page .jer-custom-search label[for="q"] {
    width: auto;
    white-space: nowrap;
    font-family: 'ProximaNova';
    font-weight: 300;
    font-size: 13px;
    line-height: 16px;
    color: #898F97;
    margin-right: 10px;
}

.search-page .jer-custom-search input[type="text"] {
    width: 100%;
    font-family: 'ProximaNova';
    font-weight: 300;
    font-size: 13px;
    line-height: 16px;
    color: #000000;
    border: 0;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.search-page .jer-custom-search input[type="submit"] {
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 42px;
    font-size: 0;
    background-color: transparent;
    border: 0;
    background-image: url("/local/templates/addagems/img/search.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
}

.search-page .jer-custom-search input[type="submit"]:hover {
    cursor: pointer;
}

@media only screen and (max-width: 767px) and (min-width: 0){
    .jer-search__wrapper{
        padding-right: 20px;
    }

    .container__catalog_list .category__item:nth-child(3n+3) {
        margin-right: 0;
    }

    .container--mobile {
        padding-left: 0;
    }

    .container {
        padding: 0 20px;
    }

    .catalog-search__wrapper.container__catalog_list .category {
        width: 100%;
    }

    .search-page {
        width: 100%;
        margin-bottom: 20px;
        margin-top: 15px;
    }
}
