/**
 * Webiators InfiniteScroller Extension
 *
 * @category   Webiators
 * @package    Webiators_InfiniteScroller
 * @author     Webiators Technologies Private Limited (https://webiators.com)
 * @copyright  Copyright (c) Webiators Technologies Private Limited
 */

.wis-container {
    width: 100%;
    margin: 35px 0 45px;
    text-align: center;
    clear: both;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Load More Button */
.wis-btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0076a8;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    padding: 14px 38px;
    border-radius: 30px;
    border: 2px solid #0076a8;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 118, 168, 0.25);
    letter-spacing: 0.3px;
}

.wis-btn-load-more:hover {
    background: #005a82;
    border-color: #005a82;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 118, 168, 0.35);
}

.wis-btn-load-more:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 118, 168, 0.25);
}

/* Loading Box with modern CSS Spinner */
.wis-loading-box {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
}

.wis-spinner {
    width: 26px;
    height: 26px;
    border: 3px solid rgba(0, 118, 168, 0.2);
    border-top-color: #0076a8;
    border-radius: 50%;
    animation: wis-spin 0.8s linear infinite;
}

@keyframes wis-spin {
    to {
        transform: rotate(360deg);
    }
}

.wis-loading-text {
    font-size: 15px;
    font-weight: 500;
    color: #333333;
}

/* Finished Message */
.wis-finished-box {
    display: none;
    padding: 14px 28px;
    background: #f7f9fa;
    border: 1px dashed #d1d9de;
    border-radius: 20px;
    color: #667680;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Smooth fade-in for newly loaded products */
.wis-item-new {
    animation: wis-fadeIn 0.45s ease-out forwards;
}

@keyframes wis-fadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
