.search-result {
    width: 650px;
    max-width: 100%;
}

.result-stats {
    color: #70757a;
    margin-bottom: 15px;
}

.result-for {
    margin-bottom: 15px;
}

.product-list {
    display: flex;
    margin: 0 -9px;
}

.product-list.slick-initialized {
    display: block;
}

.product-list .slick-track {
    margin-left: 0;
    margin-right: 0;
}

.product-list .slick-prev,
.product-list .slick-next {
    width: 32px;
    height: 32px;
    border: 1px solid #E2E2E2;
    border-radius: 50%;
    transform: none;
    top: -41px;
}

.product-list .slick-prev:hover,
.product-list .slick-next:hover {
    border-color: #a5a5a5;
}

.product-list .slick-prev:before,
.product-list .slick-next:before {
    content: none;
}

.product-list .slick-prev {
    left: auto;
    right: 49px;
    background: url("./../images/slider-prev.svg") center no-repeat;
}

.product-list .slick-next {
    right: 9px;
    background: url("./../images/slider-next.svg") center no-repeat;
}

.product-item {
    display: block;
    width: 198px; /* todo temp */
    margin: 0 9px 30px;
    border-radius: 12px;
    border: 1px solid #ECECEC;
    background: #FFF;
    overflow: hidden;
}

.product-item:hover {
    text-decoration: none;
    border-color: #d5d5d5;
    box-shadow: 0 10px 20px rgba(236, 236, 236, 1);
}

.product-item-img {
    height: 127px;
}

.product-item-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.product-item-info {
    position: relative;
    padding: 12px 12px 15px;
    background: #fff;
}

.product-item-rating {
    position: absolute;
    bottom: 100%;
    left: 0;
    display: flex;
    align-items: center;
    padding: 4px 10px 5px;
    border-radius: 0 14px 0 0;
    background: #FFF;
}

.rating {
    width: 80px;
    height: 16px;
    background: url("./../images/star.svg");
}

.rating .star-active {
    width: 80px;
    height: 16px;
    background: url("./../images/star-active.svg");
}

.rating.rating-0_5 .star-active {
    width: 10%;
}

.rating.rating-1 .star-active {
    width: 20%;
}

.rating.rating-1_5 .star-active {
    width: 30%;
}

.rating.rating-2 .star-active {
    width: 40%;
}

.rating.rating-2_5 .star-active {
    width: 50%;
}

.rating.rating-3 .star-active {
    width: 60%;
}

.rating.rating-3_5 .star-active {
    width: 70%;
}

.rating.rating-4 .star-active {
    width: 80%;
}

.rating.rating-4_5 .star-active {
    width: 90%;
}

.rating.rating-5 .star-active {
    width: 100%;
}


.rating-counter {
    margin-left: 2px;
    color: #BABABA;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.product-item-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
    color: #1E1E1E;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.product-item-shop {
    margin-bottom: 11px;
    color: #1E1E1E;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-decoration-line: underline;
}

.product-price {
    padding-right: 28px;
    background: url("./../images/arrow-icon.svg") bottom right no-repeat;
}

.product-price .old-price {
    margin-bottom: -6px;
    color: #ED2B2B;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: line-through;
}

.product-price .price {
    color: #1E1E1E;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.result-list-item {
    margin-bottom: 32px;
}

.result-list-item-host-wrapper {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-bottom: 5px;
}

.result-list-item-host-wrapper img {
    width: 14px;
    height: 14px;
}

.result-list-item-link {
    display: block;
    margin: 0 0 3px;
}

.result-list-item-link:hover {
    text-decoration: none;
}

.result-list-item-url {
    display: block;
    color: #4d5156;
    font-size: 12px;
}

.result-list-item-title {
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #1a0dab;
    font-weight: normal;
    font-size: 20px;
    line-height: 26px;
}

.result-list-item-link:visited .result-list-item-title {
    color: #681da8;
}

.result-list-item-link:hover .result-list-item-title {
    text-decoration: underline;
}

.result-list-item-description {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #4d5156;
    line-height: 1.58;
}

.callout {
    text-decoration: none;
    color: #8ab4f8;
}

.related-searches {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: fit-content;
}

.related-searches a {
    border-radius: 50px;
    background: #eff6fc;
    color: black;
    text-indent: 5px;
    font-weight: 600;
    padding: 7px 15px 7px 7px;
}

.search-pagination {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    gap: 10px;
}

.search-pagination .search-pagination-button {
    border: 1px solid #E2E2E2;
    border-radius: 50px;
    align-items: center;
    display: flex;
    gap: 7px;
    padding: 5px 12px;
}

.search-pagination .search-pagination-button:hover {
    border-color: #a5a5a5;
    text-decoration: unset;
}

.search-pagination .search-pagination-button span {
    color: black;
    font-weight: 600;
    font-size: 15px;
}

/*Media Stuff*/

@media all and (min-width: 1921px) {
    .search-result {
        margin-left: calc(257px + 40px);
    }
}

@media all and (max-width: 1440px) {
    .search-inputs {
        margin: 0 30px;
    }
}

@media all and (max-width: 1024px) {
    .search-inputs {
        order: 1;
        width: 100%;
        margin: 20px 0 0;
    }
}

@media all and (max-width: 767px) {
    .result-list-item-title {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .result-list-item-description {
        -webkit-line-clamp: 3;
    }

    .product-list-wrapper {
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        overflow: hidden;
    }

    .product-list {
        margin-right: -80px;
    }
}
