.js-notification-queue-item[hidden] {
    display: none !important;
}

.js-notification-queue-item.is-entering {
    animation: eco-notification-in 260ms ease-out both;
}

.nd-top-alert__promo {
    padding-top: 17px;
    padding-bottom: 17px;
    color: #fff;
    background: #c9364e;
    background-image: none;
    box-shadow: 0 4px 18px rgba(20, 22, 28, .2);
}

.nd-top-alert__promo .nd-title-xs {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.nd-top-alert__promo .nd-top-alert__info__text {
    margin-top: 5px;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 14px;
    font-weight: 500;
}

.nd-top-alert__promo-countdown {
    display: inline-block;
    margin-left: 2px;
    font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 15px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    white-space: nowrap;
}

.nd-top-alert__promo-expiry {
    display: inline-flex;
    width: fit-content;
    margin: 8px auto 0 !important;
    padding: 6px 12px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 10px;
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

.nd-top-alert__promo .nd-top-alert__buttons .btn-primary {
    min-width: 150px;
    border: 2px solid #fff;
    color: #9f2037;
    background: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(20, 22, 28, .2);
}

.nd-top-alert__promo .nd-top-alert__buttons .btn-primary:hover {
    border-color: #fff;
    color: #7f1428;
    background: #fff;
    transform: translateY(-1px);
}

.nd-top-alert__promo .nd-top-alert__buttons .btn-close {
    color: #fff;
    opacity: .95;
}

.nd-top-alert__promo-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    margin-right: 8px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #c9364e;
    background: #fff;
    box-shadow: 0 3px 10px rgba(87, 11, 26, .3);
    font-size: 14px;
    font-weight: 800;
    vertical-align: middle;
    animation: eco-promo-pulse 3.2s ease-in-out infinite;
}

@keyframes eco-notification-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes eco-promo-pulse {
    0%, 70%, 100% { transform: scale(1); }
    78% { transform: scale(1.16) rotate(-5deg); }
    86% { transform: scale(1) rotate(0); }
}

@media (min-width: 992px) {
    .nd-top-alert__promo .nd-top-alert__info {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }

    .nd-top-alert__promo .nd-title-xs {
        white-space: nowrap;
    }

    .nd-top-alert__promo-expiry {
        margin: 0 !important;
        white-space: nowrap;
    }
}

.nd-promocodes {
    padding-bottom: 64px;
}

.nd-promocodes__intro {
    max-width: 660px;
    margin: 0 0 28px;
    color: rgba(20, 22, 28, .65);
    font-size: 16px;
    line-height: 1.5;
}

.nd-promocodes__list {
    display: grid;
    gap: 16px;
}

.nd-promocode-card {
    --promo-accent: #026354;
    position: relative;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(2, 99, 84, .1);
    border-radius: 20px;
    background: #fafafd;
}

.nd-promocode-card::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    content: '';
    background: var(--promo-accent);
}

.nd-promocode-card--pink { --promo-accent: #ff7585; }
.nd-promocode-card--green { --promo-accent: #026354; }
.nd-promocode-card--violet { --promo-accent: #7357c8; }

.nd-promocode-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.nd-promocode-card__eyebrow {
    margin-bottom: 7px;
    color: var(--promo-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.nd-promocode-card__title {
    margin: 0 0 8px;
    color: #14161c;
    font-family: "Exo 2", sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
}

.nd-promocode-card__description {
    max-width: 520px;
    margin: 0;
    color: rgba(20, 22, 28, .65);
    font-size: 14px;
    line-height: 1.45;
}

.nd-promocode-card__order {
    flex: 0 0 auto;
    color: rgba(20, 22, 28, .5);
    font-size: 12px;
}

.nd-promocode-card__body {
    display: grid;
    grid-template-columns: minmax(250px, .9fr) minmax(390px, 1.4fr);
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e6e7ec;
}

.nd-promocode-card__label {
    margin-bottom: 8px;
    color: rgba(20, 22, 28, .5);
    font-size: 12px;
}

.nd-promocode-card__code-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.nd-promocode-card__code {
    display: flex;
    min-height: 52px;
    flex: 1 1 auto;
    align-items: center;
    padding: 10px 16px;
    overflow: hidden;
    border: 1px dashed #c9cbd3;
    border-radius: 12px;
    color: #292c34;
    background: #eeeef3;
    font-family: "Roboto Mono", "SFMono-Regular", Consolas, monospace;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .09em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nd-promocode-card__copy {
    min-width: 126px;
    border-radius: 12px;
}

.nd-promocode-card__copy.is-copied {
    border-color: #026354;
    color: #026354;
    background: rgba(2, 99, 84, .08);
}

.nd-promocode-card__countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(58px, 1fr));
    gap: 8px;
}

.nd-promocode-card__time {
    padding: 8px 6px;
    border-radius: 12px;
    text-align: center;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e6e7ec;
}

.nd-promocode-card__time-value {
    display: block;
    color: #14161c;
    font-family: "Exo 2", sans-serif;
    font-size: 20px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.nd-promocode-card__time-label {
    display: block;
    margin-top: 3px;
    color: rgba(20, 22, 28, .45);
    font-size: 10px;
}

.nd-promocode-card__expires {
    margin-top: 8px;
    color: rgba(20, 22, 28, .55);
    font-size: 12px;
    text-align: right;
}

.nd-promocodes-empty {
    padding: 48px 32px;
    border-radius: 20px;
    text-align: center;
    background: #fafafd;
}

.nd-promocodes-empty__icon {
    display: inline-flex;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #026354;
    background: rgba(2, 99, 84, .1);
    font-size: 24px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .nd-promocode-card__body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .nd-top-alert__promo .nd-top-alert__row {
        display: block !important;
        min-height: 0;
        padding: 0 18px;
    }

    .nd-top-alert__promo .nd-top-alert__info {
        width: 100%;
        max-width: none;
        text-align: center !important;
    }

    .nd-top-alert__promo-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
        margin-right: 5px;
        font-size: 11px;
    }

    .nd-top-alert__promo {
        padding-top: 13px;
        padding-bottom: 13px;
    }

    .nd-top-alert__promo .nd-title-xs {
        justify-content: center;
        font-size: clamp(11px, 3.25vw, 13px);
        line-height: 1.2;
        white-space: nowrap;
    }

    .nd-top-alert__promo-expiry {
        display: flex;
        margin: 8px auto 0 !important;
        padding: 6px 10px;
        font-size: 11px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .nd-top-alert__promo-countdown {
        display: inline-block;
        margin: 0;
        font-size: 12px;
    }

    .nd-top-alert__promo .nd-top-alert__buttons {
        position: static !important;
        justify-content: center;
        margin-top: 10px;
    }

    .nd-top-alert__promo .nd-top-alert__buttons .btn-primary {
        min-width: 132px;
        white-space: nowrap;
    }

    .nd-top-alert__promo .nd-top-alert__buttons .btn-close {
        position: absolute;
        top: 0;
        right: 0;
    }

    .nd-promocodes {
        padding-top: 16px;
        padding-bottom: 32px;
    }

    .nd-promocodes__intro {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .nd-promocode-card {
        padding: 20px;
        border-radius: 16px;
    }

    .nd-promocode-card__top {
        display: block;
    }

    .nd-promocode-card__title {
        font-size: 20px;
    }

    .nd-promocode-card__order {
        display: block;
        margin-top: 12px;
    }

    .nd-promocode-card__body {
        gap: 20px;
        margin-top: 20px;
        padding-top: 20px;
    }

    .nd-promocode-card__code-row {
        flex-direction: column;
    }

    .nd-promocode-card__copy {
        width: 100%;
    }

    .nd-promocode-card__countdown {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }

    .nd-promocode-card__time-value {
        font-size: 18px;
    }

    .nd-promocode-card__expires {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js-notification-queue-item.is-entering,
    .nd-top-alert__promo-icon {
        animation: none;
    }
}
