/* ==================================== */
/* 1. PALETA E VARIÁVEIS GLOBAIS */
/* ==================================== */
* a {
    text-decoration: none;
}
/* Paleta de Cores Base */
.bg_paleta {
    background-color: #023e74 !important; /* Cor principal da sua paleta */
}
.color1_paleta {
    color: #023e74 !important; /* Cor principal da sua paleta */
}

/* Efeito Hover na Paleta (Geral) */
.bg_paleta_hover:hover {
    background-color: #022340 !important; /* Cor de hover (um tom mais escuro da paleta) */
}
/* CORREÇÃO DO CARRINHO (Botão usa .bg_paleta) */
.bg_paleta:hover {
    background-color: #045dad !important; /* Aplica o hover escuro na cor base, corrigindo o problema */
    color: #ffff!important;
}

/* Efeito de escala/zoom para elementos interativos (carrinho e ícones sociais) */
.scale-on-hover {
    transition: transform 0.2s ease-in-out;
}
.scale-on-hover:hover {
    transform: scale(1.1); /* Aumenta 10% no hover */
}


/* ==================================== */
/* 2. BARRA SUPERIOR E NAVEGAÇÃO (HEADER) */
/* ==================================== */

/* Opcional: Efeito hover para os ícones sociais (Topo da Página) */
.top-bar a:hover i {
    color: #f0f0f0;
    transform: scale(1.2);
}

/* Estilo para links de navegação (Menu: Início, Loja, Sobre, Contato) */
.nav-link:hover {
    color: #023e74 !important;
}

/* Estilo para o link "checado" (ativo/selecionado) */
.nav-link.active-link {
    color: #023e74 !important;
    border-bottom: 2px solid #023e74;
}

/* Classes de outline/hover para o botão de Login/Cadastro */
.btn-outline-paleta_hover {
    color: #023e74;
    /*border-color: #023e74;*/
}
.btn-outline-paleta_hover:hover {
    color: #ffff!important;
    background-color: #023e74;
    border-color: #023e74;
}

/* Correção do padding no botão de pesquisa (desktop) */
.btn-search-icon {
    padding: 0rem 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Garante que o ícone do carrinho no menu mobile também tenha o efeito */
/* Nota: Se o botão mobile usar .bg_paleta, essa regra não é mais necessária */
.offcanvas-body .btn-cart-mobile:hover {
    background-color: #022340 !important;
}
/* Opcional: Aumenta a área de toque/visibilidade no mobile */
.offcanvas-body .nav-link:hover {
    background-color: #f3f4f6;
    border-radius: 4px;
}


/* ==================================== */
/* 3. LAYOUT E PÁGINA DE PRODUTOS (FILTROS) */
/* ==================================== */
.topo-produtos {
    background-color: #ffffff;
    color: #333;
    padding: 1em;
    border-radius: 3px 3px 0px 0px;
}
.filter-sidebar {
    background: white;
    border-radius: 3px;
    position: sticky;
    top: 20px;
    height: fit-content;
}
.filter-group {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}
.category-badge {
    color: #4b5563;
    padding: 0px 7px 0px 0px;
    font-size: 0.75rem;
    border-bottom: 1px solid #ccc;
}
.sort-btn {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}
.sort-btn:hover {
    background: #f3f4f6;
}

/* Estilo para range input (Slider de Preço) */
.form-range::-webkit-slider-thumb {
    background-color: #023e74;
}
.form-range::-moz-range-thumb {
    background-color: #023e74;
}
.form-range::-ms-thumb {
    background-color: #023e74;
}
.form-range::-webkit-slider-runnable-track {
    background: #e0e0e0;
    border-radius: 5px;
    height: 8px;
}
.form-range::-moz-range-track {
    background: #e0e0e0;
    border-radius: 5px;
    height: 8px;
}


/* ==================================== */
/* 4. CARDS DE PRODUTO */
/* ==================================== */
.product-card {
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    height: 100%;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.product-image {
    height: 200px;
    object-fit: contain;
    border-radius: 3px 12px 0 0;
}
.price {
    color: #2563eb;
    font-weight: 700;
}
.discount-badge {
    position: absolute;
    top: 50px;
    right: 10px;
    background: #dc2626;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.875rem;
}

/* Botão Carrinho dentro do Card */
.cart-btn {
    background: #2563eb;
    color: white;
    border: none;
    transition: all 0.2s;
}
.cart-btn:hover {
    background: #16a34a;
    transform: translateY(-2px);
    color: #ffff;
    font-size: 1rem;
}

/* Wishlist/Curtir (Ícone dentro do Card) */
.wishlist-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    color: #0d47a1;
    z-index: 10;
    font-size: 1.7em;
}
.wishlist-btn:hover {
    background: transparent;
    color: #dc2626;
    font-size: 2rem;
}
.badge-curtidas-left {
    position: absolute;
    top: 23px;
    right: 0px;
    color: #6d5f5f;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}
.rating-stars {
    color: #fbbf24;
}
.color-option {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}
.color-option.selected::after {
    content: '';
    position: absolute;
    inset: -3px;
    border: 2px solid #2563eb;
    border-radius: 50%;
}

.contact-item {
    display: flex; /* ESSENCIAL para alinhar o ícone e o texto lado a lado */
    align-items: flex-start; /* Alinha o conteúdo ao topo */
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.contact-icon {
    min-width: 40px; 
    height: 40px;
    background: rgba(255, 255, 255, 0.2); 
    border-radius: 50%;
    display: flex; /* ESSENCIAL para centralizar o ícone dentro da bolha */
    align-items: center;
    justify-content: center;
    margin-right: 15px; /* Espaço entre a bolha e o texto */
    font-size: 1.2rem;
}

/*ÍCONES SOCIAIS DA PÁGINA DE CONTATO*/
.social-icon {
    color: #023e74!important;
}
.social-icon:hover{
    color: #ffff;
}
/* Badges para tipos de produto */
.type-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
}

/* Ajustes para botões responsivos */
@media (max-width: 768px) {
    .add-to-cart .d-none.d-md-inline {
        display: none !important;
    }
    
/* Garantir que o botão do carrinho mantenha tamanho consistente */
.add-to-cart {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
/* Manter alinhamento dos preços */
.price-section {
    min-height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
}
