        body {
            background-color: #f8f9fa;
            font-family: "Segoe UI", Arial, sans-serif;
        }

        .navbar-custom {
            background-color: #0069ed;
            padding: 15px 30px;
            color: white;
        }

        .navbar-custom h2 {
            color: white;
            font-weight: bold;
            margin: 0;
        }

        .container-produtos {
            max-width: 1100px;
            margin: 50px auto;
            padding: 20px;
        }

        .titulo-secao {
            font-weight: 600;
            font-size: 20px;
            margin-bottom: 25px;
            color: #333;
        }

        .grid-produtos {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
            gap: 25px;
        }

        .card-produto {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
            text-align: center;
            display: flex;
            flex-direction: column;
            align-content: center;
            justify-content: center;
            flex: 1;
            padding: 15px;
            transition: transform 0.2s, box-shadow 0.2s;
        }

        .card-produto:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
        }

        .card-produto img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            border-radius: 10px;
        }

        .card-produto h5 {
            margin-top: 15px;
            font-size: 18px;
            font-weight: 600;
        }

        .card-produto p {
            color: #555;
            margin: 8px 0;
        }

        .btn-comprar {
            background-color: #0069ed;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 6px;
            transition: 0.2s;
        }

        .a-btn {
            box-sizing: border-box;
            margin: 0;
            font: inherit;
            overflow: visible;
            text-transform: none;
            font-family: inherit;
            font-size: inherit;
            line-height: inherit;
            cursor: pointer;
            text-decoration: none;
            /* Optional: remove underline */
        }

        a:hover {
            color: white;
            text-decoration: none;
        }

        .btn-comprar:hover {
            background-color: #0056c7;
        }

        .icone-produto {
            font-size: 50px;
            color: #0069ed;
        }

        #loading {
            text-align: center;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            /* overlay escuro */
            z-index: 9999;
            /* fica por cima de tudo */

            /* centraliza o conteúdo interno */
            flex: 1;
            justify-content: center;
            align-items: center;
        }

        .loading-box {
            background: #fff;
            padding: 30px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            max-width: 200px;
            max-height: 200px;
        }

        /* ✅ Checkmark animado */
        .checkmark {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            flex: 1;
            align-items: center;
            justify-content: center;
            display: inline-block;
            box-sizing: content-box;
            border: 4px solid #4caf50;
            position: relative;
            animation: pop 0.3s ease-out;
            margin-bottom: 15px;
        }

        .checkmark::after {
            content: '';
            width: 18px;
            height: 36px;
            border-right: 4px solid #4caf50;
            border-bottom: 4px solid #4caf50;
            transform: rotate(45deg) scale(0);
            transform-origin: center;
            animation: drawCheck 0.4s ease forwards 0.2s;
            margin-bottom: 12px;
        }

        @keyframes drawCheck {
            to {
                transform: rotate(45deg) scale(1);
            }
        }

        @keyframes pop {
            0% {
                transform: scale(0.6);
                opacity: 0;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Fade out do overlay */
        .fade-out {
            animation: fadeOut 2s forwards;
        }

        @keyframes fadeOut {
            to {
                opacity: 0;
                visibility: hidden;
            }
        }

        /* ---------- ERRO ---------- */

        /* círculo vermelho */
        .error-icon {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            border: 6px solid #e74c3c;
            position: relative;
            animation: pop 0.3s ease-out;
            margin-bottom: 10px;
        }

        /* “X” animado */
        .error-icon::before,
        .error-icon::after {
            content: '';
            position: absolute;
            width: 60px;
            height: 6px;
            background: #e74c3c;
            border-radius: 3px;
            transform-origin: center;
            opacity: 0;
        }

        .error-icon::before {
            transform: rotate(45deg) scale(0);
            animation: drawX1 0.3s ease forwards 0.2s;
        }

        .error-icon::after {
            transform: rotate(-45deg) scale(0);
            animation: drawX2 0.3s ease forwards 0.35s;
        }

        @keyframes drawX1 {
            to {
                transform: rotate(45deg) scale(1);
                opacity: 1;
            }
        }

        @keyframes drawX2 {
            to {
                transform: rotate(-45deg) scale(1);
                opacity: 1;
            }
        }

        @keyframes pop {
            0% {
                transform: scale(0.6);
                opacity: 0;
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Estilo de erro */
        input.error {
            border: 2px solid red;
            background-color: #fee;
        }

        .error-message {
            color: rgba(255, 0, 0, 0.6);
            ;
            font-size: 14px;
            display: none;
        }

        .alert-error {
            background-color: rgba(255, 0, 0, 0.1);
            /* Vermelho claro e transparente */
            color: #a94442;
            /* Vermelho mais forte para o texto */
            padding: 15px;
            border-radius: 5px;
            border: 1px solid rgba(255, 0, 0, 0.3);
            font-size: 16px;
            font-family: Arial, sans-serif;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
            gap: 8px;
            box-shadow: 0 2px 6px rgba(255, 0, 0, 0.1);
            max-width: 500px;
            margin: 20px auto;
            text-align: center;
        }

        .alert-error strong {
            font-weight: bold;
        }

        .close-button {
            float: right;
            font-size: 21px;
            font-weight: 700;
            line-height: 1;
            color: #00000073;
            text-shadow: 0 1px 0 #fff;
            filter: alpha(opacity=20);
            opacity: .2;
            padding: 0;
            cursor: pointer;
            background: 0 0;
            border: 0
        }

        .close-button:focus,
        .close-button:hover {
            color: #000;
            text-decoration: none;
            cursor: pointer;
            filter: alpha(opacity=50);
            opacity: .5
        }

        /* FILTRO PRODUTOS */

        .div-filtro-produtos {
            max-width: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 20px 0;
            padding: 8px 16px 8px 8px;
            background-color: #ffffff;
            /* espaço para ícones */
            font-size: 16px;
            border: 2px solid #0069ed;
            /* borda azul */
            border-radius: 40px;
            /* bordas bem arredondadas */
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            transition: all 0.2s ease;
            gap: 8px;
        }

        .filtro-produtos {
            width: 100%;
            max-width: 500px;
            border: none;
            background-color: transparent;
        }

        .filtro-produtos:focus {
            outline: none;
        }

        .div-filtro-produtos:focus {
            box-shadow: 0 0 8px rgba(0, 105, 237, 0.5);
        }

        .icone-filtro-produtos {
            display: flex;
            justify-content: center;
            align-items: center;
            color: #0069ed;
            font-size: 18px;

        }

        /* === Estilo do botão do carrinho === */
        .carrinho-link {
            position: relative;
            font: #0069ed;
            /* Texto branco */
            font-size: 18px;
            /* Texto um pouco maior */
            padding: 5px 15px;
            margin: 5px;
            /* Espaçamento interno */
            transition: background-color 0.3s ease;
            margin-left: auto;
            justify-self: flex-end;
            align-self: center;
            background-color: white;
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 25px;
        }

        .carrinho-link:hover {
            box-shadow: 0 4px 15px #0055bd;
        }

        .link-carrinho {
            color: #0069ed;
            text-decoration: none;
            font-size: 26px;
            position: relative;
            display: inline-block;
            transition: 0.2s;
            display: flex;
            flex-direction: row;
            flex: 1;
            justify-self: center;
            align-self: center;
            align-items: center;
        }

        .link-carrinho:hover {
            color: #0055bd;
        }

        .badge-contador {
            position: absolute;
            top: -8px;
            right: -10px;
            background-color: #ff4d4d;
            color: white;
            font-size: 12px;
            border-radius: 50%;
            padding: 3px 6px;
        }

        .container-nav {
            display: flex;
            flex: 1;
        }

        .container-nav-2 {
            display: flex;
            flex: 1;
            flex-direction: row;
            align-items: center;
            padding: 15px;
        }


        .carrinho-span {
            text-decoration: none;
            margin-right: 10px;
        }

        .carrinho-span:hover {
            text-decoration: none;
        }

        /* ---------- BOTAO RECUPERAR PEDIDOS ---------- */


        .recuperar-link {
            position: relative;
            font: #0069ed;
            /* Texto branco */
            font-size: 18px;
            /* Texto um pouco maior */
            padding: 5px 15px;
            margin: 5px;
            /* Espaçamento interno */
            transition: background-color 0.3s ease;
            margin-left: auto;
            justify-self: flex-end;
            align-self: center;
            background-color: white;
            border: 1px solid rgba(255, 255, 255, 0.5);
            border-radius: 25px;
        }

        .recuperar-link:hover {
            box-shadow: 0 4px 15px #0055bd;
        }

        .recuperar-link-conteudo {
            color: #0069ed;
            text-decoration: none;
            font-size: 26px;
            position: relative;
            display: inline-block;
            transition: 0.2s;
            display: flex;
            flex-direction: row;
            flex: 1;
            justify-self: center;
            align-self: center;
            align-items: center;
        }

        .recuperar-link-conteudo:hover {
            color: #0055bd;
        }

        .recuperar-span {
            text-decoration: none;
            margin-right: 10px;
            white-space: nowrap;
        }

        .recuperar-span:hover {
            text-decoration: none;
        }

        .container-btn-acoes {
            display: flex;
            flex-direction: row;
        }

        @media (max-width: 830px) {
            .recuperar-link-conteudo {
                font-size: 16px;
            }

            .link-carrinho {
                font-size: 16px;
            }

            .container-btn-acoes {
                flex-direction: column-reverse;
            }
        }