/*Shinplaza styles*/

.product {
    position: relative;
    display: block;
    background-color: #fff;
    margin: 0 0.5% 10px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    border: 1px solid #cccccc;
    padding: 10px;
    border-radius: 7px;
}

.product:hover {
    -webkit-box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
    -webkit-transform: scale(1.01);
    transform: scale(1.01);
}

.product span {
    display: block;
}

.product .img-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    clear: both;
    overflow: hidden;
    /*min-height: 235px;*/
    /*padding: 25px 0px 0px 0px;*/
    border-radius: 7px;
}

.product .img-container img {
    border-radius: 7px;
    display: inline-block;
    vertical-align: middle;
    max-width: 100%;
}

.product-name {
    width: 100%;
    float: left;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 15px;
    /*max-width: calc((320px * 78) / 100);*/

}

.product-name .product-type a {
    color:  rgba(8, 8, 8, 1);
    text-decoration: none;
    z-index: 11;
    font-size: 17px;
    position: relative;
    margin-top: 10px;
}

.product-name .product-type {
    margin-top: 5px;
    /*margin-left: 25px;*/
    text-overflow: ellipsis;
    overflow: hidden;
    display: -moz-box;
    display: -webkit-box;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 52px;
    border-bottom: 1px solid rgba(243, 243, 243, 1);
    margin-bottom: 16px;
}

.product-name .name a {
    color: #8793a3;
    font-size: 12px;
    text-decoration: none;
}

.product-navigation {
    position: absolute;
    width: 15%;
    text-align: right;
    bottom: 10px;
    /*top: 15px;*/
    /*right: 10px;*/
    display: flex;
    align-items: flex-end;
}

.product-navigation span {
    margin-left: 0;
    margin-right: 5px;
    border: 1px solid rgba(235, 235, 235, 1);
    border-radius: 50%;
    padding: 3px 7px;
    width: 32px;
    height: 32px;
}

.product-navigation span:last-child {
    margin-top: 0px;
}

.product-navigation span a:hover .fa-heart-o:before {
    color: #965524;
}

.product-navigation span a:hover .fa-shopping-cart:before {
    color: #965524;
}

.price {
    width: 100%;
    /*float: left;*/
    margin-bottom: 14px;
}

.product-price {
    color: #202B30;
    font-size: 15px;
    margin-top: 3px;
}

.product-old-price {
    color: #202B30;
    text-decoration: line-through;
    /*font-size: 16px;*/
    min-height: 20px;
    font-family: 'Arial', sans-serif;
    text-decoration-color: #777777;
    text-decoration-thickness: 1px; /* толщина линии */
}

.product-new-price {
    color: #965524;
    font-size: 17px;
}

.product i {
    color: #444;
    -webkit-transition: 0.3s ease-out;
    transition: 0.3s ease-out;
    margin-bottom: 5px;
    font-size: 20px;
}

.product i:hover {
    color: #965524;
}

.product-sale {
    background-image: url(../images/icons/sale.png);
}

.product-new {
    background-image: url(../images/icons/new.png);
}

.product-asc-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    color: #fff;
    margin-right: 10px;
    float: right;
    line-height: 56px;
}

.product-discount .discount {
    font-size: 19px;
    font-style: italic;
    margin-top: 17px;
}

.product-discount .discount-percent {

    color: white;
}

.product-discount .discount-percent {
    font-size: 16px;
    font-style: italic;
    position: absolute;
    bottom: 8px;
    right: 9px;
    z-index: 3;
    transform: rotate(-33deg);
}

.price span {
    /*margin-left: 25px;*/
    /*font-size: 22px;*/
}
.product-price{
    font-size: 12px!important;
}
.product-name .name {
    /*margin-left: 25px;*/
    overflow: hidden;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -moz-box;
    display: -webkit-box;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    height: 50px;
}

#tabs .tabs-oll .product {

}

#tabs .tabs-oll .product:hover {
    z-index: 1;
}

.hit-label {
    background: url(../images/icons/hit-product.png) no-repeat;
    background-position: right bottom;
    background-size: cover;
    z-index: 1;
    height: 60px;
}

.new-label {

    background: url(../images/icons/new_product.png) no-repeat;
    /*background-position: right bottom;*/
    margin-top: 8px;
    /*background-size: cover;*/
    z-index: 1;
    height: 35px;
}

.sale-label {
    background: url(../images/icons/product_sale.png) no-repeat;
    background-position: right bottom;
    background-size: cover;
    z-index: 1;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
    transform: rotate(-30deg);
    background: #fff;
    width: 63px;
    height: 26px;
    border-radius: 100px;
    border: 1px solid rgba(239, 239, 239, 1);

}

.discount-label {
    background: url(../images/icons/discount-label-2.png) no-repeat;
    background-position: right bottom;
    position: absolute;
    width: 75px;
    height: 60px;
    background-size: 100%;
    bottom: 0px;
    right: 0px;
    z-index: 1;
    display: none;
}

.cart_icons_content {
    /*border: 1px solid red;*/
    /*height: 180px;*/
    position: absolute;
    right: 19px;
    top: 20px;
    display: flex;
    width: 64px;
    flex-direction: column;
}

.new > .new-label {
    display: block;
}

.sale > .sale-label {
    display: block;
}

.discount > .discount-label {
    display: block;
}

.hit > .hit-label {
    display: block;
}


.stock {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 68px;
}

.stock span {
    position: relative;
    /*background-color: #965524;*/
    display: flex;
    height: 25px;
    margin: 0 !important;
    justify-content: center;
    align-items: center;
    font-size: 17px;
    width: 100%;
    /*color: white;*/
    color: #965524;;
}

.fotorama__fullscreen-icon {
    background: rgba(0, 0, 0, 0) !important;
    width: 100% !important;
    height: 100% !important;
    right: 0 !important;
    top: 0 !important;
    z-index: 10 !important;
}

.fotorama--fullscreen .fotorama__fullscreen-icon:after {
    content: 'x';
    font-size: 40px;
    color: white;
    position: absolute;
    right: 20px;
}

.fotorama--fullscreen .fotorama__arr--next {
    right: 20% !important;
}

.fotorama--fullscreen .fotorama__arr--prev {
    left: 20% !important;
}

.fotorama--fullscreen {
    background: transparent !important;
}

.fotorama__stage {
    background: #00000059 !important;
}


.product-cart-caption {
    margin-top: 20px;
    margin-bottom: 10px;
    padding-right: 10px;
    display: flex;
    justify-content: flex-end;
}

.product-cart-caption a {
    padding: 5px 15px;
    border: 1px solid #c32328;
    border-radius: 3px;
    font-size: 14px;
    color: #c32328;
    transition: 300ms ease;
}
.product-cart-caption a:hover {
    background: #c32328;
    color: #fff;
}
.img-container{
    position: relative;
    transition: all 1s ease;
}
.img-container .secondImage {
    position: absolute;
    left: 0;
    transition: opacity 0.5s ease;
    opacity: 0;
}
.img-container:hover .firstImage {
    transition: opacity 0.5s ease;
    opacity: 0;
}

.img-container:hover .secondImage {
    transition: opacity 0.5s ease;
    opacity: 1;
}
.product-new-price{
    font-size: 24px!important;
}
.product-old-price{
    font-size: 23px!important;
}
.swiper-slide{
   display: flex;
    height: auto!important;
}

@media only screen and (max-width: 575px) {
    .stock {
        height: 30px;
    }
    .price {
        margin-bottom: 0px;
    }
    .product-name .product-type{
        margin-bottom: 5px;
        height: 53px;
    }
    .product .img-container{
        min-height: 160px;
    }
    .product-new-price {
        font-size: 20px !important;
    }
    .product-navigation{
        position: unset;
    }
}