/* Presta Lab - Promotions */

.plpromo-box {
    padding: 12px 16px;
    border-radius: 12px;
    background-color: var(--plpromo-bg, #ffe800);
    color: var(--plpromo-color, #000);
    line-height: 1.4;
}

.plpromo-box[hidden],
.plpromo-box--excluded,
.plpromo-box [hidden] {
    display: none !important;
}

/* Themes colour paragraphs themselves (classic: p { color: #7a7a7a }). */
.plpromo-box__text p,
.plpromo-box__text strong {
    color: inherit;
}

.plpromo-box__text > :last-child {
    margin-bottom: 0;
}

.plpromo-price-with-code {
    font-weight: 700;
    white-space: nowrap;
}

.plpromo-box__countdown {
    margin-top: 8px;
}

.plpromo-cd--boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.plpromo-cd--boxes .plpromo-cd__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 44px;
    padding: 4px 6px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, .6);
}

.plpromo-cd__num {
    font-size: 1.25em;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.plpromo-cd__label {
    font-size: .75em;
}

.plpromo-cd--inline {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.plpromo-box__link {
    display: inline-block;
    margin-top: 6px;
    color: inherit;
    text-decoration: underline;
}

.plpromo-box__link:hover,
.plpromo-box__link:focus {
    color: inherit;
    text-decoration: none;
}
