/* ============================================================
   果于蓝商城 GYULAN — Global Stylesheet
   高级买手店风：冷灰画布 × 纯白卡片 × 深靛蓝，大留白，衬线大字
   ============================================================ */

:root {
  --ink: #0d0e11;
  --ink-soft: #35373c;
  --paper: #f1f2f4;
  --paper-2: #e8eaee;
  --card: #ffffff;
  --line: #e2e4e9;
  --gray: #7e818a;
  --accent: #1c3557;
  --accent-deep: #12253d;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "Inter", -apple-system, "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", sans-serif;
  --header-h: 72px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

/* ---------- 通用 ---------- */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gray); font-weight: 600;
}
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; letter-spacing: .02em;
}
.sec-title em { font-style: normal; color: var(--accent); }
.sec-link { font-size: 12px; letter-spacing: .22em; color: var(--ink); white-space: nowrap; border-bottom: 1px solid var(--ink); padding-bottom: 4px; transition: color .3s, border-color .3s; }
.sec-link:hover { color: var(--accent); border-color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 36px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  border: 1px solid var(--ink); background: var(--ink); color: var(--paper);
  transition: all .35s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn.light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn.light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light-solid { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light-solid:hover { background: transparent; color: #fff; border-color: #fff; }
.btn.block { width: 100%; }
.btn:disabled { opacity: .4; cursor: not-allowed; }

/* ---------- 公告条 ---------- */
.topbar {
  background: var(--ink); color: rgba(246,246,244,.85);
  font-size: 11px; letter-spacing: .28em; text-align: center;
  padding: 9px 16px; position: relative; z-index: 60;
}
.topbar b { color: #aebecf; font-weight: 600; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); }
.nav-main { display: flex; gap: 34px; }
.nav-main a { font-size: 13px; letter-spacing: .18em; position: relative; padding: 6px 0; color: var(--ink-soft); transition: color .3s; }
.nav-main a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--accent); transition: width .35s var(--ease); }
.nav-main a:hover, .nav-main a.active { color: var(--ink); }
.nav-main a:hover::after, .nav-main a.active::after { width: 100%; }
.brand { text-align: center; white-space: nowrap; }
.brand .zh { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: .2em; margin-right: -.2em; line-height: 1.2; }
.brand .en { display: block; font-size: 8px; letter-spacing: .5em; color: var(--gray); text-transform: uppercase; margin-top: 2px; }
.nav-tools { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--ink); position: relative; transition: color .3s;
}
.icon-btn:hover { color: var(--accent); }
.icon-btn svg { width: 19px; height: 19px; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 16px; height: 16px;
  background: var(--accent); color: #fff; border-radius: 99px;
  font-size: 10px; line-height: 16px; text-align: center; padding: 0 4px;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.show { transform: scale(1); }
.burger { display: none; }

/* 移动端抽屉导航 */
.mobile-nav {
  position: fixed; inset: 0; z-index: 80; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: 0 10vw; gap: 8px;
  transform: translateX(100%); transition: transform .5s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { font-family: var(--serif); font-size: 32px; letter-spacing: .2em; padding: 12px 0; border-bottom: 1px solid rgba(246,246,244,.12); }
.mobile-nav .close-nav { position: absolute; top: 24px; right: 24px; color: var(--paper); font-size: 26px; background: none; border: none; }

/* ---------- 首屏 Hero ---------- */
.hero { position: relative; height: calc(100svh - var(--header-h) - 34px); min-height: 620px; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; animation: heroZoom 12s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,22,.10) 0%, rgba(20,20,22,.02) 45%, rgba(20,20,22,.42) 100%); }
.hero-content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding-bottom: clamp(48px, 7vh, 90px); color: #fff; }
.hero-panel {
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  color: var(--ink); padding: clamp(26px, 3.2vw, 44px) clamp(24px, 3.2vw, 46px);
  max-width: 560px; border-left: 2px solid var(--accent);
}
.hero-panel .hero-title { font-size: clamp(26px, 3.2vw, 42px); line-height: 1.34; letter-spacing: .03em; }
.hero-kicker { font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; font-weight: 600; }
.hero-title { font-family: var(--serif); font-weight: 600; font-size: clamp(38px, 6.4vw, 88px); line-height: 1.12; letter-spacing: .04em; max-width: 18em; }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { margin-top: 16px; font-size: 14px; letter-spacing: .1em; color: var(--ink-soft); max-width: 460px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta { position: absolute; right: clamp(20px,4vw,56px); bottom: clamp(48px,7vh,90px); text-align: right; font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.65); line-height: 2.2; text-transform: uppercase; }

/* ---------- 跑马灯 ---------- */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: 13px 0; border-bottom: 1px solid rgba(246,246,244,.08); }
.ticker-track { display: flex; gap: 64px; width: max-content; animation: ticker 30s linear infinite; }
.ticker span { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; white-space: nowrap; color: rgba(246,246,244,.7); }
.ticker span i { font-style: normal; color: var(--accent); margin-right: 16px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- 品类三联 ---------- */
.cat-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: clamp(14px, 1.6vw, 22px); }
.cat-card { position: relative; display: block; overflow: hidden; aspect-ratio: 3/4.1; background: var(--paper-2); min-width: 0; }
.cat-card:first-child { aspect-ratio: auto; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.cat-card:hover img { transform: scale(1.055); }
.cat-card .veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(20,20,22,.72) 100%); }
.cat-card .info { position: absolute; left: 26px; right: 26px; bottom: 24px; color: #fff; }
.cat-card .en { font-size: 10px; letter-spacing: .42em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.cat-card h3 { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: .1em; margin: 6px 0 4px; }
.cat-card .count { font-size: 12px; letter-spacing: .18em; color: rgba(255,255,255,.75); }
.cat-card .arrow { position: absolute; right: 26px; bottom: 26px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: grid; place-items: center; transition: all .4s var(--ease); }
.cat-card:hover .arrow { background: var(--accent); border-color: var(--accent); }

/* ---------- 商品卡片 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.8vw, 26px) clamp(12px, 1.4vw, 20px); }
.prod-grid > *, .journal-grid > *, .cat-grid > * { min-width: 0; }
.prod-card { position: relative; background: var(--card); border: 1px solid var(--line); transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.prod-card:hover { box-shadow: 0 28px 50px -34px rgba(13,14,17,.45); transform: translateY(-3px); }
.prod-media { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--paper-2); cursor: pointer; }
.prod-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.prod-card:hover .prod-media img { transform: scale(1.06); }
.badge {
  position: absolute; top: 0; left: 0; z-index: 2;
  font-size: 10px; letter-spacing: .2em; padding: 6px 10px;
  background: rgba(13,14,17,.82); color: #fff;
}
.badge.hot { background: var(--accent); color: #fff; }
.quick-add {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
  padding: 12px; text-align: center; font-size: 11px; letter-spacing: .26em;
  background: rgba(246,246,244,.95); color: var(--ink); border: none;
  opacity: 0; transform: translateY(8px); transition: all .35s var(--ease);
}
.prod-card:hover .quick-add { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--ink); color: var(--paper); }
.prod-info { padding: 16px 16px 20px; }
.prod-info .cat { font-size: 10px; letter-spacing: .24em; color: var(--gray); text-transform: uppercase; }
.prod-info h3 { font-size: 14px; font-weight: 500; letter-spacing: .04em; margin: 5px 0 3px; }
.prod-info .en { font-size: 11px; color: var(--gray); letter-spacing: .05em; }
.prod-info .price { font-size: 14px; letter-spacing: .06em; margin-top: 8px; font-weight: 600; }

/* ---------- 编辑部区块 ---------- */
.editorial { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: center; }
.editorial .img-box { overflow: hidden; aspect-ratio: 4/3.4; }
.editorial .img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.editorial:hover .img-box img { transform: scale(1.04); }
.editorial .txt .eyebrow { margin-bottom: 18px; }
.editorial .txt h2 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 42px); font-weight: 600; line-height: 1.3; letter-spacing: .03em; }
.editorial .txt p { margin: 20px 0 30px; color: var(--ink-soft); max-width: 46ch; }
.big-quote {
  font-family: var(--serif); text-align: center; max-width: 900px; margin: 0 auto;
  font-size: clamp(22px, 3vw, 38px); line-height: 1.7; letter-spacing: .06em; font-weight: 600;
}
.big-quote small { display: block; margin-top: 22px; font-family: var(--sans); font-size: 11px; letter-spacing: .4em; color: var(--gray); }

/* ---------- 数码区 ---------- */
.digital-band { background: #0e0e10; color: var(--paper); }
.digital-band .sec-title { color: var(--paper); }
.digital-band .eyebrow { color: rgba(246,246,244,.5); }
.digital-band .prod-info .cat, .digital-band .prod-info .en { color: rgba(246,246,244,.55); }
.digital-band .prod-info h3 { color: var(--paper); }
.digital-band .badge { background: rgba(246,246,244,.14); color: var(--paper); }
.digital-band .badge.hot { background: var(--accent); color: #fff; }
.digital-band .quick-add { background: rgba(246,246,244,.95); }
.digital-band .prod-card { background: transparent; border-color: rgba(246,246,244,.16); }
.digital-band .prod-card:hover { box-shadow: 0 28px 50px -34px rgba(0,0,0,.9); }
.digital-brand-row { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 34px; }
.digital-brand-row span { font-size: 12px; letter-spacing: .3em; color: rgba(246,246,244,.55); text-transform: uppercase; }

/* ---------- Journal ---------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 26px); }
.journal-card .img-box { overflow: hidden; aspect-ratio: 4/2.8; }
.journal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.journal-card:hover img { transform: scale(1.05); }
.journal-card .eyebrow { margin: 18px 0 8px; }
.journal-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .06em; line-height: 1.5; }
.journal-card p { font-size: 13px; color: var(--gray); margin-top: 10px; }

/* ---------- 订阅 ---------- */
.newsletter { background: var(--card); text-align: center; padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.newsletter h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 40px); font-weight: 600; letter-spacing: .06em; }
.newsletter p { color: var(--gray); margin: 14px 0 30px; font-size: 13px; letter-spacing: .08em; }
.news-form { display: flex; max-width: 460px; margin: 0 auto; border-bottom: 1px solid var(--ink); }
.news-form input { flex: 1; border: none; background: transparent; padding: 14px 4px; font-size: 14px; outline: none; font-family: inherit; letter-spacing: .06em; }
.news-form button { border: none; background: none; font-size: 12px; letter-spacing: .26em; padding: 0 8px; transition: color .3s; }
.news-form button:hover { color: var(--accent); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(246,246,244,.78); padding: clamp(56px, 7vw, 96px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-brand .zh { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: .28em; color: var(--paper); }
.footer-brand .en { font-size: 10px; letter-spacing: .5em; color: rgba(246,246,244,.45); margin-top: 4px; }
.footer-brand p { margin-top: 22px; font-size: 13px; line-height: 2; max-width: 34ch; color: rgba(246,246,244,.6); }
.site-footer h4 { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(246,246,244,.45); margin-bottom: 20px; font-weight: 600; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 12px; }
.site-footer li a { font-size: 13px; letter-spacing: .08em; transition: color .3s; }
.site-footer li a:hover { color: #aebecf; }
.footer-bottom { border-top: 1px solid rgba(246,246,244,.1); padding: 22px 0 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 11px; letter-spacing: .12em; color: rgba(246,246,244,.4); }
.footer-bottom a { color: rgba(246,246,244,.55); transition: color .3s; }
.footer-bottom a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 26px; padding: 14px 0 26px; font-size: 11px; letter-spacing: .1em; color: rgba(246,246,244,.3); text-align: center; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.footer-badges span { font-size: 10px; letter-spacing: .16em; border: 1px solid rgba(246,246,244,.2); padding: 5px 10px; color: rgba(246,246,244,.6); }
.footer-contact li { font-size: 13px; letter-spacing: .06em; line-height: 1.5; color: rgba(246,246,244,.72); }
.footer-contact li a:hover { color: #fff; }

/* ---------- 关于页 · 公司信息 ---------- */
.about-info { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 100px); }
.info-head { max-width: 620px; margin-bottom: clamp(26px, 3.4vw, 44px); }
.info-head .eyebrow { margin-bottom: 14px; }
.info-head h2 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; letter-spacing: .08em; }
.info-head p { margin-top: 14px; font-size: 13px; line-height: 1.9; color: var(--gray); }
.info-list { border-top: 1px solid var(--line); }
.info-list .row { display: grid; grid-template-columns: 128px 1fr; gap: 24px; padding: 19px 4px; border-bottom: 1px solid var(--line); }
.info-list dt { font-size: 12px; letter-spacing: .2em; color: var(--gray); padding-top: 3px; }
.info-list dd { font-size: 14px; line-height: 1.95; color: var(--ink-soft); letter-spacing: .02em; }
.info-list dd a { color: var(--accent); border-bottom: 1px solid rgba(28,53,87,.3); transition: border-color .3s; }
.info-list dd a:hover { border-color: var(--accent); }

/* ---------- 列表页 ---------- */
.list-hero { position: relative; height: 44vh; min-height: 340px; overflow: hidden; }
.list-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.list-hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,22,.25), rgba(20,20,22,.6)); }
.list-hero .hero-content { justify-content: flex-end; }
.list-hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 64px); font-weight: 600; letter-spacing: .12em; color: #fff; }
.list-hero .en { font-size: 12px; letter-spacing: .5em; color: rgba(255,255,255,.7); text-transform: uppercase; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.toolbar .count { font-size: 12px; letter-spacing: .18em; color: var(--gray); }
.toolbar-right { display: flex; align-items: center; gap: 14px; }
.toolbar select { border: 1px solid var(--line); background: transparent; padding: 10px 14px; font-size: 12px; letter-spacing: .12em; font-family: inherit; color: var(--ink); outline: none; cursor: pointer; }
.filter-toggle { display: none; }

.list-layout { display: grid; grid-template-columns: 230px 1fr; gap: clamp(24px, 3vw, 56px); padding-top: 36px; padding-bottom: 90px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filter-group { margin-bottom: 34px; }
.filter-group h4 { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; font-weight: 600; }
.filter-group label { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); padding: 6px 0; cursor: pointer; transition: color .25s; }
.filter-group label:hover { color: var(--accent); }
.filter-group input { accent-color: var(--accent); width: 15px; height: 15px; cursor: pointer; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; border: 1px solid var(--line); background: transparent; padding: 8px 10px; font-size: 12px; outline: none; font-family: inherit; }
.filter-reset { background: none; border: none; font-size: 12px; letter-spacing: .2em; color: var(--gray); text-decoration: underline; text-underline-offset: 4px; margin-top: 6px; }
.filter-reset:hover { color: var(--accent); }

.empty-tip { grid-column: 1/-1; text-align: center; padding: 80px 0; color: var(--gray); font-size: 14px; letter-spacing: .1em; }
.load-more-wrap { text-align: center; padding: 14px 0 90px; }

/* ---------- 详情页 ---------- */
.pd-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 80px); padding: clamp(28px, 4vw, 56px) 0 80px; align-items: start; }
.pd-gallery { display: grid; grid-template-columns: 88px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.pd-thumbs { display: flex; flex-direction: column; gap: 12px; }
.pd-thumbs img { aspect-ratio: 3/4; object-fit: cover; cursor: pointer; opacity: .55; transition: opacity .3s, outline-color .3s; outline: 1px solid transparent; outline-offset: 2px; }
.pd-thumbs img.on { opacity: 1; outline-color: var(--ink); }
.pd-main-img { aspect-ratio: 3/4; overflow: hidden; background: var(--paper-2); }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-info .eyebrow { margin-bottom: 12px; }
.pd-info h1 { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: .04em; line-height: 1.4; }
.pd-info .en { font-size: 12px; color: var(--gray); letter-spacing: .1em; margin-top: 6px; }
.pd-price { font-size: 22px; font-weight: 600; letter-spacing: .05em; margin: 22px 0; display: flex; align-items: baseline; gap: 12px; }
.pd-price .tag { font-size: 11px; letter-spacing: .2em; color: var(--accent); border: 1px solid var(--accent); padding: 3px 10px; }
.pd-divider { height: 1px; background: var(--line); margin: 6px 0 26px; }
.pd-label { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gray); margin-bottom: 12px; }
.pd-label b { color: var(--ink); font-weight: 500; }
.size-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.size-chip { min-width: 48px; padding: 11px 14px; text-align: center; border: 1px solid var(--line); background: transparent; font-size: 13px; letter-spacing: .06em; transition: all .25s; }
.size-chip:hover { border-color: var(--ink); }
.size-chip.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qty-row { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.qty-box { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty-box button { width: 42px; height: 44px; background: none; border: none; font-size: 16px; color: var(--ink); }
.qty-box span { width: 44px; text-align: center; font-size: 14px; }
.pd-actions { display: flex; flex-direction: column; gap: 12px; }
.pd-svc { margin: 28px 0 6px; font-size: 12px; letter-spacing: .1em; color: var(--gray); line-height: 2.2; }
.pd-svc i { font-style: normal; color: var(--accent); margin-right: 8px; }
.pd-acc { margin-top: 28px; border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; background: none; border: none; font-size: 13px; letter-spacing: .16em; color: var(--ink); }
.acc-head .plus { font-size: 16px; color: var(--gray); transition: transform .3s; }
.acc-item.open .acc-head .plus { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc-body p { padding: 0 2px 20px; font-size: 13px; color: var(--ink-soft); line-height: 2; }
.breadcrumb { padding: 22px 0 0; font-size: 11px; letter-spacing: .16em; color: var(--gray); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- 购物袋抽屉 ---------- */
.drawer-mask { position: fixed; inset: 0; background: rgba(20,20,22,.45); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .4s; }
.drawer-mask.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 92vw); background: var(--paper); z-index: 95; transform: translateX(100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; }
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: var(--serif); font-size: 19px; letter-spacing: .14em; }
.cart-head button { background: none; border: none; font-size: 20px; color: var(--gray); }
.cart-body { flex: 1; overflow-y: auto; padding: 10px 28px; }
.cart-empty { text-align: center; padding: 70px 0; color: var(--gray); }
.cart-empty .zh { font-family: var(--serif); font-size: 18px; letter-spacing: .2em; margin-bottom: 10px; }
.cart-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 76px; height: 96px; object-fit: cover; }
.cart-item .n { font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.cart-item .m { font-size: 11px; color: var(--gray); margin-top: 5px; letter-spacing: .08em; }
.cart-item .qty-mini { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--line); padding: 4px 10px; margin-top: 10px; font-size: 12px; }
.cart-item .qty-mini button { border: none; background: none; font-size: 13px; }
.cart-item .rm { font-size: 11px; color: var(--gray); text-decoration: underline; text-underline-offset: 3px; background: none; border: none; margin-top: 10px; }
.cart-item .rm:hover { color: var(--accent); }
.cart-item .p { font-size: 13px; font-weight: 600; }
.cart-foot { border-top: 1px solid var(--ink); padding: 22px 28px; }
.cart-sub { display: flex; justify-content: space-between; font-size: 14px; letter-spacing: .1em; margin-bottom: 16px; }
.cart-sub b { font-size: 17px; }

/* ---------- 搜索浮层 ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 96; background: rgba(246,246,244,.98); display: flex; flex-direction: column; align-items: center; padding-top: 16vh; opacity: 0; pointer-events: none; transition: opacity .35s; }
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-box { display: flex; gap: 14px; border-bottom: 1px solid var(--ink); width: min(620px, 86vw); }
.search-box input { flex: 1; border: none; background: transparent; font-size: 22px; font-family: var(--serif); letter-spacing: .1em; padding: 12px 2px; outline: none; }
.search-box button { background: none; border: none; font-size: 12px; letter-spacing: .2em; color: var(--gray); }
.search-hint { margin-top: 18px; font-size: 12px; letter-spacing: .16em; color: var(--gray); }
.search-results { width: min(760px, 88vw); margin-top: 28px; overflow-y: auto; max-height: 52vh; }
.search-results a { display: flex; justify-content: space-between; gap: 16px; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.search-results a:hover { color: var(--accent); }
.search-results .sr-price { color: var(--gray); white-space: nowrap; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 24px); background: var(--ink); color: var(--paper); font-size: 13px; letter-spacing: .14em; padding: 14px 30px; z-index: 120; opacity: 0; pointer-events: none; transition: all .4s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 关于页 ---------- */
.about-hero { height: 56vh; min-height: 420px; position: relative; overflow: hidden; }
.about-hero img { width: 100%; height: 100%; object-fit: cover; }
.about-hero .veil { position: absolute; inset: 0; background: rgba(20,20,22,.38); }
.about-hero .hero-content { justify-content: center; align-items: center; text-align: center; }
.about-hero h1 { font-family: var(--serif); color: #fff; font-size: clamp(34px, 5vw, 60px); font-weight: 600; letter-spacing: .2em; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: clamp(40px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); }
.about-stats .num { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 48px); font-weight: 600; }
.about-stats .num i { font-style: normal; color: var(--accent); }
.about-stats .lbl { font-size: 11px; letter-spacing: .3em; color: var(--gray); margin-top: 8px; text-transform: uppercase; }
.about-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); padding: clamp(40px, 6vw, 80px) 0; }
.about-svc .item { border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); background: var(--card); transition: transform .4s var(--ease), box-shadow .4s; }
.about-svc .item:hover { border-color: var(--accent); }
.about-svc .item:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -32px rgba(20,20,22,.4); }
.about-svc .no { font-family: var(--serif); font-size: 15px; color: var(--accent); letter-spacing: .2em; }
.about-svc h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .1em; margin: 14px 0 10px; }
.about-svc p { font-size: 13px; color: var(--gray); }
.editable-note { font-size: 12px; letter-spacing: .1em; color: var(--gray); border-left: 2px solid var(--accent); padding-left: 14px; margin: 18px 0 0; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-main { display: none; }
  .burger { display: inline-flex; }
  .header-in { grid-template-columns: auto 1fr auto; }
  .brand { text-align: left; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card:first-child { aspect-ratio: 3/4.1; }
  .editorial { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .journal-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .info-list .row { grid-template-columns: 1fr; gap: 6px; padding: 16px 2px; }
  .about-svc { grid-template-columns: 1fr; }
  .pd-layout { grid-template-columns: 1fr; }
  .pd-gallery { position: static; grid-template-columns: 1fr; }
  .pd-thumbs { flex-direction: row; order: 2; }
  .list-layout { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: transparent; padding: 10px 16px; font-size: 12px; letter-spacing: .16em; }
}
@media (max-width: 560px) {
  .hero-meta { display: none; }
  .topbar { font-size: 10px; letter-spacing: .14em; padding: 8px 10px; white-space: nowrap; overflow: hidden; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 10px; }
  .quick-add { opacity: 1; transform: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 540px; }
}
