/* Mix Item Menu (Filter Buttons) */
.mix-item-menu {
    margin-bottom: 30px;
}

.mix-item-menu button {
    display: inline-block;
    padding: 8px 25px;
    background: transparent;
    border: 1px solid #e7e7e7;
    border-radius: 30px;
    margin: 5px;
    text-transform: capitalize;
    font-weight: 700;
    font-family: 'Manrope', sans-serif;
    color: #666666;
    cursor: pointer;
    outline: none;
    transition: all 0.35s ease-in-out;
}

.mix-item-menu button:hover,
.mix-item-menu button.active {
    background: #FF1949;
    /* Theme Main Color */
    color: #ffffff;
    border-color: #FF1949;
    box-shadow: 0 5px 15px rgba(255, 25, 73, 0.3);
}

/* Adjustments for layout */
.mix-item-menu.text-center {
    text-align: center;
}

/* Fix for gallery item overlay text */
.pf-item .item-inner .effect-info {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateY(-50%);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease-in-out;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pf-item .item-inner:hover .effect-info {
    opacity: 1;
    visibility: visible;
}

.pf-item .item-inner .effect-info h4 {
    color: #ffffff;
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: 700;
}

.pf-item .item-inner .effect-info span {
    color: #ffffff;
    font-size: 14px;
    display: block;
}

/* Overlay adjustments if needed */
.pf-item .item-inner {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.pf-item .item-inner::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: all 0.35s ease-in-out;
    z-index: 0;
}

.pf-item .item-inner:hover::before {
    opacity: 1;
}

/* Popup link circle background */
.pf-item .effect-info a.popup-link {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: #ffffff;
    color: #FF1949;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.pf-item .effect-info a.popup-link:hover {
    background: #FF1949;
    color: #ffffff;
}

/* Magnific Popup Title Styling */
.mfp-title {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    padding-right: 40px !important;
    /* Space for counter */
}

.mfp-counter {
    font-family: 'Manrope', sans-serif !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}