/* =============================================
   京匠黄金 - JINJIANG GOLD
   主样式表 style.css
   ============================================= */

/* ===== CSS Variables ===== */
:root {
  --gold: #C9A96E;
  --gold-light: #D4BC8B;
  --gold-dark: #A88A4A;
  --gold-bg: rgba(201, 169, 110, 0.1);
  --brown-dark: #1a1a1a;
  --brown: #2a2a2a;
  --brown-light: #3a3a3a;
  --cream: #FAF8F5;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --text-primary: #1a1a1a;
  --text-secondary: #737373;
  --text-light: #A3A3A3;
  --font-serif: 'Cormorant Garamond', 'Noto Serif SC', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --max-width: 1280px;
  --header-height: 80px;
}

/* ===== Reset ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Typography ===== */
h1, h2, h3, h4, .serif {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: var(--brown-dark);
}

.section-subtitle {
  text-align: center;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  font-family: var(--font-sans);
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 248, 245, 0.98);
  border-bottom-color: rgba(201, 169, 110, 0.2);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 12px 8px;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: var(--transition);
}

.hamburger:hover {
  background: rgba(0,0,0,0.04);
}

.hamburger span {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--brown-dark);
  border-radius: 50%;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) scale(1.2);
}

.hamburger.active span:nth-child(2) {
  opacity: 0.3;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) scale(1.2);
}

/* ===== Hero Banner ===== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(26, 26, 26, 0.3) 70%,
    rgba(26, 26, 26, 0.6) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
  z-index: 10;
  width: 90%;
  max-width: 700px;
}

.hero-content .subtitle {
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}

.hero-content .btn-gold {
  display: inline-block;
  padding: 14px 40px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: var(--transition);
  background: transparent;
  cursor: pointer;
}

.hero-content .btn-gold:hover {
  background: var(--gold);
  color: var(--white);
}

/* Banner dots */
.banner-dots {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.banner-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}

.btn-outline {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* ===== Sections ===== */
.section {
  padding: 6rem 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-alt {
  background: var(--white);
}

/* ===== Product Cards ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card .product-card-image {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-card .product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

.product-card .product-placeholder {
  width: 80%;
  height: 80%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  text-align: center;
  padding: 1rem;
  background: var(--gold-bg);
}

.product-card .product-card-body {
  padding: 1.5rem;
  text-align: center;
}

.product-card .product-card-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--brown-dark);
}

.product-card .product-card-info {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.product-card .product-card-price {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ===== Category Filter ===== */
.category-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-filter .filter-btn {
  padding: 10px 24px;
  border: 1px solid var(--gray-300);
  background: transparent;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: var(--transition);
  color: var(--text-secondary);
  font-family: var(--font-sans);
}

.category-filter .filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.category-filter .filter-btn.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ===== Brand Slogan ===== */
.brand-slogan {
  text-align: center;
  padding: 6rem 2rem;
  background: var(--white);
  position: relative;
}

.brand-slogan::before,
.brand-slogan::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gold);
}

.brand-slogan::before { top: 3rem; }
.brand-slogan::after { bottom: 3rem; }

.brand-slogan h2 {
  font-size: 3rem;
  color: var(--brown-dark);
  margin-bottom: 1rem;
}

.brand-slogan p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  letter-spacing: 0.05em;
}

/* ===== Brand Story Section ===== */
.brand-story-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.brand-story-image {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--cream);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-story-image .placeholder-img {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.brand-story-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--brown-dark);
}

.brand-story-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* ===== Store Preview ===== */
.store-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.store-card {
  background: var(--white);
  padding: 2rem;
  transition: var(--transition);
  border: 1px solid transparent;
}

.store-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.store-card .store-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--brown-dark);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.store-card .store-info-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.store-card .store-info-item i {
  color: var(--gold);
  width: 16px;
  margin-top: 4px;
}

/* ===== About Page ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 50%;
  top: 1.5rem;
  transform: translateX(-50%);
  z-index: 1;
  border: 3px solid var(--cream);
}

.timeline-content {
  width: 45%;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.timeline-content .year {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.timeline-content p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Craft section */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.craft-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  transition: var(--transition);
}

.craft-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.craft-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold);
  font-size: 1.8rem;
}

.craft-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--brown-dark);
}

.craft-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-info-text h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-info-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.qr-placeholder {
  width: 180px;
  height: 180px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  text-align: center;
  background: var(--cream);
}

/* ===== Product Detail Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--white);
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: modalIn 0.4s ease;
}

@keyframes modalIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
  font-size: 1.2rem;
}

.modal-close:hover {
  background: var(--brown-dark);
  color: var(--white);
  border-color: var(--brown-dark);
}

.modal-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-details {
  padding: 3rem 2rem;
}

.modal-details .product-category {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.modal-details h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.modal-details .detail-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
}

.modal-details .detail-item .label {
  color: var(--text-secondary);
}

.modal-details .detail-description {
  margin-top: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== Footer ===== */
.footer {
  background: var(--brown-dark);
  color: var(--gray-400);
  padding: 4rem 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.3);
}

.footer p, .footer a {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.8;
}

.footer a:hover {
  color: var(--gold);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  height: 45vh;
  min-height: 350px;
  background: var(--brown-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.1), transparent 70%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-content h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.page-hero-content p {
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* ===== Map Placeholder ===== */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
  border: 1px solid var(--gray-200);
}

/* ===== Store Page ===== */
.store-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.store-detail-card {
  background: var(--white);
  padding: 2.5rem;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.store-detail-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.store-detail-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--brown-dark);
}

.store-detail-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.store-detail-info .info-row {
  display: flex;
  gap: 0.75rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  align-items: flex-start;
}

.store-detail-info .info-row i {
  color: var(--gold);
  margin-top: 3px;
}

.store-map-link {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 8px 20px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.store-map-link:hover {
  background: var(--gold);
  color: var(--white);
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .brand-story-preview {
    grid-template-columns: 1fr;
  }
  .craft-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid, .store-list {
    grid-template-columns: 1fr;
  }
}

/* 768px ===== 手机端全面优化 ===== */
@media (max-width: 768px) {
  :root { --header-height: 56px; font-size: 15px; }
  body { font-size: 0.95rem; line-height: 1.7; }

  .navbar { padding: 0 1rem; height: var(--header-height); }
  .nav-logo { font-size: 1rem; position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
  
  .hamburger { display: flex; z-index: 1001; }
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 2.5rem; opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease; z-index: 1000;
  }
  .nav-links.active { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 1.2rem; letter-spacing: 0.08em; }

  .hero-banner { height: 85vh; max-height: 600px; min-height: 420px; }
  .hero-slide .hero-content { bottom: 12%; padding: 0 1.5rem; }
  .hero-slide .hero-content h1 { font-size: 2.2rem; letter-spacing: 0.15em; }
  .hero-slide .hero-content .subtitle { font-size: 0.75rem; letter-spacing: 0.25em; }
  .hero-slide .hero-content p { font-size: 0.95rem; margin-bottom: 1.2rem; }
  .btn-gold { font-size: 0.85rem; padding: 12px 32px; letter-spacing: 0.12em; }
  .banner-dots { bottom: 1.5rem; gap: 10px; }
  .banner-dot { width: 10px; height: 10px; }

  .section { padding: 3rem 1.2rem; }
  .section-title { font-size: 1.6rem; letter-spacing: 0.12em; margin-bottom: 0.3rem; }
  .section-subtitle { font-size: 0.7rem; letter-spacing: 0.15em; margin-bottom: 2rem; }

  .brand-slogan { padding: 3rem 1.2rem; }
  .brand-slogan h2 { font-size: 1.5rem; line-height: 1.5; }
  .brand-slogan p { font-size: 0.85rem; max-width: 100%; padding: 0 0.5rem; }

  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; padding: 0 0.3rem; }
  .product-card { border-radius: 8px; }
  .product-card-image { height: 180px; }
  .product-card-body { padding: 0.8rem; }
  .product-card-name { font-size: 0.85rem; }
  .product-card-info { font-size: 0.7rem; }

  .brand-story-preview { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 0.5rem; }
  .brand-story-image { height: 220px; border-radius: 8px; }
  .brand-story-text h3 { font-size: 1.2rem; }
  .brand-story-text p { font-size: 0.85rem; line-height: 1.8; }

  .store-preview-grid, .store-list { grid-template-columns: 1fr; gap: 0.8rem; padding: 0 0.5rem; }
  .store-card { padding: 1.2rem; border-radius: 8px; }
  .store-card h3 { font-size: 1rem; }
  .store-card p { font-size: 0.8rem; }

  .placeholder-img { border-radius: 8px; height: 100%; }

  .footer { padding: 2.5rem 1.2rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer h4 { font-size: 0.95rem; }
  .footer p, .footer a { font-size: 0.8rem; }

  .modal-content { grid-template-columns: 1fr; margin: 1rem; max-height: 90vh; }
  .modal-details { padding: 1.5rem 1rem; }
  .modal-details h2 { font-size: 1.3rem; }

  .page-hero { height: 40vh; min-height: 250px; }
  .page-hero-content h1 { font-size: 1.8rem; }
  .page-hero-content p { font-size: 0.85rem; }

  .category-filter { gap: 0.4rem; flex-wrap: wrap; padding: 0 0.3rem; }
  .category-filter .filter-btn { padding: 8px 14px; font-size: 0.75rem; border-radius: 20px; }

  .timeline::before { left: 18px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; padding-left: 45px; }
  .timeline-dot { left: 18px; width: 14px; height: 14px; }
  .timeline-content { width: 100%; padding: 1rem; }
  .craft-grid { grid-template-columns: 1fr; gap: 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .btn-outline { padding: 10px 24px; font-size: 0.8rem; }
}

/* 480px ===== 小屏手机 ===== */
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .hero-slide .hero-content h1 { font-size: 1.8rem; }
  .hero-slide .hero-content .subtitle { font-size: 0.7rem; }
  .section-title { font-size: 1.4rem; }
  .brand-slogan h2 { font-size: 1.3rem; }
  .banner-dot { width: 8px; height: 8px; }
  .btn-gold { padding: 10px 26px; font-size: 0.8rem; }
  .hero-banner { height: 75vh; min-height: 350px; }
  .product-card-image { height: 160px; }
  .page-hero-content h1 { font-size: 1.5rem; }
  .store-card { padding: 1rem; }
  .footer { padding: 2rem 1rem 1rem; }
  .nav-links a { font-size: 1.1rem; }
}

/* ===== Modal Gallery ===== */
.modal-gallery {
  flex: 1;
  min-width: 0;
}
.gallery-main {
  width: 100%;
  height: 450px;
  background: #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.modal-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.modal-thumbs .thumb {
  width: 60px;
  height: 60px;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
  background: #1a1a1a;
}
.modal-thumbs .thumb.active {
  border-color: var(--gold);
}
.modal-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-thumbs .thumb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.product-sku {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
