img {
  width: 100%;
}
.placeholder {
  height: 0px;
}

.disabled {
  opacity: 0.3;
  cursor: not-allowed !important;
}
.grabbing {
  cursor: grabbing !important;
}
/* 导航 */
#navbar {
  box-shadow: none;
  background: linear-gradient(
    0deg,
    rgb(0 0 0 / 5%) 0%,
    rgb(0 0 0 / 20%) 33%,
    rgb(0 0 0 / 50%) 66%,
    rgb(0 0 0 / 70%) 100%
  );
}

/* 轮播 */
.carousel-section {
  margin-bottom: 50px;
}
.carousel-section .layui-carousel {
  background-color: transparent;
  overflow: hidden;
  transition: all 0.3s;
  /* max-height: 100vh; */
}
.carousel-section .layui-carousel > [carousel-item] > .layui-this {
  position: relative;
}
.carousel-section .layui-carousel-arrow {
  height: 70px;
  width: 45px;
}
.carousel-section .layui-carousel-arrow:hover {
  background-color: rgba(0, 0, 0, 0.35);
}
.carousel-section .layui-carousel .layui-carousel-arrow {
  left: -20px;
  border-radius: 0 5px 5px 0;
}
.carousel-section .layui-carousel .layui-carousel-arrow[lay-type="add"] {
  right: -20px;
  border-radius: 5px 0 0 5px;
}
.carousel-section .layui-carousel:hover .layui-carousel-arrow {
  left: 0;
  border-radius: 0 5px 5px 0;
}
.carousel-section .layui-carousel:hover .layui-carousel-arrow[lay-type="add"] {
  right: 0;
  border-radius: 5px 0 0 5px;
}
.carousel-section .layui-carousel > [carousel-item] > div {
  background-color: transparent;
}
.carousel-section .layui-carousel-ind {
  /* top: -20px; */
}
.carousel-section .layui-carousel-ind ul li {
  /* height: 4px; */
  /* width: 20px; */
  /* border-radius: 0; */
}

/* ------------------------------------ 推荐 ---------------------------- */
.new-products-section {
  margin-bottom: 50px;
}
.new-recommend .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.new-recommend .title-wrapper {
}
.new-recommend .section-title {
}
.nav-controls {
  display: flex;
  gap: 1rem;
}
.nav-btn {
  background-color: #2b2b2b;
  border-radius: 100px;
  padding: 5px 10px;
  cursor: pointer;
}
.new-recommend .nav-btn.left {
}
.new-recommend .nav-btn.right {
}
.new-recommend .nav-btn > i {
  /* font-size: 20px; */
}
.new-recommend .products-container {
  overflow: hidden;
}
.new-recommend .products-wrapper {
  width: 100%;
  margin: auto;
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  cursor: grab;
  -webkit-user-select: none;
  padding-top: 30px;
  -moz-user-select: none;
  -ms-user-select: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.new-recommend .products-wrapper > div {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.new-recommend .products-wrapper::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.new-recommend .product-card-placeholder {
  /* border: 1px solid red; */
  flex: 0 0 auto;
}
.new-recommend .product-card {
  min-width: 430px;
}

.new-recommend .product-card a:hover{
    color: #000;
}
.new-recommend .product-card-inner {
  margin-right: 25px;
}
.new-recommend .product-images {
  position: relative;
  display: flex; /* border: 1px solid red; */
}
.new-recommend .product-images:hover .hover-image {
  /* 放大 */
  transform: scale(1.05);
}
.new-recommend .product-images img {
  -webkit-user-drag: none;
}
.new-recommend .main-image {
  position: absolute;
  bottom: 0;
  z-index: -1;
  border-radius: 20px 20px 0 0;
}
.new-recommend .hover-image {
  transition: all 0.5s;
}
.new-recommend .product-info {
  display: flex;
  flex-direction: column;
  background-color: var(--color-background);
  color: #000;
  padding: 10px 20px 20px;
  border-radius: 0 0 10px 10px;
}
.new-recommend .product-info span{
    color: var(--color-text-alt);
}
.new-recommend .product-name {
}
.new-recommend .product-desc {
  margin-bottom: 15px;
}
.new-recommend .view-more {
}

/* 产品 */
.gaming-gear-section {
  margin-bottom: 70px;
}

.gaming-gear-section a:hover{
  color: #fff;
}
.gaming-gear-section .section-header {
  display: flex;
  justify-content: space-between;
}
.gaming-gear-section .section-title {
}
.gaming-gear-section .view-all-link {
  display: flex;
  align-items: center;
}
.gaming-gear-section .featured-product {
  margin: 25px 0;
  /* border-radius: 15px; */
  /* overflow: hidden; */
}
.gaming-gear-section .product-banner {
  padding-top: 33.33%;
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 0px 16px 0 rgb(255 255 255 / 8%), 0 0px 6px -4px rgb(255 255 255 / 12%),
    0 0px 28px 8px rgb(255 255 255 / 5%);
}
.gaming-gear-section .banner-image {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.gaming-gear-section .banner-content {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 5rem;
  display: flex;
  flex-direction: column;
}
.gaming-gear-section .product-title {
}
.gaming-gear-section .product-desc {
  /* margin: -10px 0 10px; */
      margin-bottom: 1.5rem;
}
.gaming-gear-section .cta-link {
  display: flex;
  align-items: center;
  gap: 5px;
}

.gaming-gear-section .product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gaming-gear-section .product-card {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  background-color: var(--color-background-inverse);
}
.gaming-gear-section .card-image-wrapper {
  position: relative;
}

.gaming-gear-section .card-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,  var(--color-background-muted), var(--color-background-inverse));
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none; 
}

.gaming-gear-section .card-image-wrapper:hover::before {
  opacity: 1;
}
.gaming-gear-section .card-image-overlay{
  transition: all 0.5s;
  position: relative;
  padding-top: 100%;
}
.gaming-gear-section .card-image-overlay:hover {
  transform: scale(1.05);

}
.gaming-gear-section .product-image {
  width: 85%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.gaming-gear-section .card-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-background-alt);
}
.gaming-gear-section .product-name {
    margin: 0px 0px 15px 0px;
}
.gaming-gear-section .product-feature {
  /*margin: -5px 0 10px;*/
  /*color: #8f8f8f;*/
}
.gaming-gear-section .detail-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color:#fff;
}

/* 活动 */
.promotion-section {
  margin-bottom: 50px;
}
.promotion-section .section-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.promotion-section .title-wrapper {
  text-align: center;
  flex: 1 0 0;
}
.promotion-section .section-title {
}
.promotion-section .nav-controls {
}
.promotion-section .promotion-container {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.promotion-section .promotion-container::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* .promotion-section .promotion-container>div{ } */
.promotion-section .promotion-slide {
  position: relative;
  min-width: 33.33%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.promotion-section .promotion-panel {
  border-radius: 15px;
  overflow: hidden;
  margin: 0 10px;
}
.promotion-section .promotion-image {
  transition: all 0.5s;
}
.promotion-section .promotion-slide:hover .promotion-image {
  transform: scale(1.03);
}
.promotion-section .promotion-content {
  position: absolute;
  bottom: 10px;
  left: 15px;
  display: flex;
  flex-direction: column;
}
.promotion-section .promotion-title {
}
.promotion-section .promotion-desc {
  line-height: 16px;
  margin-top: -5px;
}
@media (max-width: 1300px) {
  .ip-items{
    max-width: 82vw;
  }
  .ip-navigation{
    height: 650px;
  }
}

@media (max-width: 1200px) {
  .promotion-section .promotion-slide {
    min-width: 70%;
  }
  .ip-items{
    max-width: 80vw;
  }
  .ip-navigation{
    height: 600px;
  }
}
@media (max-width: 980px) {
  .ip-navigation{
    height: auto;
  }
  .ip-content{display: flex;flex-direction: column-reverse;}
  .ip-container{
    float: none;
    margin: 0;
    shape-outside: none;
  }
  .ip-description{
    margin: 20px auto;
    max-width: 500px;
    width: 80%;
  }
  .ip-move-button-container{
    display: none!important;
  }
  .ip-items{
    overflow: hidden;
    max-width: 95vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .ip-item{
    min-width: auto;
  }
  .ip-item-logo{
    opacity: 0;
}
  .ip-item-details{
    opacity: 1;
    max-height: 500px;
    color: black;
}
}

@media (max-width: 768px) {
    .placeholder {
      height: 45px;
    }
  .new-recommend .product-card {
    min-width: 300px;
  }
  .gaming-gear-section .banner-content {
    top: 1rem;
    left: 50%;
    text-align: center;
    transform: translateX(-50%);
  }
  .gaming-gear-section .card-content {
  padding: 10px;
}
  .gaming-gear-section .product-banner{
    padding-top: 100%;
  }
  .gaming-gear-section .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ip-items{
    grid-template-columns: repeat(2, 1fr);
  }
  .gaming-gear-section .cta-link{
    justify-content: center;
  }
}
