        /* ===== Skeleton Loader ===== */
        .skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e2e2e2 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 8px;
        }

        @keyframes shimmer {
            0% {
                background-position: -200% 0;
            }

            100% {
                background-position: 200% 0;
            }
        }

        /* ===== Estrutura dos blocos de produto (simulação) ===== */
        .skeleton-card {
            display: inline-block;
            width: 180px;
            height: 260px;
            margin: 10px;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }

        .skeleton-img {
            height: 150px;
            width: 100%;
        }

        .skeleton-text {
            height: 15px;
            width: 80%;
            margin: 10px auto;
        }

        .skeleton-price {
            height: 15px;
            width: 40%;
            margin: 10px auto;
        }

        /* ===== Loader de blocos ===== */
        .loader-blocks {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 6px;
            height: 100px;
        }

        .loader-blocks .block {
            width: 10px;
            height: 40px;
            background-color: #fed700;
            border-radius: 4px;
            animation: loadingBlocks 1s ease-in-out infinite;
        }

        .loader-blocks .block:nth-child(1) {
            animation-delay: 0s;
        }

        .loader-blocks .block:nth-child(2) {
            animation-delay: 0.1s;
        }

        .loader-blocks .block:nth-child(3) {
            animation-delay: 0.2s;
        }

        .loader-blocks .block:nth-child(4) {
            animation-delay: 0.3s;
        }

        .loader-blocks .block:nth-child(5) {
            animation-delay: 0.4s;
        }

        @keyframes loadingBlocks {

            0%,
            100% {
                transform: scaleY(0.4);
                opacity: 0.5;
            }

            50% {
                transform: scaleY(1);
                opacity: 1;
            }
        }

        /* Texto abaixo do loader */
        .loader-text {
            text-align: center;
            font-size: 14px;
            color: #6c757d;
            margin-top: 10px;
        }

        .short-text {
            height: 2.8em;
            /* limita a altura total do texto */
            overflow: hidden;
        }

        .short-text a {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            /* mostra até 2 linhas */
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: normal;
            line-height: 1.4em;
            max-height: 2.8em;
            /* 2 linhas × line-height */

        }

        @media (max-width: 1199px) {
            .product-item__footer {
                display: block;
                position: relative;
                box-shadow: none;
                background: transparent;
                margin-top: 8px;
            }

            /* Opcional: centraliza os botões no mobile */
            .product-item__footer .flex-center-between {
                justify-content: center;
                gap: 10px;
            }

            .product-item__footer a {
                font-size: 13px;
            }
        }

        /* Mantém comportamento padrão (desktop) - não precisa mudar */
        /* .rating-box a já tem d-inline-flex align-items-center no HTML */

        /* Responsivo para celular: sobrescreve d-inline-flex apenas em telas pequenas */
        @media (max-width: 768px) {

            /* seletor mais específico para garantir que a regra vença o Bootstrap */
            .rating-box a.d-inline-flex {
                display: flex !important;
                /* força empilhamento (não inline) */
                flex-direction: column !important;
                /* estrelas em cima, texto em baixo */
                align-items: center !important;
                /* centraliza horizontalmente */
                justify-content: center !important;
                width: auto;
                /* deixa o link ajustar-se ao conteúdo */
                text-align: center !important;
                gap: 4px;
                /* espaço entre estrelas e texto */
                padding: 0;
                /* garante alinhamento preciso */
            }

            /* Remove o margin-right das estrelas (sobrescreve mr-2) */
            .rating-box a.d-inline-flex .text-warning {
                margin-right: 0 !important;
                margin-bottom: 4px;
                /* espaço entre as estrelas e o texto */
            }

            /* Opcional: garante que o container externo esteja centralizado */
            .rating-box {
                display: flex !important;
                justify-content: center !important;
            }
        }

        /* Padrão (desktop): mantém alinhamento normal */
        .price-box {
            display: inline-flex;
            align-items: center;
        }

        /* Responsivo para celular */
        @media (max-width: 768px) {
            .price-box {
                display: flex !important;
                flex-direction: column;
                /* se houver <ins> e <del>, ficam empilhados */
                align-items: center !important;
                /* centraliza horizontalmente */
                justify-content: center !important;
                text-align: center !important;
                width: 100%;
                /* ocupa a largura para alinhar no centro */
                margin: 0 auto;
            }

            /* Garante que os preços tenham espaçamento adequado */
            .price-box ins,
            .price-box del,
            .price-box .text-green {
                text-align: center !important;
                display: block;
            }

            .price-box del {
                position: static !important;
                /* remove position absolute no mobile */
                margin-top: 2px;
            }
        }

        /* Exibe novamente o botão no mobile */
        @media (max-width: 768px) {
            .show-mobile {
                display: block !important;
                /* força aparecer */
                text-align: center;
                /* centraliza no ecrã pequeno */
                margin-top: 6px;
            }

            .show-mobile .btn-add-cart {
                padding: 6px 10px;
                font-size: 13px;
            }

            .show-mobile i {
                font-size: 18px;
            }
        }

        /* MOBILE SEARCH */
        @media (max-width: 768px) {

            .mobile-search-wrapper {
                position: fixed !important;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                width: 100%;
                height: 100%;
                background: #fff;
                z-index: 99999;
                padding-top: 15px;
                overflow: hidden;
            }

            .mobile-search-wrapper form {
                position: sticky;
                top: 0;
                background: #fff;
                z-index: 10;
                padding-bottom: 10px;
                border-bottom: 1px solid #eee;
            }

            .mobile-search-suggest-premium {
                position: relative;
                width: 100%;
                margin-top: 10px;
                padding: 0 12px;
                max-height: calc(100vh - 90px);
                overflow-y: auto;
            }

            .mobile-search-suggest-premium .list-group-item {
                border-radius: 10px;
                margin-bottom: 8px;
                border: 1px solid #eee;
            }

            .mobile-search-suggest-premium img {
                width: 60px !important;
                height: 60px !important;
            }

            /* Botões menores no mobile */
            .mobile-search-suggest-premium .btn {
                padding: 4px 6px;
                font-size: 12px;
            }

        }

        /* ===== Carrinho Flutuante ===== */
        .floating-cart {
            position: fixed;
            bottom: 150px;
            /* ajusta conforme a posição do botão "voltar ao topo" */
            right: 25px;
            z-index: 1050;
        }

        .floating-cart .btn {
            width: 55px;
            height: 55px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .cart-count-badge {
            font-size: 0.75rem;
            padding: 0.4em 0.6em;
        }

        .cart-panel {
            position: absolute;
            bottom: 70px;
            right: 0;
            width: 380px;
            display: none;
            opacity: 0;
            transition: all 0.3s ease-in-out;
        }

        /* Mostra o painel quando ativo */
        .floating-cart.active .cart-panel {
            display: block;
            opacity: 1;
            transform: translateY(-5px);
        }

        @keyframes shake {
            0% {
                transform: translateX(0);
            }

            20% {
                transform: translateX(-5px);
            }

            40% {
                transform: translateX(5px);
            }

            60% {
                transform: translateX(-5px);
            }

            80% {
                transform: translateX(5px);
            }

            100% {
                transform: translateX(0);
            }
        }

        .floating-cart.shake {
            animation: shake 0.5s;
        }

        .whatsapp-float {
            position: fixed;
            width: 55px;
            height: 55px;
            bottom: 80px;
            right: 20px;
            background-color: #25D366;
            color: #fff;
            border-radius: 50%;
            text-align: center;
            font-size: 28px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
        }

        .whatsapp-float:hover {
            background-color: #1ebe5d;
            color: #fff;
        }

        /* HEADER */
        /* HEADER MOBILE */
        .mobile-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: #fed700;
            /* ✅ fundo amarelo */
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            /* opcional para separar do conteúdo */
        }


        .mobile-header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 14px;
        }

        /* Logo */
        .mobile-logo img {
            height: 36px;
        }

        /* Search Button */
        .mobile-search-btn {
            background: none;
            border: none;
            font-size: 20px;
            color: #333;
        }

        /* SEARCH OVERLAY */
        .mobile-search-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.35);
            backdrop-filter: blur(8px);
            display: none;
            z-index: 2000;
        }

        .mobile-search-overlay.active {
            display: block;
        }

        /* Search Box */
        .mobile-search-box {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            padding: 14px;
            margin: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            animation: slideDown .3s ease;
        }

        .mobile-search-box input {
            flex: 1;
            border: none;
            outline: none;
            font-size: 16px;
        }

        /* Close */
        .mobile-search-box button {
            background: none;
            border: none;
            font-size: 20px;
        }

        /* Suggest */
        .mobile-search-suggest {
            margin-top: 10px;
        }

        /* HEADER */
        /* .mobile-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.3);
} */

        .mobile-header-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 14px;
        }

        /* Logo */
        .mobile-logo img {
            height: 36px;
        }

        /* Search Button */
        .mobile-search-btn {
            background: none;
            border: none;
            font-size: 20px;
            color: #333;
        }

        /* SEARCH OVERLAY */
        .mobile-search-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.35);
            backdrop-filter: blur(8px);
            display: none;
            z-index: 2000;
        }

        .mobile-search-overlay.active {
            display: block;
        }

        /* Search Box */
        .mobile-search-box {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 16px;
            padding: 14px;
            margin: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
            animation: slideDown .3s ease;
        }

        .mobile-search-box input {
            flex: 1;
            border: none;
            outline: none;
            font-size: 16px;
        }

        /* Close */
        .mobile-search-box button {
            background: none;
            border: none;
            font-size: 20px;
        }

        /* Suggest */
        .mobile-search-suggest {
            margin-top: 10px;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-10px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        /* ================================
            SEARCH OVERLAY
        ================================ */
        /* .mobile-search-overlay {
            position: fixed;
            inset: 0;
            z-index: 9999;

            background: rgba(0, 0, 0, .45);
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);

            opacity: 0;
            pointer-events: none;
            transition: opacity .25s ease;
        } */

        /* aberto */
        /* .mobile-search-overlay.open {
            opacity: 1;
            pointer-events: auto;
        } */


        /* ================================
            SEARCH BOX
        ================================ */
        .mobile-search-box {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;

            background: #fff;
            padding: 14px;
            border-radius: 0 0 20px 20px;

            animation: slideDown .3s ease;
        }

        @keyframes slideDown {
            from {
                transform: translateY(-100%);
            }

            to {
                transform: translateY(0);
            }
        }

        /* input */
        .mobile-search-box input {
            width: 100%;
            height: 46px;
            border-radius: 16px;
            border: 1px solid #e5e5e5;

            padding: 0 46px 0 16px;
            font-size: 14px;
            outline: none;
        }

        /* botão fechar */
        #closeMobileSearch {
            position: absolute;
            right: 26px;
            top: 26px;

            background: none;
            border: none;
            font-size: 18px;
            color: #444;
        }


        /* ================================
        SEARCH SUGGEST
        ================================ */
        .mobile-search-suggest {
            margin-top: 12px;
            max-height: 65vh;
            overflow-y: auto;
            padding-bottom: 10px;
        }

        /* item sugestão */
        .m-suggest-item {
            display: flex;
            align-items: center;
            gap: 12px;

            padding: 10px;
            border-radius: 16px;
            margin-bottom: 10px;

            background: rgba(255, 255, 255, .8);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);

            text-decoration: none;
            color: #111;
        }

        /* imagem */
        .m-suggest-item img {
            width: 44px;
            height: 44px;
            border-radius: 12px;
            object-fit: cover;
        }

        /* texto */
        .m-suggest-item .info {
            flex: 1;
        }

        .m-suggest-item .name {
            font-size: 13px;
            font-weight: 800;
            line-height: 1.2;
        }

        .m-suggest-item .price {
            font-size: 12px;
            opacity: .75;
            margin-top: 2px;
        }

        /* ===== MOBILE HEADER SEARCH INLINE ===== */
        @media (max-width: 1199.98px) {

            /* d-xl-none */
            .mobile-header-inner {
                display: flex;
                align-items: center;
                gap: 10px;
            }

            .mobile-logo {
                display: flex;
                align-items: center;
                flex: 0 0 auto;
            }

            /* wrap do input no meio */
            .mobile-search-wrap {
                display: none;
                /* fechado por padrão */
                align-items: center;
                gap: 8px;
                flex: 1 1 auto;
                /* ocupa o espaço do meio */
                min-width: 0;
            }

            .mobile-search-input {
                width: 100%;
                height: 38px;
                border-radius: 14px;
                border: 1px solid rgba(0, 0, 0, .12);
                padding: 0 12px;
                outline: none;
                font-size: 14px;
                background: #fff;
            }

            .mobile-search-close {
                width: 38px;
                height: 38px;
                border-radius: 14px;
                border: 0;
                background: rgba(0, 0, 0, .05);
                display: flex;
                align-items: center;
                justify-content: center;
            }

            /* estado aberto */
            .mobile-header.search-open .mobile-logo {
                display: none;
                /* some o logo para abrir espaço */
            }

            .mobile-header.search-open #mobileSearchWrap {
                display: flex;
            }
        }

        /* Overlay */
        .bankene-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.55);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        /* Card */
        .bankene-popup {
            background: #fff;
            width: 90%;
            max-width: 360px;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
            animation: popupFade .3s ease;
        }

        @keyframes popupFade {
            from {
                transform: scale(.9);
                opacity: 0;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Image */
        .bankene-popup img {
            width: 100%;
            height: 170px;
            object-fit: cover;
        }

        /* Content */
        .bankene-content {
            padding: 20px;
            text-align: center;
        }

        .bankene-content h4 {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 10px;
        }

        .bankene-content p {
            font-size: 0.9rem;
            color: #555;
            margin-bottom: 12px;
        }

        .bankene-content .cta {
            background: #fed700;
            color: #fff;
            padding: 12px;
            border-radius: 10px;
            font-weight: 600;
            text-decoration: none;
            display: block;
            margin-bottom: 8px;
        }

        .bankene-content .close {
            font-size: 0.8rem;
            color: #888;
            cursor: pointer;
        }

        /* ===== animações internas (sem mexer no layout) ===== */

        .bankene-title {
            margin-bottom: 10px;
            animation: textUp .45s ease both;
        }

        @keyframes textUp {
            from {
                transform: translateY(8px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        /* efeito brilho no título */
        .bankene-title .shine {
            background: linear-gradient(90deg, #111, #0d6efd, #111);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: shineMove 2.2s linear infinite;
        }

        @keyframes shineMove {
            to {
                background-position: 200% center;
            }
        }

        /* typing text */
        .bankene-typing {
            min-height: 44px;
            /* evita "pular" layout */
            font-size: 0.9rem;
            color: #555;
            margin-bottom: 12px;
            animation: fadeIn .35s ease both;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        /* chips */
        .bankene-chips {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 8px;
            margin-bottom: 12px;
        }

        .bankene-chips .chip {
            font-size: 0.78rem;
            padding: 7px 10px;
            border-radius: 999px;
            background: rgba(13, 110, 253, 0.08);
            color: #0d6efd;
            border: 1px solid rgba(13, 110, 253, 0.18);
            transform: translateY(8px);
            opacity: 0;
            animation: chipIn .45s ease forwards;
        }

        .bankene-chips .chip:nth-child(1) {
            animation-delay: .05s;
        }

        .bankene-chips .chip:nth-child(2) {
            animation-delay: .12s;
        }

        .bankene-chips .chip:nth-child(3) {
            animation-delay: .19s;
        }

        @keyframes chipIn {
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        /* frase destacada (suave) */
        .bankene-highlight {
            animation: pulseSoft 1.8s ease-in-out infinite;
        }

        @keyframes pulseSoft {

            0%,
            100% {
                opacity: 1;
            }

            50% {
                opacity: 0.75;
            }
        }

        /* CTA pulse + micro feedback */
        .bankene-cta {
            position: relative;
            overflow: hidden;
            animation: ctaPop .5s ease both, ctaPulse 1.8s ease-in-out infinite;
        }

        @keyframes ctaPop {
            from {
                transform: translateY(10px);
                opacity: 0;
            }

            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes ctaPulse {

            0%,
            100% {
                box-shadow: 0 0 0 0 rgba(254, 215, 0, .0);
            }

            50% {
                box-shadow: 0 10px 20px rgba(254, 215, 0, .35);
            }
        }

        .bankene-cta:active {
            transform: scale(0.98);
        }
