.dgpm-btn{
    background: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    border-width: 0px !important;
    border-radius: 2px;
    font-size: 18px;
    font-family: 'Cabin', Helvetica, Arial, Lucida, sans-serif !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    padding: 0 26px 0 0;
    position: relative;
}
button.dgpm-btn:after {
    content: "";
    background: url(/wp-content/uploads/2026/05/arrow-left.png) no-repeat;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 1px;
    right: 0;
    transform: rotate(-42deg);
    background-size: 100%;
}
.dgpm-btn:hover{
  background: none;
  
    border-bottom: 1px solid #fff !important;
}

/* POPUP WRAPPER */

.dgpm-popup{
    display:none;
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    z-index:999999 !important;
    isolation:isolate;
}

/* OVERLAY */

.dgpm-overlay{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.82);
    backdrop-filter:blur(5px);
    z-index:1;
}

/* POPUP CENTER */

.dgpm-popup-content{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    width:90%;
    max-width:1200px;
    background:#111;
    border-radius:18px;
    overflow:hidden;
    z-index:9999999 !important;
    box-shadow:0 25px 80px rgba(0,0,0,0.55);
    border:1px solid rgba(255,255,255,0.08);
    padding:20px;
}

/* CLOSE BUTTON */

.dgpm-close{
    position:absolute;
    right:18px;
    top:14px;
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,0.08);
    color:#fff;
    cursor:pointer;
    z-index:99999999;
    transition:0.3s ease;
    font-size:28px;
    backdrop-filter:blur(6px);
}

.dgpm-close:hover{
    background:#fff;
    color:#000;
}

/* MAIN SLIDER */

.dgpm-main-swiper{
    width:100%;
    border-radius:14px;
    overflow:hidden;
}
.dgpm-popup-content .swiper-button-next, .dgpm-popup-content .swiper-button-prev {
    background: none;
}
.dgpm-main-swiper .swiper-slide{
    background:#000;
    border-radius:14px;
    overflow:hidden;
}

.dgpm-main-swiper img{
    width:100%;
    height:72vh;
    object-fit:cover;
    display:block;
}

/* THUMB SLIDER */

.dgpm-thumb-swiper{
    margin-top:16px;
}

.dgpm-thumb-swiper .swiper-slide{
    opacity:0.45;
    cursor:pointer;
    transition:0.3s ease;
    border:2px solid transparent;
    border-radius:10px;
    overflow:hidden;
}

.dgpm-thumb-swiper .swiper-slide-thumb-active{
    opacity:1;
    border-color:#fff;
    transform:scale(1.02);
}

.dgpm-thumb-swiper img{
    width:100%;
    height:95px;
    object-fit:cover;
    display:block;
}

/* CUSTOM ARROWS */

.swiper-button-next,
.swiper-button-prev{
    width:54px !important;
    height:54px !important;
    border-radius:50%;
    background:rgba(0,0,0,0.55);
    backdrop-filter:blur(6px);
    transition:0.3s ease;
    border:1px solid rgba(255,255,255,0.15);
}

.swiper-button-next:hover,
.swiper-button-prev:hover{
    background:#fff;
}

.swiper-button-next:after,
.swiper-button-prev:after{
    font-size:20px !important;
    color:#fff;
    font-weight:700;
    transition:0.3s ease;
}

.swiper-button-next:hover:after,
.swiper-button-prev:hover:after{
    color:#000;
}

/* DIVI FIX */

.et_pb_section,
.et_pb_row,
.et_pb_column,
.et_pb_module{
    z-index:auto !important;
}

/* VISUAL BUILDER */

.et-fb .dgpm-wrapper{
    min-height:auto !important;
}

.et-fb .dgpm-btn{
    display:inline-block !important;
}

.et-fb .dgpm-popup{
    display:none !important;
}

/* MOBILE */

@media(max-width:767px){

    .dgpm-popup-content{
        width:95%;
        padding:12px;
    }

    .dgpm-main-swiper img{
        height:55vh;
    }

    .dgpm-thumb-swiper img{
        height:70px;
    }

    .swiper-button-next,
    .swiper-button-prev{
        width:42px !important;
        height:42px !important;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after{
        font-size:15px !important;
    }

}