/* ==== MAXBOY 全站页眉 ==== */
#masthead,header.site-header,.ast-mobile-header-wrap{display:none !important;}
body{padding-top:52px !important;}
body.admin-bar{padding-top:84px !important;}
body.admin-bar .mb-hd{top:32px;}
.mb-hd{position:fixed;top:0;left:0;right:0;z-index:9990;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;min-height:52px;padding:8px clamp(14px,3vw,44px);background:rgba(8,4,1,.96);border-bottom:1px solid rgba(255,150,70,.18);font-family:Inter,-apple-system,"Segoe UI",sans-serif;transition:background .25s,border-color .25s;}
.mb-hd.solid{background:rgba(8,4,1,.96);border-bottom:1px solid rgba(255,150,70,.18);}
.mb-logo{font-family:"Playfair Display",Georgia,serif;font-size:18px;font-weight:900;letter-spacing:3.5px;color:#F3BD7A;text-decoration:none;}
.mb-logo b{color:#E8792B;}
.mb-menu{display:flex;flex:1 1 auto;align-items:center;justify-content:center;gap:clamp(18px,3vw,40px);flex-wrap:wrap;}
.mb-mi{color:#F6EADB;text-decoration:none;font-size:12.5px;letter-spacing:1.4px;text-transform:uppercase;transition:.2s;}
.mb-mi.on{color:#F3A24B;border-bottom:2px solid #F08A33;padding-bottom:4px;}
.mb-mi:hover{color:#FFB268;}
.mb-ico{margin-left:auto;display:flex;gap:14px;align-items:center;}
.mb-ib{background:none;border:0;padding:0;cursor:pointer;color:#F6EADB;position:relative;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;text-decoration:none;}
.mb-ib:hover{color:#F3BD7A;}
.mb-ib svg,.mb-sd summary svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.mb-sd{position:relative;}
.mb-sd summary{list-style:none;cursor:pointer;color:#F6EADB;width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;}
.mb-sd summary::-webkit-details-marker{display:none;}
.mb-sd[open] summary{color:#F3BD7A;}
.mb-sform{position:absolute;right:0;top:40px;display:flex;gap:10px;background:rgba(8,4,1,.99);border:1px solid rgba(255,150,70,.3);padding:12px;border-radius:8px;width:min(430px,82vw);z-index:9960;box-shadow:0 18px 44px rgba(0,0,0,.55);}
.mb-sform input[type=search]{flex:1 1 auto;min-width:0;background:rgba(255,255,255,.06);border:1px solid rgba(255,150,70,.3);color:#F6EADB;padding:10px 13px;border-radius:6px;font-size:14px;outline:none;}
.mb-sform button{flex:0 0 auto;background:linear-gradient(135deg,#ff7a18,#ff3d00);border:0;color:#fff;padding:10px 20px;border-radius:6px;font-size:12px;letter-spacing:1.4px;text-transform:uppercase;cursor:pointer;font-weight:600;}
.mb-ci{display:flex;gap:13px;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.07);}
.mb-ci img{width:62px;height:62px;object-fit:cover;border-radius:5px;background:#150a06;flex:0 0 auto;}
.mb-cin{flex:1 1 auto;min-width:0;}
.mb-cin a{color:#F6EADB;text-decoration:none;font-size:13px;line-height:1.35;display:block;}
.mb-cin a:hover{color:#F3BD7A;}
.mb-cip{color:#F3BD7A;font-size:13px;font-weight:600;margin-top:5px;}
.mb-cq{display:inline-flex;align-items:center;gap:9px;margin-top:9px;}
.mb-cq button{width:23px;height:23px;border:1px solid rgba(255,255,255,.32);background:transparent;color:#F6EADB;border-radius:4px;cursor:pointer;font-size:15px;line-height:1;padding:0;}
.mb-cq button:hover{background:linear-gradient(135deg,#ff7a18,#ff3d00);border-color:transparent;color:#fff;}
.mb-cq button[disabled]{opacity:.3;cursor:default;background:transparent;}
.mb-cq span{min-width:16px;text-align:center;font-size:13px;color:#F6EADB;font-weight:600;}
.mb-tot{display:flex;justify-content:space-between;align-items:baseline;color:#F6EADB;font-size:14px;margin-bottom:14px;}
.mb-tot b{color:#F3BD7A;font-size:18px;font-family:"Playfair Display",Georgia,serif;}
@media(max-width:860px){.mb-mi{font-size:12px;}.mb-hd{justify-content:center;}.mb-ico{gap:14px;}}

/* ===== 内页统一 MAXBOY 深色风格 ===== */
body:not(.home){ background:#0A0503 !important; color:#EFE2D4 !important; }
body:not(.home) #page,body:not(.home) .site,body:not(.home) #content,body:not(.home) .site-content,body:not(.home) .ast-container,
body:not(.home) #primary,body:not(.home) #main,body:not(.home) article,body:not(.home) .ast-article-single,body:not(.home) .ast-separate-container #primary,
body:not(.home) .ast-article-post,body:not(.home) .entry-content,body:not(.home) .sidebar-main,body:not(.home) .widget,
body:not(.home) .ast-separate-container .ast-article-post,body:not(.home) .ast-separate-container .ast-article-single{ background:transparent !important; border-color:rgba(255,150,70,.14) !important; box-shadow:none !important; }
body:not(.home) #content h1,body:not(.home) #content h2,body:not(.home) #content h3,body:not(.home) #content h4,
body:not(.home) #content .entry-title,body:not(.home) #content .widget-title,body:not(.home) #content .woocommerce-products-header__title,
body:not(.home) #content .woocommerce-loop-product__title{ color:#FFF6EA !important; font-family:"Playfair Display",Georgia,serif !important; letter-spacing:.2px; }
body:not(.home) #content a:not(.button):not(.added_to_cart){ color:#F3BD7A; }
body:not(.home) #content a:not(.button):not(.added_to_cart):hover{ color:#FFD9A0; }
body:not(.home) #content .entry-header,body:not(.home) #content .woocommerce-products-header,body:not(.home) #content .ast-archive-description{ border-bottom:1px solid rgba(255,150,70,.18); padding-bottom:12px; margin-bottom:22px; }
body:not(.home) #content .entry-title,body:not(.home) #content .woocommerce-products-header__title{ font-size:clamp(28px,3.4vw,44px) !important; }
/* 商品卡片 */
body:not(.home) #content ul.products li.product{ background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02)) !important; border:1px solid rgba(255,150,70,.16) !important; border-radius:14px !important; padding:16px !important; transition:.25s; overflow:hidden; }
body:not(.home) #content ul.products li.product:hover{ border-color:rgba(255,150,70,.45) !important; box-shadow:0 26px 44px -24px rgba(0,0,0,.8); }
body:not(.home) #content ul.products li.product img{ border-radius:10px; }
body:not(.home) #content .price,body:not(.home) #content .woocommerce-Price-amount{ color:#F3BD7A !important; }
body:not(.home) #content .ast-shop-product-out-of-stock{ background:rgba(255,122,24,.16) !important; color:#FFC58A !important; }
/* 按钮 */
body:not(.home) #content .woocommerce a.button,body:not(.home) #content .woocommerce button.button,body:not(.home) #content .woocommerce input.button,
body:not(.home) #content .woocommerce #respond input#submit,body:not(.home) #content .ast-button,body:not(.home) #content input[type=submit],
body:not(.home) #content button[type=submit],body:not(.home) #content .single_add_to_cart_button,body:not(.home) #content .checkout-button{
  background:linear-gradient(100deg,#E8792B,#F5A23F) !important; color:#fff !important; border:0 !important; border-radius:999px !important;
  font-weight:600 !important; letter-spacing:1.1px !important; text-transform:uppercase !important; font-size:12px !important;
  padding:12px 22px !important; box-shadow:0 16px 34px -16px rgba(230,120,30,.75) !important; transition:.2s !important; }
body:not(.home) #content .woocommerce a.button:hover,body:not(.home) #content input[type=submit]:hover,body:not(.home) #content button[type=submit]:hover{ transform:translateY(-2px); filter:brightness(1.06); }
body:not(.home) #content .woocommerce a.added_to_cart{ background:transparent !important; color:#F3BD7A !important; border:1px solid rgba(255,150,70,.45) !important; box-shadow:none !important; }
/* 输入框 */
body:not(.home) #content input[type=text],body:not(.home) #content input[type=email],body:not(.home) #content input[type=password],
body:not(.home) #content input[type=tel],body:not(.home) #content input[type=url],body:not(.home) #content input[type=number],
body:not(.home) #content input[type=search],body:not(.home) #content textarea,body:not(.home) #content select,
body:not(.home) #content .select2-container .select2-selection{ background:rgba(255,255,255,.05) !important; border:1px solid rgba(255,150,70,.25) !important; color:#F6EADB !important; border-radius:9px !important; }
body:not(.home) #content input:focus,body:not(.home) #content textarea:focus,body:not(.home) #content select:focus{ border-color:#ff7a18 !important; }
body:not(.home) #content ::placeholder{ color:rgba(246,234,219,.45) !important; }
body:not(.home) #content .quantity input.qty{ background:rgba(255,255,255,.05) !important; color:#F6EADB !important; }
/* 表格 */
body:not(.home) #content table.shop_table,body:not(.home) #content .woocommerce-checkout-review-order table,body:not(.home) #content .woocommerce-MyAccount-content table{ background:rgba(255,255,255,.03) !important; border:1px solid rgba(255,150,70,.16) !important; border-radius:14px !important; color:#E9D8C6 !important; }
body:not(.home) #content table.shop_table th{ color:#FFF6EA !important; border-color:rgba(255,255,255,.1) !important; }
body:not(.home) #content table.shop_table td{ border-color:rgba(255,255,255,.07) !important; }
body:not(.home) #content .cart_item .product-name a{ color:#FFF6EA !important; }
/* 提示 */
body:not(.home) #content .woocommerce-message,body:not(.home) #content .woocommerce-info,body:not(.home) #content .woocommerce-error{ background:rgba(255,122,24,.1) !important; color:#FFD9A0 !important; border-top:2px solid #E8792B !important; border-radius:10px !important; }
body:not(.home) #content .woocommerce-message::before,body:not(.home) #content .woocommerce-info::before,body:not(.home) #content .woocommerce-error::before{ color:#F5A23F !important; }
/* 账户导航 / 详情标签 */
body:not(.home) #content .woocommerce-MyAccount-navigation ul li a{ color:#E9D8C6 !important; border-bottom:1px solid rgba(255,255,255,.07) !important; }
body:not(.home) #content .woocommerce-MyAccount-navigation ul li.is-active a{ color:#F3BD7A !important; font-weight:600; }
body:not(.home) #content .woocommerce-tabs ul.tabs li a{ color:#E9D8C6 !important; }
body:not(.home) #content .woocommerce-tabs ul.tabs li.active a{ color:#F3BD7A !important; }
body:not(.home) #content .woocommerce-tabs .panel{ background:rgba(255,255,255,.03) !important; border:1px solid rgba(255,150,70,.14) !important; border-radius:14px !important; padding:22px !important; }
/* 分页 */
body:not(.home) #content .woocommerce nav.woocommerce-pagination ul{ border:0 !important; }
body:not(.home) #content .woocommerce nav.woocommerce-pagination ul li a,body:not(.home) #content .woocommerce nav.woocommerce-pagination ul li span{ background:transparent !important; color:#F3BD7A !important; border:1px solid rgba(255,150,70,.3) !important; border-radius:8px !important; }
body:not(.home) #content .woocommerce nav.woocommerce-pagination ul li span.current{ background:linear-gradient(100deg,#E8792B,#F5A23F) !important; color:#fff !important; border-color:transparent !important; }
/* 面包屑 */
body:not(.home) #content .woocommerce-breadcrumb{ font-size:12px !important; letter-spacing:.6px; text-transform:uppercase; }
/* 结算 payment 面板 */
body:not(.home) #content .woocommerce-checkout #payment{ background:rgba(255,255,255,.04) !important; border-radius:14px !important; }
body:not(.home) #content .woocommerce-checkout #payment ul.payment_methods{ border-bottom-color:rgba(255,255,255,.1) !important; }
body:not(.home) #content .woocommerce-checkout #payment div.payment_box{ background:rgba(255,255,255,.05) !important; color:#E9D8C6 !important; }
body:not(.home) #content .woocommerce-checkout #payment div.payment_box::before{ border-bottom-color:rgba(255,255,255,.05) !important; }
/* 页脚 */
body:not(.home) #colophon,body:not(.home) footer.site-footer,body:not(.home) .site-footer,body:not(.home) .ast-small-footer{ background:#070402 !important; border-top:1px solid rgba(255,150,70,.16) !important; color:#B79A81 !important; }
body:not(.home) #colophon a,body:not(.home) .site-footer a{ color:#F3BD7A !important; }
body:not(.home) .ast-footer-copyright,body:not(.home) .site-footer .ast-footer-copyright{ color:#8a6a52 !important; font-size:12.5px !important; letter-spacing:1px; }
/* 信任条（内页注入，样式与首页一致） */
.mb-trust{ display:grid; grid-template-columns:repeat(4,1fr); background:rgba(8,4,1,.96); border-top:1px solid rgba(255,150,70,.14); }
.mb-ti{ display:flex; align-items:center; justify-content:center; gap:11px; padding:20px 12px; border-right:1px solid rgba(255,150,70,.1); color:#F6EADB; }
.mb-ti:last-child{ border-right:0; }
.mb-ti .ck{ width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:13px; color:#fff; background:rgba(255,255,255,.16); flex:0 0 auto; }
.mb-ti span{ font-size:14px; letter-spacing:.5px; }
@media (max-width:860px){ .mb-trust{ grid-template-columns:repeat(2,1fr); } .mb-ti{ border-bottom:1px solid rgba(255,150,70,.1); } }

/* ===== 内页按钮/表单修正（不依赖 .woocommerce 祖先） ===== */
body:not(.home) #content a.button,body:not(.home) #content button.button,body:not(.home) #content input.button,
body:not(.home) #content .single_add_to_cart_button,body:not(.home) #content .checkout-button,body:not(.home) #content .woocommerce-Button,
body:not(.home) #content #place_order,body:not(.home) #content button.alt,body:not(.home) #content input.alt,
body:not(.home) #content .wc-block-components-button{
  background:linear-gradient(100deg,#E8792B,#F5A23F) !important; color:#fff !important; border:0 !important; border-radius:999px !important;
  font-weight:600 !important; letter-spacing:1.1px !important; text-transform:uppercase !important; font-size:12px !important;
  padding:12px 22px !important; box-shadow:0 16px 34px -16px rgba(230,120,30,.75) !important; transition:.2s !important; }
body:not(.home) #content a.button:hover,body:not(.home) #content .single_add_to_cart_button:hover,body:not(.home) #content .checkout-button:hover{ transform:translateY(-2px); filter:brightness(1.06); }
body:not(.home) #content a.added_to_cart{ background:transparent !important; color:#F3BD7A !important; border:1px solid rgba(255,150,70,.45) !important; box-shadow:none !important; }
body:not(.home) #content #payment{ background:rgba(255,255,255,.04) !important; border-radius:14px !important; }
body:not(.home) #content #payment ul.payment_methods{ border-bottom-color:rgba(255,255,255,.1) !important; }
body:not(.home) #content #payment div.payment_box{ background:rgba(255,255,255,.05) !important; color:#E9D8C6 !important; }
body:not(.home) #content nav.woocommerce-pagination ul{ border:0 !important; }
body:not(.home) #content nav.woocommerce-pagination ul li a,body:not(.home) #content nav.woocommerce-pagination ul li span{ background:transparent !important; color:#F3BD7A !important; border:1px solid rgba(255,150,70,.3) !important; border-radius:8px !important; }
body:not(.home) #content nav.woocommerce-pagination ul li span.current{ background:linear-gradient(100deg,#E8792B,#F5A23F) !important; color:#fff !important; border-color:transparent !important; }
body:not(.home) #content .ast-on-card-button,body:not(.home) #content .ast-quick-view-text,body:not(.home) #content .ast-select-options-trigger{ color:#F3BD7A !important; }
body:not(.home) #content .woocommerce-ordering select,body:not(.home) #content .woocommerce-ordering .orderby{ background:rgba(255,255,255,.05) !important; color:#F6EADB !important; border:1px solid rgba(255,150,70,.25) !important; border-radius:9px !important; }
body:not(.home) #content .star-rating span,body:not(.home) #content .star-rating::before{ color:#F5A23F !important; }
body:not(.home) #content .related.products > h2,body:not(.home) #content .upsells.products > h2,body:not(.home) #content .cross-sells > h2{ font-size:22px !important; margin-bottom:14px !important; }

/* ===== 页脚各分区底色（Astra Below/Above Footer 容器默认白底） ===== */
body:not(.home) .site-above-footer-wrap,body:not(.home) .site-below-footer-wrap,body:not(.home) .site-primary-footer-wrap,
body:not(.home) .site-footer-focus-item,body:not(.home) .ast-builder-grid-row-container,
body:not(.home) #colophon .ast-builder-grid-row,body:not(.home) #colophon .ast-builder-grid-row-container,
body:not(.home) .ast-footer-copyright,body:not(.home) .ast-footer-copyright *,
body:not(.home) .ast-footer-menu,body:not(.home) .ast-footer-social-wrap{ background:transparent !important; }
body:not(.home) .site-below-footer-wrap,body:not(.home) .site-above-footer-wrap{ border-color:rgba(255,150,70,.14) !important; }
body:not(.home) .ast-footer-copyright{ color:#8a6a52 !important; font-size:12.5px !important; letter-spacing:1px; }
body:not(.home) .ast-footer-copyright a,body:not(.home) .site-footer .ast-footer-copyright a{ color:#F3BD7A !important; }
body:not(.home) .ast-footer-social-wrap a,body:not(.home) .site-footer .ast-builder-social-element{ background:rgba(255,255,255,.06) !important; color:#F3BD7A !important; }
body:not(.home) #colophon{ background:#070402 !important; }

/* 排序下拉 / 原生选项弹层 可读性（深色底色） */
body select,body:not(.home) select,body:not(.home) .woocommerce-ordering select,body .woocommerce-ordering .orderby,
body .woocommerce-ordering select.orderby,body select.orderby{
  color-scheme:dark !important;
  background-color:#140B06 !important;
  color:#EFE2D4 !important;
  border:1px solid rgba(255,150,70,.32) !important;
  border-radius:8px !important;
}
body select option,body select optgroup,body:not(.home) select option{
  background-color:#140B06 !important;
  color:#EFE2D4 !important;
}
body select option:checked,body select option:hover,body select option:focus{
  background-color:#8A4A16 !important;
  color:#FFF6EA !important;
}

/* ===== 结账页 WooCommerce Blocks 国家/省份 下拉深色化（原为白底浅字） ===== */
body:not(.home) .wc-blocks-components-select__container{
  background:#140B06 !important;
  border:1px solid rgba(255,150,70,.25) !important;
  border-radius:9px !important;
}
body:not(.home) .wc-blocks-components-select__container:focus-within{
  border-color:#F3BD7A !important;
  box-shadow:0 0 0 2px rgba(243,189,122,.14) !important;
}
body:not(.home) #content .wc-blocks-components-select .wc-blocks-components-select__select,
body:not(.home) #content .wc-blocks-components-select__select{
  background:transparent !important;
  color:#F6EADB !important;
}
body:not(.home) .wc-blocks-components-select__select option{
  background:#140B06 !important;
  color:#EFE2D4 !important;
}
body:not(.home) .wc-blocks-components-select__label{ color:#B08A6A !important; }
body:not(.home) .wc-blocks-components-select__expand{ fill:#F3BD7A !important; }
/* 迷你购物车：删除商品按钮 + 同步态 */
.mb-ci{position:relative;padding-right:26px;}
.mb-cix{position:absolute;right:0;top:15px;width:21px;height:21px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.16);background:transparent;border-radius:50%;color:rgba(246,234,219,.55);font-size:13px;line-height:1;padding:0;cursor:pointer;transition:border-color .18s,color .18s,background .18s;}
.mb-cix:hover{border-color:#F3BD7A;color:#F3BD7A;background:rgba(243,189,122,.12);}
.mb-ci.rm{opacity:0;transform:translateX(14px);transition:opacity .19s ease,transform .19s ease;}
.mb-ci.syncing .mb-cq span{opacity:.5;}
.mb-cq button{transition:transform .12s ease,background .18s,border-color .18s;}
.mb-cq button:active{transform:scale(.9);}
/* 关闭 Astra 自带手推车抽屉（加购后不再自动弹出） */
#astra-mobile-cart-drawer, .astra-mobile-cart-overlay { display:none !important; }
html.ast-mobile-cart-active, html.ast-mobile-cart-active body { overflow:auto !important; }
/* shop 列表页：加购后按钮变成数量加减器 */
ul.products li.product a.added_to_cart{display:none !important;}
ul.products li.product.mb-incart .add_to_cart_button{display:none !important;}
ul.products li.product .mb-astep{display:flex;align-items:center;justify-content:center;gap:12px;margin:6px auto 0;}
ul.products li.product .mb-astep button{width:32px;height:32px;border:1px solid rgba(255,255,255,.3);background:transparent;color:#F6EADB;border-radius:6px;font-size:17px;line-height:1;padding:0;cursor:pointer;transition:background .15s,border-color .15s,color .15s;}
ul.products li.product .mb-astep button:hover{background:linear-gradient(135deg,#ff7a18,#ff3d00);border-color:transparent;color:#fff;}
ul.products li.product .mb-astep button[disabled]{opacity:.3;cursor:default;background:transparent;border-color:rgba(255,255,255,.16);}
ul.products li.product .mb-astep span{min-width:22px;text-align:center;font-weight:600;color:#FFF6EA;font-size:15px;}
/* shop 列表页：操作行（加入购物车 / 数量加减器 / 立即购买 严格等宽并排） */
body:not(.home) #content ul.products li.product .mb-actions{display:flex;align-items:stretch;gap:8px;margin-top:8px;}
body:not(.home) #content ul.products li.product:not(.mb-incart) .mb-actions > .add_to_cart_button,
body:not(.home) #content ul.products li.product .mb-actions > .mb-buynow,
body:not(.home) #content ul.products li.product .mb-actions > .mb-astep{flex:0 0 calc(50% - 4px) !important;width:calc(50% - 4px) !important;min-width:0 !important;box-sizing:border-box !important;margin:0 !important;padding:12px 6px !important;display:block !important;text-align:center;border-radius:999px;font-size:12px;font-weight:600;letter-spacing:1px;text-transform:uppercase;line-height:1.2;text-decoration:none;}
body:not(.home) #content ul.products li.product .mb-actions > .mb-astep{display:flex !important;align-items:center;justify-content:space-between;gap:0;padding:0 !important;}
body:not(.home) #content ul.products li.product .mb-actions > .mb-astep button{width:30px !important;height:30px !important;padding:0 !important;margin:4px 0 !important;}
body:not(.home) #content ul.products li.product .mb-actions > .mb-buynow{border:1px solid rgba(243,189,122,.55);background:transparent;color:#F3BD7A !important;transition:background .18s,border-color .18s,color .18s;}
body:not(.home) #content ul.products li.product .mb-actions > .mb-buynow:hover{background:rgba(243,189,122,.14) !important;border-color:#F3BD7A;color:#FFF6EA !important;}
body:not(.home) #content ul.products li.product .mb-actions > .mb-buynow.loading{opacity:.6;pointer-events:none;}

/* 加购后隐藏加入购物车按钮（双保险） */
body:not(.home) #content ul.products li.product.mb-incart .mb-actions > .add_to_cart_button{display:none !important;}

/* 结账页：订单摘要每行商品右下角数量加减器 */
body.woocommerce-checkout .wc-block-components-order-summary-item{position:relative;padding-bottom:50px !important;}
body.woocommerce-checkout .wc-block-components-order-summary-item > .mb-cqty{position:absolute;right:0;bottom:4px;display:flex;align-items:center;height:34px;border:1px solid rgba(243,189,122,.38);border-radius:999px;background:rgba(255,255,255,.035);overflow:hidden;z-index:3;}
body.woocommerce-checkout .wc-block-components-order-summary-item > .mb-cqty.busy{opacity:.55;}
body.woocommerce-checkout .wc-block-components-order-summary-item > .mb-cqty button{width:36px !important;height:34px !important;min-width:0 !important;margin:0 !important;padding:0 !important;border:0 !important;border-radius:0 !important;background:transparent !important;color:#F3BD7A !important;font-size:17px !important;font-weight:600;line-height:1 !important;box-shadow:none !important;cursor:pointer;transition:background .15s,color .15s;text-transform:none !important;letter-spacing:0 !important;}
body.woocommerce-checkout .wc-block-components-order-summary-item > .mb-cqty button:hover{background:rgba(243,189,122,.16) !important;color:#FFF6EA !important;}
body.woocommerce-checkout .wc-block-components-order-summary-item > .mb-cqty button[disabled]{color:#6f6459 !important;background:transparent !important;cursor:default;}
body.woocommerce-checkout .wc-block-components-order-summary-item > .mb-cqty .mb-cqty-n{min-width:34px;text-align:center;font-size:14px;font-weight:600;color:#FFF6EA;}

/* 结账页：隐藏商品缩略图右上角的圆形数量角标（数量改由右下角加减器显示） */
body.woocommerce-checkout .wc-block-components-order-summary-item__quantity{display:none !important;}

/* shop 列表页：卡片价格随购物车数量实时变化（折后单价 + 原价划线 + 小计） */
body:not(.home) #content ul.products li.product .price.mb-live{display:block;line-height:1.35;}
body:not(.home) #content ul.products li.product .price.mb-live .mb-uprice{color:#F3BD7A;font-weight:700;}
body:not(.home) #content ul.products li.product .price.mb-live .mb-oprice{margin-left:6px;font-size:12px;font-weight:400;color:rgba(255,246,234,.45);text-decoration:line-through;}
body:not(.home) #content ul.products li.product .price.mb-live .mb-sum{display:block;margin-top:2px;font-size:11px;font-weight:400;letter-spacing:.2px;color:rgba(255,246,234,.62);}

/* shop 列表页：卡片等高 + 价格与按钮行底部对齐（标题行数不同也对齐） */
body:not(.home) #content ul.products li.product{display:flex;flex-direction:column;}
body:not(.home) #content ul.products li.product > .astra-shop-thumbnail-wrap,
body:not(.home) #content ul.products li.product > .ast-woo-product-category{flex:0 0 auto;}
body:not(.home) #content ul.products li.product .astra-shop-summary-wrap{display:flex;flex-direction:column;flex:1 1 auto;}
body:not(.home) #content ul.products li.product .astra-shop-summary-wrap > .price{margin-top:auto;}
body:not(.home) #content ul.products li.product .astra-shop-summary-wrap > .mb-actions{margin-top:8px;flex:0 0 auto;}

/* 商品详情页：加入购物车右侧「立即购买」（JS 会把尺寸对齐到同尺寸） */
body.woocommerce.single-product #content form.cart .mb-buynow-single{float:left;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;margin:0 0 12px 12px !important;padding:0 18px !important;border:1px solid rgba(243,189,122,.55) !important;border-radius:999px !important;background:transparent !important;color:#F3BD7A !important;font-size:12px !important;font-weight:600 !important;letter-spacing:1px;line-height:1 !important;text-transform:uppercase;text-decoration:none !important;white-space:nowrap;overflow:hidden;cursor:pointer;transition:background .18s,border-color .18s,color .18s;}
body.woocommerce.single-product #content form.cart .mb-buynow-single:hover{background:rgba(243,189,122,.14) !important;border-color:#F3BD7A !important;color:#FFF6EA !important;}
body.woocommerce.single-product #content form.cart .mb-buynow-single.loading{opacity:.6;pointer-events:none;}

/* ==== 商品归档页头部紧凑排版（面包屑 + 标题 + 结果数/排序） ==== */
body.post-type-archive-product #primary,
body.tax-product_cat #primary{margin-top:26px !important;}
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header{padding-bottom:10px !important;margin-bottom:14px !important;}
body.post-type-archive-product #content .woocommerce-products-header__title.page-title,
body.tax-product_cat #content .woocommerce-products-header__title.page-title{line-height:1.12 !important;margin:0 0 16px !important;}
body.post-type-archive-product #content .woocommerce-breadcrumb,
body.tax-product_cat #content .woocommerce-breadcrumb{font-size:12.5px !important;margin:0 0 10px !important;opacity:.82;}
body.post-type-archive-product #content .woocommerce-result-count,
body.tax-product_cat #content .woocommerce-result-count{font-size:13px !important;margin:0 !important;}
body.post-type-archive-product form.woocommerce-ordering,
body.tax-product_cat form.woocommerce-ordering{margin:0 0 14px !important;}
@media (max-width:860px){
body.post-type-archive-product #primary,
body.tax-product_cat #primary{margin-top:14px !important;}
body.post-type-archive-product .woocommerce-products-header,
body.tax-product_cat .woocommerce-products-header{padding-bottom:8px !important;margin-bottom:10px !important;}
body.post-type-archive-product #content .woocommerce-products-header__title.page-title,
body.tax-product_cat #content .woocommerce-products-header__title.page-title{font-size:24px !important;margin:0 0 8px !important;}
body.post-type-archive-product #content .woocommerce-breadcrumb,
body.tax-product_cat #content .woocommerce-breadcrumb{font-size:11.5px !important;margin:0 0 4px !important;}
body.post-type-archive-product #content .woocommerce-result-count,
body.tax-product_cat #content .woocommerce-result-count{float:none !important;font-size:11.5px !important;margin:0 0 6px !important;line-height:1.5 !important;}
body.post-type-archive-product form.woocommerce-ordering,
body.tax-product_cat form.woocommerce-ordering{float:none !important;margin:0 0 12px !important;}
body.post-type-archive-product form.woocommerce-ordering select,
body.tax-product_cat form.woocommerce-ordering select{height:38px !important;font-size:13px !important;padding:0 26px 0 10px !important;}
}

/* ===== 页眉高度整理：单行固定高度，绝不遮挡内容 ===== */
.mb-hd{flex-wrap:nowrap !important;align-items:center !important;min-height:52px !important;gap:10px !important;}
.mb-logo{flex:0 0 auto !important;white-space:nowrap !important;}
.mb-menu{flex:0 1 auto !important;flex-wrap:nowrap !important;gap:clamp(12px,2.2vw,34px) !important;min-width:0 !important;}
.mb-mi{white-space:nowrap !important;}
.mb-ico{flex:0 0 auto !important;}
body:not(.home){padding-top:52px !important;}
body.admin-bar:not(.home){padding-top:84px !important;}
@media (max-width:860px){
.mb-hd{justify-content:space-between !important;gap:8px !important;padding-left:12px !important;padding-right:12px !important;}
.mb-logo{font-size:16px !important;letter-spacing:1.8px !important;}
.mb-menu{gap:11px !important;}
.mb-mi{font-size:11px !important;letter-spacing:.5px !important;}
.mb-ico{gap:10px !important;}
.mb-ib{width:20px !important;height:20px !important;}
.mb-ib svg,.mb-sd summary svg{width:17px !important;height:17px !important;}
}
@media (max-width:782px){
body.admin-bar:not(.home){padding-top:98px !important;}
body.admin-bar .mb-hd{top:46px !important;}
}

/* ===== 电脑端页眉导航居中（移动端保持不变） ===== */
@media (min-width:861px){
.mb-menu{position:absolute !important;left:50% !important;top:50% !important;transform:translate(-50%,-50%) !important;margin:0 !important;flex:0 0 auto !important;justify-content:center !important;}
.mb-hd{justify-content:space-between !important;}
}

/* ==== 价格右侧显示销量（functions.php 的 mb_sales_badge_html 输出；文案改 MB_SALES_TEXT） ==== */
/* 徽标最终都由 mbui-sales 内联脚本放进 .price 里（详情页 WPCpq 会重写 p.price，故先输出成兄弟节点再搬进去），
   所以这里只做行内样式，不动卡片和详情页布局。 */
body:not(.home) #content .mb-sales{display:inline-block;margin-left:8px;padding:2px 9px 3px;vertical-align:middle;font-size:10.5px;font-weight:400;letter-spacing:.4px;line-height:1.45;white-space:nowrap;color:rgba(246,234,219,.62);background:rgba(255,150,70,.10);border:1px solid rgba(255,150,70,.24);border-radius:999px;}
body:not(.home) #content .mb-sales b{color:#F3BD7A;font-weight:700;letter-spacing:.2px;}
/* 窄屏（手机卡片约 158px）：价格与销量排成一行 —— 价格靠左、销量药丸靠右；药丸再收小一档，避免掉到第二行。 */
@media (max-width:860px){
body:not(.home) #content ul.products li.product .price{display:flex;align-items:center;justify-content:space-between;gap:4px;flex-wrap:wrap;}
body:not(.home) #content ul.products li.product .mb-sales{margin-left:0;padding:1px 7px 2px;font-size:9.5px;letter-spacing:0;line-height:1.5;}
body:not(.home) #content ul.products li.product .mb-sales b{font-size:10px;letter-spacing:0;}
/* 窄屏：卡片按钮过高（12px 字 + 12px 上下内边距，文字被挤成 3 行）→ 缩小字号与内边距，最多 2 行。 */
/* 注意：上面的 .mb-actions > xxx 规则用的是同等级 !important，所以这里必须写「同样带 .mb-actions」的选择器 + !important，且位置靠后，才能覆盖。 */
body:not(.home) #content ul.products li.product:not(.mb-incart) .mb-actions > .add_to_cart_button,
body:not(.home) #content ul.products li.product .mb-actions > .mb-buynow{padding:5px 4px !important;font-size:9.5px !important;letter-spacing:.3px !important;line-height:1.2 !important;min-height:0 !important;height:auto !important;display:block !important;text-align:center !important;}
/* Astra 加购成功/移除商品后会给按钮加 .added，其 ::after 是一个 ✔。flex 布局下 ✔ 会另起一行，按钮由 33px 变成 44px；改成 block 后 ✔ 与文字同行，高度稳定 33px。 */
body:not(.home) #content ul.products li.product .mb-actions > .add_to_cart_button::after{margin-left:3px !important;}
/* 窄屏：数量加减器原来被挤成 18×30 的窄条（按钮 30px 被 flex 压缩）→ 改成方形 22×22，数字居中，一行放得下 */
body:not(.home) #content ul.products li.product .mb-actions > .mb-astep button{width:22px !important;height:22px !important;max-width:22px !important;flex:0 0 22px !important;min-width:0 !important;margin:0 !important;padding:0 !important;font-size:13px !important;line-height:1 !important;box-sizing:border-box !important;border-radius:999px !important;}
body:not(.home) #content ul.products li.product .mb-actions > .mb-astep span{min-width:12px !important;font-size:12.5px;line-height:1;}
}

/* ==== 列表卡片：隐藏星级 ==== */
/* Astra 把 .review-rating 的 flex order 设为 2，它会被排到按钮下方（看起来像错位），且每个卡片多占 19px 高。 */
body:not(.home) ul.products li.product .review-rating{display:none !important;}

/* ==== 列表卡片：分类文字改金色 ==== */
/* Astra 给 .ast-woo-product-category 用的是浅色主题默认色 rgb(51,65,85)，在深色卡片上几乎不可读。 */
body:not(.home) #content ul.products li.product .ast-woo-product-category{color:#F3BD7A !important;}
body:not(.home) #content ul.products li.product .ast-woo-product-category a{color:#F3BD7A !important;}

/* ── 卡片分类行右侧「Direct Shipping」徽标（2026-09-19） ── */
body:not(.home) #content ul.products li.product .ast-woo-product-category{
	display:flex !important;
	align-items:center;
	justify-content:space-between;
	gap:2px 6px;
}
body:not(.home) #content ul.products li.product .ast-woo-product-category .mb-ship{
	flex:0 0 auto;
	white-space:nowrap;
	font-size:9.5px;
	line-height:1.45;
	letter-spacing:.3px;
	color:rgba(246,234,219,.66);
	background:rgba(255,150,70,.08);
	border:1px solid rgba(243,189,122,.28);
	border-radius:999px;
	padding:1px 7px;
}
@media (max-width:860px){
	body:not(.home) #content ul.products li.product .ast-woo-product-category .mb-ship{font-size:8.5px;padding:1px 5px;letter-spacing:.2px}
}

/* 隐藏结账页优惠券栏（有优惠券吗？点击此处输入您的优惠码） */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
	display: none !important;
}

/* ===== 页眉工具区：多货币 + 多语言（由 mbui.js 从浮动组件搬入页眉） ===== */
.mb-tools{display:flex;align-items:center;gap:8px;}
.mb-cur{position:relative !important;display:inline-flex !important;align-items:center !important;float:none !important;z-index:9992 !important;}
.mb-cur .wpcmc-floating-trigger{background:transparent !important;border:1px solid rgba(255,150,70,.28) !important;border-radius:999px !important;padding:3px 9px !important;color:#F6EADB !important;font-size:11px !important;display:inline-flex !important;align-items:center !important;gap:5px !important;box-shadow:none !important;cursor:pointer !important;line-height:1.2 !important;}
.mb-cur .wpcmc-floating-flag{font-size:13px !important;line-height:1 !important;}
.mb-cur .wpcmc-floating-code{font-size:11px !important;letter-spacing:.4px !important;}
.mb-cur .wpcmc-floating-panel{position:absolute !important;top:calc(100% + 8px) !important;right:0 !important;left:auto !important;bottom:auto !important;margin:0 !important;min-width:180px !important;max-height:min(60vh,380px) !important;overflow:auto !important;z-index:9999 !important;}
.mb-lang-wrap{position:relative !important;top:auto !important;right:auto !important;bottom:auto !important;left:auto !important;width:auto !important;height:auto !important;z-index:9992 !important;display:inline-flex !important;align-items:center !important;opacity:1 !important;visibility:visible !important;}
.mb-lang-btn{background:transparent !important;border:1px solid rgba(255,150,70,.28) !important;border-radius:999px !important;color:#F6EADB !important;font-size:11px !important;padding:3px 9px !important;display:inline-flex !important;align-items:center !important;gap:5px !important;cursor:pointer !important;line-height:1.2 !important;}
.mb-lang-btn img{width:15px !important;height:15px !important;display:block !important;opacity:.95 !important;}
.mb-lang-btn span{font-size:11px !important;letter-spacing:.4px !important;}
.mb-lang-list{position:absolute !important;top:calc(100% + 8px) !important;right:0 !important;left:auto !important;bottom:auto !important;display:none !important;background:rgba(8,4,1,.99) !important;border:1px solid rgba(255,150,70,.3) !important;border-radius:10px !important;padding:8px !important;width:210px !important;max-height:min(60vh,420px) !important;overflow:auto !important;z-index:9999 !important;box-shadow:0 18px 44px rgba(0,0,0,.55) !important;}
.mb-lang-wrap.open .mb-lang-list{display:block !important;}
.mb-lang-list .mb-lang-item{display:flex !important;align-items:center !important;gap:7px !important;padding:6px 8px !important;border-radius:6px !important;color:#F6EADB !important;text-decoration:none !important;font-size:12px !important;}
.mb-lang-list .mb-lang-item:hover{background:rgba(255,150,70,.12) !important;}
.mb-lang-list .mb-lang-item img{width:18px !important;height:18px !important;flex:0 0 auto !important;}
.mb-lang-list .mb-lang-item span{margin-right:0 !important;font-size:12px !important;vertical-align:middle !important;}
.mb-lang-list .mb-lang-item.on{background:rgba(255,150,70,.16) !important;font-weight:600 !important;}
/* 未搬进页眉前先藏起来，避免在右上角闪现 */
.gt_switcher_wrapper{display:none !important;}
/* 搜索已移除，清掉遗留样式 */
.mb-sd{display:none !important;}
@media (max-width:860px){
	.mb-tools{gap:6px !important;}
	.mb-ico{gap:8px !important;}
	.mb-cur .wpcmc-floating-code,.mb-lang-btn span{font-size:9.5px !important;}
	.mb-cur .wpcmc-floating-trigger,.mb-lang-btn{padding:3px 7px !important;}
	.mb-lang-list{width:196px !important;}
}

/* 信任条首格：隐私政策链接（整格可点） */
.mb-trust a.mb-ti{text-decoration:none !important;color:#F6EADB !important;transition:background .2s,color .2s;}
.mb-trust a.mb-ti:hover{color:#F3BD7A !important;background:rgba(255,150,70,.07);}
.mb-trust a.mb-ti .ck{transition:background .2s;}
.mb-trust a.mb-ti:hover .ck{background:rgba(243,189,122,.28);}

/* ==== 政策页表格 / 列表（Support & Contact 等政策页） ==== */
body:not(.home) .mb-pt{width:100%;border-collapse:collapse;margin:16px 0 20px;font-size:14px;background:rgba(255,255,255,.03);}
body:not(.home) .mb-pt th,body:not(.home) .mb-pt td{border:1px solid rgba(255,150,70,.16) !important;padding:11px 14px !important;text-align:left !important;vertical-align:top;color:#E9D8C6 !important;line-height:1.6;}
body:not(.home) .mb-pt th{background:rgba(255,150,70,.10) !important;color:#FFF6EA !important;font-weight:600 !important;font-size:13px;letter-spacing:.4px;white-space:nowrap;}
body:not(.home) .mb-pt a{color:#F3BD7A !important;text-decoration:underline;}
body:not(.home) .mb-ul{margin:10px 0 18px !important;padding-left:22px !important;list-style:disc !important;}
body:not(.home) .mb-ul li{margin:0 0 7px !important;color:#E9D8C6 !important;line-height:1.75;}
@media(max-width:860px){body:not(.home) .mb-pt{font-size:12.5px;}body:not(.home) .mb-pt th,body:not(.home) .mb-pt td{padding:8px 9px !important;}body:not(.home) .mb-pt th{white-space:normal;}}

/* 政策页二级列表 + 提示块 */
body:not(.home) .mb-ul ul{margin:7px 0 2px !important;padding-left:18px !important;list-style:circle !important;}
body:not(.home) .mb-ul ul li{margin-bottom:5px !important;color:rgba(233,216,198,.88) !important;}
body:not(.home) .mb-note{background:rgba(255,150,70,.07) !important;border:1px solid rgba(243,189,122,.3) !important;border-left:3px solid #F3BD7A !important;border-radius:10px !important;padding:12px 15px !important;color:#F6EADB !important;margin:16px 0 !important;font-size:14.5px;line-height:1.7;}

/* ===== 2026-09-20 手机端页眉改两行（Logo 一行 / HOME→购物车 一行）+ 去掉底部横线 ===== */
.mb-hd,.mb-hd.solid{border-bottom:0 !important;box-shadow:none !important;}
body:not(.home){padding-top:var(--mbhd-pad,52px) !important;}
body.admin-bar:not(.home){padding-top:var(--mbhd-pad,84px) !important;}
@media (max-width:600px){
body:not(.home){padding-top:var(--mbhd-pad,80px) !important;}
body.admin-bar:not(.home){padding-top:var(--mbhd-pad,112px) !important;}
.mb-hd{flex-wrap:wrap !important;justify-content:center !important;align-items:center !important;gap:6px 12px !important;min-height:0 !important;padding:9px 12px 10px !important;}
.mb-logo{flex:1 1 100% !important;text-align:center !important;font-size:17px !important;letter-spacing:2.6px !important;}
.mb-menu{flex:0 0 auto !important;justify-content:center !important;flex-wrap:nowrap !important;gap:15px !important;min-width:0 !important;margin:0 !important;}
.mb-ico{flex:0 0 auto !important;margin:0 !important;gap:9px !important;}
}
@media (max-width:380px){
.mb-logo{font-size:15px !important;letter-spacing:2px !important;}
.mb-menu{gap:10px !important;}
.mb-ico{gap:6px !important;}
}

/* ===== 2026-09-20 购物车页排版：修掉被拉伸的底部空白 + 底部补充信息 ===== */
body.page-id-8 .entry-content .e-con > .elementor-widget,
body.woocommerce-cart .entry-content .e-con > .elementor-widget{align-self:flex-start !important;width:100% !important;max-width:100% !important;}
.mb-cart-ext{margin:28px auto 4px;max-width:780px;}
.mb-cart-ext .mb-ce-top{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;}
.mb-cart-ext a.mb-ce-shop{display:inline-flex;align-items:center;gap:7px;padding:11px 24px;border:1px solid rgba(243,189,122,.45);border-radius:999px;color:#F3BD7A !important;text-decoration:none !important;font-size:13px;letter-spacing:.5px;transition:background .2s,color .2s;}
.mb-cart-ext a.mb-ce-shop:hover{background:rgba(255,150,70,.12);color:#FFF6EA !important;}
.mb-cart-ext .mb-ce-pay{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin:16px 0 0;}
.mb-cart-ext .mb-ce-pay span{font-size:10.5px;letter-spacing:.5px;color:rgba(246,234,219,.7);border:1px solid rgba(243,189,122,.2);border-radius:6px;padding:4px 10px;background:rgba(255,255,255,.03);white-space:nowrap;}
.mb-cart-ext .mb-ce-pay span.lk{color:#F3BD7A;border-color:rgba(243,189,122,.38);}
.mb-cart-ext .mb-ce-list{list-style:none !important;margin:20px 0 0 !important;padding:0 !important;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;}
.mb-cart-ext .mb-ce-list li{margin:0 !important;font-size:11.5px;line-height:1.5;color:rgba(246,234,219,.62) !important;background:rgba(255,255,255,.025);border:1px solid rgba(255,150,70,.12);border-radius:10px;padding:11px 9px;text-align:center;}
.mb-cart-ext .mb-ce-list li b{display:block;color:#F6EADB;font-weight:600;font-size:12.5px;margin-bottom:4px;letter-spacing:.3px;}
.mb-cart-ext .mb-ce-help{text-align:center;margin:18px 0 0 !important;font-size:12px;color:rgba(246,234,219,.55) !important;}
.mb-cart-ext .mb-ce-help a{color:#F3BD7A !important;text-decoration:underline;}
@media (max-width:700px){.mb-cart-ext .mb-ce-list{grid-template-columns:repeat(2,1fr);}.mb-cart-ext{margin-top:22px;}}

/* ===== 2026-09-20 信任条 2×2 时两行等高 + 边框对齐 ===== */
@media (max-width:860px){
.mb-trust{grid-auto-rows:1fr !important;align-items:stretch !important;}
.mb-ti{align-items:center !important;justify-content:center !important;}
.mb-ti:nth-child(2n){border-right:0 !important;}
.mb-ti:nth-child(n+3){border-bottom:0 !important;}
}

/* ===== 2026-09-21 购物车页：支付方式 Logo 条（位于「进行结算」与「← 继续购物」之间） ===== */
.mb-cart-ext .mb-paylogos{display:block;width:100%;max-width:440px;height:auto;margin:0 auto 16px;padding:9px 13px;box-sizing:border-box;background:#fff;border-radius:12px;box-shadow:0 1px 8px rgba(0,0,0,.28);}
@media (max-width:600px){.mb-cart-ext .mb-paylogos{margin-bottom:14px;padding:8px 11px;border-radius:10px;}}

/* ===== 2026-09-21 购物车页：收紧「进行结算」按钮与支付 Logo 条之间的区块内留白（实测移动端 78px / 桌面 92px） ===== */
.mb-cart-ext{margin-top:-28px !important;}
@media (max-width:700px){.mb-cart-ext{margin-top:-26px !important;}}

/* 2026-10-03 SHOP页：隐藏 WooCommerce 排序/筛选下拉 */
body.woocommerce-shop .woocommerce-ordering,
body.woocommerce-shop .woocommerce-result-count{display:none !important;}
