/* version: 2.1 */

/* ----------Page Home --------------- */

/* 基础样式重置 */


* {
  margin: 0px;
}

.nav * {
  box-sizing: border-box;
  font-family: SuisseIntl, sans-serif;
  list-style: none;
  text-decoration: none;
  color: #000;
}


/* navigation menu */

.nav {
  display: flex;
  flex-direction: column;
  height: min-content;
  /* padding: 20px 0px 4px 0px; */
  border-bottom: #eeeeee 1px solid;
  line-height: 1.6;
  position: relative;
  width: 100%;
  /* 固定在顶部 */
  /* top: 0; */
  /* left: 0; */
  z-index: 100;
  /* 最高层级，覆盖所有内容 */
  background: white;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  width: 95%;
  height: 58px;
  align-items: center;
  margin: auto;

}

.currency {
  flex: 1;
  text-align: center;

}

.logo {
  text-align: center;
  flex: 3;
  height: 30px;
}

/* .logo>img {
  width: auto;
  height: 30px;
  justify-content: center;
} */

.logo>a>svg {
  width: auto;
  height: 100%;
  max-width: 500px;
  /* 限制最大宽度 */
}

.info {
  display: flex;
  justify-content: flex-end;
  flex: 1;
  height: 100%;
  gap: 14px;
}

.info>div {
  display: inline-flex;
  flex-direction: row;
  flex-basis: content;
  align-items: center;
  justify-content: flex-end;
}


.info>div>svg:hover,
.avatar>a>svg:hover {
  stroke: white;
}

.info>div:hover {
  transition: stroke 0.3s ease;
  background: #000;
}


.info>div>svg,
.avatar>a>svg {
  height: 100%;
  width: 30px;

  margin: 3px 5px;
}


.nav-menu {
  width: 80%;
  height: 55px;
  margin: auto;
}

.main-menu {
  display: flex;
  justify-content: space-around;
  width: 100%;
  margin: 25px 5px 5px 5px;

}

.main-menu>li {
  list-style-type: none;
  text-align: center;
}

.main-menu>li:hover {
  font-weight: 500;
  color: #494949;
  border-bottom: 1px solid black;
}

.mega-menu {
  position: absolute;
  width: 60%;
  top: 114px;
  left: 0;
  height: 100vh;
  transition: opacity 0.3s ease;
  pointer-events: none;
  /* 避免干扰 hover */
  visibility: hidden;
  opacity: 0;
  /* transform: translateY(10px); */
  /* transform: translateX(-50%); */
  background: #ffffff;
  /* 最大高度不超过屏幕 */
  overflow-y: hidden;
  /* 菜单过长时内部滚动 */

}

.mega-menu li {
  list-style: none;
  text-indent: 4em;
  line-height: 2em;

}

.menu-col {
  margin: 10px 5px 10px 5px;
}

.menu-col-subtitle {
  font-size: 1em;
  font-weight: 600;
}

.mega-menu-sec {
  display: flex;
  flex-direction: column;
  margin: 20px 10px;
  width: 73%;
}

.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 100;
  /* 允许鼠标交互 */
}


/* footer section */

footer {
  /* height: 47vh; */
  background: #000;
  color: white;
  margin-top: 100px;
}

.footerRowContainer {
  display: flex;
  flex-direction: column;

}

.footerColContainer {
  display: flex;
  flex-direction: row;
  width: 70%;
  margin: 60px auto;
  column-gap: 10em;
}



.footerMenu>ul>li {
  list-style: none;
}

.footerMenu>ul>li>a {
  text-decoration: none;
  text-transform: uppercase;
  color: white;
  font-size: small;

}

.footMenu-subtitle {
  font-size: medium;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pagefooter {
  margin: 10px 0px 0px 5px;
}

.home-container {
  display: flex;
  /* 改为flex垂直布局，替代grid */
  flex-direction: column;
  /* 子元素垂直排列 */
  scroll-snap-type: y proximity;
  width: 100%;
  /* 移除滚动容器相关属性 */
  /* scroll-snap-type: y proximity; */
  /* overflow-y: auto; */
  /* max-height: calc(100vh - 142px); */
  /* overflow-x: hidden; */
}

.home-section {
  /* 保留吸附（如果需要），但移除强制居中（避免高度占满） */
  scroll-snap-align: start;
  display: grid;
  /* 每个section内部用grid实现左右分栏 */
  grid-template-columns: repeat(2, 1fr);
  /* 左右各占一半 */
  /* 关键：让section高度自适应内容，而非强制视口高度 */
  min-height: 100vh;
  position: relative;
  color: #fff;
  /* 移除grid-column: span 2; （已改用flex布局） */
}

/* 第一个section（视频区域）单独处理：占满一行 */
.home-section:first-child {
  grid-template-columns: 1fr;
  /* 视频区域占满整行 */
  max-height: calc(100vh - 142px);
  ;
}

.herobanner {
  width: 100%;
  min-height: calc(100vh - 142px);
  /* 视频区域占满视口高度 */
  overflow: hidden;
  position: relative;
}

/* 视频：铺满容器，保持比例 */
.herobanner video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 缩放视频至覆盖容器（保证最小边铺满） */
  min-width: 100%;
  min-height: 100%;
  /* 居中视频 */
  transform: translate(-50%, -50%);
  /* 可选：强制视频宽度/高度（如需固定尺寸可取消注释） */
  /* width: 100%; */
  /* height: 100%; */
  object-fit: cover;
  /* 覆盖模式，裁剪超出部分（推荐） */
  /* object-fit: contain;  包含模式，完整显示视频，可能留黑边 */
}

.herobanner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}



/* ========== Collection Section ========== */
.home-section .collection {
  width: 100%;
  height: 100%;
  /* 继承section的高度 */
}

.home-section .collection:hover {
  transform: scale(1.02);
  transition: 0.5s ease-out;
}

.collection {
  position: relative;
}

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

.collection-name {
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  color: white;
  position: absolute;
  bottom: 20px;
  left: 50%;
  /* 改为水平居中 */
  transform: translateX(-50%);
  /* 水平居中修正 */
}

/* ========== 响应式调整 ========== */
@media (max-width: 900px) {
  .home-section .collection {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .collection img {
    aspect-ratio: 16 / 9;
  }

  .collection-name {
    font-size: 1.5rem;
  }
}




/* ----------Page New Arrival --------------- */
.product-container * {
  margin: 0;
  font-family: SuisseIntl, sans-serif;

  letter-spacing: .01em;
  letter-spacing: .03em;

}


.breadcrumbs {
  text-transform: uppercase;
  font-family: SuisseIntl, sans-serif;
  font-size: .813rem;
  letter-spacing: .03em;

}

.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}


.product-container {
  margin-bottom: 100px;
  /* position: relative; */
  /* z-index: 1; */
  min-height: 100vh;
}

.product-container a {
  color: inherit;
  text-decoration: inherit;
}

.pagetitle {
  text-align: center;
  grid-column-start: 5;
  grid-column: span 4 / span 4;
  font-weight: 600;
  line-height: 140%;
  text-transform: uppercase;
  padding-bottom: 1.25rem;
  margin: 0;
}


.filterRow {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  font-size: 0.8rem;
  align-items: center;
  margin: 20px 20px;

}

/* 悬停状态：微亮背景+轻微上浮 */
.filterbtn:hover {
  /* background-color: #333; */
  transform: translateY(-2px);
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  cursor: pointer;
  transition: all 0.3s ease;

}

/* 点击状态：下沉效果 */
.filterbtn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* 禁用状态 */
.filterbtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* === 网格布局 === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 2rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.product-item {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

/* === 图片轮播容器 === */
.product-img-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 2/3;
  overflow: hidden;
  background-color: #f9f9f9;
}


.product-img-slider:hover .slider-btn,
.product-img-slider:hover .wishlist-btn {
  opacity: 1;
  visibility: visible;
}

/* === 滑动轨道 === */
.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s ease;
  height: 100%;
}

/* === 滑动轨道 === */
.slider-track>a {
  display: flex;
  width: 100%;
  height: 100%;
}



/* === 每张图片 === */
.slider-img {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* === 左右切换按钮 === */
.slider-btn {
  position: absolute;
  top: 50%;
  visibility: hidden;
  /* 隐藏时不占空间，避免影响点击 */
  opacity: 0;
  /* 默认隐藏 */
  pointer-events: auto;
  /* 显示时允许点击 */
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.4rem 0.6rem;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}

.prev-btn {
  left: 0.5rem;
}

.next-btn {
  right: 0.5rem;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.9);

}

/* === 收藏按钮 === */
.wishlist-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  border: none;
  visibility: hidden;
  opacity: 0;
  background: transparent;
  color: #333;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0.7;
  transition: opacity 0.3s;
  z-index: 3;
}

/* === 名称与价格 === */
.item-info {
  margin-top: 0.75rem;
  margin-left: 0.75rem;
}

.product-name,
.product-price {
  font-size: .8125rem;
  font-family: SuisseIntl, sans-serif;
  color: #080808;
  margin: 0;
}

/* error page */
.errorpage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 60%;
  text-align: center;
  row-gap: 20px;
  margin: auto;
  height: 75vh;
}

.ops {
  font-size: 6em;

}

.notf {
  font-size: 2em;
  font-weight: 500;
}


/* 基础按钮重置与默认样式 */
.btn {
  /* 清除默认样式 */
  display: inline-block;
  border: none;
  margin: 0;
  padding: 0.8rem 1.6rem;
  font-family: inherit;
  /* 继承父级字体，保持一致性 */
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  /* 轻微圆角，增强质感 */
  transition: all 0.3s ease;
  /* 状态变化动画 */
  box-sizing: border-box;
}

/* 文本颜色与背景色（默认主题色，可替换） */
.btn {
  background-color: #000;
  /* 深色背景，适合高端电商 */

}

.btn>a {
  text-decoration: none;
  color: #fff;
  /* 白色文本 */
}


/* 悬停状态：微亮背景+轻微上浮 */
.btn:hover {
  background-color: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 点击状态：下沉效果 */
.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* 禁用状态 */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}


/* --------------product page --------------------*/
.product-page-container * {
  box-sizing: border-box;
}

.product-page-container body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: #fff;
  color: #111;
}

.product-page-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-top: 30px;
}

/* ---------- GALLERY ---------- */
.product-gallery {
  flex: 0 0 66.666%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* gap: 10px; */
  /* 限制画廊高度（根据需求调整） */
  max-height: 100vh;
  /* 移除最大高度限制 */
  /* 超出高度时显示垂直滚动条 */
  overflow-y: auto;
  /* 隐藏水平滚动条（可选） */
  overflow-x: hidden;
  /* 美化滚动条（可选，适配webkit浏览器） */
  scrollbar-width: thin;
  scrollbar-color: #ccc #f5f5f5;
  /* 增加内边距和边框，增强视觉效果 */
  /* padding: 10px; */
  border: 1px solid #eee;
  border-radius: 8px;
}

.product-gallery img {
  width: 100%;
  height: auto;
  /* border-radius: 10px; */
  object-fit: cover;
}

.product-gallery img:nth-child(3n) {
  grid-column: span 2;
  /* every 3rd image spans full width */
}

/* ---------- PRODUCT INFO ---------- */
.product-info {
  flex: 0 0 31%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 20px;
  max-width: 28.375rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: #777;
}

.titleContainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.title {
  font-size: 1.5rem;
  font-weight: 600;
}


.price {
  font-size: 1.4rem;
  font-weight: bold;
}


.stylename {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 0.5rem;
}




.sizeguide {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
  text-decoration: underline;
  cursor: pointer;
  width: fit-content;
}


/* ---------- MORE INFO ---------- */
.moreinfo {
  width: 100%;
  margin-top: 3rem;
  border-top: 1px solid #eee;
  padding-top: 1rem;
  display: flex;
  justify-content: space-around;
}

.moreinfo div {
  position: relative;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.2s;
  font-weight: 500;
}

.moreinfo div:hover::after {
  content: '›';
  position: absolute;
  right: -15px;
  top: 0;
  align-self: anchor-center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .product-page-container {
    flex-direction: column;
  }

  .product-gallery {
    flex: 1 1 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .product-info {
    flex: 1 1 100%;
  }
}








/* ---------- 筛选侧边栏样式 ---------- */
/* ---------- 筛选侧边栏样式 ---------- */
.filter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  /* 遮罩层在侧边栏下面 */
  display: none;
}

.filter-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 100%;
  height: 100%;
  background: white;
  z-index: 999;
  /* 侧边栏在遮罩层上面 */
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.sidebar-header h3 {
  margin: 0;
  font-size: 18px;
  color: #2c3e50;
}

.filter-close {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}

.filter-close:hover {
  color: #333;
}

/* 筛选表单样式 */
.filter-group {
  margin-bottom: 25px;
}

.filter-group h4 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #333;
  font-weight: 600;
}

.filter-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background: white;
  box-sizing: border-box;
  /* 新增：统一盒模型 */
}

.price-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  /* 新增：确保容器占满父级宽度 */
}

.price-inputs input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  /* 让padding/border计入宽度，不额外撑开 */
  min-width: 0;
  /* 解除flex子元素的最小内容宽度限制 */
}

.price-inputs span {
  color: #666;
  white-space: nowrap;
  /* 新增：避免"-"符号换行，挤占输入框宽度 */
}

.color-option {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #444;
}

.color-option input {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.no-colors {
  font-size: 14px;
  color: #999;
}

.filter-actions {
  position: sticky;
  bottom: 20px;
  margin-top: 30px;
  display: flex;
  gap: 10px;
}

#ajax-filter-submit {
  flex: 1;
  padding: 10px;
  background: #2c3e50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

#ajax-filter-submit:hover {
  background: #1a252f;
}

.reset-btn {
  flex: 0 0 80px;
  padding: 10px;
  text-align: center;
  background: #f5f5f5;
  color: #666;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}

.reset-btn:hover {
  background: #e0e0e0;
}

/* 加载动画 */
#ajax-filter-loading {
  display: none;
  text-align: center;
  padding: 50px 0;
  width: 100%;
  font-size: 16px;
  color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .filter-sidebar {
    width: 280px;
  }

  .filter-actions {
    flex-direction: column;
  }

  .reset-btn {
    flex: 1;
  }
}


.label {
  text-align: left !important;
  text-transform: capitalize;
}


table[class="variations"] tbody {
  gap: 2rem;
  display: flex;
  flex-direction: column;
}

table[class="variations"] tr {
  display: flex;
  flex-direction: column;
}


/* 隐藏原生 select */
#pa_color {
  display: none !important;
}

/* 容器：自动插入 */
.color-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.color-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid #eee;
}

.color-thumb.active {
  border: 2px solid #000;
}


/* 隐藏原生 select */
#pa_size {
  display: none !important;
}

/* 容器：自动插入 */
.size-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  text-align: center;
  line-height: 40px;
}

.size-thumb {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border: 2px solid #eee;
}

.size-thumb.active {
  border: 2px solid #000;
}



.variations_form {
  gap: 2rem;
  display: flex;
  flex-direction: column;

}


.variations_form .quantity,
.reset_variations {
  display: none !important;
}

.variations_form .button {
  padding: 15px;
  text-align: left;
  font-size: 1.05rem;
}





#sidebar-cart {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  height: 100%;
  background: #fff;
  box-shadow: -3px 0 8px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

#sidebar-cart.active {
  right: 0;
}

#sidebar-cart .sidebar-cart-header,
#sidebar-cart .sidebar-cart-footer {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
}

#sidebar-cart .sidebar-cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-item {
  display: flex;
  margin-bottom: 1rem;
}

.cart-item-img img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  margin-right: 1rem;
}

#header-cart-icon {
  position: relative;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: 5px;
  right: -5px;
  background: red;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

form .button {
  cursor: pointer;
  background: #212121f1 !important;
  color: white;
  width: 100%;
  border-radius: 5px;
}

form .button:hover {
  background: #000 !important;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
  cursor: pointer;
  transition: all 0.3s ease;


}



/* 产品颜色 */
/* 颜色数量标识样式 */
.color-count-badge {
  position: absolute;
  /* 绝对定位 */
  bottom: 20px;
  /* 距离底部距离 */
  right: 20px;
  /* 距离右侧距离 */
  /* 背景色（可根据图2调整） */
  color: white;
  /* 文字颜色 */
  width: 30px;
  /* 宽度 */
  height: 30px;
  /* 高度 */
  border-radius: 50%;
  /* 圆形（可选，根据需求调整） */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  /* 文字大小 */
  font-weight: bold;
  z-index: 10;
  /* 确保在产品图片上方显示 */
}

/* user login function */
.avatar:hover {
  cursor: pointer;
}




/* search function */

.product-search-wrapper {
  max-width: 800px;
  margin: 20px 0;
}

.product-search-input {
  padding: 8px 12px;
  width: 300px;
  margin-right: 10px;
}

.filter-select {
  padding: 8px;
  margin-right: 10px;
}

.product-search-btn {
  padding: 8px 20px;
  background: #2d74da;
  color: #fff;
  border: none;
  cursor: pointer;
}

.product-search-results-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-item {
  border: 1px solid #eee;
  padding: 10px;
}

.product-item img {
  max-width: 100%;
  height: auto;
}




/* search widget */

/* 搜索按钮 */
.search-toggle {
  cursor: pointer;
  padding: 8px;
}

/* 侧边栏容器 */
.search-sidebar {
  position: fixed;
  top: 0;
  right: -390px;
  /* 默认隐藏在右侧 */
  width: 350px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

/* 侧边栏显示状态 */
.search-sidebar.active {
  right: 0;
}

/* 侧边栏头部 */
.search-sidebar-header {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#woocommerce-search-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 4px;
}

.search-sidebar-close {
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* 热门/历史搜索样式 */
.trending-searches,
.previous-searches {
  margin-bottom: 20px;
}

.trending-searches h4,
.previous-searches h4 {
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 600;
}

.trending-searches ul,
.previous-searches ul {
  list-style: none;
  padding: 0;
}

.trending-searches li,
.previous-searches li {
  padding: 8px 0;
  cursor: pointer;
  color: #333;
  transition: color 0.2s;
}

.trending-searches li:hover,
.previous-searches li:hover {
  color: #007cba;
}

/* 遮罩层 */
.search-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none;
}

.search-sidebar-overlay.active {
  display: block;
}

/* 搜索结果样式 */
.search-results {
  margin-top: 20px;
}

.search-result-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.search-result-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.search-result-item .product-info {
  flex: 1;
}

.search-result-item .product-title {
  font-size: 14px;
  margin: 0 0 5px 0;
}

.search-result-item .product-price {
  font-size: 13px;
  color: #777;
}



/* my account */

.wc-auth {
  min-height: calc(100vh - 114px - 290px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 20px;
  /* background: #f6f6f6; */
}

.wc-auth__login,
.wc-auth__register {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .08);
}

.wc-auth__register {
  margin-top: 40px;
}

.wc-auth__header {
  margin-bottom: 28px;
}

.wc-auth__title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 6px;
}

.wc-auth__subtitle {
  font-size: 14px;
  color: #777;
}

.wc-auth__field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.wc-auth__field label {
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

.wc-auth__field input {
  height: 48px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  outline: none;
  transition: all .2s ease;
}

.wc-auth__field input:focus {
  border-color: #000;
}

.wc-auth__row {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.wc-auth__row--between {
  justify-content: space-between;
}

.wc-auth__checkbox {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #555;
  gap: 6px;
}

.wc-auth__link {
  font-size: 13px;
  color: #000;
  text-decoration: underline;
}

.wc-auth__submit {
  width: 100%;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity .2s ease;
}

.wc-auth__submit:hover {
  opacity: .85;
}

.woocommerce-privacy-policy-text {
  font-size: 12px;
  color: #888;
  line-height: 1.6;
  margin-top: 16px;
}

main>article>h2 {
  display: none;
}



/* dashboard */
/* 顶部标签栏样式 */
.woocommerce-MyAccount-navigation {
  width: fit-content;
}

.woocommerce-MyAccount-navigation>ul {
  list-style: none;
  width: fit-content;
  border-right: grey 1px solid;
  margin-right: 30px;
}

.woocommerce-MyAccount-navigation li {
  padding: 20px;
  text-wrap-mode: nowrap;
  margin: 10px;
}


.woocommerce-MyAccount-navigation a {
  color: black;
  text-decoration: none;
}

/* .woocommerce {
  margin-top: 70px;
  width: 73%;
  justify-self: center;
  display: flex;
} */
/* 仅my-account/主页面生效 */
body.myaccount-main-page .woocommerce {
  margin-top: 70px;
  width: 73%;
  justify-self: center;
  display: flex;
}

/* 补充：如果justify-self: center不生效，给父元素加网格布局 */
/* 替换为.woocommerce的实际父元素（比如页面容器） */
body.myaccount-main-page .page-container {
  display: grid;
}

/* edit account section */

/* 账户编辑表单整体样式 */
.woocommerce-MyAccount-content {
  max-width: 800px;
  /* 限制内容宽度，避免太宽 */
  margin: 0 auto;
  /* 居中显示 */
  padding: 20px;
  width: 80%;
}

.woocommerce-EditAccountForm {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* 轻微阴影增加层次感 */
}

/* 表单行样式 */
.woocommerce-form-row {
  margin-bottom: 25px;
  position: relative;
}

/* 标签样式 */
.woocommerce-EditAccountForm label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333333;
  font-size: 14px;
}

/* 必填项星号样式 */
.woocommerce-EditAccountForm .required {
  color: #e53e3e;
  /* 红色突出必填项 */
  margin-left: 2px;
}

/* 输入框样式 */
.woocommerce-Input,
.input-text {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  /* 防止padding撑大宽度 */
}

/* 输入框聚焦效果 */
.woocommerce-Input:focus,
.input-text:focus {
  outline: none;
  border-color: #2d3748;
  /* 聚焦时边框变色 */
  box-shadow: 0 0 0 3px rgba(45, 55, 72, 0.1);
  /* 轻微外发光 */
}

/* 左右分栏的表单行 */
.form-row-first {
  float: left;
  width: 48%;
  margin-right: 4%;
}

.form-row-last {
  float: left;
  width: 48%;
}

/* 清除浮动 */
.clear {
  clear: both;
  display: block;
  height: 0;
  content: "";
}

/* 显示名称的描述文本 */
#account_display_name_description {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #666666;
  font-style: italic;
}

/* 密码修改字段集样式 */
.woocommerce-EditAccountForm fieldset {
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  padding: 20px;
  margin: 30px 0;
}

.woocommerce-EditAccountForm legend {
  padding: 0 10px;
  font-weight: 700;
  font-size: 16px;
  color: #333;
}

/* 密码输入框容器 */
/* 密码输入框容器 */
.password-input {
  position: relative;
  display: block;
}

/* 显示密码按钮样式（重写，添加伪元素图标） */
.show-password-input {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  padding: 8px;
  /* 扩大点击区域 */
  transition: color 0.3s ease;
  width: 30px;
  /* 固定宽度，保证图标居中 */
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 用伪元素添加眼睛图标（未显示密码状态） */
.show-password-input::before {
  content: "";
  width: 20px;
  height: 14px;
  border: 2px solid #666;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

/* 眼睛内部的遮挡（模拟闭眼/睁眼） */
.show-password-input::after {
  content: "";
  width: 12px;
  height: 2px;
  background: #666;
  position: absolute;
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

/* 按钮hover效果 */
.show-password-input:hover {
  color: #2d3748;
}

/* 睁眼状态（后续可通过JS添加类名切换，可选） */
.show-password-input.active::after {
  /* 隐藏遮挡线，变为睁眼 */
  width: 0;
  height: 0;
}

.show-password-input.active::before {
  border-color: #2d3748;
}

/* 提交按钮样式 */
.woocommerce-Button.button {
  background: #2d3748;
  color: #ffffff;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.woocommerce-Button.button:hover {
  background: #1a202c;
  /* 鼠标悬停加深背景色 */
}

.woocommerce-Button.button:active {
  transform: scale(0.98);
  /* 点击时轻微缩放 */
}

/* 响应式适配：小屏幕下取消分栏 */
@media (max-width: 768px) {

  .form-row-first,
  .form-row-last {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .woocommerce-EditAccountForm {
    padding: 20px;
  }

  .woocommerce-MyAccount-content {
    padding: 10px;
  }
}




/* my address */

/* 地址管理页面整体样式 */
.woocommerce-MyAccount-content {
  max-width: 900px;
  /* 限制内容宽度，提升阅读体验 */
  margin: 0 auto;
  /* 居中显示 */
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* 提示文本样式 */
.woocommerce-MyAccount-content>p {
  font-size: 15px;
  color: #4a5568;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* 地址容器布局 */
.woocommerce-Addresses.col2-set {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  /* 响应式网格布局 */
  gap: 25px;
  /* 地址卡片之间的间距 */
  margin: 0;
  padding: 0;
}

/* 单个地址卡片样式 */
.woocommerce-Address {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  /* 轻微阴影增加层次感 */
  padding: 25px;
  position: relative;
  border: 1px solid #f5f5f5;
  transition: box-shadow 0.3s ease;
}

/* 地址卡片hover效果 */
.woocommerce-Address:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* 地址标题栏样式 */
.woocommerce-Address-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

/* 地址标题文字 */
.woocommerce-Address-title h2 {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
  text-transform: capitalize;
}

/* 编辑/添加地址链接样式 */
.woocommerce-Address-title .edit {
  font-size: 14px;
  color: #2b6cb0;
  /* 蓝色突出操作链接 */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px;
}

/* 链接hover/active效果 */
.woocommerce-Address-title .edit:hover,
.woocommerce-Address-title .edit:focus {
  color: #2c5282;
  text-decoration: underline;
  outline: none;
}

/* 地址内容样式 */
.woocommerce-Address address {
  font-style: normal;
  /* 取消默认斜体 */
  color: #4a5568;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* 空地址提示文本样式 */
.woocommerce-Address address:empty::before,
.woocommerce-Address address:contains("You have not set up this type of address yet.") {
  color: #718096;
  /* 浅灰色提示文本 */
  font-style: italic;
}

/* 响应式适配：小屏幕下调整间距和内边距 */
@media (max-width: 768px) {
  .woocommerce-MyAccount-content {
    padding: 10px;
  }

  .woocommerce-Addresses.col2-set {
    grid-template-columns: 1fr;
    /* 小屏幕单列显示 */
    gap: 20px;
  }

  .woocommerce-Address {
    padding: 20px;
  }

  .woocommerce-Address-title h2 {
    font-size: 16px;
  }
}


/* my-account/edit-address/billing/ */

/* 地址编辑表单整体样式 */
.woocommerce-MyAccount-content {
  max-width: 850px;
  /* 限制内容宽度，提升阅读体验 */
  margin: 0 auto;
  /* 居中显示 */
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* 表单标题样式 */
.woocommerce-MyAccount-content form h2 {
  font-size: 22px;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 30px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0f0f0;
}

/* 地址字段容器样式 */
.woocommerce-address-fields {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  /* 轻微阴影增加层次感 */
}

/* 表单字段包装器 */
.woocommerce-address-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* 单个表单行样式 */
.form-row {
  margin: 0;
  position: relative;
  /* 覆盖原有分栏样式，统一用网格布局 */
  width: 100% !important;
  float: none !important;
  clear: none !important;
}

/* 表单标签样式 */
.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2d3748;
  font-size: 14px;
  line-height: 1.4;
}

/* 必填项星号样式 */
.form-row .required {
  color: #e53e3e;
  /* 红色突出必填项 */
  margin-left: 2px;
}

/* 可选字段提示 */
.form-row .optional {
  color: #718096;
  font-size: 12px;
  font-weight: normal;
}

/* 输入框/下拉框包装器 */
.woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

/* 输入框样式 */
.input-text,
.form-row select,
.select2-selection {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e1e1e1;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
  /* 防止padding撑大宽度 */
  background: #ffffff;
}

/* 输入框聚焦效果 */
.input-text:focus,
.form-row select:focus,
.select2-selection:focus {
  outline: none;
  border-color: #2b6cb0;
  /* 品牌蓝聚焦色 */
  box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
  /* 轻微外发光 */
}

/* 占位符样式 */
.input-text::placeholder {
  color: #a0aec0;
  font-size: 13px;
}

/* Select2 下拉框样式适配 */
.select2-container {
  width: 100% !important;
}

.select2-selection--single {
  height: auto !important;
  border: 1px solid #e1e1e1 !important;
  border-radius: 6px !important;
  padding: 8px 15px !important;
}

.select2-selection__rendered {
  line-height: 1.5 !important;
  padding: 0 !important;
}

.select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%) !important;
  right: 10px !important;
}

/* 保存按钮样式 */
.woocommerce-address-fields button.button {
  background: #2b6cb0;
  /* 品牌蓝 */
  color: #ffffff;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.woocommerce-address-fields button.button:hover {
  background: #2c5282;
  /* 深色hover效果 */
}

.woocommerce-address-fields button.button:active {
  transform: scale(0.98);
  /* 点击轻微缩放 */
}

/* 隐藏的noscript按钮样式（优化兼容性） */
.woocommerce-input-wrapper noscript button {
  margin-top: 10px;
  padding: 8px 15px;
  font-size: 12px;
  background: #f7fafc;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  cursor: pointer;
}

/* 响应式适配：小屏幕优化 */
@media (max-width: 768px) {
  .woocommerce-MyAccount-content {
    padding: 10px;
  }

  .woocommerce-address-fields {
    padding: 20px;
  }

  .woocommerce-address-fields__field-wrapper {
    grid-template-columns: 1fr;
    /* 小屏幕单列 */
    gap: 15px;
  }

  .woocommerce-MyAccount-content form h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .woocommerce-address-fields button.button {
    width: 100%;
    /* 小屏幕按钮全屏宽 */
    padding: 12px 0;
  }
}

/* 针对宽字段的特殊处理（如地址、邮箱） */
.form-row-wide {
  grid-column: 1 / -1;
  /* 宽字段占满整行 */
}



/* about us page */
/* 全局重置（仅作用于.about-us-page内） */
.about-us-page * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 页面专属变量 */
.about-us-page {
  --primary-color: #2c3e50;
  /* 深灰蓝，高级感 */
  --secondary-color: #8e7cc3;
  /* 浅紫，点缀色 */
  --light-color: #f8f9fa;
  /* 浅灰，背景色 */
  --dark-color: #333;
  /* 深灰，文字色 */
  --gray-color: #777;
  /* 中灰，辅助文字 */
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* 阴影效果 */
  color: var(--dark-color);
  background-color: #fff;
  line-height: 1.6;
}

.about-us-page a {
  text-decoration: none;
  color: inherit;
}

.about-us-page .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 按钮样式（仅当前页面） */
.about-us-page .btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.about-us-page .btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.about-us-page .btn-primary:hover {
  background-color: #1a252f;
  transform: translateY(-2px);
}

.about-us-page .btn-secondary {
  background-color: var(--secondary-color);
  color: #fff;
}

.about-us-page .btn-secondary:hover {
  background-color: #7b68ee;
  transform: translateY(-2px);
}

/* 标题样式（仅当前页面） */
.about-us-page .section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
  color: var(--primary-color);
  position: relative;
}

.about-us-page .section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 15px auto 0;
}

.about-us-page .sub-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* 顶部Banner区（仅当前页面） */
.about-us-page .banner {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/banner.jpg') center/cover no-repeat;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 0 20px;
}

.about-us-page .banner-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.about-us-page .banner-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-us-page .banner-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 品牌核心定位区（仅当前页面） */
.about-us-page .brand-intro {
  padding: 80px 0;
  background-color: var(--light-color);
}

.about-us-page .brand-intro-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--dark-color);
  line-height: 1.8;
}

/* 工艺与实力区（仅当前页面） */
.about-us-page .craft-strength {
  padding: 80px 0;
}

.about-us-page .craft-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .about-us-page .craft-container {
    grid-template-columns: 1fr;
  }
}

.about-us-page .craft-item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-us-page .craft-list {
  list-style: none;
  margin-bottom: 20px;
}

.about-us-page .craft-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.about-us-page .craft-list li::before {
  content: '✓';
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--secondary-color);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  position: absolute;
  left: 0;
  top: 2px;
}

.about-us-page .craft-img,
.about-us-page .strength-img {
  width: 100%;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
  height: 300px;
}

/* 双业务模式区（仅当前页面） */
.about-us-page .business-mode {
  padding: 80px 0;
  background-color: var(--light-color);
}

.about-us-page .business-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-us-page .business-table th,
.about-us-page .business-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.about-us-page .business-table th {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: 600;
}

.about-us-page .business-table tr:last-child td {
  border-bottom: none;
}

.about-us-page .business-note {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1rem;
  color: var(--gray-color);
}

/* 发展历程区（仅当前页面） */
.about-us-page .timeline {
  padding: 80px 0;
  position: relative;
}

.about-us-page .timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background-color: var(--secondary-color);
  transform: translateX(-50%);
}

.about-us-page .timeline-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-us-page .timeline-item {
  width: 50%;
  position: relative;
  padding: 20px 40px;
}

.about-us-page .timeline-item:nth-child(even) {
  align-self: flex-end;
}

.about-us-page .timeline-item:nth-child(odd) {
  align-self: flex-start;
  padding-right: calc(40px + 30px);
}

.about-us-page .timeline-item:nth-child(even) {
  padding-left: calc(40px + 30px);
}

.about-us-page .timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
  top: 20px;
  left: -10px;
  z-index: 1;
}

.about-us-page .timeline-item:nth-child(even) .timeline-dot {
  right: -10px;
  left: auto;
}

.about-us-page .timeline-content {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-us-page .timeline-year {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .about-us-page .timeline::before {
    left: 30px;
  }

  .about-us-page .timeline-item {
    width: 100%;
    padding-left: 70px !important;
    padding-right: 20px !important;
    align-self: flex-start !important;
  }

  .about-us-page .timeline-dot {
    left: 20px !important;
    right: auto !important;
  }
}

/* 团队与工厂区（仅当前页面） */
.about-us-page .team-factory {
  padding: 80px 0;
  background-color: var(--light-color);
}

.about-us-page .team-content {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.1rem;
}

.about-us-page .factory-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.about-us-page .gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.about-us-page .gallery-img:hover {
  transform: scale(1.05);
}

/* 品牌理念区（仅当前页面） */
.about-us-page .brand-philosophy {
  padding: 80px 0;
  text-align: center;
}

.about-us-page .philosophy-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.2rem;
  line-height: 1.8;
}

.about-us-page .philosophy-title {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* 底部引流区（仅当前页面） */
.about-us-page .contact {
  padding: 60px 0;
  background-color: var(--primary-color);
  color: #fff;
}

.about-us-page .contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.about-us-page .contact-item h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
  display: inline-block;
}

.about-us-page .contact-item p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.about-us-page .qrcode-img {
  width: 150px;
  height: 150px;
  margin-bottom: 10px;
}

.about-us-page .social-icons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.about-us-page .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.about-us-page .social-icon img {
  width: 20px;
  height: 20px;
}

.about-us-page .social-icon:hover {
  background-color: var(--secondary-color);
}

/* 页脚（仅当前页面） */
.about-us-page footer {
  padding: 20px 0;
  text-align: center;
  background-color: #1a252f;
  color: #aaa;
  font-size: 0.9rem;
}

/* 平滑滚动 + 图片懒加载过渡（仅当前页面） */
.about-us-page html {
  scroll-behavior: smooth;
}

.about-us-page img.lazy {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-us-page img.lazy.loaded {
  opacity: 1;
}