/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

input,
input:hover,
input:focus-within,
input:focus
{
    outline: unset !important;
    box-shadow: unset !important;
}

/* Add your custom styles here */
p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    text-align: center;
    margin-bottom: 50px;
}
/* 订单概览（Order Number / Date / Email / Total / Payment） */
.woocommerce-order-received .cs-order-thank .woocommerce-order-overview {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0;
    border: 1px solid #ededed;
    border-radius: 10px;
    overflow: hidden;
    background: #f6f6f6;
}

.woocommerce-order-received .cs-order-thank .woocommerce-order-overview li {
    padding: 20px;
    text-align: center;
    border-right: 1px solid #ededed;
    margin: 0;
}

.woocommerce-order-received .cs-order-thank .woocommerce-order-overview li:last-child {
    border-right: none;
}

.woocommerce-order-received .cs-order-thank .woocommerce-order-overview li:before {
    content: none;
}

/* 标签（Order number:, Date: 等） */
.woocommerce-order-received .cs-order-thank .woocommerce-order-overview li {
    font-size: 12px !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #222;
    line-height: 1.6;
}

/* 值（1487, February 11, 2026 等） */
.woocommerce-order-received .cs-order-thank .woocommerce-order-overview li strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #ff5000;
    margin-top: 4px;
    letter-spacing: 0;
    text-transform: none;
}

/* ---- Order Details 区域 ---- */
.woocommerce-order-received .cs-order-thank .woocommerce-order-details {
    margin-bottom: 40px;
}

.woocommerce-order-received .cs-order-thank .woocommerce-order-details > h2,
.woocommerce-order-received .cs-order-thank .woocommerce-customer-details > h2,
.woocommerce-order-received .cs-order-thank .woocommerce-column__title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #ff5000;
    display: inline-block;
}

/* 订单详情表格 */
.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #333;
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details thead th {
    background: #f6f6f6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 20px !important;
    border-bottom: 1px solid #ededed;
    text-align: left;
}

.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details thead th:last-child {
    text-align: right;
}

.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tbody td,
.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tfoot td,
.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tfoot th {
    padding: 14px 20px;
    border-bottom: 1px solid #ededed;
    color: #222;
    font-size: 14px;
    background: transparent;
    vertical-align: top;
}

.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tbody td:last-child,
.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tfoot td:last-child {
    text-align: right;
    font-weight: 600;
}

.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tfoot th {
    color: #222;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
}

/* 产品名称链接 */
.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details .product-name a {
    color: #ff5000;
    text-decoration: none;
    font-weight: 500;
}

.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details .product-name a:hover {
    text-decoration: underline;
}

/* 产品数量 */
.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details .product-name .product-quantity {
    color: #888;
}

/* 产品元数据（Blade Grade, Engraving 等） */
.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details .wc-item-meta {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
}

.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details .wc-item-meta li {
    font-size: 12px;
    color: #999;
    margin-bottom: 2px;
}

.woocommerce-order-received .woocommerce-table--order-details .wc-item-meta li strong,
.woocommerce-order-received .woocommerce-table--order-details .wc-item-meta li p {
    display: inline;
    font-weight: 500;
}

/* Order Total 行高亮 */
.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tfoot tr:last-child td {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    border-bottom: none;
    padding: 14px 20px !important;
}

.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tfoot tr:last-child td {
    color: #ff5000;
}

/* Note 行 */
.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tfoot .woocommerce-table__line-item--note td {
    color: #6eb5ff;
}

/* Discount 行（负值） */
.woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tfoot .cart-discount td {
    color: #4caf50;
}

/* ---- Billing / Shipping Details ---- */
.woocommerce-order-received .cs-order-thank .woocommerce-customer-details {
    margin-bottom: 40px;
}

.woocommerce-order-received .cs-order-thank .woocommerce-customer-details address {
    border: 1px solid #ededed;
    border-radius: 10px;
    padding: 24px;
    background: #f6f6f6;
    color: #222;
    font-size: 14px;
    line-height: 1.8;
    font-style: normal;
}

.woocommerce-order-received .cs-order-thank .woocommerce-customer-details address p {
    margin: 0;
    color: #222;
}

.woocommerce-order-received .cs-order-thank .woocommerce-customer-details .woocommerce-customer-details--phone::before,
.woocommerce-order-received .cs-order-thank .woocommerce-customer-details .woocommerce-customer-details--email::before {
    color: #e94a17;
}

/* Columns 布局 */
.woocommerce-order-received .cs-order-thank .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.woocommerce-order-received .cs-order-thank .woocommerce-columns--addresses .woocommerce-column {
    margin: 0;
    padding: 0;
}

/* ---- 响应式 ---- */
@media (max-width: 600px) {
    .woocommerce-order-received .cs-order-thank .woocommerce {
        padding: 0;
    }

    .woocommerce-order-received .cs-order-thank .woocommerce-thankyou-order-received {
        font-size: 22px !important;
        margin-bottom: 25px;
    }

    .woocommerce-order-received .cs-order-thank .woocommerce-order-overview {
        grid-template-columns: repeat(1, 1fr);
    }

    .woocommerce-order-received .cs-order-thank .woocommerce-order-overview li {
        border-bottom: 1px solid #333;
    }

    .woocommerce-order-received .cs-order-thank .woocommerce-table--order-details thead th,
    .woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tbody td,
    .woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tfoot td,
    .woocommerce-order-received .cs-order-thank .woocommerce-table--order-details tfoot th {
        padding: 12px 14px;
    }

    .woocommerce-order-received .cs-order-thank .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
    }
}

#wpgs-gallery.vertical.wcgs-woocommerce-product-gallery .wcgs-carousel {
    width: calc(100% - 15%) !important;
    border: 2px solid #ddd;
    border-radius: 15px;
}

.paypal-button-container {
    max-width: 100%;
}

a.shipping-calculator-button {
    color: #e84a18 !important;
}

.woocommerce-shipping-calculator span#select2-calc_shipping_country-container,
span#select2-calc_shipping_state-container{
    padding: 0 10px;
}

.woocommerce-shipping-calculator .e-woo-select2-wrapper .select2-results__option{
    
}

form.woocommerce-shipping-calculator .input-text {
    padding: 0 10px !important;
    height: 45px !important;
    border: 0 !important;
    background: #f9fafa !important;
}

button.button[name="calc_shipping"] {
    background: #ff6a02 !important;
    border: 0 !important;
    color: #ffffff !important;
    margin-top: 10px;
    max-width: 100%;
    border-radius: 50px !important;
}

.select2-dropdown {
    border-color: #dddddd;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
    background: #ff6a02;
}

.select2-container--default .select2-results__option[aria-selected=true], .select2-container--default .select2-results__option[data-selected=true] {
    background: #ff6a02;
    color: #fff;
}

div#gt_float_wrapper {
    display: none !important;
}
.cs-from-contact-warp .elementor-field-type-email,
.cs-from-contact-warp .elementor-field-type-text,
.cs-from-contact-warp .elementor-field-type-email{flex-direction: row;flex-wrap: nowrap;background: #eeeeee;border-radius: 8px;padding: 5px 15px !important;margin-bottom: 20px !important;}
.cs-from-contact-warp .elementor-field-label{
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: row-reverse;
    gap: 3px;
}


.cs-from-contact-warp .elementor-field-type-textarea{
    background: #eee;
    border-radius: 8px;
    padding: 15px 15px !important;
    gap: 10px;
    margin-bottom: 50px !important;
}

textarea.elementor-field-textual,
textarea.elementor-field-textual:focus{
    border: unset !important;
    padding: 0;
    box-shadow: unset !important;
}

.cs-from-contact-warp-style-2.cs-from-contact-warp .elementor-field-type-email,
.cs-from-contact-warp-style-2.cs-from-contact-warp .elementor-field-type-text{
    width: 48%;
}

.cs-from-contact-warp-style-2.cs-from-contact-warp .elementor-field-type-email,
.cs-from-contact-warp-style-2.cs-from-contact-warp .elementor-field-label{

}

.cs-from-contact-warp-style-2.cs-from-contact-warp .elementor-form{
    max-width: 600px;
    margin: 0 auto;
}
.cs-from-contact-warp-style-2.cs-from-contact-warp .elementor-form-fields-wrapper{
    justify-content: space-around;
}

.cs-from-contact-warp-style-2.cs-from-contact-warp .elementor-form-fields-wrapper .elementor-field-type-submit{
    max-width: 200px;
}
a.woocommerce-remove-coupon:hover {
    color: #ff8c8c;
}

.elementor-icon-wrapper {
    line-height: normal;
}

/* ── Cart count badge ── */
.fly-cart-btn { position: relative; display: inline-flex; }
.cs-cart-count {
    position: absolute;
    top: -8px;
    right: 0;
    min-width: 16px;
    height: 16px;
    line-height: 18px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #ff6a00;
    border-radius: 9px;
    text-align: center;
    padding: 0 4px;
    box-sizing: border-box;
    pointer-events: none;
}
.cs-cart-count:empty { display: none; }
.stock.in-stock{ display: none; }