/* Variáveis de Cores */
:root {
    --primary-blue: #263164; /* Azul primário (botões) */
    --navbar-blue: #003366; /* Azul escuro da barra de navegação */
    --light-blue: #263164; /* Azul claro do logo/links */
    --text-color: #333;
    --light-gray: #f8f9fa; /* Fundo levemente acinzentado */
    --border-color: #dee2e6;
}


.content-area {
    padding: 30px 50px;
    max-width: 1200px;
    margin: 0 auto;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #E0E0E0;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #263164;
    letter-spacing: -0.5px;
}

.order-selector {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
    color: #555;
}

.order-selector label {
    font-weight: 600;
    color: #333;
}

.custom-select {
    position: relative;
    width: 230px;
}

.custom-select select {
    width: 100%;
    padding: 12px 15px;
    padding-right: 40px;
    border-radius: 8px;
    background-color: #f5f7fa;
    border: 1px solid #d2d6dc;
    font-size: 15px;
    color: #333;
    cursor: pointer;
    appearance: none;
    outline: none;
    transition: 0.2s;
}

.custom-select select:hover {
    background-color: #eef1f5;
}

.custom-select select:focus {
    border-color: #4da3ff;
    box-shadow: 0 0 0 3px rgba(77,163,255,0.3);
}

.select-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #666;
    font-size: 14px;
}
/* Estilo da Listagem de Produtos */
/* Container Principal - Grid de 4 Colunas */
.contente-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colunas iguais */
    gap: 25px; /* Espaçamento entre os cards */
    padding: 20px 0;
    width: 100%;
}

/* O Card Individual */
.contente-cards .card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    
    /* Flexbox para alinhar conteúdo verticalmente */
    display: flex;
    flex-direction: column;
    height: 100%; /* Todos os cards da linha com mesma altura */
    transition: transform 0.2s;
    box-sizing: border-box;
}

.contente-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Imagem do Produto */
.contente-cards .imagem-produto {
    width: 100%;
    height: 180px; /* Altura fixa para manter o padrão */
    object-fit: contain; /* Não distorce a imagem */
    margin-bottom: 15px;
}

/* Título do Produto */
.contente-cards .titulo {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    min-height: 45px; /* Garante que títulos curtos ocupem o mesmo espaço de títulos longos */
}

/* Preço */
.contente-cards .preco {
    font-size: 18px;
    font-weight: 700;
    color: #263164; /* Cor da Starvale */
}

/* Link Saber Mais */
.contente-cards .saber-mais {
    display: block;
    font-size: 13px;
    color: #263164;
    text-decoration: none;
}

/* Botão Adicionar ao Carrinho */
.contente-cards .add-carrinho {
    margin-top: auto; /* EMPURRA O BOTÃO PARA O FUNDO DO CARD */
    background-color: #263164;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.contente-cards .add-carrinho:hover {
    background-color: #004d87;
}

/* Responsividade para telas menores */
@media (max-width: 1100px) {
    .contente-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
    .contente-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
    .contente-cards { grid-template-columns: 1fr; }
}
/* --- 4. RODAPÉ INFERIOR (SERVIÇOS) --- */
.footer-services {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 30px auto 50px auto;
    padding: 30px 50px;
    text-align: center;
}

.service-item {
    flex: 1;
    padding: 0 15px;
    max-width: 300px;
}



.service-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.service-description {
    font-size: 14px;
    color: var(--hint-color);
    line-height: 1.4;
}

hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 40px 0;
}
 .alert-box {
    max-width: 400px;
    margin: 15px auto; 
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
    animation: fadeDown 0.35s ease;
}

/* Erro */
.alert-error {
    background: #ffe1e1;
    color: #c0392b;
    border-left: 5px solid #c0392b;
}

/* Sucesso */
.alert-success {
    background: #e2ffe8;
    color: #1e7e34;
    border-left: 5px solid #1e7e34;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
