.products-section .filter-active {
    align-items: center;
}

.products-section .filter-active .filter-reset {
    width: auto;
    margin-top: 0;
    padding: 0;
    flex: 0 0 auto;
}

.products-section .filter-active .filter-active-item {
    cursor: pointer;
}
.popup-window,
.popup-window-overlay {
    z-index: 999999 !important;
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
}

.project-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.project-video-overlay.is-active {
    display: flex;
}

.project-video-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.3s ease;
    padding: 0;
}

.project-video-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.project-video-close svg {
    stroke: #fff;
}

.project-video-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-video-container video,
.project-video-container iframe {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    border: none;
}
