/*
 * Product-card stock indicator layer.
 * Owns:
 * - inline availability indicator between price and CTA
 * - glowing availability dot and supporting text styling
 * Does not own:
 * - out-of-stock badges
 * - price typography
 * - footer CTA layout
 */

.laminapolis-product-card__availability {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    align-self: center;
    margin: 0;
    color: #4d9368;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-align: center;
}

.laminapolis-product-card__availability-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 35%, #c6f3d4 0%, #84d3a0 44%, #4ea56f 100%);
    box-shadow: 0 0 0 3px rgba(132, 211, 160, 0.16), 0 0 10px rgba(132, 211, 160, 0.24);
    flex: 0 0 auto;
    animation: laminapolis-stock-indicator-pulse 2.2s ease-in-out infinite;
}

.laminapolis-product-card__availability-text {
    color: inherit;
    white-space: nowrap;
}

@keyframes laminapolis-stock-indicator-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 3px rgba(132, 211, 160, 0.14), 0 0 8px rgba(132, 211, 160, 0.2);
    }

    50% {
        transform: scale(1.12);
        box-shadow: 0 0 0 5px rgba(132, 211, 160, 0.08), 0 0 14px rgba(132, 211, 160, 0.3);
    }
}

@media (prefers-reduced-motion: reduce) {
    .laminapolis-product-card__availability-dot {
        animation: none;
    }
}
