/* Products page specific styles */
.product-card {
    transition: transform 0.2s ease-in-out;
    border: 1px solid #dee2e6;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-info {
    margin-top: auto;
    flex-shrink: 0;
}

.price-locked {
    color: #888;
    background: rgba(240, 240, 240, 0.7);
    border-radius: 0.5rem;
    padding: 0.25em 0.75em;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    filter: blur(0.5px) grayscale(0.2);
    user-select: none;
    -webkit-user-select: none;
    transition: background 0.3s, color 0.3s;
}

/* Card hover effects */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Search form styling */
.search-form input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Responsive grid adjustments */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1281px) {
    .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Badge styling */
.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-success {
    background-color: #10b981;
    color: white;
}

.badge-warning {
    background-color: #f59e0b;
    color: white;
}

.badge-danger {
    background-color: #ef4444;
    color: white;
}

@media (max-width: 576px) {
    .price-locked {
        font-size: 1rem;
        padding: 0.2em 0.5em;
    }

    .badge {
        font-size: 0.625rem;
        padding: 0.125rem 0.5rem;
    }
}