/* Popup-Stile */

#lmtPopupButton {
    width: 56px;
    height: 56px;
    position: fixed;
    z-index: 1000;
    /*bottom: 233px;*/
    bottom: 90px;
    right: 12px;
    background-color: #FAFA21;
    border-radius: 50px;
    border: 1px solid #FAFA21;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(1);
    transition: transform 300ms ease-in-out;
    animation: fadeIn 1s ease-in-out 1s forwards;

    @media (min-width: 673px) {
        bottom: 280px;
    }
}

@keyframes fadeIn {
    0% {opacity: 0;}
    95% {opacity: 0;}
    100% {opacity: 1;}
}

#lmtPopupButton.hide-on-scroll {
    animation: fadeOut 300ms ease-in-out forwards;
}

@keyframes fadeOut {
    0%   {opacity: 1;}
    99%  {opacity: 0;}
    100% {display: none;}
}

#lmtPopupButton:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: transform 300ms ease-in-out;
}

#lmtPopupButton svg {
    width: 30px;
    height: 30px;
}

#lmtPopupButton span {
    display: block;
    text-indent: -99999px;
}

#lmtPopup {
    position: relative;
    z-index: 100001;
}

.popup .popup-content {
    transform: scale(0);
    opacity: 0;
    transform-origin: bottom right;
    transition-timing-function: ease-in-out;
    transition: all, 300ms;
}

.lmt-block .popup-content {
    transform: scale(1);
    opacity: 1;
    transition: all, 300ms;
}

.lmt-none .popup-content {
    transform: scale(0);
    opacity: 0;
    transition: all, 300ms;
}

.popup-content {
    position: fixed;
    bottom: 24px;
    right: 0;
    width: auto;
    max-width: 400px;
    margin-left: 10px;
    margin-right: 10px;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.popup .popup_inner {
    max-height: 45vh;
    width: 100%;
    overflow-y: scroll;
}

.popup .popup_inner::-webkit-scrollbar {
    display: none; /* Für Chrome, Safari und Edge */
}

.popup .popup_inner .image-container img {
    height: 100px;
    object-fit: cover;
}

.popup .h3 {
    margin-top: 20px;
}

.popup .h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: x-large;
}

.popup .btn-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.popup .wp-block-button {
    display: inline-block;
    margin-top: 5px;
    margin-right: 10px;
}

.popup .wp-block-button button.wp-block-button__link {
    padding: calc(.667em + 4px) calc(1.333em + 2px);
}

.popup .wp-block-button__link {
    min-width: auto;
    display: block;

    background-color: #ffffff;
    color: #32373c;
    border: 1px solid #32373c;
    border-radius: 40px;
    transition: 350ms ease;



}

.popup .wp-block-button__link:hover {
    background-color: #32373c;
    color: #ffffff;
}

#voucherCode {
    display: none;
}

.popup .textzusatz {
    margin-top: 20px;
    margin-bottom: 0;
    line-height: 1;
}

.popup .close-button {
    position:absolute;
    right: 20px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    line-height: 0;
}

.popup .close-button:hover,
.popup .close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#lmtCountdown {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

#lmtCountdown .counter_col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#lmtCountdown .counter_col .counter_number {
    font-size: 40px;
}

@media (min-width: 500px) {
    .popup .h2 {
        margin-top: 0;
        margin-bottom: 10px;
        font-weight: 700;
        font-size: x-large;
    }

    #lmtCountdown {
        justify-content: space-evenly;
    }
}

@media (min-width: 673px) {
    .popup .popup-content {
        bottom: 24px;
        right: 2px;
    }
}

@media (min-width: 992px) {
    .popup-content {
        right: 20px;
        padding: 40px;
        overflow-y: hidden;
    }

    .popup .popup_inner {
        max-height: unset;
        overflow-y: hidden;
    }

    .popup .popup_inner .image-container img {
        height: 200px;
    }

    #lmtPopupButton {
        width:70px;
        height:70px;
        left: auto;
    }

    #lmtPopupButton svg {
        width: 40px;
        height: 40px;
    }

    .popup-content {
        max-width: 520px;
        bottom: 290px;
        right: 110px;
    }
}