:root {
  --primary-dark: #0a0a0a;
  --secondary-dark: #1a120b;
  --accent-gold: #d4af37;
  --accent-brown: #a0522d;
  --text-light: #f5e9d4;
  --text-black: #000000;
  --text-gary: rgb(146 146 146);
  --text-white: #ffffff;
  --text-red: rgb(194 28 58);
  --text-muted: #c9b18b;
  --border-dark: #3a2c1a;
}

body {
  overflow-x: hidden;
  font-family: 'Microsoft YaHei', sans-serif;
}



/* 网站头部 */
.site-header {
  background-color: var(--secondary-dark);
  border-bottom: 1px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
}

/* Logo样式 */
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo:hover {
  color: var(--accent-gold);
}

.logo-icon {
  color: var(--accent-brown);
  margin-right: 10px;
  font-size: 1.5rem;
}

/* 桌面端导航栏容器 */
.desktop-nav-container {
  flex: 1;
}

/* 桌面端导航栏 */
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.desktop-nav .navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  padding: 0;
}

.desktop-nav .nav-item {
  position: relative;
  list-style: none;
}

.desktop-nav .nav-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 1.2rem 1.2rem;
  transition: all 0.3s;
  letter-spacing: 0.5px;
  white-space: nowrap;
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
}

@media (max-width: 1099px) {
  .desktop-nav .nav-link {
    padding: 1.2rem 0.8rem;
  }
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
  color: var(--accent-gold);
}

.desktop-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.2rem;
  width: calc(100% - 2.4rem);
  height: 2px;
  background-color: var(--accent-gold);
}

/* PC端下拉箭头 */
.desktop-nav .dropdown-toggle::after {
  display: none;
  /* 隐藏Bootstrap默认箭头 */
}

.desktop-nav .dropdown-toggle .fa-chevron-down {
  font-size: 0.8rem;
  margin-left: 5px;
  transition: transform 0.3s;
}

.desktop-nav .dropdown:hover .fa-chevron-down {
  transform: rotate(180deg);
}

/* PC端二级菜单 - 鼠标悬停显示 */
/* .desktop-nav .dropdown-menu {
  background-color: var(--secondary-dark);
  border: 1px solid var(--border-dark);
  border-radius: 0;
  min-width: 220px;
  padding: 0.5rem 0;
  margin-top: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
} */
.desktop-nav .dropdown-menu {
  background-color: var(--secondary-dark);
  border: 1px solid var(--border-dark);
  border-radius: 0;
  min-width: 220px;
  padding: 0.5rem 0;
  margin-top: 0;
  display: none;
  /* 默认隐藏 */
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
}

.desktop-nav .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.desktop-nav .dropdown-item {
  color: var(--text-muted);
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  transition: all 0.3s;
  display: block;
  text-decoration: none;
}

.desktop-nav .dropdown-item:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
}

.desktop-nav .dropdown-divider {
  border-color: var(--border-dark);
  margin: 0.3rem 0;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  border: 1px solid var(--accent-gold);
  padding: 0.5rem 0.75rem;
  background: transparent;
  color: var(--accent-gold);
  font-size: 1.2rem;
  border-radius: 4px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 1px var(--accent-gold);
}

/* 移动端侧边导航栏 */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -380px;
  width: 360px;
  height: 100vh;
  background-color: var(--secondary-dark);
  border-right: 1px solid var(--border-dark);
  z-index: 1040;
  transition: left 0.3s ease-in-out;
  overflow-y: auto;
  padding: 1rem 0;
}

.mobile-sidebar.open {
  left: 0;
}

.mobile-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1039;
  display: none;
}

.mobile-sidebar-overlay.show {
  display: block;
}

.mobile-sidebar-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-sidebar-close {
  background: transparent;
  border: none;
  color: var(--accent-gold);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  padding: 1rem 0;
}

.mobile-nav .nav-item {
  border-bottom: 1px solid rgba(58, 44, 26, 0.5);
}

.mobile-nav .nav-link-wrapper {
  display: flex;
  align-items: center;
  padding: 0;
}

.mobile-nav .nav-link {
  color: var(--text-muted);
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  flex: 1;
  text-decoration: none;
  transition: all 0.3s;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  color: var(--accent-gold);
  background-color: rgba(212, 175, 55, 0.05);
}

.mobile-nav .nav-link.active {
  background-color: rgba(212, 175, 55, 0.1);
}

/* 移动端下拉箭头按钮 */
.mobile-dropdown-toggle {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.3s;
}

.mobile-dropdown-toggle:hover {
  color: var(--accent-gold);
}

.mobile-dropdown-toggle .fa-chevron-down {
  transition: transform 0.3s;
}

/* .mobile-dropdown-toggle[aria-expanded="true"] .fa-chevron-down {
  transform: rotate(180deg);
} */

.mobile-dropdown-toggle .fa-chevron-down.rotated {
  transform: rotate(180deg);
}

/* 移动端二级菜单 */
.mobile-nav .dropdown-menu {
  background-color: rgba(26, 18, 11, 0.8);
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  display: block;
  height: auto;
  overflow: visible;
}

.mobile-nav .dropdown-item {
  color: var(--text-muted);
  padding: 0.7rem 2.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(58, 44, 26, 0.3);
  text-decoration: none;
  display: block;
}

.mobile-nav .dropdown-item:hover {
  color: var(--accent-gold);
  background-color: rgba(212, 175, 55, 0.1);
}

/* 功能区 */
.header-bottom {
  background-color: #2c1f12;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
}

.contact-info {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.contact-email {
  color: var(--accent-gold);
  font-weight: 500;
  margin-left: 5px;
}

/* 用户操作区 */
.user-actions .search-box {
  background-color: var(--secondary-dark);
  border: 1px solid var(--border-dark);
  border-radius: 30px;
  padding: 0.4rem 1rem;
  max-width: 220px;
}

.user-actions .search-box input {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 0.9rem;
  width: 100%;
  outline: none;
}

.user-actions .search-box input::placeholder {
  color: #8b7355;
}

.user-actions .search-btn {
  background: none;
  border: none;
  color: var(--accent-gold);
  padding: 0;
  cursor: pointer;
}

.user-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s;
}

.user-action-item:hover {
  color: var(--accent-gold);
}

.user-action-item i {
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent-brown);
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-wrapper {
  position: relative;
}

/* 响应式设计 */
@media (max-width: 991px) {
  .desktop-nav-container {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
  }

  .user-actions .search-box {
    max-width: 180px;
  }
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }

  .mobile-sidebar {
    display: none;
  }

  .mobile-sidebar-overlay {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-bottom .row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .contact-info {
    text-align: center;
  }

  .user-actions .search-box {
    max-width: 100%;
  }

  .user-actions .d-flex {
    justify-content: center;
    /* flex-wrap: wrap; */
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .logo {
    font-size: 1.5rem;
  }

  .logo-icon {
    font-size: 1.3rem;
  }

  .mobile-sidebar {
    width: 70%;
  }

  .user-actions .d-flex {
    justify-content: center;
    gap: 0;
  }
}



/* 轮播图区域样式 */
.hero-section {
  width: 100%;
  /* padding: 2rem 0; */
}

.hero-section .swiper-container {
  width: 100%;
  /* border-radius: 8px; */
  overflow: hidden;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); */
  position: relative;
}

.hero-section .swiper-slide {
  position: relative;
  overflow: hidden;
}

.hero-section .swiper-slide img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
}

/* 自定义Swiper箭头颜色 - 使用土豪金色 */
.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
  color: #d4af37 !important;
  width: 40px !important;
  height: 40px !important;
  background-color: rgba(26, 18, 11, 0.7);
  border-radius: 50%;
  border: 1px solid #d4af37;
}

.hero-section .swiper-button-next:after,
.hero-section .swiper-button-prev:after {
  font-size: 18px !important;
  font-weight: bold;
}

.hero-section .swiper-button-next:hover,
.hero-section .swiper-button-prev:hover {
  background-color: rgba(212, 175, 55, 0.2);
}

.hero-section .swiper-pagination-bullet {
  background-color: rgba(212, 175, 55, 0.5) !important;
  width: 12px !important;
  height: 12px !important;
  border: 1px solid #d4af37;
  opacity: 1 !important;
}

.hero-section .swiper-pagination-bullet-active {
  background-color: #d4af37 !important;
  transform: scale(1.3);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .hero-section {
    padding: 0;
  }

  .hero-section .swiper-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-radius: 0;
  }

  /* 移动端隐藏箭头 */
  .hero-section .swiper-button-next,
  .hero-section .swiper-button-prev {
    display: none !important;
  }

  .hero-section .swiper-pagination {
    bottom: 15px !important;
  }
}



/* 页脚 */
.site-footer {
  background-color: var(--secondary-dark);
  padding: 2rem 0;
  /* margin-top: 2rem; */
  border-top: 1px solid var(--border-dark);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.foot-nav h3 {
  display: inline-block;
  font-size: 24px;
  line-height: 1.8;
  border-bottom: 2px solid #ffffff;
}

.foot-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-nav ul li {
  margin-bottom: 8px;
}

.foot-nav ul li:last-child {
  margin-bottom: 0;
}

.foot-nav ul li,
.foot-nav ul li a {
  font-size: 16px;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.foot-nav ul li a:hover::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
}

.foot-content {
  font-size: 16px;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.5;
}

/* 社交媒体链接样式 */
.social-links {
  margin: 20px 0;
}

.social-media-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-media-list li {
  margin: 0;
}

.social-media-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: #c9b18b;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid #e1e5eb;
}

.social-media-list a:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 各平台特色颜色悬停效果 */
.social-media-list a:hover .fa-facebook-f {
  color: #1877f2;
}

.social-media-list a:hover .fa-twitter {
  color: #1da1f2;
}

.social-media-list a:hover .fa-instagram {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.social-media-list a:hover .fa-weibo {
  color: #e6162d;
}

.social-media-list a:hover .fa-youtube {
  color: #ff0000;
}

.social-media-list a:hover .fa-linkedin-in {
  color: #0a66c2;
}

.social-media-list a:hover .fa-pinterest-p {
  color: #e60023;
}

.social-media-list a:hover .fa-tiktok {
  color: #000000;
}

.social-media-list a:hover .fa-weixin {
  color: #07c160;
}

.social-media-list a:hover .fa-telegram-plane {
  color: #0088cc;
}

.social-media-list a:hover .fa-whatsapp {
  color: #25d366;
}

.social-media-list a:hover .fa-rss {
  color: #f26522;
}

/* 图标大小 */
.social-media-list i {
  font-size: 18px;
  transition: color 0.3s ease;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .social-media-list {
    gap: 10px;
  }

  .social-media-list a {
    width: 36px;
    height: 36px;
  }

  .social-media-list i {
    font-size: 16px;
  }
}

/* 小屏幕进一步优化 */
@media (max-width: 480px) {
  .social-media-list {
    gap: 8px;
  }

  .social-media-list a {
    width: 32px;
    height: 32px;
  }

  .social-media-list i {
    font-size: 14px;
  }
}

/* 暗色模式适配 */
@media (prefers-color-scheme: dark) {
  .social-media-list a {
    background-color: #2c2c2c;
    color: #ffffff;
    border-color: #444444;
  }
}


/* 通用的swiper样式 */
.products-section .swiper-button-next,
.products-section .swiper-button-prev {
  color: #ffffff;
  background-color: rgba(102, 102, 102, 0.5);
  border-radius: 50%;
  width: 40px !important;
  height: 40px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: none;
  transition: background-color 0.3s ease;
}

.products-section .swiper-button-next:hover,
.products-section .swiper-button-prev:hover {
  background-color: rgba(80, 80, 80, 0.7);
}

.products-section .swiper-button-next::after,
.products-section .swiper-button-prev::after {
  font-size: 16px;
  font-weight: bold;
}

.products-section .swiper-pagination-bullet {
  background-color: #dddddd;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  opacity: 1;
  transition: background-color 0.3s ease;
}

.products-section .swiper-pagination-bullet-active {
  background-color: #666666;
  width: 12px;
  height: 12px;
}


/* 产品板块通用样式 */
.products-section {
  width: 100%;
}

.section-title {
  color: var(--accent-gold);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-brown);
  letter-spacing: 1px;
}

/* 产品卡片样式 */
.product-card {
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1rem;
  height: 100%;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-gold);
}

.product-image {
  width: 100%;
  padding-top: 100%;
  margin-bottom: 1rem;
  position: relative;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 99;
  font-size: 22px;
  color: inherit;
}

.collection-btn a i {
  color: var(--accent-gold);
}

.collection-btn a.mylike .mylike-icon {
  display: inline-block;
  color: var(--accent-gold) !important;
}

.product-name a {
  color: var(--text-black) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem !important;
  min-height: 48px !important;
  line-height: 1.4 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}

.product-spec {
  color: var(--text-gary);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.product-price {
  margin-bottom: 1rem;
}

.price-cny {
  color: var(--accent-gold);
  font-size: 1.2rem;
  font-weight: 700;
}

.price-usd {
  color: var(--text-red);
  font-size: 1.2rem;
  margin-left: 0.5rem;
}

.btn-add-to-cart {
  background-color: var(--accent-brown);
  color: var(--text-light);
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  width: 100%;
  transition: all 0.3s ease;
  margin-top: auto;
  text-align: center;
  text-decoration: none;
}

.btn-add-to-cart:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}

.double-row-swiper .swiper-wraper {
  flex-wrap: wrapper;
}

/* 商品详情页 */
.text-gold {
  color: #d4af37;
}

.breadcrumb-item a {
  text-decoration: none;
}

.zoomContainer {
  display: none;
}

.zoomWrapper {
  position: relative;
  border: solid 1px var(--border-dark);
  border-radius: 15px;
  overflow: hidden;
}

.single-product-description .product-title {
  color: var(--text-black);
  font-weight: 500;
}

.single-product-description .description-text.text-muted,
.sku-section .sku-item label.text-muted {
  color: var(--text-black) !important;
}

.sku-section .sku-item span {
  color: var(--text-gary) !important;
}

.content-details {
  font-size: 16px;
  line-height: 1.5;
}

.breadcrumb-item+.breadcrumb-item::before {
  display: none;
}









/* 分页 */
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 20px 0;
  border-radius: 4px;
}

.pagination>li {
  display: inline;
}

.pagination>li>a,
.pagination>li>span {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.42857;
  text-decoration: none;
  color: #2c1f12;
  background-color: #fff;
  border: 1px solid #ddd;
  margin-left: -1px;
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
  margin-left: 0;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
  border-bottom-right-radius: 4px;
  border-top-right-radius: 4px;
}

.pagination>li>a:hover,
.pagination>li>a:focus,
.pagination>li>span:hover,
.pagination>li>span:focus {
  z-index: 2;
  color: #2c1f12;
  background-color: #eeeeee;
  border-color: #ddd;
}

.pagination>.active>a,
.pagination>.active>a:hover,
.pagination>.active>a:focus,
.pagination>.active>span,
.pagination>.active>span:hover,
.pagination>.active>span:focus {
  z-index: 3;
  color: #fff;
  background-color: #2c1f12;
  border-color: #2c1f12;
  cursor: default;
}

/* 分页 */