body:has(.popupBDrop:not(.popupHidden)) {
    overflow: hidden;
}

.popupBDrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1B1D2166;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 400ms ease-in-out;
    z-index: 1000002;
    margin: 0;
}

.popupBDrop.popupHidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.popupCont {
    border: 12px solid #E40613;
    padding: 20px;
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: stretch;
    gap: 20px;
    max-width: calc(100% - 40px);
    max-height: calc(100% - 40px);
    width: 100%;
    height: 100%;
    overflow: auto;
    width: 1140px;
    position: relative;
}

.popupTitle {
    width: unset !important;
    align-self: flex-start !important;
    z-index: 1;
    text-transform: uppercase;
    padding-right: 20px;
}

.popupImg {
    display: block;
    object-fit: cover;
    width: 100%;
    max-height: 600px;
}

.popupMain {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.popupCont h1,
.popupCont h2,
.popupCont h3,
.popupCont h4,
.popupCont h5,
.popupCont h6,
.popupCont p,
.popupCont ul {
    margin: 0;
}

.popupFooter {
    padding: 20px 0;
    border-top: 12px solid #E40613;
    display: flex;
    justify-content: end;
}

.popupClose {
    cursor: pointer;
}

.popupFooter .popupClose {
    background: #E40613;
    color: #FFF;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
    position: relative;
    padding: 15px 30px;
    transition: 300ms ease-in-out;
    border: none !important;
    outline: none !important;
}

.popupClose:hover {
    background-color: #000000;
}

.popupTopBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: #E40613;
    color: #FFF;
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    overflow: hidden;
    border: none !important;
    outline: none !important;
    transition: 300ms ease-in-out;
}

.popupBtn {
    position: fixed !important;
    right: 0;
    top: 40%;
    transform-origin: bottom center;
    transform: translateX(calc(50% + 25px)) rotate(-90deg);
    z-index: 10;
    padding: 15px 30px 43px 30px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    color: #FFF;
    overflow: hidden;
    cursor: pointer;
    background: #E40613;
    border: none !important;
    outline: none !important;
    transition: 400ms ease-in-out;
    margin: 0 !important;
    max-width: 230px;
}

.popupBtn:hover {
    transform: translateX(50%) rotate(-90deg);
    background-color: #000;
}

.popupBtn:hover::before {
    opacity: 1;
    visibility: visible;
}

.popupBtn span {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 1;
    line-clamp: 1;
}

/*IMAGE POPUP*/
.imgPopup .popupCont {
    max-width: calc(100% - 20px);
    max-height: calc(100% - 20px);
    position: relative !important;
    height: 100% !important;
    overflow: visible;
    background: transparent !important;
    border: none !important;
    padding: 50px 0 !important;
    justify-content: center !important;
}

.imgPopup .popupInner {
    position: relative;
    width: 100%;
    display: flex;
    max-height: 100%;
}

.imgPopup img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 100%;
}

.imgPopup .popupTopBtn {
    top: -50px;
    right: 0;
}

.imgLink {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}