/*
 * WooCommerce Affiliate Link Cloaker Frontend Styles
 *
 * These styles target only the button generated by the [product_button] shortcode.
 */

/*
 * This is the wrapper for our shortcode button.
 * We use it to center the button block on the page.
 */
.shortcode-button-wrapper {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/*
 * This targets the button link itself.
 */
.shortcode-button-wrapper .button {
    max-width: 400px;
    width: 100%; /* Makes the button responsive up to its max-width */
    font-size: 18px !important; /* Use !important to ensure this style overrides theme defaults */
    text-align: center;
    display: inline-block; /* Ensures width and margin are applied correctly */
    box-sizing: border-box; /* Prevents padding from affecting the final width */
    float: none; /* Overrides potential theme floats */
}