:root { 
    --brand-blue: #1b428e; 
    --brand-orange: #f7941d; 
}

body { margin: 0; font-family: 'Segoe UI', Roboto, Arial, sans-serif; }

.top-header { padding: 15px 0; background: #fff; }
.logo-img { max-height: 70px; max-width: 100%; object-fit: contain; }

.search-input-header { border: 1px solid #ddd; padding: 10px 15px; font-size: 14px; width: 100%; border-radius: 5px 0 0 5px; }
.search-btn-header { background: var(--brand-blue); border: none; padding: 0 20px; color: #fff; border-radius: 0 5px 5px 0; cursor: pointer; }

.whatsapp-box-small {
    background: #e8f9ef; border: 5px solid #d4f2e1; border-radius: 10px;
    padding: 5px 12px; text-decoration: none; display: flex; align-items: center;
}
.whatsapp-box-small span { color: #25d366; font-weight: 900; font-size: 16px; }

.main-nav-bg { background: var(--brand-blue); width: 100%; z-index: 1030; }
.nav-container-flex { display: flex; align-items: center; justify-content: space-between; }

.nav-scroll { display: flex; overflow-x: auto; flex-grow: 1; scrollbar-width: none; }
.nav-scroll::-webkit-scrollbar { display: none; }

.nav-link-custom { 
    color: #fff !important; font-weight: 600; text-transform: uppercase; 
    font-size: 12px; padding: 15px 15px !important; white-space: nowrap;
    text-decoration: none;
}
.nav-link-custom:hover { background: rgba(255,255,255,0.1); }

.cart-nav-item { 
    background: rgba(0,0,0,0.2); padding: 15px 20px; 
    color: #fff !important; text-decoration: none; font-weight: bold; font-size: 12px;
    display: flex; align-items: center; white-space: nowrap; cursor: pointer;
}

@media (max-width: 991px) {
    .logo-img { max-height: 50px; }
    .nav-link-custom { font-size: 11px; padding: 12px 10px !important; }
    .cart-text { display: none; }
}

/* Estilos para os Cards de Produto (Geral) */
.product-card {
    background: #fff; border-radius: 12px; border: 1px solid #e2e8f0;
    padding: 15px; height: 100%; display: flex; flex-direction: column; text-align: center;
}
.img-container { height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.img-container img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ==========================================================================
   SEÇÃO DE DESTAQUES (INDEX)
   ========================================================================== */
.section-destaques { padding: 60px 0; background: #f8fafc; }
.header-destaques { margin-bottom: 40px; border-left: 5px solid var(--brand-red); padding-left: 20px; }
.header-destaques h2 { font-weight: 800; text-transform: uppercase; color: #1e293b; margin: 0; font-size: 24px; }
.header-destaques p { color: #64748b; margin-top: 5px; font-size: 15px; }

.card-destaque {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.card-destaque:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    border-color: var(--brand-red);
}

.card-destaque .thumb {
    height: 220px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-destaque .thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-destaque .info {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-destaque .ref {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    display: block;
}

.card-destaque h3 {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 15px;
    line-height: 1.4;
    height: 42px;
    overflow: hidden;
}

/* Botões dos Destaques */
.btn-destaque {
    padding: 8px 5px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: none;
}

.btn-detalhes-destaque { background: #f1f5f9; color: #475569; }
.btn-orcar-destaque { background: var(--brand-red); color: #fff; }
.btn-orcar-destaque:hover { background: #b91c1c; color: #fff; }

.badge-novo {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--brand-red);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 2;
}

/* ==========================================================================
   SEÇÃO DE DESTAQUES (INDEX)
   ========================================================================== */

.btn-group-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 15px;
}

.btn-destaque {
    padding: 10px 5px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: none;
    transition: 0.3s;
}

/* Botão Detalhes (Cinza claro) */
.btn-detalhes {
    background: #f1f5f9 !important;
    color: #1e293b !important;
}

/* Botão Orçar (Azul Escuro) */
.btn-orcar {
    background: #ff0000 !important;
    color: #fff !important;
}

.btn-destaque:hover {
    opacity: 0.9;
    transform: scale(1.02);
}