* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000;
    color: #fff;
}
img {
    display: block;
    max-width: 100%;
}
a {
    text-decoration: none;
}

/* 顶部英雄区 */
.products-hero {
    background: rgba(28, 28, 28, 1);
}
.products-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4.8125rem;
    position: relative;
}
.products-hero-btn {
    width: 10.5rem;
    height: 2.8125rem;
    position: absolute;
    top: 50%;
    left: 2.9375rem;
    transform: translateY(-50%);
    border-radius: 6.25rem;
    background: rgba(214, 18, 32, 1);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 2.8125rem;
}
.products-hero-btn:hover {
    background-color: #c62828;
}
.products-hero h2 {
    height: 3.3125rem;
    line-height: 3.3125rem;
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
.products-hero h2 span {
    color: rgba(214, 18, 32, 1);
}

/* 轮播 */
.products-carousel {
    background-color: #000;
    padding: 1.875rem 0;
}
.carousel-container {
    max-width: 75rem;
    margin: 0 auto;
    text-align: center;
}
.carousel-title {
    margin-bottom: 1.375rem;
    font-size: 1.5rem;
    color: rgba(166, 166, 166, 1);
}
.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.carousel-prev,
.carousel-next {
    width: 2.5rem;
    height: 5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 5rem;
    cursor: pointer;
}
.carousel-prev:hover,
.carousel-next:hover {
    color: #e53935;
}
.carousel-track {
    width: 100%;
    height: 34rem;
    position: relative;
    overflow: hidden;
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-slide.active {
    opacity: 1;
}
.carousel-slide-gold {
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=gold%20mechanical%20exoskeleton%20wearable%20device%20product%20photography%20dark%20background&image_size=square') center/contain no-repeat;
}
.carousel-slide-black {
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=black%20mechanical%20exoskeleton%20wearable%20device%20product%20photography%20dark%20background&image_size=square') center/contain no-repeat;
}
.carousel-shop-btn {
    width: 16.75rem;
    height: 2.8125rem;
    border-radius: 6.25rem;
    background: rgba(214, 18, 32, 1);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.625rem auto 0;
    position: relative;
	margin-bottom: 2rem;
}
.carousel-shop-btn span {
    width: 1.375rem;
    height: 1.375rem;
    background: #fff;
    color: rgba(214, 18, 32, 1);
    border-radius: 50%;
    position: absolute;
    left: 2.4375rem;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1.375rem;
}
.carousel-shop-btn:hover {
    background-color: #c62828;
}

/* 产品滑块 */
.products-slider-container {
    max-width: 75rem;
    margin: 0 auto;
}
.products-slider-wrapper {
   overflow: hidden !important;
    position: relative;
    
    margin: 0 auto;
}
.products-slider-track {
    display: flex;
    gap: 1.25rem;
	cursor: grab;
    transition: transform 0.5s ease;
	
}
.product-slider-item-one {
    width: 23.4375rem;
    height: 30.3125rem;
	line-height: 3.3125rem;
    background-image: url(https://img.js.design/assets/img/6a0ffbbc8d23e6b15256fce4.jpg#99c1c90d4106604e8b9d8c90649b477b);
    background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	padding: 1.5625rem;
    border-radius: 1.125rem;
    flex-shrink: 0;
    cursor: pointer;
	transition:all 0.3s;
}
.product-slider-item-one:hover {
    transform: scale(1.02);
}
.product-slider-item-one-titleone {
	font-size: 2.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
	text-align: center;
	margin-top: 8rem;
}
.product-slider-item-one-titletwo {
	font-size: 3.25rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
	text-align: center;
}
.product-slider-item-one-title {
	font-size: 2.25rem;
    font-weight: 700;
    color: rgba(214, 18, 32, 1);
	text-align: center;
}
.product-slider-item {
    width: 23.4375rem;
    height: 30.3125rem;
    background: rgba(255,255,255,0.05);
    padding: 1.5625rem;
    border-radius: 1.125rem;
    flex-shrink: 0;
    cursor: pointer;
	transition:all 0.3s;
}
.product-slider-item:hover {
    transform: scale(1.02);
}
.product-slider-header {
    height: 5.25rem;
    text-align: center;
}
.product-slider-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(214, 18, 32, 1);
}
.product-slider-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}
.product-slider-image-box{
	width: 100%;
	height: 18rem;
	display: flex;
    justify-content: center;
	align-items: center;
}
.product-slider-image {
    width: 13rem;
    height: 13rem;
}
.product-slider-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.product-slider-price {
    font-size: 2.25rem;
    font-weight: 700;
    color: rgba(214, 18, 32, 1);
}
.product-slider-sold {
    font-size: 0.875rem;
    color: rgba(56,56,56,1);
}
.product-slider-cart {
	font-size:2rem;
    width: 3.4375rem;
    height: 3.4375rem;
    background: rgba(214, 18, 32, 1);
    border-radius: 0.5rem;
    text-align: center;
    line-height: 3.4375rem;
}

/* 特性模块 */
.features-container {
    width: 75rem;
    margin: 4.0625rem auto 0;
    padding: 2.5rem 4.875rem 2.375rem;
    background: rgba(8,8,8,1);
    border-radius: 1.875rem;
    border: 1px solid rgba(28,28,28,1);
}
.features-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.features-left {
    flex: 1;
    text-align: center;
}
.features-badge {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(214, 18, 32, 1);
}
.features-image {
    margin: 2.25rem auto 1.875rem;
    width: 10.9375rem;
    height: 10.9375rem;
}
.features-title {
    font-size: 1.25rem;
    color: #fff;
}
.features-visual {
    width: 20.2125rem;
    height: 26.9375rem;
}
.feature-title {
    font-size: 0.875rem;
    color: rgba(214, 18, 32, 1);
}
.feature-item p {
    font-size: 0.875rem;
    color: #fff;
}

/* 智能链条 */
.smart-chain-section {
    padding: 3.125rem 0;
}
.smart-chain-container {
    max-width: 75rem;
    margin: 0 auto;
    text-align: center;
}
.smart-chain-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
}
.smart-chain-modes span {
    font-size: 0.75rem;
    color: rgba(214, 18, 32, 1);
}
.smart-chain-desc {
    width: 56.5rem;
    margin: 0 auto;
    font-size: 0.75rem;
    color: rgba(166,166,166,1);
}

/* 图片网格 */
.image-grid-container {
    max-width: 75rem;
    margin: 0 auto;
}
.image-grid-top {
    display: flex;
    gap: 1.375rem;
    margin-bottom: 1.375rem;
}
.image-grid-left {
    display: flex;
    flex-direction: column;
    gap: 1.375rem;
}
.image-large-top {
    width: 48.875rem;
    height: 24.4925rem;
    border-radius: 1.125rem;
	transition:all 0.3s;
}

.image-grid-bottom-left {
    display: flex;
    gap: 1.4375rem;
}
.image-small {
    width: 23.6625rem;
    height: 23.6525rem;
    border-radius: 1.125rem;
	transition:all 0.3s;
}
.image-tall {
    width: 24.7525rem;
    height: 49.5925rem;
    border-radius: 1.125rem;
	transition:all 0.3s;
}
.image-grid-bottom {
    display: flex;
    gap: 1.375rem;
}
.image-wide-left {
    width: 23.6625rem;
    height: 32.5325rem;
    border-radius: 1.125rem;
		transition:all 0.3s;
}
.image-wide-right {
    width: 49.9525rem;
    height: 32.5325rem;
    border-radius: 1.125rem;
		transition:all 0.3s;
}
.image-large-top:hover,
.image-tall:hover,
.image-small:hover,
.image-wide-left:hover,
.image-wide-right:hover{
	cursor:pointer;
	 transform: scale(1.02);
}
/* 颜色选项 */
.color-options-section {
    padding: 3.125rem 0;
}
.color-options-container {
    max-width: 75rem;
    margin: 0 auto;
    text-align: center;
}
.color-options-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
}
.color-options-desc {
    width: 56.5rem;
    margin: 0 auto;
    font-size: 0.75rem;
    color: rgba(166,166,166,1);
}

/* 颜色展示 */
.color-showcase-container {
    max-width: 75rem;
    margin: 0 auto;
    overflow: hidden; 
    position: relative;
}
.color-showcase-grid {
    display: flex;
    gap: 1.25rem;
    width: max-content; 
    cursor: grab;
    user-select: none;
    transition: none;
}
.color-item {
    border-radius: 1.25rem;
    cursor: pointer;
    overflow: hidden;
	transition:all 0.3s;
    flex-shrink: 0; 
}
.color-large {
    width: 27.5625rem;
    height: 36.625rem;
}
.color-small {
    width: 14.5625rem;
    height: 36.625rem;
}
.color-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 材料 */
.materials-section {
    padding: 3.125rem 0;
}
.materials-container {
    max-width: 75rem;
    margin: 0 auto;
    text-align: center;
}
.materials-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
}
.materials-desc {
    width: 52.5rem;
    margin: 0 auto;
    font-size: 0.75rem;
    color: rgba(166,166,166,1);
}

/* 规格卡片 */
.specs-container {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    gap: 1.25rem;
}
.specs-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.specs-top {
    display: flex;
    gap: 1.25rem;
}
.spec-card {
    position: relative;
    transition: all 0.3s;
}
.spec-card:hover {
    cursor: pointer;
    transform: scale(1.03);
}

.spec-power-img {
    width: 18.6525rem;
    height: 13.9425rem;
    border-radius: 1.125rem;
    display: block;
}
.spec-materials-img {
    width: 38.3125rem;
    height: 13.7375rem;
    border-radius: 1.125rem;
    display: block;
}
.spec-btm {
    position: absolute;
    bottom: 0.3125rem;
    left: 0;
    padding: 0 1.125rem;
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.specs-right {
    width: 35.6825rem;
    height: 28.6875rem;
    border-radius: 1.25rem;
}
.specs-right-image {
    width: 100%;
    height: 100%;
    border-radius: 1.125rem;
	transition:all 0.3s;
}
.specs-right-image:hover {
    cursor: pointer;
    transform: scale(1.03);
}
/* 详细参数 */
.specifications-section {
    margin: 3.125rem 0;
}
.specifications-container {
    max-width: 75rem;
    margin: 0 auto;
}
.specifications-grid {
    display: flex;
    position: relative;
    padding: 2.5rem 0;
}
.specifications-grid::before,
.specifications-grid::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, #e53935, transparent);
}
.specifications-grid::before { top: 0; }
.specifications-grid::after { bottom: 0; }
.specifications-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
	margin-bottom: 2rem;
}
.spec-row {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 0.375rem;
}
.spec-name {
    width: 12.9375rem;
    font-size: 1.125rem;
    color: #fff;
}
.spec-value {
	width: 100%;
    color: #fff;
	
}
.spec-value-two {
	width: 100%;
    color: rgba(128, 128, 128, 1);
}
.specifications-image {
    position: absolute;
    right: 3.125rem;
    top: 0;
    bottom: 0;
    width: 26.625rem;
}
.specifications-bg-image {
    width: 26.625rem;
    height: 38.375rem;
    opacity: 0.25;
}



/* 商品详情页 核心样式 */
.ProductDetails {
   background-image: url("https://img.js.design/assets/img/6a0d8821d7769eec3e964421.png#a11b2b5ab1a681017a06f8af15174cdb");
  background-repeat: no-repeat;
background-position: center;
background-size: cover;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  padding: 20px 0;
}

.product-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 左侧缩略图栏 1:1还原 */
.product-thumbnails {
  width: 12%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.thumbnail-item {
  background: rgba(0, 0, 0, 1);
  border: 2px solid transparent;
  padding: 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.thumbnail-item.active {
  border-color: #4096ff;
}
.thumbnail-item:hover {
  border-color: #444444;
}
.thumbnail-item img {
  width: 100%;
  display: block;
  object-fit: contain;
}

/* 中间主图区 完全匹配设计 */
.product-main-image {
  width: 42%;
  background: rgba(0, 0, 0, 1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.product-main-image img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
}

/* 右侧产品信息区 细节完全对齐 */
.product-info {
  width: 43%;
  background: rgba(0, 0, 0, 1);
  border-radius: 8px;
  padding: 24px;
}

.product-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}
.product-title .text-red {
  color: #ff2b2b;
}
.product-subtitle {
  color: #aaaaaa;
  font-size: 14px;
  margin: 0 0 10px;
  line-height: 1.4;
}

/* 星级评分 严格匹配设计稿 */
.rating .star {
  color: #ffd700;
  font-size: 18px;
  letter-spacing: 2px;
}
.rating .star.empty {
  opacity: 0.3;
}

.price {
  font-size: 28px;
  margin: 15px 0;
}
.price .dollar {
  font-size: 30px;
  margin-right: 4px;
}

/* 产品参数列表 排版完全还原 */
.product-specs {
  font-size: 11px;
  color: #cccccc;
  margin: 20px 0;
  line-height: 1.5;
}
.spec-item {
  display: flex;
  margin-bottom: 4px;
}
.spec-label {
  width: 100%;
  color: #888888;
  font-weight: 500;
  font-size: 0.8rem;
}

/* 颜色选择区 样式对齐 */
.color-selection {
  margin: 20px 0;
}
.color-label {
  font-size: 13px;
  margin: 0 0 10px;
}
.color-label .color-name {
  color: #ffffff;
  font-weight: 500;
}
.color-label .stock {
  color: #888888;
  margin-left: 10px;
}
.color-options {
  display: flex;
  gap: 10px;
}
.color-option {
  width: 4rem;
  height: 5rem;
  background: #222222;
  border-radius: 4px;
  padding: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.color-option.active {
  border-color: #ffffff;
}
.color-option:hover {
  border-color: #666666;
}
.color-option img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 操作按钮区 1:1还原 */
.product-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.quantity-selector {
  display: flex;
  align-items: center;
  background: #222222;
  border-radius: 4px;
}
.qty-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  width: 30px;
  height: 36px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.qty-btn:hover {
  background: #333333;
}
.qty-input {
  width: 40px;
  text-align: center;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  pointer-events: none;
}

.btn-add-cart {
  background: #666666;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.btn-add-cart:hover {
  background: #888888;
}
.btn-buy-now {
  background: #ff2b2b;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.btn-buy-now:hover {
  background: #ff4d4d;
}

/* 下方配件清单区 完全匹配 */
.in-the-box {
 background: rgba(56, 56, 56, 1);
  margin-top: 30px;
  padding: 30px 20px;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px;
  padding-left: calc((100% - 1200px) / 2 + 20px);
}
.box-items {
  display: flex;
     justify-content: space-between;
      align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.box-item {
  text-align: center;
  color: #cccccc;
  font-size: 14px;
  line-height: 1.4;
      display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.box-item-img{
	width: 17rem;
	    height: auto !important;
}
.box-item-img2{
	height: 13rem !important;
}
.box-item img {
  height: 8rem;
  margin-bottom: 10px;
  object-fit: contain;
}