/* =========================================================
   NAVROS WISHLIST
   ========================================================= */

.nh-wishlist {
    position: relative;
}

.nh-wishlist__badge {
    position: absolute;

    top: -7px;
    right: -9px;

    width: 18px;
    height: 18px;

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

    padding: 0;

    background: #F76C00;
    color: #fff;

    border-radius: 50%;

    font-size: 10px;
    line-height: 1;
    font-weight: 700;

    z-index: 5;
}

.nh-wishlist__badge[hidden] {
    display: none !important;
}


/* Página */
.nw-wishlist-page {
    width: min(1180px, calc(100% - 32px));
    margin: 40px auto 70px;
}

.nw-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.nw-wishlist-card {
    position: relative;

    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;

    overflow: hidden;
}

.nw-wishlist-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.nw-wishlist-card__image {
    aspect-ratio: 1 / 1;

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

    padding: 20px;
}

.nw-wishlist-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nw-wishlist-card__body {
    padding: 0 16px 18px;
}

.nw-wishlist-card__body h3 {
    margin: 0 0 10px;

    font-size: 15px;
    line-height: 1.35;
}

.nw-wishlist-card__price {
    font-size: 17px;
    font-weight: 700;
}

.nw-wishlist-remove {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 32px;
    height: 32px;

    border: 0;
    border-radius: 50%;

    background: #fff;
    color: #74351f;

    box-shadow: 0 2px 8px rgba(0,0,0,.12);

    font-size: 22px;
    line-height: 1;

    cursor: pointer;
}

.nw-wishlist-empty {
    padding: 60px 20px;
    text-align: center;
}

.nw-wishlist-back {
    display: inline-block;

    margin-top: 12px;
    padding: 11px 22px;

    background: #2F7D63;
    color: #fff;

    border-radius: 24px;

    text-decoration: none;
}

@media (max-width: 767px) {

    .nw-wishlist-page {
        width: calc(100% - 24px);
        margin-top: 24px;
    }

    .nw-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .nw-wishlist-card__image {
        padding: 10px;
    }

    .nw-wishlist-card__body {
        padding: 0 10px 14px;
    }

    .nw-wishlist-card__body h3 {
        font-size: 12px;
    }

    .nw-wishlist-card__price {
        font-size: 14px;
    }
}

/* NAVROS WISHLIST — ACABAMENTO VISUAL — INICIO */

/* aproxima a área dos produtos e reduz espaço vazio */
.nw-wishlist-page {
    margin-top: 24px !important;
    margin-bottom: 35px !important;
}

/* animação suave dos cards */
.nw-wishlist-card {
    transition:
        transform .2s ease,
        box-shadow .2s ease !important;
}

/* efeito ao passar o mouse */
.nw-wishlist-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.08) !important;
}

/* NAVROS WISHLIST — ACABAMENTO VISUAL — FIM */


/* NAVROS WISHLIST — CENTRALIZA O X DO REMOVER */
.nw-wishlist-card__remove,
.nw-wishlist-remove,
.nw-wishlist-page .remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

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

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

    border-radius: 50% !important;
    line-height: 1 !important;
    text-align: center !important;

    font-size: 0 !important; /* esconde o X original */
}

.nw-wishlist-card__remove::before,
.nw-wishlist-remove::before,
.nw-wishlist-page .remove::before {
    content: "×" !important;
    display: block !important;

    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    transform: translateY(-1px) !important;
}
