/**
 * Promotional countdown FO CSS.
 *
 * @author      Difadi.com <soporte@difadi.com>
 * @copyright   2026 Difadi.com
 * @license     Commercial
*/

.dfdpromotionalcountdowns {
    margin: 1rem 0;
    width: 100%;
}

.dfdpromotionalcountdowns-text {
    margin-bottom: .75rem;
}

.dfdpromotionalcountdowns-text > :last-child {
    margin-bottom: 0;
}

.dfdpromotionalcountdowns-counter {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-bottom: .85rem;
}

.dfdpromotionalcountdowns-unit {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 68px;
}

.dfdpromotionalcountdowns-value {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;
}

.dfdpromotionalcountdowns-label {
    font-size: .72rem;
    line-height: 1.2;
    margin-top: .25rem;
    text-transform: uppercase;
}

.dfdpromotionalcountdowns-separator {
    align-self: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.dfdpromotionalcountdowns-style-classic .dfdpromotionalcountdowns-unit {
    background: #f5f5f5;
    border: 1px solid #dedede;
    border-radius: 4px;
    padding: .65rem .8rem;
}

.dfdpromotionalcountdowns-style-minimal .dfdpromotionalcountdowns-counter {
    gap: .25rem;
}

.dfdpromotionalcountdowns-style-minimal .dfdpromotionalcountdowns-unit {
    min-width: auto;
    padding: .2rem .4rem;
}

.dfdpromotionalcountdowns-style-minimal .dfdpromotionalcountdowns-value {
    font-size: 1.45rem;
}

.dfdpromotionalcountdowns-banner-wrapper {
    margin-top: .75rem;
}

.dfdpromotionalcountdowns-banner {
    display: block;
    height: auto;
    max-width: 100%;
}

@media (max-width: 575px) {
    .dfdpromotionalcountdowns-counter {
        gap: .25rem;
    }

    .dfdpromotionalcountdowns-unit {
        min-width: 54px;
        padding-left: .5rem;
        padding-right: .5rem;
    }

    .dfdpromotionalcountdowns-value {
        font-size: 1.35rem;
    }

    .dfdpromotionalcountdowns-label {
        font-size: .62rem;
    }
}
