/* ==================== ErroriDiPrezzo - Brand Overrides ==================== */
/* Solo variabili brand e overrides minimi. */
/* Il design system completo è in unified-theme.css */
/* I componenti sono in components.css */

:root {
    /* Brand Colors (dal logo) */
    --brand-red: #FF0000;
    --brand-orange: #FF6B35;
    --brand-dark: #1a1a2e;
}

/* Text utility colors for hero */
.text-brand-red { color: var(--brand-red); }
.text-brand-orange { color: var(--brand-orange); }

/* ==================== HOMEPAGE GRIDS ==================== */
.hp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--card-min-width, 280px), 1fr));
    gap: var(--space-4, 16px);
}

.hp-grid--deals {
    /* 260 e non 280: dentro i 1440 px utili di .page-content la quinta colonna entra
       (5x260 + 4x16 = 1364), mentre a 280 ne mancavano 24. Il confine misurato e' 275,2 px. */
    --card-min-width: 260px;
}

.hp-grid--vouchers {
    --card-min-width: 260px;
}

.hp-empty {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted, #888);
}

.hp-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Bottone "Carica altre" inline nelle griglie/carousel */
.hp-load-more-inline {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 120px;
    min-width: 120px;
    background: var(--surface-1, #1e1e2e);
    border: 2px dashed var(--border-light, #333);
    border-radius: var(--radius-lg, 12px);
    color: var(--text-secondary, #aaa);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.hp-load-more-inline:hover {
    border-color: var(--accent-deals, #FF385C);
    color: var(--accent-deals, #FF385C);
    background: var(--surface-2, #252536);
}

.hp-load-more-inline:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.hp-load-more-inline i {
    font-size: 24px;
}
