/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.12.1761979787
Updated: 2025-11-01 02:49:47

*/


/**------------------------------------------------------*/
/* 修复固定页眉导致的锚点偏移问题 */
:target {
        scroll-margin-top: 150px;
}

/**------表单 more>> 展示------------------------------------------------*/

/* 初始隐藏所有选项 */
.elementor-field-type-radio .elementor-field-option {
  display: none;
}
/* 显示前5个选项 */
.elementor-field-type-radio .elementor-field-option:nth-child(-n+5) {
  display: inline-block;
  margin-right: 15px;
}

/* 按钮样式 */
.radio-more-btn {
  display: inline-block !important;
  margin-top: 15px;
  padding: 0;
  background: none;
  border: none;
  color: #ff6600;
  cursor: pointer;
  font-size: 14px;
  text-decoration: underline;
}
.radio-more-btn:hover {
  color: #cc5200;
  background: none;
  text-decoration: none;
}
.radio-more-btn:focus {
  outline: none;
}

/* 订单支付页美化 - 简洁版 */

/* 白色卡片 */
.woocommerce-order-pay .woocommerce {
    max-width: 600px;
    margin: 20px auto;
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* 订单区域 */
.woocommerce-order-pay #order_review {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

/* 表格样式 */
.woocommerce-order-pay .shop_table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-order-pay .shop_table td,
.woocommerce-order-pay .shop_table th {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.woocommerce-order-pay .order-total {
    font-weight: bold;
    font-size: 18px;
}

/* 支付方式 */
.woocommerce-order-pay .payment_methods {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    list-style: none;
}

.woocommerce-order-pay .payment_methods li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.woocommerce-order-pay .payment_methods li:last-child {
    border-bottom: none;
}

.woocommerce-order-pay .payment_box {
    background: #fff;
    border-left: 3px solid #007cba;
    border-radius: 4px;
    padding: 15px;
    margin: 10px 0 0 20px;
}

/* 支付按钮 */
.woocommerce-order-pay #place_order {
    background: #007cba;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    margin-top: 20px;
}

.woocommerce-order-pay #place_order:hover {
    background: #005a87;
}

/* 链接（只改内容区） */
.woocommerce-order-pay .woocommerce a {
    color: #007cba;
    text-decoration: none;
}

/* 菜单保持原样 */
.woocommerce-order-pay .main-navigation a,
.woocommerce-order-pay .site-header a {
    color: inherit !important;
}

/* ===== 手机版 ===== */
@media screen and (max-width: 768px) {
    .woocommerce-order-pay .woocommerce {
        margin: 10px;
        padding: 15px;
    }
    
    /* 表格手机优化 */
    .woocommerce-order-pay .shop_table,
    .woocommerce-order-pay .shop_table tbody,
    .woocommerce-order-pay .shop_table tr,
    .woocommerce-order-pay .shop_table td {
        display: block;
    }
    
    .woocommerce-order-pay .shop_table thead {
        display: none;
    }
    
    .woocommerce-order-pay .shop_table td {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
    }
    
    .woocommerce-order-pay .shop_table td::before {
        content: attr(data-title) ": ";
        font-weight: 600;
        color: #666;
    }
    
    /* 按钮更大 */
    .woocommerce-order-pay #place_order {
        padding: 18px;
        font-size: 18px;
        border-radius: 50px;
    }
}