/*
Theme Name: BCMC 积分商城主题
Theme URI: https://www.cnbcmc.net
Author: BCMC Team
Author URI: https://www.cnbcmc.net
Description: 科技深色风 WooCommerce 积分商城主题。面向 BCMC 用户积分系统（bcmc-points 插件）深度定制：导航积分徽章、购买积分页、我的积分页、积分价展示等。响应式布局，支持中文。
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bcmc
Tags: e-commerce, woocommerce, dark, one-column, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
*/

/* =========================================================
   BCMC 积分商城主题 — 科技深色风
   设计令牌
   ========================================================= */
:root {
    --bg: #f4f6fa;
    --bg-alt: #ffffff;
    --surface: #ffffff;
    --surface-2: #f0f3f8;
    --surface-3: #e7ecf3;
    --border: #d8e0ea;
    --border-soft: #e9edf4;
    --text: #17202f;
    --text-muted: #5b6679;
    --text-dim: #8b94a8;
    --accent: #f5b301;          /* 积分金 */
    --accent-2: #d99a00;
    --accent-strong: #ff8a00;
    --blue: #3d7bfd;
    --cyan: #0ea5c9;
    --success: #10b981;
    --danger: #ef4444;
    --grad-gold: linear-gradient(135deg, #f5b301 0%, #ff8a00 100%);
    --grad-blue: linear-gradient(135deg, #3d7bfd 0%, #22d3ee 100%);
    --grad-surface: linear-gradient(160deg, #ffffff 0%, #f1f4f9 100%);
    --radius: 14px;
    --radius-sm: 9px;
    --radius-lg: 22px;
    --shadow: 0 10px 30px rgba(23, 32, 47, .08);
    --shadow-sm: 0 4px 12px rgba(23, 32, 47, .06);
    --glow-gold: 0 0 26px rgba(245, 179, 1, 0.28);
    --glow-blue: 0 0 26px rgba(61, 123, 253, 0.30);
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
    --font-num: "JetBrains Mono", "Cascadia Code", Consolas, "Courier New", monospace;
    --header-h: 76px;
    --container: 1200px;
}

/* =========================================================
   基础
   ========================================================= */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.75;
    color: var(--text);
    background:
        radial-gradient(1100px 500px at 85% -8%, rgba(61, 123, 253, .05), transparent 60%),
        radial-gradient(900px 460px at -10% 6%, rgba(245, 179, 1, .04), transparent 55%),
        var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--cyan); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-2); }

h1, h2, h3, h4, h5, h6 {
    color: var(--text);
    line-height: 1.35;
    margin: 0 0 .6em;
    font-weight: 700;
}

p { margin: 0 0 1em; }

ul, ol { padding-left: 1.4em; }

::selection { background: rgba(245, 179, 1, .32); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #b3bfd1; }

/* =========================================================
   容器 / 通用
   ========================================================= */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 64px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head .eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(245, 179, 1, .10);
    border: 1px solid rgba(245, 179, 1, .25);
    padding: 5px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.section-head h2 em {
    font-style: normal;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-head p { color: var(--text-muted); font-size: 15.5px; }

/* =========================================================
   按钮 / 徽章 / 表单
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    text-decoration: none;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-gold {
    background: var(--grad-gold);
    color: #201400;
    box-shadow: var(--glow-gold);
}
.btn-gold:hover { color: #201400; transform: translateY(-2px); box-shadow: 0 0 34px rgba(245, 179, 1, .45); }

.btn-blue {
    background: var(--grad-blue);
    color: #fff;
    box-shadow: var(--glow-blue);
}
.btn-blue:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 34px rgba(61, 123, 253, .5); }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--accent-2); border-color: var(--accent); transform: translateY(-2px); }

/* 青色描边按钮（Hero 第三按钮：购买积分） */
.btn-cyan {
    background: rgba(34, 211, 238, .08);
    color: var(--cyan);
    border: 1px solid rgba(34, 211, 238, .45);
}
.btn-cyan:hover { color: #fff; border-color: var(--cyan); background: rgba(34, 211, 238, .18); transform: translateY(-2px); box-shadow: var(--glow-blue); }

.btn-sm { padding: 8px 18px; font-size: 13.5px; }
.btn-lg { padding: 15px 38px; font-size: 16px; }

.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.badge-gold { background: rgba(245, 179, 1, .14); color: var(--accent-2); border: 1px solid rgba(245, 179, 1, .3); }
.badge-blue { background: rgba(61, 123, 253, .10); color: var(--blue); border: 1px solid rgba(61, 123, 253, .3); }
.badge-green { background: rgba(52, 211, 153, .12); color: var(--success); border: 1px solid rgba(52, 211, 153, .3); }

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="number"], input[type="tel"], input[type="date"],
select, textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 14.5px;
    transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 179, 1, .14);
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
label { font-weight: 600; color: var(--text); }

/* =========================================================
   顶部栏 + 页头导航
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(23, 32, 47, .10); }

.topbar {
    background: linear-gradient(90deg, #eef2f7, #e6ebf3);
    border-bottom: 1px solid var(--border-soft);
    font-size: 12.5px;
    color: var(--text-muted);
    display: none;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 34px; }
.topbar a { color: var(--text-muted); margin-right: 16px; }
.topbar a:hover { color: var(--accent-2); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: clamp(10px, 2vw, 24px);
}

.site-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.site-logo img { max-height: 44px; width: auto; display: block; }
.site-title {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text);
    line-height: 1.15;
}
.site-title .dot { color: var(--accent); }
.site-tagline { font-size: 11px; color: var(--text-dim); letter-spacing: 1px; }

.main-nav { display: flex; align-items: center; flex: 1; justify-content: flex-end; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(2px, 0.4vw, 4px); flex-shrink: 1; min-width: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a {
    display: block;
    padding: 10px clamp(8px, 1.1vw, 16px);
    border-radius: 10px;
    color: var(--text);
    font-size: clamp(13px, 1.15vw, 15px);
    font-weight: 500;
    white-space: nowrap;
    transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--accent-2); background: rgba(245, 179, 1, .07); }
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--accent-2); }
.main-nav .current-menu-item > a::after {
    content: "";
    display: block;
    height: 2px;
    width: 60%;
    margin: 3px auto 0;
    background: var(--grad-gold);
    border-radius: 2px;
}

/* 下拉菜单 */
.main-nav li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
    z-index: 200;
}
.main-nav li:hover > ul.sub-menu { display: block; }
.main-nav li ul.sub-menu a { padding: 9px 14px; font-size: 14px; border-radius: 7px; }
.main-nav li ul.sub-menu .current-menu-item > a { color: var(--accent-2); }

/* 头部操作区：搜索、购物车、积分徽章 */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.header-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 17px;
    transition: border-color .2s, color .2s, transform .2s;
}
.header-icon:hover { color: var(--accent-2); border-color: var(--accent); transform: translateY(-2px); }
.header-icon .cart-count {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--grad-gold);
    color: #201400;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* 登录/注册按钮 */
.auth-btns { display: flex; gap: 8px; align-items: center; }
.auth-btns .btn { padding: 9px 20px; font-size: 14px; }

/* 积分徽章（插件注入） */
.bcmc-nav-points { list-style: none; }
.bcmc-points-badge {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin-left: 8px;
    padding: 7px 16px !important;
    border-radius: 999px !important;
    background: rgba(245, 179, 1, .12) !important;
    border: 1px solid rgba(245, 179, 1, .35) !important;
    color: var(--accent-2) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    box-shadow: inset 0 0 14px rgba(245, 179, 1, .08);
    transition: transform .2s, box-shadow .2s;
}
.bcmc-points-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-gold);
    color: var(--accent-2) !important;
}

/* 移动端导航开关 */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   Hero 主视觉轮播
   ========================================================= */
.hero { position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; }
.hero-slides { position: relative; width: 100%; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s;
    display: flex;
    align-items: center;
    min-height: 560px;
}
.hero-slide.active { opacity: 1; visibility: visible; position: relative; }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg.grad-1 { background: linear-gradient(115deg, #eef3fb 0%, #dbe7f7 45%, #c6d9f4 100%); }
.hero-bg.grad-2 { background: linear-gradient(115deg, #f3eefb 0%, #e5dcf5 45%, #d5c8ef 100%); }
.hero-bg.grad-3 { background: linear-gradient(115deg, #eef9f2 0%, #ddf2e7 45%, #c9e8d8 100%); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, .08) 100%),
        linear-gradient(0deg, rgba(255, 255, 255, .38), transparent 40%);
}

.hero-content { position: relative; z-index: 2; max-width: 640px; padding: 60px 0; }
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 179, 1, .12);
    border: 1px solid rgba(245, 179, 1, .3);
    color: var(--accent-2);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 22px;
}
.hero-content h1 {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: .5px;
}
.hero-content h1 .grad {
    background: linear-gradient(135deg, #d98f00 0%, #ff7a00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content .lead { color: var(--text-muted); font-size: 17px; margin-bottom: 34px; max-width: 520px; }
/* Hero 按钮组：三个按钮始终一行，空间不足时自动缩小 */
.hero-btns {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: 100%;
    max-width: 600px;
}
.hero-btns .btn {
    flex: 1 1 0;
    min-width: 0;
    white-space: nowrap;
    padding: 12px 16px;
    font-size: 14.5px;
}

.hero-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}
.hero-dots button {
    width: 26px;
    height: 5px;
    border-radius: 4px;
    border: none;
    background: rgba(23, 32, 47, .18);
    cursor: pointer;
    transition: background .3s, width .3s;
}
.hero-dots button.active { background: var(--accent); width: 40px; }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(23, 32, 47, .22);
    background: rgba(255, 255, 255, .8);
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.hero-arrow:hover { background: rgba(245, 179, 1, .2); border-color: var(--accent); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }

/* 头部搜索栏 */
.header-search { display: none; border-top: 1px solid var(--border-soft); background: var(--bg-alt); padding: 14px 0; }
.header-search.open { display: block; animation: fadeUp .3s ease; }

/* 无障碍（屏幕阅读器） */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* 浮动装饰 */
.hero::before {
    content: "";
    position: absolute;
    top: -140px;
    right: -140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 123, 253, .22), transparent 65%);
    z-index: 1;
    pointer-events: none;
}

/* 首页速览条 */
.hero-stats {
    position: relative;
    z-index: 3;
    margin-top: -1px;
    background: var(--grad-surface);
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.hero-stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.hero-stat { text-align: center; }
.hero-stat .num {
    font-family: var(--font-num);
    font-size: 30px;
    font-weight: 800;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-stat .label { color: var(--text-muted); font-size: 13px; margin-top: 2px; }

/* =========================================================
   商品网格
   ========================================================= */
.product-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.product-tab {
    padding: 9px 24px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.product-tab:hover { color: var(--text); border-color: var(--accent); }
.product-tab.active {
    background: var(--grad-gold);
    color: #201400;
    border-color: transparent;
    box-shadow: var(--glow-gold);
}
.product-panel { display: none; }
.product-panel.active { display: block; animation: fadeUp .5s ease; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--grad-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .28s ease, border-color .28s, box-shadow .28s;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 179, 1, .4);
    box-shadow: var(--shadow), var(--glow-gold);
}

.product-card .thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--surface); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .thumb img { transform: scale(1.07); }

.product-card .flags { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.product-card .flag {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
}
.flag-hot { background: linear-gradient(135deg, #ff5c5c, #ff9a3d); color: #fff; }
.flag-new { background: linear-gradient(135deg, #22d3ee, #3d7bfd); color: #fff; }
.flag-featured { background: var(--grad-gold); color: #201400; }

.product-card .body { display: flex; flex-direction: column; gap: 10px; padding: 16px; flex: 1; }
.product-card .cat { font-size: 11.5px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card .cat a { color: inherit; }
.product-card .cat a:hover { color: var(--accent-2); }
.product-card .name { font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--text); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(1.55em * 2); }
.product-card .name a { color: inherit; }
.product-card .name a:hover { color: var(--accent-2); }

.product-card .meta-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 10px; }
.product-card .prices { display: flex; flex-direction: column; min-width: 0; }

.price { font-family: var(--font-num); font-weight: 800; }
.product-card .price { font-size: 20px; color: var(--accent-2); }
.product-card .price del { color: var(--text-dim); font-size: 13px; font-weight: 500; margin-right: 6px; }
.product-card .price ins { text-decoration: none; }

.points-price {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-num);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dim);
    margin-top: 3px;
    white-space: nowrap;
}
.points-price::before { content: "🪙"; font-size: 10px; }

.add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: #201400;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform .2s, box-shadow .2s;
}
.add-to-cart-btn:hover { transform: translateY(-2px); box-shadow: var(--glow-gold); color: #201400; }
.add-to-cart-btn.added::after { content: "✓"; }

/* 商店按钮（WC 默认钩子输出） */
.product-card .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--grad-blue);
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 600;
    transition: transform .2s, box-shadow .2s;
}
.product-card .button:hover { transform: translateY(-2px); box-shadow: var(--glow-blue); }
.product-card .button.added { background: var(--success); }

/* 查看更多 */
.grid-more { text-align: center; margin-top: 44px; }

/* =========================================================
   积分规则区
   ========================================================= */
.points-zone { position: relative; overflow: hidden; }
.points-zone::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(800px 360px at 20% 20%, rgba(245, 179, 1, .10), transparent 60%),
        radial-gradient(700px 360px at 90% 80%, rgba(61, 123, 253, .12), transparent 60%);
    pointer-events: none;
}

.points-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; position: relative; }

.points-card {
    background: var(--grad-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 30px;
    transition: border-color .25s, transform .25s;
}
.points-card:hover { border-color: rgba(245, 179, 1, .35); transform: translateY(-4px); }

.points-card h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 20px; }
.points-card h3 .ico {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(245, 179, 1, .12);
    border: 1px solid rgba(245, 179, 1, .25);
    font-size: 19px;
}

.points-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.points-list li { display: flex; gap: 12px; align-items: flex-start; }
.points-list .step {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--grad-gold);
    color: #201400;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.points-list .t { font-weight: 600; color: var(--text); }
.points-list .d { color: var(--text-muted); font-size: 13.5px; }

.rate-box {
    margin-top: 22px;
    background: linear-gradient(135deg, rgba(245, 179, 1, .14), rgba(255, 138, 0, .06));
    border: 1px dashed rgba(245, 179, 1, .4);
    border-radius: var(--radius-sm);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.rate-box .rate-num { font-family: var(--font-num); font-size: 26px; font-weight: 800; color: var(--accent-2); }
.rate-box .rate-tip { color: var(--text-muted); font-size: 13px; }

/* =========================================================
   会员权益区
   ========================================================= */
.membership-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.member-card {
    position: relative;
    background: var(--grad-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.member-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: var(--shadow); }
.member-card.diamond { border-color: rgba(245, 179, 1, .45); }
.member-card.diamond:hover { box-shadow: var(--shadow), var(--glow-gold); }

.member-card .tier-ico { font-size: 40px; margin-bottom: 14px; display: block; }
.member-card h3 { font-size: 19px; margin-bottom: 6px; }
.member-card .tier-tag { font-size: 12px; color: var(--text-dim); display: block; margin-bottom: 16px; }
.member-card ul { list-style: none; margin: 0; padding: 0; text-align: left; display: grid; gap: 9px; }
.member-card li { font-size: 13.5px; color: var(--text-muted); display: flex; gap: 8px; align-items: flex-start; }
.member-card li::before { content: "✦"; color: var(--accent); flex-shrink: 0; }

/* =========================================================
   新闻公告区
   ========================================================= */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.news-card {
    background: var(--grad-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .25s, border-color .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); border-color: rgba(61, 123, 253, .4); box-shadow: var(--shadow); }

.news-card .nthumb { height: 170px; overflow: hidden; background: var(--surface-2); }
.news-card .nthumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .nthumb img { transform: scale(1.06); }
.news-card .nthumb.noimg { display: flex; align-items: center; justify-content: center; font-size: 40px; }

.news-card .nbody { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card .ndate { font-size: 12.5px; color: var(--text-dim); font-family: var(--font-num); }
.news-card .ndate::before { content: "📅 "; font-family: var(--font-main); }
.news-card h3 { font-size: 16.5px; line-height: 1.5; margin: 0; }
.news-card h3 a { color: var(--text); }
.news-card h3 a:hover { color: var(--accent-2); }
.news-card .nexcerpt { color: var(--text-muted); font-size: 13.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .nmore { margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--cyan); }

/* =========================================================
   关于 / CTA 区
   ========================================================= */
.about-zone .container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 340px;
    background: var(--grad-surface);
    border: 1px solid var(--border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-visual .big-emoji { font-size: 110px; filter: drop-shadow(0 0 30px rgba(245, 179, 1, .4)); }
.about-visual::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 123, 253, .2), transparent 65%);
    animation: floaty 6s ease-in-out infinite;
}

.about-text h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.about-text h2 em { font-style: normal; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about-text p { color: var(--text-muted); }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.about-stat { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.about-stat .num { font-family: var(--font-num); font-size: 24px; font-weight: 800; color: var(--accent-2); }
.about-stat .label { font-size: 12.5px; color: var(--text-dim); }

.cta-strip {
    background: var(--grad-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-top: 84px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: "";
    position: absolute;
    inset: -60% -20%;
    background: radial-gradient(600px 240px at 50% 0%, rgba(245, 179, 1, .14), transparent 65%);
    pointer-events: none;
}
.cta-strip h2 { font-size: clamp(22px, 3vw, 32px); margin-bottom: 10px; }
.cta-strip p { color: var(--text-muted); margin-bottom: 26px; }
.cta-strip .btn { position: relative; }

/* =========================================================
   页脚
   ========================================================= */
.site-footer {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-soft);
    padding-top: 64px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-col h4 { font-size: 15.5px; margin-bottom: 18px; letter-spacing: 1px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.footer-col p, .footer-col li { color: var(--text-muted); font-size: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--accent-2); }
.footer-about .site-title { margin-bottom: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { flex-shrink: 0; }

.footer-bottom {
    border-top: 1px solid var(--border-soft);
    padding: 20px 0;
    font-size: 13px;
    color: var(--text-dim);
}
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--accent-2); }

/* =========================================================
   通用文章 / 页面 / 归档 / 搜索 / 404
   ========================================================= */
.page-hero {
    background: var(--grad-surface);
    border-bottom: 1px solid var(--border-soft);
    padding: 56px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 640px;
    height: 260px;
    background: radial-gradient(ellipse, rgba(61, 123, 253, .16), transparent 65%);
}
.page-hero h1 { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 8px; position: relative; }
.page-hero .crumbs { color: var(--text-dim); font-size: 13.5px; position: relative; }
.page-hero .crumbs a { color: var(--text-muted); }
.page-hero .crumbs a:hover { color: var(--accent-2); }

.content-wrap { padding: 64px 0; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }

.entry { background: var(--grad-surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 40px; }

/* 会社概要页排版 */
.page-id-53 .content-layout { grid-template-columns: minmax(0, 1fr); }
.page-id-53 .content-layout .widget-area { display: none; }

/* 特定商取引法表 */
.tokutei-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14px; }
.tokutei-table th, .tokutei-table td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; }
.tokutei-table th { background: var(--surface-2); color: var(--text); width: 30%; white-space: nowrap; font-weight: 600; }
.tokutei-table td { color: var(--text-muted); line-height: 1.8; }

/* 页脚支付方式 */
.footer-payments { border-top: 1px solid var(--border-soft); padding: 16px 0; background: var(--bg-alt); }
.footer-payments .container { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pay-label { font-size: 13px; color: var(--text-muted); }
.pay-badge { display: inline-block; border: 1px solid var(--border); border-radius: 6px; padding: 5px 12px; font-size: 12.5px; color: var(--text); background: var(--surface); }

/* 会社概要页排版 */
.about-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.about-info-item { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; }
.about-info-item span { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; letter-spacing: .5px; }
.about-info-item strong { font-size: 15px; color: var(--text); font-weight: 600; line-height: 1.6; }
.about-section-title { margin-top: 30px; font-size: 20px; }
.about-section { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 16px; color: var(--text-muted); font-size: 14px; line-height: 1.9; }
.about-section h4 { color: var(--text); margin: 14px 0 8px; font-size: 15.5px; }
.about-section ul { margin: 0 0 12px; padding-left: 20px; }
.about-section li { margin-bottom: 8px; }
.about-note { margin-top: 24px; padding: 16px 20px; background: rgba(61, 123, 253, .06); border: 1px dashed rgba(61, 123, 253, .35); border-radius: var(--radius-sm); color: var(--text-muted); font-size: 13.5px; }
@media (max-width: 640px) { .about-info-grid { grid-template-columns: 1fr; } }

/* 联系页排版 */
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 26px 0; }
.contact-method { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.contact-method-ico { display: inline-flex; width: 54px; height: 54px; margin-bottom: 12px; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: 50%; font-size: 24px; }
.contact-method h3 { margin: 0 0 10px; }
.contact-method p { color: var(--text-muted); font-size: 14px; margin: 0 0 14px; line-height: 1.7; }
.contact-qr { width: 230px; height: 230px; object-fit: contain; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border-soft); padding: 8px; margin-bottom: 16px; }
.contact-email { font-family: var(--font-num); font-size: 18px !important; font-weight: 700; }
.contact-email a { color: var(--blue); }
.contact-warning { margin-top: 30px; padding: 26px 28px; background: rgba(239, 68, 68, .06); border: 1px dashed rgba(239, 68, 68, .35); border-radius: var(--radius); }
.contact-warning h3 { color: var(--danger); margin: 0 0 14px; }
.contact-warning p { color: var(--text-muted); font-size: 14px; margin: 0 0 10px; line-height: 1.8; }
.contact-warning p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .contact-methods { grid-template-columns: 1fr; } }
.entry h1, .entry h2, .entry h3 { margin-top: 1.2em; }
.entry h1:first-child, .entry h2:first-child { margin-top: 0; }
.entry img { border-radius: var(--radius-sm); }
.entry blockquote {
    margin: 1.5em 0;
    padding: 14px 20px;
    border-left: 3px solid var(--accent);
    background: rgba(245, 179, 1, .06);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-muted);
}
.entry table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.entry th, .entry td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.entry th { background: var(--surface-2); }
.entry code { background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 5px; padding: 2px 7px; font-size: .9em; font-family: var(--font-num); }
.entry pre { background: #f6f8fb; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; overflow: auto; }
.entry pre code { background: none; border: none; padding: 0; }

/* 文章列表卡片 */
.post-card {
    background: var(--grad-surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 26px;
    margin-bottom: 22px;
    transition: transform .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-4px); border-color: rgba(61, 123, 253, .35); }
.post-card .meta { font-size: 13px; color: var(--text-dim); display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.post-card h2 { font-size: 21px; margin: 0 0 10px; }
.post-card h2 a { color: var(--text); }
.post-card h2 a:hover { color: var(--accent-2); }
.post-card p { color: var(--text-muted); font-size: 14.5px; margin: 0 0 14px; }

/* 分页 */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}
.pagination .page-numbers.current { background: var(--grad-gold); color: #201400; border-color: transparent; }
.pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent-2); }

/* 404 */
.error-404 { text-align: center; padding: 90px 0; }
.error-404 .code {
    font-family: var(--font-num);
    font-size: clamp(80px, 12vw, 150px);
    font-weight: 800;
    background: var(--grad-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}
.error-404 .search-404 { max-width: 460px; margin: 26px auto 0; display: flex; gap: 10px; }

/* 搜索表单 */
.search-form { display: flex; gap: 10px; }
.search-form .search-field { flex: 1; }
.search-form .search-submit {
    padding: 0 22px;
    border-radius: var(--radius-sm);
    background: var(--grad-gold);
    color: #201400;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

/* 评论区 */
.comments-area { margin-top: 36px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list .comment-body { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 14px; }
.comment-list .comment-meta { font-size: 13px; color: var(--text-dim); margin-bottom: 8px; }
.comment-list .comment-author { font-weight: 700; color: var(--text); margin-right: 8px; }
.comment-form label { display: block; margin: 12px 0 6px; }
.comment-form input[type="submit"] {
    margin-top: 16px;
    padding: 12px 30px;
    border: none;
    border-radius: 999px;
    background: var(--grad-blue);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
}

/* 侧边栏 */
.widget { background: var(--grad-surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 24px; margin-bottom: 22px; }
.widget-title { font-size: 16px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border-soft); position: relative; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--grad-gold); border-radius: 2px; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.widget li a { color: var(--text-muted); font-size: 14px; }
.widget li a:hover { color: var(--accent-2); }
.widget .tagcloud a { display: inline-block; margin: 0 6px 8px 0; padding: 4px 12px; background: var(--surface-2); border: 1px solid var(--border-soft); border-radius: 999px; font-size: 12.5px !important; color: var(--text-muted); }
.widget .tagcloud a:hover { color: var(--accent-2); border-color: var(--accent); }

/* =========================================================
   WooCommerce
   ========================================================= */
.woocommerce .content-wrap .container { max-width: var(--container); }

/* 归档头部（分类/搜索页） */
.woocommerce-products-header { text-align: center; padding: 26px 0 10px; }
.woocommerce-products-header .page-title { font-size: 32px; }
.term-description { color: var(--text-muted); text-align: center; margin-bottom: 30px; }

/* 排序栏 */
.woocommerce-result-count { color: var(--text-muted); font-size: 13.5px; }
.woocommerce-ordering select { width: auto; padding: 8px 34px 8px 14px; }

.woocommerce .products ul,
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; margin: 0 0 30px; padding: 0; }
.woocommerce ul.products li.product { background: var(--grad-surface); border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; transition: transform .28s, border-color .28s, box-shadow .28s; width: auto !important; margin: 0 !important; float: none !important; }
.woocommerce ul.products li.product:hover { transform: translateY(-6px); border-color: rgba(245, 179, 1, .4); box-shadow: var(--shadow); }
.woocommerce ul.products li.product a { color: var(--text); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15.5px; padding: 0 16px; margin: 0 0 6px; font-weight: 600; color: var(--text); }
.woocommerce ul.products li.product .price { padding: 0 16px; font-family: var(--font-num); font-weight: 800; font-size: 19px; color: var(--accent-2); }
.woocommerce ul.products li.product .price del { color: var(--text-dim); font-size: 13px; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product img { width: 100%; aspect-ratio: 1; object-fit: cover; margin: 0; border-radius: 0; transition: transform .5s ease; }
.woocommerce ul.products li.product:hover img { transform: scale(1.06); }
.woocommerce ul.products li.product .thumb { position: relative; overflow: hidden; }
.woocommerce ul.products li.product .thumb img { aspect-ratio: 1; }
.woocommerce ul.products li.product .flags { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.woocommerce ul.products li.product .button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 12px 16px 16px;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--grad-blue);
    color: #fff !important;
    font-size: 13.5px;
    font-weight: 600;
}
.woocommerce ul.products li.product .button:hover { box-shadow: var(--glow-blue); }
.woocommerce ul.products li.product .button.added { background: var(--success); }
.woocommerce ul.products li.product .button.loading { opacity: .7; }

/* 商品详情页 */
.single-product .entry { background: none; border: none; padding: 0; }
.woocommerce div.product { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; background: none; }
.woocommerce div.product .woocommerce-product-gallery { width: 100% !important; margin: 0; }
.woocommerce div.product .woocommerce-product-gallery img { border-radius: var(--radius); border: 1px solid var(--border-soft); }

/* 商品画廊缩略图：横向水平网格，从左向右依次排列 */
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li {
    margin: 0;
    line-height: 0;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-soft);
    opacity: .55;
    transition: opacity .2s, border-color .2s;
    cursor: pointer;
}
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs li img:hover {
    opacity: 1;
    border-color: var(--accent);
}

/* 移动端：缩略图每行 3 个 */
@media (max-width: 640px) {
    .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

/* 移动端：Hero 按钮进一步缩小 */
@media (max-width: 640px) {
    .hero-btns { gap: 8px; }
    .hero-btns .btn { padding: 10px 8px; font-size: 13px; }
}
.woocommerce div.product .summary { width: 100% !important; margin: 0; }
.woocommerce div.product .product_title { font-size: 28px; margin-bottom: 12px; }
.woocommerce div.product .price { font-family: var(--font-num); font-size: 30px; font-weight: 800; color: var(--accent-2); }
.woocommerce div.product .price del { color: var(--text-dim); font-size: 17px; }
.woocommerce div.product .price ins { text-decoration: none; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--text-muted); margin: 16px 0; }
.woocommerce div.product .product_meta { border-top: 1px solid var(--border-soft); margin-top: 24px; padding-top: 16px; font-size: 13.5px; color: var(--text-dim); }
.woocommerce div.product .product_meta a { color: var(--text-muted); }

.woocommerce div.product form.cart { display: flex; gap: 12px; margin: 22px 0; flex-wrap: wrap; align-items: center; }
.woocommerce div.product form.cart .quantity { display: inline-flex; align-items: center; }
.woocommerce div.product form.cart .qty {
    width: 90px;
    height: 46px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font-num);
    font-size: 16px;
}
.woocommerce div.product form.cart .single_add_to_cart_button {
    height: 46px;
    padding: 0 34px;
    border: none;
    border-radius: 999px;
    background: var(--grad-gold);
    color: #201400;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.woocommerce div.product form.cart .single_add_to_cart_button:hover { transform: translateY(-2px); box-shadow: var(--glow-gold); }

/* 积分等价价（主题注入） */
.bcmc-points-equivalent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 4px 0 10px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(34, 211, 238, .1);
    border: 1px solid rgba(34, 211, 238, .3);
    color: var(--cyan);
    font-size: 14px;
    font-weight: 600;
}
.bcmc-points-equivalent strong { font-family: var(--font-num); font-size: 16px; }

/* 标签页 */
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 20px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { list-style: none; margin: 0 0 20px; padding: 0; display: flex; gap: 8px; border-bottom: 1px solid var(--border); }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: none; margin: 0; padding: 0; border-radius: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, 
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 22px; color: var(--text-muted); font-weight: 600; border-radius: 10px 10px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--accent-2); background: var(--surface); box-shadow: inset 0 -2px 0 var(--accent); }
.woocommerce div.product .woocommerce-tabs .panel { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 26px; color: var(--text-muted); }

/* 相关商品 */
/* 商品页：在庫徽章 */
/* 结算/购物车合计：到账点数行 */
.bcmc-credit-row th { color: var(--text-muted); }
.bcmc-credit-row td strong { color: var(--accent-2); font-family: var(--font-num); font-size: 16px; }

.bcmc-stock { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 10px; padding: 4px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.bcmc-stock.in-stock { background: rgba(16, 185, 129, .12); border: 1px solid rgba(16, 185, 129, .35); color: var(--success); }
.bcmc-stock.backorder { background: rgba(245, 179, 1, .12); border: 1px solid rgba(245, 179, 1, .4); color: var(--accent-2); }
.bcmc-stock.out-of-stock { background: rgba(239, 68, 68, .1); border: 1px solid rgba(239, 68, 68, .35); color: var(--danger); }

/* 商品页：评分 */
.bcmc-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 13.5px; }
.bcmc-product-rating .stars { color: #f5b301; font-size: 15px; letter-spacing: 1px; }
.bcmc-product-rating .num { color: var(--text-muted); }

/* 商品页：よくある質問 */
.bcmc-product-faq { margin-top: 56px; grid-column: 1 / -1; width: 100%; }
.bcmc-faq-list { margin: 0; }
.bcmc-faq-item { display: flex; flex-direction: row; align-items: flex-start; gap: 24px; border-bottom: 1px solid var(--border); padding: 18px 0; }
.bcmc-faq-item:last-child { border-bottom: none; }
.faq-q { width: 35%; flex-shrink: 0; font-weight: 700; color: var(--text); font-size: 15px; line-height: 1.6; padding-right: 10px; }
.faq-a { width: 65%; color: var(--text-muted); font-size: 14px; line-height: 1.8; }
.faq-mark { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: var(--grad-gold); color: #201400; font-size: 12px; font-weight: 800; margin-right: 8px; flex-shrink: 0; }
/* 搜索页 */
/* 搜索结果商品网格：4 个一排，与页面其它区块对齐 */
.search-results ul.products.columns-4,
.search-results .site-main ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    list-style: none;
    margin: 0 0 30px;
    padding: 0;
}
.search-results ul.products > li.product { margin: 0; width: auto; }
@media (max-width: 1024px) { .search-results ul.products.columns-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .search-results ul.products.columns-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.search-section-title { font-size: 20px; margin: 0 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--grad-gold); display: inline-block; }
.search-section-title + .products { margin-top: 6px; }
.search-empty { color: var(--text-muted); padding: 14px 0 8px; }
.search-news-list { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.search-news-list .post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.search-news-list .post-card h3 { margin: 0 0 8px; font-size: 16px; }
.search-news-list .post-card h3 a { color: var(--text); }
.search-news-list .post-card h3 a:hover { color: var(--accent-2); }
.search-news-list .post-card .meta { color: var(--text-dim); font-size: 12.5px; margin-bottom: 8px; }
.search-news-list .post-card p { color: var(--text-muted); font-size: 14px; margin: 0; line-height: 1.8; }

.bcmc-faq-more { margin-top: 22px; text-align: center; }
@media (max-width: 640px) {
    .bcmc-faq-item { flex-direction: column; gap: 8px; }
    .faq-q, .faq-a { width: 100%; padding-right: 0; }
}

/* 相关商品/追加销售：跨满 div.product 双栏网格，与上方标签页等区块对齐 */
.related.products, .upsells.products { margin-top: 56px; grid-column: 1 / -1; width: 100%; }

/* 相关商品固定卡位：空卡位占位（网格保持完整） */
.product-card--placeholder {
    background: var(--surface);
    border: 1px dashed var(--border);
}
.product-card--placeholder .thumb {
    aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, .02);
    border-bottom: 1px dashed var(--border);
}
.product-card--placeholder .body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    color: var(--text-dim);
    font-size: 13px;
    letter-spacing: 1px;
}
.product-card--placeholder:hover { transform: none; box-shadow: none; border-color: var(--border); }
.related.products > h2, .upsells.products > h2 { font-size: 24px; margin-bottom: 24px; }


/* 购物车 */
.woocommerce table.shop_table { border: 1px solid var(--border); border-radius: var(--radius); border-collapse: collapse; background: var(--surface); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border: 1px solid var(--border-soft); padding: 14px; color: var(--text); }
.woocommerce table.shop_table th { background: var(--surface-2); font-weight: 600; }
.woocommerce table.shop_table td.product-name a { color: var(--text); }
.woocommerce table.shop_table td.product-name a:hover { color: var(--accent-2); }
.woocommerce table.shop_table .product-quantity .qty { width: 70px; height: 38px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; color: var(--text); text-align: center; }
.woocommerce table.shop_table a.remove { color: var(--danger) !important; border-radius: 50%; width: 26px; height: 26px; line-height: 24px; }

.woocommerce .cart_totals { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }

/* 迷你购物车 widget（侧边栏） */
.widget_shopping_cart_content ul.woocommerce-mini-cart.cart_list { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; }
.widget_shopping_cart_content ul.woocommerce-mini-cart.cart_list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-soft); font-size: 13px; }
.widget_shopping_cart_content ul.woocommerce-mini-cart.cart_list li a { color: var(--text); }
.widget_shopping_cart_content ul.woocommerce-mini-cart.cart_list li img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.widget_shopping_cart_content ul.woocommerce-mini-cart.cart_list li .quantity { color: var(--text-muted); }
.widget_shopping_cart_content ul.woocommerce-mini-cart.cart_list li a.remove { margin-left: auto; color: var(--danger); text-decoration: none; font-size: 16px; flex-shrink: 0; }
.widget_shopping_cart_content .woocommerce-mini-cart__total { padding: 12px 0 4px; text-align: right; font-size: 14px; }
.widget_shopping_cart_content .woocommerce-mini-cart__total strong { font-size: 16px; color: var(--accent-2); font-family: var(--font-num); }
/* 迷你购物车按钮：垂直堆叠、占满整行、互不重叠 */
.widget_shopping_cart_content .woocommerce-mini-cart__buttons { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 0; padding: 0; }
.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button { display: block; width: 100%; text-align: center; padding: 12px 16px; border: none; border-radius: 999px; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button.wc-forward { background: var(--grad-blue); color: #fff; }
.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button.wc-forward:hover { box-shadow: var(--glow-blue); color: #fff; }
.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button.checkout { background: var(--grad-gold); color: #201400; }
.widget_shopping_cart_content .woocommerce-mini-cart__buttons .button.checkout:hover { box-shadow: var(--glow-gold); color: #201400; }
.widget_shopping_cart_content p.woocommerce-mini-cart__empty-message { color: var(--text-muted); font-size: 13.5px; text-align: center; padding: 12px 0; margin: 0; }
.woocommerce .cart_totals h2 { font-size: 20px; margin-bottom: 16px; }
.woocommerce .cart_totals .order-total .amount { color: var(--accent-2); font-family: var(--font-num); font-size: 22px; font-weight: 800; }

.woocommerce .button, .woocommerce button.button, .woocommerce input.button, .woocommerce a.button {
    background: var(--grad-blue);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    padding: 12px 28px;
    transition: transform .2s, box-shadow .2s;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce a.button:hover { background: var(--grad-blue); color: #fff; transform: translateY(-2px); box-shadow: var(--glow-blue); }
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce a.button.alt { background: var(--grad-gold); color: #201400; }
.woocommerce .button.alt:hover, .woocommerce button.button.alt:hover { background: var(--grad-gold); color: #201400; box-shadow: var(--glow-gold); }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: var(--surface-3); color: var(--text-dim); }

/* 结账 */
.woocommerce-checkout #customer_details, .woocommerce-checkout .woocommerce-checkout-review-order { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.woocommerce-checkout h3 { font-size: 18px; margin-bottom: 16px; }
.woocommerce form .form-row { margin: 0 0 16px; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 13.5px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--text); width: 100%; }

/* 支付方式（积分网关） */
.woocommerce #payment { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); }
.woocommerce #payment ul.payment_methods { border-bottom: 1px solid var(--border-soft); padding: 22px; list-style: none; }
.woocommerce #payment ul.payment_methods li { margin-bottom: 14px; }

/* 结算页：銀行振込の振込先情報を常時表示（選択状態に関わらず） */
.woocommerce-checkout #payment ul.payment_methods li.payment_method_bacs .payment_box {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}
.woocommerce #payment div.payment_box { background: var(--bg-alt); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); color: var(--text-muted); }
.woocommerce #payment div.payment_box::before { border-bottom-color: var(--bg-alt); }
.woocommerce #payment .payment_method_points_payment .payment_box { border-color: rgba(245, 179, 1, .3); }

/* 通知（加购成功提示条等）：文本在左、按钮组靠右，按钮保持在一起 */
.woocommerce .woocommerce-message, .woocommerce .woocommerce-info, .woocommerce .woocommerce-error {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    padding: 14px 20px;
}
.woocommerce .woocommerce-message::before { color: var(--success); flex-shrink: 0; line-height: 1; }
.woocommerce .woocommerce-info::before { color: var(--cyan); flex-shrink: 0; line-height: 1; }
.woocommerce .woocommerce-error::before { color: var(--danger); flex-shrink: 0; line-height: 1; }
.woocommerce .woocommerce-message .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-error .button {
    flex-shrink: 0;
    white-space: nowrap;
    margin: 0;
    padding: 8px 18px;
    font-size: 13px;
}
.woocommerce .woocommerce-message .button:first-of-type,
.woocommerce .woocommerce-info .button:first-of-type,
.woocommerce .woocommerce-error .button:first-of-type {
    margin-left: auto;
}

/* 隐藏 WC 订单归因空元素（避免渲染成灰色短条） */
wc-order-attribution-inputs { display: none !important; }

/* 隐藏 WC 自带的密码切换按钮（主题已提供自定义眼睛图标，避免未样式化按钮出现在密码框下方） */
.show-password-input { display: none !important; }

/* 我的账户：密码框眼睛切换 */
.bcmc-pw-wrap { position: relative; display: block; }
.bcmc-pw-wrap input { width: 100%; padding-right: 44px !important; }
.bcmc-pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 18px; line-height: 1; padding: 4px; color: var(--text-dim); }
.bcmc-pw-toggle:hover { color: var(--text); }

/* 我的账户 */
.woocommerce-account .woocommerce-MyAccount-navigation { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; margin-bottom: 24px; }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 9px 16px; border-radius: 9px; color: var(--text-muted); font-size: 14px; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, 
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { background: rgba(245, 179, 1, .1); color: var(--accent-2); }
.woocommerce-account .woocommerce-MyAccount-content { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.woocommerce-account .woocommerce-MyAccount-content > p { color: var(--text-muted); }

/* 空状态 */
.woocommerce .woocommerce-info::before { content: "ℹ"; }

/* =========================================================
   BCMC 积分插件样式适配（深色）
   ========================================================= */

/* 我的积分页（插件内联样式为浅色，此处覆盖） */
.bcmc-my-points-container { background: var(--surface) !important; border: 1px solid var(--border) !important; border-radius: var(--radius) !important; padding: 30px !important; box-shadow: var(--shadow-sm) !important; }
.bcmc-my-points-header { display: flex !important; align-items: center !important; justify-content: space-between !important; margin-bottom: 24px !important; flex-wrap: wrap !important; gap: 14px; }
.bcmc-my-points-header h2 { color: var(--text) !important; font-size: 22px !important; }
.bcmc-my-points-balance { color: var(--text-muted) !important; }
.bcmc-my-points-value { color: var(--accent-2) !important; font-family: var(--font-num) !important; font-size: 26px !important; font-weight: 800 !important; }
.bcmc-my-points-stats { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 14px !important; margin-bottom: 24px !important; }
.bcmc-my-points-stat { background: var(--surface-2) !important; border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important; padding: 16px !important; text-align: center !important; }
.bcmc-my-points-stat-label { color: var(--text-muted) !important; font-size: 12.5px !important; }
.bcmc-my-points-stat-value { color: var(--accent-2) !important; font-family: var(--font-num) !important; font-size: 19px !important; font-weight: 800 !important; }
.bcmc-my-points-history h3 { color: var(--text) !important; font-size: 17px !important; }
.bcmc-my-points-log-table { width: 100% !important; border-collapse: collapse !important; background: var(--surface-2) !important; border: 1px solid var(--border) !important; border-radius: var(--radius-sm) !important; overflow: hidden !important; }
.bcmc-my-points-log-table th, .bcmc-my-points-log-table td { border: 1px solid var(--border-soft) !important; padding: 12px 14px !important; color: var(--text) !important; }
.bcmc-my-points-log-table th { background: var(--surface-3) !important; color: var(--text) !important; }
.bcmc-my-points-log-table tr:hover { background: rgba(245, 179, 1, .05) !important; }
.bcmc-my-points-log-table .change-positive { color: var(--success) !important; font-family: var(--font-num) !important; font-weight: 700 !important; }
.bcmc-my-points-log-table .change-negative { color: var(--danger) !important; font-family: var(--font-num) !important; font-weight: 700 !important; }
.bcmc-my-points-log-table .no-logs { color: var(--text-dim) !important; text-align: center !important; }

/* 积分购买页（插件浅色模板覆盖为深色） */
.bcmc-buy-points-page { background: var(--surface) !important; border: 1px solid var(--border) !important; border-radius: var(--radius) !important; box-shadow: var(--shadow) !important; }
.bcmc-buy-points-page h1 { color: var(--text) !important; }
.bcmc-buy-points-page .subtitle { color: var(--text-muted) !important; }
.bcmc-buy-points-form { background: var(--surface-2) !important; border: 1px solid var(--border-soft) !important; }
.bcmc-buy-points-form label { color: var(--text) !important; }
.bcmc-buy-points-form select, .bcmc-buy-points-form input[type="number"] { background: var(--bg) !important; border: 1px solid var(--border) !important; color: var(--text) !important; }
.bcmc-buy-points-form select:focus, .bcmc-buy-points-form input:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px rgba(245, 179, 1, .14) !important; }
.bcmc-buy-points-summary { background: linear-gradient(135deg, #3d7bfd 0%, #764ba2 100%) !important; }
.bcmc-buy-points-summary .price { font-family: var(--font-num) !important; }
.bcmc-buy-points-btn { background: linear-gradient(135deg, #f5b301 0%, #ff8a00 100%) !important; color: #201400 !important; }
.bcmc-buy-points-btn:hover { box-shadow: 0 6px 20px rgba(245, 179, 1, .4) !important; }
.bcmc-buy-points-msg.success { background: rgba(52, 211, 153, .15) !important; color: var(--success) !important; border: 1px solid rgba(52, 211, 153, .3) !important; }
.bcmc-buy-points-msg.error { background: rgba(248, 113, 113, .15) !important; color: var(--danger) !important; border: 1px solid rgba(248, 113, 113, .3) !important; }
.bcmc-current-points { background: rgba(245, 179, 1, .1) !important; border: 1px dashed rgba(245, 179, 1, .35) !important; }
.bcmc-current-points strong { color: var(--accent-2) !important; font-family: var(--font-num) !important; font-size: 24px !important; }
.bcmc-my-points-shortcode { color: var(--accent-2) !important; font-weight: 800 !important; }

/* =========================================================
   页面模板（关于 / 联系 / 兑换说明）
   ========================================================= */

/* 关于我们 */
.about-page .about-visual { min-height: 380px; }
.about-milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 46px; }
.mile-card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 24px; text-align: center; }
.mile-card .year { font-family: var(--font-num); font-size: 26px; font-weight: 800; color: var(--accent-2); margin-bottom: 6px; }
.mile-card .desc { color: var(--text-muted); font-size: 13.5px; }

/* 联系我们 */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 22px; }
.contact-card .ico { flex-shrink: 0; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 13px; background: rgba(245, 179, 1, .1); border: 1px solid rgba(245, 179, 1, .25); font-size: 21px; }
.contact-card h4 { margin: 0 0 4px; font-size: 15.5px; }
.contact-card p { margin: 0; color: var(--text-muted); font-size: 14px; }
.contact-form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.contact-form-wrap h3 { margin-bottom: 22px; }
.contact-form .form-row { margin-bottom: 16px; }
.contact-form label { display: block; margin-bottom: 7px; font-size: 13.5px; }
.contact-form input[type="submit"] { margin-top: 6px; padding: 13px 36px; border: none; border-radius: 999px; background: var(--grad-gold); color: #201400; font-size: 15px; font-weight: 700; cursor: pointer; }
.contact-note { font-size: 12.5px; color: var(--text-dim); margin-top: 12px; }

/* 兑换说明 */
.exchange-faq { display: grid; gap: 16px; margin-top: 30px; }
.faq-item { background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 22px 26px; }
.faq-item h4 { margin: 0 0 8px; font-size: 16px; display: flex; gap: 10px; align-items: center; }
.faq-item h4::before { content: "Q"; width: 26px; height: 26px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: var(--grad-gold); color: #201400; font-size: 13px; font-weight: 800; }
.faq-item p { margin: 0; color: var(--text-muted); font-size: 14px; }

/* 购买积分页模板（主题版） */
.buy-hero { text-align: center; margin-bottom: 40px; }
.buy-hero h1 { font-size: clamp(26px, 3.4vw, 38px); }
.buy-hero p { color: var(--text-muted); }
.buy-balance {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 12px 26px;
    border-radius: 999px;
    background: rgba(245, 179, 1, .1);
    border: 1px solid rgba(245, 179, 1, .3);
    color: var(--text-muted);
    font-size: 14px;
}
.buy-balance strong { color: var(--accent-2); font-family: var(--font-num); font-size: 22px; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 34px; }
.pkg-card {
    position: relative;
    background: var(--grad-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 22px;
    text-align: center;
    cursor: pointer;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.pkg-card:hover { transform: translateY(-4px); border-color: rgba(245, 179, 1, .5); }
.pkg-card.selected { border-color: var(--accent); box-shadow: var(--glow-gold); background: linear-gradient(160deg, #fff8e3, #ffeec9); }
.pkg-card .pkg-pts { font-family: var(--font-num); font-size: 30px; font-weight: 800; color: var(--accent-2); }
.pkg-card .pkg-pts small { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.pkg-card .pkg-price { color: var(--text-muted); margin: 8px 0 0; }
.pkg-card .pkg-price b { color: var(--text); font-family: var(--font-num); }
.pkg-card .pkg-bonus {
    position: absolute;
    top: -10px;
    right: 14px;
    padding: 3px 12px;
    border-radius: 999px;
    background: var(--grad-gold);
    color: #201400;
    font-size: 11.5px;
    font-weight: 700;
}

.custom-pts { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; }
.custom-pts label { display: block; margin-bottom: 8px; }
.custom-pts .hint { font-size: 12.5px; color: var(--text-dim); margin-top: 6px; }

.buy-summary {
    background: linear-gradient(135deg, #ffffff, #fdf6e9);
    border: 1px solid rgba(245, 179, 1, .25);
    border-radius: var(--radius);
    padding: 26px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.buy-summary .sum-pts { font-size: 15px; color: var(--text-muted); }
.buy-summary .sum-pts strong { color: var(--accent-2); font-family: var(--font-num); font-size: 26px; }
.buy-summary .sum-price { font-size: 15px; color: var(--text-muted); }
.buy-summary .sum-price strong { color: var(--text); font-family: var(--font-num); font-size: 26px; }

.buy-submit { width: 100%; padding: 16px; border: none; border-radius: 999px; background: var(--grad-gold); color: #201400; font-size: 17px; font-weight: 800; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.buy-submit:hover { transform: translateY(-2px); box-shadow: var(--glow-gold); }
.buy-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.buy-msg { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm); display: none; }
.buy-msg.ok { display: block; background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .35); color: var(--success); }
.buy-msg.err { display: block; background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .35); color: var(--danger); }

.buy-agree { text-align: center; color: var(--text-dim); font-size: 13px; margin-top: 18px; }

/* =========================================================
   动画 / 特效
   ========================================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}
@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* 回到顶部 */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 17px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s ease;
    z-index: 900;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { border-color: var(--accent); color: var(--accent-2); box-shadow: var(--glow-gold); }

/* =========================================================
   响应式
   ========================================================= */
/* 中等宽度：进一步收紧头部，防止菜单溢出 */
@media (max-width: 1200px) {
    .main-nav a { font-size: 13.5px; padding: 9px 9px; }
    .header-actions { gap: 8px; }
    .auth-btns .btn { padding: 8px 14px; font-size: 13px; }
}

@media (max-width: 1024px) {
    .products-grid, .woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
    .membership-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .points-layout { grid-template-columns: 1fr; }
    .about-zone .container { grid-template-columns: 1fr; gap: 32px; }
    .content-layout { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .hero-stats .container { grid-template-columns: repeat(2, 1fr); }
    .about-milestones { grid-template-columns: repeat(2, 1fr); }
    .pkg-grid { grid-template-columns: repeat(2, 1fr); }
    .woocommerce div.product { grid-template-columns: 1fr; gap: 30px; }
    .bcmc-my-points-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        bottom: 0;
        width: min(320px, 84vw);
        background: var(--bg-alt);
        border-left: 1px solid var(--border);
        padding: 22px;
        flex-direction: column;
        align-items: stretch;
        transform: translateX(100%);
        transition: transform .3s ease;
        overflow-y: auto;
        z-index: 1001;
    }
    .main-nav.open { transform: none; box-shadow: -18px 0 50px rgba(0, 0, 0, .5); }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav a { padding: 13px 16px; }
    .main-nav li ul.sub-menu { position: static; display: none; box-shadow: none; background: transparent; border: none; padding: 0 0 0 14px; }
    .main-nav li.open > ul.sub-menu { display: block; }
    .bcmc-points-badge { margin-left: 0; }
    .auth-btns .btn span { display: none; }
    .auth-btns .btn { padding: 9px 14px; }
    .topbar { display: block; }
}

@media (max-width: 640px) {
    .section { padding: 44px 0; }
    .products-grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .membership-grid, .news-grid, .footer-grid, .about-milestones, .pkg-grid { grid-template-columns: 1fr; }
    .hero, .hero-slide { min-height: 460px; }
    .hero-arrow { display: none; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .entry { padding: 24px; }
    .cta-strip { padding: 32px 22px; }
    .woocommerce div.product .product_title { font-size: 22px; }
    .bcmc-my-points-stats { grid-template-columns: 1fr; }
    .header-actions .auth-btns { display: none; }
    .topbar .container { justify-content: center; }
    .footer-bottom .container { justify-content: center; text-align: center; }
}
/* Homepage category and service sections. */
.bcmc-category-feature { padding-top: 42px; }

/* 首页：取り扱いブランド（品牌 Logo 墙） */
.bcmc-brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bcmc-brand-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 128px; padding: 16px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.bcmc-brand-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 62px; background: #f1f4f8; border: 1px solid var(--border-soft); border-radius: 9px; padding: 8px 12px; }
.bcmc-brand-logo img { max-width: 120px; max-height: 44px; object-fit: contain; }
.bcmc-brand-name { color: var(--text-muted); font-size: 13.5px; font-weight: 600; letter-spacing: .5px; }
.bcmc-brand-card:hover { transform: translateY(-3px); border-color: var(--cyan); box-shadow: var(--shadow-sm); }

/* 购买积分页：替代购买方式（Yahoo!ショッピング） */
.buy-else { margin-top: 36px; padding-top: 30px; border-top: 1px dashed var(--border); text-align: center; }
.buy-or { display: flex; align-items: center; gap: 14px; color: var(--text-dim); font-size: 13px; letter-spacing: 2px; }
.buy-or::before, .buy-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.buy-else-txt { color: var(--text-muted); font-size: 14px; margin: 20px 0 16px; }
.btn-yahoo { background: #fff; color: #e60033; border: 1.5px solid #e60033; box-shadow: none; }
.btn-yahoo:hover { background: #e60033; color: #fff; border-color: #e60033; box-shadow: 0 0 24px rgba(230, 0, 51, .28); transform: translateY(-2px); }

.buy-else-note { margin: 14px auto 0; max-width: 560px; font-size: 12.5px; line-height: 1.7; color: var(--text-dim); }

/* 积分兑换说明页：充值活动框 */
.campaign-box { margin-top: 26px; text-align: center; background: linear-gradient(135deg, rgba(245, 179, 1, .16), rgba(255, 138, 0, .07)); border: 1px dashed rgba(245, 179, 1, .45); border-radius: var(--radius-sm); padding: 22px 24px; }
.campaign-tag { display: inline-block; background: var(--grad-gold); color: #201400; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; padding: 4px 14px; border-radius: 999px; }
.campaign-main { margin: 14px 0 6px; font-size: 18px; font-weight: 700; color: var(--text); }
.campaign-main strong { color: var(--accent-strong); font-family: var(--font-num); font-size: 22px; }
.campaign-sub { margin: 0; font-size: 13px; color: var(--text-muted); }
.bcmc-brand-card:hover .bcmc-brand-name { color: var(--accent-2); }

/* 首页分类快捷导航 */
.bcmc-catnav { padding: 18px 0 6px; }
.bcmc-catnav-list { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.bcmc-catnav-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; color: var(--text); font-size: 14px; font-weight: 600; transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.bcmc-catnav-chip span { font-size: 12px; color: var(--text-dim); }
.bcmc-catnav-chip:hover { border-color: var(--cyan); color: var(--accent-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
@media (max-width: 992px) { .bcmc-brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .bcmc-brand-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.bcmc-category-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:4px; }
.bcmc-category-card { min-height:150px; display:flex; align-items:center; justify-content:center; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); font-size:20px; font-weight:700; transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.bcmc-category-card:hover { transform:translateY(-3px); border-color:var(--cyan); color:var(--accent-2); box-shadow:var(--shadow-sm); }
.bcmc-service-strip { background:var(--bg-alt); color:var(--text); padding:44px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.bcmc-service-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
.bcmc-service-grid strong { display:flex; width:52px; height:52px; margin:0 auto 12px; align-items:center; justify-content:center; border:1px solid var(--accent); border-radius:50%; color:var(--accent-2); font-size:24px; background:var(--surface-2); }
.bcmc-service-grid h3 { margin:8px 0 4px; color:var(--text); font-size:19px; }
.bcmc-service-grid p { margin:0; color:var(--text-muted); font-size:13px; line-height:1.6; }
@media (max-width:640px) { .bcmc-category-grid { grid-template-columns:repeat(2,1fr); } .bcmc-service-grid { grid-template-columns:repeat(2,1fr); gap:18px 10px; } .bcmc-service-grid h3 { font-size:16px; } }
.bcmc-buy-steps { background:var(--bg-alt); border-top:1px solid var(--border); }
.bcmc-steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.bcmc-step { padding:24px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); }
.bcmc-step > span { display:flex; width:72px; height:72px; margin:0 auto 18px; align-items:center; justify-content:center; border:1px solid var(--accent); border-radius:50%; background:var(--surface-2); color:var(--accent-2); font-family:var(--font-main); font-weight:700; font-size:34px; line-height:1; }
.bcmc-step h3 { margin:9px 0 8px; color:var(--text); font-size:18px; }
.bcmc-step p { margin:0; color:var(--text-muted); font-size:13px; line-height:1.75; }
.bcmc-step a { color:var(--cyan); font-weight:600; }
@media (max-width:640px) { .bcmc-steps-grid { grid-template-columns:1fr; } }
/* Keep the shopping guide band full viewport width while preserving the content grid. */
.bcmc-buy-steps {
    width: 100vw;
    margin-left: calc(50% - 50vw);
}
/* Compact shopping guide in the global footer. */
.bcmc-buy-steps { padding: 38px 0 34px; }
.bcmc-buy-steps .section-head { margin-bottom: 26px; }
.bcmc-buy-steps .section-head h2 { font-size: 27px; margin-bottom: 0; }
.bcmc-steps-grid { gap: 12px; }
.bcmc-step { padding: 16px; }
.bcmc-step > span { width: 52px; height: 52px; margin-bottom: 10px; font-size: 25px; }
.bcmc-step h3 { margin: 5px 0; font-size: 16px; }
/* WooCommerce product archive pagination. */
.woocommerce nav.woocommerce-pagination { margin: 34px 0 10px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul.page-numbers { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 0; border: 0; list-style: none; }
.woocommerce nav.woocommerce-pagination ul.page-numbers li { display: block; margin: 0; padding: 0; border: 0; }
.woocommerce nav.woocommerce-pagination .page-numbers { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text-muted); font-size: 14px; font-weight: 600; line-height: 1; }
.woocommerce nav.woocommerce-pagination .page-numbers.current { background: var(--grad-gold); color: #201400; border-color: transparent; }
.woocommerce nav.woocommerce-pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent-2); background: var(--surface-2); }
