/* ==========================================================================
   DIAL FOR FABRICATION - PRODUCT DETAIL PAGE STYLES
   White Base Theme | Creative Industrial Engineering UI
   ========================================================================== */

/* Breadcrumb Bar */
.product-breadcrumb-section {
  background-color: var(--bg-secondary, #f8fafc);
  border-bottom: 1px solid var(--border-light, #e2e8f0);
  padding: 0.9rem 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary, #64748b);
}

.breadcrumbs a {
  color: var(--text-primary, #0f172a);
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumbs a:hover {
  color: var(--accent-orange, #ff6b00);
}

.breadcrumbs .separator {
  color: #cbd5e1;
}

.breadcrumbs .current {
  color: var(--accent-orange, #ff6b00);
  font-weight: 600;
}

/* Product Hero Showcase */
.product-hero {
  padding: 3.5rem 0 4.5rem;
  background: #ffffff;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Product Info (Left) */
.product-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full, 9999px);
  background: rgba(255, 107, 0, 0.08);
  border: 1px solid rgba(255, 107, 0, 0.25);
  color: #ea580c;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}

.product-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.product-hero-desc {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

/* Highlights Chips */
.product-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
}

.trust-chip svg {
  color: var(--accent-orange, #ff6b00);
  width: 15px;
  height: 15px;
}

/* Quick Specs Matrix Box */
.product-quick-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.4rem;
  margin-bottom: 2.2rem;
}

.spec-cell {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.spec-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

/* Hero CTAs */
.product-hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Product Visual Showcase (Right) */
.product-visual-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.product-visual-wrap {
  width: 100%;
  height: 585px;
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
}

.product-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-visual-card:hover .product-visual-img {
  transform: scale(1.05);
}

.visual-badge-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.floating-tag {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 6px;
  border-left: 3px solid var(--accent-orange, #ff6b00);
}

.visual-bottom-bar {
  padding: 1.2rem 1.6rem;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
}

.site-survey-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #059669;
}

.site-survey-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
}

/* Technical Specification Table Section */
.product-specs-section {
  padding: 4.5rem 0;
  background-color: var(--bg-secondary, #f8fafc);
  border-top: 1px solid var(--border-light, #e2e8f0);
  border-bottom: 1px solid var(--border-light, #e2e8f0);
}

.specs-table-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

/* Responsive Table Wrapper */
.table-responsive,
.specs-table-card.table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th {
  background-color: #0f172a;
  color: #ffffff;
  padding: 1rem 1.4rem;
  text-align: left;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.specs-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

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

.specs-table tr:nth-child(even) td {
  background-color: #fbfcfe;
}

.specs-table td strong {
  color: #0f172a;
  font-weight: 600;
}

/* Key Features Grid */
.product-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.feature-box {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 12px;
  padding: 1.8rem;
  transition: all 0.25s ease;
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: rgba(255, 107, 0, 0.35);
}

.feature-icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--accent-orange, #ff6b00);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.feature-icon-circle svg {
  width: 22px;
  height: 22px;
}

.feature-box h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.feature-box p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
}

/* 4-Step Process Section */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 12px;
  padding: 1.8rem;
}

.step-number {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-orange, #ff6b00);
  margin-bottom: 0.6rem;
}

.step-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.5;
}

/* Related Products Grid */
.related-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.related-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
  border-color: rgba(255, 107, 0, 0.4);
}

.related-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #0f172a;
}

.related-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related-card:hover .related-img {
  transform: scale(1.06);
}

.related-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.related-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-orange, #ff6b00);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.related-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.6rem;
}

.related-link-text {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-orange, #ff6b00);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .product-features-grid,
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-products-grid {
    grid-template-columns: 1fr;
  }
  .product-visual-wrap {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .product-specs-section {
    padding: 3rem 0;
  }
  .specs-table-card,
  .table-responsive {
    width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
  }
  .specs-table {
    min-width: 580px;
    width: 100%;
  }
  .specs-table th {
    padding: 0.85rem 1.1rem;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }
  .specs-table td {
    padding: 0.9rem 1.1rem;
    font-size: 0.88rem;
  }
  .table-responsive::-webkit-scrollbar,
  .specs-table-card::-webkit-scrollbar {
    height: 6px;
  }
  .table-responsive::-webkit-scrollbar-track,
  .specs-table-card::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
  }
  .table-responsive::-webkit-scrollbar-thumb,
  .specs-table-card::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }
  .table-responsive::-webkit-scrollbar-thumb:hover,
  .specs-table-card::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
  }
}

@media (max-width: 640px) {
  .product-quick-specs {
    grid-template-columns: 1fr;
  }
  .product-features-grid,
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .product-specs-section {
    padding: 2.25rem 0;
  }
  .specs-table {
    min-width: 520px;
  }
  .specs-table th {
    padding: 0.75rem 0.9rem;
    font-size: 0.75rem;
  }
  .specs-table td {
    padding: 0.8rem 0.9rem;
    font-size: 0.84rem;
  }
}
