/* Product page styles — loaded after style.css; overrides body defaults */

/* Body color override for product pages */
body {
  color: #1a2540;
  background: #f5f7fa;
  -webkit-font-smoothing: antialiased;
}

/* Product hero section with blue gradient background */
.prod-hero {
  position: relative;
  background: linear-gradient(155deg, #163f72 0%, #1f6aa5 55%, #2279c4 100%);
  padding: 30px 20px 40px;
  min-height: auto;
  overflow: hidden;
}

/* Wider padding on phones 640px+ */
@media (min-width: 640px) {
  .prod-hero {
    padding: 40px 32px 48px;
  }
}

/* Curved white edge at the bottom of the hero */
.prod-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 24px;
  background: #f5f7fa;
  border-radius: 24px 24px 0 0;
}

/* Inner wrapper keeps hero content above the ::after curve */
.prod-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

/* Small uppercase label above the hero heading */
.prod-eyebrow {
  display: block;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #7cff3c;
  text-transform: uppercase;
}
/* Colour variants for different product categories */
.prod-eyebrow-blue   { color: #2BB3FF; }
.prod-eyebrow-amber  { color: #ffb547; }
.prod-eyebrow-purple { color: #2BB3FF; }

/* Main hero heading */
.prod-hero h1 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}

/* Subtitle text below the hero heading */
.prod-hero-sub {
  margin: 0;
  font-size: 14px;
  color: #c8dcf5;
  line-height: 1.6;
  max-width: 38ch;
}

/* Row that holds the heading and catalogue button side by side */
.prod-hero-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

/* Orange catalogue download button */
.catalogue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 22px;
  background: #FF6B1A;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, box-shadow .2s ease;
}

.catalogue-btn:hover {
  background: #e55a0d;
  box-shadow: 0 4px 16px rgba(255,107,26,.4);
}

/* Icon inside the catalogue button */
.catalogue-btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Centred catalogue button placed below the product grid */
.catalogue-bottom-wrap {
  display: flex;
  justify-content: center;
  padding: 18px 0 8px;
}

/* Larger variant of the catalogue button for bottom placement */
.catalogue-btn--large {
  background: #FF6B1A;
  color: #fff;
  border: none;
  padding: 13px 32px;
  font-size: 14px;
  border-radius: 50px;
}

.catalogue-btn--large:hover {
  background: #e55a0d;
  box-shadow: 0 6px 20px rgba(255,107,26,.4);
}

/* Full-width catalogue button on small phones */
@media (max-width: 480px) {
  .catalogue-btn {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }
  .prod-hero-heading-row {
    flex-direction: column;
  }
}

/* Catalogue button placement on category pages — sits above the product grid */
.cat-catalogue-btn {
  margin-top: 0;
  margin-bottom: 20px;
  display: inline-flex;
}

/* Full-width on small phones */
@media (max-width: 480px) {
  .cat-catalogue-btn {
    width: 100%;
    margin-top: 0;
  }
}

/* Product cards grid section */
.prod-section {
  padding: 28px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Individual product card — icon left, text right */
.prod-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 16px;
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 16px;
  box-shadow: 0 1px 4px rgba(10,20,50,.05), 0 2px 8px rgba(10,20,50,.03);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

/* Blue overlay that fades in on hover */
.prod-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 78, 162, 0.12);
  border-radius: inherit;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}

/* Card lift effect on hover */
.prod-card:hover {
  transform: translateY(-2px);
  border-color: #7ab8f5;
  box-shadow: 0 8px 24px rgba(10,78,162,.15);
}

/* Show overlay on hover */
.prod-card:hover::before {
  opacity: 1;
}

/* Icon container within the product card */
.prod-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Product icon image */
.card-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* Card title */
.prod-body h2 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 700;
  color: #0e1726;
}

/* Card description text */
.prod-body p {
  margin: 0 0 8px;
  font-size: 13px;
  color: #5a6478;
  line-height: 1.5;
}

/* "Explore" link at the bottom of each card */
.prod-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #2BB3FF;
  text-decoration: none;
  transition: color .15s;
}
.prod-link:hover { color: #1a9fe0; text-decoration: underline; }

/* "Learn About Systems" section below the product grid */
.prod-learn {
  padding: 32px 18px 16px;
}

.prod-learn h2 {
  margin: 6px 0 18px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0e1726;
}

/* Accordion list for system explanations */
.prod-accordion {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Individual accordion item card */
.prod-acc-item {
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(10,20,50,.04);
  overflow: hidden;
}

/* Accordion trigger button */
.prod-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: #0e1726;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
}

.prod-acc-trigger:hover { background: #f8fafc; }

/* Chevron icon that rotates when accordion is open */
.prod-acc-chevron {
  color: #9aa3b2;
  font-size: 20px;
  font-weight: 400;
  transition: transform .2s ease, color .15s ease;
  flex-shrink: 0;
  line-height: 1;
}

/* Rotate chevron 45deg when expanded */
.prod-acc-trigger[aria-expanded="true"] .prod-acc-chevron {
  transform: rotate(45deg);
  color: #0a4ea2;
}

/* Collapsible panel — expands via JS by setting max-height */
.prod-acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}

.prod-acc-panel p {
  margin: 0;
  padding: 0 16px 16px;
  font-size: 13px;
  color: #5a6478;
  line-height: 1.65;
}

/* Dark gradient CTA banner */
.prod-cta-banner {
  margin: 28px auto 0;
  padding: 28px 22px 32px;
  background: linear-gradient(160deg, #0a1d3b 0%, #1565c0 100%);
  color: #e9eef7;
  border-radius: 28px;
  box-shadow: 0 6px 24px rgba(8,18,40,.18);
  max-width: 560px;
  width: calc(100% - 36px);
}

.prod-cta-banner h2 {
  margin: 8px 0 10px;
  font-size: 20px;
  line-height: 1.28;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}

/* Supporting text in the CTA banner */
.prod-cta-body {
  margin: 0 0 20px;
  font-size: 13px;
  color: #b0c2da;
  line-height: 1.65;
}

/* Small footer note inside the CTA banner */
.prod-cta-foot {
  margin: 12px 0 0;
  text-align: center;
  font-size: 11px;
  color: #7a8fa8;
  letter-spacing: .04em;
}

/* Italic quote below the CTA */
.prod-cta-italic {
  margin: 8px 0 0;
  font-size: 12px;
  font-style: italic;
  color: rgba(255,255,255,.6);
  text-align: center;
}

/* WhatsApp CTA button — green with shadow */
.prod-btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(37,211,102,.30);
  transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
  font-family: inherit;
}

.prod-btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(37,211,102,.38);
}

/* Snap back on click */
.prod-btn-whatsapp:active { transform: translateY(0); }

/* Blue "Compare" button */
.prod-btn-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 18px;
  padding: 14px 20px;
  border-radius: 999px;
  background: #0a4ea2;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .15s ease, transform .12s ease;
  font-family: inherit;
}

.prod-btn-compare:hover {
  background: #1d6fd6;
  transform: translateY(-1px);
}

/* FAQs section at the bottom of product.html */
.prod-faqs {
  padding: 32px 18px 32px;
}

.prod-faqs h2 {
  margin: 6px 0 18px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #0e1726;
}

/* Floating WhatsApp button pinned to the bottom-right corner */
.fab-wa {
  position: fixed;
  right: 16px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37,211,102,.42);
  z-index: 99;
  transition: transform .15s ease, background .15s ease;
  text-decoration: none;
}

.fab-wa:hover {
  background: #1ebe5d;
  transform: translateY(-3px);
}

/* Category pages — batteries.html, inverters.html, etc. */

/* Category hero — same gradient as product hero */
.cat-hero {
  position: relative;
  padding: 32px 18px 48px;
  background: linear-gradient(155deg, #163f72 0%, #1f6aa5 55%, #2279c4 100%);
  overflow: hidden;
}

/* Curved white edge at the bottom of the category hero */
.cat-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 24px;
  background: #f5f7fa;
  border-radius: 24px 24px 0 0;
}

/* Inner content wrapper, sits above the ::after curve */
.cat-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

/* "Back to Products" link at the top of category pages */
.cat-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #8ab4dd;
  text-decoration: none;
  margin-bottom: 18px;
  transition: color .15s;
}
.cat-back:hover { color: #fff; }

/* Category hero heading */
.cat-hero h1 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -.02em;
}

/* Short description below the category heading */
.cat-hero-desc {
  margin: 0;
  font-size: 14px;
  color: #c8dcf5;
  max-width: 42ch;
  line-height: 1.65;
}

/* Category features list section */
.cat-features {
  padding: 32px 18px 8px;
}

.cat-features h2 {
  font-size: 20px;
  font-weight: 800;
  color: #0e1726;
  margin: 0 0 6px;
  letter-spacing: -.01em;
}

/* Subtitle under the features heading */
.cat-features-sub {
  font-size: 13px;
  color: #5a6478;
  margin: 0 0 18px;
  line-height: 1.5;
}

/* Vertical stack of feature items */
.cat-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Individual feature card */
.cat-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(10,20,50,.04);
}

/* Circular checkmark icon for each feature */
.cat-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eef5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  color: #0a4ea2;
  font-size: 13px;
  font-weight: 700;
}

/* Feature title */
.cat-feature-list li .feat-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0e1726;
  margin-bottom: 3px;
}

/* Feature description */
.cat-feature-list li .feat-text span {
  font-size: 13px;
  color: #5a6478;
  line-height: 1.5;
}

/* Pill-shaped spec badges strip */
.cat-specs {
  padding: 8px 18px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Individual spec pill */
.cat-spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #eef5ff;
  border: 1px solid #c2d8f5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #0a4ea2;
}

/* Category CTA section wrapper */
.cat-cta {
  padding: 8px 18px 36px;
}

/* Dark gradient CTA card */
.cat-cta-card {
  background: linear-gradient(160deg, #0a1d3b 0%, #1565c0 100%);
  color: #fff;
  padding: 28px 22px 30px;
  border-radius: 22px;
  box-shadow: 0 6px 24px rgba(8,18,40,.18);
}

.cat-cta-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.25;
}

.cat-cta-card p {
  font-size: 13px;
  color: #c0d4ef;
  margin: 0 0 20px;
  line-height: 1.65;
}

/* "Other Products" cross-links section */
.cat-other-products {
  padding: 8px 18px 32px;
}

.cat-other-products h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0e1726;
  margin: 0 0 12px;
}

/* 2-column grid for other product links */
.cat-other-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

/* Individual cross-link card */
.cat-other-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #2a3547;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}

.cat-other-link:hover {
  border-color: #b8d4f5;
  color: #0a4ea2;
}

/* Responsive breakpoints */

/* 480px — larger phones: more padding */
@media (min-width: 480px) {
  .prod-hero { padding: 40px 24px 48px; }
  .prod-hero h1 { font-size: 30px; }
  .prod-section { padding: 24px 24px 16px; }
  .prod-learn, .prod-faqs { padding-left: 24px; padding-right: 24px; }
  .cat-hero { padding: 36px 24px 52px; }
  .cat-hero h1 { font-size: 30px; }
  .cat-features,
  .cat-specs,
  .cat-cta,
  .cat-other-products { padding-left: 24px; padding-right: 24px; }
}

/* 600px — tablet portrait: 2-column product cards */
@media (min-width: 600px) {
  .prod-hero { padding: 44px 32px 52px; }
  .prod-hero h1 { font-size: 34px; }

  .prod-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 32px 32px 20px;
  }

  .prod-learn,
  .prod-faqs { padding-left: 32px; padding-right: 32px; }

  .cat-hero { padding: 44px 32px 56px; }
  .cat-hero h1 { font-size: 34px; }
  .cat-features,
  .cat-specs,
  .cat-cta,
  .cat-other-products { padding-left: 32px; padding-right: 32px; }
}

/* 768px — tablet landscape */
@media (min-width: 768px) {
  .prod-hero { padding: 50px 44px 58px; }
  .prod-hero h1 { font-size: 38px; }
  .prod-hero-sub { font-size: 15px; }

  .prod-section {
    gap: 16px;
    padding: 36px 44px 20px;
  }

  .prod-learn,
  .prod-faqs { padding-left: 44px; padding-right: 44px; }

  .prod-cta-banner {
    max-width: 700px;
    padding: 40px 48px 44px;
  }
  .prod-cta-banner h2 { font-size: 26px; }
  .prod-cta-body { font-size: 14px; }
  .prod-btn-whatsapp { width: 100%; max-width: none; }

  .cat-hero { padding: 50px 44px 60px; }
  .cat-hero h1 { font-size: 36px; }
  .cat-features h2 { font-size: 22px; }
  .cat-features,
  .cat-specs,
  .cat-cta,
  .cat-other-products { padding-left: 44px; padding-right: 44px; }
}

/* 900px — desktop: 4-column product cards */
@media (min-width: 900px) {
  .prod-hero { padding: 56px 60px 64px; }
  .prod-hero h1 { font-size: 44px; }
  .prod-hero-inner { max-width: 720px; }
  .prod-hero-sub { font-size: 16px; max-width: 48ch; }

  .prod-section {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 40px 60px 24px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
  }

  .prod-body h2 { font-size: 15px; }
  .prod-body p  { font-size: 12px; }

  .prod-learn {
    padding: 40px 60px 24px;
    max-width: 1000px;
    margin: 0 auto;
  }
  .prod-learn h2 { font-size: 26px; }

  .prod-faqs {
    padding: 40px 60px 40px;
    max-width: 1000px;
    margin: 0 auto;
  }
  .prod-faqs h2 { font-size: 26px; }

  .prod-cta-banner {
    max-width: 900px;
    padding: 52px 60px 56px;
  }
  .prod-cta-banner h2 { font-size: 32px; }

  .cat-hero { padding: 60px 60px 68px; }
  .cat-hero h1 { font-size: 42px; }
  .cat-hero-inner { max-width: 760px; }
  .cat-hero-desc { font-size: 16px; }

  .cat-features { padding: 40px 60px 16px; max-width: 1040px; margin: 0 auto; }
  .cat-features h2 { font-size: 26px; }
  /* 2-column feature grid on desktop */
  .cat-feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-specs { padding: 16px 60px 32px; max-width: 1040px; margin: 0 auto; }
  .cat-cta { padding: 16px 60px 48px; max-width: 1040px; margin: 0 auto; }
  .cat-other-products { padding: 0 60px 48px; max-width: 1040px; margin: 0 auto; }
  /* 4-column other products grid on desktop */
  .cat-other-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}

/* 1200px — large desktop */
@media (min-width: 1200px) {
  .prod-hero { padding: 72px 80px 80px; }
  .prod-hero h1 { font-size: 52px; }
  .prod-hero-inner { max-width: 800px; }

  .prod-section {
    padding: 48px 80px 28px;
    gap: 20px;
    max-width: 1400px;
  }

  .prod-card { padding: 20px; }

  .prod-learn,
  .prod-faqs {
    max-width: 1100px;
    padding-left: 80px;
    padding-right: 80px;
  }
  .prod-learn h2,
  .prod-faqs h2 { font-size: 28px; }

  .prod-cta-banner h2 { font-size: 28px; }

  .cat-hero { padding: 72px 80px 80px; }
  .cat-hero h1 { font-size: 50px; }
  .cat-hero-inner { max-width: 860px; }

  .cat-features,
  .cat-specs,
  .cat-cta,
  .cat-other-products {
    max-width: 1200px;
    padding-left: 80px;
    padding-right: 80px;
  }
  .cat-features h2 { font-size: 28px; }
  .cat-cta-card { padding: 36px 40px 38px; }
  .cat-cta-card h3 { font-size: 24px; }
}

/* Disable all animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* New category list page styles — breadcrumb, product list, updated CTA */

/* Breadcrumb navigation bar */
.cat-breadcrumb {
  padding: 12px 18px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #5a6478;
  border-bottom: 1px solid #eef1f5;
}
.cat-breadcrumb a {
  color: #5a6478;
  text-decoration: none;
  transition: color .15s;
}
.cat-breadcrumb a:hover { color: #0a4ea2; }
/* Chevron separator between breadcrumb items */
.cat-breadcrumb-sep { color: #c8cdd5; }
/* Bold text for the current (active) breadcrumb level */
.cat-breadcrumb-current { font-weight: 700; color: #0e1726; }

/* Section that contains the product list */
.cat-product-section {
  padding: 28px 18px 16px;
  background: #fff;
}
/* Small uppercase section label */
.cat-section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #2BB3FF;
  margin: 0 0 8px;
}
/* Section heading above the product list */
.cat-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #0e1726;
  margin: 0 0 20px;
  letter-spacing: -.01em;
  line-height: 1.25;
}

/* Vertical list of product cards */
.cat-product-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Individual product card — image, info, and "View" button */
.cat-product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, transform .15s;
  box-shadow: 0 1px 4px rgba(10,20,50,.04);
}
.cat-product-card:hover {
  border-color: #7ab8f5;
  box-shadow: 0 4px 16px rgba(10,78,162,.1);
  transform: translateY(-1px);
}
/* Highlighted card variant with a blue border */
.cat-product-card.highlighted { border-color: #2BB3FF; border-width: 2px; }
/* Product image container */
.cat-product-img {
  width: 120px;
  height: 120px;
  background: transparent;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: none;
}
.cat-product-img img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}
/* Text column inside the product card */
.cat-product-info { display: flex; flex-direction: column; }
/* "View" button on the right of each product card */
.cat-view-link {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #2BB3FF;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s;
}
.cat-product-card:hover .cat-view-link { background: #1a9fe0; }
/* Product name */
.cat-product-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0e1726;
  line-height: 1.4;
}
/* Short spec line below the product name */
.cat-product-spec {
  display: block;
  font-size: 13px;
  color: #5a6478;
  margin-top: 2px;
}

/* Accordion for charge controller sub-categories */
.cat-acc-list { display: flex; flex-direction: column; gap: 10px; }
/* Accordion group container */
.cat-acc-group {
  border: 1px solid #e4e9f0;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(10,20,50,.04);
}
/* Accordion group trigger button */
.cat-acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #0e1726;
  text-align: left;
}
.cat-acc-trigger:hover { background: #f8fafc; }
/* Chevron rotates when group is expanded */
.cat-acc-chevron {
  color: #9aa3b2;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform .2s ease;
  line-height: 1;
}
.cat-acc-trigger[aria-expanded="true"] .cat-acc-chevron { transform: rotate(180deg); }
/* Collapsible panel — max-height driven by JS */
.cat-acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
  border-top: 1px solid transparent;
}
/* Expanded state — border becomes visible */
.cat-acc-panel.is-open {
  max-height: 600px;
  border-top-color: #e4e9f0;
}
/* Row inside an expanded accordion panel */
.cat-acc-item {
  padding: 12px 18px;
  border-bottom: 1px solid #f0f3f7;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: background .15s;
}
/* Text wrapper inside each row */
.cat-acc-item-text { flex: 1; min-width: 0; }
.cat-acc-item:last-child { border-bottom: none; }
.cat-acc-item:hover { background: #f8fafc; }
/* Small label above item name */
.cat-acc-item-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #2BB3FF;
  margin: 0 0 3px;
}
/* Item name */
.cat-acc-item-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #0e1726;
}

/* Updated dark gradient CTA section */
.cat-cta-section {
  padding: 24px 18px 36px;
  background: #f5f7fa;
}
.cat-cta-new {
  background: linear-gradient(160deg, #0a1d3b 0%, #1565c0 100%);
  border-radius: 24px;
  padding: 28px 22px 30px;
  color: #fff;
}
/* Green tag label above the CTA heading */
.cat-cta-tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7cff3c;
  margin: 0 0 12px;
}
/* CTA heading */
.cat-cta-new h2 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
  color: #fff;
  letter-spacing: -.01em;
}
/* CTA body text */
.cat-cta-new .cat-cta-body {
  font-size: 14px;
  color: #c8dcf5;
  margin: 0 0 18px;
  line-height: 1.6;
}
/* Small uppercase note below the CTA button */
.cat-cta-note {
  display: block;
  margin: 12px 0 0;
  font-size: 10px;
  color: rgba(255,255,255,.55);
  letter-spacing: .05em;
  text-transform: uppercase;
}
/* Italic quote below the CTA note */
.cat-cta-italic-quote {
  display: block;
  margin: 8px 0 0;
  font-size: 12px;
  font-style: italic;
  color: rgba(255,255,255,.6);
}

/* Smaller product image on very small phones */
@media (max-width: 479px) {
  .cat-product-img,
  .cat-product-img img {
    width: 72px;
    height: 72px;
  }
  .cat-view-link {
    font-size: 12px;
    padding: 6px 10px;
  }
}

/* 480px — more horizontal padding */
@media (min-width: 480px) {
  .cat-product-section, .cat-cta-section { padding-left: 24px; padding-right: 24px; }
  .cat-breadcrumb { padding-left: 24px; padding-right: 24px; }
}
/* 600px */
@media (min-width: 600px) {
  .cat-product-section, .cat-cta-section { padding-left: 32px; padding-right: 32px; }
  .cat-breadcrumb { padding-left: 32px; padding-right: 32px; }
}
/* 768px — tablet: larger CTA, wider padding */
@media (min-width: 768px) {
  .cat-product-section, .cat-cta-section { padding-left: 44px; padding-right: 44px; }
  .cat-breadcrumb { padding-left: 44px; padding-right: 44px; }
  .cat-section-title { font-size: 26px; }
  .cat-cta-new { padding: 48px 52px 52px; border-radius: 28px; }
  .cat-cta-new h2 { font-size: 30px; }
  .cat-cta-new .cat-cta-body { font-size: 15px; }
  .cat-cta-section .whatsapp-btn { width: 100%; max-width: none; }
}
/* 900px — desktop layout */
@media (min-width: 900px) {
  .cat-product-section { padding: 40px 60px 24px; max-width: 1040px; margin: 0 auto; }
  .cat-cta-section { padding: 16px 60px 48px; max-width: 1040px; margin: 0 auto; }
  .cat-breadcrumb { padding-left: 60px; padding-right: 60px; }
  .cat-section-title { font-size: 28px; }
  .cat-cta-new { padding: 54px 60px 58px; }
  .cat-cta-new h2 { font-size: 34px; }
}
/* 1024px */
@media (min-width: 1024px) {
  .cat-cta-new { padding: 60px 68px 64px; border-radius: 32px; }
  .cat-cta-new h2 { font-size: 38px; }
  .cat-cta-new .cat-cta-body { font-size: 16px; }
  .cat-cta-note { font-size: 11px; }
}
/* 1200px — large desktop */
@media (min-width: 1200px) {
  .cat-product-section, .cat-cta-section { max-width: 1200px; padding-left: 80px; padding-right: 80px; }
  .cat-breadcrumb { padding-left: 80px; padding-right: 80px; }
  .cat-cta-new { padding: 64px 72px 68px; }
}

/* Unified desktop CTA overrides — applies to all category pages and product.html at 900px+ */
@media (min-width: 900px) {
  /* Category CTA section layout */
  .cat-cta-section {
    padding: 32px 32px 48px;
    max-width: 1280px;
    margin: 0 auto;
    background: #f5f7fa;
    width: 100%;
    box-sizing: border-box;
  }
  /* Full-width CTA card */
  .cat-cta-new {
    padding: 56px 64px 60px;
    border-radius: 28px;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }
  .cat-cta-new h2 {
    font-size: 40px;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
  }
  .cat-cta-new .cat-cta-body {
    font-size: 15px;
    max-width: 640px;
    margin-bottom: 26px;
  }
  .cat-cta-section .whatsapp-btn {
    width: 100%;
    max-width: none;
  }
  .cat-cta-note {
    font-size: 11px;
    margin-top: 18px;
  }

  /* product.html dark banner overrides */
  .prod-cta-banner {
    padding: 56px 64px 60px;
    border-radius: 28px;
    max-width: 1280px;
    width: calc(100% - 64px);
    margin: 28px auto 0;
    box-sizing: border-box;
  }
  .prod-cta-banner h2 {
    font-size: 40px;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
  }
  .prod-cta-body {
    font-size: 15px;
    max-width: 640px;
    margin-bottom: 26px;
  }
  .prod-btn-whatsapp {
    width: 100%;
    max-width: none;
  }
  .prod-cta-foot {
    font-size: 11px;
    margin-top: 18px;
    text-align: left;
  }
  .prod-cta-italic {
    text-align: left;
  }
}

/* 1200px — large desktop refinements */
@media (min-width: 1200px) {
  .cat-cta-section {
    padding: 40px 40px 56px;
  }
  .cat-cta-new {
    padding: 64px 72px 68px;
  }
  .cat-cta-new h2 {
    font-size: 44px;
  }
  .cat-cta-new .cat-cta-body {
    font-size: 16px;
  }
  .prod-cta-banner {
    padding: 64px 72px 68px;
    width: calc(100% - 80px);
  }
  .prod-cta-banner h2 {
    font-size: 44px;
  }
  .prod-cta-body {
    font-size: 16px;
  }
}
