/* ============================================================
   LuxeGem Wholesale — 前台样式 (高端奢华)
   配色: 黑白 + 香槟金 #C9A961
   字体: Cormorant Garamond (标题) + Inter (正文)
   ============================================================ */
:root {
    --gold: #C9A961;
    --gold-dark: #B8960C;
    --ink: #0A0A0A;
    --ink-soft: #1a1a1a;
    --muted: #6b6b6b;
    --line: #E5E5E5;
    --bg-alt: #f7f6f3;
    --white: #FFFFFF;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    font-weight: 300;
    color: var(--ink);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.2; color: var(--ink); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 16px; z-index: 999; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    font-family: var(--sans);
}
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 11px; }
.btn-block { display: block; width: 100%; text-align: center; }
.text-link { color: var(--gold-dark); font-size: 14px; letter-spacing: .5px; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    width: 38px; height: 38px; border: 1px solid var(--gold);
    color: var(--gold-dark); display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 18px; font-weight: 600;
}
.brand-name { font-family: var(--serif); font-size: 20px; letter-spacing: 1px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--ink); font-weight: 400; }
.main-nav a:hover { color: var(--gold-dark); }
.main-nav a.active { color: var(--gold-dark); }
.main-nav .nav-cta {
    background: var(--ink); color: #fff; padding: 10px 22px;
}
.main-nav .nav-cta:hover { background: var(--gold-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 28px; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; height: 92vh; min-height: 560px;
    background-size: cover; background-position: center;
    display: flex; align-items: center;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(rgba(10,10,10,.55), rgba(10,10,10,.65));
}
.hero-inner { position: relative; z-index: 2; color: #fff; max-width: 760px; }
.hero-eyebrow { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }
.hero-title {
    font-size: clamp(40px, 6vw, 72px); color: #fff; margin-bottom: 24px; font-weight: 500;
}
.hero-sub { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 40px; max-width: 600px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Stats ---------- */
.stats-band { background: var(--white); border-bottom: 1px solid var(--line); padding: 48px 0; }
.stats-band.dark { background: var(--ink); border-bottom: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat-num { font-family: var(--serif); font-size: 48px; font-weight: 500; color: var(--gold-dark); display: block; line-height: 1; }
.stats-band.dark .stat-num { color: var(--gold); }
.stat-num small { font-size: 18px; color: var(--muted); margin-left: 2px; }
.stat-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); display: block; margin-top: 10px; }
.stats-band.dark .stat-label { color: rgba(255,255,255,.6); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 56px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; }
.section-eyebrow { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.section-title { font-size: clamp(30px, 4vw, 44px); }

/* ---------- Page head ---------- */
.page-head { padding: 80px 0 56px; border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(36px, 5vw, 56px); margin: 12px 0; }
.page-sub { color: var(--muted); font-size: 17px; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cat-card { background: #fff; padding: 40px 24px; text-align: center; transition: background .25s; }
.cat-card:hover { background: var(--bg-alt); }
.cat-icon { display: inline-flex; color: var(--gold-dark); margin-bottom: 16px; }
.cat-icon svg { width: 32px; height: 32px; }
.cat-name { font-family: var(--serif); font-size: 19px; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.product-card { border: 1px solid var(--line); background: #fff; transition: border-color .25s; }
.product-card:hover { border-color: var(--gold); }
.product-thumb { overflow: hidden; aspect-ratio: 1/1; background: var(--bg-alt); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-body { padding: 20px; }
.product-cat { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 8px; }
.product-title { font-family: var(--serif); font-size: 20px; margin-bottom: 8px; }
.product-meta { font-size: 13px; color: var(--muted); }
.product-price { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-top: 8px; }
.product-body .btn { margin-top: 14px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 96px 0; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-content h2 { margin-bottom: 24px; }
.split-content p { color: var(--muted); margin-bottom: 16px; }
.split-content .btn { margin-top: 16px; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 96px 0; }
.check-list { list-style: none; margin: 20px 0; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 12px; color: var(--ink); }
.check-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold-dark); }
.step-list { list-style: none; counter-reset: step; margin: 20px 0; }
.step-list li { counter-increment: step; padding-left: 40px; position: relative; margin-bottom: 18px; color: var(--muted); }
.step-list li::before {
    content: counter(step); position: absolute; left: 0; top: 0;
    width: 26px; height: 26px; border: 1px solid var(--gold); color: var(--gold-dark);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-family: var(--serif);
}

/* ---------- Quotes ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.quote-card { border: 1px solid var(--line); padding: 36px; background: #fff; }
.quote-stars { color: var(--gold); letter-spacing: 3px; margin-bottom: 16px; font-size: 14px; }
.quote-card blockquote { font-family: var(--serif); font-size: 19px; line-height: 1.5; margin-bottom: 24px; font-style: italic; }
.quote-card figcaption strong { display: block; font-size: 14px; }
.quote-card figcaption span { display: block; font-size: 13px; color: var(--muted); }
.quote-card .verified { color: var(--gold-dark); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-top: 8px; }

/* ---------- Certs ---------- */
.cert-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; align-items: center; }
.cert-item { text-align: center; }
.cert-item img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border: 1px solid var(--line); margin-bottom: 12px; filter: grayscale(.2); }
.cert-item p { font-size: 12px; color: var(--muted); }
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cert-card { border: 1px solid var(--line); padding: 24px; background: #fff; }
.cert-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; margin-bottom: 16px; }
.cert-card h3 { font-size: 20px; margin-bottom: 8px; }
.cert-card p { font-size: 14px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; padding: 96px 0; text-align: center; }
.cta-inner h2 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,.7); margin-bottom: 32px; }
.cta-inner .hero-actions { justify-content: center; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-bar { padding: 24px 0; font-size: 13px; color: var(--muted); }
.breadcrumb-bar a { color: var(--muted); }
.breadcrumb-bar a:hover { color: var(--gold-dark); }

/* ---------- Catalog ---------- */
.catalog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 48px 0 96px; }
.catalog-sidebar .side-block { margin-bottom: 36px; }
.side-block h4 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; font-family: var(--sans); font-weight: 600; }
.side-search { display: flex; border: 1px solid var(--line); }
.side-search input { flex: 1; border: none; padding: 10px 12px; font-family: var(--sans); font-size: 14px; outline: none; }
.side-search button { border: none; background: none; padding: 0 12px; cursor: pointer; color: var(--ink); }
.side-search button svg { width: 18px; height: 18px; }
.side-list { list-style: none; }
.side-list a { display: block; padding: 8px 0; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.side-list a:hover, .side-list a.active { color: var(--gold-dark); }
.empty-state { padding: 60px 0; text-align: center; color: var(--muted); }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.page-link { padding: 8px 16px; border: 1px solid var(--line); font-size: 14px; }
.page-link:hover { border-color: var(--ink); }
.page-link.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Product detail ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 48px 0; }
.gallery-main { border: 1px solid var(--line); aspect-ratio: 1/1; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.gallery-thumb { border: 1px solid var(--line); padding: 0; cursor: pointer; width: 80px; height: 80px; overflow: hidden; background: none; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active { border-color: var(--gold); }
.detail-title { font-size: 38px; margin: 8px 0 16px; }
.detail-price { font-family: var(--serif); font-size: 28px; color: var(--gold-dark); margin-bottom: 16px; }
.detail-meta { color: var(--muted); margin-bottom: 24px; }
.tier-box { border: 1px solid var(--line); padding: 24px; margin: 24px 0; }
.tier-box h4 { font-family: var(--sans); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.tier-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.tier-table td, .tier-table th { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-body { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 48px 0 96px; }
.detail-body h2 { font-size: 26px; margin-bottom: 20px; }
.detail-desc p { color: var(--muted); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; }
.spec-table th { width: 40%; color: var(--muted); font-weight: 400; }

/* ---------- Factory ---------- */
.factory-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.factory-grid figure { margin: 0; }
.factory-grid img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.factory-grid figcaption { padding: 12px 0; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-step { background: #fff; padding: 40px 28px; }
.step-num { font-family: var(--serif); font-size: 32px; color: var(--gold); display: block; margin-bottom: 12px; }
.process-step h3 { font-size: 22px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: var(--muted); }

/* ---------- Mini stats ---------- */
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mini-stat { border: 1px solid var(--line); padding: 24px; text-align: center; }
.mini-stat span { font-family: var(--serif); font-size: 36px; color: var(--gold-dark); display: block; }
.mini-stat label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* ---------- Cases ---------- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.case-card { border: 1px solid var(--line); padding: 36px; }
.case-tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 12px; }
.case-card h3 { font-size: 24px; margin-bottom: 12px; }
.case-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.case-metric { font-size: 13px; color: var(--ink); border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; padding: 64px 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
    width: 100%; background: none; border: none; text-align: left;
    padding: 24px 0; font-size: 18px; font-family: var(--serif); cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; color: var(--ink);
}
.faq-icon { color: var(--gold-dark); font-size: 22px; font-family: var(--sans); transition: transform .25s; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 0 24px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; padding: 64px 0 96px; }
.inquiry-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
    width: 100%; padding: 12px; border: 1px solid var(--line); font-family: var(--sans); font-size: 15px; outline: none; background: #fff;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--gold); }
.contact-info h3 { font-size: 26px; margin-bottom: 20px; }
.info-list { list-style: none; margin-bottom: 24px; }
.info-list li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.info-list strong { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.map-placeholder { margin-top: 24px; border: 1px dashed var(--line); padding: 48px 24px; text-align: center; color: var(--muted); }
.map-placeholder svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--gold); }
.alert { padding: 14px 18px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #f0f6ee; color: #3a6b32; border: 1px solid #cfe0c8; }
.alert-error { background: #f9ecec; color: #8a3a3a; border: 1px solid #e6c8c8; }

/* ---------- Blog ---------- */
.blog-filter { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0; }
.chip { padding: 8px 18px; border: 1px solid var(--line); font-size: 13px; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-bottom: 64px; }
.blog-card { border: 1px solid var(--line); background: #fff; }
.blog-thumb { aspect-ratio: 16/10; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 24px; }
.blog-meta { font-size: 12px; color: var(--muted); margin-bottom: 10px; letter-spacing: .5px; }
.blog-cat { color: var(--gold-dark); text-transform: uppercase; letter-spacing: 1px; }
.blog-title { font-size: 22px; margin-bottom: 10px; }
.blog-excerpt { font-size: 14px; color: var(--muted); }
.article-wrap { max-width: 820px; padding: 48px 0; }
.article-title { font-size: 42px; margin: 12px 0 24px; }
.article-cover { margin-bottom: 32px; }
.article-cover img { width: 100%; }
.article-content { font-size: 17px; color: #222; }
.article-content h2 { font-size: 26px; margin: 32px 0 16px; }
.article-content p { margin-bottom: 16px; }
.article-cta { margin-top: 48px; padding: 40px; background: var(--bg-alt); text-align: center; }
.article-cta p { margin-bottom: 16px; font-family: var(--serif); font-size: 22px; }

/* ---------- 404 ---------- */
.notfound { padding: 120px 0; text-align: center; }
.nf-code { font-family: var(--serif); font-size: 120px; color: var(--gold); line-height: 1; }
.nf-title { font-size: 36px; margin: 16px 0; }
.nf-sub { color: var(--muted); margin-bottom: 32px; }
.notfound .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; padding: 72px 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand-mark { color: var(--gold); border-color: var(--gold); }
.footer-brand .brand-name { color: #fff; }
.footer-about { font-size: 14px; margin-bottom: 16px; }
.footer-cert-line { font-size: 12px; letter-spacing: 1px; color: var(--gold); }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: block; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: 12px; }
.footer-bar-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .main-nav {
        position: fixed; top: 76px; left: 0; right: 0; background: #fff;
        flex-direction: column; padding: 24px; gap: 18px; border-bottom: 1px solid var(--line);
        display: none;
    }
    .main-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .stats-grid, .cat-grid, .product-grid, .product-grid.cols-3, .product-grid.cols-4,
    .quote-grid, .cert-grid, .process-grid, .blog-grid, .footer-grid,
    .split, .two-col, .detail-layout, .detail-body, .case-grid, .contact-layout,
    .catalog-layout { grid-template-columns: 1fr; }
    .cert-row { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { gap: 32px; }
    .section { padding: 64px 0; }
    .split, .two-col { padding: 48px 0; }
}
