/* buy-box.css - Componente condiviso: box acquisto sidebar */

.buy-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-md);
}

.buy-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, var(--green-400), var(--page-accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.buy-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--green-500);
    margin-bottom: 8px;
}

.buy-price {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.buy-product {
    font-size: 0.8125rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.buy-cta {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--page-accent);
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 1;
    cursor: pointer;
    margin-bottom: 14px;
}

.buy-cta:hover {
    background: var(--page-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--page-accent-shadow);
}

.buy-alt {
    font-size: 0.8125rem;
    color: var(--gray-500);
    position: relative;
    z-index: 1;
}

/* Lampadina "Oppure:" dal registro icone (reperto 8 valutazione-design):
   contorno currentColor, colore via token — niente hex hardcoded nel markup */
.buy-alt svg {
    width: 20px;
    height: 20px;
    vertical-align: -3px;
    margin-right: 4px;
    color: var(--amber-500);
}

.buy-alt a {
    color: var(--page-accent);
    text-decoration: none;
    font-weight: 500;
}

.buy-alt a:hover {
    text-decoration: underline;
}
