/* ── Hero banner ── */
.hero-banner {
    background: linear-gradient(135deg, var(--accent), #4c1d95);
    border-radius: 20px;
    padding: 48px 40px;
    margin-bottom: 40px;
}

.hero-banner h1 { margin: 0 0 8px; font-size: 2rem; font-weight: 800; line-height: 1.2; }
.hero-banner p  { margin: 0; opacity: 0.85; font-size: 1rem; font-weight: 400; }

/* ── Grid ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* ── Base card ── */
.card {
    background: var(--card-dark);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s;
}

.card:hover { transform: translateY(-4px); border-color: var(--accent); }

/* ── Product card ── */
.product-card { padding: 0; overflow: hidden; }

.product-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.product-img-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #1f1f1f, #2d2d2d);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
}

.product-body { padding: 20px; }

.product-type {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
}

.product-name {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 2px;
    line-height: 0.2;
}

.product-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 0;
}

.price {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
}

/* ── Two-button layout ── */
.product-actions { display: flex; gap: 8px; }
.product-actions .btn-primary { flex: 1; }
