:root {
  --primary-color: #8B1E3F;
  --primary-dark: #6B1430;
  --primary-light: #B84A6E;
  --accent-color: #C8956C;
  --gold: #D4A843;
  --dark: #1a1a1a;
  --dark-gray: #333333;
  --gray: #666666;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --font-heading: 'Noto Serif SC', 'Georgia', serif;
  --font-body: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
}

.btn-gold:hover {
  background: #c49a3a;
  transform: translateY(-2px);
}

/* ==================== 导航栏 ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: linear-gradient(135deg, #4a0a1e 0%, #8B1E3F 70%, #6B1430 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 12px 0;
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-links a {
  color: #ffffff;
}

.navbar.scrolled .nav-links a:hover {
  color: rgba(255,255,255,0.7);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: bold;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  line-height: 1.25;
}

.logo-text span {
  font-size: 0.82rem;
  display: inline;
  font-family: var(--font-body);
  font-weight: 400;
  opacity: 0.8;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 5px 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* 后台导航不换行 */
.navbar.scrolled .nav-links a {
  white-space: nowrap;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==================== Hero 区域 ==================== */
.hero {
  height: 100vh;
  min-height: 700px;
  background: linear-gradient(135deg, rgba(139,30,63,0.85) 0%, rgba(26,26,26,0.9) 100%),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23333" width="1200" height="800"/><text fill="%23555" font-size="40" x="50%" y="50%" text-anchor="middle" dominant-baseline="middle">民族服饰背景图</text></svg>');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
  background-size: 200px 200px;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.1rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-title span {
  color: var(--gold);
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  cursor: pointer;
}

.scroll-indicator i {
  font-size: 2rem;
  color: var(--white);
  opacity: 0.7;
}

/* ==================== 关于我们 ==================== */
.about-section {
  padding: 100px 0;
  background: var(--white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  height: 500px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  overflow: hidden;
}

.about-image-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: var(--accent-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow);
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.about-image-accent .years {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
}

.about-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(139,30,63,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* ==================== 数据统计 ==================== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 80px 0;
  color: var(--white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--gold);
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ==================== 产品展示 ==================== */
.products-section {
  padding: 100px 0;
  background: var(--light-gray);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-image {
  height: 280px;
  background: linear-gradient(135deg, var(--light-gray), #e8e8e8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.product-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139,30,63,0.05), rgba(200,149,108,0.1));
}

.product-info {
  padding: 25px;
}

.product-category {
  color: var(--primary-color);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.product-price {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 600;
}

.product-price span {
  font-size: 0.9rem;
  color: var(--gray);
  text-decoration: line-through;
  margin-left: 8px;
}

/* ==================== 特色服务 ==================== */
.services-section {
  padding: 100px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--light-gray);
  border-radius: 20px;
  padding: 50px 30px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-card:hover {
  background: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--white);
  font-size: 1.8rem;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ==================== 新闻动态 ==================== */
.news-section {
  padding: 100px 0;
  background: var(--light-gray);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.news-image {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
}

.news-content {
  padding: 25px;
}

.news-date {
  color: var(--primary-color);
  font-size: 0.85rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark);
  line-height: 1.4;
}

.news-excerpt {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.read-more {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.read-more:hover {
  gap: 12px;
}

/* ==================== CTA 区域 ==================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding: 100px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
  background-size: 150px 150px;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 35px;
  line-height: 1.8;
}

/* ==================== 页脚 ==================== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-icon {
  background: var(--primary-color);
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--white);
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-column ul li a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 15px;
}

.footer-contact i {
  color: var(--accent-color);
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* ==================== 页面标题横幅 ==================== */
.page-banner {
  min-height: 180px;
  height: auto;
  padding: 50px 0 40px;
  background: linear-gradient(135deg, #4a0a1e 0%, #8B1E3F 45%, #6B1430 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  margin-top: 0;
  padding-top: 90px;
}

.page-banner h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-banner p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
}

/* ==================== 关于页面 ==================== */
.about-page {
  padding: 100px 0;
}

.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 100px;
}

.about-story.reverse {
  direction: rtl;
}

.about-story.reverse > * {
  direction: ltr;
}

.story-image {
  height: 400px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}

.story-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.story-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.team-section {
  padding: 80px 0;
  background: var(--light-gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.team-avatar {
  height: 250px;
  background: linear-gradient(135deg, var(--light-gray), #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
}

.team-info {
  padding: 25px;
}

.team-info h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.team-info p {
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* ==================== 产品页面 ==================== */
.products-page {
  padding: 80px 0;
}

.products-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  border: 2px solid var(--light-gray);
  background: var(--white);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.products-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* ==================== 新闻页面 ==================== */
.news-page {
  padding: 80px 0;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-list-item {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-list-item:hover {
  box-shadow: var(--shadow-hover);
}

.news-list-image {
  height: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.news-list-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--primary-color);
}

.news-list-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.news-list-content p {
  color: var(--text-light);
  line-height: 1.7;
}

/* ==================== 联系页面 ==================== */
.contact-page {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 25px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-icon {
  width: 55px;
  height: 55px;
  background: rgba(139,30,63,0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark);
}

.contact-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  display: none;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  display: block;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
  display: block;
}

/* ==================== 动画 ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-page-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .navbar-container {
    padding: 0 14px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 0.9rem;
  }
  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }
  .logo-text {
    font-size: 1.05rem;
    gap: 6px;
  }
  .logo-text span {
    font-size: 0.7rem;
    letter-spacing: 0;
  }
}

@media (max-width: 768px) {
  .logo {
    gap: 8px;
  }
  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .logo-text {
    font-size: 0.95rem;
    gap: 5px;
  }
  .logo-text span {
    font-size: 0.62rem;
    letter-spacing: 0;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: var(--shadow);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-dropdown {
    position: static;
  }
  .nav-dropdown-menu {
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 16px;
  }
  .nav-dropdown-menu a {
    color: var(--dark) !important;
  }
  
  .nav-links a {
    color: var(--dark);
  }
  
  .mobile-menu-btn {
    display: block;
    color: var(--white);
  }
  
  .navbar.scrolled .mobile-menu-btn {
    color: #ffffff;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-content,
  .about-story,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-story.reverse {
    direction: ltr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .products-grid,
  .services-grid,
  .news-grid,
  .team-grid,
  .products-page-grid {
    grid-template-columns: 1fr;
  }
  
  .news-list-item {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .about-image-accent {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
    width: 100%;
  }
  
  .page-banner h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
}

/* ==================== 加载状态 ==================== */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==================== 回到顶部按钮 ==================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
  z-index: 999;
  border: none;
  font-size: 1.2rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ==================== 租赁商品卡片 ==================== */
.rental-card .rental-image {
  position: relative;
  overflow: hidden;
}

.rental-card .rental-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.rental-scenario-tag {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--accent-color);
  color: var(--white);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 2;
}

/* ==================== 后台管理页面 ==================== */
.admin-page {
  padding: 60px 0 100px;
  background: var(--light-gray);
  min-height: 60vh;
}

.admin-page > .container {
  max-width: 1600px;
}

.admin-form-section {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
}

.admin-form-section h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-gray);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 10px;
}

.admin-form .form-group {
  margin-bottom: 20px;
}

.admin-form .form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
}

.admin-form .form-group input,
.admin-form .form-group textarea,
.admin-form .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--text);
  background: var(--white);
}

.admin-form .form-group input:focus,
.admin-form .form-group textarea:focus,
.admin-form .form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.admin-form .form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.image-upload-area {
  border: 2px dashed #d0d0d0;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.image-upload-area:hover {
  border-color: var(--primary-color);
  background: rgba(139, 30, 63, 0.02);
}

.image-upload-area input[type="file"] {
  border: none;
  padding: 0;
  width: auto;
  display: inline-block;
}

.upload-hint {
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 8px;
}

.image-preview {
  margin-top: 15px;
  position: relative;
  display: inline-block;
}

.image-preview img {
  max-width: 250px;
  max-height: 180px;
  border-radius: 10px;
  border: 2px solid #e0e0e0;
  object-fit: cover;
}

.btn-remove-img {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: #e74c3c;
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-remove-img:hover {
  background: #c0392b;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.btn-cancel {
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid #d0d0d0;
  background: var(--white);
  color: var(--gray);
  font-family: var(--font-body);
}

.btn-cancel:hover {
  border-color: var(--gray);
  color: var(--dark);
}

/* ==================== 管理列表 ==================== */
.admin-list-section {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.admin-list-section h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}

.count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: var(--white);
  font-size: 0.85rem;
  min-width: 28px;
  height: 28px;
  border-radius: 14px;
  padding: 0 8px;
  font-family: var(--font-body);
}

.admin-table-wrapper {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead th {
  background: var(--light-gray);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
  border-bottom: 2px solid #e0e0e0;
  white-space: nowrap;
}

.admin-table tbody td {
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: middle;
  color: #333333;
  word-break: break-word;
  overflow-wrap: break-word;
}

.admin-table tbody tr:hover {
  background: rgba(139, 30, 63, 0.02);
}

.admin-item-img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-item-name {
  font-weight: 500;
  color: #1a1a1a;
  min-width: 220px;
  max-width: 340px;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.45;
}

.admin-item-price {
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
}

.admin-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(139, 30, 63, 0.1);
  color: var(--primary-color);
  border-radius: 15px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.admin-tag-scenario {
  background: rgba(200, 149, 108, 0.15);
  color: var(--accent-color);
}

.admin-actions {
  white-space: nowrap;
}

.btn-edit,
.btn-delete {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
}

.btn-edit {
  background: rgba(139, 30, 63, 0.1);
  color: var(--primary-color);
}

.btn-edit:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-delete {
  background: rgba(231, 76, 60, 0.1);
  color: #e74c3c;
}

.btn-delete:hover {
  background: #e74c3c;
  color: var(--white);
}

.empty-state {
  text-align: center;
  color: #555555;
  padding: 40px 20px !important;
  font-size: 0.95rem;
}

/* ==================== 后台导航优化 ==================== */
.admin-navbar {
  max-width: 1400px;
}
.admin-nav {
  gap: 10px;
  flex-wrap: nowrap;
  overflow: visible;
}
.admin-nav a {
  font-size: 0.84rem;
  white-space: nowrap;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown > a i {
  margin-left: 4px;
}
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 140px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  padding: 7px 0;
  z-index: 1002;
  list-style: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  display: block;
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 18px;
  color: #333 !important;
  font-size: 0.88rem;
  text-align: left;
}
.nav-dropdown-menu a::after {
  display: none;
}
.nav-dropdown-menu a:hover {
  background: #faf7f8;
  color: var(--primary-color) !important;
}
.nav-dropdown-menu a.active {
  color: var(--primary-color) !important;
  font-weight: 600;
}

/* ==================== 后台订单统一排版 ==================== */
.admin-filter-select {
  padding: 8px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.85rem;
  background: #fff;
  color: #333;
  font-family: var(--font-body);
}
.status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}
.admin-table tbody td {
  font-size: 0.88rem;
}
.admin-table .order-no {
  font-family: Consolas, monospace;
  font-size: 0.82rem;
  white-space: nowrap;
}
.admin-table .admin-item-price {
  white-space: nowrap;
}
.order-row-clickable {
  cursor: pointer;
}
.status-flow {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 0.75rem;
  white-space: nowrap;
}
.status-flow .step {
  padding: 2px 6px;
  border-radius: 10px;
  color: #bbb;
}
.status-flow .step.active {
  background: rgba(139, 30, 63, 0.1);
  color: var(--primary-color);
  font-weight: 600;
}
.status-flow .sep {
  color: #ddd;
  font-size: 0.7rem;
}
.track-link {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #1565c0;
  text-decoration: none;
}
.track-link:hover {
  text-decoration: underline;
}

/* ==================== 管理页面响应式 ==================== */
@media (max-width: 1024px) {
  .admin-form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .admin-form-section,
  .admin-list-section {
    padding: 25px 20px;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tbody td {
    display: block;
    text-align: right;
    padding: 10px 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .admin-table tbody td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
    color: var(--dark);
  }

  .admin-table tbody tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ==================== 多图上传预览 ==================== */
.multi-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.multi-preview-item {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e0e0e0;
  flex-shrink: 0;
}

.multi-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}

/* ==================== 商品详情页 ==================== */
.detail-page {
  padding: 40px 0 80px;
  background: var(--white);
  margin-top: 80px;
}

.detail-breadcrumb {
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: var(--gray);
}

.detail-breadcrumb a {
  color: var(--primary-color);
}

.detail-breadcrumb a:hover {
  text-decoration: underline;
}

.detail-breadcrumb span {
  margin: 0 8px;
}

.detail-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

/* 左侧轮播 */
.detail-gallery {
  position: sticky;
  top: 100px;
}

.gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--light-gray);
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 15px;
  font-size: 0.85rem;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 2;
}

.gallery-arrow:hover {
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

/* 缩略图 */
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
  opacity: 0.6;
}

.gallery-thumb:hover,
.gallery-thumb.active {
  border-color: var(--primary-color);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 右侧信息 */
.detail-info {
  padding-top: 10px;
}

.detail-category {
  display: inline-block;
  background: rgba(139, 30, 63, 0.1);
  color: var(--primary-color);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.detail-name {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.detail-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eee;
}

.detail-meta {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.detail-meta-item i {
  color: var(--accent-color);
  width: 20px;
  text-align: center;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  align-items: center;
}

.detail-actions .btn {
  padding: 14px 20px;
  font-size: 1rem;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.detail-actions select {
  grid-column: 1 / -1;
  width: auto;
  min-width: 140px;
  justify-self: start;
  box-sizing: border-box;
}

/* 描述区域 */
.detail-description {
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.detail-description h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-description h3 i {
  color: var(--accent-color);
}

.detail-desc-content {
  color: var(--text-light);
  line-height: 2;
  font-size: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ==================== 图片灯箱 ==================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox-img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

.lightbox-close:hover {
  color: #ccc;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  color: var(--white);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-arrow:hover {
  background: rgba(255,255,255,0.35);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ==================== 详情页响应式 ==================== */
@media (max-width: 768px) {
  .detail-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .detail-gallery {
    position: static;
  }

  .detail-name {
    font-size: 1.5rem;
  }

  .detail-price {
    font-size: 1.6rem;
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }

  .detail-actions .btn {
    width: 100%;
    text-align: center;
  }

  .gallery-thumb {
    width: 56px;
    height: 56px;
  }

  .lightbox-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ==================== 模态弹窗 ==================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  overflow-y: auto;
}

.modal-box {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  margin-bottom: 40px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 2px solid var(--light-gray);
}

.modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--primary-color);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--gray);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  color: var(--dark);
}

/* ==================== 悬浮联系球 ==================== */
.cart-float-btn {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-color, #8B1E3F);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 6px 20px rgba(139, 30, 63, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}
.cart-float-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(139, 30, 63, 0.5);
}
.cart-float-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: #e94560;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  font-weight: 600;
  box-sizing: border-box;
}
.contact-float-ball {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-color, #8B1E3F);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9998;
  box-shadow: 0 4px 20px rgba(139, 30, 63, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
}
.contact-float-ball:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(139, 30, 63, 0.5);
}
.contact-float-ball i {
  font-size: 24px;
  animation: pulse-icon 2s ease-in-out infinite;
}
@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* 悬浮弹窗 */
.contact-popup {
  position: fixed;
  bottom: 164px;
  right: 28px;
  width: 280px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  z-index: 9997;
  overflow: hidden;
  display: none;
  animation: popup-in 0.25s ease;
}
.contact-popup.show {
  display: block;
}
@keyframes popup-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-popup-header {
  background: var(--primary-color, #8B1E3F);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact-popup-header h4 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-popup-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}
.contact-popup-close:hover {
  color: var(--white);
}

.contact-popup-body {
  padding: 20px;
}
.contact-popup-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.contact-popup-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.contact-popup-item:first-child {
  padding-top: 0;
}
.contact-popup-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(139, 30, 63, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}
.contact-popup-info {
  flex: 1;
  min-width: 0;
}
.contact-popup-info .label {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 2px;
}
.contact-popup-info .value {
  font-size: 14px;
  color: var(--dark);
  font-weight: 500;
  word-break: break-all;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .contact-float-ball {
    bottom: 20px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .contact-float-ball i {
    font-size: 21px;
  }
  .contact-popup {
    bottom: 80px;
    right: 12px;
    left: 12px;
    width: auto;
  }
}

/* 购物车数量角标 */
.cart-badge {
  display: inline-block;
  min-width: 18px;
  padding: 1px 5px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 9px;
  font-size: 0.72rem;
  line-height: 1.4;
  margin-left: 2px;
  text-align: center;
}
.nav-auth-item {
  white-space: nowrap;
}
