/* Product Detail Page Styles - Responsive Design */

.product-detail-page {
  width: 100%;
  padding-top: 72px;
  background-color: #ffffff;
}

/* Back Button */
.back-button-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 5% 0;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #62748e;
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.back-button:hover {
  color: #3b82f6;
}

.back-button .icon {
  width: 20px;
  height: 20px;
}

/* Product Detail Container */
.product-detail-container {
  max-width: 1280px;
  margin: 48px auto 0;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Product Image Section */
.product-image-section {
  position: sticky;
  top: 120px;
}

.product-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: #f8fafc;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Product Info Section */
.product-info-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.product-category {
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-badge {
  display: inline-block;
  padding: 4px 12px;
  background-color: #eff6ff;
  border-radius: 10px;
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #155dfc;
  font-size: 12px;
  letter-spacing: 0.6px;
}

.share-icon {
  width: 16px;
  height: 16px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.share-icon:hover {
  opacity: 1;
}

.product-title {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #0f172b;
  font-size: clamp(24px, 4vw, 30px);
  line-height: 1.2;
  margin: 0;
}

.product-description {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 400;
  color: #62748e;
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.625;
  margin: 0;
}

/* Product Advantages */
.product-advantages {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.advantages-title {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #0f172b;
  font-size: 14px;
  letter-spacing: 0.7px;
  margin: 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.advantage-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.advantage-item img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.advantage-item span {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 400;
  color: #45556c;
  font-size: 14px;
  line-height: 1.4;
}

/* CTA Button */
.cta-button {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px 32px;
  background-color: #155dfc;
  border-radius: 14px;
  box-shadow: 0 4px 6px -4px #dbeafe, 0 10px 15px -3px #dbeafe;
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #0f4fd9;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(21, 93, 252, 0.3);
}

.cta-button img {
  width: 20px;
  height: 20px;
}

/* Technical Specs Section */
.tech-specs-section {
  width: 100%;
  padding: 64px 5%;
  background-color: #ffffff;
}

.tech-specs-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px;
  background-color: #f8fafc;
  border-radius: 32px;
}

.specs-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.heading-accent {
  width: 6px;
  height: 24px;
  background-color: #155dfc;
  border-radius: 100px;
}

.specs-heading h2 {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #0f172b;
  font-size: clamp(18px, 2.4vw, 20px);
  margin: 0;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

.spec-label {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #90a1b9;
  font-size: 12px;
  letter-spacing: 0.6px;
}

.spec-value {
  font-family: "Noto Sans SC", Helvetica;
  font-weight: 700;
  color: #0f172b;
  font-size: 16px;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .product-image-section {
    position: relative;
    top: 0;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .back-button-wrapper {
    padding: 32px 5% 0;
  }

  .product-detail-container {
    margin: 32px auto 0;
    gap: 32px;
  }

  .product-image-wrapper {
    border-radius: 24px;
  }

  .tech-specs-section {
    padding: 48px 5%;
  }

  .tech-specs-container {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .specs-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .product-title {
    font-size: 24px;
  }

  .cta-button {
    padding: 14px 24px;
    font-size: 15px;
  }

  .tech-specs-container {
    padding: 24px 20px;
  }
}
