:root {
  --bg: #15100c;
  --bg-alt: #1d1611;
  --card: #241b14;
  --line: #3a2c20;
  --text: #f1e6d6;
  --muted: #b4a28c;
  --gold: #c9a063;
  --gold-l: #e6c48a;
  --red: #9b2c22;
  --radius: 14px;
  --nav-h: 64px;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", STSong, serif;
  --sans: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 30px); }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
.container { width: min(1120px, 90vw); margin-inline: auto; }

/* 健康提示条 */
.health-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  background: var(--red); color: #fff; text-align: center; height: 26px;
  line-height: 26px; font-size: .72rem; letter-spacing: .04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 10px;
}

/* 导航 */
#nav {
  position: fixed; top: 26px; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  background: rgba(21, 16, 12, .7); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
#nav.scrolled { border-color: var(--line); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; display: flex; align-items: center; gap: .6rem; letter-spacing: .1em; }
.seal {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  background: var(--red); color: #f5e6d0; border-radius: 4px; font-size: 1rem;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.15);
}
.nav__links { display: flex; gap: 2rem; }
.nav__links a { color: var(--muted); font-size: .92rem; transition: color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--gold-l); }
#hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
#hamburger span { width: 22px; height: 2px; background: var(--text); transition: .25s; }
#hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 按钮 */
.btn { display: inline-block; padding: .75rem 1.8rem; border-radius: 100px; font-size: .95rem; transition: .25s; border: 1px solid var(--gold); }
.btn--gold { background: linear-gradient(135deg, var(--gold), #a87b3d); color: #1a120b; font-weight: 600; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,160,99,.35); }
.btn--ghost { color: var(--gold-l); }
.btn--ghost:hover { background: rgba(201,160,99,.1); }

/* Hero */
#hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden;
  padding-top: calc(var(--nav-h) + 26px);
  background:
    radial-gradient(ellipse 70% 60% at 75% 30%, rgba(155,44,34,.28), transparent 70%),
    radial-gradient(ellipse 60% 60% at 15% 80%, rgba(201,160,99,.14), transparent 70%),
    var(--bg);
}
.hero__smoke {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(circle at 60% 50%, rgba(241,230,214,.06), transparent 40%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-6%, -4%) scale(1.15); } }
.hero__content { position: relative; padding-block: 4rem; }
.hero__eyebrow { color: var(--gold); letter-spacing: .4em; font-size: .8rem; margin-bottom: 1.2rem; }
#hero h1 { font-family: var(--serif); font-size: clamp(2.8rem, 8vw, 5.8rem); line-height: 1.15; letter-spacing: .06em; }
#hero h1 em { font-style: normal; color: var(--gold-l); }
.hero__lead { color: var(--muted); margin: 1.6rem 0 2.2rem; font-size: clamp(1rem, 2vw, 1.15rem); }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 3rem; margin-top: 4rem; flex-wrap: wrap; }
.hero__stats strong { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold-l); }
.hero__stats span { color: var(--muted); font-size: .85rem; }

/* section */
.section { padding-block: 6.5rem; }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: 3.5rem; }
.section__no {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--gold);
  color: var(--gold); border-radius: 50%; font-family: var(--serif); margin-bottom: 1rem;
}
.section__head h2 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: .08em; }
.section__head p { color: var(--muted); margin-top: .4rem; }

/* 时间线 */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold), var(--line)); }
.timeline li { position: relative; padding-bottom: 2.4rem; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-2rem + 1px); top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--gold);
}
.timeline time { font-family: var(--serif); color: var(--gold-l); font-size: 1.3rem; font-weight: 700; }
.timeline h3 { font-size: 1.08rem; margin: .2rem 0 .3rem; }
.timeline p { color: var(--muted); max-width: 720px; }

/* 产地 */
.origin__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; }
.origin-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.origin-card__tag { display: inline-block; font-size: .75rem; color: var(--gold); border: 1px solid var(--gold); padding: .1rem .7rem; border-radius: 100px; }
.origin-card h3 { font-family: var(--serif); font-size: 1.5rem; margin: .8rem 0 .6rem; }
.origin-card p { color: var(--muted); font-size: .94rem; }
.origin-card ul { margin-top: 1rem; }
.origin-card li { padding: .35rem 0; border-top: 1px dashed var(--line); font-size: .9rem; }
.origin-card li::before { content: "◆ "; color: var(--gold); font-size: .7rem; }

/* 品牌 */
.brands__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.brand-card {
  position: relative; text-align: left; cursor: pointer; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; color: var(--text); font: inherit; transition: .3s;
}
.brand-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.brand-card__char {
  position: absolute; right: -10px; bottom: -30px; font-family: var(--serif); font-size: 8rem;
  color: rgba(201,160,99,.07); pointer-events: none;
}
.brand-card__en { color: var(--gold); font-size: .75rem; letter-spacing: .2em; }
.brand-card h3 { font-family: var(--serif); font-size: 1.8rem; margin: .2rem 0; }
.brand-card__maker { color: var(--muted); font-size: .85rem; }
.brand-card__pos { margin: 1rem 0; font-size: .93rem; }
.brand-card__more { color: var(--gold-l); font-size: .85rem; }
.brands__note { color: var(--muted); font-size: .88rem; margin-top: 2rem; text-align: center; }

/* 弹窗 */
dialog {
  width: min(680px, 92vw); max-height: 86vh; margin: auto; padding: 2.4rem;
  background: var(--bg-alt); color: var(--text); border: 1px solid var(--gold); border-radius: var(--radius);
}
dialog::backdrop { background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.modal__close { position: absolute; right: 1rem; top: .6rem; background: none; border: 0; color: var(--muted); font-size: 2rem; cursor: pointer; }
.modal__close:hover { color: var(--gold-l); }
#modalBody h3 { font-family: var(--serif); font-size: 2rem; }
#modalBody .meta { color: var(--gold); font-size: .88rem; margin-bottom: 1.2rem; }
#modalBody h4 { margin: 1.4rem 0 .5rem; color: var(--gold-l); font-size: 1rem; }
#modalBody p { color: var(--muted); }
#modalBody .series { display: flex; flex-wrap: wrap; gap: .5rem; }
#modalBody .series span { border: 1px solid var(--line); background: var(--card); padding: .3rem .8rem; border-radius: 6px; font-size: .88rem; }
#modalBody .series span b { color: var(--gold-l); font-weight: 500; }

/* 风味 */
.style__layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.style__text p { color: var(--muted); margin-bottom: 1.2rem; }
.style__text strong { color: var(--gold-l); }
.flavor-wheel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.flavor { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.flavor__top { display: flex; justify-content: space-between; margin-bottom: .6rem; }
.flavor__name { font-family: var(--serif); font-size: 1.1rem; }
.flavor__icon { font-size: 1.2rem; }
.flavor p { color: var(--muted); font-size: .82rem; }

/* 入门 */
.sub-title { font-family: var(--serif); font-size: 1.3rem; margin: 1rem 0 1.5rem; color: var(--gold-l); }
.vitola__list { display: grid; gap: .9rem; margin-bottom: 3.5rem; }
.vitola { display: grid; grid-template-columns: 140px 1fr 170px; align-items: center; gap: 1.2rem; }
.vitola__name { font-weight: 600; }
.vitola__name small { display: block; color: var(--muted); font-weight: 400; font-size: .78rem; }
.vitola__bar { position: relative; height: var(--h); border-radius: 100px 6px 6px 100px;
  background: linear-gradient(90deg, #6b4428 0%, #8a5a36 85%, #ddd 85%, #aaa 100%);
  width: 0; transition: width 1.1s cubic-bezier(.3,.7,.3,1); }
.vitola__bar.grow { width: var(--w); }
.vitola__size { color: var(--muted); font-size: .85rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; counter-reset: s; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.steps b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.steps span { color: var(--muted); font-size: .9rem; }

/* 页脚 */
footer { border-top: 1px solid var(--line); padding: 3rem 0; text-align: center; }
.footer__logo { font-family: var(--serif); font-size: 1.2rem; display: inline-flex; gap: .6rem; align-items: center; }
.footer__warn { color: var(--gold-l); margin: 1rem 0 .4rem; font-size: .9rem; }
.footer__src { color: var(--muted); font-size: .78rem; }

/* 动效 */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .nav__links {
    position: fixed; top: calc(var(--nav-h) + 26px); left: 0; right: 0; flex-direction: column; gap: 1.2rem;
    background: var(--bg-alt); padding: 1.5rem 5vw; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s; z-index: -1;
  }
  .nav__links.open { transform: none; }
  #hamburger { display: flex; }
  .style__layout { grid-template-columns: 1fr; }
  .vitola { grid-template-columns: 1fr; gap: .4rem; }
  .hero__stats { gap: 1.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── 精选产品 ─────────────────────────────────── */
.pf-bar { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.pf-btn {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  padding: .45rem 1.2rem; border-radius: 100px; font: inherit; font-size: .9rem;
  cursor: pointer; transition: .2s;
}
.pf-btn:hover { border-color: var(--gold); color: var(--gold-l); }
.pf-btn.active { background: var(--gold); border-color: var(--gold); color: #1a120b; font-weight: 600; }

.products__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: .3s; animation: fadeUp .45s ease both;
}
.product-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* 图片区：CSS 绘制的雪茄，按真实尺寸比例缩放 */
.pn-visual {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(150deg, #2b2018, #1a130e);
  border-bottom: 1px solid var(--line);
}
/* 统一比例裁切，所有官方商品图视觉归一 */
.pn-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; display: block;
  transition: transform .6s cubic-bezier(.3,.7,.3,1);
}
.product-card:hover .pn-photo { transform: scale(1.06); }
/* 上下暗角，保证角标与价格在浅色图上也可读 */
.pn-visual::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(18,13,9,.62) 0%, rgba(18,13,9,.12) 26%,
    rgba(18,13,9,0) 52%, rgba(18,13,9,.55) 82%, rgba(18,13,9,.88) 100%);
}
.pn-visual--fallback { display: grid; place-items: center; }
.pn-visual--fallback::before {
  content: "暂无产品图"; position: relative; z-index: 2;
  color: var(--muted); font-size: .8rem; letter-spacing: .1em;
}
.pn-price i { font-style: normal; display: block; font-size: .66rem; letter-spacing: .08em; color: #cbbc9f; }
.pn-cigar {
  position: relative; border-radius: 40px 5px 5px 40px;
  background: linear-gradient(180deg, #a9764a 0%, #7d4f2c 38%, #5a3619 72%, #3d2411 100%);
  box-shadow: 0 10px 22px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.18);
  transform: rotate(-8deg);
}
.pn-cigar::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 46%;
  border-radius: 40px 0 0 40px;
  background: linear-gradient(90deg, #cfae7a 0%, #c9a063 30%, #a97c41 100%);
  opacity: .55;
}
.pn-band {
  position: absolute; left: 42%; top: 0; bottom: 0; width: 26px;
  display: grid; place-items: center; border-radius: 2px;
  background: linear-gradient(180deg, var(--bc1, #c9a063), var(--bc2, #8a5f2a));
  box-shadow: 0 0 0 1px rgba(0,0,0,.35);
  font-family: var(--serif); font-size: .8rem; color: #1a120b; font-weight: 700;
}
.pn-brand {
  position: absolute; left: .8rem; top: .8rem; z-index: 3;
  font-size: .72rem; letter-spacing: .12em; color: var(--gold-l);
  border: 1px solid rgba(201,160,99,.45); background: rgba(21,16,12,.55);
  padding: .1rem .55rem; border-radius: 100px; backdrop-filter: blur(3px);
}
.pn-price {
  position: absolute; right: .8rem; bottom: .8rem; z-index: 3; text-align: right;
  font-size: .72rem; color: var(--muted);
}
.pn-price b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--gold-l); }

.product-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .02em; line-height: 1.4; }
.product-card__spec { color: var(--muted); font-size: .78rem; margin: .35rem 0 .9rem; }

.pn-flavors { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.pn-flavors span {
  font-size: .74rem; color: var(--gold-l); background: rgba(201,160,99,.1);
  border: 1px solid rgba(201,160,99,.25); padding: .1rem .55rem; border-radius: 4px;
}

.pn-meta { margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line); font-size: .78rem; color: var(--muted); }
.pn-meta div { display: flex; gap: .6rem; padding: .18rem 0; }
.pn-meta dt { color: #8a7963; min-width: 2.6em; }
.pn-meta dd { color: var(--muted); }

.pn-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 3rem 0; }

@media (max-width: 820px) {
  .products__grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 560px) {
  .products__grid { grid-template-columns: 1fr; }
}

.product-card__desc { color: var(--muted); font-size: .82rem; line-height: 1.7; flex: 1; }
.pn-meta__price { color: var(--gold-l) !important; }
dl { margin: 0; }
dt, dd { margin: 0; }
