.gbs-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.gbs-popup-overlay.gbs-popup-active {
    opacity: 1;
    visibility: visible;
}
.gbs-popup-container {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}
.gbs-popup-overlay.gbs-popup-active .gbs-popup-container {
    transform: scale(1) translateY(0);
}
.gbs-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: 300;
}
.gbs-popup-close:hover {
    background: #fff;
    transform: rotate(90deg) scale(1.1);
    color: #e74c3c;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.gbs-popup-close:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}
.gbs-popup-content {
    position: relative;
}
.gbs-popup-image {
    width: 100%;
    line-height: 0;
    background: #f5f5f5;
}
.gbs-popup-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
    object-fit: contain;
}

.gbs-popup-button {
    padding: 5px 10px;
    text-align: center;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    /* display: grid; */
    position: absolute;
    bottom: 30px;
     left: 50%;
  transform: translateX(-50%);
}
.gbs-apply-btn {
    display: inline-block;
    padding: 10px 12px;
    background: #8F173B;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 500;
    border-radius: 38px;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    border: none;
}
.gbs-apply-btn:hover {
    background: #fff;
    color: #8F173B !important;
    border: 1px solid #8F173B;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.5);
}
.gbs-apply-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}
body.gbs-popup-no-scroll {
    overflow: hidden !important;
    padding-right: 0 !important;
}
/* Mobile Responsive */
@media (max-width: 768px) {
.gbs-popup-overlay {
    padding: 15px;
}
.gbs-popup-container {
    max-width: 95%;
    border-radius: 12px;
}
.gbs-popup-close {
    width: 38px;
    height: 38px;
    font-size: 28px;
    top: 12px;
    right: 12px;
}
.gbs-popup-image img {
    max-height: 70vh;
}
.gbs-popup-button {
    padding: 3px 5px;
}
.gbs-apply-btn {
    padding: 5px 22px;
    font-size: 12px;
    letter-spacing: 1px;
}
}
@media (max-width: 480px) {
.gbs-popup-container {
    max-width: 100%;
    margin: 10px;
    border-radius: 10px;
}
.gbs-popup-close {
    width: 35px;
    height: 35px;
    font-size: 24px;
    top: 10px;
    right: 10px;
}
.gbs-apply-btn {   
    width: 100%;
    max-width: 280px;
}
}
@media (prefers-reduced-motion: reduce) {
.gbs-popup-overlay,
.gbs-popup-container,
.gbs-popup-close,
.gbs-apply-btn {
    transition: none !important;
    animation: none !important;
}
}
@media (prefers-contrast: high) {
.gbs-popup-close {
    border: 2px solid currentColor;
}   
.gbs-apply-btn {
    border: 2px solid #fff;
}
}