/* =====================
   组件整体布局与背景
   ===================== */
.alsman-featured-products {
  /*padding: 100px 0;*/
  background-color: #fff;
  padding-top: 100px;
}

/* =====================
   顶部描述
   ===================== */
.alsman-featured-products .alsman-desc {
  max-width: 700px;
  margin: 0 auto 60px auto;
  text-align: center;
  font-size: 22px;
  line-height: 1.6;
  color: var(--title-text-color);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* =====================
   轮播卡片结构
   ===================== */
.alsman-featured-products .list {
  position: relative;
  margin: 0 auto;
  max-width: 1400px;
}
.alsman-featured-products .swiper {
  width: 100%;
  min-height: 500px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.alsman-featured-products .swiper-wrapper {
  align-items: center;
}
.alsman-featured-products .swiper-slide {
  transition: transform 0.3s cubic-bezier(0.4, 1.5, 0.5, 1), box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  background: #fff;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border:1px solid #fff;
  /*width: 355px !important;*/
  /*margin-right: 10%;*/
}
.alsman-featured-products .swiper-slide:hover {
  transform: scale(1);
  
  z-index: 2;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  background: #fff;
  transition: transform 0.3s ease;
  border-color: #026eb7;
  clip-path: circle(50% at 50% 50%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
 /* 圆形边框动画效果 */
/*.circle-border {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    border-radius: 50%;*/
/*    border: 2px solid transparent;*/
/*    clip-path: circle(50% at 50% 0);*/
/*    transform-origin: center;*/
/*    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);*/
/*  }*/
            
/* 悬停效果 */
/*.alsman-featured-products .swiper-slide:hover .circle-border {*/
/*    border-color: #026eb7;*/
/*    clip-path: circle(50% at 50% 50%);*/
/*}*/
.alsman-featured-products .swiper-slide .pic {
  height: 220px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 6%;
}
.alsman-featured-products .swiper-slide .pic img {
  max-width: 90%;
  max-height: 200px;
  object-fit: contain;
  border-radius: var(--button-radius);
}
.alsman-featured-products .swiper-slide .txt {
  padding: 24px 18px 28px 18px;
  margin: 0;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 120px;
  position: relative;
  height: 100%;
}
.alsman-featured-products .swiper-slide .txt-inner {
  width: 100%;
}
.alsman-featured-products .swiper-slide .txt h5 {
  font-size: 18px;
  font-weight: 700;
  color: #1a2347;
  margin-bottom: 0;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  line-height: 1.2;
}
.alsman-featured-products .swiper-slide .txt p {
  font-size: 15px;
  color: #666;
  margin: 0 0 12px 0;
  line-height: 1.6;
}
.alsman-featured-products .swiper-slide .txt .read-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--button-radius);
  padding: 0 28px;
  height: 44px;
  font-size: 16px;
  margin: 18px auto 0 auto;
  transition: background 0.2s, opacity 0.3s, transform 0.3s;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  width: auto;
}
/*.alsman-featured-products .swiper-slide:hover .read-more-btn {*/
/*  opacity: 1;*/
/*  pointer-events: auto;*/
/*  transform: translateY(0);*/
/*}*/
.alsman-featured-products .swiper-slide .txt .read-more-btn i {
  display: inline-block;
  margin-left: 8px;
  font-size: 18px;
  transition: transform 0.2s;
}
/*.alsman-featured-products .swiper-slide .txt .read-more-btn:hover {*/
/*  background: var(--btn-hover);*/
/*}*/
/*.alsman-featured-products .swiper-slide .txt .read-more-btn:hover i {*/
/*  transform: translateX(3px);*/
/*}*/

/* =====================
   轮播左右按钮（完全照抄arshine2样式）
   ===================== */
.alsman-featured-products .swiper-nav-btns {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 10;
  padding: 0;
  box-sizing: border-box;
}
.alsman-featured-products .swiper-nav-btns .swiper-button-prev,
.alsman-featured-products .swiper-nav-btns .swiper-button-next {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  border-radius: var(--button-radius);
  transition: background 0.2s, box-shadow 0.2s;
  color: #fff;
  position: absolute;
  left: unset;
  right: unset;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  cursor: pointer;
  z-index: 11;
}
.alsman-featured-products .swiper-nav-btns .swiper-button-prev {
  left: -50px;
}
.alsman-featured-products .swiper-nav-btns .swiper-button-next {
  right: -50px;
}
.alsman-featured-products .swiper-nav-btns .swiper-button-prev::after,
.alsman-featured-products .swiper-nav-btns .swiper-button-next::after {
  display: none;
}
.alsman-featured-products .swiper-nav-btns .swiper-button-prev i,
.alsman-featured-products .swiper-nav-btns .swiper-button-next i {
  color: #fff;
  font-size: 24px;
  line-height: 1;
  margin: 0;
}
/*.alsman-featured-products .swiper-nav-btns .swiper-button-prev:hover,*/
/*.alsman-featured-products .swiper-nav-btns .swiper-button-next:hover {*/
/*  background: var(--btn-hover);*/
/*}*/
@media screen and (max-width: 1650px) {
  .alsman-featured-products .swiper-nav-btns .swiper-button-prev,
  .alsman-featured-products .swiper-nav-btns .swiper-button-next {
    width: 60px;
    height: 60px;
  }
  .alsman-featured-products .swiper-nav-btns .swiper-button-prev i,
  .alsman-featured-products .swiper-nav-btns .swiper-button-next i {
    font-size: 30px;
  }
}
@media screen and (max-width: 1367px) {
  .alsman-featured-products .swiper-nav-btns .swiper-button-prev,
  .alsman-featured-products .swiper-nav-btns .swiper-button-next {
    width: 50px;
    height: 50px;
  }
  .alsman-featured-products .swiper-nav-btns .swiper-button-prev i,
  .alsman-featured-products .swiper-nav-btns .swiper-button-next i {
    font-size: 25px;
  }
}
@media screen and (max-width: 1281px) {
  .alsman-featured-products .tit h3 {
    font-size: 32px;
  }
  .alsman-featured-products .swiper-slide .txt h5 {
    font-size: 15px;
  }
  .alsman-featured-products .swiper-button-prev,
  .alsman-featured-products .swiper-button-next {
    display: none;
  }
  .alsman-featured-products .swiper-pagination {
    display: flex;
  }
  .alsman-featured-products .swiper-nav-btns .swiper-button-prev,
  .alsman-featured-products .swiper-nav-btns .swiper-button-next {
    width: 40px;
    height: 40px;
  }
  .alsman-featured-products .swiper-nav-btns .swiper-button-prev i,
  .alsman-featured-products .swiper-nav-btns .swiper-button-next i {
    font-size: 20px;
  }
}
@media screen and (max-width: 768px) {
  .alsman-featured-products .swiper-nav-btns .swiper-button-prev,
  .alsman-featured-products .swiper-nav-btns .swiper-button-next {
    width: 30px;
    height: 30px;
    display: none;
  }
  .alsman-featured-products .swiper-nav-btns .swiper-button-prev i,
  .alsman-featured-products .swiper-nav-btns .swiper-button-next i {
    font-size: 15px;
  }
}

.alsman-featured-products .tit {
  text-align: center;
  /*margin-bottom: 60px;*/
}

.alsman-featured-products .tit h2 {
  font-size: 45px;
  font-weight: bold;
  line-height: 45px;
  margin-bottom: 16px;
  color: #222;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.alsman-featured-products .tit p {
  color: #666;
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: 800px;
  line-height: 1.8;
}

.alsman-featured-products .products-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.alsman-featured-products .product-item {
  width: 220px;
  background: #fff;
  border-radius: var(--button-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
/*.alsman-featured-products .product-item:hover {*/
/*  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);*/
/*}*/
.alsman-featured-products .product-image-wrapper {
  overflow: hidden;
  border-radius: var(--button-radius);
}
.alsman-featured-products .product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.4, 1.5, 0.5, 1);
}
/*.alsman-featured-products .product-item:hover .product-image {*/
/*  transform: scale(1.08);*/
/*}*/
.alsman-featured-products .product-info {
  padding: 16px 12px 18px 12px;
  text-align: center;
}
.alsman-featured-products .product-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--title-text-color);
}
.alsman-featured-products .product-price {
  font-size: 15px;
  color: #e74c3c;
  font-weight: 500;
}

@media screen and (max-width: 1500px) {
  .alsman-featured-products .tit h3 {
    font-size: 38px;
  }
  .alsman-featured-products .swiper-slide .txt h5 {
    font-size: 16px;
  }
  .alsman-featured-products {
    padding: 60px 0;
  }
}
@media screen and (max-width: 768px) {
  .alsman-featured-products .tit h3 {
    font-size: 24px;
  }
  .alsman-featured-products {
    padding: 20px 0;
  }
  .alsman-featured-products .tit a {
    font-size: 15px;
  }
  .alsman-featured-products .list {
    margin: 18px 0 0;
  }
  .alsman-featured-products .swiper-slide .txt {
    padding: 10px 6px 14px 6px;
  }
}

.alsman-featured-products .swiper-pagination {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.alsman-featured-products .swiper-slide .alsman-slide-detail {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s, max-height 0.3s;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0;
}

/*.alsman-featured-products .swiper-slide:hover .alsman-slide-detail {*/
/*  opacity: 1;*/
/*  max-height: 200px;*/
/*  margin-top: 8px;*/
/*  transition: opacity 0.3s, max-height 0.3s;*/
/*}*/
.alsman-featured-products .swiper-slide .txt h5 {
  font-size: 18px;
  font-weight: 700;
  color: #1a2347;
  margin-bottom: 0;
  letter-spacing: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
  line-height: 1.2;
}
.alsman-featured-products .swiper-slide:not(:hover) .alsman-slide-detail {
  display: none;
}
.alsman-featured-products .swiper-slide .txt p {
  font-size: 15px;
  color: #666;
  margin: 0 0 12px 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}
