/* ASE Vehicle Gallery — Lightbox default styling.
   Every class here is documented in includes/vehicle-gallery.php and can
   be overridden via Elementor Custom CSS without touching this file. */

.ase-gallery-main img {
    cursor: zoom-in;
}

.ase-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.ase-lightbox-open {
    overflow: hidden;
}

.ase-lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    user-select: none;
}

.ase-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 8px;
}

.ase-lightbox-prev,
.ase-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 14px 16px;
    border-radius: 50%;
}

.ase-lightbox-prev:hover,
.ase-lightbox-next:hover,
.ase-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ase-lightbox-prev {
    left: 16px;
}

.ase-lightbox-next {
    right: 16px;
}

.ase-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    opacity: 0.85;
}

@media (max-width: 600px) {
    .ase-lightbox-prev,
    .ase-lightbox-next {
        padding: 10px 12px;
        font-size: 16px;
    }
}
