.door-tab {
  width: 100%;
  height: 4.84375vw;
  box-sizing: border-box;
  padding: 0 34.375vw;
  display: flex;
  background: rgba(245, 245, 245, 0.8);
}
.door-tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-family: Roboto, Roboto;
  font-weight: 500;
  font-size: 0.9375vw;
  color: #1d1d1d;
  cursor: pointer;
}
.door-tab-item-img {
  width: 2.5vw;
  height: 2.5vw;
  margin-bottom: 0.20833vw;
}
.door-tab-item.active {
  background: rgba(141, 34, 46, 0.1);
  color: #8d222e;
}
/* hover 只改变文字颜色，不改变背景色 */
.door-tab-item:hover {
  color: #8d222e;
}
.product-container {
  padding: 5.20833vw 8vw;
  background: #fff;
}
.container-top {
  display: flex;
  align-items: center;
  margin-bottom: 2.5vw;
}
.top-title {
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 0.9375vw;
  color: #000000;
}
.top-last-title {
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 0.9375vw;
  color: #000000;
}
.top-title.active {
  color: #8d222e;
}
.right-arrow {
  margin: 0 0.83333vw;
  width: 0.83333vw;
  height: 0.83333vw;
}
.container-bot {
  display: flex;
  justify-content: space-between;
}
.container-bot-left {
  display: flex;
  flex-direction: column;
}
.container-bot-right {
  display: flex;
  flex-direction: column;
}
.bot-left-item {
  width: 19.89583vw;
  background: #ffffff;
  box-sizing: border-box;
  padding: 1.25vw;
  border-radius: 0.20833vw;
  border: 0.05208vw solid #d8d8d8;
  margin-bottom: 1.25vw;
}
.bot-left-item:last-child {
  margin-bottom: 0;
}
.left-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* margin-bottom: 2.08333vw; */
  font-family: Roboto, Roboto;
  font-weight: 500;
  font-size: 20px;
  color: #1d1d1d;
}
.left-item-bot {
  overflow: hidden;
  transition: opacity 0.1s ease, max-height 0.3s ease;
  max-height: 1000px;
  opacity: 1;
}

.left-item-bot.collapsing {
  opacity: 0;
}

.left-item-bot.collapsed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}
.check-icon-container {
  width: 100%;
  box-sizing: border-box;
  padding-left: 1.45833vw;
  display: flex;
  align-items: center;
  height: 3.33333vw;
  cursor: pointer;
}
.check-icon-container:hover {
  background: #f5f5f5;
}
.check-icon {
  width: 1.25vw;
  height: 1.25vw;
  margin-right: 1.25vw;
}
.check-text {
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 0.83333vw;
  color: #1d1d1d;
}
.left-item-right {
  display: flex;
  align-items: center;
}
.close-icon {
  width: 1.66666vw;
  height: 1.66666vw;
  margin-right: 1.25vw;
  cursor: pointer;
  background-image: url("../img/product/choose-close.png");
  background-size: 100% 100%;
}
.close-icon:hover {
  background: #f5f5f5;
  border-radius: 0.10416vw;
  background-image: url("../img/product/choose-close.png");
  background-size: 100% 100%;
}
.direction-icon {
  width: 1.66666vw;
  height: 1.66666vw;
  cursor: pointer;
  background-image: url("../img/product/top.png");
  background-size: 100% 100%;
}
.direction-icon:hover {
  background: #f5f5f5;
  border-radius: 0.10416vw;
  background-image: url("../img/product/top.png");
  background-size: 100% 100%;
}
.bot-right-top {
  display: flex;
  margin-bottom: 1.25vw;
}
.search-input {
  width: 41.04166vw;
  height: 2.5vw;
  box-sizing: border-box;
  padding-left: 0.83333vw;
  background: #ffffff;
  border-radius: 0.20833vw;
  border: 0.05208vw solid #d8d8d8;
  margin-right: 1.25vw;
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 0.9375vw;
  color: #1d1d1d;
}
.search-input:hover {
  border: 0.05208vw solid #1d1d1d;
}
.search-input::placeholder {
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 0.9375vw;
  color: rgba(29, 29, 29, 0.4);
}
.search-input:focus {
  border: 0.05208vw solid #8d222e;
}
.search-but {
  width: 19.89583vw;
  height: 2.5vw;
  background: linear-gradient(
    90deg,
    #bb0c0f 0%,
    #791a26 25%,
    #791a26 75%,
    #bb0c0f 100%
  );
  background-size: 300% 100%;
  background-position: 0% 50%;
  border-radius: 0.20833vw;
  font-family: Roboto, Roboto;
  font-weight: 500;
  font-size: 0.9375vw;
  color: #ffffff;
  text-align: center;
  line-height: 2.5vw;
  cursor: pointer;
  transition: all 0.1s;
}
.search-but:hover {
  /* 动画时长和案例保持一致（2秒），并停在结束状态 */
  animation: gradient-flow 1s forwards;
}

/* 关键帧：从左（0%）移到右（100%），和渐变方向完全匹配 */
@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.tips {
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 0.9375vw;
  color: #000000;
  margin-bottom: 1.25vw;
}
.tips-num {
  font-weight: bold;
}
.tips-num.active {
  color: #8d222e;
}
.your-select {
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 0.9375vw;
  color: #000000;
}
.choose-box {
  display: none; /* 默认隐藏 */
}
.choose-box.has-items {
  margin-top: 0.625vw;
  display: flex;
  flex-wrap: wrap;
  max-width: 62.18749vw;
  gap: 0.625vw 0.83333vw;
  margin-bottom: 1.66666vw;
}

.choose-item {
  display: flex;
  align-items: center;
  padding: 0.52083vw 0.83333vw 0.52083vw 0.625vw;
  height: 1.875vw;
  background: rgba(141, 34, 46, 0.1);
  box-sizing: border-box;
  border-radius: 4.16666vw;
  border: 0.10416vw solid #8d222e;
}
.choose-text {
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 0.72916vw;
  color: #8d222e;
  margin-right: 0.41666vw;
}
.cancel {
  width: 1.25vw;
  height: 1.25vw;
  background-image: url("../img/product/choose-close.png");
  background-size: 100% 100%;
  cursor: pointer;
}
.cancel:hover {
  background-image: url("../img/product/close-hover.png"); /*  hover状态图片 */
}
.product-list {
  max-width: 62.18749vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1.25vw;
}
.product-item {
  display: flex;
  flex-direction: column;
  width: 19.89583vw;
  height: 29.89583vw;
  box-sizing: border-box;
  background: #f4f4f4;
  border: 0.20833vw solid #d8d8d8;
  cursor: pointer;
  transition: all 0.3s ease;
}
.product-item:hover {
  box-shadow: 0 0.26041vw 0.41666vw 0 rgba(42, 47, 49, 0.3);
  transform: translateY(-0.2vw);
}
.product-item-img {
  width: 100%;
  height: 19.89583vw;
}
.product-item-bot {
  flex: 1;
  box-sizing: border-box;
  padding: 1.25vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.product-item-bot-name {
  font-family: Roboto, Roboto;
  font-weight: 500;
  font-size: 1.25vw;
  color: #1d1d1d;
}
.view-more {
  margin-left: auto;
  width: 5.20833vw;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  background: #8d222e;
  border-radius: 0.20833vw;
  padding: 0.41666vw 0.83333vw;
  cursor: pointer;
}
.view-more-text {
  font-family: Roboto, Roboto;
  font-weight: 400;
  font-size: 0.83333vw;
  color: #ffffff;
  margin-right: 0.46875vw;
}
.view-more-icon {
  width: 1.25vw;
  height: 1.25vw;
}
.view-more:hover {
  background: #6d0a15;
}
.pagination {
  margin-top: 2.5vw;
  display: flex;
  justify-content: center;
  gap: 0 0.26041vw;
}

.page-btn {
  width: 1.66666vw;
  height: 1.66666vw;
  background-size: cover;
  cursor: pointer;
}

.page-btn.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.page-number {
  padding: 0.36458vw 0.625vw;
  border-radius: 0.20833vw;
  cursor: pointer;
  font-family: Roboto, Roboto;
  font-weight: 600;
  font-size: 0.67708vw;
  color: #333333;
  border: 0.05208vw solid #f1f1f1;
}

.page-number.active {
  background: #8d222e;
  color: #ffffff;
}

.page-number:hover {
  background: #d8d8d8;
}

.page-ellipsis {
  width: 1.66666vw;
  height: 1.66666vw;
  background-image: url("../img/product/ellipsis.png");
  background-size: cover;
}

.top-title.active:hover {
  cursor: pointer;
  text-decoration: underline;
}
