/* =============================================
   PRODUCT PAGE STYLES — shared across all product pages
   Extracted from static HTML to fix missing CSS in Laravel blade views
============================================= */

/* ── Main title ── */
.df-main-title {
  font-size: 32px;
  font-weight: 700;
  color: #1e2a55;
  margin-bottom: 16px;
}

/* ── Badge Bar ── */
.df-badge-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 30px;
}
.df-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #e8f0fe;
  color: #1e2a55;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid #c5d3f5;
}
.df-badge i { color: #0d6efd; }

/* ── Main feature image ── */
.df-feature-section { padding-bottom: 60px; }
.df-feature-image img {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s ease;
  width: 100%;
}
.df-feature-image img:hover { transform: scale(1.03); }

/* ── Before / After ── */
.df-before-after-section { padding: 20px 0 60px; }
.df-before-after-wrapper {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.df-ba-item {
  flex: 1;
  min-width: 220px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  background: #eef1f5;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.df-ba-item img { width: 100%; display: block; }
.df-ba-placeholder {
  color: #aaa;
  font-size: 14px;
  padding: 40px 20px;
  text-align: center;
}
.df-ba-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #0d6efd;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.df-ba-arrow { font-size: 30px; color: #0d6efd; flex-shrink: 0; }

/* ── Section Title ── */
.df-section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 35px;
  border-left: 5px solid #0d6efd;
  padding-left: 15px;
  color: #1e2a55;
}

/* ── Section Spacing ── */
.df-spec-section   { padding: 40px 0; }
.df-size-section   { padding: 60px 0; }
.df-benefits-section,
.df-applications-section,
.df-how-section,
.df-why-section,
.df-why-choose-section,
.df-color-section,
.df-variants-section { padding: 30px 0; }
.df-testimonial-section { padding: 60px 0; }

/* ── Tables ── */
.df-table-wrapper {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.df-spec-table,
.df-size-table { width: 100%; border-collapse: collapse; }
.df-size-table thead { background: #e9edf5; }
.df-spec-table th,
.df-size-table th {
  padding: 18px 20px;
  font-weight: 600;
  text-align: left;
  color: #1e2a55;
}
.df-spec-table td,
.df-size-table td {
  padding: 16px 20px;
  border-top: 1px solid #eef1f5;
  font-size: 15px;
  color: #333;
}
.df-spec-table tbody tr:nth-child(even),
.df-size-table tbody tr:nth-child(even) { background: #f9fbfd; }
.df-table-note { margin-top: 20px; font-size: 14.5px; color: #555; }

/* ── Lists ── */
.df-list { list-style: none; padding: 0; }
.df-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  color: #333;
}
.df-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0d6efd;
  font-size: 14px;
}

/* ── Steps ── */
.df-steps {
  padding-left: 20px;
  line-height: 2;
  font-size: 15px;
  color: #333;
}
.df-steps li { margin-bottom: 8px; }

/* ── Video placeholder ── */
.df-video-placeholder {
  margin: 30px 0;
  background: #f0f4ff;
  border: 2px dashed #c5d3f5;
  border-radius: 14px;
  padding: 50px 20px;
  text-align: center;
  color: #555;
}
.df-video-inner i { font-size: 48px; color: #0d6efd; margin-bottom: 12px; display: block; }
.df-video-inner p { font-size: 16px; font-weight: 600; margin: 0; }

/* ── Pro Tip / Highlight ── */
.df-highlight {
  margin-top: 20px;
  font-weight: 600;
  color: #0d6efd;
  background: #e8f0fe;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 15px;
}

/* ── Why Choose Us Grid ── */
.df-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}
.df-why-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 5px 18px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}
.df-why-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.09); }
.df-why-card i { font-size: 26px; color: #0d6efd; margin-bottom: 12px; display: block; }
.df-why-card p { margin: 0; font-size: 14px; color: #333; }

/* ── Phase / Color Grid ── */
.df-color-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.df-color-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8f9fa;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  min-width: 155px;
}
.df-color-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--dot-color);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.df-color-item strong { display: block; font-size: 14px; color: #1e2a55; }
.df-color-item span  { font-size: 13px; color: #666; }

/* ── Testimonials ── */
.df-testimonial-card {
  background: #fff;
  padding: 26px 24px;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  border-left: 4px solid #0d6efd;
  height: 100%;
}
.df-testimonial-card p { font-size: 15px; color: #333; font-style: italic; margin-bottom: 0; }
.df-testimonial-card span { display: block; margin-top: 14px; font-weight: 600; color: #555; font-size: 14px; }

/* ── Related Products ── */
.df-related-section { padding: 80px 0; background: #f8f9fa; }
.df-related-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.df-related-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
.df-related-card h5 { font-weight: 600; margin-bottom: 15px; }
.df-related-link { text-decoration: none; font-weight: 600; color: #0d6efd; transition: 0.3s ease; }
.df-related-link:hover { letter-spacing: 1px; }

/* ── Generic helpers ── */
.df-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.df-card { background: #f8f9fa; padding: 20px; border-radius: 10px; text-align: center; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }

/* ── Page title layout2 top-padding fix ── */
/* Remove the extra top-space caused by sticky header on product pages */
.page-title-layout2 { padding-top: 140px; }

/* ═══════════════════════════════════════════════════════
   ADDITIONAL CLASSES — Battery Pack, Tube & other pages
═══════════════════════════════════════════════════════ */

/* ── Badge Row (used on battery-pack page) ── */
.df-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 0;
}

/* ── CTA Row ── */
.df-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Section wrappers unique to battery/tube pages ── */
.df-intro-section,
.df-what-section,
.df-features-section { padding: 30px 0; }

/* ── 3-column grid (different from df-grid-2) ── */
.df-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* ── Feature Card (icon + title + desc on battery page) ── */
.df-feature-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 5px 18px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.df-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}
.df-feature-card h5 {
  font-size: 15px;
  font-weight: 700;
  margin: 10px 0 8px;
  color: #1e2a55;
}
.df-feature-card p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* ── Feature Icon ── */
.df-feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}
.df-feat-icon i {
  font-size: 22px;
  color: #0d6efd;
}

/* ── Pro Tip Box (battery page) ── */
.df-protip {
  background: #fff8e1;
  border-left: 5px solid #ffc107;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14.5px;
  color: #333;
  line-height: 1.7;
}
.df-protip i {
  color: #ffc107;
  margin-right: 8px;
}

/* ── Card Emoji (applications on battery page) ── */
.df-card-emoji {
  display: block;
  font-size: 26px;
  margin-bottom: 8px;
}

/* ── Variants / Comparison section ── */
.df-comparison-table { width: 100%; border-collapse: collapse; }
.df-comparison-table th,
.df-comparison-table td {
  padding: 14px 18px;
  border: 1px solid #e9edf5;
  font-size: 14px;
  text-align: left;
}
.df-comparison-table thead { background: #1e2a55; color: #fff; }
.df-comparison-table tbody tr:nth-child(even) { background: #f9fbfd; }

/* ── Process Steps (numbered row layout) ── */
.df-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  counter-reset: step-counter;
}
.df-process-step {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 24px 18px 18px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  position: relative;
}
.df-process-step::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: #0d6efd;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.df-process-step h5 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e2a55;
}
.df-process-step p {
  font-size: 13px;
  color: #555;
  margin: 0;
}

/* ── Spec band / stat row ── */
.df-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0;
}
.df-stat-item {
  flex: 1;
  min-width: 130px;
  background: #e8f0fe;
  border-radius: 10px;
  padding: 16px 12px;
  text-align: center;
}
.df-stat-item strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #0d6efd;
}
.df-stat-item span {
  font-size: 12px;
  color: #555;
}

/* ── Industry tags ── */
.df-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.df-tag {
  display: inline-block;
  background: #f0f4ff;
  color: #1e2a55;
  border: 1px solid #c5d3f5;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
}

/* ── Responsive fixes ── */
@media (max-width: 576px) {
  .df-section-title { font-size: 22px; }
  .df-grid-3 { grid-template-columns: 1fr 1fr; }
  .df-why-grid { grid-template-columns: 1fr 1fr; }
  .df-color-grid { flex-direction: column; }
  .df-before-after-wrapper { flex-direction: column; }
  .df-ba-arrow { transform: rotate(90deg); }
}

/* ═══════════════════════════════════════════════════════
   PVC TUBE + LLDPE / POLYOLEFIN SPECIFIC CLASSES
═══════════════════════════════════════════════════════ */

/* ── Feature content block (two-column image + list) ── */
.df-feature-content { padding: 10px 0; }
.df-feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #1e2a55;
  margin-bottom: 20px;
}
.df-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.df-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.df-feature-list li h6 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1e2a55;
}
.df-feature-list li p {
  font-size: 14px;
  color: #555;
  margin: 0;
}
/* The ✔ span icon inside df-feature-list */
.df-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  border-radius: 50%;
  background: #e8f0fe;
  color: #0d6efd;
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}
.df-feature-btn {
  display: inline-block;
  margin-top: 10px;
}

/* ── Tags container (variants section) ── */
.df-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.df-tags span {
  display: inline-block;
  background: #f0f4ff;
  color: #1e2a55;
  border: 1px solid #c5d3f5;
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 500;
}

/* ── Generic paragraph text utility ── */
.df-text {
  font-size: 15px;
  color: #444;
  line-height: 1.75;
}

/* ── Cross-links paragraph (tube page) ── */
.df-crosslinks {
  font-size: 14px;
  color: #555;
}
.df-crosslinks a {
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
}
.df-crosslinks a:hover {
  text-decoration: underline;
}
