.alert {
    display: none;
    min-width: 360px;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 10;
    text-align: left;
    background: #fff;
    -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
}

.alert.is-open {
    display: block;
    animation: scale-up-top-normal 0.2s ease;
}


@media (max-width: 599px) {
    .alert {
        top: calc(100% + 10px);
        min-width: calc(100vw - 15px);
    }
}

.alert__content {
    width: 100%;
    padding: 25px;
}

@media (max-width: 599px) {
    .alert__content {
        padding: 10px;
    }
}

.alert__footer {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

.alert__title {
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
}


@media (min-width: 1536px) {
    .loyalty-button {
        font-size: 16px;
    }
}
@media (max-width: 1536px) {
    .loyalty-button {
        font-size: 16px;
    }
}
@media (max-width: 1279px) {
    .loyalty-button {
        font-size: 14px;
    }
}
@media (max-width: 767px) {
    .loyalty-button {
        font-size: 12px;
        width: 100%;
        padding: 10px;
    }
}
.loyalty-button:not([disabled]):hover,
.loyalty-button:not([disabled]):focus,
.loyalty-button:not([disabled]):active {
    background: #7826AD linear-gradient(251.8deg, rgba(157, 83, 255, 0.2) 0.02%, rgba(157, 83, 255, 0) 99.99%);
}

/* start add to cart alert */
.product-alert__body {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
}

.product-alert__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 12px;
}

.product-alert__desc {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
    flex-direction: column;
}

.product-alert__img {
    max-width: 65px;
}

.product-alert__branding-link {
    color: #000;
    transition: all .4s;
    font-size: 16px;
}

.product-alert__branding-link:not([disabled]):hover,
.product-alert__branding-link:not([disabled]):focus,
.product-alert__branding-link:not([disabled]):active {
    color: #7826AD;
}

.product-alert__name,
.product-alert__size {
    font-size: 14px;
    color: #111;
}

.product-alert__size {
    font-size: 14px;
    color: #757575;
}

.product-alert .product-alert__footer .product-alert__link {
    width: 100%;
    max-width: none;
}

.product-alert__link {
    position: relative;
    width: 100%;
    padding: 7px;
    background: #7826AD;
    font-size: 14px;
    line-height: 1;
    text-transform: uppercase;
    font-family: "Jost", sans-serif, arial;
    color: #FFF;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    border: none;
    -webkit-transition: background 0.4s;
    transition: background 0.4s;
    overflow: hidden;
}

.product-alert__link::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(120,38,173,1) 0%, rgba(255,255,255,0.4) 35%, rgba(120,38,173,1) 100%);
    background-position: -300px;
    background-repeat: no-repeat;
}

.alert.is-open .product-alert__link::after {
    animation: shine-lines 3s linear 1s;
}

.product-alert__link:not([disabled]):hover,
.product-alert__link:not([disabled]):focus,
.product-alert__link:not([disabled]):active {
    background: #7826AD;
}

.product-alert__link:hover::after,
.product-alert__link:focus::after,
.product-alert__link:active::after {
    opacity: 0;
}

.product-alert__link-text {
    display: block;
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 3;
}

@media (max-width: 600px) {
    .alert__content .v2-discount-info {
        gap: 5px;
    }

    .alert__content .v2-final-price {
        font-size: 16px;
    }

    .alert__content .v2-old-price {
        font-size: 14px;
    }

    .alert__content .v2-discount-percent {
        font-size: 16px;
    }

}

@keyframes shine-lines {
    0% {
        background-position: -100px;
    }

    40%, 100% {
        background-position: 350px;
    }
}

/* end add to cart alert */

@media (max-width: 767px) {
    .loyalty-desc-button {
        width: 100%;
    }
}

@keyframes scale-up-top-normal {
    0% {
        transform: scale(0.5);
        transform-origin: 50% 0;
    }
    100% {
        transform: scale(1);
        transform-origin: 50% 0;
    }
}
