@charset "UTF-8";

:root {
  --paper: #f6f2eb;
  --paper-light: #fcfaf6;
  --ink: #312a23;
  --muted: #83786b;
  --line: #ded6ca;
  --clay: #916049;
  --clay-dark: #70432f;
  --sand: #e9dfd1;
  --olive: #586252;
  --red: #a34937;
  --radius: 12px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; min-width: 320px; line-height: 1.7; }
body:has(dialog[open]) { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a, label { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, .button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--paper-light); text-decoration: none; line-height: 1.4; transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; }
button:hover, .button:hover { background: #ece4d9; border-color: #bfae9b; }
button:active, .button:active { transform: translateY(1px); }
button:disabled, .busy { opacity: .55; cursor: wait; }
button:disabled:hover { transform: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--clay); }
button.primary, a.primary { color: white; background: var(--clay); border-color: var(--clay); }
button.primary:hover, a.primary:hover { background: var(--clay-dark); border-color: var(--clay-dark); box-shadow: 0 5px 16px #70432f1a; }
button.danger, .negative, .error { color: var(--red); }
.positive { color: var(--olive); }
.muted, .form-help { color: var(--muted); }
.form-help { font-size: 12px; line-height: 1.8; }
.error { min-height: 1.7em; font-size: 13px; }
.error:empty { min-height: 0; margin: 0; }
svg { width: 20px; height: 20px; flex: 0 0 20px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { letter-spacing: .02em; line-height: 1.4; }
h1 { font-size: 34px; font-weight: 500; }
h2 { font-size: 24px; font-weight: 500; }
h3 { font-size: 16px; font-weight: 500; }
p { margin-bottom: 14px; }
small { font-size: 12px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: var(--paper-light); color: var(--ink); padding: 12px 13px; border-radius: 6px; min-width: 0; transition: border-color .2s, box-shadow .2s; }
input::placeholder, textarea::placeholder { color: #a59a8d; }
input:focus, textarea:focus, select:focus { border-color: var(--clay); outline: none; box-shadow: 0 0 0 3px #91604910; }
input[type=checkbox] { width: 17px; height: 17px; padding: 0; accent-color: var(--clay); }
input[type=file] { padding: 8px; font-size: 12px; }
input[readonly] { background: #eee8df; color: var(--muted); }
textarea { resize: vertical; min-height: 94px; }
label { display: block; color: #594e43; font-size: 13px; }
form > label, form > .row, fieldset, form > .check-label { margin-bottom: 18px; }
label > input, label > textarea, label > select, label > .sms-field { margin-top: 7px; }
fieldset { border: 1px solid var(--line); border-radius: 8px; padding: 15px; }
legend { padding: 0 6px; color: var(--muted); font-size: 12px; }
dl { margin: 0; }
dd { margin: 0; }
::selection { background: #dccab7; color: var(--ink); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -70px; left: 15px; padding: 10px; background: white; z-index: 100; }
.skip-link:focus { top: 10px; }
.page-width { width: min(1440px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow { font-family: Georgia, "Times New Roman", serif; color: var(--clay); font-size: 10px; font-weight: 500; letter-spacing: .24em; line-height: 1.7; margin-bottom: 16px; }
.text-button { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; border: 0; background: none; border-radius: 0; padding: 0; min-height: auto; color: var(--clay); }
.text-button:hover { background: none; color: var(--clay-dark); }
.icon-button { width: 42px; height: 42px; min-height: 42px; padding: 10px; flex: 0 0 auto; }
.actions, .table-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.full-width { width: 100%; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.check-label { display: flex; align-items: center; gap: 10px; }
.check-label input { margin: 0; }
.required { color: var(--clay); }
.panel { background: var(--paper-light); border: 1px solid var(--line); padding: 30px; border-radius: var(--radius); }
.site-header { height: 96px; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #ded6caaa; background: #f6f2ebee; backdrop-filter: blur(18px); }
.header-inner { max-width: 1552px; height: 100%; padding-inline: 56px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 15px; flex-shrink: 0; }
.brand-symbol { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 52px; border: 1px solid #9c8067; color: var(--clay-dark); font: 31px "KaiTi", "STKaiti", "Songti SC", serif; transform: rotate(-3deg); }
.brand-wordmark { display: flex; flex-direction: column; color: var(--ink); font-family: "Songti SC", "SimSun", Georgia, serif; font-size: 24px; font-weight: 600; letter-spacing: .18em; }
.brand-wordmark small { margin-top: 4px; font: 8px Georgia, serif; letter-spacing: .18em; color: var(--muted); }
.desktop-nav { display: flex; gap: 38px; align-items: center; margin-left: auto; margin-right: auto; }
.desktop-nav > a, .desktop-nav > button { border: 0; background: none; padding: 9px 0; font-size: 12px; min-height: auto; color: var(--muted); }
.desktop-nav > a.active { color: var(--ink); box-shadow: 0 1px var(--clay); }
.desktop-nav > button svg { width: 14px; height: 14px; flex-basis: 14px; }
#sharedShopReturn:empty { display: none; }
#sharedShopReturn a { display: grid; grid-template-columns: 16px auto; align-items: center; gap: 3px 7px; font-size: 12px; line-height: 1.5; color: var(--muted); }
#sharedShopReturn a > svg { width: 16px; height: 16px; flex-basis: 16px; }
#sharedShopReturn a > span { grid-column: 2; max-width: 135px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size: 10px; }
#sharedShopReturn a.active { color: var(--clay); }
.account-area { min-width: 137px; display: flex; justify-content: flex-end; }
.account-login { background: none; border-color: transparent; font-size: 12px; padding-right: 0; }
.account-login:hover { background: none; border-color: transparent; color: var(--clay); }
.account-menu { position: relative; }
.account-menu summary { cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 12px; list-style: none; padding: 12px; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary > svg:last-child { width: 12px; flex-basis: 12px; }
.account-dropdown { position: absolute; width: 225px; right: 0; top: 49px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 20px 60px #312a231a; background: var(--paper-light); }
.account-dropdown > p { padding: 10px; margin: 0 0 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
.account-dropdown small { display: block; color: var(--muted); margin-top: 5px; font-size: 10px; }
.account-dropdown a, .account-dropdown button { display: flex; align-items: center; width: 100%; justify-content: flex-start; gap: 12px; border: none; padding: 11px 10px; border-radius: 5px; background: none; font-size: 12px; }
.account-dropdown a:hover, .account-dropdown button:hover { background: var(--sand); }
.account-dropdown button { margin-top: 5px; border-top: 1px solid var(--line); border-radius: 0; color: var(--muted); }
.mobile-nav { display: none; }
.initial-loading, .page-loading { display: flex; min-height: 45vh; align-items: center; justify-content: center; flex-direction: column; gap: 22px; color: var(--muted); }
.initial-loading { min-height: 90vh; }
.loader { width: 30px; height: 30px; border: 1px solid var(--line); border-top-color: var(--clay); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.catalog-intro { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 54px 0 28px; }
.catalog-intro .eyebrow { margin-bottom: 11px; }
.catalog-intro h1 { font-family: "Songti SC", "SimSun", Georgia, serif; font-size: clamp(26px, 2.2vw, 38px); margin-bottom: 14px; letter-spacing: .08em; }
.catalog-intro p:last-child { color: var(--muted); margin: 0; font-size: 12px; letter-spacing: .13em; }
.intro-index { font-family: Georgia, serif; font-size: 9px; letter-spacing: .2em; color: #a29584; align-self: flex-end; padding-bottom: 2px; white-space: nowrap; }
.intro-actions { display: flex; gap: 9px; }
.scope-line { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 11px; margin-bottom: 12px; color: var(--muted); }
.scope-line > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.scope-line svg { width: 14px; height: 14px; flex-basis: 14px; }
.scope-line .text-button { margin-left: auto; font-size: 11px; }
.scope-contact { letter-spacing: .03em; }
.search-box { display: flex; align-items: stretch; width: 100%; margin: 0; background: var(--paper-light); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 4px 18px #40332303; transition: box-shadow .3s, border .3s; }
.search-box:focus-within { border-color: #b49d87; box-shadow: 0 4px 24px #70432f08; }
.search-input-wrap { flex: 1; display: flex; gap: 14px; padding-left: 20px; align-items: center; min-width: 0; }
.search-input-wrap > svg { color: #9a8a78; }
.search-input-wrap input { border: none; min-height: 59px; background: none; padding: 15px 0; box-shadow: none; font-size: 13px; }
.search-submit { border: 0; border-radius: 0; background: none; color: var(--clay); min-height: auto; padding: 6px 17px; font-size: 12px; flex: 0 0 auto; }
.search-submit:hover { background: none; }
.image-search-button { cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; align-self: center; padding: 10px 25px; border-left: 1px solid var(--line); margin: 10px 0; flex: 0 0 auto; }
.image-search-button:hover { color: var(--clay); }
.image-search-button:focus-within { outline: 2px solid var(--clay); }
.search-notice { color: var(--clay); font-size: 12px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.search-notice:not(:empty) { background: #ede3d7; padding: 14px 18px; border-radius: 6px; margin: 12px 0 0; }
.hero { position: relative; min-height: 470px; height: min(38vw, 590px); margin-top: 24px; display: grid; grid-template-columns: 40% 60%; background: #e1d5c4; overflow: hidden; border-radius: 3px; }
.hero-copy { position: relative; z-index: 2; align-self: stretch; padding: clamp(34px, 4vw, 64px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: linear-gradient(115deg, #dfcfbb, #e9dfd1); }
.hero-copy .eyebrow { color: #7b644f; font-size: 9px; letter-spacing: .2em; margin-bottom: 32px; display: flex; gap: 18px; }
.hero-copy .eyebrow span { color: #998370; letter-spacing: .03em; }
.hero-copy h2 { font: clamp(32px, 3.1vw, 49px)/1.7 "Songti SC", "SimSun", Georgia, serif; letter-spacing: .04em; color: #493b2e; margin-bottom: 18px; }
.hero-copy > p:not(.eyebrow) { font-size: 12px; color: #84705c; }
.hero-link { display: inline-flex; gap: 36px; align-items: center; padding: 11px 0; border-bottom: 1px solid #998572; font-size: 12px; color: #574635; margin-top: 14px; }
.hero-link:hover { gap: 44px; }
.hero-link svg { width: 18px; height: 18px; }
.hero-visual { position: relative; min-width: 0; overflow: hidden; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: opacity .25s, transform 7s ease-out; animation: hero-settle 7s ease-out both; }
.hero-visual img.changing { opacity: 0; transform: scale(1.025); }
@keyframes hero-settle { from { transform: scale(1.04); } to { transform: scale(1); } }
.hero-caption { position: absolute; bottom: 21px; right: 22px; padding: 6px 10px; background: #3e342755; backdrop-filter: blur(6px); color: #fff9ee; border: 1px solid #ffffff26; font-size: 10px; border-radius: 3px; }
.hero-controls { display: flex; align-items: center; gap: 13px; margin-top: auto; padding-top: 36px; }
.hero-controls .icon-button { background: none; border: none; padding: 0; width: 26px; min-height: 30px; height: 30px; color: #6d5844; }
.hero-dots { display: flex; gap: 6px; align-items: center; max-width: 135px; overflow: auto; }
.hero-dots button { background: #ab967e70; border: none; height: 6px; min-height: 6px; min-width: 6px; width: 6px; padding: 0; border-radius: 10px; }
.hero-dots button.active { width: 26px; min-width: 26px; background: #72543b; }
.hero-pause { background: none; border: 0; font-size: 10px; min-height: 26px; padding: 0 0 0 9px; color: #84705c; }
.hero-vertical { position: absolute; right: 12px; top: 18px; writing-mode: vertical-rl; font: 8px Georgia, serif; letter-spacing: .16em; color: #fffaf3; opacity: .7; }
.hero-empty { display: block; height: auto; min-height: 350px; padding: 44px 52px; background: repeating-linear-gradient(93deg, #ddcdb813 0 1px, #ffffff00 1px 7px), linear-gradient(120deg, #e5d8c7, #f0e8dd); }
.hero-empty h2 { font: 42px/1.7 "Songti SC", "SimSun", Georgia, serif; margin-bottom: 18px; }
.hero-empty > p:not(.eyebrow) { color: var(--muted); }
.collection-section { padding: 64px 0 0; scroll-margin-top: 112px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2 { font-family: "Songti SC", "SimSun", Georgia, serif; font-size: 31px; letter-spacing: .07em; margin: 0; }
.result-count { color: var(--muted); font-size: 11px; padding-bottom: 5px; }
.material-tabs { display: flex; gap: 24px; align-items: center; overflow-x: auto; scrollbar-width: none; padding-bottom: 15px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.material-tabs::-webkit-scrollbar { display: none; }
.material-tabs button { min-height: 34px; padding: 8px 16px; background: none; border: 0; border-radius: 4px; flex: 0 0 auto; font-size: 12px; color: var(--muted); }
.material-tabs button:hover { background: #e9dfd150; color: var(--ink); }
.material-tabs button.active { background: #493c30; color: #f8f0e5; }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 38px 24px; }
.product-card { min-width: 0; }
.product-image-wrap { position: relative; overflow: hidden; border-radius: 3px; background: #e8e0d5; aspect-ratio: 1; }
.product-image-wrap > a { display: block; width: 100%; height: 100%; }
.product-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.65,.3,1), filter .6s; }
.product-card:hover .product-image-wrap img { transform: scale(1.045); filter: saturate(1.04); }
.product-code { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 65px); white-space: nowrap; text-overflow: ellipsis; overflow: hidden; background: #fcfaf1df; backdrop-filter: blur(6px); padding: 4px 8px; border: 1px solid #ffffffe0; color: #61513f; font-size: 9px; letter-spacing: .1em; }
.favorite-button { position: absolute; right: 10px; top: 10px; border: 1px solid #ffffff88; width: 34px; height: 34px; min-height: 34px; padding: 8px; border-radius: 50%; background: #fcfaf0d9; backdrop-filter: blur(6px); color: #7b6c5a; }
.favorite-button svg { width: 17px; height: 17px; flex-basis: 17px; }
.favorite-button.selected, .favorite-button-static.selected { color: var(--clay); }
.favorite-button.selected svg, .favorite-button-static.selected svg { fill: #91604922; }
.favorite-button:hover { background: #fcfaf1; border-color: white; }
.product-info { padding: 17px 2px 0; }
.product-meta { display: flex; align-items: center; justify-content: space-between; color: #9d8e7b; font-size: 9px; letter-spacing: .12em; gap: 8px; margin-bottom: 6px; }
.product-meta .similarity { color: var(--clay); letter-spacing: 0; }
.product-info h3 { margin: 0 0 6px; font-size: 15px; font-weight: 500; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-spec { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.product-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 12px 0 0; border-top: 1px solid #ded6ca95; }
.stock-label { font-size: 10px; color: #756e5f; }
.stock-label::before { content: ''; display: inline-block; width: 4px; height: 4px; background: #889073; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.stock-label.zero::before { background: #b59a7f; }
.product-bottom a { display: flex; align-items: center; justify-content: center; width: 28px; height: 24px; color: #8e785f; }
.product-bottom svg { width: 17px; height: 17px; }
.no-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #a28f77; font-size: 12px; letter-spacing: .1em; }
.favorite-source { color: var(--clay); font-size: 10px; display: block; margin-top: 10px; }
.contact-ribbon { display: flex; align-items: center; gap: 38px; margin: 76px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.ribbon-mark { width: 90px; height: 90px; display: flex; align-items: center; justify-content: center; border: 1px solid #c5b7a5; color: #a28a70; font: 55px "KaiTi", serif; transform: rotate(-4deg); flex: 0 0 auto; }
.contact-ribbon .eyebrow { margin-bottom: 10px; }
.contact-ribbon h2 { font-family: "Songti SC", "SimSun", serif; font-size: 26px; margin-bottom: 10px; }
.contact-ribbon p:last-child { font-size: 12px; color: var(--muted); margin-bottom: 0; }
.contact-ribbon > .primary { margin-left: auto; }
.site-footer { width: min(1440px, calc(100% - 112px)); margin: 0 auto; min-height: 205px; padding: 48px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 25px; color: var(--muted); }
.footer-brand { font-family: "Songti SC", "SimSun", serif; color: #7a6650; letter-spacing: .25em; font-size: 23px; }
.site-footer p { font-size: 10px; margin: 11px 0 0; }
.site-footer button { border: 0; background: none; font-size: 11px; margin-left: auto; }
.site-footer small, .site-footer > a { font-size: 9px; color: #a19382; letter-spacing: .06em; }
.site-footer small { width: 100%; text-align: right; }
.empty-state { padding: 75px 25px; text-align: center; }
.empty-state h1 { font-size: 28px; }
.empty-state h3 { margin: 15px 0 9px; font-size: 18px; }
.empty-state p { color: var(--muted); font-size: 13px; }
.empty-state .actions { justify-content: center; }
.empty-symbol { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: #a28b73; }
.grid-empty { grid-column: 1 / -1; min-height: 350px; padding-top: 60px; }
.favorites-page .catalog-intro { border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.favorites-page .collection-section { padding-top: 37px; }
.favorite-contexts { display: flex; align-items: center; gap: 15px; margin-top: 18px; }
.favorite-contexts label { font-size: 11px; }
.favorite-contexts select { font-size: 11px; max-width: 230px; padding: 9px 12px; }
.favorite-contexts span { font-size: 10px; color: var(--muted); }
.product-detail { padding-top: 28px; }
.detail-breadcrumb { display: flex; justify-content: space-between; gap: 18px; padding-bottom: 26px; font-size: 11px; color: var(--muted); }
.detail-breadcrumb a { display: flex; align-items: center; gap: 8px; }
.detail-breadcrumb svg { width: 15px; height: 15px; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1.06fr) minmax(0,1fr); align-items: start; gap: 64px; }
.detail-gallery { min-width: 0; }
.detail-main-image { position: relative; aspect-ratio: 1; overflow: hidden; background: #e8dfd1; border-radius: 3px; }
.detail-main-image > img { width: 100%; height: 100%; object-fit: contain; }
.image-zoom { position: absolute; right: 16px; bottom: 16px; border: 1px solid #fff8; background: #fffaf0cf; backdrop-filter: blur(6px); font-size: 10px; padding: 7px 11px; min-height: 34px; }
.image-zoom svg { width: 15px; height: 15px; flex-basis: 15px; }
.detail-thumbnails { display: flex; gap: 12px; overflow-x: auto; padding: 16px 0; }
.detail-thumbnails button { min-width: 78px; width: 78px; height: 78px; padding: 3px; border: 1px solid var(--line); border-radius: 4px; background: transparent; }
.detail-thumbnails button.active { border-color: var(--clay); }
.detail-thumbnails img { width: 100%; height: 100%; object-fit: cover; }
.detail-information { padding-top: 20px; }
.detail-information > .eyebrow { margin-bottom: 13px; }
.detail-information h1 { font: 36px/1.5 "Songti SC", "SimSun", serif; margin-bottom: 15px; }
.detail-subtitle { color: var(--muted); font-size: 12px; }
.detail-stock { background: #ebe3d7; padding: 24px 27px; margin: 28px 0; border-radius: 5px; }
.detail-stock > span { display: block; font-size: 10px; color: var(--muted); margin-bottom: 8px; }
.detail-stock > strong { font: 30px/1.4 Georgia, "Songti SC", serif; color: #6e5843; }
.detail-stock > strong small { font: 12px "Microsoft YaHei", sans-serif; }
.detail-stock > p { margin: 10px 0 0; font-size: 10px; color: #9a8772; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-bottom: 23px; }
.spec-grid > div { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.spec-grid dt { color: var(--muted); flex: 0 0 38px; }
.spec-grid dd { overflow-wrap: anywhere; }
.detail-note { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; color: var(--muted); line-height: 1.9; }
.detail-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 28px; }
.detail-actions .button, .detail-actions button { min-height: 49px; font-size: 12px; }
.detail-actions > .primary { grid-column: 1 / -1; }
.detail-actions .favorite-button-static, .detail-actions > .button:last-child { min-height: 39px; }
.detail-actions > .button:nth-child(2) { grid-column: 1 / -1; }
.detail-contact-note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; padding: 20px 0; }
.detail-contact-note strong { font-weight: 500; color: #795e45; }
.detail-contact-note svg { width: 16px; height: 16px; }
.private-management { border: 1px dashed #bda78e; padding: 18px; background: #eae0d36b; border-radius: 6px; }
.private-management .eyebrow { margin-bottom: 7px; font-family: inherit; letter-spacing: .04em; font-size: 10px; }
.private-management h3 { font-size: 13px; margin-bottom: 8px; }
.private-management p { font-size: 11px; margin: 5px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.private-management a { margin-top: 8px; }
.contact-details h2 { font: 30px "Songti SC", "SimSun", serif; margin-bottom: 25px; }
.contact-details > p { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.contact-text { white-space: pre-wrap; }
.business-card { border-radius: 7px; border: 1px solid var(--line); width: 100%; margin-bottom: 26px; }
.contact-phone { display: flex; align-items: center; gap: 12px; font: 25px/1.6 Georgia, serif; color: var(--clay); margin-bottom: 20px; }
.contact-phone svg { width: 22px; height: 22px; }
.account-gate { padding: 75px 20px 85px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.gate-monogram { width: 100px; height: 106px; display: flex; align-items: center; justify-content: center; color: #a68865; border: 1px solid #c2ae95; font: 61px "KaiTi", serif; transform: rotate(-3deg); margin-bottom: 35px; }
.account-gate h1 { font: 32px/1.7 "Songti SC", "SimSun", serif; margin-bottom: 14px; }
.account-gate > p:not(.eyebrow) { color: var(--muted); font-size: 13px; }
.account-gate .actions { margin: 16px 0 30px; }
.account-gate .actions > * { min-width: 125px; }
.my-page { max-width: 960px; padding-top: 55px; }
.personal-heading { display: flex; align-items: center; gap: 26px; padding-bottom: 35px; }
.personal-avatar { width: 85px; height: 85px; flex: 0 0 85px; border-radius: 50%; background: #e6d9c9; border: 1px solid #d6c6b1; display: flex; align-items: center; justify-content: center; color: #8a6c4e; font: 42px "KaiTi", serif; }
.personal-avatar svg { width: 32px; height: 32px; }
.personal-heading .eyebrow { margin-bottom: 9px; }
.personal-heading h1 { margin-bottom: 8px; font: 29px/1.5 Georgia, "Songti SC", serif; }
.personal-heading p:last-child { font-size: 12px; color: var(--muted); margin-bottom: 0; }
.my-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.my-links > a, .my-links > button { display: flex; align-items: center; text-align: left; gap: 18px; background: var(--paper-light); border: 1px solid var(--line); padding: 30px 24px; border-radius: 8px; color: var(--ink); }
.my-links > a:hover, .my-links > button:hover { border-color: #b9a58e; background: #f9f5ee; }
.my-links > a > svg:first-child, .my-links > button > svg:first-child { color: #9b7a57; width: 25px; height: 25px; flex-basis: 25px; }
.my-links > a > svg:last-child, .my-links > button > svg:last-child { margin-left: auto; color: #baa58d; width: 16px; height: 16px; flex-basis: 16px; }
.my-links h2 { font-size: 16px; margin-bottom: 8px; }
.my-links p { font-size: 10px; color: var(--muted); margin: 0; line-height: 1.7; }
.logout-button { display: flex; margin: 36px auto 0; background: none; color: var(--muted); font-size: 12px; padding-inline: 30px; }
dialog { width: min(600px, calc(100% - 36px)); max-height: calc(100dvh - 48px); overflow: auto; padding: 0; border: 1px solid #e2d6c5; border-radius: 13px; background: var(--paper-light); color: var(--ink); box-shadow: 0 25px 110px #23180e4a; }
dialog[open] { animation: dialog-in .2s ease-out; }
dialog::backdrop { background: #281b106b; backdrop-filter: blur(4px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.dialog-content { padding: 37px; }
.dialog-close { position: sticky; float: right; top: 12px; margin: 12px 12px -54px 0; width: 32px; height: 32px; min-height: 32px; padding: 7px; border: 0; background: #f3ede3e8; z-index: 3; border-radius: 50%; }
.dialog-close svg { width: 17px; height: 17px; }
.form-heading { padding-right: 18px; margin-bottom: 24px; }
.form-heading .eyebrow { margin-bottom: 12px; }
.form-heading h2 { font-family: "Songti SC", "SimSun", serif; font-size: 28px; margin-bottom: 12px; }
.form-heading p:not(.eyebrow) { font-size: 12px; color: var(--muted); line-height: 1.8; margin: 0; }
.wide-dialog { width: min(940px, calc(100% - 36px)); }
.image-dialog { width: min(1180px, calc(100% - 30px)); background: #1e1a16; border-color: #342a21; }
.image-dialog .dialog-content { padding: 0; }
.full-image { width: 100%; max-height: calc(100dvh - 60px); object-fit: contain; }
.card-dialog { width: min(590px, calc(100% - 30px)); }
.card-preview { background: #ede5d9; min-height: 170px; border-radius: 5px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; }
.card-preview img { width: 100%; height: auto; }
.card-preview .error { padding: 20px; }
.auth-dialog { max-width: 465px; }
.auth-dialog .dialog-content { padding: 37px 40px; }
.auth-decoration { font: 40px "KaiTi", serif; color: #baa388; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #d5c6b2; width: 59px; height: 63px; transform: rotate(-3deg); margin-bottom: 28px; }
.auth-tabs { display: flex; gap: 25px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.auth-tabs button { flex: 1; border: 0; background: none; border-radius: 0; padding: 12px 0; font-size: 13px; color: var(--muted); }
.auth-tabs button.active { color: var(--clay); box-shadow: 0 1px var(--clay); }
.sms-field { display: flex; gap: 8px; }
.sms-field input { flex: 1; width: 100px; }
.sms-field button { white-space: nowrap; min-width: 110px; padding-inline: 10px; font-size: 11px; }
.auth-footer { display: flex; justify-content: space-between; margin-top: 22px; }
.auth-footer { gap: 12px; flex-wrap: wrap; }
.auth-footer button { border: 0; background: none; font-size: 12px; color: var(--muted); min-height: 24px; padding: 0; }
.service-notice { color: #886044; background: #eee0cb; border: 1px solid #dfcbb0; font-size: 12px; border-radius: 6px; padding: 13px 16px; line-height: 1.8; }
#toast { position: fixed; z-index: 100; bottom: 30px; left: 50%; transform: translate(-50%,15px); opacity: 0; pointer-events: none; background: #3b3029f2; color: #fff6e9; border: 1px solid #ffffff20; padding: 13px 22px; border-radius: 8px; box-shadow: 0 8px 40px #261a1430; max-width: min(560px, calc(100% - 36px)); font-size: 12px; transition: opacity .2s, transform .2s; }
#toast.visible { opacity: 1; transform: translate(-50%,0); }
.management-page, .admin-page { padding-top: 44px; }
.management-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
.management-heading .eyebrow { margin-bottom: 10px; }
.management-heading h1 { font-family: "Songti SC", "SimSun", serif; font-size: 32px; margin-bottom: 12px; }
.management-heading p:last-child { font-size: 12px; color: var(--muted); margin: 0; }
.management-heading .actions { justify-content: flex-end; }
.management-heading .actions > * { font-size: 11px; padding: 9px 13px; }
.heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 25px 0 23px; }
.heading h2 { font-size: 23px; margin-bottom: 8px; }
.heading p { font-size: 12px; margin: 0; }
.metric-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; margin-bottom: 28px; }
.metric-grid > div { padding: 22px 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-light); }
.metric-grid > div > span { font-size: 11px; color: var(--muted); }
.metric-grid strong { display: block; font: 35px/1.4 Georgia, serif; font-weight: 400; color: #73563e; margin-top: 12px; }
.metric-grid small { font: 10px "Microsoft YaHei", sans-serif; color: var(--muted); margin-left: 8px; }
.operations-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.operations-toolbar input { max-width: 400px; font-size: 12px; }
.operations-toolbar select { max-width: 190px; font-size: 12px; }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-light); }
.data-table { border-collapse: collapse; width: 100%; text-align: left; white-space: nowrap; font-size: 12px; }
.data-table th { background: #eee7dd; color: #8d7a65; font-weight: 500; font-size: 11px; padding: 14px 18px; }
.data-table td { padding: 17px 18px; border-top: 1px solid #e5ddd2; vertical-align: middle; }
.data-table tr:hover td { background: #f7f1e8; }
.data-table small { display: block; color: var(--muted); font-size: 10px; margin-top: 5px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.data-table strong { font-size: 12px; font-weight: 500; }
.data-table .table-empty { text-align: center; padding: 45px 18px; color: var(--muted); }
.table-actions { gap: 6px; max-width: 270px; }
.table-actions button, .table-actions a, .data-table td > button { font-size: 10px; min-height: 30px; padding: 6px 10px; border-radius: 4px; }
.table-actions a { color: var(--clay); }
.table-product { display: flex; align-items: center; gap: 12px; }
.table-product img { width: 53px; height: 53px; object-fit: cover; border-radius: 3px; }
.table-product strong { max-width: 190px; overflow: hidden; text-overflow: ellipsis; display: block; }
.status-pill, .order-status, .subtle-tag { display: inline-flex; padding: 3px 9px; border-radius: 4px; font-size: 10px; background: #ece8e0; color: #847869; }
.status-pending, .state-draft { background: #eee0c6; color: #957031; }
.status-approved, .state-confirmed, .state-completed { background: #e4e8db; color: #62714c; }
.status-rejected, .state-cancelled { background: #efdfd6; color: #a06443; }
.state-shipped { background: #dfe6e3; color: #5d756a; }
.rejection-reason { color: var(--red) !important; white-space: normal; line-height: 1.6; }
.create-shop-page { padding-top: 62px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; max-width: 1120px; }
.create-shop-intro { position: sticky; top: 145px; }
.create-shop-intro h1 { font: 35px/1.7 "Songti SC", "SimSun", serif; margin-bottom: 26px; }
.create-shop-intro > p:not(.eyebrow) { font-size: 13px; color: var(--muted); line-height: 2; }
.create-shop-intro ol { padding: 0; list-style: none; margin: 33px 0; }
.create-shop-intro li { display: flex; align-items: center; gap: 15px; margin: 19px 0; font-size: 12px; }
.create-shop-intro li span { font: 15px Georgia, serif; color: #b29a7d; width: 27px; }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 23px 0 16px; }
.upload-zone { display: flex; align-items: center; flex-direction: column; gap: 9px; padding: 20px; border: 1px dashed #bea98e; border-radius: 7px; background: #f3ede3; cursor: pointer; }
.upload-zone > svg { color: var(--clay); width: 28px; height: 28px; }
.upload-zone strong { font-size: 13px; font-weight: 500; }
.upload-zone span { font-size: 10px; color: var(--muted); }
.upload-zone input { margin: 0; border: 0; background: #fff8; }
.upload-previews { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.existing-image, .new-preview { width: 120px; border: 1px solid var(--line); padding: 5px; border-radius: 4px; background: var(--paper-light); }
.existing-image img, .new-preview img { width: 108px; height: 108px; object-fit: cover; }
.existing-image > span { display: flex; align-items: center; gap: 6px; font-size: 10px; padding: 6px 0 0; }
.existing-image input { width: 14px; height: 14px; margin: 0; }
.new-preview small { display: block; max-width: 110px; font-size: 9px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-top: 6px; }
.sticky-form-actions { position: sticky; bottom: -38px; padding: 17px 0; margin-bottom: -20px; border-top: 1px solid var(--line); background: #fcfaf6ee; backdrop-filter: blur(8px); }
.admin-tabs { display: flex; gap: 14px; border-bottom: 1px solid var(--line); margin-bottom: 30px; padding-bottom: 15px; overflow-x: auto; scrollbar-width: none; }
.admin-tabs button { white-space: nowrap; flex: 0 0 auto; border: 0; background: none; color: var(--muted); font-size: 12px; padding: 11px 17px; border-radius: 5px; }
.admin-tabs button.active { background: #4e4033; color: #fff7ea; }
.admin-overview-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.admin-overview-grid h2 { font-family: "Songti SC", "SimSun", serif; }
.admin-overview-grid p:not(.eyebrow) { font-size: 12px; color: var(--muted); }
.review-prompt { background: linear-gradient(120deg, #e4d7c4, #f1e9dd); }
.rule-list { margin: 0; padding-left: 18px; font-size: 12px; color: var(--muted); line-height: 2.3; }
.settings-form { max-width: 760px; }
.platform-card { margin: 20px 0; }
.platform-card img { margin-top: 10px; max-width: 340px; border: 1px solid var(--line); border-radius: 5px; }
.review-source { border: 1px solid #d8c6ac; padding: 14px 19px; border-radius: 6px; background: #eee4d6; margin-bottom: 20px; font-size: 12px; }
.review-source strong { font-weight: 500; }
.review-source p { font-size: 11px; margin: 7px 0 0; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.review-images { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin: 25px 0; }
.review-images figure { margin: 0; }
.review-images button { display: block; width: 100%; padding: 0; border: 0; background: #e8dfd2; border-radius: 4px; overflow: hidden; }
.review-images img { width: 100%; height: auto; min-height: 200px; max-height: 600px; object-fit: contain; }
.review-images figcaption { margin-top: 8px; color: var(--muted); font-size: 11px; }
.current-stock { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: #eee4d6; border-radius: 7px; margin: 20px 0 25px; }
.current-stock > span { font-size: 12px; color: var(--muted); }
.current-stock strong { color: #765a3e; font: 28px Georgia, serif; }
.current-stock small { font: 12px "Microsoft YaHei", sans-serif; }
.stock-number, .money { color: #77563a; font-family: Georgia, serif; font-size: 16px; }
.order-customer { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-bottom: 25px; }
.order-customer small { display: block; color: var(--muted); font-size: 10px; margin-bottom: 6px; }
.order-customer strong { font-size: 12px; font-weight: 500; overflow-wrap: anywhere; }
.order-items-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0; }
.order-items-head h3 { margin: 0; }
.order-items-head button { font-size: 11px; min-height: 32px; padding: 8px 10px; }
.order-line { display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.9fr); gap: 10px; align-items: start; border: 1px solid var(--line); border-radius: 6px; padding: 15px; margin-bottom: 12px; }
.order-line label { font-size: 10px; }
.order-line input, .order-line select { padding: 9px 7px; font-size: 11px; }
.line-stock { font-size: 9px; color: var(--muted); margin-top: 5px; display: block; }
.line-amount { padding-left: 4px; }
.line-amount small { display: block; color: var(--muted); font-size: 10px; }
.line-subtotal { display: block; font: 14px Georgia, serif; margin-top: 16px; }
.remove-line { padding: 5px 0; background: none; border: 0; min-height: 20px; color: var(--red); font-size: 10px; }
.order-total { display: flex; justify-content: flex-end; align-items: center; gap: 25px; margin: 20px 0; border-top: 1px solid var(--line); padding-top: 20px; }
.order-total span { font-size: 12px; color: var(--muted); }
.order-total strong { font: 26px Georgia, serif; color: #845d3c; }
.note { white-space: pre-wrap; font-size: 12px; overflow-wrap: anywhere; }
.motion-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.65,.3,1); }
.motion-ready .reveal.revealed { opacity: 1; transform: translateY(0); }
.guest-history-shortcut { text-align: center; margin-top: -38px; padding-bottom: 28px; }
.guest-history-shortcut p { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.history-page { max-width: 1100px; padding-top: 44px; min-height: 65vh; }
.history-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; margin: 25px 0 30px; }
.history-toolbar > span { color: var(--muted); font-size: 12px; }
.history-toolbar form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.history-toolbar form label { margin: 0; font-size: 12px; }
.history-toolbar input { width: 165px; padding: 9px 11px; font-size: 13px; }
.history-toolbar button { min-height: 39px; font-size: 12px; padding: 9px 12px; }
.history-toolbar .error:not(:empty) { flex-basis: 100%; text-align: right; margin: 0; }
.history-day { margin-bottom: 35px; }
.history-day-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; gap: 15px; }
.history-day-heading h2 { font: 22px Georgia, serif; margin: 0; color: #755e47; }
.history-day-heading button { min-height: 36px; }
.history-list { border: 1px solid var(--line); background: var(--paper-light); border-radius: 8px; overflow: hidden; }
.history-item { display: flex; align-items: center; gap: 22px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.history-item:last-child { border-bottom: 0; }
.history-product-image { width: 88px; height: 88px; flex: 0 0 88px; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 5px; background: #e9e0d2; color: var(--muted); }
.history-product-image img { width: 100%; height: 100%; object-fit: cover; }
.history-product-image.unavailable { background: #efebe4; color: #b4a895; }
.history-product-info { flex: 1; min-width: 0; }
.history-product-info small { font-size: 10px; color: var(--muted); }
.history-product-info h3 { font-size: 16px; margin: 5px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.history-product-info p { color: var(--muted); font-size: 12px; margin: 0; }
.history-product-info > span { display: block; margin-top: 5px; font-size: 11px; color: var(--clay); }
.history-delete { border: 0; background: none; color: var(--muted); margin-left: auto; }
.history-delete:hover { color: var(--red); background: #efe3d8; }
.history-pagination { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 30px 0; }
.history-pagination > span { font-size: 12px; color: var(--muted); }
.history-pagination .button { font-size: 12px; }
.history-stats { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 760px; }
.history-cleanup-form { max-width: 760px; }
.history-cleanup-form input { display: block; max-width: 270px; }

@media (min-width: 1500px) {
  .product-grid { gap: 45px 28px; }
  .product-info h3 { font-size: 16px; }
  .catalog-intro { padding-top: 66px; }
}
@media (max-width: 1199px) {
  .page-width, .site-footer { width: calc(100% - 72px); }
  .header-inner { padding-inline: 36px; }
  .hero { min-height: 410px; grid-template-columns: 43% 57%; }
  .hero-copy { padding: 35px; }
  .hero-copy h2 { font-size: 33px; }
  .hero-copy .eyebrow { font-size: 8px; gap: 12px; margin-bottom: 24px; }
  .hero-controls { gap: 8px; padding-top: 25px; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .detail-layout { gap: 36px; }
  .detail-information { padding-top: 6px; }
  .detail-information h1 { font-size: 30px; }
  .detail-stock { margin: 22px 0; }
  .management-heading { flex-wrap: wrap; }
  .management-heading .actions { justify-content: flex-start; }
  .create-shop-page { gap: 44px; }
  .create-shop-intro h1 { font-size: 28px; }
}
@media (max-width: 899px) {
  .page-width, .site-footer { width: calc(100% - 44px); }
  .header-inner { padding-inline: 22px; }
  .site-header { height: 78px; }
  .brand-symbol { width: 39px; height: 43px; font-size: 26px; }
  .brand-wordmark { font-size: 20px; }
  .brand-wordmark small { font-size: 6px; }
  .desktop-nav { gap: 22px; }
  .desktop-nav > a, .desktop-nav > button { font-size: 11px; }
  #sharedShopReturn a { font-size: 11px; }
  #sharedShopReturn a > span { display: none; }
  .desktop-nav:has(#sharedShopReturn:not(:empty)) > button { display: none; }
  .account-area { min-width: 100px; }
  .catalog-intro { padding-top: 36px; }
  .hero { min-height: 360px; }
  .hero-copy { padding: 28px; }
  .hero-copy h2 { font-size: 27px; }
  .hero-copy .eyebrow { gap: 10px; letter-spacing: .13em; margin-bottom: 22px; }
  .hero-copy .eyebrow span { display: none; }
  .hero-controls { gap: 6px; }
  .hero-dots { max-width: 80px; }
  .hero-caption { font-size: 8px; right: 12px; bottom: 12px; }
  .product-grid { gap: 28px 18px; }
  .product-code { font-size: 8px; top: 9px; left: 9px; }
  .product-info h3 { font-size: 14px; }
  .product-spec { font-size: 10px; }
  .collection-section { padding-top: 44px; }
  .material-tabs { gap: 12px; }
  .contact-ribbon { gap: 24px; margin-top: 50px; padding: 35px 0; }
  .ribbon-mark { width: 66px; height: 66px; font-size: 42px; }
  .contact-ribbon h2 { font-size: 22px; }
  .contact-ribbon .eyebrow { font-size: 8px; }
  .detail-layout { gap: 26px; }
  .detail-information h1 { font-size: 26px; }
  .spec-grid { grid-template-columns: 1fr; gap: 0; }
  .detail-gallery { position: sticky; top: 108px; }
  .detail-actions { gap: 8px; }
  .metric-grid { gap: 12px; }
  .metric-grid > div { padding: 18px; }
  .metric-grid strong { font-size: 30px; }
  .my-links { gap: 12px; }
  .my-links > a, .my-links > button { padding: 25px 18px; gap: 15px; }
  .my-links h2 { font-size: 15px; }
  .admin-overview-grid { grid-template-columns: 1fr; gap: 18px; }
  .create-shop-page { gap: 28px; }
  .panel { padding: 24px; }
}
@media (max-width: 640px) {
  :root { font-size: 14px; }
  body { padding-bottom: calc(67px + env(safe-area-inset-bottom)); }
  html { scroll-padding-top: 76px; }
  .page-width, .site-footer { width: calc(100% - 32px); }
  .site-header { height: 67px; background: #f6f2ebf5; }
  .header-inner { padding-inline: 18px; }
  .brand { gap: 11px; }
  .brand-symbol { width: 32px; height: 35px; font-size: 22px; }
  .brand-wordmark { font-size: 19px; letter-spacing: .2em; }
  .brand-wordmark small { font-size: 5px; letter-spacing: .16em; margin-top: 3px; }
  .desktop-nav, .account-area { display: none; }
  .header-inner::after { content: '面 料 展 厅'; color: #ad9b84; font-size: 9px; letter-spacing: .04em; }
  .mobile-nav { display: flex; align-items: stretch; position: fixed; bottom: 0; left: 0; right: 0; z-index: 25; height: calc(66px + env(safe-area-inset-bottom)); padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid #e0d6c8; background: #fcfaf5f5; backdrop-filter: blur(18px); }
  .mobile-nav a { display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #a19380; font-size: 11px; }
  .mobile-nav svg { width: 21px; height: 21px; flex-basis: 21px; }
  .mobile-nav a.active { color: var(--clay); }
  .mobile-nav a.active svg { stroke-width: 1.8px; }
  .mobile-nav a.active::after { content: ''; width: 3px; height: 3px; background: var(--clay); border-radius: 50%; position: absolute; bottom: calc(6px + env(safe-area-inset-bottom)); }
  .catalog-intro { gap: 14px; padding: 24px 0 17px; align-items: flex-start; }
  .catalog-intro .eyebrow { font-size: 7px; letter-spacing: .19em; margin-bottom: 8px; }
  .catalog-intro h1 { font-size: 22px; line-height: 1.5; letter-spacing: .04em; margin-bottom: 8px; }
  .catalog-intro p:last-child { font-size: 11px; letter-spacing: .04em; }
  .intro-index { display: none; }
  .intro-actions { flex-wrap: wrap; justify-content: flex-end; flex: 0 0 auto; max-width: 105px; gap: 5px; padding-top: 10px; }
  .intro-actions .primary { min-height: 32px; font-size: 10px; padding: 7px 9px; gap: 3px; }
  .intro-actions .primary svg { width: 13px; height: 13px; flex-basis: 13px; }
  .intro-actions .icon-button { width: 30px; height: 30px; min-height: 30px; padding: 7px; }
  .intro-actions .icon-button svg { width: 15px; height: 15px; flex-basis: 15px; }
  .scope-line { font-size: 11px; gap: 9px; margin-bottom: 9px; }
  .scope-line > span:first-child { gap: 5px; }
  .scope-line svg { width: 12px; height: 12px; flex-basis: 12px; }
  .scope-line .text-button { font-size: 11px; gap: 4px; }
  .scope-contact { display: none; }
  .search-box { border-radius: 7px; }
  .search-input-wrap { gap: 7px; padding-left: 11px; }
  .search-input-wrap input { font-size: 16px; min-height: 51px; padding: 12px 0; }
  .search-input-wrap input::placeholder { font-size: 12px; }
  .search-input-wrap > svg { width: 16px; height: 16px; flex-basis: 16px; }
  .search-submit { font-size: 13px; padding: 6px 9px; }
  .image-search-button { gap: 4px; padding: 5px 10px; margin: 8px 0; font-size: 12px; flex-direction: column; }
  .image-search-button svg { width: 17px; height: 17px; flex-basis: 17px; }
  .image-search-button span { font-size: 10px; line-height: 1.2; }
  .search-notice:not(:empty) { padding: 11px 12px; font-size: 10px; align-items: flex-start; }
  .search-notice .text-button { font-size: 9px; flex: 0 0 auto; }
  .search-notice svg { width: 12px; height: 12px; }
  .hero { min-height: 0; height: 294px; margin-top: 17px; grid-template-columns: 46% 54%; border-radius: 7px; }
  .hero-copy { padding: 21px 17px; justify-content: flex-start; }
  .hero-copy .eyebrow { font-size: 9px; letter-spacing: .06em; margin-bottom: 20px; }
  .hero-copy h2 { font-size: clamp(17px, 4.8vw, 23px); line-height: 1.75; letter-spacing: .02em; margin-bottom: 11px; }
  .hero-copy > p:not(.eyebrow) { font-size: 11px; margin-bottom: 9px; }
  .hero-link { margin-top: 0; font-size: 11px; gap: 12px; padding: 7px 0; }
  .hero-link svg { width: 14px; height: 14px; flex-basis: 14px; }
  .hero-controls { padding-top: 17px; gap: 5px; }
  .hero-controls .icon-button { width: 18px; height: 22px; min-height: 22px; }
  .hero-controls .icon-button svg { width: 14px; height: 14px; flex-basis: 14px; }
  .hero-dots { max-width: 46px; gap: 4px; }
  .hero-dots button { width: 4px; min-width: 4px; height: 4px; min-height: 4px; }
  .hero-dots button.active { width: 15px; min-width: 15px; }
  .hero-pause { padding-left: 1px; font-size: 10px; min-height: 26px; }
  .hero-caption { font-size: 9px; padding: 4px 6px; bottom: 9px; right: 7px; max-width: calc(100% - 14px); }
  .hero-vertical { display: none; }
  .hero-visual img { object-position: 53% center; }
  .hero-empty { height: auto; min-height: 235px; padding: 26px; }
  .hero-empty .eyebrow { font-size: 7px; }
  .hero-empty h2 { font-size: 27px; line-height: 1.7; margin-bottom: 10px; }
  .hero-empty > p:not(.eyebrow) { font-size: 10px; }
  .collection-section { padding-top: 31px; scroll-margin-top: 78px; }
  .section-heading { margin-bottom: 18px; }
  .section-heading .eyebrow { font-size: 7px; letter-spacing: .19em; margin-bottom: 6px; }
  .section-heading h2 { font-size: 23px; }
  .result-count { font-size: 9px; padding-bottom: 3px; }
  .material-tabs { gap: 10px; margin-bottom: 18px; padding-bottom: 12px; }
  .material-tabs button { min-height: 36px; padding: 8px 13px; font-size: 12px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 27px 13px; }
  .product-image-wrap { border-radius: 5px; }
  .product-code { top: 7px; left: 7px; font-size: 9px; padding: 3px 5px; letter-spacing: .02em; max-width: calc(100% - 50px); }
  .favorite-button { top: 6px; right: 6px; width: 34px; height: 34px; min-height: 34px; padding: 8px; }
  .favorite-button svg { width: 17px; height: 17px; flex-basis: 17px; }
  .product-info { padding: 11px 1px 0; }
  .product-meta { font-size: 10px; margin-bottom: 5px; letter-spacing: .02em; }
  .product-info h3 { font-size: 14px; margin-bottom: 5px; }
  .product-spec { font-size: 11px; }
  .product-bottom { padding-top: 8px; margin-top: 11px; }
  .stock-label { font-size: 11px; }
  .stock-label::before { width: 3px; height: 3px; margin-right: 4px; }
  .product-bottom svg { width: 14px; height: 14px; }
  .product-bottom a { height: 18px; width: 22px; }
  .favorite-source { font-size: 10px; margin-top: 7px; }
  .contact-ribbon { flex-wrap: wrap; gap: 17px; margin-top: 38px; padding: 27px 0; }
  .ribbon-mark { width: 46px; height: 46px; font-size: 32px; }
  .contact-ribbon > div { flex: 1; }
  .contact-ribbon .eyebrow { font-size: 6px; margin-bottom: 8px; }
  .contact-ribbon h2 { font-size: 17px; margin-bottom: 7px; }
  .contact-ribbon p:last-child { font-size: 9px; }
  .contact-ribbon > .primary { font-size: 10px; margin-left: 63px; min-height: 35px; padding: 9px 14px; }
  .site-footer { min-height: 145px; padding: 30px 0 17px; gap: 15px; }
  .footer-brand { font-size: 20px; }
  .site-footer p { font-size: 9px; margin-top: 7px; }
  .site-footer button { font-size: 10px; padding: 6px 0; }
  .site-footer button svg { width: 14px; height: 14px; }
  .site-footer small { font-size: 7px; text-align: left; margin-top: 2px; }
  .site-footer > a { font-size: 8px; }
  .favorite-contexts { gap: 9px; flex-wrap: wrap; margin-top: 14px; }
  .favorite-contexts label { font-size: 9px; }
  .favorite-contexts select { font-size: 10px; width: 220px; max-width: calc(100% - 60px); padding: 8px 10px; }
  .favorite-contexts > span { width: 100%; font-size: 9px; }
  .favorites-page .collection-section { padding-top: 27px; }
  .favorites-page .catalog-intro { margin-bottom: 15px; }
  .detail-breadcrumb { font-size: 10px; padding-bottom: 17px; }
  .product-detail { padding-top: 20px; }
  .detail-layout { display: block; }
  .detail-gallery { position: static; }
  .detail-main-image { border-radius: 6px; }
  .detail-thumbnails { gap: 9px; padding: 12px 0; }
  .detail-thumbnails button { width: 62px; min-width: 62px; height: 62px; }
  .detail-information { padding-top: 21px; }
  .detail-information > .eyebrow { font-size: 8px; margin-bottom: 10px; }
  .detail-information h1 { font-size: 27px; margin-bottom: 12px; }
  .detail-subtitle { font-size: 11px; }
  .detail-stock { padding: 21px; margin: 23px 0; }
  .spec-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 18px; }
  .spec-grid > div { gap: 9px; font-size: 11px; }
  .spec-grid dt { flex-basis: 30px; }
  .detail-note { font-size: 11px; }
  .detail-actions { margin-top: 20px; }
  .detail-contact-note { align-items: flex-start; font-size: 9px; }
  .empty-state { padding: 60px 15px; }
  .empty-state h1 { font-size: 23px; }
  .empty-state h3 { font-size: 17px; }
  .empty-state p { font-size: 11px; }
  .grid-empty { min-height: 275px; }
  .account-gate { padding-top: 55px; padding-bottom: 55px; }
  .gate-monogram { width: 73px; height: 78px; font-size: 49px; margin-bottom: 30px; }
  .account-gate .eyebrow { font-size: 8px; }
  .account-gate h1 { font-size: 25px; }
  .account-gate > p:not(.eyebrow) { font-size: 11px; }
  .account-gate .actions > * { min-width: 112px; font-size: 12px; }
  .my-page { padding-top: 30px; }
  .personal-heading { gap: 18px; padding-bottom: 25px; }
  .personal-avatar { width: 62px; height: 62px; flex-basis: 62px; font-size: 35px; }
  .personal-avatar svg { width: 25px; height: 25px; }
  .personal-heading .eyebrow { font-size: 7px; margin-bottom: 7px; }
  .personal-heading h1 { font-size: 22px; margin-bottom: 7px; }
  .personal-heading p:last-child { font-size: 9px; }
  .my-links { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
  .my-links > a, .my-links > button { width: 100%; padding: 23px 20px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .my-links > :last-child { border-bottom: 0; }
  .my-links h2 { font-size: 15px; margin-bottom: 6px; }
  .my-links p { font-size: 10px; }
  .logout-button { margin-top: 24px; width: 100%; font-size: 12px; }
  dialog { width: calc(100% - 24px); max-height: calc(100dvh - 30px); border-radius: 11px; }
  .dialog-content, .auth-dialog .dialog-content { padding: 28px 23px; }
  .form-heading { margin-bottom: 21px; }
  .form-heading h2 { font-size: 24px; }
  .form-heading .eyebrow { font-size: 8px; }
  .form-heading p:not(.eyebrow) { font-size: 11px; }
  .row { gap: 13px; }
  label { font-size: 12px; }
  input, textarea, select { font-size: 16px; padding: 10px 11px; }
  input::placeholder, textarea::placeholder { font-size: 12px; }
  .sms-field input { font-size: 16px; }
  .auth-decoration { width: 45px; height: 48px; font-size: 31px; margin-bottom: 23px; }
  .auth-tabs { margin-bottom: 21px; }
  .auth-tabs button { font-size: 12px; }
  .service-notice { padding: 11px 13px; font-size: 11px; }
  .wide-dialog { width: calc(100% - 20px); }
  .image-dialog .dialog-content { padding: 0; }
  .card-dialog { width: calc(100% - 20px); }
  .card-dialog .dialog-content { padding: 26px 18px; }
  .card-preview { margin-inline: -8px; }
  .contact-details h2 { font-size: 27px; }
  .contact-details > p { font-size: 12px; }
  .contact-phone { font-size: 24px; }
  #toast { bottom: calc(82px + env(safe-area-inset-bottom)); font-size: 11px; padding: 12px 17px; width: max-content; max-width: calc(100% - 36px); }
  .management-page, .admin-page { padding-top: 27px; }
  .management-heading { gap: 18px; margin-bottom: 23px; }
  .management-heading h1 { font-size: 27px; margin-bottom: 9px; }
  .management-heading p:last-child { font-size: 10px; }
  .management-heading .eyebrow { font-size: 7px; }
  .management-heading .actions { gap: 7px; }
  .management-heading .actions > * { font-size: 10px; min-height: 35px; padding: 8px 10px; }
  .management-heading .actions svg { width: 14px; height: 14px; flex-basis: 14px; }
  .metric-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 21px; }
  .metric-grid > div { padding: 15px 18px; }
  .metric-grid > div > span { font-size: 10px; }
  .metric-grid strong { margin-top: 7px; font-size: 29px; }
  .metric-grid small { font-size: 9px; }
  .operations-toolbar { flex-wrap: wrap; gap: 9px; margin-bottom: 14px; }
  .operations-toolbar input { max-width: none; flex: 1 0 100%; font-size: 14px; padding: 10px 12px; }
  .operations-toolbar select { flex: 1; max-width: none; font-size: 12px; padding: 9px 10px; }
  .data-table th { padding: 12px; font-size: 10px; }
  .data-table td { padding: 14px 12px; }
  .data-table, .data-table strong { font-size: 11px; }
  .data-table small { font-size: 9px; max-width: 190px; }
  .table-product { gap: 8px; }
  .table-product img { width: 45px; height: 45px; }
  .table-product strong { max-width: 135px; }
  .table-actions { min-width: 140px; max-width: 220px; gap: 5px; }
  .table-actions button, .table-actions a { font-size: 9px; padding: 6px 8px; }
  .heading { align-items: flex-start; margin: 20px 0; gap: 13px; }
  .heading h2 { font-size: 20px; }
  .heading p { font-size: 10px; }
  .heading > button { font-size: 10px; min-height: 34px; padding: 9px 12px; flex: 0 0 auto; }
  .admin-tabs { gap: 6px; padding-bottom: 12px; margin-bottom: 22px; }
  .admin-tabs button { font-size: 11px; min-height: 34px; padding: 8px 13px; }
  .panel { padding: 22px 20px; }
  .admin-overview-grid h2 { font-size: 23px; }
  .admin-overview-grid p:not(.eyebrow), .rule-list { font-size: 11px; }
  .create-shop-page { display: block; padding-top: 30px; }
  .create-shop-intro { position: static; margin-bottom: 26px; }
  .create-shop-intro .eyebrow { font-size: 7px; }
  .create-shop-intro h1 { font-size: 28px; margin-bottom: 19px; }
  .create-shop-intro > p:not(.eyebrow) { font-size: 11px; }
  .create-shop-intro ol { margin: 20px 0; }
  .create-shop-intro li { font-size: 11px; margin: 13px 0; }
  .create-shop-page .row { grid-template-columns: 1fr; }
  .upload-grid { grid-template-columns: 1fr; gap: 12px; }
  .upload-zone { padding: 17px; }
  .upload-previews { gap: 9px; }
  .existing-image, .new-preview { width: 92px; }
  .existing-image img, .new-preview img { width: 80px; height: 80px; }
  .existing-image > span { font-size: 9px; gap: 3px; }
  .sticky-form-actions { bottom: -28px; padding: 14px 0; gap: 8px; }
  .sticky-form-actions button { font-size: 11px; min-height: 37px; padding: 9px 12px; }
  .review-images { grid-template-columns: 1fr; gap: 18px; }
  .review-images img { min-height: 180px; max-height: none; }
  .review-source { padding: 13px 15px; font-size: 11px; }
  .order-line { grid-template-columns: 1fr 1fr; gap: 11px; padding: 14px; }
  .order-line .line-fabric { grid-column: 1 / -1; }
  .order-line input, .order-line select { font-size: 14px; }
  .line-amount { grid-column: 1 / -1; display: flex; align-items: center; gap: 11px; padding: 8px 0 0; }
  .line-subtotal { margin: 0; }
  .remove-line { margin-left: auto; }
  .order-customer { grid-template-columns: 1fr 1fr; gap: 15px; }
  .order-customer > div:last-child { grid-column: 1 / -1; }
  .order-total strong { font-size: 24px; }
  .order-items-head h3 { font-size: 14px; }
  .order-items-head button { font-size: 10px; }
  .history-page { padding-top: 26px; }
  .history-toolbar { display: block; margin-top: 20px; padding: 17px 0; }
  .history-toolbar > span { display: block; margin-bottom: 14px; }
  .history-toolbar form { justify-content: flex-start; gap: 8px; }
  .history-toolbar form label { width: 100%; font-size: 12px; }
  .history-toolbar input { font-size: 16px; width: auto; flex: 1; }
  .history-toolbar button { font-size: 12px; min-height: 43px; }
  .history-day-heading h2 { font-size: 20px; }
  .history-day-heading button { font-size: 11px; }
  .history-item { padding: 16px 13px; gap: 13px; }
  .history-product-image { width: 67px; height: 76px; flex-basis: 67px; }
  .history-product-info h3 { font-size: 14px; }
  .history-product-info small, .history-product-info > span { font-size: 10px; }
  .history-product-info p { font-size: 11px; }
  .history-delete { width: 31px; min-height: 42px; padding: 5px; }
  .history-delete svg { width: 16px; height: 16px; flex-basis: 16px; }
  .history-pagination { gap: 15px; }
  .history-pagination .button { padding: 9px 12px; }
  .history-cleanup-form input { font-size: 16px; }
  .guest-history-shortcut { margin-top: -25px; padding-bottom: 15px; }
  .guest-history-shortcut p { font-size: 11px; }
}
@media (max-width: 360px) {
  .page-width, .site-footer { width: calc(100% - 24px); }
  .hero-copy { padding: 18px 13px; }
  .hero-copy h2 { font-size: 17px; }
  .hero-copy .eyebrow { display: none; }
  .hero-controls { gap: 3px; }
  .search-submit { padding: 6px; }
  .search-input-wrap input { font-size: 16px; }
  .image-search-button { padding-inline: 8px; }
  .product-grid { gap: 23px 10px; }
  .spec-grid { grid-template-columns: 1fr; }
  .dialog-content, .auth-dialog .dialog-content { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}
