/* ==========================================================================
   MEHTA ASSOCIATES - SMOOTH, MINIMAL & PREMIUM PRODUCT MONOGRAPH STYLES
   Inspired by Reference UI: Horizontal Split Cards, Centered Minimal Headers,
   Subtle Vertical Dividers, Generous Padding, and Refined Typography.
   ========================================================================== */

/* Page Background */
.product-detail-page {
  background-color: #F8F9FA;
  min-height: 100vh;
}

/* 1. Breadcrumbs */
.product-breadcrumb-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
  padding: 0.85rem 0;
  font-size: 0.8125rem;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: #6B7280;
}

.breadcrumb-nav a {
  color: #4B5563;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.breadcrumb-nav a:hover {
  color: var(--color-primary);
}

.bc-sep {
  display: inline-flex;
  align-items: center;
  color: #9CA3AF;
}

.bc-sep i {
  width: 12px;
  height: 12px;
}

.bc-current {
  color: #111827;
  font-weight: 600;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 2. Centered Section Header (Reference Style) */
.ref-section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.75rem;
  padding: 0 1rem;
}

.ref-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4B5563;
  margin-bottom: 0.85rem;
}

.ref-eyebrow i {
  width: 13px;
  height: 13px;
  color: var(--color-primary);
}

.ref-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 0.85rem;
}

.ref-subtitle {
  font-size: 1.05rem;
  color: #4B5563;
  line-height: 1.7;
  margin: 0 auto;
}

/* 3. Master Showcase Card (Horizontal Split Layout as in Reference) */
.product-showcase-section {
  padding: 3.5rem 0 4.5rem;
}

.ref-card-showcase {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  padding: 2.75rem 3rem;
  position: relative;
  display: grid;
  grid-template-columns: 200px 1px 1fr 320px;
  align-items: center;
  gap: 2.75rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.ref-card-showcase:hover {
  border-color: #D1D5DB;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

/* Reference Top Indicator Pill */
.ref-card-indicator {
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  width: 22px;
  height: 4px;
  border-radius: 99px;
  background-color: #84CC16;
}

/* Left Identifier Column (e.g. "Step 01" / "CAS 50-78-2") */
.ref-col-id {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ref-id-badge {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.ref-id-sub {
  font-family: var(--font-mono, monospace);
  font-size: 0.8125rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.ref-cas-copy {
  background: none;
  border: none;
  cursor: pointer;
  color: #9CA3AF;
  padding: 2px 4px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
}

.ref-cas-copy:hover {
  color: var(--color-primary);
  background-color: #F3F4F6;
}

.ref-cas-copy.copied {
  color: #16A34A;
}

/* Vertical Divider (Exact like reference) */
.ref-col-divider {
  height: 80%;
  width: 1px;
  background-color: #E5E7EB;
}

/* Center Content Column */
.ref-col-content {
  display: flex;
  flex-direction: column;
}

.ref-content-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B7280;
  margin-bottom: 0.5rem;
}

.ref-content-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.ref-content-desc {
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

/* Compact Specs Checklist */
.ref-specs-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid #F3F4F6;
}

.ref-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: #374151;
}

.ref-spec-item i {
  width: 14px;
  height: 14px;
  color: #16A34A;
  flex-shrink: 0;
}

.ref-spec-item strong {
  color: #111827;
}

/* Action Button Cluster */
.ref-actions-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-ref-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid var(--color-primary);
  padding: 0.75rem 1.65rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 8px rgba(200, 16, 46, 0.18);
}

.btn-ref-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-1px);
  color: #FFFFFF;
}

.btn-ref-wa {
  background-color: #FFFFFF;
  color: #15803D;
  border: 1px solid #86EFAC;
  padding: 0.75rem 1.45rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.15s ease;
}

.btn-ref-wa:hover {
  background-color: #F0FDF4;
  border-color: #16A34A;
  color: #15803D;
  transform: translateY(-1px);
}

.btn-ref-wa svg {
  width: 16px;
  height: 16px;
  fill: #16A34A;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-ref-wa:hover svg {
  fill: #15803D;
}

.btn-ref-call {
  background-color: #FFFFFF;
  color: #111827;
  border: 1px solid #E5E7EB;
  padding: 0.75rem 1.15rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.15s ease;
}

.btn-ref-call:hover {
  background-color: #F9FAFB;
  border-color: #D1D5DB;
}

/* Right Image Frame (Exact rounded corner frame like reference) */
.ref-col-image {
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #F3F4F6;
  position: relative;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.ref-col-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ref-card-showcase:hover .ref-col-image img {
  transform: scale(1.03);
}

/* Fallback emblem if no photographic image */
.ref-emblem-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 30%, #FFFFFF 0%, #F3F4F6 100%);
}

.ref-emblem-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #FEF2F2;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.ref-emblem-icon i {
  width: 26px;
  height: 26px;
}

.ref-emblem-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.ref-emblem-formula {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* 4. "How We Deliver" Workflow Cards (Built exactly like reference!) */
.ref-workflow-section {
  padding: 4.5rem 0 5rem;
  background-color: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}

.ref-steps-stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.ref-step-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 2.25rem 2.75rem;
  display: grid;
  grid-template-columns: 160px 1px 1fr 280px;
  align-items: center;
  gap: 2.25rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
  position: relative;
}

.ref-step-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.ref-step-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #111827;
}

.ref-step-body {
  display: flex;
  flex-direction: column;
}

.ref-step-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #475569;
  margin-bottom: 0.45rem;
  display: block;
}

.ref-step-body h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 0.45rem;
}

.ref-step-body p {
  font-size: 0.92rem;
  color: #4B5563;
  line-height: 1.6;
  margin: 0;
}

.ref-step-img-box {
  width: 100%;
  height: 170px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  background-color: #F1F5F9;
}

.ref-step-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ref-step-card:hover .ref-step-img-box img {
  transform: scale(1.03);
}

.ref-step-right-box {
  background-color: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ref-step-right-box i {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.ref-step-right-text span {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  display: block;
}

.ref-step-right-text small {
  font-size: 0.75rem;
  color: #6B7280;
}

/* 5. Master Technical Specifications Card */
.ref-specs-section {
  padding: 4.5rem 0;
  background-color: #F8F9FA;
  border-bottom: 1px solid #E5E7EB;
}

.ref-specs-master-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

.ref-specs-header {
  padding: 1.35rem 2rem;
  background-color: #0F172A;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ref-specs-header h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #FFFFFF;
  margin: 0;
}

.ref-specs-header h3 i {
  color: var(--color-primary);
  width: 18px;
  height: 18px;
}

.ref-specs-table-body {
  display: flex;
  flex-direction: column;
}

.ref-table-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  padding: 1rem 2rem;
  border-bottom: 1px solid #F3F4F6;
  font-size: 0.9rem;
  align-items: center;
}

.ref-table-row:last-child {
  border-bottom: none;
}

.ref-table-row:nth-child(even) {
  background-color: #FAFAFA;
}

.ref-table-key {
  color: #4B5563;
  font-weight: 600;
}

.ref-table-val {
  color: #111827;
  line-height: 1.5;
}

/* 6. Direct Procurement & Quotation Section */
.ref-procurement-section {
  padding: 4.5rem 0 5rem;
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E7EB;
}

.ref-procurement-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 2.75rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1px 1.25fr;
  align-items: start;
  gap: 2.75rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.03);
}

.procure-left-pane h3 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.75rem;
}

.procure-left-pane p {
  font-size: 0.95rem;
  color: #4B5563;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.procure-partner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.15rem;
  background-color: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: all 0.15s ease;
}

.procure-partner-row:hover {
  background-color: #FFFFFF;
  border-color: #D1D5DB;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.procure-partner-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2px;
}

.procure-partner-sub {
  font-size: 0.78125rem;
  color: #6B7280;
}

.procure-wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78125rem;
  font-weight: 600;
  color: #15803D;
  background-color: #F0FDF4;
  border: 1px solid #DCFCE7;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.procure-wa-pill svg {
  width: 12px;
  height: 12px;
  fill: #15803D;
  flex-shrink: 0;
}

/* 7. Related Products Section */
.ref-related-section {
  padding: 4.5rem 0 5.5rem;
  background-color: #F8F9FA;
}

.related-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.25rem;
}

.related-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Responsive Rules */
@media (max-width: 1080px) {
  .ref-card-showcase {
    grid-template-columns: 180px 1px 1fr;
    gap: 2rem;
  }
  .ref-col-image {
    display: none;
  }
  .ref-step-card {
    grid-template-columns: 140px 1px 1fr;
  }
  .ref-step-right-box,
  .ref-step-img-box {
    display: none;
  }
  .ref-procurement-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ref-procurement-card .ref-col-divider {
    display: none;
  }
  .related-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ref-title {
    font-size: 2rem;
  }
  .ref-card-showcase {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }
  .ref-card-showcase .ref-col-divider {
    display: none;
  }
  .ref-step-card {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.5rem;
  }
  .ref-step-card .ref-col-divider {
    display: none;
  }
  .ref-table-row {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 0.85rem 1.25rem;
  }
  .related-cards-grid {
    grid-template-columns: 1fr;
  }
  .btn-ref-primary,
  .btn-ref-wa,
  .btn-ref-call {
    width: 100%;
    justify-content: center;
  }
}
