/* ========================================
   PARAÍSO DA MAGIA — CUPÕES COMPACTOS
======================================== */

.pdm-home-promotions {
    padding: 24px 0;
    background: #15101f;
}

.pdm-promo-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Faixa promocional */

.pdm-promo-strip {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    min-height: 82px;
    padding: 13px 18px;
    border: 1px solid rgba(228, 196, 145, .17);
    border-radius: 12px;
    background: linear-gradient(105deg,
            #271a33,
            #1d1529 75%);
}

.pdm-promo-icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(228, 196, 145, .09);
    color: #e4c491;
    font-size: 23px;
}

/* Informação */

.pdm-promo-info {
    display: flex;
    flex: 1 1 220px;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.pdm-promo-eyebrow {
    color: #e4c491;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}

.pdm-promo-info>strong {
    color: #f5eaf9;
    font-size: 14px;
    font-weight: 650;
}

.pdm-promo-info>small {
    color: #bcaacb;
    font-size: 11px;
    line-height: 1.4;
}

/* Contador numa única linha */

.pdm-promo-time {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.pdm-promo-time>small {
    color: #bcaacb;
    font-size: 10px;
}

.pdm-promo-clock {
    color: #e4c491;
    font-size: 13px;
    font-weight: 750;
    font-variant-numeric: tabular-nums;
}

/* Código + botão */

.pdm-home-promotions .pdm-promo-code {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    width: auto;
    margin: 0;
    padding: 6px;
    border: 1px dashed rgba(228, 196, 145, .37);
    border-radius: 9px;
    background: rgba(0, 0, 0, .15);
    text-align: left;
}

.pdm-home-promotions .pdm-promo-code strong {
    padding: 0 9px;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    letter-spacing: .5px;
    overflow-wrap: anywhere;
}

.pdm-home-promotions .pdm-promo-code button {
    min-height: 34px;
    padding: 7px 13px;
    border: 0;
    border-radius: 6px;
    background: #8054a6;
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.pdm-home-promotions .pdm-promo-code button:hover {
    background: #9564bc;
}

/* Condições opcionais */

.pdm-promo-terms {
    flex: 1 0 100%;
    padding-top: 7px;
    color: #cbb9d8;
    font-size: 11px;
}

.pdm-promo-terms summary {
    width: fit-content;
    color: #e4c491;
    cursor: pointer;
}

.pdm-promo-terms p {
    margin: 10px 0 0;
    white-space: pre-line;
    line-height: 1.6;
}

/* Esconder promoções expiradas */

.pdm-promo-strip[hidden],
.pdm-home-promotions[hidden] {
    display: none !important;
}

/* ========================================
   RESPONSIVO
======================================== */

@media (max-width: 700px) {
    .pdm-home-promotions {
        padding: 15px 0;
    }

    .pdm-promo-strip {
        gap: 10px;
        min-height: 0;
        padding: 13px;
    }

    .pdm-promo-icon {
        flex-basis: 35px;
        width: 35px;
        height: 35px;
        font-size: 19px;
    }

    .pdm-promo-info {
        flex-basis: calc(100% - 50px);
    }

    .pdm-promo-info>strong {
        font-size: 13px;
    }

    .pdm-promo-time {
        flex: 1;
        align-items: flex-start;
    }

    .pdm-home-promotions .pdm-promo-code {
        flex: 0 1 auto;
        max-width: 100%;
    }
}

@media (max-width: 380px) {
    .pdm-home-promotions .pdm-promo-code {
        flex: 1 1 100%;
        justify-content: space-between;
    }
}