/* ========================================================
   Navros Product Slider — CSS
   ======================================================== */
.nps-outer {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 0 24px;
}
.nps-viewport { overflow: hidden; width: 100%; }
.nps-track {
    display: flex;
    gap: 16px;
    transition: transform 0.5s cubic-bezier(0.77,0,0.18,1);
    will-change: transform;
}

/* ── Card ── */
.nps-card {
    flex-shrink: 0;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    transition: box-shadow 0.2s;
    cursor: pointer;
}
.nps-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }

.nps-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.nps-card__link:hover { text-decoration: none; }

/* Imagem */
.nps-card__img-wrap {
    position: relative;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    aspect-ratio: 1 / 1;
}
.nps-card__img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Badge desconto */
.nps-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e3f0ff;
    color: #1565c0;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 20px;
    z-index: 2;
}

/* Botão carrinho */
.nps-cart-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #4caf50;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.18s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nps-cart-btn:hover { background: #43a047; }
.nps-cart-btn svg { width: 18px; height: 18px; fill: #fff; display: block; }

/* Body */
.nps-card__body {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.nps-brand {
    font-size: 0.72rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
}

.nps-name {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #222;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Preços */
.nps-prices { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; }
.nps-price-old { font-size: 0.75rem; color: #aaa; text-decoration: line-through; }
.nps-price-row { display: flex; align-items: center; gap: 6px; }
.nps-price { font-size: 1rem; font-weight: 700; color: #111; }
.nps-discount-badge {
    background: #e3f0ff;
    color: #1565c0;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
}
.nps-price2 { font-size: 0.75rem; color: #555; }

/* Botão comprar */
.nps-buy-btn {
    display: block;
    margin-top: 10px;
    text-align: center;
    background: #fff;
    color: #333;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
    transition: border-color 0.18s, color 0.18s;
}
.nps-card:hover .nps-buy-btn { border-color: #4caf50; color: #4caf50; }

/* ── Setas ── */
.nps-arrow {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: border-color 0.2s;
    padding: 0;
}
.nps-arrow:hover { border-color: #4caf50; }
.nps-arrow:hover svg { fill: #4caf50; }
.nps-arrow svg { width: 20px; height: 20px; fill: #444; display: block; }
.nps-arrow--prev { left: -8px; }
.nps-arrow--next { right: -8px; }
.nps-arrow:disabled { opacity: 0.3; cursor: default; }

/* ── Dots ── */
.nps-dots { display: flex; justify-content: center; gap: 6px; padding-top: 14px; }
.nps-dots .nps-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
    padding: 0;
}
.nps-dots .nps-dot.is-active { background: #4caf50; width: 20px; border-radius: 6px; }

@media (max-width: 768px) {
    .nps-arrow--prev { left: -10px; }
    .nps-arrow--next { right: -10px; }
    .nps-arrow { width: 32px; height: 32px; }
    .nps-arrow svg { width: 16px; height: 16px; }
}


/* Botão coração */
/* =====================================================
   NAVROS SLIDER — HOVER DO CARD + FAVORITO
   ===================================================== */

/* Transição suave do card */
.nps-card {
    transition:
        border-color .22s ease,
        box-shadow .22s ease !important;
}

/* Borda verde suave ao passar o mouse */
.nps-card:hover {
    border-color: rgba(47, 125, 99, .25) !important;

    box-shadow:
        0 0 0 1px rgba(47, 125, 99, .20),
        0 4px 12px rgba(47, 125, 99, .035) !important;
}

/* Área da imagem serve de referência para o coração */
.nps-card__img-wrap {
    position: relative !important;
}


/* =====================================================
   BOTÃO FAVORITO
   ===================================================== */

.nps-wish-btn {
    position: absolute !important;

    top: 8px !important;
    right: 8px !important;

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

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

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

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

    background: #ffffff !important;

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

    box-shadow: 0 2px 7px rgba(0, 0, 0, .14) !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    z-index: 30 !important;

    cursor: pointer !important;

    transition:
        opacity .20s ease,
        transform .20s ease !important;
}

/* Mouse em QUALQUER ponto do card */
.nps-card:hover .nps-wish-btn {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Não deixa tema/Elementor pintar o botão */
.nps-wish-btn:hover,
.nps-wish-btn:focus,
.nps-wish-btn:active {
    background: #ffffff !important;
    border: 0 !important;
    outline: 0 !important;
}

.nps-wish-btn:hover {
    transform: scale(1.06) !important;
}


/* =====================================================
   CORAÇÃO
   ===================================================== */

/*
 * O SVG original existe no PHP, mas alguma regra global
 * do site está reduzindo sua largura para 0.
 * Mantemos o SVG no HTML e usamos o pseudo-elemento.
 */
.nps-wish-btn svg {
    display: none !important;
}

/* Não favoritado */
.nps-wish-btn::before {
    content: "♡" !important;

    display: block !important;

    font-family: Arial, sans-serif !important;
    font-size: 27px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    color: #2F7D63 !important;
}

/* Favoritado */
.nps-wish-btn.is-active::before {
    content: "♥" !important;
    color: #D94F3D !important;
}
/* ----ARTE NO CARD OFERTA */
/* ---- ARTE NO CARD OFERTA ---- */
.nps-offer-art {
    position: absolute !important;

    right: 2px !important;
    top: 10px !important;
    bottom: auto !important;

    width: 70px !important;
    height: 100px !important;

    color: #8FCF9D !important;
    opacity: .80 !important;

    transform: rotate(6deg) !important;

    pointer-events: none !important;
    z-index: 1 !important;
}

/* força o SVG a usar o verde */
.nps-offer-art svg {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.nps-offer-art svg path {
    stroke: #8FCF9D !important;
}

/* arco decorativo suave atrás do ramo */
.nps-offer-art::before {
    content: "" !important;

    position: absolute !important;

    width: 66px !important;
    height: 66px !important;

    right: -13px !important;
    bottom: 9px !important;

    border: 1.5px solid #B8E2C1 !important;
    border-radius: 50% !important;

    z-index: -1 !important;
}

.nps-offer-photo-dog img {
    width: 205px !important;
    max-width: 205px !important;

    height: auto !important;

    object-fit: unset !important;
    object-position: initial !important;
}
/* =========================================================
   NAVROS PRODUCT SLIDER — MOBILE
   Desktop permanece intacto
   ========================================================= */

@media (max-width: 767px) {

    /* aproveita melhor a largura da tela */
    .nps-outer {
        width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .nps-viewport {
        width: 100% !important;
        overflow: hidden !important;
    }

    /* menor distância entre os 2 cards */
    .nps-track {
        gap: 10px !important;
    }


    /* CARD */
    .nps-card {
        border-radius: 12px !important;
        min-width: 0 !important;
    }


    /* IMAGEM */
    .nps-card__img-wrap {
        padding: 8px !important;
        aspect-ratio: 1 / 1 !important;
        background: #fff !important;
    }

    .nps-card__img-wrap img {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;

        object-fit: contain !important;
    }


    /* CONTEÚDO */
    .nps-card__body {
        padding: 9px 9px 12px !important;
        gap: 3px !important;
    }

    .nps-brand {
        font-size: 9px !important;
        line-height: 1.2 !important;
    }

    .nps-name {
        font-size: 11px !important;
        line-height: 1.3 !important;

        -webkit-line-clamp: 3;
    }


    /* PREÇOS */
    .nps-prices {
        margin-top: 5px !important;
        gap: 1px !important;
    }

    .nps-price-old {
        font-size: 10px !important;
    }

    .nps-price-row {
        gap: 4px !important;
        flex-wrap: wrap !important;
    }

    .nps-price {
        font-size: 13px !important;
    }

    .nps-discount-badge {
        font-size: 9px !important;
        padding: 2px 4px !important;
    }

    .nps-price2 {
        font-size: 10px !important;
        line-height: 1.25 !important;
    }


    /* FAVORITO:
       no touch precisa ficar sempre disponível */
    .nps-wish-btn {
        top: 6px !important;
        right: 6px !important;

        width: 30px !important;
        min-width: 30px !important;
        max-width: 30px !important;

        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;

        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .nps-wish-btn::before {
        font-size: 23px !important;
    }


    /* CARRINHO */
    .nps-cart-btn {
        right: 7px !important;
        bottom: 7px !important;

        width: 32px !important;
        height: 32px !important;
    }

    .nps-cart-btn svg {
        width: 16px !important;
        height: 16px !important;
    }


    /* botão Comprar:
       em telas pequenas ocupa menos altura */
    .nps-buy-btn {
        margin-top: 7px !important;

        padding: 6px 4px !important;

        font-size: 10px !important;
        line-height: 1.2 !important;
    }


    /* setas:
       no celular o swipe é mais natural;
       evitamos botão em cima dos produtos */
    .nps-arrow {
        display: none !important;
    }


    /* dots mais discretos */
    .nps-dots {
        gap: 5px !important;
        padding-top: 10px !important;
    }

    .nps-dots .nps-dot {
        width: 6px !important;
        height: 6px !important;
    }

    .nps-dots .nps-dot.is-active {
        width: 16px !important;
    }


    /* arte decorativa de oferta */
    .nps-offer-art {
        width: 42px !important;
        height: 62px !important;

        right: 0 !important;
        top: 6px !important;

        opacity: .65 !important;
    }

    .nps-offer-art::before {
        width: 40px !important;
        height: 40px !important;

        right: -8px !important;
        bottom: 5px !important;
    }


    /* imagem especial do cachorro */
    .nps-offer-photo-dog img {
        width: 120px !important;
        max-width: 100% !important;
        height: auto !important;
    }
}
/* =========================================================
   NAVROS PRODUCT SLIDER — ÍCONE DO CARRINHO
   SVG independente de Font Awesome / Elementor
   ========================================================= */

/* =========================================================
   NAVROS PRODUCT SLIDER — ÍCONE DO CARRINHO
   SVG independente de Font Awesome / Elementor
   ========================================================= */

.nps-cart-btn svg {
    display: none !important;
}

.nps-cart-btn::before {
    content: "" !important;

    display: block !important;

    width: 19px !important;
    height: 19px !important;

    background-color: #fff !important;

    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2l2.2 10.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L20 7H7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='19' r='1.5' fill='black'/%3E%3Ccircle cx='17' cy='19' r='1.5' fill='black'/%3E%3C/svg%3E") !important;

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h2l2.2 10.2a2 2 0 0 0 2 1.6h7.7a2 2 0 0 0 2-1.6L20 7H7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='10' cy='19' r='1.5' fill='black'/%3E%3Ccircle cx='17' cy='19' r='1.5' fill='black'/%3E%3C/svg%3E") !important;

    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;

    -webkit-mask-position: center !important;
    mask-position: center !important;

    -webkit-mask-size: contain !important;
    mask-size: contain !important;
}

/* =========================================================
   NAVROS PRODUCT SLIDER — CARRINHO FINAL
   SVG nativo do widget; sem Font Awesome / mask / pseudo
   ========================================================= */

.nps-cart-btn {
    width: 40px !important;
    height: 40px !important;

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

.nps-cart-btn::before {
    content: none !important;
    display: none !important;

    background: none !important;
    -webkit-mask: none !important;
    mask: none !important;
}

.nps-cart-btn .nps-cart-icon,
.nps-cart-btn svg.nps-cart-icon {
    display: block !important;

    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;

    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;

    color: #fff !important;
    fill: currentColor !important;

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

/* NAVROS PRODUCT SLIDER — CARRINHO FINAL — FIM */

/* =========================================================
   NAVROS PRODUCT SLIDER — CARRINHO FINAL
   SVG nativo no PHP
   ========================================================= */

.nps-cart-btn {
    width: 40px !important;
    height: 40px !important;

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

.nps-cart-btn::before {
    content: none !important;
    display: none !important;
    background: none !important;
    -webkit-mask: none !important;
    mask: none !important;
}

.nps-cart-btn .nps-cart-icon {
    display: block !important;

    width: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;

    height: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;

    color: #fff !important;
    fill: currentColor !important;

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

/* NAVROS PRODUCT SLIDER — CARRINHO FINAL — FIM */

/* =========================================================
   NAVROS PRODUCT SLIDER — CORAÇÃO FINAL
   SVG encorpado; preserva hover existente
   ========================================================= */

/* desativa o antigo coração textual */
.nps-wish-btn::before,
.nps-wish-btn.is-active::before {
    content: none !important;
    display: none !important;
}

/* mostra o SVG real */
.nps-wish-btn .nps-heart-icon,
.nps-wish-btn svg.nps-heart-icon {
    display: block !important;

    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;

    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;

    color: #74351f !important;
    fill: currentColor !important;

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

/* quando favoritado */
.nps-wish-btn.is-active .nps-heart-icon {
    color: #D94F3D !important;
}

/* NAVROS PRODUCT SLIDER — CORAÇÃO FINAL — FIM */
