:root {
    --cor-desconto1: #EEA624;
    --cor-desconto2: #559A33;
    --cor-desconto-text: #fff;
}
/* =========================================================
   CARD PRODUTO
========================================================= */
.desconto-tag-1 {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-top-right-radius: 6px;
    color: #fff;
    background-color: var(--cor-desconto2);
    line-height: 1;
    box-shadow: -1px 2px 4px rgba(0, 0, 0, 0.3);
}
.desconto-tag-2 {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    padding: 1px 12px;
    border-bottom-left-radius: 6px;
    color: #fff;
    background-color: var(--cor-desconto1);
    line-height: 1.1;
    box-shadow: -1px 2px 4px rgba(0, 0, 0, 0.3)
}

.desconto-ribbon-1 {
    color: #fff;
    position: absolute;
    font-size: 12px;
    z-index: 2;
    top: -2px;
    top: 0px;
    width: 100%;
    text-align: center;
    right: -2px;
    font-weight: 700;
}

.product-card {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;

    aspect-ratio: 0.73;
    width: 100%;
    /*height: 100%;*/
    /*min-height: 430px;*/

    padding: 16px;

    background: #ffffff;

    border: 1px solid #20263c;
    border-radius: 10px;

    box-sizing: border-box;
    overflow: hidden;

    transition:
            box-shadow .25s ease,
            transform .25s ease;
}


/* =========================================================
   LINK GERAL DO CARD
========================================================= */

.product-card-link {
    position: absolute;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    z-index: 5;

    display: block;
}


/* =========================================================
   HEADER
========================================================= */

.product-card-header {
    position: relative;
    z-index: 20;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    width: 100%;
    min-height: 52px;
}


/* =========================================================
   TITULO / CATEGORIA
========================================================= */

.product-card-heading {
    flex: 1;
    min-width: 0;

    /* Espaço reservado para os badges */
    /*padding-right: 40px;*/
}


/* TITULO */

.product-card-title {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    color: #20263c;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.15;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* CATEGORIA */

.product-card-category {
    display: block;

    width: 100%;

    margin-top: 3px;

    color: #20263c;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.15;

    text-transform: uppercase;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* =========================================================
   BADGES
   NOVO / DESCONTO
========================================================= */

.product-card-badges {
    position: absolute;

    top: 0;
    right: 0;

    z-index: 100 !important;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 6px;

    pointer-events: none;
}


/* BADGE BASE */

.product-card-badge {
    position: relative;
    z-index: 101 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 38px !important;
    height: 38px !important;

    min-width: 38px !important;
    min-height: 38px !important;

    max-width: 38px !important;
    max-height: 38px !important;

    flex: 0 0 38px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50% !important;

    box-sizing: border-box !important;

    font-size: 11px;
    font-weight: 600;
    line-height: 1;

    text-align: center;
    white-space: nowrap;
}


/* NOVO */

.product-card-badge-new {
    background: #4b9d34;
    color: #ffffff;
}


/* DESCONTO */

.product-card-badge-discount {
    background: #4b9d34;
    color: #ffffff;
}


/* =========================================================
   ÁREA DA IMAGEM
========================================================= */

.product-card-image {
    position: relative;
    z-index: 2;

    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    /*width: calc(100% + 32px);*/
    width: 100%;

    /*margin-left: -16px;*/
    /*margin-right: -16px;*/

    /*min-height: 250px;*/

    padding: 4px 0;

    box-sizing: border-box;
    overflow: hidden;
}


/* =========================================================
   IMAGEM
========================================================= */

.product-card-image img {
    position: relative;
    z-index: 1;

    display: block;
    aspect-ratio: 1;
    width: 100%;
    height: 100%;
    /*height: 280px;*/

    max-width: none;
    max-height: 280px;

    margin: 0;
    padding: 0;

    object-fit: contain;
    object-position: center;

    transition: transform .35s ease;
}


/* ZOOM */

.product-card:hover .product-card-image img {
    transform: scale(1.03);
}


/* =========================================================
   FOOTER
========================================================= */

.product-card-footer {
    position: relative;
    z-index: 30;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    width: 100%;
    min-height: 48px;

    margin-top: 5px;
}


/* =========================================================
   PREÇO
========================================================= */

.product-card-price {
    position: relative;
    z-index: 31;

    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: flex-end;

    min-width: 0;

    line-height: 1;
}


/* PREÇO ANTIGO */

.product-card-old-price {
    display: block;

    margin: 4px 0px 0px 4px;
    padding: 0;

    color: #808080;

    font-size: 12px;
    font-weight: 400;
    line-height: 1;

    text-decoration: line-through;
}


/* PREÇO ATUAL */

.product-card-current-price {
    display: block;

    margin: 0;
    padding: 0;

    color: #20263c;

    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}


/* PREÇO PROMO */

.product-card-current-price-promo {
    color: #4b9d34;
}


/* PREÇO SOB CONSULTA */

.product-card-price-consult {
    color: #20263c;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}


/* =========================================================
   ÁREA DOS BOTÕES
========================================================= */

.product-card-actions {
    position: relative;
    z-index: 50;

    width: 42px;
    height: 42px;

    min-width: 42px;

    flex: 0 0 42px;

    margin-left: 10px;

    overflow: visible;
}


/* =========================================================
   FAVORITO
   FICA SEMPRE FIXO
========================================================= */

.product-card-favorite {
    position: absolute !important;

    right: 0 !important;
    bottom: 0 !important;

    z-index: 60 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;

    min-width: 42px !important;
    min-height: 42px !important;

    max-width: 42px !important;
    max-height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;

    border: 1px solid #20263c !important;
    border-radius: 50% !important;

    box-sizing: border-box !important;

    color: #20263c;

    font-size: 18px;
    line-height: 1 !important;

    cursor: pointer;

    outline: none !important;

    appearance: none;
    -webkit-appearance: none;

    opacity: 1 !important;
    visibility: visible !important;

    transform: none !important;

    transition:
            background-color .2s ease,
            color .2s ease,
            border-color .2s ease;
}


/* ÍCONE FAVORITO */

.product-card-favorite i {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 18px !important;
    line-height: 1 !important;

    transition: color .2s ease;
}


/* =========================================================
   CARRINHO
   FICA POR CIMA DO FAVORITO
========================================================= */

.product-card-cart {
    position: absolute !important;

    right: 0;
    bottom: 50px;

    z-index: 59 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;

    min-width: 42px !important;
    min-height: 42px !important;

    max-width: 42px !important;
    max-height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    background: #ffffff !important;

    border: 1px solid #20263c !important;
    border-radius: 50% !important;

    box-sizing: border-box !important;

    color: #20263c !important;

    text-decoration: none !important;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform: translateX(60px);

    transition:
            transform .30s ease,
            opacity .20s ease,
            visibility .20s ease,
            background-color .2s ease,
            color .2s ease,
            border-color .2s ease;
}


/* ÍCONE CARRINHO */

.product-card-cart i {
    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 18px !important;
    line-height: 1 !important;

    transition: color .2s ease;
}


/* =========================================================
   HOVER DO CARD
   CARRINHO FAZ SLIDE
========================================================= */

.product-card:hover .product-card-cart {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;

    transform: translateX(0);
}


/* =========================================================
   FAVORITO NÃO SE MEXE NO HOVER
========================================================= */

.product-card:hover .product-card-favorite {
    opacity: 1 !important;

    visibility: visible !important;

    transform: none !important;
}


/* =========================================================
   HOVER FAVORITO
========================================================= */

.product-card-favorite:hover {
    background: #4b9d34 !important;
    border-color: #4b9d34 !important;
    color: #ffffff !important;
}

.product-card-favorite:hover i {
    color: #ffffff !important;
}


/* =========================================================
   HOVER CARRINHO
========================================================= */

.product-card-cart:hover {
    background: #4b9d34 !important;
    border-color: #4b9d34 !important;
    color: #ffffff !important;

    text-decoration: none !important;
}

.product-card-cart:hover i {
    color: #ffffff !important;
}


/* =========================================================
   WISHLIST ATIVA
========================================================= */

.product-card-favorite .cor-vermelho {
    color: #ffffff;
}


/* =========================================================
   HOVER CARD
========================================================= */

.product-card:hover {
    box-shadow: 0 7px 22px rgba(0, 0, 0, .08);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .product-card {
        /*min-height: 330px;*/
        padding: 12px;
    }


    /* HEADER */

    .product-card-header {
        min-height: 45px;
    }


    /* TITULO */

    .product-card-title {
        font-size: 14px;
    }


    /* CATEGORIA */

    .product-card-category {
        font-size: 10px;
    }


    /* RESERVA PARA BADGES */

    .product-card-heading {
        padding-right: 52px;
    }


    /* BADGES */

    .product-card-badges {
        top: 0;
        right: 0;

        gap: 5px;
    }


    .product-card-badge {
        width: 34px !important;
        height: 34px !important;

        min-width: 34px !important;
        min-height: 34px !important;

        max-width: 34px !important;
        max-height: 34px !important;

        flex: 0 0 34px !important;

        font-size: 10px;
    }


    /* IMAGEM */

    .product-card-image {
        width: calc(100% + 24px);

        margin-left: -12px;
        margin-right: -12px;

        /*min-height: 190px;*/

        padding: 4px 0;
    }


    .product-card-image img {
        width: 100%;
        /*height: 210px;*/

        max-height: 210px;

        object-fit: contain;
    }


    /* PREÇOS */

    .product-card-old-price {
        font-size: 11px;
    }


    .product-card-current-price {
        font-size: 16px;
    }


    /* BOTÕES */

    .product-card-actions {
        width: 38px;
        height: 38px;

        min-width: 38px;

        flex-basis: 38px;
    }


    /* FAVORITO */

    .product-card-favorite {
        width: 38px !important;
        height: 38px !important;

        min-width: 38px !important;
        min-height: 38px !important;

        max-width: 38px !important;
        max-height: 38px !important;
    }


    .product-card-favorite i {
        font-size: 16px !important;
    }


    /* CARRINHO */

    .product-card-cart {
        width: 38px !important;
        height: 38px !important;

        min-width: 38px !important;
        min-height: 38px !important;

        max-width: 38px !important;
        max-height: 38px !important;

        bottom: 45px;

        transform: translateX(55px);
    }


    .product-card:hover .product-card-cart {
        transform: translateX(0);
    }


    .product-card-cart i {
        font-size: 16px !important;
    }
}
