/*# sourceMappingURL=customproducts.css.map */
/* 产品推荐 */


.wrapper {
  text-align: center;

}

.swas_recommend .swas_recommend_head {
  padding-top: 32px;
}

.swas_recommend .swas_recommend_head h2 {
  font-size: 32px;
  font-weight: 700;

}

.swas_recommend .pro_tj_tab {
  margin-top: 18px;
}

.swas_recommend .pro_tj_tab ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.swas_recommend .pro_tj_tab ul li {
  white-space: nowrap;
  position: relative;
  line-height: 68px;
  font-size: 18px;
  font-weight: 700;
  color: #2D3037;
  padding: 0px 15;
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
  cursor: pointer;
}

.swas_recommend .pro_tj_tab ul li::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0px;
  height: 2px;
  background-color: #0052d9;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.swas_recommend .pro_tj_tab ul li:hover {
  color: #0052d9;
  border-bottom: 2px solid #0052d9;
  background: #00000005;
}

.swas_recommend .pro_tj_tab ul .active {
  color: #0052d9;
  border-bottom: 2px solid #0052d9;
  background: #00000005;
}

.product-section {
  display: none;
  animation: fadeIn 0.5s ease;
}

.product-section.active {
  display: grid;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* 内容 */
.swas_recommend .page_content {
  margin: 32px auto 0px;
  background-color: rgb(255, 255, 255);

}

.page_content .swas_recommend_product ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.page_content .swas_recommend_product ul li {
  margin-bottom: 30px;
}

.server_card {
  width: 360px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.server_card:hover {
  transform: translateY(-5px);
}

.card_header {
  background: linear-gradient(90deg, #2981ff 0%, #64b6ff 100%);
  color: white;
  padding: 20px;
  text-align: center;
  position: relative;
}

.card_title {
  color: #ffffff;
  text-align: left;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
}

.discount_badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #fff;
  color: #2981ff;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 14px;
}

.card_subtitle {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 15px;
}

.card_description {
  font-size: 14px;
  line-height: 1.5;
}

.specs_container {
  padding: 10px 20px;
  background: #f8f9fa;
}

.specs_grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.spec_item {
  text-align: center;
  padding: 5px 5px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.spec_value {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.spec_label {
  font-size: 12px;
  color: #666;
}

.specs_labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-bottom: 15px;
}

.location {
  text-align: center;
  padding: 12px;
  background: #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  color: #495057;
}

.pricing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  background: white;
  border-bottom: 1px solid #eee;
}

.price_main {
  display: flex;
  align-items: baseline;
}

.price_amount {
  font-size: 32px;
  font-weight: bold;
  color: #2981ff;
}

.price_period {
  font-size: 16px;
  color: #888;
  margin-left: 5px;
}

.original_price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
}

.features {
  padding: 10px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: #495057;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature_icon {
  color: #4cd964;
  margin-right: 10px;
  font-weight: bold;
}

.card_footer {
  padding: 10px;
  text-align: center;
}

.buy_button {
  display: inline-block;
  background: linear-gradient(90deg, #2981ff 0%, #64b6ff 100%);
  color: white;
  padding: 14px 35px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(107, 144, 255, 0.4);
  transition: all 0.3s ease;
}

.buy_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(255, 107, 107, 0.6);
}

.urgency_note {
  margin-top: 10px;
  font-size: 12px;
  color: #2981ff;
  font-weight: 500;
}

@media (max-width: 480px) {
  .swas_recommend .pro_tj_tab ul li {
    margin: 0;
  }

  .server_card {
    width: 100%;
  }

  .specs_grid,
  .specs_labels {
    grid-template-columns: repeat(3, 1fr);
  }

}