@font-face {
    font-family: Lorimer_No2Trial_Bold;
    src: url(../../fonts/Lorimer_No2Trial_Bold.otf) format('opentype');
    font-weight: bold;
}

.aae-discount-section {
    background: linear-gradient(90deg, rgba(200, 243, 29, 0.95) 0%, rgba(190, 233, 19, 0.95) 100%), url('../../img/baner/bg-img.webp');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10px 0;
    font-family: "Sriracha", cursive;
    font-weight: 400;
}

.aae-discount-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 20px;

    @media (max-width:1700px){
        justify-content: center;
    }

    @media (max-width: 1024px) {
        gap: 20px;
    }

    @media (max-width: 768px) {
        gap: 15px;
    }
}

.aae-apply-discount {
    border: 1px solid var(--primary-color-baner);
    background-color: var(--white);
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    position: relative;
    padding: 13px 17px 12px 37px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(-3deg);

    @media (max-width: 768px) {
        padding: 10px 10px 10px 35px;
        transform: rotate(0deg);
    }
}

.left-circle-img {
    position: absolute;
    top: 62%;
    left: -19px;
    transform: translateY(-50%) rotate(3deg);
}

.aae-discount-logo {
    margin-right: 36px;

    @media (max-width: 1440px) {
        margin-right: 0;
    }

    img {
        @media (min-width:1400px) and (max-width: 1500px) {
            max-width: 250px;
        }

        @media (max-width: 1024px) {
            max-width: 250px;
        }

        @media (max-width: 768px) {
            max-width: 200px;
        }
    }
}

.aae-discount-section .aae-apply-discount-text {
    text-align: center;
    font-family: "Sriracha", cursive;
    font-size: 19px;
    line-height: 1.10;
    color: var(--primary-color-baner);
    font-weight: 500;

    @media (max-width: 768px) {
        font-size: 16px;
    }

    span {
        color: var(--orange-color);
    }
}

.discount-text {
    text-shadow: 2px 4px var(--white)
}

.wave-img {
    position: absolute;
    left: 0;
    top: 44%;
    left: calc(0% + 100px);
    @media (max-width: 768px) {
        display: none;
    }
}

.aae-discount-options {
    display: flex;
    align-items: center;
    gap: 75px;
    position: relative;
    flex-wrap: wrap;

    @media (min-width: 1400px) and (max-width: 1500px) {
        gap: 60px;
    }

    @media (max-width: 768px) {
        gap: 15px;
        justify-content: center;
    }
}

.aae-date-item {
    width: 38px;
    position: relative;
}

.aae-date-item::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 0;
    height: 100%;
    width: 1px;
    border-right: 1px dashed rgba(0, 0, 0, 0.4);
}

.aae-date-item:last-child::after {
    display: none;
}

.aae-discount-price {
    >* {
        font-family: Lorimer_No2Trial_Bold;
        font-style: italic;
    }

    background-color: var(--yellow-color);
    padding: 12px 10px;
    border: 1px solid var(--primary-color-baner);
    border-radius: 3px;
    position: relative;
    display: flex;
    transform: rotate(5deg);
    align-items: center;

    @media (max-width: 768px) {
        padding: 8px 6px;
        transform: rotate(0deg);
    }
}

.aae-discount-price-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    font-family: Lorimer_No2Trial_Bold;
    text-transform: uppercase;
    color: var(--primary-color-baner);

    @media (min-width: 1440px) and (max-width: 1500px) {
        font-size: 40px;
    }

    @media (max-width: 1024px) {
        font-size: 40px;
    }

    @media (max-width: 768px) {
        font-size: 26px;
    }
}

.aae-discount-price-text-2 {
    font-size: 33px;
    line-height: 1;
    font-weight: 700;
    text-shadow: 2px 2px var(--white);

    @media (max-width: 768px) {
        font-size: 20px;
    }
}

.aae-discount-price-text-3 {
    font-size: 15px;
    line-height: 1;
    text-shadow: 2px 2px var(--white);
    font-weight: 700;

}

.dot-shape {
    display: flex;
    width: 14px;
    height: 14px;
    background-color: var(--light-blue);
    border-radius: 50%;
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 1px solid rgba(0, 0, 0, 1);

    &.two {
        top: auto;
        bottom: -7px;
        border: 0;
        border-top: 1px solid rgba(0, 0, 0, 1);
    }
}

.aae-discount-type-bg {
    background: url('../../img/baner/circle.png');
    background-repeat: no-repeat;
    padding: 18px 14px;
    transform: rotate(4deg);

    @media (max-width: 768px) {
        background-size: contain;
        transform: rotate(0deg);
    }
}

.aae-discount-type-text {
    font-family: "Sriracha", cursive;
    font-size: 20px;
    line-height: 1;
    display: flex;
    gap: 4px;
    color: var(--primary-color-baner);

    @media (max-width: 768px) {
        font-size: 16px;
    }
}

.aae-discount-btn {
    background-color: var(--orange-color);
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    padding: 12px 26px;
    border-radius: 50px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-family: "Figtree", sans-serif;
    display: flex;
    align-items: center;
    gap: 7px;

    img {
        transition: all 0.3s ease;
    }

    &:hover {
        background-color: var(--white);
        border-color: var(--orange-color);
        color: var(--primary-color-baner);

        img {
            filter: invert(1);
        }
    }
}

.aae-discount-btn-wrapper {
    display: flex;
    align-items: center;
}

.days-number {
    font-family: "Figtree", sans-serif;
    background-color: var(--primary-color-baner);
    color: var(--white);
    /* padding: 4px 15px; */
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    text-align: center;
}

.days-text {
    background-color: var(--white);
    color: var(--primary-color-baner);
    padding: 0 8px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    text-align: center;
    font-size: 10px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Figtree", sans-serif;
}

.aae-discount-timer {
    display: flex;
    align-items: center;
    gap: 16px;
}

#newsletter_message {
    position: absolute;
    bottom: -37px;
    left: 12px;
}