body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 20px;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Previne que o site inteiro role para os lados no celular */
}

/* Busca */
.busca-container {
    text-align: center;
    margin-bottom: 40px;
}
#campo-busca {
    width: 300px;
    padding: 12px 20px 12px 45px;
    font-size: 16px;
    font-family: monospace;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #000;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 15px center;
    background-size: 20px;
    border-radius: 20px;
    transition: all 0.3s ease;
}
#campo-busca::placeholder {
    color: #888;
}
#campo-busca:focus {
    outline: none;
}

/* Barra de Filtros */
.filtros-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}
.btn-filtro {
    padding: 12px 28px;
    border: 2px solid #000;
    background-color: transparent;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    font-family: monospace;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}
.btn-filtro.ativo, .btn-filtro:hover {
    background-color: #000;
    color: #fff;
}

/* Grid de Produtos */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Criação das colunas */
    gap: 30px; 
    max-width: 1200px; 
    margin: 0 auto; /* Centraliza a grade na tela */
    padding: 0 20px;
}

/* Container do Botão Carregar Mais */
#container-btn-principal {
    grid-column: 1 / -1; /* Ocupa toda a largura da grade */
    text-align: center;
    margin-top: 10px; /* Espaço acima do botão */
    opacity: 0;
    animation: surgir 0.8s ease-out forwards;
    animation-delay: 1.3s; /* Aparece depois de todos os produtos */
}

/* Card do Produto */
.produto-card {
    text-align: left; /* Traz o texto para a esquerda como na sua imagem */
    cursor: pointer;
    opacity: 0; 
    animation: surgir 0.8s ease-out forwards;
}
.img-bg {
    background-color: #efedea; 
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
    position: relative; 
}
.produto-card:hover .img-bg {
    transform: translateY(-5px);
}
.produto-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    mix-blend-mode: multiply; /* Remove o branco da imagem, deixando apenas as cores visíveis */
}
.titulo-produto {
    font-size: 15px;
    font-weight: normal; /* Tira o negrito pesado para ficar mais fino */
    margin-bottom: 8px;
    color: #333;
    font-family: monospace; 
}

/* Preços */
.precos {
    display: flex;
    align-items: center;
    gap: 10px;
}
.preco-antigo {
    text-decoration: line-through; /* O traço cortando o preço original */
    color: #a0a0a0;
    font-size: 14px;
    font-family: monospace;
}
.preco-atual {
    font-weight: bold;
    font-size: 16px;
    color: #000;
    font-family: monospace;
}

/* Footer */
footer {
    padding: 20px;
    padding-top: 2px;
    background-color: #efedea;
    margin-top: 60px;
    
}
footer p {
    text-align: center;
    color: #000;
    font-size: 14px;
}

/* Ícones das redes sociais */
.redes-sociais {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.icone {
    width: 40px;  
    height: 40px; 
    object-fit: contain; 
    transition: transform 0.2s;
}
.icone:hover {
    transform: translateY(-5px); 
    filter: brightness(1.2);    
}

/* Botão Curtir */
.btn-curtir {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 26px;
    color: #000;
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-curtir.curtido {
    font-size: 22px; 
}
.btn-curtir:hover {
    transform: scale(1.2);
}  

/* Header */
.header-nav {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #efedea;
}
.nav-inicio {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}
.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-lista {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}
.link-nav {
    text-decoration: none;
    color: #000;
    font-family: monospace;
    font-weight: bold;
    font-size: 16px;
    transition: opacity 0.3s;
}
.link-nav:hover {
    opacity: 0.6;
}
.logo {
    font-family: monospace;
    font-size: 22px;
    letter-spacing: 4px;
    text-align: center;
    white-space: nowrap;
}
.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-family: monospace;
    font-size: 16px;
    color: #000;
    transition: opacity 0.3s;
}
.btn-icon:hover {
    opacity: 0.6;
}
#contador-curtidas {
    display: inline-block;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 5px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

/* Banner Principal com Mascote */
.header-banner {
    display: flex;
    justify-content: center;
    padding: 50px 0;
    text-align: center;
}
.grupo-marca {
    display: flex;
    align-items: center;    
    gap: 100px;              
}
.logo-tag {
    max-width: 600px; 
    height: auto;
}
.mascote-header {
    max-width: 250px; 
    height: auto;
    animation: flutuar 3s ease-in-out infinite;
}
@keyframes flutuar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); } 
}

/* Animação de surgimento dos produtos */
@keyframes surgir {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.produtos-grid .produto-card:nth-child(1) { animation-delay: 0.1s; }
.produtos-grid .produto-card:nth-child(2) { animation-delay: 0.2s; }
.produtos-grid .produto-card:nth-child(3) { animation-delay: 0.3s; }
.produtos-grid .produto-card:nth-child(4) { animation-delay: 0.4s; }
.produtos-grid .produto-card:nth-child(5) { animation-delay: 0.5s; }
.produtos-grid .produto-card:nth-child(6) { animation-delay: 0.6s; }
.produtos-grid .produto-card:nth-child(7) { animation-delay: 0.7s; }
.produtos-grid .produto-card:nth-child(8) { animation-delay: 0.8s; }
.produtos-grid .produto-card:nth-child(9) { animation-delay: 0.9s; }
.produtos-grid .produto-card:nth-child(10) { animation-delay: 1.0s; }
.produtos-grid .produto-card:nth-child(11) { animation-delay: 1.1s; }
.produtos-grid .produto-card:nth-child(12) { animation-delay: 1.2s; }

/* Side Drawer/Lista de Desejos */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.overlay.ativo {
    opacity: 1;
    visibility: visible;
}
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%); /* Prática moderna: esconde a gaveta usando o eixo X */
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background-color: #fff;
    z-index: 999;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: transform 0.4s ease; /* Animação mais rápida e suave */
    display: flex;
    flex-direction: column;
}
.sidebar.ativo {
    transform: translateX(0); /* Desliza a gaveta para dentro da tela */
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #efedea;
}
.sidebar-header h2 {
    margin: 0;
    font-size: 20px;
    font-family: monospace;
}
#btn-fechar-wishlist {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #000;
    transition: transform 0.2s;
}
#btn-fechar-wishlist:hover {
    transform: scale(1.2);
}
.sidebar-content {
    flex: 1;
    overflow-y: auto; /* Permite rolar a lista se houver muitos itens */
    padding: 20px;
}
.sidebar-footer {
    padding: 20px;
    text-align: center;
    background-color: #efedea;
}
/* Estilo dos itens dentro da gaveta */
.item-wishlist {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
    position: relative;
    padding-right: 40px; /* Evita que o texto sobreponha o botão */
    transition: all 0.3s ease;
}
.item-wishlist.removendo {
    opacity: 0;
    transform: translateX(50px);
}
.item-wishlist a {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.item-wishlist a:hover {
    opacity: 0.7;
    transform: translateX(5px); /* Move o item 5 pixels para a direita */
}
.item-wishlist img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background-color: #efedea;
    border-radius: 4px;
}
.item-wishlist-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.item-wishlist-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-family: monospace;
    font-weight: normal;
}
.item-wishlist-info p {
    margin: 0;
    font-weight: bold;
    font-size: 15px;
    font-family: monospace;
}
.item-wishlist .btn-curtir {
    top: -5px;
    right: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        gap: 15px;
    }
    .nav-inicio, .logo-container, .nav-lista {
        justify-content: center;
    }
    .logo {
        font-size: 18px;
        letter-spacing: 2px;
    }
    .header-banner {
        padding: 50px 0; 
    }
    #campo-busca {
        width: 80%; 
    }
    .grupo-marca {
        flex-direction: column; 
        gap: 20px;               
    }
    .logo-tag {
        max-width: 80%;         
    }
    .mascote-header {
        max-width: 120px;       
    }
    .texto-wishlist {
        display: none;
    }
    .sidebar {
        max-width: 100%; 
    }
}
@media (max-width: 900px) {
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 por linha em tablets */
    }
    .img-bg
    {
        padding: 10px; 
    }
}
@media (max-width: 600px) {
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 por linha em celulares pequenos */
    }
    .img-bg
    {
        padding: 5px; 
    }
}