.product-card-mdl {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.product-card-mdl div:has( > .btn-card-entry-trigger) {
    flex-wrap: wrap;
}

.product-card-mdl .btn-card-entry-trigger {
    background: #000 !important;
    color: #fff !important;
    margin: 5px 0;
}

.product-card-mdl .color-buttons-container {
    flex-wrap: wrap;
}

@media (min-width: 767px) {
    .product-card-mdl.card-374 {
        display: flex;
        flex-direction: row;
    }

    .product-card-mdl.card-374 .card__inner {
        max-width: 300px;
        flex: 0 0 300px;
    }

    .product-card-mdl.card-374 .card__content {
        flex: 1 1 auto;
        padding-left: 20px;
    }
}

.product-card-mdl img {
    max-width: 100%;
}

.product-card-mdl .card__entry .card-size-button {
    color: #000;
}

.product-card-mdl .card__entry {
    position: absolute;
    transform: translateY(100%);
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, .9);
    transition: transform .4s;
    z-index: 2;
    padding: 8px 0 0 0;
}

.product-card-mdl .card__entry.is-active.is-showing {
    transform: translateY(-5px);
}

.product-card-mdl .card__entry button {
    transition: background .4s;
    font-size: 12px;
}

.product-card-mdl .card__entry h6 {
    font-size: .8rem;
}

.product-card-mdl .card__entry button span {
    font-size: 12px;
}

.product-card-mdl .card__entry button small {
    border-radius: 50%;
    background: red;
    height: 4px;
    width: 4px;
}

.product-card-mdl .card__entry button:hover {
    background: #bbb !important;
}

.product-card-mdl .card__entry button span {
    position: absolute;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, .25);
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    pointer-events: none;
    white-space: nowrap;
    background: #fff;
    padding: 5px;
    opacity: 0;
    transition: opacity .4s;
    color: #000;
    white-space: normal;
    font-size: 14px;
}

.product-card-mdl .card__entry button:hover span {
    opacity: 1;
    pointer-events: all;
}

.product-card-mdl .card__favourites {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 24px;
    transition: background .4s;
    background-image: url('/assets/template_files/images/heart.svg');
    background-size: 85%;
    background-repeat: no-repeat;
    background-position: center center;
}

.product-card-mdl .card__favourites.active {
    background-image: url('/assets/template_files/images/heart_full.svg');
}

@media (min-width: 992px) {
    .product-card-mdl .card__favourites:hover {
        background-image: url('/assets/template_files/images/heart_full.svg');
    }
}

.product-card-mdl em {
    font-style: normal;
}

.product-card-mdl a:hover,
.product-card-mdl a:focus {
    color: #8e6e34;
}

@media (min-width: 576px) {
    
    .product-card-mdl .card__content {
        min-height: 71px;
    }
}

/*  card-large  */

.card-large .product-card-mdl .slides-container {
    height: 100%;
}

.card-large .product-card-mdl .slides-container .slide img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-large .product-card-mdl, 
.card-large .product-card-mdl .card__inner,
.card-large .product-card-mdl .custom-slider-1,
.card-large .product-card-mdl .slider-wrapper {
    height: 100%;
}

.product-card-mdl .card__entry button small {
    border-radius: 50%;
    background: red;
    height: 4px;
    width: 4px;
}

.product-card-mdl .card__color {
    height: 16px;
    width: 16px;
    border-radius: 50%;
    border: 2px solid #d8d8d8;
    padding: 0;
}

.product-card-mdl .card__color.is-active {
    border: 2px solid #deb062;
}

.product-card-mdl .card__content {
    flex: 1 1 auto;
}

.product-card-mdl .card__content .card__footer {
    min-height: 98px;
}

@media (min-width: 992px) {
 
    .product-card-mdl .card__content .card__footer {
        min-height: 56px;
    }   
}

/* card--short */

.product-card-mdl.card-374.card--short .card__content h5 {
    font-size: 1rem;
}

.product-card-mdl.card-374.card--short .card__remove {
    text-align: left !important;
}


@media (min-width: 767px) {
    .product-card-md .card__entry h6 {
        font-size: 1rem;
    }

    .product-card-md .card__entry li button {
        font-size: 14px;
    }
    
    .product-card-mdl .card__entry button span {
        font-size: 14px;
    }
}

@media (min-width: 767px) {

    .product-card-mdl.card-374.card--short .card__inner {
        max-width: 200px;
        flex: 0 0 200px;
    }
}

@media (min-width: 992px) {
    .product-card-mdl .card__inner:hover .card__entry.is-active {
        transform: translateY(0);
    }
    .product-card-mdl .card__entry {
        
        padding: 16px;
    }
}

.product-card-mdl .card__entry .card-size-button.card__unavailable {
    color: #ccc;
}

/*******************************
    Friends Optics
*******************************/

.product-card-friends-optics {
    transition: box-shadow .4s;
    padding: 5px;
    border-radius: 5px;
}

.product-card-friends-optics .card__content .card__footer {
    min-height: auto;
}

@media (min-width: 992px) {
    
    .product-card-friends-optics {
        padding: 5px 5px 20px;
    }
}

.product-card-friends-optics:hover {
    box-shadow: 0 0 10px 3px rgba(0, 0, 0, .25);
}

.product-card-friends-optics .card__inner {
    border-bottom: 2px solid #D9D9D9;
}

.product-card-friends-optics .card__content h5 {
    transition: color .4s;
}

.product-card-friends-optics .card__color {
    height: 18px;
    width: 18px;
    border-color: #ccc;
}

.product-card-friends-optics .card__color.is-active {
    border-color: var(--color-3);
}

.product-card-friends-optics .product-price-container {
    display: flex;
    /* flex-direction: row-reverse; */
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: var(--color-3);
    font-weight: 700;
}

@media (min-width: 767px) {

    .product-card-friends-optics .product-price-container {
        font-size: 20px;
    }
}

.product-card-friends-optics .product-price-container > s {
    font-size: 15px;
    color: #000;
    font-weight: normal;
}

.product-card-friends-optics .product-price-container span {
    color: var(--color-3) !important;
    font-weight: 700;
    margin: 0 4px;
    font-size: 16px;
}

@media (min-width: 767px) {

    .product-card-friends-optics .product-price-container span {
        font-size: 20px;
        margin: 0 8px;
    }

    .product-card-friends-optics .product-price-container > s {
        font-size: 16px;
    }
}

.product-card-friends-optics .card__favourites {
    top: auto;
    bottom: 5px;
    height: 22px;
    width: 22px;
    background-size: 80%;
}

@media (min-width: 993px) {
    
    .product-card-friends-optics .card__favourites {
        height: 25px;
        width: 25px;
        background-size: 85%;
    }
}

.product-card-friends-optics .card__promo-percent {
    position: absolute;
    z-index: 1;
    font-weight: 400;
    top: 0;
    right: 0;
    font-size: 16px;
    color: #000;
}

.product-card-friends-optics .slide-arrow {
    display: none;
}

.hide-imp {
    display: none !important;
}

/* Style 1 for friends optics cards */

.product-card-friends-optics.product-card-friends-optics--alt .product-price-container,
.product-card-friends-optics.product-card-friends-optics--alt .product-price-container > s,
.product-card-friends-optics.product-card-friends-optics--alt .product-price-container span {
    font-size: 12px !important;
}

.product-card-friends-optics.product-card-friends-optics--alt {
    padding: unset;
}

@media (min-width: 575.92px) {

    .product-card-friends-optics.product-card-friends-optics--alt .product-price-container,
    .product-card-friends-optics.product-card-friends-optics--alt .product-price-container > s,
    .product-card-friends-optics.product-card-friends-optics--alt .product-price-container span {
        font-size: 15px !important;
    }   
}

@media (min-width: 767px) {

    .product-card-friends-optics.product-card-friends-optics--alt{
        padding: 5px;
    }

    .product-card-friends-optics.product-card-friends-optics--alt .product-price-container > s {
        font-size: 16px !important;
    }

    .product-card-friends-optics.product-card-friends-optics--alt .product-price-container,
    .product-card-friends-optics.product-card-friends-optics--alt .product-price-container span {
        font-size: 17px !important;
    }
}

/*  Price color 4 */

.product-card-friends-optics.product-card-friends-optics--alt.price-color-4 .product-price-container span {
    color: var(--color-4) !important;
}

/*  Favourites btn neon green heart */

.product-card-friends-optics.favourites-neon-green-heart .card__favourites,
.product-card-mdl.favourites-neon-green-heart .card__favourites {
    background-image: url('/assets/template_files/images/heart-neon-green.svg');
}

.product-card-friends-optics.favourites-neon-green-heart .card__favourites.active,
.product-card-mdl.favourites-neon-green-heart .card__favourites.active {
    background-image: url('/assets/template_files/images/heart-neon-green-full.svg');
}

@media (min-width: 992px) {

    .product-card-friends-optics.favourites-neon-green-heart .card__favourites:hover,
    .product-card-mdl.favourites-neon-green-heart .card__favourites:hover {
        background-image: url('/assets/template_files/images/heart-neon-green-full.svg');
    }
}
