/* Horizontal card */

@media (min-width: 766.92px) {
    
    .template-9817 .product_card.product_card--horizontal .product_card__images {
        max-width: 300px;
        flex: 0 0 300px;
    }
}

.template-9817 .product_card.product_card--horizontal .product_card__image {
    height: 100%;
}

.template-9817 .product_card.product_card--horizontal .product_card__image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 767px) {
    
    .template-9817 .product_card.product_card--horizontal .product__card_tag.mobile-top-left-gray {
        top: 0 !important;
        left: 0 !important;
        bottom: auto !important;
        right: auto !important;
        background: rgba(255,255,255,.3) !important;
    }
    
    .template-9817 .product_card.product_card--horizontal .product__card_tag.mobile-top-left-gray span {
        background: transparent !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    }
}

/*IMG*/

.template-9817 .product_card .product_card__image {
    position: relative;
}

.template-9817 .product_card .product_card__image img {
    filter: brightness(.5);
    transition: all .4s;
}

.template-9817 .product_card .product_card__image img:nth-child(2),
.template-9817 .product_card .product_card__image img:nth-child(3) {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.template-9817 .product_card .product_card__images.product_card__images--hover-image-contain .product_card__image img:nth-child(2),
.template-9817 .product_card .product_card__images.product_card__images--hover-image-contain .product_card__image img:nth-child(3) {
    object-fit: contain;
}

@media (max-width: 921.98px) {
    
    .template-9817[data-autoplay-images-on-mobile="true"] .product_card__image.is-fading-images img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity .5s;
    }

    .template-9817[data-autoplay-images-on-mobile="true"] .product_card__image.is-fading-images img.is-active {
        opacity: 1;
    }

    .template-9817[data-autoplay-images-on-mobile="true"] .product_card__image.is-fading-images img:first-child {
        position: relative;
    }
}

/*LOGO*/

.template-9817 .product_card .product_card__logo img {
    transform: translate(-50%,-50%);
    transition: 0.5s;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    max-width: 250px;
}

/* .template-9817 .product_card .product_card__logo img:nth-child(2),
.template-9817 .product_card .product_card__logo img:nth-child(3) {
    opacity: 0;
    transition: opacity .4s;
} */

@media (min-width: 991.92px) {
    
    .template-9817 .product_card:hover .product_card__image img {
        filter: brightness(1);
    }
    
    .template-9817 .product_card:hover .product_card__images {
        box-shadow: none !important;
    }
    
    .template-9817 .product_card:has(.product_card_action_one:hover) .product_card__image img:first-child,
    .template-9817 .product_card:has(.product_card_action_two:hover) .product_card__image img:first-child,
    .template-9817 .product_card:has(.product_card_action_one:hover) .product_card__logo img:first-child,
    .template-9817 .product_card:has(.product_card_action_two:hover) .product_card__logo img:first-child {
        opacity: 0;
    }
    
    .template-9817 .product_card:has(.product_card_action_one:hover) .product_card__image img:nth-child(2)
    /* ,.template-9817 .product_card:has(.product_card_action_one:hover) .product_card__logo img:nth-child(2)  */
    {
        opacity: 1;
    }
    
    .template-9817 .product_card:has(.product_card_action_two:hover) .product_card__image img:nth-child(3)
    /* ,.template-9817 .product_card:has(.product_card_action_two:hover) .product_card__logo img:nth-child(3)  */
    {
        opacity: 1;
    }
}

/* infinity scroll */

@keyframes animateC {

    0% {
        transform:rotate(0deg);
    }

    100% {
        transform:rotate(-360deg);
    }
}

.template-9817 .infinity-scroll + div {
    display: block;
    margin: 0 auto;
    width: 45px;
    height: 45px;
    background: transparent;
    border-radius: 50%;
    text-align: center;
    color: var(--color-3);
    animation: animateC 3.5s linear 0s infinite normal;
    position: relative;
}

@media ( min-width: 991.92px ) {
    
    .template-9817 .infinity-scroll + div {
        width: 75px;
        height: 75px;
    }
}

.template-9817 .infinity-scroll.infinity-scroll--absolute-center-bottom + div {
    position: absolute;
    bottom: -20px;
    width: 30px;
    height: 30px;
    left: 0;
    right: 0;
}

@media (min-width: 991.92px) {

    .template-9817 .infinity-scroll.infinity-scroll--absolute-center-bottom + div {
        width: 60px;
        height: 60px;
        bottom: -20px;
    }
}

.template-9817 .infinity-scroll.is-loading  + div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-right: 0px solid var(--color-4);
    border-top: 5px solid var(--color-4);
    border-bottom: 0px solid var(--color-4);
    border-radius: 50%;
}

.template-9817 .infinity-scroll.is-loading  + div::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-left: 0px solid var(--color-4);
    border-top: 0px solid var(--color-4);
    border-bottom: 5px solid var(--color-4);
    border-radius: 50%;
}

.template-9817 .infinity-scroll.always-show-infinity-scroll-loading  + div:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-right: 0px solid var(--color-4);
    border-top: 5px solid var(--color-4);
    border-bottom: 0px solid var(--color-4);
    border-radius: 50%;
}

.template-9817 .infinity-scroll.always-show-infinity-scroll-loading  + div:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-left: 0px solid var(--color-4);
    border-top: 0px solid var(--color-4);
    border-bottom: 5px solid var(--color-4);
    border-radius: 50%;
}

.template-9817 .product_card__characteristics a.d-none {
    display: none !important;
}

.template-9817 .product_card__characteristics > a.product_card__characteristic--fit-more {
    max-width: calc(100% - 7rem);
    min-width: 0;
    overflow: hidden;
}

.template-9817 .product_card__characteristics > a.product_card__characteristic--fit-more > .product_card__characteristic {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.template-9817 .product_card__characteristics .show-more-button {
    cursor: pointer;
    user-select: none;
    padding: 4px 10px;
    transition: .2s;
    align-self: flex-start;
}

.template-9817 .product_card__characteristics .show-more-button .show-more-button-text {
    font-size: 11px;
    line-height: 26px;
}

.template-9817 .product_card__characteristics .show-more-button .show-more-button-text::before,
.template-9817 .product_card__characteristics .show-more-button .show-more-button-text::after {
    content: "";
    position: absolute;
    top: 50%;
    transition: all .2s ease;
}

.template-9817 .product_card__characteristics .show-more-button .show-more-button-text::after {
    left: 6%;
    width: 0;
    height: 2px;
    background: var(--color-4);
    transform: translateY(-50%) translateX(-0.5rem);
    transform-origin: right;
}

.template-9817 .product_card__characteristics .show-more-button .show-more-button-text::before {
    left: 0;
    width: .5em;
    height: .5em;
    border-top: 2px solid var(--color-4);
    border-right: 2px solid var(--color-4);
    transform: translateY(-50%) rotate(45deg);
}

@media (min-width: 767px) {
    .template-9817 .product_card__characteristics .show-more-button .show-more-button-text {
        font-size: 14px;
    }
}

@media (min-width: 991.92px) {
    .template-9817 .product_card__characteristics .show-more-button .show-more-button-text {
        padding-left: .15rem;
        font-size: 16px;
        transition: .2s;
    }

    .template-9817 .product_card__characteristics .show-more-button:hover {
        padding-right: 0rem !important;
    }

    .template-9817 .product_card__characteristics .show-more-button:hover .show-more-button-text {
        padding-left: .75rem;
    }

    .template-9817 .product_card__characteristics .show-more-button:hover .show-more-button-text::after {
        width: 1em;
        background: var(--color-3);
    }

    .template-9817 .product_card__characteristics .show-more-button:hover .show-more-button-text::before {
        transform: translateY(-50%) translateX(0.5em) rotate(45deg);
        border-color: var(--color-3);
    }
}
