/* ==========================================================================
   Zhongzhitou Product Center & Detailed Product Pages Upgrade Styles
   ========================================================================== */

/* 1. Global Detail Page Hero */
.product-detail-hero {
  padding: 40px 0 50px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid #e2e8f0;
}

.product-detail-hero .breadcrumb {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 24px;
}

.product-detail-hero .breadcrumb a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s;
}

.product-detail-hero .breadcrumb a:hover {
  color: #ea4201;
}

.product-detail-hero .breadcrumb span {
  color: #94a3b8;
  margin: 0 4px;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.category-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ea4201;
  background: #fff4ed;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.product-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 12px;
}

.tagline-lead {
  font-size: 18px;
  font-weight: 600;
  color: #2563eb;
  line-height: 1.5;
  margin-bottom: 18px;
}

.standard-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: #334155;
  margin-bottom: 20px;
}

.standard-pill strong {
  color: #0f172a;
}

.hero-desc {
  font-size: 15px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.primary-btn {
  background: #ea4201 !important;
  color: #ffffff !important;
  border: none;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(234, 66, 1, 0.25);
}

.primary-btn:hover {
  background: #cf3700 !important;
  transform: translateY(-1px);
}

.outline-btn {
  background: transparent !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.outline-btn:hover {
  border-color: #94a3b8 !important;
  background: #f8fafc !important;
}

.hero-trust-badges {
  display: flex;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px dashed #cbd5e1;
}

.badge-item {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Detail Image Container */
.main-image-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.detail-featured-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.image-sub-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 6px;
  font-size: 13px;
  color: #64748b;
}

.image-sub-bar img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}

/* Section Common Titles */
.section-title-wrap {
  margin-bottom: 36px;
}

.section-title-wrap.text-center {
  text-align: center;
}

.sub-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ea4201;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-title-wrap h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.section-title-wrap p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
}

.muted-bg {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

/* Technical Specification Table */
.specs-table-container {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.styled-spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  font-size: 15px;
}

.styled-spec-table th {
  background: #1e3a8a;
  color: #ffffff;
  padding: 16px 20px;
  font-weight: 700;
  text-align: left;
  border: 1px solid #1e3a8a;
}

.styled-spec-table td {
  padding: 14px 20px;
  border: 1px solid #e2e8f0;
  line-height: 1.6;
}

.styled-spec-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.styled-spec-table tbody tr:hover {
  background: #f1f5f9;
}

.spec-label {
  color: #0f172a;
  background: #fafafa;
}

.spec-value {
  color: #334155;
}

/* Core Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.advantage-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 28px 24px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px -5px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.advantage-card .card-num {
  font-size: 20px;
  font-weight: 800;
  color: #ea4201;
  opacity: 0.85;
  margin-bottom: 12px;
}

.advantage-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* Application Scenarios */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.scenario-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #ea4201;
  border-radius: 6px;
  padding: 20px;
}

.scenario-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

.scenario-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.scenario-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* Checklist & Field Notes */
.split-checklist {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
}

.xzl-delivery-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 20px;
  margin-top: 24px;
}

.xzl-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #1d4ed8;
  background: #dbeafe;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.xzl-delivery-box p {
  font-size: 14px;
  line-height: 1.7;
  color: #1e3a8a;
  margin: 0;
}

.notes-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 28px;
}

.notes-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
}

.styled-notes-list {
  padding-left: 20px;
  margin-bottom: 28px;
}

.styled-notes-list li {
  font-size: 14px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 12px;
}

.inquiry-copy-action {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 18px;
}

.inquiry-copy-action h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.inquiry-copy-action p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
}

.copy-btn {
  background: #0f172a !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  font-size: 14px !important;
  border-radius: 4px !important;
  cursor: pointer;
}

/* FAQ Accordion */
.product-faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.2s;
}

.faq-accordion-item[open] {
  border-color: #cbd5e1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.faq-question {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.q-icon {
  background: #ea4201;
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  margin-right: 14px;
  flex-shrink: 0;
}

.q-text {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  flex-grow: 1;
}

.toggle-icon {
  font-size: 18px;
  color: #94a3b8;
  font-weight: 700;
}

.faq-accordion-item[open] .toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px 64px;
}

.faq-answer p {
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
  margin: 0;
}

/* Bottom CTA Bar */
.cta-contact-bar {
  background: linear-gradient(90deg, #071b4a 0%, #0f172a 100%);
  color: #ffffff;
  padding: 40px 0;
}

.cta-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-text p {
  font-size: 15px;
  color: #94a3b8;
  margin: 0;
}

.cta-actions {
  display: flex;
  gap: 16px;
}

/* Products.php New Sections */
.system-roadmap-section {
  padding: 50px 0;
}

.decision-grid.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.decision-col {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.decision-col:hover {
  border-color: #ea4201;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -5px rgba(234, 66, 1, 0.1);
}

.decision-col .col-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.decision-col b {
  font-size: 12px;
  color: #ea4201;
  font-weight: 700;
  letter-spacing: 1px;
}

.decision-col h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin: 6px 0 10px;
}

.decision-col p {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  margin-bottom: 16px;
  flex-grow: 1;
}

.decision-col .col-tag {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
}

.catalog-trust-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  margin-top: 40px;
}

.trust-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.trust-col p {
  font-size: 13px;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

.cta-procure-section {
  background: #ffffff;
  padding: 50px 0;
  border-top: 1px solid #e2e8f0;
}

.cta-procure-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-procure-inner h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.cta-procure-inner p {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

.cta-btns {
  display: flex;
  gap: 16px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split-checklist {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .decision-grid.four-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-trust-panel {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .product-title {
    font-size: 26px;
  }
  .decision-grid.four-col {
    grid-template-columns: 1fr;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .faq-answer {
    padding-left: 24px;
  }
}
