/**
 * Blausweta Widerrufsbutton – XStore/Elementor design layer.
 *
 * The repeated class selectors intentionally outrank common theme button
 * rules without affecting other WooCommerce or Elementor buttons.
 */

.vcw-shortcode-button-only {
    margin: 14px 0 0;
}

.blausweta-widerruf-button.blausweta-widerruf-button.vcw-btn-withdraw {
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    min-height: 44px !important;
    max-width: 100% !important;
    padding: 9px 17px 9px 10px !important;
    font-family: inherit !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: normal !important;
    vertical-align: middle !important;
    box-shadow: 0 8px 20px rgba(25, 18, 83, 0.24) !important;
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease !important;
}

.blausweta-widerruf-button.blausweta-widerruf-button.vcw-btn-withdraw::before {
    content: "";
    display: block;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7 4 12l5 5'/%3E%3Cpath d='M4 12h9a6 6 0 0 1 6 6v1'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
}

.blausweta-widerruf-button.blausweta-widerruf-button.vcw-btn-withdraw:hover {
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(25, 18, 83, 0.34) !important;
    transform: translateY(-1px);
}

.blausweta-widerruf-button.blausweta-widerruf-button.vcw-btn-withdraw:active {
    box-shadow: 0 5px 14px rgba(25, 18, 83, 0.26) !important;
    transform: translateY(0);
}

/* The current Blausweta footer is an Elementor Pro footer inside XStore. */
.elementor-location-footer .vcw-shortcode-button-only {
    margin: 15px 0 0 !important;
}

.elementor-location-footer .vcw-shortcode-button-only .blausweta-widerruf-button.blausweta-widerruf-button.vcw-btn-withdraw {
    width: auto !important;
    min-width: 0 !important;
    padding: 8px 15px 8px 9px !important;
    border: 1px solid #433a98 !important;
    border-radius: 9px !important;
    background: #2f2877 !important;
    color: #fff !important;
    font-size: 14px !important;
}

.elementor-location-footer .vcw-shortcode-button-only .blausweta-widerruf-button.blausweta-widerruf-button.vcw-btn-withdraw:hover {
    border-color: #5148aa !important;
    background: #211b63 !important;
    color: #fff !important;
}

.blausweta-widerruf-button.blausweta-widerruf-button.vcw-btn-withdraw:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 6px rgba(47, 40, 119, 0.62) !important;
}

@media (max-width: 767px) {
    .elementor-location-footer .vcw-shortcode-button-only {
        margin-top: 13px !important;
    }

    .elementor-location-footer .vcw-shortcode-button-only .blausweta-widerruf-button.blausweta-widerruf-button.vcw-btn-withdraw {
        width: auto !important;
        max-width: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blausweta-widerruf-button.blausweta-widerruf-button.vcw-btn-withdraw {
        transition: none !important;
    }
}
