/*
Theme Name: Hantong
Theme URI: https://dosenderchem.com/
Description: Hantong is a clean, corporate WordPress theme built for chemical & specialty-materials companies (inspired by Shandong Do Sender Chemicals / Perodox®). It ships with a full-width mega menu for Markets, Products, Company, News and Features and Contact, custom page templates for each section, and a responsive, accessibility-friendly layout.
Author: WorkBuddy
Author URI: https://www.codebuddy.cn/
Version: 1.7.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hantong
Tags: custom-menu, featured-images, theme-options, threaded-comments, translation-ready, accessibility-ready, footer-widgets
*/

/* =========================================================
   HANTONG — Design tokens
   ========================================================= */
:root {
  /* —— Hantong 五行配色 —— */
  --c-primary:       #B8893A;   /* 鎏金铜棕 — 主色（乾金，资源/重工信任感） */
  --c-primary-dark:  #9A6F2B;   /* 深铜棕 — 主色 hover */
  --c-primary-dkr:   #5C4326;   /* 坤土褐 — 沉稳底色 / footer */
  --c-accent:        #1F4E79;   /* 沧溟蓝 — 链接 / 数据高亮（水生木，润金） */
  --c-accent-light:  #5B86B3;   /* 沧溟蓝（浅，用于深色背景） */
  --c-accent-2:      #D7A94B;   /* 浅鎏金 — 深色区高亮 */
  --c-sustain:       #5F7A3A;   /* 沉静橄榄绿（非荧光） */
  --c-ink:           #2B2118;   /* 暖近黑 — 正文 */
  --c-muted:         #6B5B45;   /* 暖灰 — 副文 */
  --c-bg:            #F5F1E8;   /* 宣纸米灰 — 背景留白 */
  --c-bg-soft:       #ECE5D6;   /* 米灰 — 浅交替区 */
  --c-bg-dark:       #2E2013;   /* 深铜褐 — 深色区背景 */
  --c-border:        #E2D9C7;   /* 暖边框 */
  --c-shadow:        0 18px 40px -22px rgba(92, 67, 38, .38);

  --maxw: 1240px;
  --radius: 14px;
  --radius-sm: 8px;
  --header-h: 92px;

  /* Typography: Archivo (headings, industrial) + Inter (body, screen-friendly).
     CJK falls back to modern Chinese sans (PingFang / YaHei). */
  --ff-base: "Inter", "Segoe UI", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --ff-head: "Archivo", "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-base);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-primary); }
h1, h2, h3, h4, h5, h6 { font-family: var(--ff-head); line-height: 1.2; color: var(--c-primary-dark); margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; color: var(--c-muted); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--c-bg-dark); color: #E4D8C2; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: var(--c-accent-light); }
.section--dark p { color: #C9BBA0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 600;
  font-size: .95rem; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--c-primary); color: #2B2118; font-weight: 700; }
.btn--primary:hover { background: var(--c-primary-dark); color: #2B2118; }
.btn--ghost { background: transparent; border-color: currentColor; color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--dark { background: var(--c-primary-dkr); color: var(--c-accent-2); }
.btn--dark:hover { background: #4a3318; color: #fff; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; display: inline-block; width: 26px; height: 2px;
  background: var(--c-accent); vertical-align: middle; margin-right: 10px; }

/* Grid helpers */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px){ .grid--3, .grid--4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Cards */
.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--c-shadow); border-color: transparent; }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(184,137,58,.14); color: var(--c-primary); font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; }
.card p { font-size: .94rem; margin-bottom: 0; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 0 rgba(92,67,38,.06);
}
.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}
.site-logo { display: flex; align-items: center; gap: 12px; font-family: var(--ff-head); font-weight: 700; color: var(--c-primary-dark); font-size: 1.05rem; letter-spacing: .01em; }
.site-logo:hover { color: var(--c-primary-dark); }
.site-logo img {
  height: 64px; width: auto; max-width: 80px; object-fit: contain;
  border-radius: 10px; background: transparent; flex-shrink: 0;
}
.site-logo__name { white-space: nowrap; line-height: 1.15; }

/* Primary nav: 5 menu items distributed evenly across the middle zone
   (between the logo on the left and the right edge where the
   "Get a Quote" button used to be). */
.main-nav { display: flex; align-items: center; justify-content: stretch; min-width: 0; }
/* Scoped to the TOP-LEVEL list only. A bare `.main-nav ul` also matches the
   mega panel's nested lists (.mega__cols / .mega__col-list) and, with higher
   specificity (0,1,1 vs 0,1,0), overrides their display:grid — which is what
   broke the mega menu's column layout. */
.main-nav > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 4px;
  flex: 1 1 auto;
  justify-content: space-evenly;
  width: 100%;
}
.main-nav > ul > li { position: static; }
.main-nav > ul > li > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px;
  color: var(--c-primary-dark); font-weight: 600; font-size: .95rem; border-radius: 8px;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.is-active > a { background: var(--c-bg-soft); color: var(--c-accent); }
.main-nav > ul > li.menu-item-has-children > a::after {
  content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.main-nav > ul > li.menu-item-has-children:hover > a::after { transform: rotate(225deg) translateY(-2px); }

.header-cta { display: none; }

/* Mega menu panel — dosenderchem.com style: left two-tone title + two solid
   action buttons, right a grid of product sub-directories with plain links. */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff;
  border-top: 3px solid var(--c-accent);
  box-shadow: 0 22px 48px -18px rgba(28,39,51,.28);
  padding: 46px 0 52px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.main-nav li.has-mega:hover > .mega,
.main-nav li.has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__grid { display: grid; grid-template-columns: 170px 1fr; gap: 40px 24px; }
.mega__title { font-family: var(--ff-head); font-size: 1.9rem; font-weight: 800; line-height: 1.18; margin: 0 0 26px; color: var(--c-ink); }
.mega__title-light { font-weight: 300; color: var(--c-muted); }
.mega__btns { display: grid; }
.mega__btn { display: block; text-align: center; background: var(--c-primary); color: #fff; font-weight: 700; font-size: .92rem; padding: 13px 12px; border-radius: 4px; transition: background .15s ease; }
.mega__btn:hover { background: var(--c-primary-dark); color: #fff; }
/* Each first-level category is one column; its branches stack vertically
   beneath the heading. Fixed 4 columns (8 categories = 2 rows of 4). */
.mega__cols {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 34px 28px;
}
.mega__col { min-width: 0; }
.mega__col h5 { margin: 0 0 10px; padding: 0; border-bottom: none; }
.mega__col h5 a { font-size: .95rem; font-weight: 700; letter-spacing: normal; text-transform: none; color: var(--c-ink); }
.mega__col h5 a:hover { color: var(--c-accent); }
.mega__col-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__col-list a { display: block; padding: 5px 0; color: #44525f; font-weight: 400; font-size: .88rem; white-space: nowrap; transition: color .15s ease; }
.mega__col-list a:hover { color: var(--c-accent); }
.mega__col-list a span { display: none; } /* one-line plain links, per reference */

/* Two-level dropdowns (Company / News and Features / Contact): the walker
   renders their children as plain links directly inside .mega__cols, so they
   need the same treatment as the three-level branch links. */
.mega__cols > .mega__link > a { display: block; padding: 8px 0; color: var(--c-ink); font-weight: 500; font-size: .95rem; transition: color .15s ease, padding-left .15s ease; }
.mega__cols > .mega__link > a:hover { color: var(--c-accent); padding-left: 7px; }
.mega__cols > .mega__link > a span { display: block; font-size: .78rem; color: var(--c-muted); font-weight: 400; margin-top: 2px; line-height: 1.4; }

/* Contact mega (slim) */
.mega--contact .mega__grid { grid-template-columns: 1fr; }
.mega--contact .mega__cols { grid-template-columns: repeat(3, 1fr); }

/* Mobile toggle */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--c-primary-dark); margin: 5px 0; transition: .2s; }

/* =========================================================
   Hero (front page)
   ========================================================= */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(184,137,58,.30), transparent 60%),
    linear-gradient(135deg, var(--c-primary-dkr), var(--c-primary));
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(circle at 70% 20%, #000, transparent 75%);
  pointer-events: none;            /* let clicks reach the buttons underneath */
  z-index: 0;
}
.hero > .container, .hero .hero__grid, .hero .hero__copy, .hero .hero__media { position: relative; z-index: 1; }
.hero__inner { position: relative; padding: 110px 0 120px; max-width: 760px; }
.hero .eyebrow { color: var(--c-accent-2); }
.hero h1 { color: #fff; }
.hero p { color: #E4D8C2; font-size: 1.12rem; }
.hero .btn { margin-top: 10px; }
/* Primary CTA in the hero uses white text on the copper button */
.hero .btn--primary,
.hero .btn--primary:hover { color: #fff; }
/* Stats: 2 columns × 2 rows */
.hero__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; margin-top: 46px; }
.hero__stat b { display: block; font-size: clamp(1.05rem, 2vw, 1.5rem); color: #fff; font-family: var(--ff-head); line-height: 1.2; margin-bottom: 6px; white-space: nowrap; }
.hero__stat span { font-size: .82rem; color: #C9BBA0; letter-spacing: .04em; }
@media (max-width: 480px){
  .hero__stats { grid-template-columns: 1fr; gap: 18px; }
}

/* Hero (cover) — editable two-column layout: copy on the left, image on the right */
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 96px 0 90px;
}
.hero__copy { max-width: 620px; }
.hero__copy h1 { margin-top: 8px; font-size: clamp(1.7rem, 3.6vw, 2.7rem); line-height: 1.14; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero__ctas .btn { margin-top: 0; }
.hero__media { display: flex; align-items: center; justify-content: center; }
.hero__media img {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 28px 56px rgba(0,0,0,.45));
  border-radius: 16px;
}
@media (max-width: 880px){
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding: 70px 0 64px; }
  .hero__copy { max-width: none; }
  .hero__media img { max-width: 320px; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, var(--c-primary-dkr), var(--c-primary));
  padding: 84px 0 92px;
}
.page-hero::after { content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;            /* let clicks reach the buttons underneath */
  z-index: 0;
}
.page-hero > .container, .page-hero .page-hero__inner { position: relative; z-index: 1; }
.page-hero__inner { position: relative; max-width: 820px; }
.page-hero .eyebrow { color: var(--c-accent-2); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #E4D8C2; font-size: 1.08rem; }

/* Split hero (markets page): text left, image right */
.page-hero--split .page-hero__inner {
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.page-hero--split .page-hero__text { max-width: 640px; }
.page-hero--split .page-hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--c-shadow);
}
.page-hero--split .page-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (max-width: 880px){
  .page-hero--split { padding: 64px 0 72px; }
  .page-hero--split .page-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero--split .page-hero__media { order: -1; }
}

/* Breadcrumb */
.breadcrumb { font-size: .82rem; color: #B8A988; margin-bottom: 14px; }
.breadcrumb a { color: #E4D8C2; }
.breadcrumb--dark { color: var(--c-muted); }
.breadcrumb--dark a { color: var(--c-primary); }

/* =========================================================
   Feature / content blocks
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 880px){ .split { grid-template-columns: 1fr; gap: 32px; } }
.split__media {
  border-radius: var(--radius); min-height: 320px; background:
  linear-gradient(135deg, rgba(184,137,58,.90), rgba(31,78,121,.92)),
  repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px);
  display: grid; place-items: center; color: #fff; text-align: center; padding: 30px;
}
.split__media .badge { font-size: 3rem; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .tick {
  flex: 0 0 26px; height: 26px; border-radius: 50%;   background: rgba(184,137,58,.16);
  color: var(--c-primary-dark); display: grid; place-items: center; font-weight: 800; font-size: .9rem; margin-top: 2px;
}

/* Stats strip */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 880px){ .stat-strip { grid-template-columns: repeat(2,1fr); } }
.stat-strip .stat { background: rgba(245,241,232,.06); border: 1px solid rgba(245,241,232,.12); border-radius: var(--radius); padding: 26px; min-width: 0; }
.stat-strip .stat b { display: block; font-size: clamp(1.1rem, 1.7vw, 1.55rem); color: var(--c-accent-2); font-family: var(--ff-head); line-height: 1.25; margin-bottom: 4px; white-space: normal; }
.stat-strip .stat span { color: #C9BBA0; font-size: .88rem; }
@media (max-width: 480px){
  .stat-strip { grid-template-columns: 1fr; }
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); color: #fff;
  border-radius: 20px; padding: 54px; display: flex; align-items: center;
  justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin: 0 0 6px; }
.cta-banner p { color: #F3ECDD; margin: 0; }
.cta-banner .btn--primary,
.cta-banner .btn--primary:hover { color: #fff; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--c-bg-dark); color: #C9BBA0; padding: 64px 0 28px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 880px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer a { color: #C9BBA0; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a { font-size: .92rem; }
.footer-about p { font-size: .92rem; max-width: 320px; }
/* Footer brand: logo stacked ABOVE the company name, white text on dark footer */
.footer-brand { flex-direction: column; align-items: flex-start; gap: 12px; color: #fff; margin-bottom: 16px; }
.footer-brand img { width: 76px; height: auto; display: block; }
.footer-brand .site-logo__name { color: #fff; font-size: 1.1rem; white-space: normal; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: #9a8a6f; }

/* =========================================================
   Contact form
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; }
@media (max-width: 880px){ .contact-grid { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--c-primary-dark); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  font: inherit; color: var(--c-ink); background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(31,78,121,.18);
}
.info-card { background: var(--c-bg-soft); border-radius: var(--radius); padding: 28px; }
.info-card h3 { margin-bottom: 4px; }
.info-card .row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-border); }
.info-card .row:last-child { border-bottom: 0; }
.info-card .row .ic { color: var(--c-accent); font-size: 1.2rem; }
.info-card .row b { color: var(--c-primary-dark); display: block; font-size: .9rem; }
.info-card .row span { font-size: .9rem; }

/* Markets contact form */
.markets-contact { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 34px 32px; }
.markets-contact__form .btn--primary { margin-top: 6px; color: #fff; }
.markets-contact__form .btn--primary:hover { color: #fff; }
.markets-contact__form .form-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2344525f' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
}

/* News cards */
.news-card { display: grid; grid-template-columns: 200px 1fr; gap: 0; border: 1px solid var(--c-border);
  border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.news-card:hover { box-shadow: var(--c-shadow); transform: translateY(-3px); }
@media (max-width: 640px){ .news-card { grid-template-columns: 1fr; } }
.news-card__thumb { background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); min-height: 150px; }
.news-card__body { padding: 24px; }
.news-card__meta { font-size: .8rem; color: var(--c-muted); margin-bottom: 8px; }
.news-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(184,137,58,.14); color: var(--c-primary); padding: 4px 10px; border-radius: 999px; }

/* =========================================================
   Responsive header / off-canvas mobile nav
   ========================================================= */
@media (max-width: 1080px){
  .nav-toggle { display: block; }
  .site-header__inner { display: flex; justify-content: space-between; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(86vw, 360px);
    background: #fff; box-shadow: -20px 0 50px rgba(0,0,0,.2); flex-direction: column;
    align-items: stretch; justify-content: flex-start; padding: 24px; transform: translateX(100%); transition: transform .3s ease;
    overflow-y: auto; z-index: 200;
  }
  body.nav-open .main-nav { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul { flex: 0 0 auto; justify-content: flex-start; max-width: none; }
  .main-nav > ul > li > a { display: flex; justify-content: space-between; padding: 14px 10px; border-bottom: 1px solid var(--c-border); }
  .mega {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    padding: 6px 0 14px; border-top: 0;
  }
  .mega__grid, .mega__cols { grid-template-columns: 1fr; gap: 14px; }
  .mega__intro { display: none; }
  body.nav-open::after { content:""; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 150; }
}
.nav-close { display: none; }
@media (max-width: 1080px){ .nav-close { display: block; align-self: flex-end; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--c-primary-dark); } }

/* =========================================================
   WordPress core
   ========================================================= */
.alignwide { max-width: 1400px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor { }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* =========================================================
   Home template modules (modelled on leapchem.com flow)
   ========================================================= */
.link-more {
  display: inline-block; margin-top: 14px; color: var(--c-accent);
  font-weight: 700; font-size: .9rem; letter-spacing: .02em;
}
.link-more::after { content: " →"; }
a:hover > .link-more, .link-more:hover { color: var(--c-primary-dark); }

/* Product categories — large cards already use .card; tighten spacing */
.home-cats .card { padding: 34px 28px; }

/* Product categories — image background variant (replaces emoji icon) */
.home-cats .card--cat {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 0;
  border: none;
  display: flex;
  align-items: stretch;
  color: #fff;
  text-decoration: none;
  background-color: var(--c-primary-dkr);
  background-size: cover;
  background-position: center;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  transition: transform .25s ease;
}
.home-cats .card--cat:hover { transform: translateY(-4px); box-shadow: var(--c-shadow); border: none; }
.home-cats .card--cat::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46,32,19,.82) 0%, rgba(46,32,19,.45) 45%, rgba(46,32,19,.30) 100%);
  z-index: 0;
}
.home-cats .card--cat .card__body {
  position: relative;
  z-index: 1;
  padding: 28px 24px 28px;
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}
.home-cats .card--cat h3 { color: #fff; margin: 0 0 8px; font-size: 1.2rem; }
.home-cats .card--cat p  { color: #E4D8C2; margin: 0 0 12px; font-size: .92rem; }
.home-cats .card--cat .link-more { color: #fff; margin-top: auto; align-self: flex-start; }
.home-cats .card--cat .link-more::after { content: none; }
.home-cats .card--cat:hover .link-more { color: #fff; }
@media (max-width: 640px){
  .home-cats .card--cat { min-height: 220px; }
}

/* Markets page: vertical cards with top image + title + bullets */
.markets-section { padding-top: 64px; }
.markets-breadcrumb { margin-bottom: 24px; }
.markets-section__header {
  max-width: 780px;
  margin: 0 auto 50px;
  text-align: center;
}
.markets-section__header .eyebrow { color: var(--c-primary); }
.markets-section__header h2 { color: var(--c-ink); }
.markets-section__header p { margin-top: 14px; color: var(--c-muted); }
.markets-grid { gap: 26px; }
.card--market {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--c-ink);
  transform: translateZ(0);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card--market:hover {
  transform: translateY(-4px);
  box-shadow: var(--c-shadow);
  border-color: transparent;
}
.card--market__image {
  position: relative;
  flex: 0 0 140px;
  height: 140px;
  overflow: hidden;
}
.card--market__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card--market .card__body {
  position: relative;
  flex: 1 1 auto;
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.card--market h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  line-height: 1.3;
  min-height: 3.08rem; /* reserve 2 lines so sub-item lists top-align across cards */
  color: var(--c-ink);
}
.card--market p {
  margin: 0 0 14px;
  font-size: .92rem;
  color: var(--c-muted);
}
.market-bullets {
  list-style: disc;
  margin: 0 0 0 18px;
  padding: 0;
  color: var(--c-muted);
  font-size: .86rem;
  line-height: 1.55;
}
.market-bullets li { margin-bottom: 4px; }
@media (max-width: 1080px){
  .card--market { min-height: 480px; }
}
@media (max-width: 640px){
  .card--market { min-height: auto; }
  .card--market__image { flex-basis: 120px; height: 120px; }
}

/* Capabilities (numbered blocks) */
.home-caps { gap: 26px; }
.cap {
  background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 32px 28px;
}
.cap__no {
  font-size: 1.5rem; font-weight: 800; color: var(--c-primary);
  background: rgba(184,137,58,.14); width: 52px; height: 52px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
}
.cap h3 { font-size: 1.18rem; margin: 0 0 10px; }
.cap p { color: var(--c-muted); margin: 0; }
.home-caps .link-more::after { content: none; }

/* Why choose us — 4 columns */
.home-why { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why {
  background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
}
.why__ico {
  font-size: 1.7rem; background: rgba(184,137,58,.14); color: var(--c-primary);
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  margin: 0 auto 16px;
}
.why h4 { font-size: 1.05rem; margin: 0 0 8px; }
.why p { color: var(--c-muted); font-size: .92rem; margin: 0; }

/* Popular products — CAS cards */
.home-products { gap: 22px; }
.pcard {
  display: flex; flex-direction: column; background: var(--c-bg);
  border: 1px solid var(--c-border); border-top: 3px solid var(--c-primary);
  border-radius: var(--radius); padding: 26px 24px; text-decoration: none; color: var(--c-ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--c-shadow); border-top-color: var(--c-accent); }
.pcard__cat {
  align-self: flex-start; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-accent); background: rgba(31,78,121,.1); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.pcard h4 { font-size: 1.08rem; margin: 0 0 8px; color: var(--c-ink); }
.pcard__cas { color: var(--c-muted); font-size: .88rem; font-family: var(--font-mono, monospace); }

/* Applications — pill links */
.home-apps { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.home-apps a {
  text-decoration: none; color: var(--c-secondary); font-weight: 600;
  background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 999px;
  padding: 12px 22px; transition: all .18s ease;
}
.home-apps a:hover { background: var(--c-primary); color: var(--c-bg); border-color: var(--c-primary); }

/* Clients logo wall — text placeholders */
.logo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.logo-wall__item {
  display: grid; place-items: center; text-align: center; min-height: 96px;
  background: var(--c-bg); border: 1px dashed var(--c-border); border-radius: var(--radius);
  color: var(--c-muted); font-weight: 600; padding: 14px;
}

/* News cards */
.home-news { gap: 24px; }
.ncard {
  display: flex; flex-direction: column; background: var(--c-bg);
  border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px 26px;
  text-decoration: none; color: var(--c-ink); transition: transform .18s ease, box-shadow .18s ease;
}
.ncard:hover { transform: translateY(-4px); box-shadow: var(--c-shadow); }
.ncard__date { color: var(--c-accent); font-size: .82rem; font-weight: 700; letter-spacing: .03em; margin-bottom: 10px; }
.ncard h4 { font-size: 1.08rem; margin: 0 0 10px; line-height: 1.4; color: var(--c-ink); }
.ncard p { color: var(--c-muted); font-size: .92rem; margin: 0; }

@media (max-width: 980px){
  .home-why { grid-template-columns: repeat(2, 1fr); }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .home-why, .logo-wall { grid-template-columns: 1fr; }
}

/* =========================================================
   Products Search page (dosenderchem-style)
   ========================================================= */
.page-hero--search {
  background: var(--c-bg);
  text-align: center;
  padding: 70px 0 80px;
}
.page-hero--search::before,
.page-hero--search::after { display: none; }
.page-hero--search h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--c-ink);
}
.page-hero--search p {
  color: var(--c-muted);
  font-size: 1.1rem;
  margin: 0 0 28px;
}

.ps-hero-form {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
}
.ps-hero-form__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  padding: 16px 20px;
  font: inherit;
  font-size: 1rem;
  color: var(--c-ink);
}
.ps-hero-form__input:focus { outline: none; }
.ps-hero-form__input::placeholder { color: #8a96a3; }
.ps-hero-form__btn {
  flex: 0 0 auto;
  border-radius: 0 8px 8px 0;
  padding: 16px 34px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #E67E22;
  border: 0;
  cursor: pointer;
  transition: background .15s ease;
}
.ps-hero-form__btn:hover { background: #D35400; color: #fff; }

.ps-breadcrumb {
  font-size: .85rem;
  color: var(--c-muted);
  margin-bottom: 28px;
}
.ps-breadcrumb a { color: var(--c-ink); text-decoration: none; }
.ps-breadcrumb a:hover { text-decoration: underline; color: var(--c-primary); }
.ps-breadcrumb span { margin: 0 8px; color: #c4c9cd; }

.ps-wrap { padding-top: 40px; }

.ps-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

/* Sidebar filters */
.ps-sidebar { position: sticky; top: 24px; }
.ps-filter {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.ps-filter__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 14px;
}
.ps-filter__head h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--c-ink);
}
.ps-filter__count { color: var(--c-muted); font-size: .95rem; }
.ps-filter__clear {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--c-accent);
  text-decoration: none;
  margin-bottom: 18px;
}
.ps-filter__clear:hover { color: var(--c-primary); text-decoration: underline; }
.ps-filter__group { border-top: 1px solid var(--c-border); padding-top: 16px; margin-top: 16px; }
.ps-filter__title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-ink);
  text-transform: uppercase;
  cursor: pointer;
}
.ps-filter__toggle { color: var(--c-muted); font-weight: 400; }
.ps-filter__body { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.ps-filter__group.is-closed .ps-filter__body { display: none; }

.ps-checkbox {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  color: var(--c-ink);
  text-decoration: none;
  padding: 4px 0;
}
.ps-checkbox:hover { color: var(--c-primary); }
.ps-checkbox__box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--c-border);
  border-radius: 3px;
  flex: 0 0 16px;
  background: #fff;
  position: relative;
}
.ps-checkbox.is-active .ps-checkbox__box {
  background: var(--c-primary);
  border-color: var(--c-primary);
}
.ps-checkbox.is-active .ps-checkbox__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.ps-checkbox__label { flex: 1 1 auto; line-height: 1.3; }
.ps-checkbox__count { color: var(--c-muted); font-size: .85rem; }

/* Main results */
.ps-main__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.ps-results-count { color: var(--c-muted); font-size: .95rem; }
.ps-results-count strong { color: var(--c-ink); font-weight: 700; }

.ps-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
  color: var(--c-muted);
}
.ps-sort select {
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: 8px 32px 8px 12px;
  font: inherit;
  color: var(--c-ink);
  background: #fff;
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2344525f' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 12px 8px;
}
.ps-sort select:focus { outline: none; border-color: var(--c-accent); }

.ps-result-list { display: flex; flex-direction: column; gap: 18px; }
.ps-result {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 28px;
  transition: box-shadow .18s ease, border-color .18s ease;
}
.ps-result:hover { box-shadow: var(--c-shadow); border-color: var(--c-primary); }

.ps-result__type {
  display: inline-block;
  font-size: .8rem;
  color: var(--c-muted);
  margin-bottom: 8px;
}
.ps-result__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--c-accent);
}
.ps-result__title a { color: inherit; text-decoration: none; }
.ps-result__title a:hover { text-decoration: underline; color: var(--c-primary); }
.ps-result__cas {
  font-size: .92rem;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.ps-result__cas strong {
  font-weight: 700;
  color: var(--c-ink);
  margin-right: 6px;
}
.ps-result__desc {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--c-muted);
  margin: 0 0 18px;
  max-width: 560px;
}
.ps-result__link {
  color: var(--c-accent);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
}
.ps-result__link:hover { color: var(--c-primary); text-decoration: underline; }

.ps-result__specs {
  border-left: 1px solid var(--c-border);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ps-spec { display: flex; flex-direction: column; gap: 3px; }
.ps-spec__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.ps-spec__value {
  font-size: .88rem;
  color: var(--c-ink);
  line-height: 1.4;
}

.ps-empty {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--c-muted);
}
.ps-empty p { margin: 0 0 18px; }

.ps-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.ps-pagination .page-numbers {
  min-width: 38px;
  text-align: center;
  padding: 9px 12px;
  margin: 0 4px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-ink);
  text-decoration: none;
  font-size: .9rem;
}
.ps-pagination .page-numbers.current {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.ps-pagination .page-numbers:hover:not(.current) {
  border-color: var(--c-primary);
  color: var(--c-primary-dark);
}
.ps-pagination .page-numbers.dots { border-color: transparent; }
.ps-pagination .page-numbers.page-info {
  border-color: transparent;
  background: transparent;
  color: var(--c-ink);
  cursor: default;
  min-width: auto;
  padding-left: 14px;
  padding-right: 14px;
}
.ps-pagination .page-numbers.disabled {
  opacity: .55;
  cursor: not-allowed;
  color: var(--c-muted);
  background: #f9f9f9;
  border-color: #e5e5e5;
}
.ps-main__bar .ps-pagination { margin: 0; flex-wrap: wrap; }
.ps-pagination--bottom { margin-top: 32px; }

@media (max-width: 980px){
  .ps-layout { grid-template-columns: 1fr; gap: 28px; }
  .ps-sidebar { position: static; }
  .ps-result { grid-template-columns: 1fr; gap: 22px; }
  .ps-result__specs { border-left: 0; border-top: 1px solid var(--c-border); padding-left: 0; padding-top: 22px; }
}
@media (max-width: 600px){
  .ps-hero-form { flex-direction: column; border-radius: 8px; }
  .ps-hero-form__btn { width: 100%; border-radius: 0 0 8px 8px; }
  .ps-main__bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ps-result { padding: 18px; }
}

/* ===========================================================
   Product detail page (single-product.php)
   Dosenderchem-style layout, Hantong colour system.
   =========================================================== */
.pd { padding: 48px 0 84px; background: var(--c-bg); }

/* breadcrumb (below hero) */
.pd-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: .85rem; color: var(--c-muted); margin: 26px 0 38px;
}
.pd-breadcrumb a { color: var(--c-accent); text-decoration: none; }
.pd-breadcrumb a:hover { color: var(--c-primary); }
.pd-breadcrumb span { color: var(--c-border); }
.pd-breadcrumb strong { color: var(--c-ink); font-weight: 600; }

/* ===== HERO ===== */
.pd-hero {
  display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 40px 44px; box-shadow: var(--c-shadow);
}
.pd-hero__line { font-size: .8rem; color: var(--c-muted); margin-bottom: 14px; }
.pd-hero__line a { color: var(--c-accent); font-weight: 600; text-decoration: none; }
.pd-hero__line a:hover { color: var(--c-primary); }
.pd-hero__title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem); color: var(--c-primary-dkr);
  margin: 0 0 .3em; line-height: 1.14; font-family: var(--ff-head);
}
.pd-hero__subtitle { margin: 0 0 26px; font-size: 1.08rem; color: var(--c-muted); }
.pd-hero__subtitle .pd-sep { margin: 0 10px; color: var(--c-border); }
.pd-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.pd-hero__media {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius); padding: 28px; min-height: 220px;
}
.pd-molecule {
  display: block; max-width: 100%; height: auto; max-height: 220px;
  object-fit: contain; border-radius: var(--radius-sm);
}
.pd-monogram {
  width: 132px; height: 132px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-accent) 100%);
  color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: 3.6rem;
  box-shadow: 0 14px 30px rgba(184,137,58,.28);
}
.pd-hero__media-cap { margin: 0; font-size: .82rem; letter-spacing: .03em; color: var(--c-muted); text-align: center; }

/* shared buttons */
.pd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pd-btn--primary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pd-btn--primary:hover { background: var(--c-primary-dkr); border-color: var(--c-primary-dkr); }
.pd-btn--outline { background: transparent; border-color: var(--c-primary); color: var(--c-primary-dkr); }
.pd-btn--outline:hover { background: var(--c-primary); color: #fff; }
.pd-btn--light { background: #fff; color: var(--c-primary-dkr); border-color: #fff; }
.pd-btn--light:hover { background: rgba(255,255,255,.85); }

/* ===== MAIN two-column ===== */
.pd-main {
  display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start;
}
.pd-content { min-width: 0; }

/* ===== MODULE NAV (jump bar above content) ===== */
.pd-modnav {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 34px 0 30px;
}
.pd-modnav a {
  display: inline-flex; align-items: center;
  padding: 9px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--c-border);
  color: var(--c-primary-dkr); text-decoration: none;
  font-weight: 600; font-size: .9rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pd-modnav a:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* ===== MODULE CARDS — each content block is a clearly bounded card ===== */
.pd-module {
  background: #fff;
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius);
  padding: 26px 30px;
  margin-bottom: 24px;
  box-shadow: 0 10px 26px -20px rgba(92, 67, 38, .30);
}
.pd-module:last-child { margin-bottom: 0; }
.pd-module__head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 14px; margin-bottom: 18px;
  border-bottom: 1px solid var(--c-border);
}
.pd-module__num {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-primary); color: #fff;
  font-family: var(--ff-head); font-weight: 700; font-size: 1rem; line-height: 1;
}
.pd-module__head h2 {
  margin: 0; font-size: 1.3rem; color: var(--c-primary-dkr); font-family: var(--ff-head);
}
.pd-module__body { color: var(--c-ink); line-height: 1.8; }
.pd-module__body > :first-child { margin-top: 0; }
.pd-module__body > :last-child { margin-bottom: 0; }
/* Contain anything the source page injects (images/tables/long words) so the
   module card can never be blown out by scraped markup. */
.pd-module__body > * { max-width: 100%; }
.pd-module__body p { overflow-wrap: break-word; }
.pd-module__body img { display: block; max-width: 100%; height: auto; }
.pd-module__body table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.pd-module__body table th,
.pd-module__body table td { border: 1px solid var(--c-border); padding: 8px 10px; text-align: left; font-size: .95rem; }
.pd-module__body ul,
.pd-module__body ol { margin: 0 0 1em; padding-left: 1.25em; }
.pd-module__body li { margin-bottom: .4em; }
.pd-module__body h3,
.pd-module__body h4 { margin: 1em 0 .5em; font-size: 1.02rem; color: var(--c-primary-dkr); }

/* spec table sits inside a module card — drop its own shadow so it reads clean */
.pd-module .pd-spec-table { box-shadow: none; margin: 0; }
.pd-module .pd-specs { margin: 0; }

/* muted fallback copy when a module has no scraped content */
.pd-muted { color: var(--c-muted); font-style: italic; }

/* specs grid */
.pd-specs {
  margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px; background: var(--c-border); border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); overflow: hidden;
}
.pd-spec { background: #fff; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.pd-spec dt { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); }
.pd-spec dd { margin: 0; font-size: 1rem; color: var(--c-ink); font-weight: 600; }
.pd-spec dd a { color: var(--c-accent); text-decoration: none; }
.pd-spec dd a:hover { color: var(--c-primary); }

/* scraped Specifications table (from source LeapChem page) */
.pd-spec-table {
  width: 100%; border-collapse: collapse; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); overflow: hidden; background: #fff;
  box-shadow: var(--c-shadow);
}
.pd-spec-table th,
.pd-spec-table td {
  padding: 14px 18px; border-bottom: 1px solid var(--c-border);
  font-size: .96rem; vertical-align: top; text-align: left;
}
.pd-spec-table tr:last-child th,
.pd-spec-table tr:last-child td { border-bottom: 0; }
.pd-spec-table th {
  width: 42%; background: var(--c-bg); color: var(--c-primary-dkr);
  font-weight: 700; letter-spacing: .02em;
}
.pd-spec-table td { color: var(--c-ink); font-weight: 600; }

/* muted fallback copy when a module has no scraped content */
.pd-muted { color: var(--c-muted); font-style: italic; }

/* ===== SIDEBAR ===== */
.pd-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.pd-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--c-shadow);
}
.pd-card h3 { font-size: 1.02rem; color: var(--c-primary-dkr); margin: 0 0 16px; font-family: var(--ff-head); }
.pd-card-btn {
  display: block; width: 100%; text-align: center; padding: 12px 16px; border-radius: 999px;
  font-weight: 700; font-size: .92rem; text-decoration: none; margin-bottom: 10px;
  border: 1.5px solid transparent; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.pd-card-btn:last-child { margin-bottom: 0; }
.pd-card-btn--primary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pd-card-btn--primary:hover { background: var(--c-primary-dkr); border-color: var(--c-primary-dkr); }
.pd-card-btn--outline { background: transparent; border-color: var(--c-primary); color: var(--c-primary-dkr); }
.pd-card-btn--outline:hover { background: var(--c-primary); color: #fff; }

.pd-contact-item { display: flex; align-items: flex-start; gap: 10px; color: var(--c-ink); font-size: .92rem; line-height: 1.5; }
.pd-contact-item svg { color: var(--c-primary); flex: 0 0 auto; margin-top: 2px; }
.pd-contact-item strong { display: block; color: var(--c-primary-dkr); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.pd-source-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  color: var(--c-accent); text-decoration: none; font-weight: 600; font-size: .9rem;
}
.pd-source-link:hover { color: var(--c-primary); }

.pd-related { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pd-related li a {
  display: block; padding: 12px 14px; border: 1px solid var(--c-border); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--c-ink); font-weight: 600; transition: border-color .2s, background .2s;
}
.pd-related li a:hover { border-color: var(--c-primary); background: var(--c-bg); }
.pd-related li a small { display: block; font-weight: 400; font-size: .78rem; color: var(--c-muted); margin-top: 3px; }

/* ===== FOOTER CTA ===== */
.pd-footer-cta {
  margin-top: 56px; background: linear-gradient(135deg, var(--c-primary-dkr) 0%, var(--c-accent) 100%);
  border-radius: var(--radius); padding: 40px 44px; text-align: center; color: #fff;
}
.pd-footer-cta h2 { font-family: var(--ff-head); font-size: 1.6rem; margin: 0 0 10px; color: #fff; }
.pd-footer-cta p { margin: 0 0 22px; color: rgba(255,255,255,.85); }

@media (max-width: 980px){
  .pd-hero { grid-template-columns: 1fr; gap: 28px; }
  .pd-hero__media { min-height: 0; flex-direction: row; justify-content: flex-start; gap: 18px; }
  .pd-monogram { width: 84px; height: 84px; font-size: 2.2rem; border-radius: 14px; }
  .pd-main { grid-template-columns: 1fr; gap: 32px; }
  .pd-sidebar { position: static; }
}
@media (max-width: 600px){
  .pd-specs { grid-template-columns: 1fr; }
  .pd-spec-table th { width: auto; }
  .pd-hero { padding: 28px 22px; }
  .pd-module { padding: 22px 18px; }
  .pd-module__head { gap: 11px; }
  .pd-module__num { width: 30px; height: 30px; font-size: .92rem; border-radius: 8px; }
  .pd-footer-cta { padding: 30px 22px; }
}

/* ==========================================================================
   COMPANY PAGE (/company/) — seven numbered modules (01–07)
   ========================================================================== */
.cmp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* shared module header: numbered badge + eyebrow + title */
.cmp-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 36px; }
.cmp-head > div { min-width: 0; }
.cmp-head h2 { font-family: var(--ff-head); color: var(--c-primary-dkr); font-size: clamp(1.5rem, 2.5vw, 2.15rem); line-height: 1.2; margin: 0; }
.cmp-head .eyebrow { margin-bottom: 10px; }
.cmp-num {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-primary); color: #fff; font-family: var(--ff-head);
  font-weight: 700; font-size: 1.18rem; letter-spacing: .02em;
  box-shadow: 0 12px 26px -16px rgba(184,137,58,.75);
}
.cmp-num--light { background: var(--c-accent-2); color: var(--c-primary-dkr); box-shadow: none; }
.cmp-head--light h2 { color: #fff; }
.cmp-head--light .eyebrow { color: rgba(255,255,255,.72); }

.cmp-lead { max-width: 780px; color: var(--c-muted); font-size: 1.05rem; line-height: 1.85; margin: 0 0 34px; }

/* 01 · who we are */
.cmp-split { align-items: start; }
.cmp-media h3 { color: #fff; font-family: var(--ff-head); font-size: 1.45rem; margin: 20px 0 8px; }
.cmp-media > p { color: rgba(255,255,255,.86); margin: 0 0 24px; }
.cmp-media__badge { font-size: 3rem; line-height: 1; }
.cmp-media__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.cmp-media__meta > div { background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); padding: 14px 16px; }
.cmp-media__meta b { display: block; font-family: var(--ff-head); color: var(--c-accent-2); font-size: 1.05rem; margin-bottom: 3px; }
.cmp-media__meta span { font-size: .8rem; color: rgba(255,255,255,.75); }

/* 02 · our products */
.cmp-cats { gap: 22px; }
.cmp-cat {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 26px 24px; text-decoration: none; color: var(--c-ink);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.cmp-cat:hover { transform: translateY(-4px); border-color: var(--c-primary); box-shadow: var(--c-shadow); }
.cmp-cat__icon { font-size: 1.7rem; line-height: 1; }
.cmp-cat h3 { font-family: var(--ff-head); font-size: 1.1rem; color: var(--c-primary-dkr); margin: 0; }
.cmp-cat__count { font-size: .82rem; color: var(--c-muted); }
.cmp-cat__go { margin-top: auto; font-size: .85rem; font-weight: 700; color: var(--c-accent); }

/* 03 · our mission */
.cmp-mission {
  margin: 0 0 40px; padding: 0 0 0 26px; border-left: 3px solid var(--c-accent-2);
  font-family: var(--ff-head); font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.55; color: #fff; max-width: 900px;
}
.cmp-mission__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cmp-mission__grid > div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px 26px; }
.cmp-mission__grid b { display: block; font-family: var(--ff-head); color: var(--c-accent-2); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.cmp-mission__grid p { margin: 0; color: rgba(255,255,255,.82); font-size: .96rem; line-height: 1.7; }

/* 04 · core values */
.cmp-values { gap: 22px; }
.cmp-value { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px 26px; }
.cmp-value__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(184,137,58,.14); font-size: 1.4rem; margin-bottom: 16px; }
.cmp-value h3 { font-family: var(--ff-head); font-size: 1.12rem; color: var(--c-primary-dkr); margin: 0 0 8px; }
.cmp-value p { margin: 0; color: var(--c-muted); font-size: .95rem; line-height: 1.75; }

/* 05 · what sets us apart */
.cmp-edges { gap: 20px; }
.cmp-edge { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px 26px; }
.cmp-edge__num { flex: 0 0 auto; font-family: var(--ff-head); font-weight: 700; font-size: 1.5rem; color: rgba(184,137,58,.45); line-height: 1; }
.cmp-edge h3 { font-family: var(--ff-head); font-size: 1.06rem; color: var(--c-primary-dkr); margin: 0 0 6px; }
.cmp-edge p { margin: 0; color: var(--c-muted); font-size: .95rem; line-height: 1.7; }

/* 06 · partners */
.cmp-partners { gap: 20px; }
.cmp-partner { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px 24px; }
.cmp-partner__logo { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--c-bg-soft); font-size: 1.3rem; }
.cmp-partner h3 { font-family: var(--ff-head); font-size: 1.02rem; color: var(--c-primary-dkr); margin: 0 0 4px; }
.cmp-partner p { margin: 0; color: var(--c-muted); font-size: .92rem; line-height: 1.65; }

/* 07 · location */
.cmp-loc__info h3 { font-family: var(--ff-head); font-size: 1.3rem; color: var(--c-primary-dkr); margin: 0 0 6px; }
.cmp-loc__info > p { color: var(--c-muted); margin: 0 0 22px; }
.cmp-loc__list { margin: 0 0 26px; display: grid; gap: 14px; }
.cmp-loc__list > div { display: grid; gap: 3px; }
.cmp-loc__list dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.cmp-loc__list dd { margin: 0; color: var(--c-ink); font-weight: 600; }
.cmp-loc__list dd a { color: var(--c-accent); text-decoration: none; }
.cmp-loc__list dd a:hover { color: var(--c-primary); }

.cmp-map { position: relative; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; background: var(--c-bg-soft); min-height: 320px; }
.cmp-map__frame { display: block; position: relative; z-index: 1; width: 100%; height: 100%; min-height: 320px; border: 0; }
.cmp-map__fallback { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; align-content: center; gap: 8px; color: var(--c-muted); }
.cmp-map__fallback span { font-size: 2rem; }
.cmp-map__fallback p { margin: 0; font-weight: 600; }

@media (max-width: 980px){
  .cmp-head { gap: 16px; }
  .cmp-num { width: 46px; height: 46px; font-size: 1rem; }
  .cmp-mission__grid { grid-template-columns: 1fr; }
  .cmp-split.split { grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .cmp-head { flex-direction: column; }
  .cmp-media__meta { grid-template-columns: 1fr; }
  .cmp-cats.grid--4,
  .cmp-values.grid--3,
  .cmp-partners.grid--3,
  .cmp-edges.grid--2 { grid-template-columns: 1fr; }
}

/* --- company hero: text left, logo right --- */
.cmp-hero__actions .btn,
.cmp-hero__actions .btn:hover,
.cmp-hero__actions .btn:focus { color: #fff; }

.page-hero__media.cmp-hero__media {
  justify-self: center; max-width: 180px;
  background: transparent; box-shadow: none; overflow: visible;
}
.page-hero__media.cmp-hero__media img { width: 100%; height: auto; }

/* 01 · Who we are: right-side image */
.cmp-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--c-shadow);
}
.cmp-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 07 · location address block */
.cmp-loc__address {
  font-style: normal; color: var(--c-ink); line-height: 1.75;
  font-size: 1rem; margin: 0 0 22px;
}

/* breadcrumb moved above the "Who we are" module (light background) */
.cmp .breadcrumb--dark { margin-bottom: 22px; }
.section.section--crumb { padding-top: 36px; }
/* breadcrumb that sits below the cover (news / contact / company) */
.section--crumb > .container > .breadcrumb--dark { margin-bottom: 26px; }

@media (max-width: 880px){
  .page-hero--split .page-hero__inner { grid-template-columns: 1fr; gap: 30px; }
  .page-hero__media.cmp-hero__media { max-width: 130px; justify-self: start; }
  .cmp-media { max-width: 400px; margin: 0 auto; }
}

/* ==========================================================================
   LEFT-ALIGNED HERO — contact, news, and any page-hero--left
   ========================================================================== */
/* Cover copy sits on the LEFT. Without this the block keeps .container's
   `margin: 0 auto`, so the width-limited text column ends up centred instead.
   Applies to every cover using this modifier (contact, news, …). */
.page-hero--left {
  text-align: left;
}
.page-hero--left .page-hero__inner {
  max-width: 660px;
  margin-left: 0 !important;
  margin-right: auto;
  text-align: left !important;
}
/* Force every child (eyebrow, h1, p) left as well — the eyebrow is
   an inline-block, so pinning it to a block makes the alignment deterministic. */
.page-hero--left .page-hero__inner > * { text-align: left !important; }
.page-hero--left .breadcrumb { text-align: left; }
.page-hero--left .eyebrow { display: block; text-align: left !important; }
.page-hero--left h1 { text-align: left !important; }
.page-hero--left p { text-align: left !important; }

/* ==========================================================================
   CONTACT PAGE — single-column form (right-hand info card removed)
   ========================================================================== */
.contact-solo { max-width: 720px; margin-left: 0; margin-right: auto; }
@media (max-width: 880px){ .contact-solo { max-width: 100%; } }

.news-card__thumb img { display: block; width: 100%; height: 100%; min-height: 150px; object-fit: cover; }
.news-card h3 a { color: var(--c-primary-dkr); text-decoration: none; }
.news-card h3 a:hover { color: var(--c-primary); }

.news-empty {
  text-align: center; padding: 64px 24px; background: #fff;
  border: 1px solid var(--c-border); border-radius: var(--radius);
}
.news-empty__icon { display: block; font-size: 2.6rem; margin-bottom: 12px; }
.news-empty h2 { font-family: var(--ff-head); color: var(--c-primary-dkr); margin: 0 0 12px; }
.news-empty p { max-width: 560px; margin: 0 auto 24px; color: var(--c-muted); line-height: 1.8; }

/* ==========================================================================
   SUB-CATEGORY LANDING PAGES (34 pages: page-products-*.php)
   Modules: Hero, Applications, Portfolio, Top Performer, Safety,
            Resources, FAQ, Get in Touch
   ========================================================================== */

/* --- 1 · Hero (split + stats bar) --- */
.cat-hero { padding-bottom: 0; }
.cat-hero .page-hero__text h1 { font-size: 2.2rem; line-height: 1.25; }
.cat-hero .page-hero__text h1 br { content: ""; display: block; }
.cat-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
/* Hero CTAs use white label text on both the gold and dark buttons */
.cat-hero__actions .btn,
.cat-hero__actions .btn:hover { color: #fff; }
.cat-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  margin-top: -20px;
}
.cat-stats__item { text-align: center; color: #fff; }
.cat-stats__num {
  font-family: var(--ff-head); font-size: 2rem; font-weight: 800;
  color: var(--c-accent-2, #8BCAE9);
  line-height: 1.2;
}
.cat-stats__label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
  color: rgba(255,255,255,.65); margin-top: 4px;
}

/* Variant B — stats live INSIDE the hero copy column (left of the picture),
   laid out as a 2 × 2 grid. Scoped to `.page-hero__text` so pages that still
   use the full-width bar keep their original look. */
.page-hero__text .cat-stats {
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 32px;
  margin: 38px 0 0;
  /* the hero itself carries `padding-bottom: 0`, so the bottom breathing room
     is provided here instead */
  padding: 0 0 88px;
  border-bottom: 0;
}
.page-hero__text .cat-stats__item {
  text-align: left;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.page-hero__text .cat-stats__num { font-size: 1.9rem; }

/* --- 2 · Applications — copy on the left, one application photo on the right --- */
.cat-app {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
/* Cap the photo so it keeps the module compact: the copy column, not the
   image, decides how tall this section is. */
.cat-app__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--c-shadow);
  aspect-ratio: 4 / 3;
  max-height: 330px;
}
.cat-app__figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Legacy placeholder grid — still used by the not-yet-converted sub-category
   pages (`.cat-app__media` + 5 × `.cat-app__ph`). Keep until every page has a
   real application photo. */
.cat-app__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cat-app__ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px dashed var(--c-border);
  background: rgba(184,137,58,.05);
}

/* --- 3 · Portfolio (product category cards) --- */
.cat-port { gap: 20px; }
.cat-port__card {
  background: #fff; border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: box-shadow .2s ease, transform .2s ease;
}
.cat-port__card:hover {
  box-shadow: var(--c-shadow); transform: translateY(-2px);
}
.cat-port__card h4 {
  font-family: var(--ff-head); font-size: 1.05rem;
  color: var(--c-primary-dkr); margin: 0 0 10px;
}
.cat-port__card p {
  font-size: .88rem; color: var(--c-muted); line-height: 1.7;
  margin: 0 0 14px;
}
.cat-port__link {
  font-size: .88rem; font-weight: 600; color: var(--c-primary);
  text-decoration: none;
}
.cat-port__link:hover { color: var(--c-primary-dkr); }

/* --- 4 · Top Performer (featured products grid) --- */
.card--product {
  background: #fff; border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: box-shadow .2s ease;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.card--product:hover { box-shadow: var(--c-shadow); }
/* molecule structure drawing (from the product's `_molecule_image` meta) */
.card--product .card__media {
  flex: 0 0 auto;
  height: 150px;
  padding: 14px 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #FBF8F2, #fff);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.card--product .card__media img { max-width: 100%; max-height: 100%; object-fit: contain; }
.card--product .card__media-empty { font-size: 2rem; color: rgba(184,137,58,.40); line-height: 1; }
.card--product .card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card--product h3 { font-size: 1rem; margin: 0 0 8px; }
.card--product h3 a { color: var(--c-ink); text-decoration: none; }
.card--product h3 a:hover { color: var(--c-primary); }
.card--product .card__cas {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--c-primary);
  margin: 0 0 10px;
}
.card--product .card__desc {
  font-size: .84rem; color: var(--c-muted); line-height: 1.65;
  margin: 0 0 14px;
}
/* Fallback line shown when no imported description exists yet (name + subcategory).
   Slightly de-emphasised so it reads as a placeholder, not a real blurb. */
.card--product .card__desc--note {
  color: var(--c-muted); opacity: .82;
}
.card--product .link-more {
  margin-top: auto;
  font-size: .85rem; font-weight: 600; color: var(--c-primary);
  text-decoration: none;
}
.cat-empty-note {
  text-align: center; color: var(--c-muted); padding: 32px 0;
  grid-column: 1 / -1;
}

/* --- 5 · Safety & Quality — photo on the right, caption underneath --- */
.cat-safety__visual {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  display: flex; flex-direction: column;
}
.cat-safety__figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-bg-soft);
}
.cat-safety__figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cat-safety__visual p {
  padding: 20px 24px 24px; margin: 0;
  color: var(--c-muted); font-size: .9rem; line-height: 1.7;
}

/* --- 6 · Resources (download cards) --- */
.cat-resources { gap: 18px; }
.cat-resource__card {
  background: #fff; border-radius: var(--radius);
  padding: 28px 22px; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  border-top: 3px solid var(--c-primary);
  transition: transform .2s ease;
}
.cat-resource__card:hover { transform: translateY(-3px); }
.cat-resource__icon { font-size: 2rem; margin-bottom: 14px; }
.cat-resource__card h4 {
  font-family: var(--ff-head); font-size: .95rem;
  color: var(--c-primary-dkr); margin: 0 0 8px;
}
.cat-resource__card p {
  font-size: .84rem; color: var(--c-muted); line-height: 1.6; margin: 0;
}

/* --- 7 · FAQ (accordion) --- */
.cat-faq { max-width: 800px; margin: 0 auto; }
.cat-faq__item {
  background: #fff; border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  overflow: hidden;
}
.cat-faq__item summary {
  padding: 18px 24px; cursor: pointer;
  font-weight: 700; font-size: .95rem; color: var(--c-ink);
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  transition: color .15s;
}
.cat-faq__item summary::-webkit-details-marker { display: none; }
.cat-faq__item summary::after { content: "+"; font-size: 1.3rem; color: var(--c-primary); font-weight: 300; }
.cat-faq__item[open] summary::after { content: "−"; }
.cat-faq__item summary:hover { color: var(--c-primary); }
.cat-faq__item > *:not(summary) { padding: 0 24px 20px; }
.cat-faq__item p {
  color: var(--c-muted); line-height: 1.75; font-size: .92rem; margin: 0;
}

/* --- Responsive --- */
@media (max-width: 880px){
  .cat-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px 0; }
  .page-hero__text .cat-stats { gap: 18px 22px; padding: 0 0 64px; }
  .card--product { min-height: 280px; }
  .cat-port { grid-template-columns: 1fr; }
  .cat-app { grid-template-columns: 1fr; gap: 32px; }
  .cat-app__figure { max-height: 260px; }
  .cat-app__media { gap: 12px; }
  .cat-resources { grid-template-columns: 1fr 1fr; }
  .cat-safety__figure { aspect-ratio: 4 / 3; }
  .cat-hero .page-hero__text h1 { font-size: 1.75rem; }
}
@media (max-width: 520px){
  .cat-stats { grid-template-columns: 1fr 1fr; }
  .cat-resources { grid-template-columns: 1fr; }
  .cat-hero__actions { flex-direction: column; }
  .cat-hero__actions .btn { width: 100%; text-align: center; }
}
