/* =====================================================================
   PromptShop AI — produtos.css
   Grid de cards de produto. O card usa borda em vez de sombra
   (consistente com o restante da interface).
   ===================================================================== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
    border-color: rgba(124, 92, 255, .5);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -14px var(--primary-glow), 0 8px 16px -12px rgba(0,0,0,.5);
}

.product-card__image {
    aspect-ratio: 16 / 10;
    background: var(--surface-raised);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.product-card__fallback {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--gold);
}

.product-card__body {
    padding: 14px 16px 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.product-card__name {
    font-size: 15px;
    font-weight: 700;
    margin-top: 2px;
}

.product-card__description {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.product-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 16px;
}
