/* WooCommerce Product Navigation Styles */
.wpn-product-nav {
    text-align: center;
/*     padding: 20px; */
    position: relative;
}

.wpn-nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Use theme button styling as base, with navigation-specific enhancements */
.btn--primary.wpn-nav-arrow {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.btn--primary.wpn-nav-arrow:hover,
.btn--primary.wpn-nav-arrow:focus {
    text-decoration: none;
    outline: 2px solid #005cee;
    outline-offset: 2px;
}
/* 
.wpn-separator {
    margin: 0 8px;
    color: #ccc;
} */

.wpn-swipe-hint {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}

@media (min-width: 769px) {
    .wpn-swipe-hint {
        display: none;
    }
}



/* Mobile and tablet specific styles */
@media (max-width: 768px) {
    .wpn-product-nav {
        padding: 15px 10px;
    }
    
    .wpn-nav-links {
        flex-direction: row;
        gap: 10px;
    }
    
    .btn--primary.wpn-nav-arrow {
        font-size: 16px;
        min-width: 100px;
        justify-content: center;
        touch-action: manipulation;
    }
    
    .wpn-separator {
        display: none;
    }
    

}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn--primary.wpn-nav-arrow {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .btn--primary.wpn-nav-arrow {
        transition: none;
    }
}

/* Focus visible for keyboard navigation */
.btn--primary.wpn-nav-arrow:focus-visible {
    outline: 3px solid #005cee;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .wpn-product-nav {
        display: none;
    }
}

/* RTL support */
[dir="rtl"] .wpn-prev-arrow {
    direction: rtl;
}

[dir="rtl"] .wpn-next-arrow {
    direction: rtl;
}

/* Dark mode support - let theme handle base styling */
@media (prefers-color-scheme: dark) {
    .wpn-swipe-hint {
        color: #ccc;
    }
}