/* Promoções da Região — vitrine, cards e página da promoção (segue a paleta de produtos-parceiros.css) */

.promo-secao {
    margin: 0 0 28px;
    padding: 18px;
    border: 1px solid #cfe5d6;
    border-radius: 16px;
    background: #f3faf5;
}

.promo-secao__topo {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
}

.promo-secao__topo h2 {
    margin: 0;
    font-size: 20px;
    color: #14532d;
}

.promo-secao__topo a,
.promo-secao__sub a {
    color: #1f7a3a;
    font-weight: 600;
    font-size: 14px;
}

.promo-secao__sub {
    margin: 4px 0 14px;
    font-size: 13px;
    color: #475467;
}

/* Grade */
.promo-grade {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    margin: 0 0 8px;
}

.promo-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.promo-card:hover,
.promo-card:focus-within {
    border-color: #c8d4cc;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .08);
}

.promo-card__foto {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    background: #f8faf9;
    border-bottom: 1px solid #eef0f3;
}

.promo-card__foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-card__sem-foto {
    font-size: 48px;
    font-weight: 800;
    color: #b7d7c0;
}

.promo-card__corpo {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px 14px;
}

.promo-card__titulo {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
}

.promo-card__titulo a {
    color: #1a2330;
    text-decoration: none;
}

.promo-card__titulo a:hover,
.promo-card__titulo a:focus {
    color: #1f7a3a;
    text-decoration: underline;
}

.promo-selos {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.promo-selo {
    padding: 2px 8px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #475467;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}

.promo-selo--tipo {
    background: #e3f4e8;
    color: #14532d;
}

.promo-preco {
    margin: 0;
    font-size: 14px;
    color: #667085;
}

.promo-preco__por {
    font-size: 20px;
    color: #14532d;
}

.promo-empresa,
.promo-validade,
.promo-condicoes {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #475467;
}

.promo-empresa a {
    color: #1a2330;
    font-weight: 600;
}

.promo-empresa span {
    display: block;
    color: #667085;
}

.promo-validade {
    font-weight: 600;
    color: #b42318;
}

.promo-botao {
    display: block;
    margin-top: auto;
    padding: 10px 12px;
    border-radius: 999px;
    background: #1f7a3a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.promo-botao:hover,
.promo-botao:focus {
    background: #1b6b38;
    color: #fff;
    text-decoration: none;
}

.promo-botao--whatsapp {
    background: #128c4a;
}

/* Página /promocoes */
.promo-pagina {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    box-sizing: border-box;
}

.promo-pagina h1 {
    margin: 0 0 4px;
    font-size: 26px;
    color: #14532d;
}

.promo-filtros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 8px;
    margin: 16px 0;
}

.promo-filtros input,
.promo-filtros select,
.promo-filtros button {
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #fff;
    color: #1a2330;
    font-size: 14px;
}

.promo-filtros button {
    border: 0;
    background: #1f7a3a;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.promo-resumo {
    margin: 0 0 16px;
    font-size: 13px;
    color: #667085;
}

.promo-resumo a {
    color: #1f7a3a;
    font-weight: 600;
}

/* Página /promocao/{slug} */
.promo-detalhe {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px;
    margin: 16px 0 32px;
}

.promo-detalhe__foto img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid #e4e7ec;
    display: block;
}

.promo-detalhe__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.promo-detalhe__info .promo-preco__por {
    font-size: 28px;
}

.promo-detalhe__descricao {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #1a2330;
    white-space: pre-line;
}

.promo-detalhe__info .promo-botao {
    margin-top: 6px;
    padding: 14px;
    font-size: 16px;
}

.promo-indisponivel {
    margin: 24px 0;
    padding: 18px;
    border: 1px solid #f1e3b3;
    border-radius: 14px;
    background: #fffbeb;
    color: #5c4813;
}

.promo-indisponivel h1 {
    color: #5c4813;
    font-size: 22px;
}

@media (max-width: 720px) {
    .promo-detalhe {
        grid-template-columns: 1fr;
    }

    .promo-grade {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 10px;
    }

    .promo-card__foto {
        height: 140px;
    }

    .promo-secao {
        padding: 14px;
    }
}
