/* ═══════════════════════════════════════════
   Product Detail Page Styles
   ═══════════════════════════════════════════ */

/* Main wrapper - white background panel from navbar to footer */
.product-detail-wrapper {
  background: rgba(245, 248, 250, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-top: 70px; /* navbar 高度 */
  min-height: calc(100vh - 70px - 200px); /* viewport height minus navbar and footer */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

/* Breadcrumb */
.breadcrumb {
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.breadcrumb__link {
  color: #2196c4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.breadcrumb__link:hover {
  color: #1a3a2a;
}

.breadcrumb__separator {
  color: #666;
}

.breadcrumb__current {
  color: #FFB703;
  font-weight: 600;
}

/* Product Data Section */
.product-data {
  padding: 0 0 40px;
}

.product-data__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Product Image */
.product-data__image {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-data__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Product Info */
.product-data__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-data__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #111;
  line-height: 1.4;
  margin: 0;
}

/* Specs */
.product-data__specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-data__spec {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-data__spec-label {
  font-size: 1rem;
  color: #555;
  white-space: nowrap;
}

.product-data__spec-value {
  font-size: 1rem;
  color: #222;
  font-weight: 500;
}

/* Shop links */
.product-data__shops {
  display: flex;
  align-items: center;
  gap: 16px;
}

.product-data__shops-label {
  font-size: 1rem;
  color: #555;
  white-space: nowrap;
}

.product-data__shop-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.shop-link img {
  height: 32px;
  width: auto;
  transition: opacity 0.2s ease;
}

.shop-link img:hover {
  opacity: 0.8;
}

/* Price */
.product-data__price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.product-data__price-label {
  font-size: 1rem;
  color: #555;
}

.product-data__price-current {
  font-size: 36px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0%;
  line-height: 30px;
  color: #d32f2f;
}

.product-data__price-original {
  font-size: 1.2rem;
  color: #999;
  text-decoration: line-through;
}

/* RWD */
@media (max-width: 768px) {
  .product-detail-wrapper {
    min-height: auto;
    margin-top: 70px;
    padding: 0 16px;
  }

  .breadcrumb {
    padding: 16px 0;
  }

  .product-data {
    padding: 0 0 24px;
  }

  .product-data__container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-data__title {
    font-size: 1.5rem;
  }

  .product-data__shops {
    flex-wrap: wrap;
  }

  .product-data__price {
    flex-wrap: wrap;
  }

  .product-data__price-current {
    font-size: 2rem;
  }
}

/* ═══════════════════════════════════════════
   Instructional Videos Section
   ═══════════════════════════════════════════ */

.instructional-videos {
  padding: 0 0 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 800;
  color: #111;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* Divider: green line + gold accent */
.section-divider {
  position: relative;
  width: 100%;
  height: 6px;
  margin: 0 auto 28px;
}

.section-divider::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #2D6A4F;
}

.section-divider::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 72px;
  height: 4px;
  background: #FFB703;
}

/* Video Container - 16:9 aspect ratio */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* RWD */
@media (max-width: 768px) {
  .instructional-videos {
    padding: 32px 0;
  }

  .video-container {
    border-radius: 12px;
  }
}

/* ═══════════════════════════════════════════
   Product Introduction Section
   ═══════════════════════════════════════════ */

.product-intro {
  padding: 0 0 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-description {
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0%;
  line-height: 30px;
  color: #222;
}

.product-description p {
  margin-bottom: 20px;
}

.product-description h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a3a2a;
  margin: 24px 0 12px;
}

.product-detail-image {
  width: 100%;
  margin-top: 24px;
}

.product-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
