/* Load More Button */
.wd-loop-footer {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
}

.collections-load-more-wrapper {
    display: inline-block;
    position: relative;
}

.collections-load-more {
    display: inline-block;
    padding: var(--load-more-padding-y, 12px) var(--load-more-padding-x, 20px);
    min-width: 200px;
    position: relative;
    text-transform: uppercase;
    font-size: var(--load-more-font-size, 13px);
    line-height: 18px;
    color: var(--load-more-text-color, #ffffff) !important;
    background-color: var(--load-more-bg-color, #83b735);
    border-style: var(--load-more-border-style, none);
    border-width: var(--load-more-border-width, 1px);
    border-color: var(--load-more-border-color, #83b735);
    border-radius: var(--load-more-border-radius, 0);
    font-weight: 600;
    letter-spacing: .3px;
    text-decoration: none !important;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.collections-load-more:hover {
    background-color: var(--load-more-bg-color-hover, #74a32f);
    color: var(--load-more-text-color-hover, #ffffff) !important;
    text-decoration: none !important;
}

.collections-load-more.loading {
    pointer-events: none;
    opacity: 0.9;
}

.collections-load-more.loading > span {
    visibility: hidden;
}

.collections-load-more:disabled {
    cursor: not-allowed;
}

/* Loader */
.collections-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
    z-index: 2;
    color: currentColor;
    font-size: var(--load-more-font-size, 13px);
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.load-more-loading {
    display: inline-block;
    width: var(--loading-icon-size, 24px);
    height: var(--loading-icon-size, 24px);
    border: 2px solid color-mix(in srgb, currentColor 20%, transparent);
    border-top-color: currentColor;
    border-radius: 50%;
    animation: wd-rotate 800ms infinite linear;
    vertical-align: middle;
    margin-right: 8px;
    will-change: transform;
}

.collections-loader:not(:has(span)) .load-more-loading {
    margin-right: 0;
}

@keyframes wd-rotate {
    100% {
        transform: rotate(360deg);
    }
}

/* Item Loading Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}