/**categorie slider */

.cards_carousel .cards figure,
.product_owl_slide figure {
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.5s;
    max-height: 500px; /** 14 jan increased height **/
}

.cards_carousel .cards figure {
    margin-bottom: var(--size20);
}

.owl-carousel.product_owl_slide {
    max-height: 600px;
    max-width: 100%;
}

.cards_carousel .cards figure a {
    display: flex;
}

.cards_carousel .cards figure:before,
.product_owl_slide figure::before {
    content: '';
    width: 0;
    height: 0;
    padding-bottom: var(--ratio-percent);
}

.cards_carousel .cards figure img,
.product_owl_slide figure img {
    object-fit: cover;
    position: relative;
    width: 100%;
    transition: all 0.3s;
    height: auto;
}

.cards_carousel .cards figure img.image-hover {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover; /** 14 jan added can change as per height **/
    opacity: 0;
}

.cards_carousel .cards:hover img.image-hover:hover {
    opacity: 1;
    transform: scale(1.1);
}

.cards_carousel .cards .card-content {
    font-size: var(--size14);
    position: relative;
    text-align: left;
}

.cards_carousel .cards .card-content .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cards_carousel .cards .card-content .title a {
    font-weight: 700;
    font-size: var(--size18);
    font-family: 'Tajawal-Bold';
    color: var(--base);
    text-decoration: none;
}

.cards_carousel .cards .card-content .rate {
    font-family: 'Tajawal-Medium';
    display: flex;
}

.cards_carousel .cards .card-content .discount {
    font-family: 'Tajawal-Medium';
    font-weight: 500;
    font-size: var(--size18);
    padding-right: 0.5rem;
    color: var(--base);
    text-decoration: line-through;
}

.cards:hover .add-to-cart {
    bottom: 0;
}

.owl-carousel .owl-stage {
    display: flex;
    place-items: baseline;
}

.cards_carousel .owl-nav {
    display: none;
}

.cards_carousel > .owl-dots {
    margin-top: 20px;
}

.cards_carousel .owl-dots .owl-dot span {
    width: 0.5rem;
    height: 0.5rem;
    background-color: transparent;
    border: 1px solid #505655;
}

.cards_carousel .owl-dots .owl-dot.active span {
    background-color: #505655;
    padding: 0.1rem 1rem;
    height: 2px;
}
