/* Availability badge styles */
.welpen-availability-badge {
    position: absolute;
    z-index: 100;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: rotate(-5deg);
    animation: badgePulse 2s infinite;
}

/* Single product badges */
.welpen-single-badge {
    top: 20px;
    left: 20px;
}

/* Archive product badges */
.welpen-archive-badge {
    top: 15px;
    left: 15px;
}

.available-badge {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
}

.not-available-badge {
    background: linear-gradient(135deg, #F44336, #C62828);
    color: white;
}

/* Stamp styles - both single and archive */
.welpen-stamp-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.welpen-product-stamp {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 80px;
    height: 80px;
    z-index: 100;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: stampRotate 15s infinite linear;
}

/* Archive specific stamp styling */
.archive-stamp {
    width: 60px;
    height: 60px;
}

.welpen-product-stamp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animations */
@keyframes badgePulse {
    0% { transform: rotate(-5deg) scale(1); }
    50% { transform: rotate(-5deg) scale(1.05); }
    100% { transform: rotate(-5deg) scale(1); }
}

@keyframes stampRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .welpen-availability-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .welpen-single-badge {
        top: 15px;
        left: 15px;
    }
    
    .welpen-archive-badge {
        top: 10px;
        left: 10px;
    }
    
    .welpen-product-stamp {
        width: 60px;
        height: 60px;
    }
    
    .archive-stamp {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .welpen-availability-badge {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .welpen-product-stamp {
        width: 50px;
        height: 50px;
        bottom: 10px;
        right: 10px;
    }
    
    .archive-stamp {
        width: 40px;
        height: 40px;
    }
}