/*
Theme Name: Jinhong B2B
Theme URI: https://www.jqjtits.com/
Description: B2B product catalog theme for JINHONG NEW MATERIAL (HUBEI) Co., Ltd - road traffic safety products. Product CPT with categories, spec/variant editing and WhatsApp quote flow. Static site assets (/assets/images/...) are served from the web root alongside WordPress.
Author: Jinhong New Material
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: jinhong
*/

/* JINHONG NEW MATERIAL - B2B site styles (JACKWIN-inspired industrial look) */
:root {
  --blue: #1565ad;
  --blue-dark: #0d4a82;
  --blue-darker: #093c6b;
  --red: #e2231a;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --text: #22272e;
  --muted: #67707c;
  --line: #e5e8ec;
  --bg-gray: #f4f6f8;
  --radius: 6px;
  --shadow: 0 2px 14px rgba(15, 34, 58, .08);
  --max: 1280px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0; color: var(--text);
  font: 15px/1.65 "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; color: #10151b; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); font-size: .92em; }
.skip-link { position: absolute; left: -9999px; }
.no-results { padding: 30px 0; color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--radius); font-weight: 600; font-size: 14px;
  border: 1px solid transparent; cursor: pointer; transition: .18s; text-align: center;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--whatsapp { background: var(--wa); color: #fff; }
.btn--whatsapp:hover { background: var(--wa-dark); color: #fff; }
.btn--lg { padding: 14px 30px; font-size: 15px; }
.btn--sm { padding: 7px 12px; font-size: 13px; }
.btn--nav { padding: 9px 18px; }

/* topbar */
.topbar { background: var(--blue-darker); color: #cfe0f2; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; flex-wrap: wrap; }
.topbar__item { color: #cfe0f2; margin-right: 18px; }
.topbar__item strong { color: #fff; }
.topbar__item:hover { color: #fff; }
.topbar__right { display: flex; flex-wrap: wrap; }

/* header + nav */
.header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 50; }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.header__logo img { height: 54px; width: auto; }
.header__toggle { display: none; background: none; border: 0; width: 42px; height: 38px; padding: 8px; cursor: pointer; }
.header__toggle span { display: block; height: 2px; background: #123; margin: 6px 0; border-radius: 2px; transition: .2s; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav__link { display: flex; align-items: center; gap: 5px; padding: 26px 13px; font-weight: 600; font-size: 15px; color: #1a2430; }
.nav__link:hover, .nav__link.is-active { color: var(--blue); }
.nav__caret { opacity: .6; }
.nav__item--cta { margin-left: 10px; }
.nav__item--cta .nav__link { padding: 0; }

/* mega menu (desktop) */
.nav__mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 3px solid var(--blue); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s;
}
/* mega menu anchors to .header (full page width); hover stays on the nav item */
.nav__item--has-sub:hover .nav__mega { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 26px; padding: 26px 20px 30px; }
.nav__mega-head { display: block; font-weight: 700; font-size: 14px; color: #10151b; padding: 4px 0 6px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.nav__mega-col ul { list-style: none; margin: 0; padding: 0; }
.nav__mega-col li a { display: block; padding: 3px 0; font-size: 13px; color: #45505c; }
.nav__mega-col li a:hover { color: var(--blue); }
.nav__mega-col em { color: #9aa4ae; font-style: normal; font-size: 12px; }
.nav__sub, .nav__sub2 { display: none; }

/* hero */
.hero { position: relative; min-height: 520px; background: #0a2d52; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,30,58,.85) 0%, rgba(6,30,58,.55) 45%, rgba(6,30,58,.15) 100%); }
.hero__content { position: relative; z-index: 2; width: 100%; }
.hero__title { color: #fff; font-size: 42px; font-weight: 800; margin-bottom: 16px; text-shadow: 0 2px 10px rgba(0,0,0,.3); }
.hero__sub { color: #d9e6f4; font-size: 17px; max-width: 640px; margin-bottom: 28px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* usp strip */
.usp { background: var(--blue); color: #fff; }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 26px 20px; }
.usp__item { text-align: center; }
.usp__item strong { display: block; font-size: 18px; margin-bottom: 4px; }
.usp__item span { font-size: 13px; color: #d9e6f4; }

/* sections */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--gray { background: var(--bg-gray); }
.section--dark { background: #0e3059; color: #d9e6f4; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section__head h2 { font-size: 32px; position: relative; padding-bottom: 14px; }
.section__head h2::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 56px; height: 3px; background: var(--blue); }
.section__head p { color: var(--muted); margin: 10px 0 0; }
.section__more { text-align: center; margin-top: 34px; }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .2s; display: block; color: inherit; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.cat-card__img { aspect-ratio: 4/3; overflow: hidden; background: #fff; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.cat-card:hover .cat-card__img img { transform: scale(1.05); }
.cat-card__body { padding: 16px 18px 18px; }
.cat-card__body h3 { font-size: 16px; margin-bottom: 6px; }
.cat-card__body p { font-size: 13px; color: var(--muted); min-height: 40px; }
.cat-card__count { color: var(--blue); font-weight: 700; font-size: 13px; }

/* product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid--3 { grid-template-columns: repeat(3, 1fr); }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-card__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; background: #fff; overflow: hidden; }
.product-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.product-card__noimg { color: #b7c0c9; font-size: 13px; padding: 20px; text-align: center; }
.product-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__name { font-size: 14.5px; margin: 0; min-height: 40px; }
.product-card__name a { color: #10151b; }
.product-card__name a:hover { color: var(--blue); }
.product-card__model { color: var(--muted); font-size: 12.5px; margin: 0; }
.product-card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 8px; }
.product-card__actions .btn { flex: 1; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split--rev { direction: rtl; } .split--rev > * { direction: ltr; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__media--col { display: flex; flex-direction: column; gap: 16px; }
.split h2 { font-size: 30px; }
.split__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { padding: 7px 0 7px 28px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 8px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.ticks--light li::before { border-color: var(--wa); }

/* applications */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.app-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; display: block; }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.app-card:hover img { transform: scale(1.06); }
.app-card h3 {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 26px 14px 12px;
  color: #fff; font-size: 16px; background: linear-gradient(transparent, rgba(5,25,50,.85));
}

/* faq */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.faq-cols--page { max-width: 1080px; margin: 0 auto; }
.faq-list { display: block; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.section--gray .faq-item { background: #fff; }
.faq-item summary { padding: 15px 44px 15px 18px; font-weight: 600; cursor: pointer; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--blue); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item__a { padding: 0 18px 16px; color: #45505c; }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--blue-dark), var(--blue)); color: #fff; padding: 46px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.cta-band p { color: #d9e6f4; margin: 0; }

/* footer */
.footer { background: #0c2b4d; color: #b9c9db; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 0.9fr 1.2fr; gap: 34px; padding: 52px 20px 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 4px 0; }
.footer a { color: #b9c9db; }
.footer a:hover { color: #fff; }
.footer__logo { margin-bottom: 14px; background: #fff; padding: 6px 8px; border-radius: 4px; height: 44px; width: auto; }
.footer__slogan { font-style: italic; color: #8fa7c2; }
.footer__contact li { padding: 3px 0; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; font-size: 13px; }
.footer__bottom p { margin: 0; color: #8fa7c2; }

/* breadcrumb */
.breadcrumb { background: var(--bg-gray); border-bottom: 1px solid var(--line); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 10px 20px; font-size: 13px; }
.breadcrumb li + li::before { content: "/"; color: #a7b0ba; margin-right: 6px; }
.breadcrumb span { color: var(--muted); }

/* page head */
.page-head { background: linear-gradient(120deg, var(--blue-darker), var(--blue)); color: #fff; padding: 44px 0; }
.page-head h1 { color: #fff; font-size: 32px; margin: 0 0 6px; }
.page-head p { margin: 0; color: #d9e6f4; }

/* products layout */
.products-layout { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; }
.products-side { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 20px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.section--gray .side-box, .product-cols__side .side-box { background: #fff; }
.side-box h3 { font-size: 16px; border-bottom: 2px solid var(--blue); padding-bottom: 8px; }
.side-cats, .side-cats--sub { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.side-cats li a { display: flex; justify-content: space-between; padding: 7px 8px; border-radius: 4px; color: #2a3540; }
.side-cats li a:hover, .side-cats li a.is-active { background: #eef4fb; color: var(--blue); }
.side-cats em { color: #9aa4ae; font-style: normal; }
.side-box--wa { background: #f0faf4; border-color: #cdeeda; }
.side-box--wa h3 { border-color: var(--wa); }
.search-input { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; }
.search-input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.cat-section { margin-bottom: 44px; }
.cat-section__title { font-size: 22px; border-left: 4px solid var(--blue); padding-left: 12px; }
.cat-section__more { margin-top: 14px; }

/* product detail */
.product-top { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 44px; padding: 34px 20px 10px; }
.product-gallery__main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.product-gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.noimg-big { color: #b7c0c9; padding: 60px 20px; text-align: center; }
.product-gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.gallery-thumb { border: 2px solid var(--line); border-radius: 4px; padding: 0; background: #fff; cursor: pointer; aspect-ratio: 1/1; overflow: hidden; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gallery-thumb.is-active { border-color: var(--blue); }
.product-info__name { font-size: 26px; margin-bottom: 6px; }
.product-info__model { color: var(--muted); margin-bottom: 14px; }
.product-info__pos { color: #45505c; }
.product-info__cta { margin: 18px 0 6px; }
.product-info__hint { color: var(--muted); font-size: 13px; margin: 8px 0 0; }
.product-info__points { list-style: none; margin: 18px 0 0; padding: 14px 18px; background: var(--bg-gray); border-radius: var(--radius); font-size: 13.5px; }
.product-info__points li { padding: 4px 0; }
.inquiry-box { margin-top: 20px; border: 1px solid #cdeeda; background: #f0faf4; border-radius: var(--radius); padding: 18px; }
.inquiry-box h3 { font-size: 16px; margin-bottom: 12px; }
.inquiry-box label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.inquiry-box select, .inquiry-box input {
  width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid #cfe0d8; border-radius: 4px; font-size: 14px; background: #fff;
}
.product-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; }
.rich-block { margin-bottom: 36px; }
.rich-block h2 { font-size: 22px; border-left: 4px solid var(--blue); padding-left: 12px; margin-bottom: 16px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.chips li { background: #eef4fb; color: var(--blue); border-radius: 999px; padding: 5px 14px; font-size: 13px; font-weight: 600; }
.chips a { color: inherit; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.spec-table th, .spec-table td { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table thead th { background: var(--blue); color: #fff; font-size: 13.5px; }
.spec-table tbody tr:nth-child(even) { background: #f7fafd; }
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { font-weight: 600; width: 34%; color: #2a3540; }
.related-list { list-style: none; margin: 0; padding: 0; }
.related-list a { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); color: #2a3540; font-size: 13.5px; }
.related-list img { width: 52px; height: 52px; object-fit: contain; border: 1px solid var(--line); border-radius: 4px; padding: 3px; background: #fff; }
.related-list li:last-child a { border-bottom: 0; }

/* about page */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: 30px; color: var(--blue); }
.stat span { color: var(--muted); font-size: 13.5px; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj-card { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.proj-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.proj-card figcaption { padding: 12px 14px; font-size: 13.5px; font-weight: 600; }

/* factory */
.wide-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.ws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.ws-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.ws-item h3 { font-size: 17px; }
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal-card { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.gal-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gal-card figcaption { padding: 10px 14px; font-size: 13px; color: #45505c; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-grid video { width: 100%; border-radius: var(--radius); background: #000; aspect-ratio: 9/16; object-fit: cover; }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.contact-card__big { font-size: 24px; font-weight: 800; color: var(--blue); margin: 8px 0; }
.contact-card__addr { font-size: 14.5px; }

/* floating whatsapp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
  transition: transform .18s, background .18s, box-shadow .18s;
}
.wa-float svg { display: block; }
.wa-float::before {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .55);
  animation: wa-pulse 2.2s ease-out infinite;
}
.wa-float:hover { background: #1fb955; color: #fff; transform: scale(1.07); box-shadow: 0 6px 22px rgba(0, 0, 0, .32); }
@keyframes wa-pulse {
  0% { transform: scale(.85); opacity: 1; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* mobile sticky quote bar */
.mobile-quote-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 8px 10px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -3px 14px rgba(0,0,0,.08); }
.mobile-quote-bar .btn { width: 100%; }

/* ============ responsive ============ */
@media (max-width: 1200px) {
  .product-grid, .cat-grid, .app-grid { grid-template-columns: repeat(3, 1fr); }
  .nav__mega-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .hero__title { font-size: 34px; }
  .section { padding: 52px 0; }
  .split { grid-template-columns: 1fr; gap: 26px; }
  .split--rev { direction: ltr; }
  .products-layout { grid-template-columns: 1fr; }
  .products-side { position: static; flex-direction: row; flex-wrap: wrap; }
  .products-side .side-box { flex: 1 1 260px; }
  .product-cols { grid-template-columns: 1fr; }
  .product-cols__side { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .video-grid, .gal-grid, .proj-grid, .ws-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .header__toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 14px; }
  .nav__link { padding: 13px 22px; justify-content: space-between; }
  .nav__mega { display: none; }
  .nav__item--has-sub:hover .nav__mega { display: none; }
  .nav__sub { display: none; list-style: none; margin: 0; padding: 0 10px 10px; background: #f7fafd; }
  .nav__item--has-sub.is-open .nav__sub { display: block; }
  .nav__sub-item > a { display: flex; justify-content: space-between; padding: 10px 14px; font-weight: 600; color: #1a2430; }
  .nav__sub2 { list-style: none; margin: 0 0 6px; padding: 0 0 0 10px; }
  .nav__sub2 a { display: block; padding: 6px 14px; font-size: 13.5px; color: #45505c; }
  .header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 760px) {
  .product-grid, .product-grid--3, .cat-grid, .app-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .spec-table { min-width: 0; }
  .spec-table th, .spec-table td { padding: 9px 10px; }
  .spec-table td:first-child { width: 38%; }
  .mobile-quote-bar { display: block; }
  body:has(.mobile-quote-bar) { padding-bottom: 58px; }
  .hero__title { font-size: 24px; }
}
  .hero { min-height: 440px; }
  .hero__title { font-size: 27px; }
  .hero__sub { font-size: 15px; }
  .section__head h2 { font-size: 26px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .faq-cols { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .product-top { grid-template-columns: 1fr; gap: 26px; padding-top: 22px; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .topbar__left { display: none; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 520px) {
  .video-grid, .gal-grid, .proj-grid, .ws-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid--3 { grid-template-columns: 1fr 1fr; }
  .product-card__name { min-height: 0; }
  .product-info__name { font-size: 22px; }
  .btn { padding: 9px 14px; font-size: 13px; }
  .btn--lg { padding: 12px 20px; font-size: 14px; }
  .topbar__inner { justify-content: flex-start; }
}
@media (max-width: 430px) {
  .product-card__actions { flex-direction: column; }
  .hero__title { font-size: 23px; }
}
@media print { .topbar, .header, .footer, .wa-float, .mobile-quote-bar, .breadcrumb { display: none !important; } }

/* WordPress extras */
.pagination-wrap { margin: 30px 0 10px; text-align: center; }
.pagination-wrap .page-numbers { display: inline-block; padding: 7px 13px; margin: 0 3px; border: 1px solid #e5e8ec; border-radius: 4px; font-weight: 600; color: #1565ad; }
.pagination-wrap .page-numbers.current { background: #1565ad; color: #fff; border-color: #1565ad; }
.admin-bar .wa-float, .admin-bar .mobile-quote-bar { bottom: 46px; }
body.wp-admin { overflow: auto; }
