
.banner-box{
  width:100%;
}
.show-photos-title {
    font-size: 2.5rem;
    font-weight: bold;
    white-space: nowrap;
    margin: 20px 0;
    color: #000;
  }
  
  .show-photos-buttons-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
    color: #000;
  }
  
  .show-photos-buttons-left, .show-photos-buttons-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;  /* 初始隐藏 */
    transition: opacity 0.3s ease;  /* 平滑过渡 */
    cursor: pointer;
  }
  
  .show-photos-buttons-left {
    left: 0;
    z-index: 99999;
  }
  
  .show-photos-buttons-right {
    right: 0;
  }
  
  .show-photos-buttons-left img, .show-photos-buttons-right img {
    width: 30px;
    height: 30px;
  }
  .show-photos-buttons-left, .show-photos-buttons-right:hover{
    opacity: 1;
  }
  
  .show-photos-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    padding: 0 0px 0px 100px;
  }
  .product-name.mt-2 {
    font-size: 1.5rem;
    height: 45px;
    line-height: 45px;
}
  .show-photos-buttons {
    display: flex;
    flex-wrap: nowrap;
    margin: 10px;
    overflow-x: auto;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none;  /* For Internet Explorer and Edge */
    justify-content: center;
  }
  
  .show-photos-buttons::-webkit-scrollbar {
    display: none; /* For Chrome, Safari, and Opera */
  }
  
  .show-photos-tab-button {
    background-color: #fff;
    border: none;
    border-radius: 0;
    color: black;
    font-size: 1em;
    padding: 10px 75px;
    cursor: pointer;
    white-space: nowrap;
    flex: 0 0 calc(20% - 10px); /* 默认情况，显示5个按钮 */
    transition: background-color 0.3s, color 0.3s;
  }
  
  .show-photos-tab-button:hover, .show-photos-tab-button.active {
    background-color: rgb(51, 51, 51);
    color: #fff;
  }
  
  .show-photos-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    place-items: center;
    gap: 10px;
    justify-items: center;
    margin: 0px 60px;
  }
  
  .show-photos-container img {
    width: 100%;
    max-width: 500px; /* 宽度不会超过500px */
    height: auto;
    transition: transform 0.3s;

  }
  .positionFirst{
    position: relative; /* 确保伪类元素可以进行绝对定位 */
  }
  .show-photos-container .large {
    max-width: 100%;

  }
  .show-photos-container .hot {
    position: absolute;
    display: inline-block;
    top: 10px; /* 根据需要调整距离 */
    left: 10px; /* 根据需要调整距离 */
    width: 100px; /* 根据需要调整图标大小 */
    height: 100px; /* 根据需要调整图标大小 */
    background-image: url('../../img/Classification/hot.png'); /* 替换为你的图片地址 */
    background-size: contain; /* 适配图片大小 */
    background-repeat: no-repeat; /* 防止图片重复 */
  }
  
  .show-photos-container .small {
    width: 500px;  /* 确保小图的宽度 */
    height: 625px; /* 确保小图的高度 */
    max-width: 100%;
  }
  
  .show-photos-container img:hover {
    transform: scale(1.05);
  }

/* 四列布局 */
  .product-card {
    /* background-color: #e9ecef;
    border: 1px solid #dee2e6; */
    /* padding: 20px; */
    border-radius: 5px;
    text-align: center;
}

.product-card:hover {
    /* background-color: #479E83; */
    color: white;
    cursor: pointer;
}


.pagination {
  display: flex;
  list-style: none;
  padding-left: 0;
  justify-content: center;
    margin: 20px 0px 0px;
}

.page-item {
  margin: 0 5px;
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #606060;  /* 非活动项文字颜色 */
  text-decoration: none;
  font-size: 18px;
  border:none;
}

.page-item.active .page-link {
  background-color: #669883; /* 选中项的背景色 */
  color: white;  /* 选中项的文字颜色 */
  border:none;
  border-radius: 50%;  /* 选中项的圆形外观 */
}

/* 禁用项的颜色 */
.page-item.disabled .page-link {
  color: #d3d3d3;
}

.page-link:hover {
  text-decoration: none;
  color: #404040;  /* 鼠标悬停时的颜色 */
}

.product-image{
  position: relative;
}
.product-image img{
  width:100%; 
  max-width: 500px; /* 宽度不会超过500px */
  height: auto;
  margin: 0 auto;
}

/* .product-image:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background-color: #479E83;
  z-index: 1;
} */



@media (min-width: 2560px) {
  .show-photos-title {
    font-size: 4.5em;
  }
}
@media (min-width: 1920px) {
  .show-photos-container .large {
    min-width: 780px;
    min-height: 1047px;
}
}


@media (max-width: 1600px) {
  .show-photos-tab-button{
      padding: 10px 55px;
  }
  .show-photos-buttons-wrapper{
      padding:0px;
  }
}
@media (max-width: 1280px){
  .show-photos-title {
    font-size: 1.5em;
    line-height: 1.5;
    text-align: center;
  }
  .show-photos-tabs{
    padding: 0px 20px;
  }
}
/* 设置桌面端显示的按钮数量 */
@media (max-width: 1279px) and (min-width: 1024px) {
  .show-photos-tabs {
    padding: 0 20px;
  }

  .show-photos-title {
    font-size: 2em;
  }

  .show-photos-buttons {
    flex-wrap: nowrap;
    justify-content: center;
    padding: 0px 30px;
  }
  .product-name.mt-2 {
    font-size: 1.5rem;
  }
  .show-photos-container .hot {
    width: 80px;
  }
}


@media (max-width: 1024px) {
  .show-photos-container {
    grid-template-columns: 1fr;
  }
  .show-photos-buttons-wrapper {
    padding: 0px 20px;
  }
  .show-photos-tab-button {
    padding: 10px 18px;
  }
  .show-photos-tabs {
    flex-wrap: wrap;
    justify-content: center;
}

.show-photos-container .large {
  max-width: 100%;
  width: auto;  /* 确保小图的宽度 */
  height: auto; /* 确保小图的高度 */
}

.show-photos-container .small {
  width: auto;  /* 确保小图的宽度 */
  height: auto; /* 确保小图的高度 */
}
.show-photos-container img{
  max-width: 450px;
}
}

/* 设置平板端显示的按钮数量 */
@media (max-width: 1023px) and (min-width: 768px) {
  .show-photos-tab-button {
    flex: 0 0 calc(33.33% - 10px); /* Tablet: 3 buttons */
  }
  .show-photos-container .large {
    max-width: 100%;
    width: auto;  /* 确保小图的宽度 */
    height: auto; /* 确保小图的高度 */
  }
  
  .show-photos-container .small {
    width: auto;  /* 确保小图的宽度 */
    height: auto; /* 确保小图的高度 */
  }
  .show-photos-container .hot {
    width: 80px;
  }
  .show-photos-container img{
    max-width: 450px;
  }
}

@media (max-width: 920px) {
  .show-photos-tabs {
    display: inherit;
  }
  .show-photos-container .large {
    max-width: 100%;
    width: auto;  /* 确保小图的宽度 */
    height: auto; /* 确保小图的高度 */
  }
  
  .show-photos-container .small {
    width: auto;  /* 确保小图的宽度 */
    height: auto; /* 确保小图的高度 */
  }
  .show-photos-container img{
    max-width: 450px;
  }
}

/* 设置移动端显示的按钮数量 */
@media (max-width: 767px) {
  .show-photos-tab-button {
    flex: 0 0 100%; /* Mobile: 1 button */
  }
  .show-photos-container .large {
    max-width: 100%;
    width: auto;  /* 确保小图的宽度 */
    height: auto; /* 确保小图的高度 */
  }
  .show-photos-container img{
    max-width: 450px;
  }
  .show-photos-container .small {
    width: auto;  /* 确保小图的宽度 */
    height: auto; /* 确保小图的高度 */
  }
}
@media (min-width: 768px) {
  .show-photos-container {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
  /* 衣服轮播图 */
  @media (max-width: 767px) {
    /* .product-image img{
      height:200px;
    } */
    .show-photos-tabs {
      /* flex-direction: row;
      justify-content: space-between; */
      /* flex-direction: column; */
      padding: 0 20px;
      /* display: inherit; */
    }
    .show-photos-title{
      font-size: 1.5em;
    }
    .show-photos-buttons {
      flex-wrap: nowrap;
      justify-content: center;
    }
  
    .show-photos-container {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    .show-photos-container .large {
      max-width: 100%;
      width: auto;  /* 确保小图的宽度 */
      height: auto; /* 确保小图的高度 */

    }
    
    .show-photos-container .small {
      width: auto;  /* 确保小图的宽度 */
      height: auto; /* 确保小图的高度 */
    }
    .show-photos-container .hot{
      width: 100px;
    }
    .product-name.mt-2 {
      font-size: 1.2em;
  }
  .show-photos-buttons-wrapper {
    padding: 0px 30px;
  }
  }

  .nav__data {
    padding: 0px 30px 0px 10px !important;
}
