/* ═══════════════════════════════════════════════════════
   PROPACK ELECTRONICS – Individual Product / Service Pages
   Extends inner.css with product-specific components
═══════════════════════════════════════════════════════ */

/* ─── PRODUCT HERO (image background) ────────────────── */
.product-hero {
  padding: 100px 0 80px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.product-hero .page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.6) 60%, rgba(214,43,43,.25) 100%);
}
.product-hero .page-hero-content { position: relative; z-index: 2; }
.prod-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(214,43,43,.2);
  border: 1px solid rgba(214,43,43,.5);
  color: #ff8080;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.product-hero h1 {
  font-family: var(--font-cond);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 16px;
}
.product-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.78);
  max-width: 600px;
  line-height: 1.75;
  margin-bottom: 28px;
}
.prod-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── PAGE HERO (service pages use dark bg version) ─── */
.service-page-hero {
  padding: 100px 0 80px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.service-page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(214,43,43,.12));
}
.service-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), #ff6b6b, var(--red));
}

/* ─── PRODUCT DETAIL LAYOUT ───────────────────────────── */
.prod-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
.prod-main { min-width: 0; }

/* ─── PRODUCT IMAGE BLOCK ─────────────────────────────── */
.prod-image-block {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  aspect-ratio: 16/7;
  background: var(--dark);
  box-shadow: var(--shadow-lg);
}
.prod-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.prod-image-block:hover img { transform: scale(1.03); }
.prod-img-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--red);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── SECTION TITLES (inner) ──────────────────────────── */
.section-title-inner {
  font-family: var(--font-cond);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title-inner::before {
  content: '';
  width: 5px;
  height: 28px;
  background: var(--red);
  border-radius: 3px;
  flex-shrink: 0;
}

/* ─── PRODUCT OVERVIEW ────────────────────────────────── */
.prod-overview {
  margin-bottom: 44px;
}
.prod-overview p {
  color: var(--mid);
  line-height: 1.8;
  font-size: .95rem;
  margin-bottom: 14px;
}

/* ─── FEATURE GRID ────────────────────────────────────── */
.prod-features { margin-bottom: 44px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: var(--red);
  border-radius: 2px;
  transition: height .35s ease;
}
.feature-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card:hover::before { height: 100%; }
.fc-icon {
  width: 48px; height: 48px;
  background: var(--red-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: background var(--transition);
}
.fc-icon i { color: var(--red); font-size: 1.1rem; transition: color var(--transition); }
.feature-card:hover .fc-icon { background: var(--red); }
.feature-card:hover .fc-icon i { color: #fff; }
.feature-card h4 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.feature-card p { font-size: .82rem; color: var(--grey); line-height: 1.6; }

/* ─── SPECS TABLE ─────────────────────────────────────── */
.prod-specs { margin-bottom: 44px; }
.specs-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--light-grey);
  box-shadow: var(--shadow);
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}
.specs-table tr { border-bottom: 1px solid var(--light-grey); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table tr:nth-child(even) { background: var(--bg); }
.specs-table th {
  background: var(--dark);
  color: rgba(255,255,255,.85);
  padding: 13px 20px;
  font-weight: 600;
  font-size: .82rem;
  text-align: left;
  width: 35%;
}
.specs-table td {
  padding: 13px 20px;
  color: var(--mid);
}

/* ─── APPLICATIONS GRID ───────────────────────────────── */
.prod-applications { margin-bottom: 44px; }
.app-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.app-item {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: all var(--transition);
  cursor: default;
}
.app-item:hover { border-color: var(--red); background: var(--red-light); transform: translateY(-3px); }
.app-item i { font-size: 1.6rem; color: var(--red); }
.app-item span { font-size: .8rem; font-weight: 600; color: var(--dark); line-height: 1.35; }

/* ─── PROCESS STEPS ───────────────────────────────────── */
.prod-process { margin-bottom: 44px; }
.process-steps { display: flex; flex-direction: column; gap: 0; }
.ps-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--light-grey);
  align-items: start;
}
.ps-item:last-child { border-bottom: none; }
.ps-num {
  width: 52px; height: 52px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-cond);
  font-size: 1.3rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(214,43,43,.35);
}
.ps-body h4 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; margin-top: 10px; }
.ps-body p { font-size: .875rem; color: var(--grey); line-height: 1.7; }

/* ─── RELATED PRODUCTS ────────────────────────────────── */
.related-products { margin-bottom: 20px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 24px 20px;
  display: block;
  transition: all var(--transition);
  text-decoration: none;
}
.related-card:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-4px); }
.rc-icon {
  width: 50px; height: 50px;
  background: var(--red-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: background var(--transition);
}
.rc-icon i { color: var(--red); font-size: 1.2rem; transition: color var(--transition); }
.related-card:hover .rc-icon { background: var(--red); }
.related-card:hover .rc-icon i { color: #fff; }
.related-card h4 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 7px; }
.related-card p { font-size: .82rem; color: var(--grey); line-height: 1.55; margin-bottom: 12px; }
.rc-link { font-size: .82rem; font-weight: 700; color: var(--red); display: flex; align-items: center; gap: 6px; }

/* ─── PRODUCT SIDEBAR ─────────────────────────────────── */
.prod-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.psb-card {
  background: var(--white);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.psb-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.psb-card h3 i { color: var(--red); }
.psb-quote { background: var(--dark); border-color: var(--dark); }
.psb-quote h3 { color: #fff; }
.psb-quote p { color: rgba(255,255,255,.7); font-size: .85rem; line-height: 1.6; margin-bottom: 16px; }
.btn-full { width: 100%; text-align: center; justify-content: center; }
.download-list { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.download-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 8px;
  font-size: .85rem;
  color: var(--mid);
  transition: all var(--transition);
  text-decoration: none;
  border: 1px solid transparent;
}
.download-list a:hover { background: var(--red-light); color: var(--red); border-color: var(--red); }
.download-list i { font-size: .9rem; color: var(--red); width: 16px; }
.cert-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.cert-list li { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--mid); }
.cert-list i { color: #22c55e; font-size: .9rem; }
.psb-phone, .psb-email {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 8px;
  margin-top: 8px;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.psb-phone:hover, .psb-email:hover { background: var(--red-light); color: var(--red); border-color: var(--red); }
.psb-phone i, .psb-email i { color: var(--red); }
.psb-contact p { font-size: .85rem; color: var(--grey); margin-bottom: 4px; line-height: 1.55; }

/* ─── MEGA-MENU LABEL (non-clickable sub-cat) ─────────── */
.mega-label {
  pointer-events: none;
  cursor: default;
  opacity: .95;
}

/* ─── SERVICE HERO IMAGE ─────────────────────────────────*/
.svc-hero-img {
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  overflow: hidden;
  opacity: .35;
}
.svc-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--dark) 0%, transparent 100%);
  z-index: 1;
}

/* ─── SERVICE DETAIL PAGE LAYOUT ──────────────────────── */
.svc-detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

/* ─── SERVICE OVERVIEW TWO-COL ─────────────────────────  */
.svc-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 44px;
}
.svc-two-col-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.svc-two-col-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-text p {
  font-size: .95rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 16px;
}
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--mid);
}
.check-list li i { color: var(--red); margin-top: 3px; flex-shrink: 0; }

/* ─── DELIVERABLES GRID ───────────────────────────────── */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.deliv-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 28px 22px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}
.deliv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}
.deliv-card:hover { transform: translateY(-5px); }
.deliv-card i { font-size: 2rem; color: var(--red); margin-bottom: 14px; display: block; }
.deliv-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.deliv-card p { font-size: .82rem; color: rgba(255,255,255,.65); line-height: 1.6; }

/* ─── WHY CHOOSE SECTION ──────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.why-item {
  background: var(--bg);
  border: 1px solid var(--light-grey);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all var(--transition);
}
.why-item:hover { border-color: var(--red); box-shadow: var(--shadow); }
.why-icon {
  width: 44px; height: 44px;
  background: var(--red);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-icon i { color: #fff; font-size: 1rem; }
.why-body h4 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.why-body p { font-size: .82rem; color: var(--grey); line-height: 1.6; }

/* ─── ANIMATED STATS ROW ──────────────────────────────── */
.prod-stats-row {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 44px;
  position: relative;
  overflow: hidden;
}
.prod-stats-row::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff6b6b, var(--red));
}
.psr-item { text-align: center; }
.psr-num {
  font-family: var(--font-cond);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}
.psr-label { font-size: .78rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: 1px; }

/* ─── INLINE CTA (page bottom) ────────────────────────── */
.inline-cta {
  background: linear-gradient(135deg, var(--dark) 0%, #1a1a1a 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.inline-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(214,43,43,.15) 0%, transparent 60%);
}
.inline-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.ict-text h2 {
  font-family: var(--font-cond);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.ict-text p { color: rgba(255,255,255,.65); font-size: .95rem; }
.ict-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── REVEAL ANIMATION ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .prod-detail-layout,
  .svc-detail-layout { grid-template-columns: 1fr; }
  .prod-sidebar,
  .svc-sidebar { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .app-grid { grid-template-columns: repeat(4, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-stats-row { grid-template-columns: repeat(2, 1fr); }
  .svc-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .product-hero { padding: 80px 0 60px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .app-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .feature-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .prod-stats-row { grid-template-columns: repeat(2, 1fr); padding: 24px 20px; }
  .inline-cta-inner { flex-direction: column; text-align: center; }
  .ict-actions { justify-content: center; }
  .prod-hero-actions { flex-direction: column; }
}
