/*-------------------------------------*/
/* Jshop list                          */
/*-------------------------------------*/

.jshop-list {
    display: flex;
    position: relative;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.jshop-list__item {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: 33.3333%;
    padding: 10px;
}

.jshop-list__block {
    display: flex;
    position: relative;
    box-sizing: border-box;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
    padding: 20px;
    text-decoration: none;
    background: #fff;
    transition: 0.2s;
}

.jshop-list__part-up {
    width: 100%;
}

.jshop-list__part-dn {
    width: 100%;
}

.jshop-list__block:hover {
    box-shadow: var(--shadow-block);
}

.jshop-list__image {
    display: block;
    position: relative;
    margin-bottom: 10px;
    line-height: 0;
    text-align: center;
}

.jshop-list__info {
    display: block;
    position: relative;
}

.jshop-list__label {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background: center no-repeat;
    background-size: cover;
    z-index: 99;
}

.jshop-list__ean {
    display: block;
    position: relative;
    font-size: 90%;
    color: var(--secondary-text-color);
}

.jshop-list__sku {
    display: block;
    position: relative;
    font-size: 90%;
    color: var(--secondary-text-color);
}

.jshop-list__name {
    display: block;
    position: relative;
    line-height: 1.2;
    text-decoration: none;
    font-size: 110%;
    color: var(--primary-text-color);
    transition: 0.2s;
}

.jshop-list__name:hover {
    color: var(--default-primary-color);
}

.jshop-list__price {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    white-space: nowrap;
}

.jshop-list__price .price-active {
    font-weight: 600;
    font-size: 140%;
}

.jshop-list__price .price-active.action {
    color: #cc0000;
}

.jshop-list__price .price-sale {
    padding: 0 6px;
    color: #fff;
    font-size: 80%;
    border-radius: 4px;
    background: #cc0000;
}

.jshop-list__price .price-old {
    font-weight: 600;
    font-size: 100%;
    color: var(--secondary-text-color);
    text-decoration: line-through;
}

.jshop-list__control {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    margin: 0 -10px;
}

.jshop-list__buy {
    display: block;
    position: relative;
    padding: 0 10px;
    width: 100%;
}

.jshop-list__wishlist {
    display: block;
    position: relative;
    padding: 0 10px;
}

@media (max-width: 991px) {
    .jshop-list__item {
        width: 50%;
    }
}

@media (max-width: 599px) {
    .jshop-list__item {
        width: 100%;
    }
}

/*-------------------------------------*/
/* View list                           */
/*-------------------------------------*/

.view-list .jshop-list__item {
    width: 100%;
}

.view-list .jshop-list__block {
    flex-direction: row;
}

.view-list .jshop-list__part-up {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 75%;
}

.view-list .jshop-list__image {
    margin: 0;
    min-width: 100px;
    max-width: 140px;
}

.view-list .jshop-list__info {
    padding: 0 20px;
}

.view-list .jshop-list__part-dn {
    width: 25%;
}

.view-list .jshop-list__price {
    justify-content: space-between;
    flex-wrap: wrap;
}

.view-list .jshop-list__price .price-active {
    width: 100%;
    text-align: right;
}

.view-list .jshop-list__price .price-sale {
    padding: 0 6px;
    color: #fff;
    border-radius: 4px;
    background: #cc0000;
}

.view-list .jshop-list__control {
    flex-direction: row-reverse;
}

@media (max-width: 991px) {
    .view-list .jshop-list__part-up {
        width: 70%;
    }

    .view-list .jshop-list__part-dn {
        width: 30%;
    }
}

@media (max-width: 767px) {
    .view-list .jshop-list__part-up {
        width: 65%;
    }

    .view-list .jshop-list__part-dn {
        width: 35%;
    }
}