:root {
  --gold: #c9a227;
  --gold-dark: #a8851f;
  --gold-light: #e6c65a;
  --dark: #1a1a1a;
  --dark-2: #242424;
  --dark-3: #2e2e2e;
  --light: #f7f6f2;
  --white: #ffffff;
  --gray: #8a8a8a;
  --text: #3a3a3a;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --radius: 16px;
  --transition: all .3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--light);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.logo-text { font-size: 1.35rem; font-weight: 700; color: var(--gold-light); letter-spacing: 1px; }
.nav-links { display: flex; gap: 34px; }
.nav-links a { color: #ddd; font-size: 0.98rem; transition: var(--transition); }
.nav-links a:hover { color: var(--gold-light); }
.nav-tel { color: var(--gold-light); font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  background:
    radial-gradient(circle at 20% 20%, rgba(201,162,39,0.15), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(26,26,26,0.6), transparent 50%),
    linear-gradient(135deg, #1a1a1a 0%, #2a2620 100%);
  color: #fff;
  text-align: center;
}
.hero-content { max-width: 820px; }
.hero-tag {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--gold);
  border-radius: 30px;
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 24px;
  background: rgba(201,162,39,0.08);
}
.hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.hero h1 span { display: block; font-size: 1.3rem; font-weight: 400; color: var(--gold-light); margin-top: 8px; }
.hero p { font-size: 1.1rem; color: #ccc; margin: 18px 0 32px; line-height: 1.9; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero-phone { color: #bbb; font-size: 1rem; }
.hero-phone a { color: var(--gold-light); font-weight: 600; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #1a1a1a; box-shadow: 0 6px 20px rgba(201,162,39,0.35); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201,162,39,0.5); }
.btn-outline { background: transparent; border: 1.5px solid var(--gold); color: var(--gold-light); }
.btn-outline:hover { background: var(--gold); color: #1a1a1a; }
.btn-lg { padding: 15px 40px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ===== Features ===== */
.features { padding: 70px 24px; background: var(--white); }
.features .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1100px; }
.feature-item { text-align: center; padding: 30px 20px; border-radius: var(--radius); transition: var(--transition); }
.feature-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon { font-size: 2.6rem; margin-bottom: 14px; }
.feature-item h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--dark); }
.feature-item p { font-size: 0.92rem; color: var(--gray); }

/* ===== Section head ===== */
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: 2.2rem; color: var(--dark); position: relative; display: inline-block; padding-bottom: 12px; }
.section-head h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 3px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); border-radius: 2px; }
.section-head p { color: var(--gray); margin-top: 14px; font-size: 1.02rem; }

/* ===== Categories ===== */
.categories { padding: 90px 0; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.category-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
  transition: var(--transition);
  text-align: center;
}
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.category-card img { width: 100%; height: 230px; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.06); }
.category-card h3 { font-size: 1.2rem; color: var(--dark); margin: 18px 0 4px; }
.category-card p { color: var(--gray); font-size: 0.88rem; padding-bottom: 20px; }

/* ===== Products ===== */
.products { padding: 90px 0; background: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.product-card img { width: 100%; height: 400px; object-fit: cover; transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.05); }
.product-card::after {
  content: '实拍 · 在售入库';
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(26,26,26,0.7); color: #fff;
  padding: 4px 12px; border-radius: 20px; font-size: 0.78rem;
}

/* ===== Store ===== */
.store { padding: 90px 0; }
.store-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; }
.store-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.store-card img { width: 100%; height: 380px; object-fit: cover; transition: transform .5s ease; }
.store-card:hover img { transform: scale(1.04); }
.store-caption {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(26,26,26,0.72); color: #fff;
  padding: 5px 14px; border-radius: 20px; font-size: 0.85rem;
}

/* ===== Contact ===== */
.contact { padding: 90px 0 60px; background: linear-gradient(135deg, #1a1a1a, #2a2620); color: #fff; }
.contact-box { max-width: 720px; margin: 0 auto; text-align: center; }
.contact-info h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.contact-info > p { color: #bbb; margin-bottom: 26px; }
.contact-info ul { max-width: 460px; margin: 0 auto; text-align: left; }
.contact-info ul li { padding: 10px 0; color: #ddd; font-size: 1.02rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.contact-info ul li a { color: var(--gold-light); font-weight: 600; }
.contact-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }
.contact-wechat {
  display: inline-flex; align-items: center; gap: 18px;
  margin-top: 26px;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 24px;
  text-align: left;
}
.contact-wechat img { width: 96px; height: 96px; border-radius: 8px; object-fit: contain; }
.contact-wechat strong { font-size: 1.05rem; color: var(--dark); }
.contact-wechat p { color: var(--gray); font-size: 0.85rem; margin-top: 4px; }
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 34px;
  backdrop-filter: blur(6px);
}
.contact-form h3 { font-size: 1.4rem; margin-bottom: 22px; color: var(--gold-light); }
.contact-form label { display: block; font-size: 0.9rem; color: #ccc; margin: 14px 0 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px; color: #fff; font-size: 0.98rem;
  transition: var(--transition); font-family: inherit;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--gold);
}
.contact-form select { appearance: auto; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form .btn { margin-top: 22px; }
.form-tip { font-size: 0.82rem; color: var(--gray); text-align: center; margin-top: 12px; }

/* ===== Footer ===== */
footer { background: #141414; color: #bbb; padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo span { color: var(--gold-light); font-size: 1.2rem; font-weight: 700; }
.footer-brand p { font-size: 0.92rem; line-height: 1.9; }
footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 14px; }
footer ul li { padding: 5px 0; font-size: 0.92rem; }
footer ul li a { color: #bbb; }
footer ul li a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); text-align: center; padding: 18px 0; font-size: 0.85rem; color: #777; }
.footer-bottom .footer-icp { margin-top: 6px; }
.footer-bottom .footer-icp a { color: #999; text-decoration: none; }
.footer-bottom .footer-icp a:hover { color: var(--gold); }

/* ===== Back to top ===== */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: #1a1a1a;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700;
  box-shadow: 0 6px 20px rgba(201,162,39,0.4);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: var(--transition); z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: 1fr 1fr; }
  .store-card:first-child { grid-column: span 2; }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 72px; right: -260px;
    width: 240px; height: 100vh;
    background: rgba(26,26,26,0.98);
    flex-direction: column; gap: 0; padding-top: 20px;
    transition: right .3s ease; z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links a { padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 1.05rem; }
  .hamburger { display: flex; }
  .nav-tel { font-size: 0.85rem; }
  .features .container { grid-template-columns: repeat(2, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card img { height: 260px; }
  .store-grid { grid-template-columns: 1fr; }
  .store-card:first-child { grid-column: span 1; }
  .store-card img { height: 300px; }
  .contact-box { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 480px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .category-card img { height: 160px; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card img { height: 220px; }
}

/* ===== 门店图放大预览 Lightbox ===== */
.store-img { cursor: pointer; }
.store-lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,.88); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 40px; cursor: zoom-out; animation: lbFade .25s ease;
}
.store-lightbox img {
  max-width: 92%; max-height: 90vh; object-fit: contain;
  border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5);
  animation: lbZoom .25s ease;
}
.store-lightbox-close {
  position: absolute; top: 18px; right: 26px;
  color: #fff; font-size: 34px; line-height: 1; cursor: pointer;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.15); border-radius: 50%; transition: var(--transition);
}
.store-lightbox-close:hover { background: rgba(255,255,255,.3); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbZoom { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
