        html {
            scroll-behavior: smooth;
        }        
        body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; }
        header { background-color: #ADD8E6; padding: 10px 20px; border-bottom: 1px solid #9ACEEB; display: flex; justify-content: space-between; align-items: center; position: relative; }
        .logo img { max-height: 60px; }
        nav ul { list-style: none; margin: 0; padding: 0; display: flex; }
        nav ul li { margin-left: 20px; position: relative; }
        nav ul li a { text-decoration: none; color: #333; font-weight: bold; padding: 10px 0; display: block; white-space: nowrap; }
        nav ul li ul { display: none; position: absolute; background-color: #ADD8E6; list-style: none; padding: 0; margin: 0; min-width: 200px; box-shadow: 0 8px 16px rgba(0,0,0,0.2); z-index: 1000; top: 100%; border-radius: 0 0 5px 5px; overflow: hidden; }
        nav ul li:hover > ul { display: block; }
        nav ul li ul li { margin: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
        nav ul li ul li:last-child { border-bottom: none; }
        nav ul li ul li a { color: #333; padding: 12px 15px; display: block; text-align: left; white-space: nowrap; font-weight: normal; }
        nav ul li ul li a:hover { background-color: #9ACEEB; }
        nav ul li.has-dropdown > a::after { content: ' \25BC'; font-size: 0.8em; margin-left: 5px; vertical-align: middle; transition: transform 0.2s ease-in-out; }
        nav ul li.has-dropdown:hover > a::after { transform: rotate(180deg); }
        .menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 30px; height: 20px; cursor: pointer; z-index: 1000; padding: 5px; }
        .menu-toggle span { display: block; width: 100%; height: 3px; background-color: #333; border-radius: 2px; transition: all 0.3s ease-in-out; }
        .menu-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
        .menu-toggle.open span:nth-child(2) { opacity: 0; }
        .menu-toggle.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
        .search-container { padding: 20px; background-color: #e9ecef; text-align: center; }
        .search-container form { display: flex; justify-content: center; max-width: 600px; margin: auto; }
        .search-container input[type="text"] { width: 100%; padding: 12px 20px; font-size: 16px; border: 1px solid #ccc; border-right: none; border-radius: 25px 0 0 25px; outline: none; }
        .search-container button { padding: 12px 25px; background: #007bff; color: white; font-size: 16px; border: 1px solid #007bff; border-left: none; cursor: pointer; border-radius: 0 25px 25px 0; }
        .search-container button:hover { background: #0056b3; }
        .container { max-width: 1200px; margin: 20px auto; padding: 0 20px; }
        .category-title { text-align: center; font-size: 1.5rem; font-weight: 300; color: #333; margin: 20px 0 30px 0; padding-bottom: 15px; border-bottom: 1px solid #e0e0e0; }
        /*.category-title { font-size: 16px; color: #595555; }*/
        .product-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
        .product-card { background-color: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 20px; text-align: center; width: 280px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); display: flex; flex-direction: column; justify-content: space-between; min-height: 450px; }
        .product-card img { max-width: 100%; height: auto; border-bottom: 1px solid #eee; margin-bottom: 15px; }
        .product-card h3 { margin: 10px 0; color: #333; }
        .product-card p { color: #666; font-size: 0.9em; flex-grow: 1; margin-bottom: 15px; text-align: left; }
        .product-card .price { font-size: 1.2em; color: #007bff; font-weight: bold; margin-bottom: 15px; }
        .product-card .quantity-box { margin-bottom: 15px; }
        .product-card .quantity-box label { display: block; margin-bottom: 5px; }
        .product-card .quantity-box input { width: 80px; padding: 8px; border: 1px solid #ccc; border-radius: 4px; text-align: center; }
        .whatsapp-button { display: flex; align-items: center; justify-content: center; background-color: #25D366; color: white; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: background-color 0.3s ease; cursor: pointer; border: none; font-size: 1em; width: 90%; margin: auto; }
        .whatsapp-button:hover { background-color: #1DA851; }
        .whatsapp-button span { margin-right: 8px; }
        .whatsapp-button img { width: 20px; height: 20px; vertical-align: middle; border: none; margin: 0; padding: 0; }
        footer { text-align: center; padding: 20px; margin-top: 30px; background-color: #000000; color: white; }

        /* --- NOVOS ESTILOS PARA O SLIDER --- */
        .slider-container { max-width: 1200px; margin: 20px auto; position: relative; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); aspect-ratio: 3 / 0; }
        .slide { display: none; width: 100%; height: 100%; animation: fadeEffect 1.5s; }
        .slide.active { display: block; }
        .slide img { width: 100%; height: 100%; object-fit: cover; }
        .slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(0, 0, 0, 0.4); color: white; border: none; padding: 10px 15px; font-size: 24px; cursor: pointer; z-index: 10; transition: background-color 0.3s ease; border-radius: 50%; }
        .slider-arrow:hover { background-color: rgba(0, 0, 0, 0.7); }
        .prev-arrow { left: 15px; }
        .next-arrow { right: 15px; }
        .slider-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
        .dot { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.6); cursor: pointer; transition: background-color 0.3s ease; }
        .dot.active { background-color: white; }
        @keyframes fadeEffect { from {opacity: .4} to {opacity: 1} }

        .desktop-image { display: block; }
        .mobile-image { display: none; }

.pagination-button {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #007bff;
    background-color: #fff;
    transition: background-color 0.2s ease-in-out;
    font-weight: 500;
}

.pagination-button:hover {
    background-color: #e9ecef;
}

.pagination-button.active {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    border-color: #007bff;
}

.pagination-button.disabled {
    pointer-events: none;
    opacity: 0.5;
    border-color: #ccc;
    color: #aaa;
}


/* ============================================= */
/* === NOVOS ESTILOS PARA A PAGINAÇÃO === */
/* ============================================= */

/* 1. O contêiner principal da paginação */
.pagination {
    /* Centraliza os botões */
    display: flex;
    justify-content: center;
    
    /* Adiciona um bom espaçamento acima e abaixo */
    margin-top: 40px;
    margin-bottom: 20px;

    /* Garante que os botões não quebrem linha desnecessariamente */
    flex-wrap: wrap;
    gap: 8px; /* Espaço entre os botões */
}

/* 2. Ajuste para telas de celular (Responsivo) */
@media (max-width: 768px) {
    .pagination {
        /* Aumenta o espaçamento superior em telas pequenas */
        margin-top: 30px; 
    }
}


.pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    margin: 0 4px;
    color: #555;
    border: 1px solid transparent; /* Para manter o mesmo alinhamento dos botões */
    border-radius: 4px;
}

/* ============================================= */








  /* Alvo: A lista <ul> que é um submenu (dentro de um <li> com a classe .has-dropdown) */
  header nav#mainNav.open .has-dropdown > ul {
    background-color: #eaf6ff !important; /* Um azul bem claro, similar ao da imagem */
    border: none !important;
    padding-left: 20px; /* Adiciona um recuo para os sub-itens */
    margin-top: 5px;
    margin-bottom: 5px;
  }

  /* Alvo: Os itens <li> dentro do submenu */
  header nav#mainNav.open .has-dropdown > ul > li {
    background-color: transparent !important; /* Garante que o fundo do <li> não seja branco */
    border: none !important;
  }





        @media (max-width: 768px) {
            .desktop-image { display: none; }
            .mobile-image { display: block; }
            /* Esconde os slides que não têm imagem mobile */
            header { justify-content: space-between; padding: 10px; }
            .logo img { max-height: 50px; }
            nav { position: absolute; top: 70px; left: 0; width: 100%; background-color: #ADD8E6; flex-direction: column; display: none; text-align: center; box-shadow: 0 4px 8px rgba(0,0,0,0.1); z-index: 999; padding-bottom: 10px; }
            nav.open { display: flex; }
            nav ul { flex-direction: column; width: 100%; padding: 10px 0; }
            nav ul li { margin: 0; padding: 10px 0; border-bottom: 1px solid #9ACEEB; position: static; }
            nav ul li:last-child { border-bottom: none; }
            nav ul li a { display: block; padding: 5px 0; }
            .menu-toggle { display: flex; margin-right: 10px; }
            nav ul li ul { position: relative; display: none; background-color: rgba(173, 216, 230, 0.8); box-shadow: none; width: 100%; left: 0; top: 0; border-radius: 0; }
            nav ul li.open > ul { display: flex; flex-direction: column; }
            nav ul li ul li { border-bottom: 1px solid rgba(0, 0, 0, 0.05); }
            nav ul li.has-dropdown > a::after { content: ' \25B8'; transform: none; }
            nav ul li.has-dropdown.open > a::after { content: ' \25BC'; }
            /*.slider-container { margin: 10px 0; border-radius: 0; aspect-ratio: 2 / 1; }*/ /* Proporção mas baixa */
            .slider-container {margin: 10px 0; border-radius: 0; aspect-ratio: 1.5 / 1; } /* Proporção mais 'alta', ideal para celular. Pode ajustar se quiser. */

            nav ul ul {
                display: none;
            }

            nav ul li.open > ul {
                display: block;
            }

            /* == CORREÇÃO DEFINITIVA PARA MENU RESPONSIVO CONFLITANTE == */ 
              /* PASSO A: Esconde o menu de texto do Bootstrap que pode estar visível */
              .navbar-collapse {
                display: none !important;
              }

              /* PASSO B: Garante que o nosso botão de menu (hambúrguer) seja exibido */
              /* Usamos header > .menu-toggle para ser bem específico */
              header > .menu-toggle {
                display: flex !important;
                flex-direction: column;
                justify-content: space-around;
                width: 30px;
                height: 25px;
                cursor: pointer;
                background: transparent;
                border: none;
                padding: 0;
              }

              /* PASSO C: Garante a aparência correta das 3 barrinhas */
              header > .menu-toggle span {
                display: block;
                width: 100%;
                height: 3px;
                background-color: #333; /* Cor das barras */
                border-radius: 2px;
                transition: all 0.3s ease-in-out;
              }

              /* PASSO D: Garante que o menu principal (o seu) seja escondido por padrão */
              header nav#mainNav {
                display: none;
                /* Adicione aqui os estilos de como o menu deve parecer quando ABERTO */
                position: absolute;
                top: 70px; /* Altura do seu header */
                left: 0;
                width: 100%;
                background-color: white; /* Fundo do menu aberto */
                box-shadow: 0 4px 8px rgba(0,0,0,0.1);
                z-index: 1000;
                background-color: #ADD8E6 !important;
              }

              /* PASSO E: Mostra o menu quando o botão for clicado (o seu JS adiciona a classe 'open') */
              header nav#mainNav.open {
                display: block !important;
              }

              /* PASSO F: Ajusta a formatação da lista de links no modo mobile */
              header nav#mainNav.open ul {
                flex-direction: column;
                width: 100%;
              }



  /* Alvo: A lista <ul> que é um submenu (dentro de um <li> com a classe .has-dropdown) */
  header nav#mainNav.open .has-dropdown > ul {
    background-color: #a7cbd7   !important;
    border: none !important;
    padding-left: 20px; /* Adiciona um recuo para os sub-itens */
    margin-top: 5px;
    margin-bottom: 5px;
  }

  /* Alvo: Os itens <li> dentro do submenu */
  header nav#mainNav.open .has-dropdown > ul > li {
    background-color: #a7cbd7   !important; 
    border: none !important;
  }


            /* == FIM CORREÇÃO DEFINITIVA PARA MENU RESPONSIVO CONFLITANTE == */
            


            
        }


