/* ==========================================================================
   PRODUCT DETAIL HERO BANNER
   ========================================================================== */

.product-detail-hero {
  background-color: var(--color-light-green);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 90% 10%, rgba(15, 123, 62, 0.08) 0%, transparent 60%), var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.detail-hero-container {
  position: relative;
  z-index: 2;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xl);
  align-items: center;
  margin-top: var(--space-md);
}

.detail-hero-left {
  grid-column: span 7;
}

.detail-hero-right {
  grid-column: span 5;
  display: flex;
  justify-content: flex-end;
}

.detail-product-title {
  font-size: 3.5rem;
  font-weight: var(--weight-bold);
  color: var(--color-dark-text);
  line-height: 1.15;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.detail-product-tagline {
  font-size: 1.2rem;
  color: var(--color-light-text);
  line-height: 1.6;
}

.detail-hero-visual-box {
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}

.detail-hero-visual-box svg {
  width: 100%;
  height: auto;
  display: block;
}


/* ==========================================================================
   PRODUCT OVERVIEW (GALLERY & SPECS)
   ========================================================================== */

.detail-overview-section {
  background-color: var(--color-white);
}

.overview-grid-layout {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xxl);
  align-items: flex-start;
}

.gallery-col {
  grid-column: span 6;
}

.overview-details-col {
  grid-column: span 6;
}

/* Image Showcase & Zoom Lens */
.gallery-showcase-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--color-border);
  background-color: var(--color-white);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-main-svg {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.1s ease-out;
  transform-origin: center center;
}

.gallery-thumbnails-row {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.thumb-btn {
  width: 80px;
  height: 64px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-border);
  background: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.thumb-btn svg {
  width: 100%;
  height: 100%;
  display: block;
}

.thumb-btn.active,
.thumb-btn:hover {
  border-color: var(--color-primary-green);
  transform: scale(1.03);
}

/* Capabilities list styling */
.overview-title-heading {
  font-size: 2.5rem;
  font-weight: var(--weight-bold);
  color: var(--color-dark-text);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.overview-desc-paragraph {
  font-size: 1.1rem;
  color: var(--color-light-text);
  line-height: 1.65;
  margin-bottom: var(--space-xl);
}

.subsection-title {
  font-family: var(--font-headings);
  font-weight: var(--weight-semibold);
  font-size: 1.25rem;
  color: var(--color-dark-text);
  margin-bottom: var(--space-md);
}

.features-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.features-check-list li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.features-check-list span {
  font-size: 0.95rem;
  color: var(--color-light-text);
  line-height: 1.5;
}

/* Target Sector badges */
.target-sectors-row {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.sector-badge-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background-color: var(--color-light-green);
  border: 1px solid var(--color-glass-border);
  color: var(--color-primary-green);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: var(--weight-medium);
}

.sector-badge-item svg {
  width: 16px;
  height: 16px;
}


/* ==========================================================================
   TECHNICAL SPECIFICATION TABLE
   ========================================================================== */

.specs-table-section {
  background-color: var(--color-bg);
}

.specs-table-wrapper {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-soft);
  max-width: 900px;
  margin: 0 auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.specs-table th,
.specs-table td {
  padding: var(--space-md) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.specs-table th {
  background-color: var(--color-light-green);
  color: var(--color-primary-green);
  font-family: var(--font-headings);
  font-weight: var(--weight-semibold);
  font-size: 1rem;
}

.specs-table tbody tr:last-child td {
  border-bottom: none;
}

.specs-table tbody tr:nth-child(even) {
  background-color: var(--color-bg);
}

.specs-table td strong {
  color: var(--color-dark-text);
}


/* ==========================================================================
   SECTION 4: APPLICATIONS
   ========================================================================== */

.detail-applications-section {
  background-color: var(--color-white);
}


/* ==========================================================================
   SECTION 5: RELATED PRODUCTS
   ========================================================================== */

.related-products-section {
  background-color: var(--color-bg);
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.related-card-item {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.related-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.related-img-box {
  width: 100%;
  height: 120px;
  margin-bottom: var(--space-md);
}

.related-img-box svg {
  width: 100%;
  height: 100%;
}

.related-card-item h3 {
  font-family: var(--font-headings);
  font-weight: var(--weight-semibold);
  font-size: 1.1rem;
  color: var(--color-dark-text);
  margin-bottom: var(--space-xs);
}

.related-card-item p {
  font-size: 0.85rem;
  color: var(--color-light-text);
  line-height: 1.45;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.related-card-item .btn {
  width: 100%;
}


/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIONS
   ========================================================================== */

@media (max-width: 992px) {
  .detail-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }

  .detail-hero-left {
    grid-column: span 12;
  }

  .detail-hero-right {
    grid-column: span 12;
    justify-content: center;
  }

  .overview-grid-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .gallery-col {
    grid-column: span 12;
    max-width: 500px;
    margin: 0 auto;
  }

  .overview-details-col {
    grid-column: span 12;
  }

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

@media (max-width: 768px) {
  .detail-product-title {
    font-size: 2.75rem;
  }

  .overview-title-heading {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .detail-product-title {
    font-size: 2.25rem;
  }

  .related-products-grid {
    grid-template-columns: 1fr;
  }

  .specs-table {
    width: 100% !important;
    min-width: 100% !important;
  }

  .specs-table th,
  .specs-table td {
    padding: var(--space-sm) var(--space-xs);
    font-size: 0.85rem;
  }

  .specs-table th:first-child,
  .specs-table td:first-child {
    white-space: nowrap !important;
    word-break: normal !important;
    width: 90px;
  }

  .specs-table th:nth-child(2),
  .specs-table td:nth-child(2) {
    white-space: normal !important;
    word-break: normal !important;
  }

  .specs-table-wrapper {
    margin: 0;
    width: 100%;
    overflow-x: auto;
  }
}

/* ==========================================================================
   MAINTENANCE & SAFETY GUIDE SECTION
   ========================================================================== */

.maintenance-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-xxl);
  align-items: start;
}

@media (max-width: 992px) {
  .maintenance-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}
