:root {
    --ink: #202321;
    --muted: #727772;
    --paper: #fcfbf8;
    --warm: #f2f0eb;
    --surface: #ffffff;
    --charcoal: #202321;
    --charcoal-2: #303632;
    --orange: #c7652e;
    --orange-soft: #f3e3d7;
    --line: #deded8;
    --line-dark: #4d534e;
    --shadow: 0 22px 70px rgba(32, 35, 33, .12);
    --radius: 4px;
    --radius-lg: 14px;
    --z-sticky: 50;
    --z-overlay: 80;
    --z-toast: 100;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; line-height: 1.65; }
body.admin-body { background: #f1f3f1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, .button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(199, 101, 46, .35); outline-offset: 3px; }
.container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: var(--z-toast); padding: 10px 16px; color: #fff; background: var(--charcoal); }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.announcement { color: #fff; background: var(--charcoal); font-size: 11px; letter-spacing: .08em; }
.announcement-row { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.announcement a { color: #f2c4a9; }
.site-header { position: sticky; top: 0; z-index: var(--z-sticky); border-bottom: 1px solid rgba(222, 222, 216, .9); background: rgba(252, 251, 248, .94); backdrop-filter: blur(16px); }
.nav-row { min-height: 82px; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; font-weight: 800; letter-spacing: .08em; line-height: 1.05; }
.brand small { display: block; margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .19em; }
.brand-mark { display: inline-grid; place-items: center; width: 42px; height: 42px; overflow: hidden; color: #fff; background: var(--orange); border-radius: 3px 14px 3px 14px; font: 800 13px/1 Georgia, serif; letter-spacing: .04em; }
.brand-mark img, .brand-logo { width: 100%; height: 100%; object-fit: contain; }
.brand-light { color: #fff; }
.brand-light small { color: rgba(255, 255, 255, .66); }
.brand-light .brand-mark { color: var(--charcoal); background: #f2c4a9; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 13px; font-weight: 700; }
.site-nav a { position: relative; padding: 30px 0; color: #4f5550; }
.site-nav a::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 22px; height: 2px; background: var(--orange); transition: left .2s ease, right .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--ink); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { left: 0; right: 0; }
.cart-link { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 750; }
.cart-link span { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; color: #fff; background: var(--orange); border-radius: 50%; }
.menu-toggle { display: none; margin-left: auto; border: 0; color: var(--ink); background: transparent; font-weight: 750; }

.hero { padding: 82px 0 88px; overflow: hidden; background: var(--warm); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); align-items: center; gap: 84px; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--orange); font-size: 11px; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { max-width: 680px; margin: 0; color: var(--charcoal); font: 500 clamp(48px, 7vw, 92px)/.98 Georgia, "Songti SC", serif; letter-spacing: -.06em; }
.hero-copy > p { max-width: 570px; margin: 32px 0; color: var(--muted); font-size: 16px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 1px solid var(--charcoal); border-radius: 2px; color: var(--charcoal); background: transparent; font-weight: 750; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { color: #fff; background: var(--charcoal); transform: translateY(-2px); }
.button-primary { color: #fff; border-color: var(--orange); background: var(--orange); }
.button-primary:hover { border-color: #a85024; background: #a85024; }
.button-secondary { border-color: var(--line); background: var(--surface); }
.button-wide { width: 100%; }
.button[disabled] { cursor: not-allowed; opacity: .5; transform: none; }
.text-link { padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 750; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 42px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.trust-row span::before { content: "—"; margin-right: 7px; color: var(--orange); }
.hero-visual { position: relative; min-height: 560px; }
.hero-visual img { width: 100%; height: 560px; object-fit: cover; filter: saturate(.8); }
.hero-visual::before { content: ""; position: absolute; z-index: 0; inset: 22px -24px -24px 24px; border: 1px solid #c6c8c2; }
.hero-visual img { position: relative; z-index: 1; }
.hero-note { position: absolute; z-index: 2; left: -42px; bottom: 30px; display: flex; flex-direction: column; min-width: 240px; padding: 20px 24px; background: var(--surface); box-shadow: var(--shadow); }
.hero-note span { color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.hero-note strong { margin: 4px 0; font: 600 21px/1.35 Georgia, "Songti SC", serif; }
.hero-note small, .hero-image-label { color: var(--muted); font-size: 12px; }
.hero-image-label { position: absolute; z-index: 2; top: 22px; right: 14px; padding: 5px 9px; color: #fff; background: rgba(32, 35, 33, .7); font-size: 10px; letter-spacing: .08em; }

.category-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.category-grid a { position: relative; display: grid; grid-template-columns: auto 1fr auto; column-gap: 14px; padding: 27px 28px; border-right: 1px solid var(--line); transition: background .2s ease; }
.category-grid a:first-child { border-left: 1px solid var(--line); }
.category-grid a:hover { background: var(--warm); }
.category-grid span { grid-row: 1 / 3; color: var(--orange); font: italic 23px/1 Georgia, serif; }
.category-grid strong { font: 600 18px/1.25 Georgia, "Songti SC", serif; }
.category-grid small { color: var(--muted); font-size: 11px; }
.category-grid b { align-self: center; color: var(--orange); font-size: 20px; font-weight: 400; }

.products-section, .related-section { padding: 104px 0; }
.related-section { background: var(--warm); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.section-heading h2 { margin: 0; font: 500 clamp(32px, 4vw, 52px)/1.15 Georgia, "Songti SC", serif; letter-spacing: -.04em; }
.search-form { display: flex; border-bottom: 1px solid var(--ink); }
.search-form input { width: 210px; padding: 10px 3px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.search-form select { border: 0; outline: 0; background: transparent; color: var(--muted); font-size: 12px; }
.search-form button { padding: 10px 0 10px 13px; border: 0; color: var(--orange); background: transparent; font-size: 12px; font-weight: 800; }
.catalog-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 14px; }
.result-count { margin: 0; color: var(--muted); font-size: 12px; }
.catalog-meta > span { color: var(--muted); font-size: 11px; }
.catalog-notice { margin: 0 0 30px; padding: 13px 16px; color: #6b5b4d; border-left: 3px solid var(--orange); background: var(--orange-soft); font-size: 12px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 46px 22px; }
.product-card { min-width: 0; }
.product-image-wrap { position: relative; display: block; overflow: hidden; aspect-ratio: 1.12; background: #dfdfd9; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); transition: transform .5s ease; }
.product-card:hover .product-image-wrap img { transform: scale(1.04); }
.badge { position: absolute; top: 13px; left: 13px; padding: 5px 9px; color: #fff; background: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.image-caption { position: absolute; right: 10px; bottom: 10px; padding: 4px 7px; color: #fff; background: rgba(32, 35, 33, .72); font-size: 9px; letter-spacing: .03em; }
.product-card-body { padding: 17px 2px 0; }
.category-label { color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.product-card h3 { margin: 7px 0; font: 600 19px/1.3 Georgia, "Songti SC", serif; }
.product-card h3 a:hover { color: var(--orange); }
.product-card p { min-height: 47px; margin: 0 0 13px; color: var(--muted); font-size: 12px; }
.inventory-row { display: flex; flex-wrap: wrap; gap: 13px; margin: 10px 0; color: var(--muted); font-size: 10px; }
.price-row { display: flex; align-items: baseline; gap: 10px; }
.price-row strong { color: var(--charcoal); font: 700 19px/1 Georgia, serif; }
.price-row del, .detail-price del { color: #a5aaa5; font-size: 12px; }
.price-row a { margin-left: auto; color: var(--orange); font-size: 18px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 52px; }
.pagination a { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid var(--line); font-size: 12px; }
.pagination a.active { color: #fff; border-color: var(--charcoal); background: var(--charcoal); }

.story-section { padding: 100px 0; color: #fff; background: var(--charcoal); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 88px; }
.story-visual { position: relative; }
.story-visual img { width: 100%; height: 400px; object-fit: cover; filter: saturate(.68); }
.story-visual span { position: absolute; right: 16px; bottom: 14px; color: #f2c4a9; font: 700 10px/1 Georgia, sans-serif; letter-spacing: .16em; }
.story-grid h2 { margin: 0 0 22px; font: 500 clamp(34px, 5vw, 64px)/1.08 Georgia, "Songti SC", serif; letter-spacing: -.05em; }
.story-grid p { margin: 0 0 22px; color: rgba(255, 255, 255, .7); font-size: 15px; line-height: 1.95; }
.story-links { display: flex; flex-wrap: wrap; gap: 22px; }
.story-links a, .footer-return { color: #f2c4a9; border-bottom: 1px solid rgba(242, 196, 169, .55); font-size: 12px; }
.shopping-guide { padding: 96px 0; background: var(--warm); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.guide-grid article { min-height: 190px; padding: 25px; border: 1px solid var(--line); background: var(--surface); }
.guide-grid article > span { color: var(--orange); font: italic 12px/1 Georgia, serif; letter-spacing: .08em; }
.guide-grid h3 { margin: 22px 0 8px; font: 600 20px/1.3 Georgia, "Songti SC", serif; }
.guide-grid p { margin: 0; color: var(--muted); font-size: 12px; }
.home-faq { padding: 96px 0; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.faq-grid details { padding: 18px 20px; border-top: 1px solid var(--line); }
.faq-grid summary { cursor: pointer; font-weight: 750; }
.faq-grid p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

.site-footer { padding: 76px 0 22px; color: #fff; background: var(--charcoal-2); }
.footer-grid { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); gap: 48px; }
.footer-grid p { max-width: 370px; color: #a9b0ab; font-size: 12px; }
.footer-grid h3 { margin: 0 0 16px; color: #f2c4a9; font-size: 11px; letter-spacing: .14em; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a { color: #d1d6d2; font-size: 12px; }
.footer-grid small { color: #9ba49e; font-size: 10px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); color: #9ba49e; font-size: 10px; }
.footer-records { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-records a { color: #d1d6d2; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 34px; color: var(--muted); font-size: 11px; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 80px; padding-top: 34px; padding-bottom: 112px; }
.detail-image { overflow: hidden; aspect-ratio: 1; background: var(--warm); }
.detail-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82); }
.detail-image-note { margin: 10px 0 0; color: var(--muted); font-size: 10px; }
.detail-copy { padding-top: 34px; }
.detail-copy h1 { margin: 10px 0 17px; font: 500 clamp(36px, 5vw, 60px)/1.08 Georgia, "Songti SC", serif; letter-spacing: -.05em; }
.detail-summary { color: var(--muted); font-size: 15px; }
.detail-price { display: flex; align-items: baseline; gap: 14px; margin: 25px 0 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.detail-price strong { color: var(--charcoal); font: 700 34px/1 Georgia, serif; }
.detail-description h2 { margin: 0 0 8px; font-size: 14px; }
.detail-description p { color: var(--muted); font-size: 13px; }
.specs { padding: 14px 16px; background: var(--warm); font-size: 12px !important; }
.detail-inventory { display: flex; flex-wrap: wrap; gap: 18px; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.detail-inventory b { color: var(--ink); }
.add-form { display: grid; grid-template-columns: auto 88px 1fr; align-items: center; gap: 13px; margin-top: 27px; }
.add-form select { height: 46px; border: 1px solid var(--line); border-radius: 2px; text-align: center; background: var(--surface); }
.detail-points { display: grid; gap: 9px; margin-top: 25px; color: var(--muted); font-size: 11px; }
.detail-points span::before { content: "—"; margin-right: 8px; color: var(--orange); font-weight: 800; }

.page-section { min-height: 62vh; padding-top: 74px; padding-bottom: 110px; }
.page-title { margin-bottom: 42px; }
.page-title h1, .legal-page h1 { margin: 0; font: 500 clamp(42px, 6vw, 72px)/1.1 Georgia, "Songti SC", serif; letter-spacing: -.05em; }
.page-title p { color: var(--muted); }
.empty-state { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; }
.empty-state h1, .empty-state h2 { margin: 0; font-family: Georgia, "Songti SC", serif; }
.empty-state p { margin: 0 0 16px; color: var(--muted); }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; align-items: start; gap: 48px; }
.cart-list { display: grid; gap: 20px; }
.cart-item { display: grid; grid-template-columns: 120px 1fr 90px 100px; align-items: center; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.cart-item img { width: 120px; height: 120px; object-fit: cover; }
.cart-item h2 { margin: 5px 0; font: 600 19px/1.3 Georgia, "Songti SC", serif; }
.cart-item label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; }
.cart-item input { width: 72px; padding: 7px; border: 1px solid var(--line); border-radius: 2px; }
.cart-item b { text-align: right; }
.cart-summary { position: sticky; top: 110px; padding: 28px; background: var(--warm); }
.cart-summary h2 { margin-top: 0; font: 600 23px/1.2 Georgia, "Songti SC", serif; }
.cart-summary > div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-summary p, .privacy-note { color: var(--muted); font-size: 11px; }
.checkout-layout { display: grid; grid-template-columns: 1fr 420px; align-items: start; gap: 42px; }
.panel, .admin-panel { padding: 30px; border: 1px solid #e1e3df; background: var(--surface); box-shadow: 0 10px 30px rgba(32, 35, 33, .04); }
.form-panel { display: grid; gap: 18px; }
.form-panel h2, .order-preview h2, .order-query-help h2 { margin: 0 0 6px; font: 600 22px/1.25 Georgia, "Songti SC", serif; }
.form-panel label, .login-card label, .status-form label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
.form-panel input, .form-panel textarea, .form-panel select, .login-card input, .status-form select { width: 100%; padding: 11px 13px; border: 1px solid #ccd2cd; border-radius: 2px; outline: 0; background: #fff; }
.form-panel input:focus, .form-panel textarea:focus, .form-panel select:focus, .login-card input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(199, 101, 46, .12); }
.checkbox { grid-template-columns: 18px auto !important; align-items: start; font-weight: 500 !important; }
.checkbox input { width: auto; margin-top: 4px; }
.checkbox a { color: var(--orange); text-decoration: underline; }
.order-preview { position: sticky; top: 110px; }
.preview-item { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.preview-item img { width: 64px; height: 64px; object-fit: cover; }
.preview-item small { display: block; color: var(--muted); }
.preview-total { display: flex; justify-content: space-between; padding-top: 20px; }
.preview-total strong { font-size: 21px; }
.payment-options { display: grid; gap: 10px; margin: 8px 0 20px; }
.payment-options label { display: flex; align-items: flex-start; gap: 12px; padding: 14px; border: 1px solid var(--line); cursor: pointer; }
.payment-options input { width: auto; margin-top: 4px; }
.payment-options span { display: grid; gap: 4px; }
.payment-options small { color: var(--muted); font-weight: 400; }
.payment-shell { min-height: 100vh; display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 34px 20px 60px; background: var(--warm); }
.payment-shell > .brand { align-self: flex-start; width: 100%; max-width: 1100px; }
.payment-card { width: min(560px, 100%); margin: auto; padding: 48px 46px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.payment-card h1 { margin: 0 0 18px; font: 500 34px/1.25 Georgia, "Songti SC", serif; }
.payment-card p { margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.payment-card form { display: grid; gap: 10px; margin-top: 18px; }
.payment-card .button { margin-top: 10px; }
.payment-card a:not(.button) { color: var(--orange); text-decoration: underline; }
.code-url { padding: 14px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--warm); color: var(--ink); font-size: 12px; line-height: 1.7; word-break: break-all; }
@media (max-width: 620px) { .payment-shell { padding: 22px 14px 40px; gap: 18px; } .payment-card { padding: 30px 22px; } .payment-card h1 { font-size: 28px; } }
.success-card { max-width: 620px; margin: 40px auto; padding: 60px; background: var(--warm); text-align: center; }
.success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; color: #fff; background: var(--orange); border-radius: 50%; font-size: 30px; }
.success-card h1 { margin: 0; font: 500 48px/1.2 Georgia, "Songti SC", serif; }
.success-card p { color: var(--muted); }
.success-actions { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.legal-page { max-width: 780px; margin: auto; }
.legal-page p { color: var(--muted); font-size: 15px; line-height: 1.95; }
.legal-page h2 { margin-top: 34px; font: 600 22px/1.3 Georgia, "Songti SC", serif; }
.flash { margin-top: 14px; padding: 12px 16px; border-radius: 2px; font-size: 13px; }
.flash-success { color: #155a37; background: #e6f5ec; }
.flash-error { color: #8c2f25; background: #fdecea; }
.public-info { display: grid; grid-template-columns: minmax(145px, .35fr) 1fr; margin: 26px 0; border-top: 1px solid var(--line); }
.public-info dt, .public-info dd { margin: 0; padding: 13px 0; border-bottom: 1px solid var(--line); }
.public-info dt { color: var(--muted); font-size: 12px; }
.public-info dd { font-weight: 650; }
.pending-value, .pending-note { color: #9b6b25; }
.pending-note { padding: 13px 16px; border-left: 3px solid #d1a35d; background: #fff8e8; font-size: 12px !important; }
.license-public-frame { overflow: hidden; margin: 28px 0; border: 1px solid var(--line); background: #2d2925; }
.license-watermarked-image { width: 100%; height: auto; }

.support-widget { position: fixed; right: 22px; bottom: 22px; z-index: var(--z-overlay); }
.support-button { padding: 13px 19px; border: 0; border-radius: 2px; color: #fff; background: var(--orange); box-shadow: 0 12px 35px rgba(32, 35, 33, .24); font: inherit; font-size: 12px; font-weight: 750; }
.support-panel { position: absolute; right: 0; bottom: 57px; display: none; width: min(370px, calc(100vw - 30px)); padding: 26px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.support-panel.is-open { display: block; }
.support-panel h2 { margin: 7px 0; font: 600 24px/1.2 Georgia, "Songti SC", serif; }
.support-panel p, .support-panel small { color: var(--muted); font-size: 12px; }
.support-panel label { display: grid; gap: 7px; margin: 14px 0; font-size: 12px; font-weight: 700; }
.support-panel input, .support-panel textarea { width: 100%; padding: 11px; border: 1px solid var(--line); resize: vertical; }
.support-close { position: absolute; top: 9px; right: 12px; border: 0; background: none; color: var(--muted); font-size: 24px; cursor: pointer; }

.order-query-layout { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(380px, 1.25fr); gap: 24px; align-items: start; }
.order-query-help { padding: 32px; background: var(--warm); }
.query-result-head { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.order-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 22px 0; color: var(--muted); font-size: 11px; text-align: center; }
.order-progress span { padding-top: 9px; border-top: 2px solid var(--line); }
.order-progress .done { color: var(--orange); border-color: var(--orange); }
.info-list { display: grid; grid-template-columns: 90px 1fr; gap: 10px; margin: 22px 0; font-size: 13px; }
.info-list dt { color: var(--muted); }
.info-list dd { margin: 0; }
.order-line { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.order-line small { display: block; color: var(--muted); }
.order-total { font-size: 17px; }
.status { display: inline-flex; padding: 4px 9px; color: #315846; background: #edf4ef; border-radius: 999px; font-size: 10px; }

.admin-header { color: #fff; background: var(--charcoal-2); }
.admin-nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.admin-nav .brand-mark { width: 36px; height: 36px; }
.admin-nav nav { display: flex; align-items: center; gap: 24px; color: #d7e0db; font-size: 13px; }
.inline-form { display: inline; }
.link-button { padding: 0; color: inherit; border: 0; background: transparent; }
.login-shell { min-height: calc(100vh - 68px); display: grid; place-items: center; padding: 40px 20px; background: var(--warm); }
.login-card { width: min(440px, 100%); display: grid; gap: 18px; padding: 42px; background: #fff; box-shadow: var(--shadow); }
.login-card h1 { margin: 0; font: 500 42px/1.2 Georgia, "Songti SC", serif; }
.login-card p, .login-card > a { margin: 0; color: var(--muted); font-size: 13px; text-align: center; }
.admin-section { padding-top: 54px; padding-bottom: 100px; }
.admin-section.narrow { max-width: 980px; }
.admin-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.admin-title h1 { margin: 0; font: 500 42px/1.2 Georgia, "Songti SC", serif; }
.admin-title p { margin: 5px 0 0; color: var(--muted); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.stat-grid > div { padding: 24px; border: 1px solid #e1e5e1; background: #fff; }
.stat-grid span { display: block; color: var(--muted); font-size: 12px; }
.stat-grid strong { display: block; margin-top: 7px; font: 700 30px/1.2 Georgia, serif; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.panel-heading h2, .admin-panel h2 { margin: 0; font-family: Georgia, "Songti SC", serif; }
.panel-heading a { color: var(--orange); font-size: 13px; font-weight: 700; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { color: var(--muted); font-size: 11px; letter-spacing: .06em; text-align: left; }
th, td { padding: 13px 12px; border-bottom: 1px solid #e5e8e5; white-space: nowrap; }
td a { color: var(--orange); font-weight: 700; }
.product-cell { display: flex; align-items: center; gap: 12px; }
.product-cell img { width: 52px; height: 52px; object-fit: cover; }
.product-cell small { display: block; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.check-row { display: flex; gap: 24px; }
.order-admin-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; }
.status-form { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.muted { color: var(--muted); }

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
    .hero-visual, .hero-visual img { min-height: 460px; height: 460px; }
    .site-nav { gap: 15px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .category-grid a { padding: 23px 17px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary, .order-preview { position: static; }
    .cart-item { grid-template-columns: 100px 1fr 80px; }
    .cart-item > b { grid-column: 3; text-align: left; }
    .story-grid { gap: 42px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .order-query-layout { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .container { width: min(100% - 28px, 1200px); }
    .announcement-row { min-height: 30px; font-size: 9px; }
    .announcement-row span:nth-child(2) { display: none; }
    .nav-row { min-height: 68px; gap: 12px; }
    .brand-mark { width: 36px; height: 36px; }
    .menu-toggle { display: block; }
    .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, .08); }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 10px; }
    .site-nav a::after { display: none; }
    .cart-link { padding: 8px; font-size: 0; }
    .cart-link::before { content: "购物车"; font-size: 11px; }
    .hero { padding: 54px 0; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 58px; }
    .hero-copy > p { font-size: 14px; }
    .hero-visual { width: 90%; min-height: 400px; margin: 10px auto 0; }
    .hero-visual img { height: 400px; min-height: 400px; }
    .hero-note { left: -19px; bottom: 18px; }
    .category-grid { grid-template-columns: 1fr 1fr; }
    .category-grid a { border-bottom: 1px solid var(--line); }
    .products-section, .related-section, .shopping-guide, .home-faq { padding: 68px 0; }
    .section-heading { align-items: stretch; flex-direction: column; }
    .search-form { width: 100%; }
    .search-form input { width: 100%; }
    .catalog-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
    .product-grid { grid-template-columns: 1fr 1fr; gap: 30px 14px; }
    .product-card h3 { font-size: 17px; }
    .product-card p { display: none; }
    .story-grid, .footer-grid, .guide-grid, .faq-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
    .product-detail { grid-template-columns: 1fr; gap: 20px; padding-bottom: 70px; }
    .detail-copy { padding-top: 10px; }
    .add-form { grid-template-columns: auto 80px 1fr; }
    .cart-item { grid-template-columns: 86px 1fr; gap: 14px; }
    .cart-item img { width: 86px; height: 86px; }
    .cart-item label, .cart-item > b { grid-column: 2; }
    .success-card { padding: 42px 22px; }
    .admin-nav { align-items: flex-start; flex-direction: column; padding: 14px 0; }
    .admin-nav nav { width: 100%; justify-content: space-between; gap: 10px; }
    .admin-title { align-items: flex-start; flex-direction: column; }
    .form-grid, .order-admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
    .hero h1 { font-size: 48px; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-visual { width: 96%; }
    .category-grid { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .product-card h3 { font-size: 15px; }
    .price-row strong { font-size: 17px; }
    .add-form { grid-template-columns: auto 80px; }
    .add-form .button { grid-column: 1 / -1; }
    .stat-grid { grid-template-columns: 1fr; }
    .support-widget { right: 12px; bottom: 12px; }
    .support-button { padding: 11px 15px; }
    .support-panel { right: -3px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* 后台管理沿用独立结构，保持侧栏、表单和数据面板的可用性。 */
.admin-v2 { min-height: 100vh; color: #26312c; background: #f1f3f1; }
.admin-v2 .admin-shell { display: grid; grid-template-columns: 245px minmax(0, 1fr); min-height: 100vh; }
.admin-v2 .admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 16px; color: #dce8e2; background: #172b24; }
.admin-v2 .admin-logo { display: flex; align-items: center; gap: 12px; padding: 0 10px 26px; color: #fff; }
.admin-v2 .admin-logo .brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #d6a06b; color: #f2c4a9; background: transparent; }
.admin-v2 .admin-logo-tag { color: #8fa79d; font-size: 11px; }
.admin-v2 .admin-sidebar nav { display: grid; gap: 5px; }
.admin-v2 .admin-sidebar nav a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 2px; color: #b8cbc2; font-size: 13px; }
.admin-v2 .admin-sidebar nav a:hover, .admin-v2 .admin-sidebar nav a.active { color: #fff; background: #27443a; }
.admin-v2 .admin-sidebar nav i { width: 21px; color: #e4bd8b; font-style: normal; text-align: center; }
.admin-v2 .admin-sidebar-bottom { display: grid; gap: 12px; margin-top: auto; padding: 18px 10px 0; border-top: 1px solid #365047; }
.admin-v2 .admin-sidebar-bottom a, .admin-v2 .admin-sidebar-bottom button { padding: 0; border: 0; color: #b8cbc2; background: none; font: inherit; text-align: left; cursor: pointer; }
.admin-v2 .admin-main { min-width: 0; }
.admin-v2 .admin-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 15px; height: 64px; padding: 0 30px; border-bottom: 1px solid #e1e5e2; background: #fff; }
.admin-v2 .admin-topbar button { display: none; border: 0; background: transparent; font-size: 20px; }
.admin-v2 .admin-topbar b { margin-left: auto; }
.admin-v2 .admin-content { max-width: 1500px; margin: auto; padding: 30px; }
.admin-v2 .admin-panel { margin-bottom: 22px; box-shadow: 0 2px 8px rgba(22, 43, 36, .025); }
.admin-v2 .stat-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.admin-v2 .stat-grid > div { position: relative; min-height: 106px; }
.admin-v2 .stat-grid small, .admin-v2 .table-sub { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.admin-v2 .readiness-panel { margin: 24px 0; }
.admin-v2 .readiness-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.admin-v2 .readiness-grid > div { display: flex; align-items: center; gap: 12px; padding: 15px; border: 1px solid var(--line); background: #fff; }
.admin-v2 .readiness-grid > div > b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.admin-v2 .readiness-grid .ready > b { color: #176b42; background: #e8f4ed; }
.admin-v2 .readiness-grid .pending > b { color: #9b5b16; background: #fff1df; }
.admin-v2 .readiness-grid span { display: grid; font-size: 12px; font-weight: 700; }
.admin-v2 .readiness-grid small { color: var(--muted); font-weight: 400; }
.admin-v2 .admin-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; padding: 14px; border: 1px solid #dde3df; background: #fff; }
.admin-v2 .admin-filter input, .admin-v2 .admin-filter select { min-height: 42px; min-width: 180px; padding: 8px 10px; border: 1px solid #cfd7d2; background: #fff; }
.admin-v2 .admin-filter > input:first-child { flex: 1; min-width: 260px; }
.admin-v2 .admin-filter .checkbox { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.admin-v2 .admin-filter .checkbox input { min-width: auto; min-height: auto; }
.admin-v2 .admin-two { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(420px, 1.25fr); gap: 22px; }
.admin-v2 .stock-adjust { display: flex; gap: 7px; min-width: 430px; }
.admin-v2 .stock-adjust select, .admin-v2 .stock-adjust input { min-width: 110px; padding: 8px; border: 1px solid #cfd7d2; background: #fff; }
.admin-v2 .stock-adjust button { padding: 8px 14px; border: 0; color: #fff; background: #255e49; }
.admin-v2 .stock-low { color: #b9412e; }
.admin-v2 .stock-in { color: #1b7956; font-weight: 700; }
.admin-v2 .stock-out { color: #b9412e; font-weight: 700; }
.admin-v2 .category-list { display: grid; gap: 9px; }
.admin-v2 .category-list > div { display: flex; justify-content: space-between; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.admin-v2 .category-list span { display: grid; gap: 3px; }
.admin-v2 .category-list small { color: var(--muted); }
.admin-v2 .category-toggle { padding: 5px 10px; border: 1px solid #cfd7d2; color: #777; background: #fff; cursor: pointer; }
.admin-v2 .category-toggle.on { border-color: #dfc5a5; color: #96602a; }
.admin-v2 .message-box { padding: 18px; white-space: pre-wrap; background: var(--warm); }
.admin-login-main { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; background: var(--warm); }
.admin-login-main + .login-card { width: min(440px, 100%); }
.admin-v2 .switch { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 960px) {
    .admin-v2 .admin-shell { grid-template-columns: 1fr; }
    .admin-v2 .admin-sidebar { position: fixed; z-index: 50; left: -260px; width: 245px; transition: left .2s ease; }
    .admin-v2 .admin-sidebar.is-open { left: 0; }
    .admin-v2 .admin-sidebar { overflow-y: auto; }
    .admin-v2 .admin-topbar button { display: block; }
    .admin-v2 .admin-content { padding: 20px; }
    .admin-v2 .stat-grid, .admin-v2 .readiness-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-v2 .admin-two, .admin-v2 .order-admin-grid { grid-template-columns: 1fr; }
    .admin-v2 .admin-filter { align-items: stretch; }
    .admin-v2 .admin-filter > * { flex: 1; }
}

@media (max-width: 620px) {
    .admin-v2 .admin-content { padding: 14px; }
    .admin-v2 .stat-grid, .admin-v2 .readiness-grid, .admin-v2 .form-grid { grid-template-columns: 1fr; }
    .admin-v2 .admin-title { align-items: flex-start; }
    .admin-v2 .admin-panel { padding: 16px; }
    .admin-v2 .stock-adjust { min-width: 360px; }
}
