/*  Card image  */

.card-5200 .card__image > a {
    /* max-width: 70%;
    margin: 0 auto; */
}

/*  Discount btn  */

.card-5200 .card__discount {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 20px;
}

/*  Favourites btn  */

.card-5200 .card__favourites {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 15px;
    transition: background .4s;
    background-image: url('/assets/template_files/images/heart.svg');
    background-size: 92%;
    background-repeat: no-repeat;
    background-position: center center;
}

.card-5200 .card__favourites.active {
    background-image: url('/assets/template_files/images/heart_full.svg');
}

@media (min-width: 992px) {

    .card-5200 .card__favourites:hover {
        background-image: url('/assets/template_files/images/heart_full.svg');
    }
}

/*  Favourites btn pink heart */

.card-5200.favourites-pink-heart .card__favourites {
    background-image: url('/assets/template_files/images/heart-pink.svg');
}

.card-5200.favourites-pink-heart .card__favourites.active {
    background-image: url('/assets/template_files/images/heart_full-pink.svg');
}

@media (min-width: 992px) {
    
    .card-5200.favourites-pink-heart .card__favourites:hover {
        background-image: url('/assets/template_files/images/heart_full-pink.svg');
    }
}

/*  Favourites btn orange heart */

.card-5200.favourites-bright-orange-heart .card__favourites {
    background-image: url('/assets/template_files/images/heart-bright-orange.svg');
}

.card-5200.favourites-bright-orange-heart .card__favourites.active {
    background-image: url('/assets/template_files/images/heart_full-bright-orange.svg');
}

@media (min-width: 992px) {
    
    .card-5200.favourites-bright-orange-heart .card__favourites:hover {
        background-image: url('/assets/template_files/images/heart_full-bright-orange.svg');
    }
}

/*  Favourites btn bottom right  */

.card-5200.favourites_bottom_right .card__favourites {
    top: unset;
    bottom: 10px;
}

/*  title  */

@media (max-width: 450px) {
    
    .card-5200 .card__title  {
        font-size: 16px;
    }
}

/*  Action btn  */

.card-5200 .card__action .mobile-hidden {
    display: none;
}

.card-5200 .card__action button {
    font-size: 13px;
    padding: 0 14px;
    height: 35px;
    line-height: 33px;
    white-space: nowrap;
}

.card-5200 .card__action button svg {
    display: none;
}

@media (min-width: 500px) {

    .card-5200 .card__action button {
        font-size: 15px;
        line-height: 43px;
        height: 45px;
        padding: 0 15px;
    }
}

@media (min-width: 767px) {
    
    .card-5200 .card__action .mobile-hidden {
        display: block;
    }
}

@media (min-width: 1199px) {

    .card-5200 .card__action button {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .card-5200 .card__action button svg {
        display: inline-block;
    }   
}

/* action btn & card title font size inherit */

.card-5200 .card__action--fz-inherit button,
.card-5200 .card__title--fz-inherit {
    font-size: inherit;
}

/*  Card for favourites  */

.card-5200.card--fav .card__image {
    max-width: 40%;
    flex: 0 0 40%;
}

.card-5200.card--fav .card__favourites {
    top: 5px; right: 5px;
}

.card-5200.card--fav .card__content {
    flex: 1 1 auto;
    text-align: left !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-5200.card--fav .card__content > a > h5 {
    padding-right: 30px;
}

.card-5200.card--fav .card__content > a small {
    color: #6c757d;
}

@media (max-width: 500px) {
    
    .card-5200.card--fav .card__content > a > h5 {
        font-size: 1rem !important;
    }
}

.card-5200.card--fav .card__action {
    text-align: right;
}

.card-5200.card--fav .card__action button {
    margin: 5px 0 0;
}

.card-5200.card--fav .card__action button svg {
    display: block;
}

.card-5200.card--fav .card__action button {
    font-size: 14px;
    padding: 0 10px;
    height: 35px;
    line-height: 33px;
}

@media (min-width: 767px) {

    .card-5200.card--fav .card__action button {
        font-size: 16px;
        line-height: 43px;
        height: 45px;
        padding: 0 35px;
    }
}

/*  show two images from product gallery  */

.card-5200 .card__image.card-switch-images img {
    transition: opacity .3s;
}

.card-5200 .card__image.card-switch-images img:last-child {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    height: 100%;
    width: 100%;
}

.card-5200:hover .card__image.card-switch-images img:first-child {
    opacity: 0;
}

.card-5200:hover .card__image.card-switch-images img:last-child {
    opacity: 1;
}

/*  See more btn  */

.card-5200.see-more-btn-style-1 .card__see_more_btn_text {
    padding-left: 1em;
    transition: .2s;
}

.card-5200.see-more-btn-style-1 .card__see_more_btn_text::before,
.card-5200.see-more-btn-style-1 .card__see_more_btn_text::after {
    content: "";
    position: absolute;
    top: 50%;
    transition: all .2s ease;
}

.card-5200.see-more-btn-style-1 .card__see_more_btn_text::after {
    left: 6%;
    width: 0;
    height: 2px;
    background: var(--color-3);
    transform: translateY(-50%) translateX(-0.5rem);
    transform-origin: right;
}

.card-5200.see-more-btn-style-1 .card__see_more_btn_text::before {
    left: 0;
    width: .5em;
    height: .5em;
    border-top: 2px solid var(--color-3);
    border-right: 2px solid var(--color-3);
    transform: translateY(-50%) rotate(45deg);
}

.card-5200.see-more-btn-style-1 .card__see_more_btn:hover .card__see_more_btn_text {
    padding-left: 1.6em;
}

.card-5200.see-more-btn-style-1 .card__see_more_btn:hover .card__see_more_btn_text::after {
    width: 1em;
}

.card-5200.see-more-btn-style-1 .card__see_more_btn:hover .card__see_more_btn_text::before {
    transform: translateY(-50%) translateX(0.5em) rotate(45deg);
}
