/* ============================================================
   CONFIGURAÇÃO FINAL - ALBERTO NUMISMÁTICA
   ============================================================ */

/* 1. REMOVER BARRAS AZUIS (Secções e Alertas) */
.page-product-box, 
.section-title-wrapper, 
.home-column h4, 
.featured-products-section,
.alert.alert-info,
#center_column .alert.alert-info {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Ajuste do texto do aviso (ex: "Não existem produtos") */
.alert.alert-info {
    color: #333 !important;
    border: 1px solid #eeeeee !important;
}

/* 2. REPARAR BARRA DE PESQUISA (Texto e Lupa) */

#searchbox {
    position: relative !important;
}

#search_query_top {
    /* Força o texto a começar à esquerda */
    text-align: left !important;
    padding-left: 15px !important;
    
    /* CRUCIAL: Empurra o texto para longe da lupa (espaço de 180px) */
    padding-right: 180px !important; 
    
    /* Garante fundo branco e remove a lupa centralizada de fundo */
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1px solid #cccccc !important;
    width: 100% !important;
    display: block !important;
}

/* Move o botão da lupa para a extrema direita */
#searchbox button[name="submit_search"], 
#searchbox .button-search,
.button-search {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    top: 0 !important;
    height: 100% !important;
    width: 50px !important;
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

/* Desenha a lupa no canto direito usando a fonte do sistema */
#searchbox button[name="submit_search"]::before {
    content: "\f002" !important;
    font-family: "FontAwesome" !important;
    font-size: 18px !important;
    color: #666 !important;
}

/* Esconde ícones extras (como a câmara) */
#searchbox i.icon-camera, 
#searchbox .fa-camera {
    display: none !important;
}

/* --- ÍCONES DO MENU ALBERTO NUMISMÁTICA --- */

/* NOTAS (ID 9) */
.sf-menu li a[href*="id_category=9"]::before {
    content: "\f0f2" !important; /* Ícone de nota/documento */
    font-family: "FontAwesome" !important;
    margin-right: 8px !important;
    display: inline-block !important;
}

/* MOEDAS (ID 8) */
.sf-menu li a[href*="id_category=8"]::before {
    content: "\f0d6" !important; /* Ícone de moedas/dinheiro */
    font-family: "FontAwesome" !important;
    margin-right: 8px !important;
    color: #b5965a !important; /* Cor dourada */
    display: inline-block !important;
}

/* PEÇAS CERTIFICADAS (ID 10) */
.sf-menu li a[href*="id_category=10"]::before {
    content: "\f0a3" !important; /* Ícone de selo de garantia */
    font-family: "FontAwesome" !important;
    margin-right: 8px !important;
    color: #b5965a !important;
    display: inline-block !important;
}

/* ACESSÓRIOS (ID 12) */
.sf-menu li a[href*="id_category=12"]::before {
    content: "\f0ad" !important; /* Ícone de chave/ferramentas */
    font-family: "FontAwesome" !important;
    margin-right: 8px !important;
    display: inline-block !important;
}

/* PROMOÇÕES (ID 27) */
.sf-menu li a[href*="id_category=27"]::before {
    content: "\f02b" !important; /* Ícone de etiqueta de preço */
    font-family: "FontAwesome" !important;
    margin-right: 8px !important;
    color: #d9534f !important; /* Vermelho para destaque */
    display: inline-block !important;
}
