.product-gallery {
    width: 100%;
}

.pg-main {

    position: relative;

    border-radius: 8px;

    overflow: hidden;

    background: #f7f7f7;
}

.pg-main img {

    width: 100%;

    display: block;
}

.pg-arrow {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    background: rgba(255,255,255,0.9);

    border: none;

    width: 38px;

    height: 38px;

    border-radius: 50%;

    cursor: pointer;

    font-size: 14px;

    color: #333;

    box-shadow: 0 2px 8px rgba(0,0,0,0.15);

    z-index: 2;
}

.pg-arrow:hover {

    background: #fff;
}

.pg-prev {

    left: 12px;
}

.pg-next {

    right: 12px;
}

.pg-counter {

    position: absolute;

    bottom: 10px;

    right: 12px;

    background: rgba(0,0,0,0.55);

    color: #fff;

    font-size: 12px;

    padding: 3px 10px;

    border-radius: 20px;

    z-index: 2;
}

.pg-thumbs {

    display: flex;

    gap: 8px;

    margin-top: 10px;

    flex-wrap: wrap;
}

.pg-thumb {

    width: 64px;

    height: 64px;

    object-fit: cover;

    border-radius: 6px;

    cursor: pointer;

    border: 2px solid transparent;

    opacity: 0.7;

    transition:
        opacity .15s ease,
        border-color .15s ease;
}

.pg-thumb:hover {

    opacity: 1;
}

.pg-thumb.active {

    opacity: 1;

    border-color: #3fae29;
}

.ge-modal-backdrop {

    display: none;

    position: fixed;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    background: rgba(0,0,0,0.55);

    z-index: 9999;

    align-items: center;

    justify-content: center;

    padding: 20px;
}


.ge-modal-box {

    background: #fff;

    border-radius: 8px;

    width: 100%;

    max-width: 480px;

    max-height: 90vh;

    overflow-y: auto;

    box-shadow:
        0 10px 40px
        rgba(0,0,0,0.25);
}


.ge-modal-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 16px 20px;

    border-bottom:
        1px solid #eee;
}


.ge-modal-header h5 {

    margin: 0;

    font-size: 16px;

    font-weight: 600;
}


.ge-modal-close {

    background: none;

    border: none;

    font-size: 24px;

    line-height: 1;

    color: #999;

    cursor: pointer;

    padding: 0;
}


.ge-modal-close:hover {

    color: #333;
}


.ge-modal-body {

    padding: 20px;
}


.ge-modal-body .form-group {

    margin-bottom: 14px;
}


.ge-modal-body label {

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 4px;

    display: block;
}


.ge-modal-footer {

    display: flex;

    justify-content: flex-end;

    gap: 10px;

    padding: 14px 20px;

    border-top:
        1px solid #eee;
}
