/**
 * =========================================
 * ALDEBARAN TOOLKIT
 * Promotions - Frontend
 * =========================================
 */

.atk-promotion-banner {

    width: 100%;

    color: #ffffff;

    position: relative;

    z-index: 99999;

    box-sizing: border-box;

    overflow: hidden;

}


/*
 * =========================================
 * COLORES
 * =========================================
 */


/* Aldebaran - predeterminado */

.atk-promotion-aldebaran {

    background: linear-gradient(
        90deg,
        #4F15E0 0%,
        #1566E0 100%
    );

}


/* Rojo */

.atk-promotion-red {

    background: linear-gradient(
        90deg,
        #e53935 0%,
        #c62828 100%
    );

}


/* Verde */

.atk-promotion-green {

    background: linear-gradient(
        90deg,
        #16a34a 0%,
        #15803d 100%
    );

}


/* Naranja */

.atk-promotion-orange {

    background: linear-gradient(
        90deg,
        #f97316 0%,
        #ea580c 100%
    );

}


/* Azul */

.atk-promotion-blue {

    background: linear-gradient(
        90deg,
        #2563eb 0%,
        #1d4ed8 100%
    );

}


/* Negro */

.atk-promotion-black {

    background: linear-gradient(
        90deg,
        #18181b 0%,
        #27272a 100%
    );

}


.atk-promotion-content {

    min-height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 8px 20px;

    box-sizing: border-box;

    font-family: inherit;

    font-size: 14px;

    line-height: 1.3;

    text-align: center;

}


.atk-promotion-icon {

    font-size: 18px;

    flex: 0 0 auto;

}


.atk-promotion-title {

    font-weight: 700;

    white-space: nowrap;

}


.atk-promotion-separator {

    opacity: 0.8;

    font-weight: 700;

}


.atk-promotion-message {

    white-space: nowrap;

}


.atk-promotion-coupon {

    appearance: none;

    border: 0;

    background: rgba(
        255,
        255,
        255,
        0.16
    );

    color: #ffffff;

    border-radius: 6px;

    padding: 6px 10px;

    font: inherit;

    font-size: 13px;

    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}


.atk-promotion-coupon:hover {

    background: rgba(
        255,
        255,
        255,
        0.25
    );

    transform: translateY(-1px);

}


.atk-promotion-coupon strong {

    font-weight: 800;

    letter-spacing: 0.3px;

}


/*
 * =========================================
 * MÓVIL
 * =========================================
 */

@media (max-width: 768px) {

    .atk-promotion-banner {

        width: 100%;

    }


    .atk-promotion-content {

        min-height: 42px;

        justify-content: flex-start;

        overflow-x: auto;

        overflow-y: hidden;

        white-space: nowrap;

        flex-wrap: nowrap;

        gap: 10px;

        padding: 7px 14px;

        font-size: 13px;

        scrollbar-width: none;

    }


    .atk-promotion-content::-webkit-scrollbar {

        display: none;

    }


    .atk-promotion-icon {

        font-size: 16px;

    }


    .atk-promotion-title {

        font-size: 13px;

    }


    .atk-promotion-message {

        font-size: 13px;

    }


    .atk-promotion-coupon {

        font-size: 12px;

        padding: 6px 9px;

    }

}