/* Pulsante statico: classi indipendenti dal plugin prodotti. */
.sw-static-amazon-button {
    display: flex;
    width: 100%;
    margin-top: 18px;
    box-sizing: border-box;
}

.sw-static-amazon-button--left { justify-content: flex-start; }
.sw-static-amazon-button--center { justify-content: center; }
.sw-static-amazon-button--right { justify-content: flex-end; }

.sw-static-amazon-button .sw-static-amazon-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 22px;
    border: 0;
    border-radius: 30px;
    background: #17365e;
    color: #fff !important;
    font-family: "Hanken Grotesk", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .3px;
    text-align: center;
    text-decoration: none !important;
    box-shadow: none;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sw-static-amazon-button .sw-static-amazon-button__link:visited,
.sw-static-amazon-button .sw-static-amazon-button__link:hover,
.sw-static-amazon-button .sw-static-amazon-button__link:focus,
.sw-static-amazon-button .sw-static-amazon-button__link:active {
    color: #fff !important;
    text-decoration: none !important;
}

.sw-static-amazon-button .sw-static-amazon-button__link:hover,
.sw-static-amazon-button .sw-static-amazon-button__link:focus {
    background: #102744;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(23, 54, 94, .24);
}

.sw-static-amazon-button .sw-static-amazon-button__link:active {
    transform: translateY(0);
}

.sw-static-amazon-button__text {
    display: block;
    color: #fff !important;
    white-space: nowrap;
}

.sw-static-amazon-button .sw-static-amazon-button__icon,
.woocommerce .sw-static-amazon-button .sw-static-amazon-button__icon,
.vc_row .sw-static-amazon-button .sw-static-amazon-button__icon {
    display: block;
    flex: 0 0 18px;
    width: 18px !important;
    min-width: 18px;
    max-width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0;
    object-fit: contain;
}

@media (max-width: 767px) {
    .sw-static-amazon-button {
        width: 100%;
        justify-content: stretch;
        margin-top: 14px;
    }

    .sw-static-amazon-button .sw-static-amazon-button__link {
        width: 100%;
        max-width: none;
        min-width: 0;
        min-height: 46px;
        padding: 11px 16px;
        gap: 7px;
        font-size: 14px;
    }

    .sw-static-amazon-button .sw-static-amazon-button__icon,
    .woocommerce .sw-static-amazon-button .sw-static-amazon-button__icon,
    .vc_row .sw-static-amazon-button .sw-static-amazon-button__icon {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px;
        max-width: 18px !important;
        flex: 0 0 18px;
    }
}
