/* =====================================================
   STANLEY FISHER — PRODUCT DETAIL
   ENTERPRISE PRODUCTION LAYOUT
   ===================================================== */


/* ================================
   Wrapper
================================ */

.product-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 2rem 4.5rem;
}


/* ================================
   Header Section
================================ */

.product-header {
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 4.5rem;
  align-items: center;
  margin-bottom: 4rem;
}


/* ================================
   Product Image (ENTERPRISE CLEAN)
================================ */

.product-image {
  background: transparent;
  border: none;
  padding: 0;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-width: 100%;
  max-height: 340px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
}


/* ================================
   Product Summary
================================ */

.product-summary h1 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  letter-spacing: -0.4px;
  line-height: 1.2;
  color: #0f1f2e;
  max-width: 680px;
}

.product-summary p {
  font-size: 1rem;
  line-height: 1.8;
  color: #3a4652;
  max-width: 680px;
}


/* ================================
   Sections
================================ */

.product-section {
  margin-bottom: 4rem;
}

.product-section h2 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #e5eaf0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #0f1f2e;
}


/* ================================
   Specifications Grid (ENTERPRISE)
================================ */

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem 3rem;
  font-size: 0.95rem;
}

.spec-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.4rem 0;
}

.spec-grid strong {
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0f1f2e;
}

.spec-grid span {
  font-weight: 500;
  color: #2f3b46;
  font-size: 1rem;
}


/* ================================
   Documentation (ENTERPRISE STYLE)
================================ */

.product-doc-links {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-doc-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f1f2e;
  padding: 0.8rem 0;
  border-bottom: 1px solid #eef2f6;
  transition: color 0.2s ease;
}

.product-doc-link:hover {
  color: #000;
}

.product-doc-link strong {
  font-weight: 600;
}

.product-doc-link svg {
  width: 18px;
  height: 22px;
  flex-shrink: 0;
  stroke: currentColor;
}


/* ================================
   Error State
================================ */

.product-error {
  text-align: center;
  padding: 5rem 1.5rem;
}

.product-error h2 {
  margin-bottom: 1.5rem;
}


/* ================================
   Responsive
================================ */

@media (max-width: 1100px) {

  .product-header {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .product-image {
    max-width: 650px;
    margin: 0 auto;
    height: 340px;
  }

  .product-image img {
    max-height: 300px;
  }

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

@media (max-width: 700px) {

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

  .product-summary h1 {
    font-size: 1.9rem;
  }
}