/*
Theme Name:  Lovell Industries
Theme URI:   https://lovell.co.za
Author:      Lovell Industries
Description: Custom theme for Lovell Industries — thermoformed packaging manufacturer.
Version:     2.0.8
License:     Proprietary
Text Domain: lovell
*/

/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', Helvetica, Arial, sans-serif;
  color: #111827;
  background: #fff;
  line-height: 1.5;
  font-size: 16px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* ─── CSS Variables ─────────────────────────────────────────────────────────── */
:root {
  --primary:    #0081C3;
  --secondary:  #A73861;
  --tint:       #E0F2FB;
  --green-dark: #1B4D1B;
  --green-bg:   #EAF3DE;
  --grey-bg:    #f5f5f5;
  --border:     #e5e7eb;
  --text-muted: #6b7280;
  --text-body:  #374151;
  --text-dark:  #111827;
  --radius:     8px;
  --radius-lg:  12px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
}

/* ─── Layout ────────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 56px 0; }
.section-sm { padding: 32px 0; }
.section-alt     { background: var(--grey-bg); }
.section-primary { background: var(--primary); }
.section-secondary{ background: var(--secondary); }
.section-green   { background: var(--green-bg); }

/* ─── Grid helpers ──────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-5 { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; }
.col-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: center; }
.col-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: center; }

/* ─── Typography ────────────────────────────────────────────────────────────── */
.label-tag {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--text-muted); margin-bottom: 10px;
}
.section-title { font-size: 28px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; }
.section-subtitle { font-size: 15px; color: var(--text-muted); margin-bottom: 36px; }
h1.page-title { font-size: 38px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
h2.block-title { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius); font-weight: 600; cursor: pointer;
  font-family: inherit; transition: opacity .15s, transform .1s;
  white-space: nowrap; padding: 10px 24px; font-size: 14px;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-sm   { padding: 6px 16px; font-size: 13px; }
.btn-md   { padding: 10px 24px; font-size: 14px; }
.btn-lg   { padding: 12px 32px; font-size: 15px; }
.btn-primary        { background: var(--primary);   color: #fff; border: none; }
.btn-secondary      { background: var(--secondary); color: #fff; border: none; }
.btn-outline-white  { background: transparent; color: #fff;          border: 2px solid #fff; }
.btn-outline-primary{ background: transparent; color: var(--primary); border: 2px solid var(--primary); }

/* ─── Navigation ─────────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 64px; display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 16px;
}
.nav-logo { justify-self: start; }
.nav-links { justify-self: center; }
.nav-right { justify-self: end; }
.nav-logo {
  font-weight: 700; font-size: 18px; color: var(--primary);
  letter-spacing: 1px; text-decoration: none; flex-shrink: 0;
  display: flex; align-items: center;
  margin: 0; padding: 0; line-height: 1;
}
.nav-logo a,
.nav-logo .custom-logo-link {
  display: inline-flex; align-items: center;
  margin: 0; padding: 0; line-height: 1;
}
.site-nav .nav-logo img,
.site-nav .nav-logo .custom-logo {
  min-height: 44px !important;
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  display: block;
  margin: 0;
  padding: 0;
}
.site-nav .nav-inner > .nav-logo { margin-left: 0; padding-left: 0; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a {
  font-size: 14px; color: #374151; font-weight: 400;
  transition: color .15s; padding: 4px 0;
}
.nav-links a:hover,
.nav-links a.current-menu-item { color: var(--primary); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone { font-size: 14px; color: var(--text-muted); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: #374151; margin: 5px 0; border-radius: 2px; transition: all .2s; }

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  background: var(--primary);
  min-height: 480px; display: flex; align-items: center; padding: 80px 0;
}
.hero > .container { width: 100%; align-self: center; }
.hero-fullbg {
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-content {
  max-width: 560px; text-align: left;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1  { font-size: 48px; font-weight: 700; line-height: 1.15; color: #fff; margin-bottom: 16px; }
.hero p   { font-size: 17px; color: rgba(255,255,255,.75); margin-bottom: 32px; line-height: 1.65; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-note { font-size: 13px; color: rgba(255,255,255,.6); }
.hero-img-placeholder {
  background: rgba(255,255,255,.1); border-radius: var(--radius-lg);
  min-height: 384px; display: flex; align-items: center;
  justify-content: center; color: rgba(255,255,255,.3); font-size: 13px;
}

/* ─── Cards ──────────────────────────────────────────────────────────────────── */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 20px; transition: border-color .2s, box-shadow .2s;
}
.card:hover { border-color: #9ca3af; box-shadow: var(--shadow-sm); }
.card-icon-box { width: 36px; height: 36px; border: 2px solid var(--primary); border-radius: 6px; margin-bottom: 12px; }
.card-img-placeholder { background: #e5e7eb; border-radius: var(--radius); margin-bottom: 16px; }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.card-body  { font-size: 13px; color: var(--text-muted); line-height: 1.55; }
/* Wysiwyg / rich text output — restores paragraph spacing reset by * { margin:0 } */
.prose p    { margin-bottom: 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin-bottom: 1em; padding-left: 1.4em; }
.prose li   { margin-bottom: .4em; }
.prose strong { font-weight: 700; }
.prose a    { color: var(--primary); text-decoration: underline; }
.card-link  { font-size: 13px; font-weight: 500; color: var(--primary); display: inline-block; margin-top: 12px; }

/* ─── Product cards ──────────────────────────────────────────────────────────── */
.product-card {
  background: #fff;
  border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.product-card:hover { border-color: #9ca3af; box-shadow: var(--shadow-sm); }
.product-img { background: #fff; height: 140px; display: flex; align-items: center; justify-content: center; color: #d1d5db; font-size: 12px; border-bottom: 1px solid var(--border); }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.product-info { padding: 14px; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 10px; margin-bottom: 6px; }
.tag-food    { background: var(--tint); color: #005a8a; }
.tag-retail  { background: #ECFDF5; color: #065f46; }
.tag-medical { background: #FFF7ED; color: #92400e; }
.tag-custom  { background: #F5F3FF; color: #4c1d95; }
.product-material { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ─── Stat blocks ────────────────────────────────────────────────────────────── */
.stats-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 16px 0; }
.stat-n { font-size: 52px; font-weight: 700; color: #fff; line-height: 1; }
.stat-l { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 8px; text-transform: uppercase; letter-spacing: .5px; }
.stat-green { background: var(--green-bg); border-radius: 10px; padding: 20px; text-align: center; }
.stat-green .stat-n { font-size: 36px; color: var(--green-dark); }
.stat-green .stat-l { color: var(--green-dark); }

/* ─── Process steps ──────────────────────────────────────────────────────────── */
.step-circle {
  width: 56px; height: 56px; border-radius: 50%;
  border: 2px solid var(--primary); display: flex; align-items: center;
  justify-content: center; font-size: 20px; font-weight: 700;
  color: var(--primary); margin: 0 auto 12px;
}
.step-title { font-weight: 700; font-size: 14px; text-align: center; margin-bottom: 4px; }
.step-body  { font-size: 13px; color: var(--text-muted); text-align: center; }

/* ─── Vertical process (services) ───────────────────────────────────────────── */
.vprocess { position: relative; padding-left: 48px; }
.vprocess::before {
  content: ''; position: absolute; left: 13px; top: 0; bottom: 0;
  width: 2px; background: var(--primary);
}
.vstep { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.vstep-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; flex-shrink: 0;
  position: relative; z-index: 1;
  margin-left: -48px; margin-right: 16px;
}
.vstep-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 2px 8px; border-radius: 4px;
  background: var(--primary); color: #fff;
  margin-left: 8px; vertical-align: middle;
}
.vstep-title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.vstep-body  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ─── Milestone timeline ─────────────────────────────────────────────────────── */
.milestones { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; }
.milestone + .milestone { border-left: 1px solid #d1d5db; padding-left: 20px; }
.milestone-year  { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.milestone-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.milestone-desc  { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ─── Accordion ──────────────────────────────────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; font-family: inherit; font-size: 14px;
  font-weight: 700; color: var(--text-dark); text-align: left;
}
.accordion-icon { font-size: 22px; color: #9ca3af; line-height: 1; }
.accordion-body {
  font-size: 13px; color: var(--text-muted); line-height: 1.65;
  padding-bottom: 16px; display: none;
}
.accordion-body.open { display: block; }

/* ─── Sustainability pillars ─────────────────────────────────────────────────── */
.pillar {
  background: #fff; border-radius: var(--radius); padding: 20px;
  border-left: 3px solid #3B6D11;
}
.pillar-icon {
  width: 40px; height: 40px; background: var(--green-bg);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 20px; margin-bottom: 12px;
}

/* ─── Logo strip ─────────────────────────────────────────────────────────────── */
.logo-swiper { overflow: hidden; }
.logo-slide { display: flex; align-items: center; justify-content: center; }
.logo-pill {
  height: 56px; padding: 0 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: #4b5563;
  text-decoration: none;
  transition: opacity .2s;
}
.logo-pill img {
  max-height: 40px; max-width: 140px;
  width: auto; height: auto; object-fit: contain;
  display: block;
  filter: grayscale(100%); opacity: .7;
  transition: filter .2s, opacity .2s;
}
.logo-pill:hover img { filter: none; opacity: 1; }
.logo-pill:not(:has(img)) {
  height: 32px; background: #d1d5db; border-radius: 4px; padding: 0 20px;
}

/* ─── Quality list ───────────────────────────────────────────────────────────── */
.quality-list { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.quality-list li { font-size: 13px; color: var(--text-body); display: flex; gap: 8px; }
.quality-list li::before { content: "•"; color: #16a34a; font-weight: 700; }

/* ─── Filter bar (packaging) ─────────────────────────────────────────────────── */
.filter-bar {
  position: sticky; top: 64px; background: #fff;
  border-bottom: 1px solid var(--border); z-index: 40; padding: 12px 0;
}
.filter-bar-inner { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.search-wrap { position: relative; flex: 1; min-width: 200px; }
.search-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #9ca3af; }
#product-search { width: 100%; padding: 8px 12px 8px 32px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; font-family: inherit; outline: none; }
.filter-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn {
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 500;
  cursor: pointer; border: 1px solid var(--border); background: #fff; color: #374151;
  font-family: inherit; transition: all .15s;
}
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ─── Contact / Forms ────────────────────────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-input {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 13px; font-family: inherit;
  outline: none; transition: border-color .2s;
}
.form-input:focus { border-color: var(--primary); }
.form-select {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 13px; font-family: inherit;
  background: #fff; outline: none; margin-bottom: 12px;
}
.form-textarea {
  width: 100%; padding: 9px 12px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 13px; font-family: inherit;
  height: 96px; resize: none; outline: none; margin-bottom: 12px; transition: border-color .2s;
}
.form-textarea:focus { border-color: var(--primary); }
.upload-zone {
  border: 2px dashed var(--border); border-radius: var(--radius);
  height: 60px; display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: #9ca3af; cursor: pointer; margin-bottom: 16px;
}
.form-note { font-size: 12px; color: #9ca3af; text-align: center; margin-top: 10px; }
.warn-box {
  background: #FEF3C7; border: 1px solid #F59E0B; border-radius: var(--radius);
  padding: 12px; font-size: 13px; font-weight: 500; color: #92400E; margin-bottom: 16px;
}
.success-box {
  background: #f0fdf4; border: 1px solid #86efac;
  border-radius: var(--radius-lg); padding: 32px; text-align: center; display: none;
}

/* ─── Cert badges ────────────────────────────────────────────────────────────── */
.cert-sm {
  width: 56px; height: 40px; background: #e5e7eb; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #374151; text-align: center; line-height: 1.2;
}
.cert-row { display: flex; gap: 12px; align-items: center; }
.cert-row p { font-size: 12px; color: var(--text-muted); }

/* ─── Image placeholders ─────────────────────────────────────────────────────── */
.img-ph {
  background: #e5e7eb; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af; font-size: 13px;
}
.img-ph-green { background: #C0DD97; border-radius: var(--radius-lg); }

/* ─── Footer ─────────────────────────────────────────────────────────────────── */
.site-footer { background: #0B1E3C; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; padding: 48px 0 0;
}
.footer-logo   { font-weight: 700; font-size: 18px; color: #fff; margin-bottom: 12px; letter-spacing: 1px; }
.footer-body   { font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; margin-bottom: 12px; }
.footer-link   { display: block; font-size: 13px; color: rgba(255,255,255,.85); margin-bottom: 4px; }
.footer-muted  { font-size: 13px; color: rgba(255,255,255,.55); }
.footer-col-heading { font-weight: 600; font-size: 13px; color: #fff; margin-bottom: 12px; }
.footer-nav-list { list-style: none; margin: 0; padding: 0; }
.footer-nav-list li { display: block; }
.footer-nav-link {
  display: block; font-size: 13px; color: rgba(255,255,255,.7);
  padding: 3px 0; transition: color .15s;
}
.footer-nav-link:hover { color: #fff; }
.footer-certs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 24px;
  border-top: 1px solid rgba(255,255,255,.2); padding: 24px 0;
}
.footer-cert-item { display: flex; align-items: center; gap: 12px; }
.footer-cert-badge {
  width: 64px; height: 48px; background: rgba(255,255,255,.15);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: #fff; text-align: center; line-height: 1.2;
}
.footer-cert-badge.icon { font-size: 22px; width: 48px; }
.footer-cert-badge-img { background-color: transparent; padding: 0; filter: brightness(0) invert(1); }
.footer-cert-title { font-size: 12px; font-weight: 600; color: #fff; }
.footer-cert-sub   { font-size: 11px; color: rgba(255,255,255,.6); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); background: var(--secondary); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; font-size: 12px; color: rgba(255,255,255,.6);
}
.footer-legal { display: flex; gap: 16px; align-items: center; }
.footer-legal a { color: rgba(255,255,255,.6); font-size: 12px; }
.footer-legal a:hover { color: #fff; }
.footer-sep { color: rgba(255,255,255,.3); }

/* ─── CTA strip ──────────────────────────────────────────────────────────────── */
.cta-strip { background: var(--primary); padding: 40px 0; }
.cta-strip-inner { display: flex; justify-content: space-between; align-items: center; }
.cta-strip h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.cta-strip p  { font-size: 14px; color: rgba(255,255,255,.7); }

/* ─── Breadcrumb ─────────────────────────────────────────────────────────────── */
.breadcrumb { font-size: 12px; color: #9ca3af; margin-bottom: 8px; }
.breadcrumb a { color: #9ca3af; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--primary); }

/* ─── Page header ────────────────────────────────────────────────────────────── */
.page-header { background: var(--primary); padding: 40px 0; }
.page-header .breadcrumb { color: rgba(255,255,255,.6); }
.page-header .breadcrumb a { color: rgba(255,255,255,.6); }
.page-header .breadcrumb a:hover { color: #fff; }
.page-header .breadcrumb span { color: rgba(255,255,255,.9); }
.page-header h1.page-title { color: #fff !important; }
.page-header p { color: rgba(255,255,255,.8) !important; }

/* ─── Sticky aside ───────────────────────────────────────────────────────────── */
.sticky-aside { position: sticky; top: 80px; }

/* ─── Product detail ─────────────────────────────────────────────────────────── */
.spec-row { display: flex; padding: 12px 0; border-bottom: 1px solid var(--border); }
.spec-label { font-size: 13px; color: var(--text-muted); width: 40%; }
.spec-value { font-size: 13px; color: var(--text-dark); width: 60%; }
.thumb-strip { display: grid; grid-template-columns: repeat(4, auto); gap: 8px; margin-top: 12px; justify-content: start; }
.thumb-btn {
  width: 72px; height: 72px; background: #f5f5f5;
  border: 2px solid var(--border); border-radius: 6px; cursor: pointer;
}
.thumb-btn.active { border-color: var(--primary); }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-5, .milestones { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; }
  .hero-grid, .col-3-2, .col-2-1, .grid-2, .grid-3, .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .milestones { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; gap: 32px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-inner {
    grid-template-columns: 1fr auto;
  }
  .nav-links { justify-self: unset; }
  .nav-right { justify-self: unset; }
  .cta-strip-inner { flex-direction: column; gap: 16px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 40px 0; }
}

/* ─── Category pages ─────────────────────────────────────────────────────────── */
.cat-hero { background: #fff; padding: 64px 0 56px; border-bottom: 1px solid var(--border); }
.cat-hero-inner { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: center; }
.cat-hero h1 { font-size: 40px; font-weight: 700; line-height: 1.2; color: var(--text-dark); margin-bottom: 16px; }
.cat-hero .intro { font-size: 16px; color: var(--text-body); line-height: 1.7; margin-bottom: 28px; }
.cat-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.cat-hero-img {
  background: #fff; border-radius: var(--radius-lg);
  min-height: 280px; display: flex; align-items: center;
  justify-content: center; color: var(--text-muted); font-size: 13px;
  overflow: hidden;
}
.cat-hero-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.cat-breadcrumb { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; display: flex; gap: 6px; align-items: center; }
.cat-breadcrumb a { color: var(--text-muted); }
.cat-breadcrumb a:hover { color: var(--primary); }
.cat-breadcrumb-sep { color: #d1d5db; }

/* Trust strip */
.trust-strip { background: #f5f5f5; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; }
.trust-strip-inner { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-body); }
.trust-badge {
  width: 48px; height: 36px; background: #e5e7eb; border-radius: 5px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #374151; text-align: center; line-height: 1.2; flex-shrink: 0;
}

/* Body section */
.body-section { padding: 56px 0; }
.body-section-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: start; }
.body-section h2 { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.body-section p { font-size: 15px; color: var(--text-body); line-height: 1.75; margin-bottom: 16px; }
.body-section p:last-child { margin-bottom: 0; }
.body-section a { color: var(--primary); }

/* Capabilities sidebar */
.cap-list { display: flex; flex-direction: column; gap: 8px; }
.cap-list-item { font-size: 13px; color: var(--text-body); }
.sidebar-links { display: flex; flex-direction: column; gap: 6px; }
.sidebar-link { font-size: 13px; color: var(--primary); }
.sidebar-heading { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 12px; }

/* Subcategory grid */
.subcat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.subcat-grid-4 { grid-template-columns: repeat(4, 1fr); }
/* -- Our Packaging: category cards ------------------------------------------- */
.cat-card-media {
  height: 220px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cat-card-media img {
  height: 100%; width: auto; display: block; flex-shrink: 0;
}
.cat-card-placeholder {
  color: var(--primary); font-size: 13px;
}

.subcat-card {
  background: #fff;
  border: 1px solid var(--border); border-radius: 10px; overflow: hidden;
  transition: border-color .2s, box-shadow .2s; display: block; color: inherit;
}
.subcat-card:hover { border-color: #9ca3af; box-shadow: var(--shadow-sm); text-decoration: none; }
.subcat-img {
  height: 160px; background: #fff; display: flex; align-items: center;
  justify-content: center; color: #d1d5db; font-size: 12px; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.subcat-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.subcat-info { padding: 16px; }
.subcat-title { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 6px; }
.subcat-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 10px; }
.subcat-link { font-size: 13px; font-weight: 500; color: var(--primary); }

/* Category CTA section */
.cat-cta { background: var(--primary); padding: 56px 0; }
.cat-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cat-cta h2 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.cat-cta p { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.65; }
.cat-cta-bullets { list-style: none; margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.cat-cta-bullets li { font-size: 14px; color: rgba(255,255,255,.8); }
.cat-cta-form { background: rgba(255,255,255,.1); border-radius: var(--radius-lg); padding: 28px; }
.cat-cta-form h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.cta-input {
  width: 100%; padding: 10px 12px; border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius); font-size: 13px; font-family: inherit;
  background: rgba(255,255,255,.15); color: #fff; outline: none; margin-bottom: 10px;
}
.cta-input::placeholder { color: rgba(255,255,255,.6); }
.cta-input:focus { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.2); }
.cta-textarea {
  width: 100%; padding: 10px 12px; border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius); font-size: 13px; font-family: inherit;
  background: rgba(255,255,255,.15); color: #fff; outline: none;
  margin-bottom: 14px; height: 80px; resize: none;
}
.cta-textarea::placeholder { color: rgba(255,255,255,.6); }
.btn-cta-white {
  width: 100%; background: #fff; color: var(--secondary); border: none;
  padding: 12px 28px; border-radius: var(--radius); font-weight: 700;
  font-size: 14px; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .15s;
}
.btn-cta-white:hover { opacity: .9; }
.cta-form-note { font-size: 12px; color: rgba(255,255,255,.5); text-align: center; margin-top: 10px; }

@media (max-width: 900px) {
  .cat-hero-inner, .body-section-grid, .cat-cta-inner { grid-template-columns: 1fr; }
  .subcat-grid, .subcat-grid-4 { grid-template-columns: repeat(2,1fr); }
  .cat-hero h1 { font-size: 28px; }
  .trust-strip-inner { gap: 16px; }
}
@media (max-width: 480px) {
  .subcat-grid, .subcat-grid-4 { grid-template-columns: 1fr; }
}

/* -- Single product: full description ---------------------------------------- */
.product-description p { margin-bottom: 14px; }
.product-description p:last-child { margin-bottom: 0; }
.product-description h2,
.product-description h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin: 24px 0 10px; }
.product-description ul,
.product-description ol { margin: 0 0 14px 20px; }
.product-description li { margin-bottom: 6px; }
.product-description a { color: var(--primary); }
.product-description img { border-radius: var(--radius); margin: 16px 0; }
.product-description table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.product-description th,
.product-description td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; font-size: 14px; }

/* -- Resources page ---------------------------------------------------------- */
.resource-section-heading {
  font-size: 18px; font-weight: 700; color: var(--text-dark);
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.resource-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.resource-card {
  background: #fff;
  border: 1px solid var(--border); border-radius: 10px;
  padding: 24px; text-align: center;
  transition: border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column; align-items: center;
}
.resource-card:hover { border-color: #9ca3af; box-shadow: var(--shadow-sm); }
.resource-img {
  width: 100%; height: 140px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.resource-img img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto; object-fit: contain;
  display: block;
}
.resource-info { flex: 1; display: flex; flex-direction: column; }
.resource-title {
  font-size: 14px; font-weight: 600; color: var(--text-dark);
  line-height: 1.4; margin-bottom: 12px; flex: 1;
}
.resource-link {
  font-size: 13px; font-weight: 500; color: var(--primary);
  text-decoration: none;
}
.resource-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .resource-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .resource-grid { grid-template-columns: 1fr; }
}

/* -- Material Symbols: Who We Serve icon system ------------------------------ */
.serve-icon-wrap { position: relative; width: 90px; height: 90px; margin: 0 auto 18px; }
.serve-icon-circle {
  position: absolute; top: 0; left: 0; width: 72px; height: 72px; border-radius: 50%;
  background: #fff; border: 3px solid var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.serve-icon-circle .material-symbols-outlined {
  font-size: 54px; color: #0a2540;
  font-variation-settings: 'FILL' 0, 'wght' 400;
}
.serve-icon-badge {
  position: absolute; bottom: 14px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.serve-icon-badge .material-symbols-outlined {
  font-size: 26px; color: var(--secondary);
  font-variation-settings: 'FILL' 1, 'wght' 400;
}
