/* ═══════════════════════════════════════════════════════════
   LadyWW Beauty Tech — WooCommerce 样式
   沿用 style.css 中的 CSS 变量与设计语言（Navy + Rose Gold）
   ═══════════════════════════════════════════════════════════ */

/* ── 1. 页面外壳 ────────────────────────────────────────── */
.woo-product-top{padding:2.5rem 0 0;background:linear-gradient(180deg,var(--color-bg) 0%,var(--color-bg-alt) 100%)}
.woo-product-top .breadcrumbs{margin-bottom:0}
.woo-section{padding-top:2.5rem}
.ladyww-shop .woo-breadcrumbs{margin-bottom:1.75rem}

/* ── 2. 商品列表（归档） ───────────────────────────────── */
.woocommerce ul.products{
    display:grid!important;
    grid-template-columns:repeat(3,1fr);
    gap:2rem;
    margin:0 0 3rem!important;
    padding:0!important;
    list-style:none;
    float:none!important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{
    width:auto!important;
    float:none!important;
    margin:0!important;
    padding:0!important;
    clear:none!important;
    display:block!important;
}

/* 商品卡片 = 主题 .product-card */
.woocommerce ul.products li.product .product-card{height:100%;display:flex;flex-direction:column}
.woocommerce ul.products li.product .product-card-media{
    position:relative;
    display:block;
    overflow:hidden;
    background:var(--color-bg-alt);
}
.woocommerce ul.products li.product .product-card-img{
    width:100%;
    aspect-ratio:4/3;
    object-fit:cover;
    display:block;
    transition:transform 0.4s ease;
}
.woocommerce ul.products li.product .product-card:hover .product-card-img{transform:scale(1.04)}
.woocommerce ul.products li.product .product-card-img--ph{
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--color-navy),#2A3D5C);
    color:var(--color-rosegold-light);
}
.woocommerce ul.products li.product .product-flag{
    position:absolute;
    top:0.85rem;left:0.85rem;
    background:var(--color-rosegold);
    color:#fff;
    font-size:0.66rem;
    font-weight:700;
    letter-spacing:0.08em;
    text-transform:uppercase;
    padding:0.25rem 0.6rem;
    border-radius:999px;
}
.woocommerce ul.products li.product .product-flag.is-out{background:var(--color-text-light)}

.woocommerce ul.products li.product .product-card-body{display:flex;flex-direction:column;flex:1}
.woocommerce ul.products li.product .product-card-title{
    font-size:1.05rem;
    font-weight:700;
    margin-bottom:0.4rem;
    line-height:1.35;
}
.woocommerce ul.products li.product .product-card-title a{color:var(--color-navy)}
.woocommerce ul.products li.product .product-card-title a:hover{color:var(--color-rosegold)}
.woocommerce ul.products li.product .product-card-desc{
    font-size:0.84rem;
    color:var(--color-text-md);
    line-height:1.6;
    margin-bottom:1rem;
}
.woocommerce ul.products li.product .product-card-foot{
    margin-top:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:0.75rem;
    flex-wrap:wrap;
}
.woocommerce ul.products li.product .product-price{
    font-family:var(--font-heading);
    font-size:1.05rem;
    font-weight:800;
    color:var(--color-navy);
    line-height:1.2;
}
.woocommerce ul.products li.product .product-price del{
    font-size:0.82rem;
    font-weight:600;
    color:var(--color-text-light);
    margin-right:0.3rem;
}
.woocommerce ul.products li.product .product-price ins{text-decoration:none;color:var(--color-red)}

/* 售罄 / 缺货 */
.woocommerce ul.products li.outofstock .product-card-foot .btn{opacity:0.5;pointer-events:none}

/* ── 3. 结果计数 & 排序 ────────────────────────────────── */
.woocommerce .woocommerce-result-count{
    font-size:0.85rem;
    color:var(--color-text-md);
    margin:0 0 1.25rem;
    float:none;
}
.woocommerce .woocommerce-ordering{
    float:none;
    margin:0 0 2rem;
}
.woocommerce .woocommerce-ordering select{
    appearance:none;
    -webkit-appearance:none;
    padding:0.65rem 2.4rem 0.65rem 1rem;
    border:1.5px solid var(--color-border);
    border-radius:var(--radius-md);
    background:#fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 1rem center;
    font-family:var(--font-body);
    font-size:0.85rem;
    color:var(--color-text);
    cursor:pointer;
}
.woocommerce .woocommerce-ordering select:focus{outline:none;border-color:var(--color-rosegold)}
.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-result-count{width:auto!important}

/* 排序 / 计数并排 */
@media (min-width:768px){
    .woocommerce .woocommerce-result-count{display:inline-block;margin-right:1.5rem;line-height:2.6rem;vertical-align:middle}
    .woocommerce .woocommerce-ordering{display:inline-block;margin-bottom:1.75rem}
}

/* ── 4. 分页 ──────────────────────────────────────────── */
.woocommerce nav.woocommerce-pagination ul{
    display:flex;
    justify-content:center;
    gap:0.4rem;
    border:none!important;
    margin:0!important;
    padding:0!important;
}
.woocommerce nav.woocommerce-pagination ul li{
    border:none!important;
    margin:0!important;
    overflow:visible;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:40px;
    height:40px;
    padding:0 0.6rem;
    border:1.5px solid var(--color-border);
    border-radius:var(--radius-md);
    background:#fff;
    color:var(--color-navy);
    font-size:0.85rem;
    font-weight:600;
    transition:all 0.2s;
}
.woocommerce nav.woocommerce-pagination ul li a:hover{
    border-color:var(--color-rosegold);
    color:var(--color-rosegold);
}
.woocommerce nav.woocommerce-pagination ul li span.current{
    background:var(--color-navy);
    border-color:var(--color-navy);
    color:#fff;
}

/* ── 5. 通用按钮 ──────────────────────────────────────── */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #place_order,
.woocommerce .single_add_to_cart_button,
.woocommerce .checkout-button,
.woocommerce .woocommerce-Button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:0.5rem;
    background:var(--color-rosegold);
    color:#fff;
    font-family:var(--font-heading);
    font-size:0.82rem;
    font-weight:700;
    letter-spacing:0.04em;
    text-transform:uppercase;
    line-height:1;
    padding:0.8rem 1.65rem;
    border:0;
    border-radius:var(--radius-md);
    cursor:pointer;
    transition:all 0.22s;
    box-shadow:none;
}
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #place_order:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .checkout-button:hover,
.woocommerce .woocommerce-Button:hover{
    background:var(--color-navy);
    color:#fff;
    transform:translateY(-1px);
}
/* 卡片内的小按钮 */
.woocommerce ul.products li.product .btn{
    background:var(--color-rosegold);
    color:#fff;
    padding:0.55rem 1.15rem;
    font-size:0.7rem;
    border-radius:var(--radius-md);
    white-space:nowrap;
}
.woocommerce ul.products li.product .btn:hover{background:var(--color-navy)}
.woocommerce a.button.loading,
.woocommerce button.button.loading{opacity:0.75}
.woocommerce a.button.added::after{color:#fff!important;top:auto!important;right:auto!important;margin-left:0.4rem;position:static!important}

/* ── 6. 提示条 ────────────────────────────────────────── */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
    border-top:3px solid var(--color-rosegold);
    background:#fff;
    box-shadow:var(--shadow-sm);
    border-radius:var(--radius-md);
    padding:1rem 1.25rem;
    margin:0 0 1.75rem;
    font-size:0.88rem;
    color:var(--color-text-md);
    list-style:none;
}
.woocommerce-info{border-top-color:var(--color-navy)}
.woocommerce-error{border-top-color:var(--color-red)}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before{display:none!important}
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button{
    float:right;
    padding:0.5rem 1rem!important;
    font-size:0.68rem!important;
    margin-left:1rem;
}

/* ── 7. 商品详情 ──────────────────────────────────────── */
.woocommerce div.product{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:3.5rem;
    margin-bottom:3rem;
    position:relative;
}
.woocommerce div.product > .woocommerce-tabs,
.woocommerce div.product > .related,
.woocommerce div.product > .upsells,
.woocommerce div.product > .woocommerce-product-gallery,
.woocommerce div.product > .summary{grid-column:auto}
.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product section.related,
.woocommerce div.product section.upsells{grid-column:1/-1!important}

/* 图库 */
.woocommerce div.product div.images{
    width:100%!important;
    float:none!important;
    margin:0!important;
    position:relative;
}
.woocommerce div.product div.images img{
    border-radius:var(--radius-lg);
    border:1px solid var(--color-border-light);
    background:#fff;
}
.woocommerce div.product div.images img.woocommerce-placeholder{
    width:100%;
    height:auto;
    background:var(--color-navy);
}
.woocommerce div.product div.images .flex-control-thumbs{
    display:grid!important;
    grid-template-columns:repeat(auto-fill,minmax(78px,1fr));
    gap:0.6rem;
    margin:0.85rem 0 0!important;
    padding:0!important;
}
.woocommerce div.product div.images .flex-control-thumbs li{
    width:auto!important;
    float:none!important;
    margin:0!important;
    list-style:none;
}
.woocommerce div.product div.images .flex-control-thumbs img{
    border-radius:var(--radius-sm);
    border:1.5px solid var(--color-border-light);
    cursor:pointer;
    opacity:0.75;
    transition:all 0.2s;
}
.woocommerce div.product div.images .flex-control-thumbs img:hover,
.woocommerce div.product div.images .flex-control-thumbs img.flex-active{
    opacity:1;
    border-color:var(--color-rosegold);
}
.woocommerce div.product .woocommerce-product-gallery__trigger{
    top:0.85rem;right:0.85rem;
    background:#fff;
    border-radius:50%;
    box-shadow:var(--shadow-md);
}

/* 摘要区 */
.woocommerce div.product div.summary{
    width:100%!important;
    float:none!important;
    margin:0!important;
}
.woocommerce div.product .product_title{
    font-size:2rem;
    font-weight:800;
    line-height:1.25;
    margin-bottom:0.85rem;
    letter-spacing:-0.01em;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price{
    font-family:var(--font-heading);
    font-size:1.65rem;
    font-weight:800;
    color:var(--color-navy);
    margin:0 0 1.25rem;
    display:block;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del{
    font-size:1rem;
    color:var(--color-text-light);
    font-weight:600;
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins{text-decoration:none;color:var(--color-red)}
.woocommerce div.product .woocommerce-product-details__short-description{
    font-size:0.95rem;
    color:var(--color-text-md);
    line-height:1.75;
    margin-bottom:1.5rem;
}
.woocommerce div.product form.cart{
    display:flex;
    align-items:stretch;
    gap:0.75rem;
    margin-bottom:1.25rem!important;
    flex-wrap:wrap;
}
.woocommerce div.product form.cart .quantity{
    display:inline-flex;
    align-items:center;
    border:1.5px solid var(--color-border);
    border-radius:var(--radius-md);
    overflow:hidden;
    background:#fff;
    height:auto;
}
.woocommerce div.product form.cart .quantity input.qty{
    width:64px;
    height:100%;
    padding:0.7rem 0.5rem;
    border:0;
    text-align:center;
    font-family:var(--font-body);
    font-size:0.9rem;
    font-weight:600;
    color:var(--color-text);
    background:transparent;
}
.woocommerce div.product form.cart .quantity input.qty:focus{outline:none}
.woocommerce div.product .single_add_to_cart_button{
    flex:1;
    min-width:190px;
    padding:0.9rem 1.75rem;
    font-size:0.82rem;
}
.woocommerce div.product .product_meta{
    font-size:0.78rem;
    color:var(--color-text-light);
    border-top:1px solid var(--color-border-light);
    padding-top:1.1rem;
    margin-top:0.5rem;
    line-height:1.9;
}
.woocommerce div.product .product_meta a{color:var(--color-text-md)}
.woocommerce div.product .product_meta a:hover{color:var(--color-rosegold)}
.woocommerce div.product .stock{font-size:0.82rem;font-weight:600;color:var(--color-green);margin-bottom:0.75rem}
.woocommerce div.product .stock.out-of-stock{color:var(--color-red)}

/* B2B 询价 CTA */
.woo-b2b-cta{
    display:flex;
    flex-wrap:wrap;
    gap:0.75rem;
    margin:1.5rem 0 0;
    padding-top:1.5rem;
    border-top:1px solid var(--color-border-light);
}
.woo-b2b-cta .btn{flex:1;min-width:170px;justify-content:center}

/* 信任条 */
.woo-trust-list{
    list-style:none;
    margin:1.5rem 0 0;
    padding:1.25rem 0 0;
    border-top:1px solid var(--color-border-light);
    display:grid;
    gap:0.7rem;
}
.woo-trust-list li{
    display:flex!important;
    align-items:flex-start;
    gap:0.6rem;
    font-size:0.82rem;
    color:var(--color-text-md);
    line-height:1.55;
}
.woo-trust-list svg{color:var(--color-rosegold);margin-top:0.1rem}

/* 标签页 */
.woocommerce div.product .woocommerce-tabs{width:100%!important;float:none!important;margin-top:1rem}
.woocommerce div.product .woocommerce-tabs ul.tabs{
    padding:0!important;
    margin:0 0 2rem!important;
    border-bottom:1px solid var(--color-border-light);
    display:flex;
    gap:0.25rem;
    flex-wrap:wrap;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
    background:transparent!important;
    border:none!important;
    border-radius:0!important;
    margin:0!important;
    padding:0!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
    display:block;
    padding:0.85rem 1.35rem!important;
    font-family:var(--font-heading);
    font-size:0.8rem;
    font-weight:700;
    letter-spacing:0.05em;
    text-transform:uppercase;
    color:var(--color-text-light)!important;
    border-bottom:2.5px solid transparent;
    transition:all 0.2s;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover{
    color:var(--color-navy)!important;
    border-bottom-color:var(--color-rosegold);
}
.woocommerce div.product .woocommerce-tabs .panel{
    margin:0!important;
    padding:0!important;
    font-size:0.92rem;
    color:var(--color-text-md);
    line-height:1.8;
    max-width:900px;
}
.woocommerce div.product .woocommerce-tabs .panel h2{display:none}
.woocommerce div.product .woocommerce-tabs .panel table{border-collapse:collapse;width:100%}
.woocommerce div.product .woocommerce-tabs .panel table th,
.woocommerce div.product .woocommerce-tabs .panel table td{
    border:1px solid var(--color-border-light);
    padding:0.7rem 1rem;
    text-align:left;
    font-size:0.86rem;
}
.woocommerce div.product .woocommerce-tabs .panel table th{background:var(--color-bg-alt);font-weight:700;color:var(--color-navy)}

/* 相关商品 */
.woocommerce div.product section.related,
.woocommerce div.product section.upsells{margin-top:3.5rem}
.woocommerce div.product section.related > h2,
.woocommerce div.product section.upsells > h2{
    font-size:1.6rem;
    font-weight:800;
    margin-bottom:2rem;
}
.woocommerce div.product section.related ul.products{grid-template-columns:repeat(3,1fr)}

/* ── 8. 表单控件（WooCommerce 通用） ──────────────────── */
.woocommerce form .form-row{
    padding:0;
    margin:0 0 1.1rem;
}
.woocommerce form .form-row label{
    display:block;
    font-size:0.8rem;
    font-weight:600;
    color:var(--color-navy);
    margin-bottom:0.4rem;
}
.woocommerce form .form-row .required{color:var(--color-red);text-decoration:none}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single{
    width:100%;
    padding:0.78rem 1rem;
    border:1.5px solid var(--color-border);
    border-radius:var(--radius-md);
    background:#fff;
    font-family:var(--font-body);
    font-size:0.9rem;
    color:var(--color-text);
    line-height:1.4;
    transition:border-color 0.2s;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus{
    outline:none;
    border-color:var(--color-rosegold);
}
.woocommerce .select2-container .select2-selection--single{height:auto;padding:0.6rem 1rem}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{line-height:1.5;padding:0;color:var(--color-text)}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{height:100%}
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register{
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-lg);
    background:#fff;
    box-shadow:var(--shadow-sm);
    padding:1.75rem;
}
.woocommerce-account .woocommerce-form-login{max-width:460px;margin:0 auto}

/* ── 9. 表格（购物车 / 订单） ─────────────────────────── */
.woocommerce table.shop_table{
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-lg);
    border-collapse:separate;
    border-spacing:0;
    overflow:hidden;
    background:#fff;
    margin:0 0 2rem;
}
.woocommerce table.shop_table th{
    background:var(--color-bg-alt);
    font-family:var(--font-heading);
    font-size:0.72rem;
    font-weight:800;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--color-navy);
    padding:1rem 1.25rem;
    border-bottom:1px solid var(--color-border-light);
    text-align:left;
}
.woocommerce table.shop_table td{
    padding:1.15rem 1.25rem;
    border-top:1px solid var(--color-border-light);
    font-size:0.88rem;
    color:var(--color-text-md);
    vertical-align:middle;
}
.woocommerce table.shop_table tbody tr:first-child td{border-top:0}
.woocommerce table.shop_table .product-thumbnail img{
    width:72px;
    border-radius:var(--radius-sm);
    border:1px solid var(--color-border-light);
}
.woocommerce table.shop_table .product-name a{color:var(--color-navy);font-weight:600}
.woocommerce table.shop_table .product-name a:hover{color:var(--color-rosegold)}
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal{color:var(--color-navy);font-weight:700}
.woocommerce table.shop_table .product-remove a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:28px;height:28px;
    border-radius:50%;
    background:rgba(196,69,78,0.08);
    color:var(--color-red);
    font-size:1rem;
    line-height:1;
}
.woocommerce table.shop_table .product-remove a:hover{background:var(--color-red);color:#fff}
.woocommerce table.shop_table .actions{padding:1.25rem}
.woocommerce table.shop_table .coupon{display:flex;gap:0.6rem;flex-wrap:wrap;align-items:center}
.woocommerce table.shop_table .coupon input.input-text{max-width:220px;padding:0.65rem 0.9rem}
.woocommerce table.shop_table .coupon .button{padding:0.7rem 1.2rem;font-size:0.72rem}
.woocommerce .cart-collaterals{display:block!important;width:100%!important}
.woocommerce .cart-collaterals .cart_totals{
    width:100%!important;
    float:none!important;
    max-width:520px;
    margin-left:auto;
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-lg);
    background:#fff;
    box-shadow:var(--shadow-sm);
    padding:0.5rem 1.5rem 1.5rem;
}
.woocommerce .cart-collaterals .cart_totals > h2{
    font-size:1.1rem;
    font-weight:800;
    padding:1rem 0;
    border-bottom:1px solid var(--color-border-light);
    margin-bottom:0.5rem;
}
.woocommerce .cart-collaterals .cart_totals table{border:none;margin:0}
.woocommerce .cart-collaterals .cart_totals table th{
    background:transparent;
    text-transform:none;
    letter-spacing:0;
    font-family:var(--font-body);
    font-size:0.86rem;
    font-weight:600;
    color:var(--color-text-md);
    padding:0.7rem 0;
    border:none;
}
.woocommerce .cart-collaterals .cart_totals table td{
    padding:0.7rem 0;
    border:none;
    text-align:right;
}
.woocommerce .cart-collaterals .cart_totals .order-total th,
.woocommerce .cart-collaterals .cart_totals .order-total td{
    border-top:1px solid var(--color-border-light);
    font-size:1.1rem;
    font-weight:800;
    color:var(--color-navy);
    font-family:var(--font-heading);
}
.woocommerce .cart-collaterals .cart_totals .checkout-button{
    width:100%;
    margin-top:1.25rem;
    padding:1rem;
    font-size:0.85rem;
}
.woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout{padding:0}

/* 空购物车 */
.woocommerce-cart .cart-empty{text-align:center;padding:3rem 0;font-size:1.05rem;color:var(--color-text-md)}
.woocommerce-cart .return-to-shop{text-align:center}

/* ── 10. 结算页 ───────────────────────────────────────── */
.woocommerce-checkout .woocommerce{
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
    gap:3rem;
    align-items:start;
}
.woocommerce-checkout .woocommerce > *{grid-column:1/-1}
.woocommerce-checkout form.checkout{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:3rem;align-items:start}
.woocommerce-checkout form.checkout #customer_details{grid-column:1}
.woocommerce-checkout form.checkout #customer_details .col-1,
.woocommerce-checkout form.checkout #customer_details .col-2{width:100%!important;float:none!important}
.woocommerce-checkout form.checkout #order_review_heading{grid-column:2;margin-top:0}
.woocommerce-checkout form.checkout #order_review{
    grid-column:2;
    background:#fff;
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-sm);
    padding:1.5rem;
    position:sticky;
    top:100px;
}
.woocommerce-checkout form.checkout #order_review table.shop_table{border:none;margin-bottom:1rem}
.woocommerce-checkout form.checkout #order_review table.shop_table th{background:transparent;padding:0.6rem 0;border:none;text-transform:none;letter-spacing:0;font-family:var(--font-body);font-size:0.8rem}
.woocommerce-checkout form.checkout #order_review table.shop_table td{padding:0.6rem 0;border:none;text-align:right}
.woocommerce-checkout form.checkout #order_review table.shop_table tfoot tr.order-total th,
.woocommerce-checkout form.checkout #order_review table.shop_table tfoot tr.order-total td{
    border-top:1px solid var(--color-border-light);
    font-size:1.05rem;
    font-weight:800;
    color:var(--color-navy);
}
.woocommerce-checkout #payment{
    background:transparent!important;
    border-radius:0!important;
}
.woocommerce-checkout #payment ul.payment_methods{
    padding:1rem 0!important;
    border-bottom:1px solid var(--color-border-light)!important;
}
.woocommerce-checkout #payment ul.payment_methods li{
    list-style:none;
    margin-bottom:0.75rem;
}
.woocommerce-checkout #payment ul.payment_methods li label{
    font-size:0.86rem;
    font-weight:600;
    color:var(--color-navy);
    cursor:pointer;
}
.woocommerce-checkout #payment div.payment_box{
    background:var(--color-bg-alt)!important;
    color:var(--color-text-md)!important;
    font-size:0.82rem;
    line-height:1.7;
    border-radius:var(--radius-md);
    margin-top:0.5rem;
}
.woocommerce-checkout #payment div.payment_box::before{display:none!important}
.woocommerce-checkout #payment div.form-row{padding:1rem 0 0!important}
.woocommerce-checkout #place_order{
    width:100%;
    padding:1rem;
    font-size:0.85rem;
}
.woocommerce-checkout h3{
    font-size:1.1rem;
    font-weight:800;
    margin:1.75rem 0 1rem;
}
.woocommerce-checkout #customer_details h3:first-child{margin-top:0}
.woocommerce-checkout .woocommerce-info{margin-bottom:1.5rem}
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{}
.woocommerce-checkout form.checkout_coupon{margin-bottom:1.5rem}

/* ── 11. 我的账户 ─────────────────────────────────────── */
.woocommerce-account .woocommerce{
    display:grid;
    grid-template-columns:minmax(0,240px) minmax(0,1fr);
    gap:3rem;
    align-items:start;
}
.woocommerce-account.logged-in .woocommerce-MyAccount-navigation{
    background:#fff;
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-lg);
    box-shadow:var(--shadow-sm);
    overflow:hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation li{
    border-bottom:1px solid var(--color-border-light);
    margin:0;
}
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child{border-bottom:0}
.woocommerce-account .woocommerce-MyAccount-navigation a{
    display:block;
    padding:0.9rem 1.25rem;
    font-size:0.86rem;
    font-weight:600;
    color:var(--color-text-md);
    transition:all 0.2s;
}
.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:var(--color-bg-alt);color:var(--color-navy)}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{
    background:var(--color-navy);
    color:#fff;
}
.woocommerce-account .woocommerce-MyAccount-content{width:100%!important;float:none!important}
.woocommerce-account .woocommerce-MyAccount-content p{font-size:0.9rem;color:var(--color-text-md);line-height:1.8}
.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3{font-size:1.15rem;margin:1.5rem 0 0.85rem}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-lg);
    padding:1.25rem;
    background:#fff;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address address{font-style:normal;font-size:0.86rem;color:var(--color-text-md);line-height:1.8}

/* ── 12. 商品评价 ─────────────────────────────────────── */
.woocommerce #reviews #comments ol.commentlist{padding:0}
.woocommerce #reviews #comments ol.commentlist li{margin-bottom:1.5rem}
.woocommerce #reviews #comments ol.commentlist li .comment-text{
    border:1px solid var(--color-border-light);
    border-radius:var(--radius-md);
    background:#fff;
    padding:1.1rem 1.25rem;
    margin:0 0 0 80px;
}
.woocommerce #reviews #comments ol.commentlist li img.avatar{
    width:60px;
    border-radius:50%;
    border:1px solid var(--color-border-light);
    padding:0;
    position:absolute;
}
.woocommerce #reviews #comments ol.commentlist li{position:relative}
.woocommerce .star-rating span::before,
.woocommerce p.stars a{color:var(--color-rosegold)}
.woocommerce .star-rating::before{color:var(--color-border)}
.woocommerce #review_form #respond textarea{
    border:1.5px solid var(--color-border);
    border-radius:var(--radius-md);
    padding:0.85rem 1rem;
    font-family:var(--font-body);
    font-size:0.9rem;
}
.woocommerce #review_form #respond textarea:focus{outline:none;border-color:var(--color-rosegold)}

/* ── 13. 响应式 ───────────────────────────────────────── */
@media (max-width:1024px){
    .woocommerce ul.products{grid-template-columns:repeat(2,1fr)}
    .woocommerce div.product{grid-template-columns:1fr;gap:2.5rem}
    .woocommerce-checkout form.checkout{grid-template-columns:1fr;gap:2rem}
    .woocommerce-checkout form.checkout #order_review_heading,
    .woocommerce-checkout form.checkout #order_review{grid-column:1;position:static}
}
@media (max-width:768px){
    .woocommerce ul.products{grid-template-columns:1fr;gap:1.5rem}
    .woocommerce div.product .product_title{font-size:1.6rem}
    .woocommerce div.product p.price,
    .woocommerce div.product span.price{font-size:1.35rem}
    .woocommerce-account .woocommerce{grid-template-columns:1fr;gap:2rem}
    .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses{grid-template-columns:1fr}
    .woocommerce .cart-collaterals .cart_totals{max-width:none;margin-left:0}
    .woocommerce table.shop_table_responsive tr td{text-align:right}
    .woocommerce table.shop_table .coupon input.input-text{max-width:none;width:100%}
    .woocommerce table.shop_table .coupon .button{width:100%}
    .woocommerce div.product form.cart .single_add_to_cart_button{min-width:0;width:100%}
    .woocommerce div.product section.related ul.products{grid-template-columns:1fr}
    .woo-b2b-cta .btn{min-width:0;flex:1 1 100%}
}

/* ── 14. 页头购物车按钮 ───────────────────────────────── */
.header-actions{display:flex;align-items:center;gap:1rem}
.header-cart{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;height:40px;
    border-radius:50%;
    background:rgba(28,45,66,0.05);
    color:var(--color-navy);
    transition:all 0.2s;
}
.header-cart:hover{background:var(--color-rosegold);color:#fff}
.header-cart .cart-count{
    position:absolute;
    top:-3px;right:-3px;
    min-width:18px;height:18px;
    padding:0 4px;
    border-radius:999px;
    background:var(--color-text-light);
    color:#fff;
    font-size:0.62rem;
    font-weight:700;
    line-height:18px;
    text-align:center;
    transition:all 0.2s;
}
.header-cart .cart-count.has-items{background:var(--color-rosegold)}
@media (max-width:768px){
    .header-cart{width:36px;height:36px}
    .header-actions .header-cta{display:none}
}
