/* smart-choice.css - Componente condiviso: alternativa intelligente */

.smart-choice {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-md);
}

.smart-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.smart-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--amber-600);
    border-radius: var(--radius-sm);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Lampadina dal registro icone (reperto 8): eredita l'amber-600 del badge via currentColor */
.smart-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.smart-product-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.smart-product-meta {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.smart-product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
}

.smart-save {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--green-500);
}

.smart-reason {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 20px;
}

.smart-reason strong {
    color: var(--gray-700);
    font-weight: 600;
}

.smart-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--page-accent);
    color: var(--white);
    padding: 13px 24px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: transform 0.2s;
}

/* Shadow hover pre-renderizzata: anima solo opacity */
.smart-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 3px 10px var(--page-accent-shadow);
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.smart-cta:hover {
    transform: translateY(-1px);
}

.smart-cta:hover::after {
    opacity: 1;
}

.smart-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.smart-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gray-400);
    flex-shrink: 0;
}

.smart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.smart-box {
    padding: 16px 18px;
    border-radius: var(--radius-md);
}

.smart-box.pro {
    background: var(--green-50);
}

.smart-box.con {
    background: var(--red-50);
}

.smart-box-title {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.smart-box.pro .smart-box-title {
    color: var(--green-600);
}

.smart-box.con .smart-box-title {
    color: var(--red-500);
}

.smart-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smart-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.smart-dash {
    width: 10px;
    height: 1.5px;
    border-radius: 1px;
    flex-shrink: 0;
    margin-top: 8px;
}

.smart-box.pro .smart-dash {
    background: var(--green-400);
}

.smart-box.con .smart-dash {
    background: var(--red-400);
    opacity: 0.7;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .smart-cta {
        justify-content: center;
        width: 100%;
        text-align: center;
    }

    .smart-grid {
        grid-template-columns: 1fr;
    }
}
