/* ============================================================
   PRODUCT DETAIL PAGE STYLES
   Replicates the reference website layout exactly:
   - Two-column layout (main content + dark sidebar)
   - Professional typography and spacing
   - Certification cards, spec cards, quote form
   ============================================================ */

/* ── Product Page Section ────────────────────────────────────── */
.product-page-section {
  padding: 3rem 0 5rem;
  background: #fff;
}

.product-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

/* ── Left: Main Content ──────────────────────────────────────── */
.product-main {
  min-width: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #003D7A;
  margin-bottom: 1.5rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.back-link:hover {
  color: #E8500A;
}

.product-category-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #003D7A;
  background: rgba(0, 61, 122, 0.08);
  border-left: 3px solid #003D7A;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1rem;
}

.product-page-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #001A3A;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.product-hero-img {
  margin-bottom: 2.5rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}
.product-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Product Sections ────────────────────────────────────────── */
.product-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #E0E7EF;
}
.product-section:last-child {
  border-bottom: none;
}

.product-section-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #001A3A;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #E8500A;
  display: inline-block;
}

.product-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #3A4A5E;
  margin-bottom: 1rem;
}
.product-section p:last-child {
  margin-bottom: 0;
}

/* ── Spec Cards (Checkmark Grid) ─────────────────────────────── */
.specs-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.spec-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: #F5F7FA;
  border-radius: 6px;
  border: 1px solid #E0E7EF;
  transition: all 0.2s;
}
.spec-card:hover {
  border-color: #003D7A;
  box-shadow: 0 2px 12px rgba(0, 61, 122, 0.08);
}

.spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #003D7A;
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.spec-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1A2332;
  line-height: 1.3;
}

/* ── Product Table ───────────────────────────────────────────── */
.table-responsive {
  overflow-x: auto;
  margin-top: 1rem;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.product-table thead {
  background: #001A3A;
  color: #fff;
}

.product-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.product-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #E0E7EF;
  color: #3A4A5E;
  vertical-align: top;
}

.product-table tbody tr:hover {
  background: #F5F7FA;
}

.product-table td strong {
  color: #001A3A;
}

/* ── Certification Cards ─────────────────────────────────────── */
.cert-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.cert-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border: 2px solid #E0E7EF;
  border-radius: 6px;
  transition: all 0.2s;
}
.cert-card:hover {
  border-color: #003D7A;
  box-shadow: 0 4px 16px rgba(0, 61, 122, 0.1);
}

.cert-title {
  font-size: 1rem;
  font-weight: 800;
  color: #001A3A;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.cert-desc {
  font-size: 0.78rem;
  font-weight: 600;
  color: #8A9BB0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Application Cards ───────────────────────────────────────── */
.application-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.app-card {
  padding: 1.5rem;
  background: #F5F7FA;
  border-radius: 6px;
  border-top: 3px solid #E8500A;
  transition: all 0.2s;
}
.app-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.app-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #001A3A;
  margin-bottom: 0.5rem;
}

.app-card p {
  font-size: 0.82rem;
  color: #5A6A7E;
  line-height: 1.6;
  margin: 0;
}

/* ── Quote Form ──────────────────────────────────────────────── */
.quote-form-section {
  background: #F5F7FA;
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid #E0E7EF;
}

.quote-form-desc {
  font-size: 0.88rem;
  color: #5A6A7E;
  margin-bottom: 1.5rem;
}

.quote-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.quote-form .form-group {
  display: flex;
  flex-direction: column;
}
.quote-form .form-group.full-width {
  margin-bottom: 1.5rem;
}

.quote-form label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #001A3A;
  margin-bottom: 0.4rem;
}

.quote-form input,
.quote-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #D0D8E4;
  border-radius: 4px;
  font-size: 0.88rem;
  font-family: inherit;
  color: #1A2332;
  background: #fff;
  transition: border-color 0.2s;
}
.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: #003D7A;
  box-shadow: 0 0 0 3px rgba(0, 61, 122, 0.1);
}

.quote-form textarea {
  resize: vertical;
  min-height: 100px;
}

.quote-form .btn {
  margin-top: 0.5rem;
}

/* ── Right Sidebar ───────────────────────────────────────────── */
.product-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-sectors {
  background: #F5F7FA;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #E0E7EF;
}

.sidebar-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #D0D8E4;
}

.sidebar-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8500A;
  display: block;
  margin-bottom: 0.3rem;
}

.sidebar-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #001A3A;
  margin: 0;
}

.sidebar-category {
  margin-bottom: 1.25rem;
}

.sidebar-cat-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #003D7A;
  margin-bottom: 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #D0D8E4;
}

.sidebar-sectors .sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-sectors .sidebar-links li {
  padding: 0.3rem 0;
  border-bottom: none;
}

.sidebar-sectors .sidebar-links li a {
  font-size: 0.78rem;
  color: #3A4A5E;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  text-decoration: none;
}
.sidebar-sectors .sidebar-links li a::before {
  content: '›';
  color: #8A9BB0;
  font-weight: 700;
}
.sidebar-sectors .sidebar-links li a:hover {
  color: #003D7A;
  background: rgba(0, 61, 122, 0.06);
}
.sidebar-sectors .sidebar-links li a:hover::before {
  color: #E8500A;
}

.sidebar-sectors .sidebar-links li.active a {
  color: #003D7A;
  font-weight: 700;
  background: rgba(0, 61, 122, 0.08);
  border-left: 3px solid #E8500A;
  padding-left: 0.75rem;
}
.sidebar-sectors .sidebar-links li.active a::before {
  display: none;
}

/* ── Sidebar Contact ─────────────────────────────────────────── */
.sidebar-contact {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  border: 1px solid #E0E7EF;
  border-top: 3px solid #003D7A;
}

.sidebar-contact .sidebar-label {
  color: #003D7A;
}

.sidebar-contact h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #001A3A;
  margin: 0.5rem 0 0.75rem;
}

.sidebar-contact p {
  font-size: 0.82rem;
  color: #5A6A7E;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.sidebar-contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sidebar-contact-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #003D7A;
  padding: 0.6rem 0.85rem;
  background: #F5F7FA;
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
  border: 1px solid #E0E7EF;
}
.sidebar-contact-links a:hover {
  background: #003D7A;
  color: #fff;
  border-color: #003D7A;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .product-page-layout {
    grid-template-columns: 1fr;
  }
  .product-sidebar {
    position: static;
  }
  .specs-cards {
    grid-template-columns: 1fr;
  }
  .cert-cards {
    grid-template-columns: 1fr;
  }
  .application-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-page-section {
    padding: 2rem 0 3rem;
  }
  .product-page-title {
    font-size: 1.6rem;
  }
  .quote-form .form-row {
    grid-template-columns: 1fr;
  }
  .quote-form-section {
    padding: 1.5rem;
  }
}
