/* KeesonGem International — 高端极简：象牙白 + 墨 + 金 */
:root {
  --bg: #f7f4ee; --card: #fff; --ink: #23211d; --ink2: #6f6a60;
  --gold: #a98b45; --gold2: #8f7434; --line: #e6dfd2;
  --serif: "Playfair Display", "Noto Serif SC", Georgia, serif;
  --sans: "Helvetica Neue", Arial, "PingFang SC", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

/* 页头 */
header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 5vw; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(247,244,238,.94); backdrop-filter: blur(6px); z-index: 50;
}
.brand { font-family: var(--serif); font-size: 24px; letter-spacing: 3px; font-weight: 700; }
.brand em { color: var(--gold); font-style: normal; }
.brand span { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: 2px; color: var(--ink2); font-weight: 400; text-transform: uppercase; }
nav { display: flex; gap: 34px; }
nav a { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink2); padding-bottom: 4px; border-bottom: 2px solid transparent; }
nav a:hover { color: var(--ink); }
nav a.on { color: var(--gold2); border-bottom-color: var(--gold); }

/* 通用 */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 5vw; }
.sec { padding: 72px 0 28px; }
.sec-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 30px; }
.sec-t { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.sec-more { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold2); }
.sec-more:hover { text-decoration: underline; }
.eyebrow { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }

/* 按钮 */
.btn { display: inline-block; padding: 12px 30px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; border-radius: 999px; cursor: pointer; }
.btn.gold { background: linear-gradient(135deg, #c2a55c, #a98b45); color: #fff; }
.btn.line { border: 1px solid var(--gold); color: var(--gold2); }
.btn.line:hover { background: #faf3e3; }
.btn.wechat { cursor: default; }

/* Hero */
.hero { padding: 90px 0 70px; text-align: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 5.4vw, 58px); font-weight: 600; line-height: 1.25; }
.hero p { max-width: 620px; margin: 22px auto 34px; color: var(--ink2); font-size: 16px; }

/* 今日精选 */
.feat { display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: center; background: var(--card); border-radius: 20px; padding: 44px; }
.feat img { border-radius: 14px; width: 100%; aspect-ratio: 1; object-fit: cover; }
.feat h2 { font-family: var(--serif); font-size: 34px; margin: 10px 0 14px; }
.feat .spec { color: var(--ink2); font-size: 14px; margin-bottom: 18px; }
.feat .note { border-left: 3px solid var(--gold); padding-left: 16px; color: var(--ink2); font-style: italic; margin-bottom: 24px; }

/* 宝石卡片网格 */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.gcard { background: var(--card); border-radius: 14px; overflow: hidden; transition: transform .18s, box-shadow .18s; display: block; }
.gcard:hover { transform: translateY(-4px); box-shadow: 0 12px 34px rgba(35,33,29,.1); }
.gimg { aspect-ratio: 1; background: #efede7; position: relative; }
.gimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gimg-ph { width: 100%; height: 100%; }
.oloan { position: absolute; top: 10px; left: 10px; background: rgba(35,33,29,.72); color: #fff; font-size: 10px; letter-spacing: 1px; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; }
.ginfo { padding: 14px 16px 18px; }
.gname { font-family: var(--serif); font-size: 16px; font-weight: 600; }
.gmeta { font-size: 12px; color: var(--ink2); margin: 4px 0 8px; }
.price-now { color: var(--gold2); font-weight: 700; font-size: 15px; }
.price-quote { color: var(--ink2); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }

/* 列表页工具条 */
.tools { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.tools input, .tools select {
  height: 42px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px;
  background: var(--card); font-size: 13px; outline: none; font-family: var(--sans);
}
.tools input:focus, .tools select:focus { border-color: var(--gold); }
.pager { display: flex; gap: 14px; justify-content: center; margin: 40px 0; align-items: center; }
.pager .btn { padding: 10px 24px; }

/* 详情页 */
.dgrid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; padding: 48px 0; }
.dmedia-main { border-radius: 18px; overflow: hidden; background: #efede7; aspect-ratio: 1; }
.dmedia-main img, .dmedia-main video { width: 100%; height: 100%; object-fit: cover; display: block; }
.dthumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.dthumbs img, .dthumbs .vt { width: 74px; height: 74px; border-radius: 10px; object-fit: cover; cursor: pointer; border: 2px solid transparent; background: #efede7; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--ink2); }
.dthumbs .on { border-color: var(--gold); }
.dinfo h1 { font-family: var(--serif); font-size: 36px; margin: 8px 0 16px; }
.dprice { font-size: 24px; color: var(--gold2); font-weight: 700; margin-bottom: 6px; }
.dprice small { font-size: 12px; color: var(--ink2); font-weight: 400; }
.spec-t { width: 100%; border-collapse: collapse; margin: 26px 0; }
.spec-t td { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-t td:first-child { color: var(--ink2); width: 42%; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.dcta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.disclaimer { font-size: 12px; color: var(--ink2); margin-top: 22px; line-height: 1.8; }

/* 客订/设计图卡片 */
.bcard { background: var(--card); border-radius: 14px; overflow: hidden; }
.bcard video, .bcard img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #efede7; }
.bcard .binfo { padding: 16px 18px 20px; }
.bcard .binfo .t { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.bcard .binfo .m { font-size: 12px; color: var(--ink2); margin: 4px 0 8px; }
.bcard .binfo .s { font-size: 13px; color: var(--ink2); }

/* 页脚 */
footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 56px 5vw 30px; }
.ft-c { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; max-width: 1200px; margin: 0 auto; }
.ft-brand { font-family: var(--serif); font-size: 22px; letter-spacing: 3px; font-weight: 700; margin-bottom: 12px; }
.ft-brand em { color: var(--gold); font-style: normal; }
.ft-c p { color: var(--ink2); font-size: 13px; max-width: 420px; }
.ft-c h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; color: var(--ink2); }
.ft-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.ft-b { text-align: center; color: #b3aa9c; font-size: 12px; margin-top: 44px; }

.loading { text-align: center; color: var(--ink2); padding: 60px 0; }
.empty { text-align: center; color: var(--ink2); padding: 60px 0; }

/* 按幸运色逛 */
.color-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ctile {
  border-radius: 16px; padding: 34px 24px; color: #fff; display: block;
  transition: transform .18s, box-shadow .18s; position: relative; overflow: hidden;
}
.ctile:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(35,33,29,.18); }
.ctile span { font-family: var(--serif); font-size: 22px; font-weight: 600; display: block; }
.ctile small { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; opacity: .85; }

/* ── 语言切换器（2026-10-23 多语言）── */
#langsel {
  border: 1px solid var(--line); background: transparent; color: var(--ink2);
  font-family: var(--sans); font-size: 12px; border-radius: 999px;
  padding: 5px 12px; margin-inline-start: 14px; cursor: pointer; outline: none;
}
#langsel:hover { border-color: var(--gold); color: var(--ink); }

/* ── RTL（阿拉伯语）微调 ── */
html[dir="rtl"] nav a { letter-spacing: 0.3px; text-transform: none; }
html[dir="rtl"] .brand span { letter-spacing: 1px; }
html[dir="rtl"] .eyebrow, html[dir="rtl"] label { letter-spacing: 0.5px; text-transform: none; }
html[dir="rtl"] .spec-t td:first-child { text-align: right; }
html[dir="rtl"] .spec-t td:last-child { text-align: left; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .color-grid { grid-template-columns: repeat(2, 1fr); }
  .feat, .dgrid { grid-template-columns: 1fr; }
  nav { gap: 14px; flex-wrap: wrap; }
  nav a { font-size: 11px; }
  #langsel { font-size: 11px; padding: 4px 8px; margin-inline-start: 4px; }
}

/* ── Journal 新闻/日志 ── */
.nlist { margin-top: 40px; }
.nitem { display: block; padding: 28px 0; border-bottom: 1px solid var(--line); }
.nitem:hover .n-t { color: var(--gold2); }
.nmeta { display: flex; gap: 14px; align-items: center; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink2); }
.ntag { color: var(--gold2); border: 1px solid var(--gold); border-radius: 999px; padding: 1px 10px; font-size: 11px; }
.n-t { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 10px 0 6px; }
.n-x { color: var(--ink2); font-size: 14px; max-width: 640px; }
.n-h { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.3; margin: 16px 0 28px; }
.nc p { margin-bottom: 18px; }
.nc h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 36px 0 12px; }
.nback { font-size: 13px; color: var(--ink2); }
.nback:hover { color: var(--gold2); }

/* ══════ 国内官网定制（2026-11-03）══════ */
/* 中文排版：去掉大写与宽字距（英文站风格在中文上不合适） */
nav a { letter-spacing: .5px; text-transform: none; font-size: 14px; }
.eyebrow { letter-spacing: 2px; }
.btn { letter-spacing: 1px; text-transform: none; }
.hero h1 { letter-spacing: 1px; }
body { font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif; }

/* 今日金价条 */
.gold-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: linear-gradient(135deg, #2b2620, #4a3f2a); color: #f3e9d2; border-radius: 16px;
  padding: 18px 26px; margin-top: 8px; }
.gold-title { font-size: 14px; letter-spacing: 2px; font-weight: 600; }
.gold-title span { font-size: 11px; color: #c9b98f; margin-left: 8px; letter-spacing: 0; }
.gold-cells { display: flex; gap: 26px; flex-wrap: wrap; }
.gold-cell small { display: block; font-size: 11px; color: #c9b98f; }
.gold-cell b { font-size: 20px; font-family: var(--serif); color: #f3d98b; }
.gold-cell i { font-style: normal; font-size: 11px; color: #c9b98f; }

/* 宝库工具栏 */
.vbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 26px 0 30px; }
.vbar input { flex: 1; min-width: 220px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; }
.vbar select { padding: 11px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; }
.vcount { color: var(--ink2); font-size: 13px; }
.page-t { font-family: var(--serif); font-size: 34px; font-weight: 600; margin-bottom: 12px; }
.page-p { color: var(--ink2); max-width: 640px; }
.loading { color: var(--ink2); padding: 40px 0; grid-column: 1 / -1; }

/* 详情页 */
.gem-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .gem-detail { grid-template-columns: 1fr; } }
.mmainbox img, .mmainbox video { width: 100%; border-radius: 12px; background: #eee; display: block; }
.mthumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.mth { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; }
.mth:hover { border-color: var(--gold); }
.mth.vid { display: flex; align-items: center; justify-content: center; background: #23211d; color: #fff; font-size: 20px; }
.gem-info h1 { font-family: var(--serif); font-size: 28px; margin-bottom: 8px; }
.gem-info .spec { color: var(--ink2); margin-bottom: 14px; }
.gem-price { margin: 8px 0 20px; }
.price-now { color: var(--gold2); font-size: 24px; font-weight: 700; font-family: var(--serif); }
.price-quote { color: var(--ink2); font-size: 14px; border: 1px dashed var(--gold); padding: 4px 12px; border-radius: 999px; }
.spec-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-t td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-t td:first-child { color: var(--ink2); width: 90px; }
.fineprint { font-size: 12px; color: var(--ink2); margin-top: 18px; line-height: 1.8; }

/* 询价卡 */
.iq { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; }
.iq-t { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.iq-ref { color: var(--gold2); font-size: 13px; margin-bottom: 12px; }
.iq-row { display: flex; gap: 18px; align-items: center; }
.iq-qr { width: 108px; height: 108px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.iq-id { font-size: 15px; margin-bottom: 6px; }
.iq-tip { font-size: 13px; color: var(--ink2); line-height: 1.8; }
.iq-addr { font-size: 13px; color: var(--ink2); margin-top: 8px; }

/* 关于页 */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.about-card h3 { margin: 6px 0 10px; font-size: 17px; }
.about-card p { color: var(--ink2); font-size: 14px; }
.about-n { font-family: var(--serif); color: var(--gold); font-size: 14px; letter-spacing: 2px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }

/* 客订/设计卡片补充 */
.bstory { padding: 12px 16px 0; font-size: 13px; color: var(--ink2); }
.bthumbs { display: flex; gap: 8px; padding: 12px 16px 16px; }
.bthumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }

/* 条款页 */
.pol h3 { margin: 26px 0 8px; font-size: 16px; }
.pol p { color: var(--ink2); font-size: 14px; line-height: 2; }

/* 手机端导航 */
@media (max-width: 760px) {
  header { padding: 16px 4vw; }
  nav { gap: 16px; }
  nav a { font-size: 13px; }
  .brand { font-size: 19px; letter-spacing: 1px; }
}

/* 品牌动态列表 */
.news-card { display: block; background: var(--card, #fff); border: 1px solid var(--line, #e6e0d5); border-radius: 14px; padding: 26px 28px; margin-bottom: 18px; color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.news-card:hover { border-color: var(--gold, #b39355); transform: translateY(-2px); }
.news-date { font-size: 12px; color: var(--muted, #8a857c); letter-spacing: .08em; margin-bottom: 10px; }
.news-card h3 { font-family: var(--serif, serif); font-size: 20px; font-weight: 600; margin: 0 0 10px; line-height: 1.4; }
.news-card p { font-size: 14px; color: var(--muted, #8a857c); margin: 0 0 12px; line-height: 1.8; }
.news-more { font-size: 13px; color: var(--gold, #b39355); }

/* 动态文章正文 */
.nc { max-width: 720px; margin: 0 auto; padding: 64px 0 72px; }
.nc h1 { font-family: var(--serif, serif); font-size: 30px; font-weight: 600; line-height: 1.35; margin: 0 0 28px; }
.nc figure { margin: 26px 0; }
.nc figure img { width: 100%; border-radius: 12px; display: block; }
.nc figcaption { font-size: 12px; color: var(--muted, #8a857c); margin-top: 8px; text-align: center; }
