/* Shared storefront product carousels: modules and related products. */

.product_carousel {
    margin-top: 70px;
}


.product_carousel .box-heading .proscroller-heading-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    transition: color .22s ease;
}

.product_carousel .box-heading .proscroller-heading-link span {
    margin-top: 0;
    margin-bottom: 0;
    transition: color .22s ease;
}

.product_carousel .box-heading .proscroller-heading-link:hover,
.product_carousel .box-heading .proscroller-heading-link:hover span {
    color: rgb(103, 142, 52);
}

#owl-carousel-block .box-product .item {
    text-align: center;
}

#owl-carousel-block .box-product .image,
#owl-carousel-block .box-product2 .image {
    position: relative;
    display: inline-block;
    width: auto;
    margin: 0 auto;
    line-height: 0;
}

#owl-carousel-block .box-product .image > a,
#owl-carousel-block .box-product2 .image > a,
#owl-carousel-block .box-product .image picture,
#owl-carousel-block .box-product2 .image picture,
#owl-carousel-block .box-product .image img,
#owl-carousel-block .box-product2 .image img {
    display: block;
    position: relative;
    z-index: 1;
}

#owl-carousel-block .box-product .price .price-format {
    display: inline-flex;
    align-items: baseline;
}

#owl-carousel-block .box-product .cart {
    margin-top: 0;
    height: 32px;
    line-height: 0;
}

#owl-carousel-block .box-product .cart .button,
#owl-carousel-block .box-product2 .cart .button {
    display: inline-block;
    height: 32px;
    margin-top: 0;
    margin-bottom: 0;
    box-sizing: border-box;
    line-height: 14px;
}

.box-product > .owl,
.box-product2 > .owl {
    margin-bottom: 0;
}

.box-product > .owl .owl-wrapper,
.box-product2 > .owl .owl-wrapper {
    display: flex !important;
    align-items: stretch;
}

.box-product > .owl .owl-item,
.box-product2 > .owl .owl-item {
    display: flex;
    float: none;
}

.box-product > .owl .owl-item > .item,
.box-product2 > .owl .owl-item > .item {
    position: relative;
    display: block;
    width: 100%;
    height: 350px;
    min-height: 350px;
    padding-bottom: 76px;
    box-sizing: border-box;
}

.box-product > .owl .name,
.box-product2 > .owl .name {
    display: block;
    height: auto;
    min-height: 0;
    margin: 0 auto 4px;
    overflow: visible;
}

.box-product > .owl .price,
.box-product2 > .owl .price {
    position: absolute;
    right: 0;
    bottom: 37px;
    left: 0;
    width: 100%;
    min-height: 0;
    line-height: 1;
    margin: 0;
}

.box-product > .owl .cart,
.box-product2 > .owl .cart {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 32px;
    margin: 0;
    line-height: 0;
}

.carousel-arrow {
    display: block;
    width: 32px;
    height: 32px;
    background: url('../image/icons/arrow.svg') center / contain no-repeat;
}

.carousel-arrow--prev {
    transform: rotate(180deg);
}

.box #carousel_prev {
    float: left;
    margin-top: -200px;
}

.box #carousel_next {
    float: right;
    margin-top: -200px;
}

@media only screen and (max-width: 700px) {
    .box-product > .owl .owl-item > .item,
    .box-product2 > .owl .owl-item > .item {
        height: 305px;
        min-height: 305px;
    }
}
