.uab-box {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    margin: 16px 0;
    background: #ffffff;
    width: 100%;

    display: grid;
    grid-template-columns: 150px 1fr;  /* immagine | contenuto */
    gap: 16px;
    align-items: start;
}

.uab-box-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.uab-box-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.uab-box-main {
    margin-bottom: 8px;
}

/* Titolo come richiesto */
.uab-box-title {
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    color: #0f172a;
}

.uab-box-title a {
    color: inherit;
    text-decoration: none;
}

.uab-box-title a:hover,
.uab-box-title a:focus {
    text-decoration: none;
}

/* Prezzo (teniamo versione "bold" grande) */
.uab-box-price {
    font-weight: 800;
    margin: 0;
    font-size: 1.7rem !important;
}

/* Etichetta extra sotto il prezzo */
.uab-extra-label {
    display: inline-block;
    margin-top: 4px;
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 6px;
    color: #ffffff;
    background: #16a34a; /* verde; se vuoi blu Amazon: #2563eb */
}

/* Footer con pulsante in basso a destra */
.uab-box-footer {
    margin-top: auto;
    text-align: right;
}

/* Pulsante semplice stile Amazon */
.uab-box-button {
    display: inline-block;
    padding: 10px 18px;
    background: #ffd814;   /* giallo Amazon */
    color: #000000;
    font-weight: 600;
    font-size: 15px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    align-self: flex-end;
}

.uab-box-button:hover,
.uab-box-button:active,
.uab-box-button:focus {
    background: #ff8400;   /* arancio Amazon */
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    .uab-box {
        grid-template-columns: 1fr;
    }

    .uab-box-image img {
        max-width: 180px;
        margin: 0 auto;
    }

    .uab-box-title {
        font-size: 1.8rem;
    }
}
