.tdu-popup {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tdu-popup-overlay {
    position: fixed;
    background-color: #000;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.tdu-popup-content {
    width: 60vw;
    position: relative;
    min-height: 30vh;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    z-index: 1001;
    background: #fff;
    overflow: hidden;

    @media (max-width: 767px) {
        width: 80vw;
    }

    @media (max-width:576px) {
        width: 90vw;
    }
}

/* Button close */
.tdu-popup-top {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    cursor: pointer;
}

.tdu-popup-close {
    border-radius: 100%;
    background-color: #fff;
    padding: 3px;
    aspect-ratio: 1;
    width: 30px;
    z-index: 1010;
}

.tdu-popup-close.black {
    border-radius: 100%;
    background-color: #000;
    padding: 3px;
    aspect-ratio: 1;
    width: 30px;
    z-index: 1010;
}

/* Content */
.tdu-popup-inner-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 60px;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;

    @media (max-width: 767px) {
        padding-inline: 30px;
        padding-bottom: 30px;
    }
}

.tdu-popup-inner-content h2 {
    display: flex;
}

/* Image */

.tdu-popup-inner-img img {
    height: 100%;
    width: 100%;
}

.tdu-popup-inner-img a {
    display: flex;
    height: 100%;
}

/* Button */

.tdu-popup-button {
    display: flex;
    width: 100%;
}

.tdu-popup-button a {
    position: relative;
    width: fit-content;
    padding: 7px 14px;
    transition: all 0.5s ease;
}

.tdu-popup-button a:hover {
    box-shadow: 0 0 10px -5px #00000020;
}

.tdu-popup-button a::before {
    content: '';
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    transition: width 0.5s ease;
}

.tdu-popup-button a:hover::before {
    width: 100%;
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
    filter: blur(7px);
    mix-blend-mode: soft-light;
    transition: all 0.3s ease; 
}