:root {
    --ivory: #faf8f4;
    --paper: #f3efe8;
    --charcoal: #1c1a17;
    --ink: #3a3733;
    --muted: #8a8378;
    --gold: #b8965a;
    --gold-dark: #96773f;
    --line: #e5dfd4;
    --serif: "Microsoft YaHei", "PingFang SC", sans-serif;
    --sans: "Microsoft YaHei", "PingFang SC", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--sans); color: var(--ink); background: var(--ivory); line-height: 1.7; font-size: 15px; }
a { color: inherit; text-decoration: none; transition: color .25s; }
img { display: block; max-width: 100%; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* header */
.topbar { background: var(--charcoal); color: #cfc8bc; font-size: 12px; letter-spacing: .08em; }
.topbar-inner { display: flex; justify-content: flex-end; align-items: center; gap: 14px; padding-top: 8px; padding-bottom: 8px; }
.topbar-divider { width: 1px; height: 12px; background: #4a453d; }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,248,244,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 40px; padding-top: 18px; padding-bottom: 18px; }
.brand { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .12em; white-space: nowrap; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; flex: 1; font-size: 13.5px; letter-spacing: .04em; }
.main-nav a { color: var(--ink); padding: 6px 0; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--gold-dark); border-bottom-color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.nav-cta { font-size: 13px; letter-spacing: .08em; color: var(--gold-dark); border: 1px solid var(--gold); padding: 8px 18px; }
.nav-cta:hover { background: var(--gold); color: #fff; }
.lang-switch a { font-size: 12.5px; color: var(--muted); padding: 2px 6px; }
.lang-switch a.active { color: var(--charcoal); font-weight: 600; border-bottom: 1px solid var(--gold); }

/* hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; background: var(--charcoal); overflow: hidden; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,19,15,.82) 0%, rgba(22,19,15,.45) 52%, rgba(22,19,15,.18) 100%); }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(22,19,15,.25); color: #fff; font-size: 15px; cursor: pointer; transition: background .25s, border-color .25s; display: flex; align-items: center; justify-content: center; }
.hero-arrow:hover { background: rgba(22,19,15,.6); border-color: var(--gold); color: var(--gold); }
.hero-prev { left: 28px; }
.hero-next { right: 28px; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-dot { width: 26px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .25s; }
.hero-dot.active { background: var(--gold); }
.hero-inner { position: relative; color: #fff; padding-top: 60px; padding-bottom: 60px; max-width: 1280px; flex: 1; }
.hero-eyebrow { font-size: 13px; letter-spacing: .35em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero-title { font-family: var(--serif); font-size: clamp(38px, 5.4vw, 64px); font-weight: 600; line-height: 1.15; margin-bottom: 20px; max-width: 760px; }
.hero-sub { font-size: 16px; font-weight: 300; color: #d8d2c6; margin-bottom: 36px; white-space: nowrap; }
.hero-plain { background: linear-gradient(135deg, #221f1b 0%, #3a332a 60%, #4a3f2e 100%); }

/* buttons */
.btn { display: inline-block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding: 14px 34px; border: 1px solid transparent; cursor: pointer; transition: all .25s; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline:hover { background: var(--charcoal); color: #fff; }
.story .btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.story .btn-outline:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn-block { display: block; text-align: center; }

/* sections */
.section { padding: 36px 0; }
.section.home { padding-top: 24px; }
.section-alt { background: var(--paper); }
.section-eyebrow { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.section-title { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; color: var(--charcoal); margin-bottom: 24px; }

/* category grid */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.category-card { border: 1px solid var(--line); background: #fff; padding: 24px 22px; display: flex; flex-direction: column; gap: 4px; transition: all .25s; }
.category-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(28,26,23,.08); }
.category-name { font-family: var(--serif); font-size: 19px; color: var(--charcoal); }
.category-count { font-size: 12px; color: var(--muted); letter-spacing: .1em; }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.product-card { background: #fff; border: 1px solid var(--line); transition: all .25s; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(28,26,23,.1); border-color: transparent; }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.media-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #efe9df, #ddd3c2); }
.media-placeholder.tall { height: 100%; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--gold); color: #fff; font-size: 11px; letter-spacing: .12em; padding: 4px 12px; text-transform: uppercase; }
.product-info { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.product-cat { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.product-title { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--charcoal); line-height: 1.4; }
.product-price { font-size: 15px; color: var(--gold-dark); font-weight: 500; letter-spacing: .04em; }

/* story */
.story { background: var(--charcoal); color: #e8e2d6; }
.story .section-title { color: #fff; }
.story-inner { max-width: 720px; }
.story-text p { margin-bottom: 20px; color: #c9c2b4; }

/* page head */
.page-head { background: var(--paper); padding: 26px 0 24px; border-bottom: 1px solid var(--line); }
.breadcrumb { font-size: 12.5px; color: var(--muted); letter-spacing: .06em; word-spacing: 5px; margin-bottom: 10px; }
.breadcrumb a:hover { color: var(--gold-dark); }
.page-title { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); color: var(--charcoal); font-weight: 600; line-height: 1.25; }
.page-title-row { display: flex; align-items: baseline; gap: 16px; }
.page-count { font-size: 13.5px; color: var(--muted); letter-spacing: .04em; }
.page-sub { color: var(--muted); margin-top: 6px; font-size: 13.5px; }

/* product detail */
section.product-section { padding-top: 24px; }
section.product-section .breadcrumb { margin-bottom: 18px; }
.product-detail { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
/* 大固有宽度图片会把 fr 轨道撑过应有比例(轨道最小值默认=min-content),必须解除 */
.product-detail > * { min-width: 0; }
.gallery-main { aspect-ratio: 4 / 3; background: var(--paper); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 12px; overflow-x: auto; }
.gallery-thumb { width: 96px; height: 72px; flex: 0 1 96px; min-width: 0; border: 1px solid var(--line); cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; border-color: var(--gold); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-title { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); color: var(--charcoal); font-weight: 600; margin: 0 0 14px; line-height: 1.25; }
.detail-summary { color: var(--muted); margin-bottom: 22px; }
.detail-price { font-family: var(--serif); font-size: 26px; color: var(--gold-dark); margin-bottom: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 11px 4px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--muted); font-weight: 400; width: 38%; }
.spec-table td { color: var(--charcoal); }
.inquiry-note { font-size: 12.5px; color: var(--muted); margin-top: 22px; text-align: center; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(15,13,11,.92); display: flex; align-items: center; justify-content: center; animation: lb-fade .25s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
.lb-figure { margin: 0; max-width: 88vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 88vw; max-height: 80vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-counter { margin-top: 14px; color: #b7b0a3; font-size: 13px; letter-spacing: .2em; }
.lb-close { position: absolute; top: 22px; right: 30px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 24px; cursor: pointer; transition: border-color .25s, color .25s; }
.lb-close:hover { border-color: var(--gold); color: var(--gold); }
.lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(15,13,11,.4); color: #fff; font-size: 17px; cursor: pointer; transition: background .25s, border-color .25s, color .25s; display: flex; align-items: center; justify-content: center; }
.lb-arrow:hover { background: rgba(15,13,11,.7); border-color: var(--gold); color: var(--gold); }
.lb-prev { left: 34px; }
.lb-next { right: 34px; }
@media (max-width: 760px) { .lb-prev { left: 10px; } .lb-next { right: 10px; } }

/* rich content */
.rich-content { max-width: 860px; font-size: 15.5px; line-height: 1.9; }
.rich-content h1, .rich-content h2, .rich-content h3 { font-family: var(--serif); color: var(--charcoal); margin: 0; }
.rich-content p { margin-bottom: 0; white-space: pre-wrap; }
.rich-content img { margin: 20px 0; }
.rich-content .specs-title { margin-top: 30px; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.spec-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-k { color: var(--muted); flex-shrink: 0; }
.spec-v { color: var(--charcoal); text-align: right; }

/* about */
.about-body { max-width: 760px; font-size: 15.5px; }
.about-body h2 { font-family: var(--serif); color: var(--charcoal); margin: 32px 0 14px; }
.about-body p { margin-bottom: 16px; }
.about-body .btn { margin-top: 12px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.contact-info h3, .contact-form-wrap h3 { font-family: var(--serif); font-size: 22px; color: var(--charcoal); margin-bottom: 20px; }
.contact-info ul { list-style: none; }
.contact-info li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; display: flex; gap: 18px; }
.contact-info strong { color: var(--muted); font-weight: 400; min-width: 64px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: .05em; color: var(--ink); }
.contact-form input, .contact-form textarea { border: 1px solid var(--line); background: #fff; padding: 13px 16px; font-size: 14.5px; font-family: var(--sans); outline: none; transition: border-color .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold); }
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.contact-form input.invalid, .contact-form textarea.invalid { border-color: #b0392e; box-shadow: 0 0 0 3px rgba(176, 57, 46, .08); }
.field-error { font-size: 12.5px; color: #b0392e; letter-spacing: .02em; margin-top: -2px; }
.form-success { background: #f0ece3; border-left: 3px solid var(--gold); padding: 18px 22px; margin-bottom: 22px; }

/* empty state */
.empty-state { text-align: center; padding: 60px 0; color: var(--muted); }

/* footer */
.site-footer { background: var(--charcoal); color: #b7b0a3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding: 40px 32px 32px; }
.footer-brand { font-family: var(--serif); font-size: 22px; color: #fff; letter-spacing: .1em; margin-bottom: 14px; }
.footer-desc { font-size: 13px; color: #8f887b; max-width: 340px; }
.footer-grid h4 { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-links { list-style: none; font-size: 13.5px; display: flex; flex-direction: column; gap: 10px; }
section.section-last { padding-bottom: 32px; }
.footer-links-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #35312a; padding: 20px 0; font-size: 12px; color: #8f887b; text-align: center; }

/* responsive */
@media (max-width: 960px) {
    .product-detail { grid-template-columns: 1fr; gap: 32px; }
    .specs-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .section { padding: 60px 0; }
}

/* 手机 */
@media (max-width: 760px) {
    .container { padding: 0 20px; }
    .topbar { display: none; }

    /* 头部:品牌左、操作组绝对定位右上,导航整行横滑(不用折叠菜单,sticky 头不撑高) */
    .header-main { position: relative; display: block; padding-top: 12px; }
    .brand { font-size: 15px; }
    .main-nav { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 0 20px; padding: 10px 0 12px; margin-top: 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav a { white-space: nowrap; padding: 4px 0; }
    .header-actions { position: absolute; top: 10px; right: 12px; gap: 8px; }
    .nav-cta { padding: 6px 10px; font-size: 12px; }

    /* hero 收紧 */
    .hero { min-height: 320px; }
    .hero-inner { padding-top: 28px; padding-bottom: 44px; }
    .hero-title { font-size: 30px; margin-bottom: 12px; }
    .hero-sub { margin-bottom: 36px; font-size: 14px; white-space: normal; }
    .hero-arrow { width: 38px; height: 38px; font-size: 13px; }
    .hero-prev { left: 12px; }
    .hero-next { right: 12px; }
    .hero-dots { bottom: 14px; }
    .hero-arrow { display: none; }

    .section { padding: 30px 0; }
    .section.home { padding-top: 20px; }
    .page-head { padding: 20px 0 18px; }
    .page-title-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
    .page-title { white-space: nowrap; }
    .page-count { flex: 1; min-width: 0; }
    .page-sub { flex: 1 0 100%; margin-top: 4px; }
    .m-hide { display: none; }
    .section-contact { padding-top: 18px; }
    .gallery-thumbs { flex-wrap: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .gallery-thumbs::-webkit-scrollbar { display: none; }
    .gallery-thumb { flex: 0 0 84px; width: 84px; height: 84px; min-width: 84px; }
    .lb-figure img { max-height: 70vh; }
    .lb-arrow { top: auto; bottom: 56px; transform: none; }
    .product-section { padding-bottom: 20px; }
    .section-detail { padding-top: 24px; }
    .contact-info strong { min-width: 80px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form .btn { align-self: stretch; }
    .spec-table th { width: auto; white-space: nowrap; }
    .footer-grid { padding: 28px 20px 24px; }
    .btn { padding: 13px 28px; }
}
