:root {
    --flax-bg: #fcf9f2;
    --flax-card-bg: #ffffff;
    --flax-border: rgba(201, 111, 83, 0.15);
    --flax-border-hover: rgba(201, 111, 83, 0.6);
    --flax-text: #3c2a21;
    --flax-sub: #8c7a6b;
    --flax-accent: #c96f53;
    --flax-font: 'Quicksand', system-ui, -apple-system, sans-serif;
}

body {
    margin: 0; background: var(--flax-bg); color: var(--flax-text);
    font-family: var(--flax-font); font-size: 13px; -webkit-font-smoothing: antialiased;
}

.flax-header {
    position: fixed; top: 0; width: 100%; height: 56px;
    background: rgba(252, 249, 242, 0.95); backdrop-filter: blur(8px);
    z-index: 2000; border-bottom: 1px solid var(--flax-border);
}

.flax-inner {
    max-width: 1200px; margin: 0 auto; height: 100%;
    display: flex; align-items: center; justify-content: space-between; padding: 0 20px;
}

.flax-logo-nav { display: flex; align-items: center; gap: 30px; }
.flax-logo img { height: 20px; }
.flax-nav { display: flex; list-style: none; gap: 24px; margin: 0; padding: 0; }
.flax-nav a { color: var(--flax-sub); text-decoration: none; font-weight: bold; }
.flax-nav a:hover, .flax-nav a.active { color: var(--flax-accent); }
.flax-user-zone { display: flex; align-items: center; gap: 16px; }
.flax-btn-login { background: var(--flax-accent); color: #fff; padding: 6px 16px; border-radius: 20px; text-decoration: none; font-size: 11px; font-weight: bold; }
.flax-avatar { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--flax-border); }
.flax-m-trigger { display: none; color: var(--flax-text); font-size: 20px; cursor: pointer; }

/* 留白通告 */
.flax-notice-bar { margin: 80px auto 20px; max-width: 1200px; padding: 0 20px; }
.flax-notice-inner { border: 1px solid var(--flax-border); padding: 12px 24px; background: var(--flax-card-bg); display: flex; align-items: center; border-radius: 20px; }
.flax-notice-dot { width: 6px; height: 6px; background: var(--flax-accent); border-radius: 50%; margin-right: 12px; }

/* 页脚 */
.flax-footer { padding: 40px 0; background: #faf6ee; border-top: 1px solid var(--flax-border); margin-top: 60px; }
.flax-footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.flax-copyright { font-size: 11px; color: var(--flax-sub); display: flex; align-items: center; }
.flax-status-indicator { width: 6px; height: 6px; background: var(--flax-accent); border-radius: 50%; margin-right: 10px; }

/* 布局 038: 左 1/3 屏放 Logo、关于我们与检索 ➡️ 右 2/3 屏放顶部公告与 3 列商品网格 */
.flax-home-wrap { max-width: 1200px; margin: 40px auto; padding: 0 20px; min-height: 80vh; }
.flax-split-grid { display: flex; gap: 40px; }

/* 左半屏侧栏 */
.flax-left-sidebar {
    flex: 0.35; background: var(--flax-card-bg); border: 1px solid var(--flax-border);
    padding: 30px; position: sticky; top: 100px; height: fit-content; border-radius: 20px;
}
.flax-sidebar-title { font-size: 14px; font-weight: bold; color: var(--flax-accent); margin-bottom: 15px; }
.flax-sidebar-line { height: 1px; background: var(--flax-border); margin: 15px 0; }
.flax-search-input { width: 100%; height: 38px; background: var(--flax-bg); border: 1px solid var(--flax-border); padding: 0 12px; box-sizing: border-box; outline: none; border-radius: 12px; color: var(--flax-text); }

/* 右半屏内容区 */
.flax-right-content { flex: 1.65; display: flex; flex-direction: column; gap: 24px; }

.flax-cat-hd { font-size: 14px; font-weight: bold; color: var(--flax-text); margin: 0 0 20px; display: flex; align-items: center; }
.flax-cat-hd::after { content: ""; flex: 1; height: 1px; background: var(--flax-border); margin-left: 20px; }
.flax-cat-hd::before { content: "― "; color: var(--flax-accent); margin-right: 8px; }

.flax-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* 商品卡片：织物软角 20px */
.flax-card-probe {
    display: block; background: var(--flax-card-bg); text-decoration: none; transition: 0.3s;
    padding: 24px; position: relative; border: 1px solid var(--flax-border); border-radius: 20px;
}
.flax-card-probe:hover { border-color: var(--flax-border-hover); box-shadow: 0 4px 15px rgba(201, 111, 83, 0.1); }
.flax-card-probe:hover .flax-name { color: var(--flax-accent); }

.flax-img-box { width: 100%; aspect-ratio: 1.5; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; background: #faf7f2; border-radius: 12px; }
.flax-img-box img { width: 45%; height: 45%; object-fit: contain; }
.flax-name { font-size: 14px; height: 38px; color: var(--flax-text); line-height: 1.5; overflow: hidden; margin-bottom: 15px; }
.flax-footer-meta { display: flex; justify-content: space-between; align-items: center; }
.flax-price { font-size: 16px; font-weight: bold; color: var(--flax-accent); }
.flax-sell-count { font-size: 11px; color: var(--flax-sub); }
.flax-tag-auto { position: absolute; top: 12px; right: 15px; font-size: 9px; color: var(--flax-accent); border: 1px solid var(--flax-accent); padding: 1px 6px; border-radius: 10px; }

/* Detail Pages */
.flax-trade-wrap { padding: 40px 10px; min-height: 80vh; }
.flax-trade-node { max-width: 900px; margin: 0 auto; border: 1px solid var(--flax-border); display: flex; flex-wrap: wrap; background: var(--flax-card-bg); border-radius: 20px; overflow: hidden; }
.flax-media-side { flex: 0 0 32%; background: #faf7f2; padding: 30px; display: flex; align-items: center; border-right: 1px solid var(--flax-border); }
.flax-media-side img { width: 100%; height: auto; }
.flax-form-side { flex: 1; padding: 40px; min-width: 320px; }
.flax-title { font-size: 22px; font-weight: 700; color: var(--flax-text); margin-bottom: 10px; }
.flax-tag-status { display: inline-block; padding: 3px 12px; border: 1px solid var(--flax-accent); color: var(--flax-accent); font-size: 11px; background: rgba(201, 111, 83, 0.1); margin-bottom: 25px; border-radius: 12px; }
.flax-price-node { margin-bottom: 30px; padding: 20px; background: var(--flax-bg); border: 1px solid var(--flax-border); display: flex; justify-content: space-between; align-items: center; border-radius: 12px; }
.flax-price-val { font-size: 26px; font-weight: 800; color: var(--flax-accent); }
.flax-field { margin-bottom: 20px; }
.flax-label { display: block; font-size: 11px; color: var(--flax-sub); margin-bottom: 8px; }
.flax-input { width: 100%; height: 44px; background: var(--flax-bg); border: 1px solid var(--flax-border); color: var(--flax-text); padding: 0 15px; box-sizing: border-box; outline: none; border-radius: 12px; }
.flax-input:focus { border-color: var(--flax-accent); }
.flax-btn-submit { width: 100%; height: 48px; background: var(--flax-accent); color: #fff; border: none; cursor: pointer; font-size: 14px; font-weight: 700; transition: 0.3s; border-radius: 16px; }
.flax-btn-submit:hover { opacity: 0.8; }
.flax-btn-submit:disabled { background: #e5dcd5; color: #a59a90; border: 1px solid var(--flax-border); cursor: not-allowed; }
.flax-desc-box { max-width: 900px; margin: 20px auto 0; border: 1px solid var(--flax-border); padding: 30px; background: var(--flax-card-bg); color: var(--flax-sub); border-radius: 20px; }
.flax-desc-title { font-size: 12px; font-weight: 700; color: var(--flax-text); margin-bottom: 15px; border-left: 2px solid var(--flax-accent); padding-left: 10px; }

/* Queries & Lists */
.flax-query-wrap { max-width: 520px; margin: 80px auto; padding: 0 20px; min-height: 70vh; }
.flax-query-node { background: var(--flax-card-bg); border: 1px solid var(--flax-border); padding: 30px; margin-bottom: 20px; border-radius: 20px; }
.flax-btn-prime { background: var(--flax-accent); color: #fff; border: none; padding: 12px 30px; font-weight: 700; font-size: 13px; cursor: pointer; width: 100%; border-radius: 16px; }

@media (max-width: 768px) {
    .flax-split-grid { flex-direction: column; }
    .flax-left-sidebar { width: 100%; position: relative; top: 0; }
    .flax-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .flax-header { position: relative; }
    .flax-nav { position: fixed; top: 56px; left: -100%; width: 100%; height: 100vh; background: var(--flax-bg); flex-direction: column; padding: 40px; transition: 0.3s; gap: 30px; }
    .flax-nav.is-open { left: 0; }
    .flax-m-trigger { display: block; }
}