/* Container positioning */
.woocommerce-product-gallery,
.electro-wc-product-gallery {
    position: relative;
}

/* Navigation Buttons */
.gallery-nav-btn {
    /* Position */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    
    /* Size */
    width: 30px;
    height: 30px;
    padding: 0;
    
    /* Style - Match Electro Theme */
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 1.375rem;
    box-shadow: 0 0.125rem 0.312rem rgba(0, 0, 0, 0.28);
    color: #333e48;
    
    /* Typography */
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    
    /* Behavior */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    
    /* Prevent selection */
    user-select: none;
    -webkit-user-select: none;
}

/* Button Icons - CSS Arrows */
.gallery-nav-btn::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
}

.gallery-nav-btn.prev::before {
    border-width: 8px 12px 8px 0;
    border-color: transparent currentColor transparent transparent;
    margin-left: -3px;
}

.gallery-nav-btn.next::before {
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent currentColor;
    margin-right: -3px;
}

/* Button Positioning */
.gallery-nav-btn.prev {
    left: 15px;
}

.gallery-nav-btn.next {
    right: 15px;
}

/* Hover Effects */
.gallery-nav-btn:hover {
    background: #00cafc;
    border-color: #00cafc;
    color: #000;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 0.25rem 0.625rem rgba(254, 215, 0, 0.4);
}

/* Active/Focus State */
.gallery-nav-btn:active,
.gallery-nav-btn:focus {
    background: #00cafc;
    border-color: #00cafc;
    color: #000;
    transform: translateY(-50%) scale(0.98);
    outline: none;
}

/* Disabled State */
.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #00cafc;
    border-color: #ddd;
    color: #999;
    box-shadow: none;
    transform: translateY(-50%);
}

.gallery-nav-btn:disabled:hover {
    background: #00cafc;
    border-color: #ddd;
    transform: translateY(-50%);
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .gallery-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    .gallery-nav-btn.prev {
        left: 12px;
    }
    
    .gallery-nav-btn.next {
        right: 12px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .gallery-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
        border-width: 1.5px;
    }
    
    .gallery-nav-btn.prev::before {
        border-width: 6px 10px 6px 0;
    }
    
    .gallery-nav-btn.next::before {
        border-width: 6px 0 6px 10px;
    }
    
    .gallery-nav-btn.prev {
        left: 8px;
    }
    
    .gallery-nav-btn.next {
        right: 8px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .gallery-nav-btn {
        width: 25px;
        height: 25px;
        font-size: 16px;
    }
    .gallery-nav-btn.prev {
        left: 5px;
    }
    .gallery-nav-btn.next {
        right: 5px;
    }
}


