/**
 * Weller Hire - Custom Image Lightbox
 * Version: 1.3.1
 * Fix: Exclude product category thumbnails from zoom cursor.
 */

/* Hint that images are clickable, but EXCLUDE category images */
.woocommerce-product-details__short-description img:not(.tc-image),
.woocommerce-Tabs-panel img,
.entry-content img:not(.attachment-woocommerce_thumbnail):not(.product-category img) {
    cursor: zoom-in;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hover effects for clickable images */
.woocommerce-product-details__short-description img:not(.tc-image):hover,
.woocommerce-Tabs-panel img:hover,
.entry-content img:not(.attachment-woocommerce_thumbnail):not(.product-category img):hover {
    opacity: 0.9;
    transform: scale(1.01);
}

/* Specific Reset for Categories to ensure the 'hand' pointer returns */
.product-category img,
.product-category a,
.woocommerce-loop-category__title {
    cursor: pointer !important;
    transform: none !important;
    opacity: 1 !important;
}

/* --- Rest of the Lightbox Styles (Unchanged) --- */
#weller-lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 98, 170, 0.95); /* Weller Blue */
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}

#weller-lightbox.active {
    display: flex;
    opacity: 1;
}

#weller-lightbox img {
    max-width: 90%;
    max-height: 85%;
    border: 4px solid #F9DE2D; /* Weller Yellow */
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.6);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#weller-lightbox.active img {
    transform: scale(1);
}

.weller-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #F9DE2D;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.weller-lightbox-close:hover {
    color: #ffffff;
}