/* Top Leader Banner */
.header_pc_container .top-leader-banner {
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #027299;
}

.header_pc_container .top-leader-banner .banner-item {
  line-height: 1.1;
}

.header_pc_container .top-leader-banner .banner-item span {
  font-size: 14px;
  color: #fff;
}

/* Store Logo */
.header_pc_container .store-logo {
  padding: 16px 0px;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #fff;
  position: relative;
}

.header_pc_container .store-logo .store-logo-width-container {
  width: 100%;
  max-width: 1360px;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
}

.header_pc_container .store-logo img {
  height: 50px;
}

.header_pc_container .store-logo .right-icons {
  display: flex;

  position: absolute;
  right: 0;
}

.header_pc_container .store-logo .right-icons a {
  border: 0;
  line-height: normal;
  font-size: inherit;
  display: inline-block;
  text-decoration: none;
  margin: 0;
  padding: 0;
  margin-right: 16px; /* 为所有图标链接设置右边距 */
}

.header_pc_container .store-logo .right-icons a:last-child {
  margin-right: 0; /* 移除最后一个图标的右边距 */
}

.header_pc_container .store-logo .right-icons img {
  width: 32px;
  height: 32px;
  color: #fff;
  cursor: pointer;
}

/* Mega Menu */
.header_pc_container .mega-menu {
  height: 68px;
  display: flex;
  align-items: center;
  background-color: black;
  overflow: hidden; /* 防止内容溢出 */
  position: relative;
  justify-content: center;
}
.header_pc_container .mega-menu .mega-menu-width-container {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 1360px;
  width: 100%;
  position: relative;
  padding-right: 330px;
}

/* Input Position */
.header_pc_container .mega-menu .input-position {
  position: absolute;
  right: 0;
}

.header_pc_container .mega-menu .input-container {
  position: relative;
  width: 285px;
}

.header_pc_container .mega-menu .input-container input {
  width: 100%;
  height: 36px;
  padding-right: 50px;
  padding-left: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;

  background-color: #fff;
  box-sizing: border-box;
  outline: none;
  padding-top: 5px;
  padding-bottom: 5px;
  line-height: 24px;
}

.header_pc_container .mega-menu .input-container .icon {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

/* .header_pc_container .mega-menu .input-container .icon img{
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #888;
  pointer-events: none;
  width: 32px;
  height: 32px;
} */

/* Mega Menu Items Wrapper */
.header_pc_container .mega-menu .mega-menu-items-wrapper {
  display: flex;
  flex-grow: 1; /* 占据中间的剩余空间 */
  overflow-x: auto; /* 启用水平滚动 */
  scroll-behavior: smooth; /* 平滑滚动效果 */
  white-space: nowrap; /* 防止换行 */
  align-items: center; /* 垂直对齐 */
  scrollbar-width: none; /* Firefox: 隐藏滚动条 */
  -ms-overflow-style: none; /* IE: 隐藏滚动条 */
}

.mega-menu-items-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, 和 Edge: 隐藏滚动条 */
}

/* Mega Menu Item */
.header_pc_container .mega-menu .mega-menu-item {
  height: 68px;
  padding: 0 20px 0 0;
  display: flex;
  align-items: center;
  flex-shrink: 0; /* 防止缩小 */
}

.header_pc_container .mega-menu .mega-menu-item-title {
  height: 100%;
  max-width: 190px;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
  /* cursor: pointer; */
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.5s linear;
}

.header_pc_container .mega-menu .mega-menu-item-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: white;
  transition: width 0.3s ease;
}

.header_pc_container .mega-menu .mega-menu-item-title:hover::after {
  width: 100%;
}

/* Mega Menu Arrow Buttons */
.header_pc_container .mega-menu .arrow {
  /* position: absolute; */
  width: 12px;
  height: 12px;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0; /* 防止箭头缩小 */
  margin-left: 14px;
  margin-right: 14px;
  visibility: hidden; /* 初始隐藏箭头 */
  pointer-events: none; /* 禁止点击 */
}

.mega-menu .arrow.visible {
  visibility: visible; /* 加载完成后显示箭头 */
  pointer-events: auto; /* 允许点击 */
}

.header_pc_container .mega-menu .arrow.left-arrow {
  left: 0;
  transform: rotate(180deg);
}

.header_pc_container .mega-menu .arrow.right-arrow {
  right: 0;
}

/* 显示箭头时调整 */
.header_pc_container .mega-menu.show-arrows .arrow {
  display: block;
}

/* Mega Menu Display */
.header_pc_container .mega-menu .mega-menu-display {
  display: none;
  position: fixed;
  left: 0;
  width: 100vw;
  padding: 32px 0 26px;
  background: #fff;
}

.header_pc_container .mega-menu .mega-menu-inner-display {
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
}

.header_pc_container .mega-menu .mega-menu-display-col {
  width: 224px;
}

.header_pc_container .mega-menu .titleContainer {
  width: 100%;
  text-align: left;
}

.header_pc_container .mega-menu .titleContainer .title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--menuDividerColor);
  /* cursor: pointer; */
}

.header_pc_container .mega-menu .subtitleContainer {
  width: 100%;
  padding: 10px 0 30px;
}

.header_pc_container .mega-menu .subtitleContainer .subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
  padding-bottom: 10px;
  color: var(--textColor);
  /* cursor: pointer; */
}

/* Product Container */
.product_container {
  text-align: left;
}

.product_container .product_details {
  padding: 24px 12px 24px 0;
}

.product_container .product_name {
  white-space: pre-line;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: break-word;
}

.product_container .product_product_subtitle {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  text-overflow: ellipsis;

  white-space: pre-line;
  text-overflow: -o-ellipsis-lastline;
  overflow-wrap: break-word;

  color: #000;
  margin-top: 12px;
}

.product_container .product_secondary_price {
  text-decoration: line-through;
  color: #b9bcbf;
  margin-top: 12px;
}

.product_container .product_start_from {
  color: #b9bcbf;
  margin-top: 12px;
}

.product_container .product_primary_price {
  color: #d20000;
  margin-top: 12px;
}

.product_container .product_add_to_cart {
  color: #000;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 12px;
}

.product_container .product_image {
  width: 224px;
  height: 256px;
}
