/**
 * StablePay WooCommerce 前端样式
 *
 * @package StablePay_WooCommerce
 */

/* 结账页面支付方式 logo 样式 */
.wc_payment_methods .payment_method_stablepay img,
.woocommerce-checkout .payment_method_stablepay img,
.payment_box img[src*="stablepay"] {
    max-height: 24px !important;
    width: auto !important;
    vertical-align: middle;
    margin-right: 8px;
}

/* 兼容不同主题 */
ul.wc_payment_methods li img,
ul.payment_methods li img {
    max-height: 24px !important;
    width: auto !important;
}

/* 确保 logo 不会被拉伸 */
.payment_method_stablepay label img {
    max-height: 24px !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain;
}
