/*
Theme Name: CORMHOLM
Theme URI: https://cormholm.com/
Author: CORMHOLM export desk
Author URI: https://cormholm.com/
Description: Foreign trade wholesale catalogue theme for a B2B export house. Pure white ground, slate ink and one blue accent, with every listing rendered as a dense information table carrying tier prices, order minimum, carton count, lead time and customs code instead of a retail product grid. Products are quoted by inquiry rather than sold online, and Inter Tight and Inter are self hosted. Six manufacturing divisions, a master specification sheet, factory capability figures, trade-terms questions and a certification register.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cormholm
Tags: business, custom-colors, custom-logo, custom-menu, featured-images
*/
/* ==========================================================================
   CORMHOLM (S9) -- foreign trade wholesale, minimal tabular
   Self-hosted fonts only. No remote asset host is referenced anywhere.

   Design tokens
     background  #FFFFFF   pure white
     ink         #2E3440   slate
     primary     #5E81AC   blue
     secondary   #ECEFF4   pale slate
   Tints of the same slate ramp are used for borders and muted text only:
     line        #D8DEE9
     muted       #4C566A
     wash        #F7F9FC
   One further tone exists only as a validation state, never as brand colour:
     invalid     #AE5A5A
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --ink: #2E3440;
  --primary: #5E81AC;
  --primary-dark: #4C6E96;
  --secondary: #ECEFF4;
  --line: #D8DEE9;
  --muted: #4C566A;
  --wash: #F7F9FC;
  --invalid: #AE5A5A;

  --display: 'Inter Tight', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1240px;
  --wrap-wide: 1320px;
  --wrap-narrow: 940px;
  --header-h: 62px;
  --radius: 2px;
}

/* --------------------------------------------------------------------------
   base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.14;
  margin: 0;
}

h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 17px; letter-spacing: -0.01em; }

p { margin: 0; }

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover { color: var(--primary-dark); text-decoration: underline; }

ul, ol { margin: 0; padding: 0; list-style: none; }

img { display: block; max-width: 100%; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
}

.skip-link:focus { left: 0; color: #fff; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-wide { max-width: var(--wrap-wide); }

.wrap-narrow { max-width: var(--wrap-narrow); }

/* --------------------------------------------------------------------------
   buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .12s ease, color .12s ease, border-color .12s ease;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

.btn-quiet {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.btn-quiet:hover { border-color: var(--primary); color: var(--primary); background: var(--wash); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-lg { padding: 12px 22px; font-size: 14.5px; }

.btn-sm { padding: 7px 12px; font-size: 12.5px; }

.btn-block { width: 100%; }

.linkbtn {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  cursor: pointer;
}

.linkbtn:hover { text-decoration: underline; }

.icon-btn {
  width: 34px; height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.icon-btn:hover { border-color: var(--primary); color: var(--primary); }

/* --------------------------------------------------------------------------
   shared section furniture
   -------------------------------------------------------------------------- */
.eyebrow {
  margin: 0 0 10px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow-inv { color: #A9C0DC; }

.section {
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.section-tight { padding-top: 0; }

.cta-band + .section { border-top: 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  margin-bottom: 28px;
}

.section-head-copy { max-width: 720px; }

.section-head h2 { margin: 0; }

.lead {
  margin-top: 12px;
  max-width: 68ch;
  color: var(--muted);
  font-size: 14.5px;
}

.head-note {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 4px;
}

/* --------------------------------------------------------------------------
   A3 -- header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover { text-decoration: none; color: var(--ink); }

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.14em;
}

.brand-sub {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-right: auto;
}

.site-nav a {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-decoration: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

/* language switch ------------------------------------------------------- */
.lang { position: relative; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }

.lang-caret { font-size: 10px; color: var(--muted); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 50;
  min-width: 194px;
  padding: 5px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(46, 52, 64, .14);
}

.lang-menu[hidden] { display: none; }

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  font-size: 13px;
  cursor: pointer;
}

.lang-option:hover { background: var(--secondary); }

.lang-code {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.lang-option[aria-selected="true"] .lang-name { font-weight: 600; color: var(--primary); }

.lang-note {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   A4 -- inquiry call to action band
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 46px 0 48px;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .95fr);
  gap: 56px;
  align-items: start;
}

.cta-band h1 {
  color: #fff;
  font-size: 42px;
  letter-spacing: -0.024em;
}

.cta-lead {
  margin-top: 16px;
  max-width: 62ch;
  color: #D8DEE9;
  font-size: 15px;
}

.cta-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(216, 222, 233, .28);
}

.cta-facts li {
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid rgba(216, 222, 233, .28);
  font-size: 13px;
  color: #ECEFF4;
}

.cta-facts li:nth-child(even) { padding-left: 14px; }

.cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.cta-mail {
  color: #ECEFF4;
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid rgba(236, 239, 244, .4);
}

.cta-mail:hover { color: #fff; text-decoration: none; border-bottom-color: #fff; }

.cta-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: #A9B4C4;
  max-width: 40ch;
}

/* --------------------------------------------------------------------------
   tables -- shared sheet behaviour
   -------------------------------------------------------------------------- */
.table-frame { border: 1px solid var(--line); }

.table-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.dtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.45;
}

.dtable caption { text-align: left; }

.dtable thead th {
  background: var(--secondary);
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: bottom;
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.dtable tbody th,
.dtable tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-weight: 400;
}

.dtable tbody tr:last-child th,
.dtable tbody tr:last-child td { border-bottom: 0; }

.dtable tbody tr:hover th,
.dtable tbody tr:hover td { background: var(--wash); }

.cell-num { white-space: nowrap; font-variant-numeric: tabular-nums; }

.cell-code {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.cell-note { color: var(--muted); font-size: 12.5px; }

.cell-action { white-space: nowrap; }

.cell-aside { display: block; color: var(--muted); font-size: 11.5px; }

.num { font-weight: 600; font-variant-numeric: tabular-nums; }

.unit { color: var(--muted); font-size: 12px; }

.scroll-hint {
  display: none;
  margin: 0;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  background: var(--wash);
  font-size: 11.5px;
  color: var(--muted);
}

.table-note {
  margin-top: 12px;
  max-width: 96ch;
  font-size: 12.5px;
  color: var(--muted);
}

/* product cell --------------------------------------------------------- */
.product-cell {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

.stable .thumb { width: 40px; height: 40px; }

.product-id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.product-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.product-meta {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.product-teaser {
  font-size: 12.5px;
  color: var(--muted);
  max-width: 34ch;
}

.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 6px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  vertical-align: 2px;
}

/* tier bands ----------------------------------------------------------- */
.tiers { display: flex; flex-direction: column; gap: 1px; min-width: 128px; }

.tier {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-variant-numeric: tabular-nums;
}

.tier-band { font-size: 11.5px; color: var(--muted); }

.tier-price { font-size: 12.5px; font-weight: 600; color: var(--ink); }

/* column widths -------------------------------------------------------- */
.stable { min-width: 1180px; }

.stable col.col-product { width: 17%; }
.stable col.col-material { width: 19%; }
.stable col.col-size { width: 16%; }
.stable col.col-moq { width: 8%; }
.stable col.col-tier { width: 13%; }
.stable col.col-carton { width: 10%; }
.stable col.col-lead { width: 9%; }
.stable col.col-hs { width: 8%; }

.ctable { min-width: 940px; }

#compliance-table { min-width: 860px; }

.ptable { min-width: 1080px; }

.cell-division,
.cell-scheme {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* spec table reference panel ------------------------------------------ */
.spec-head { align-items: start; }

.refpanel {
  width: 340px;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--wash);
}

.refpanel-title {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
}

.refpanel-text {
  margin: 6px 0 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.refstrip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.refshot { margin: 0; }

.refshot img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  background: #fff;
}

.refshot figcaption {
  margin-top: 4px;
  font-size: 10.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: center;
}

/* sort controls -------------------------------------------------------- */
.sortbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.sortbar-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 2px;
}

.sortbar-btn {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.sortbar-btn:hover { border-color: var(--primary); color: var(--primary); }

.sortbar-btn.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.sortable { padding: 0 !important; }

.sort-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: none;
  font-family: var(--body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
}

.sort-btn:hover { color: var(--primary); }

.sort-ind { font-size: 8px; line-height: 1; color: var(--primary); }

th[aria-sort="ascending"] .sort-btn,
th[aria-sort="descending"] .sort-btn { color: var(--primary); }

/* --------------------------------------------------------------------------
   E1 -- capability
   -------------------------------------------------------------------------- */
.statstrip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-right: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 18px 22px;
  border-right: 1px solid var(--line);
}

.stat-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}

.stat-text { font-size: 12.5px; color: var(--muted); }

.capability-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  margin-top: 40px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.step {
  display: flex;
  gap: 14px;
  padding: 20px 18px;
  background: #fff;
}

.step-no {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.step-body { display: flex; flex-direction: column; gap: 4px; }

.step-title { font-size: 14px; font-weight: 600; }

.step-text { font-size: 12.5px; color: var(--muted); }

.capability-side h3 { margin-bottom: 12px; }

.ticks { display: flex; flex-direction: column; gap: 9px; }

.ticks li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--muted);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--primary);
}

.stat-note {
  margin: 18px 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   F1 -- FAQ
   -------------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line); }

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 17px 2px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary:hover .faq-q { color: var(--primary); }

.faq-q {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.012em;
}

.faq-mark {
  font-size: 17px;
  line-height: 1.2;
  color: var(--primary);
  flex: 0 0 auto;
}

.faq-item[open] .faq-mark { transform: rotate(45deg); }

.faq-a { padding: 0 2px 20px; max-width: 78ch; }

.faq-a p { font-size: 13.5px; color: var(--muted); }

.faq-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 32px;
  padding: 22px;
  background: var(--secondary);
}

.faq-foot p { font-size: 13.5px; max-width: 62ch; color: var(--ink); }

/* --------------------------------------------------------------------------
   F2 -- compliance
   -------------------------------------------------------------------------- */
.compliance-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 18px;
}

.compliance-foot p { font-size: 13px; color: var(--muted); max-width: 78ch; }

/* --------------------------------------------------------------------------
   G1 -- WhatsApp float
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(46, 52, 64, .26);
}

.wa-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  text-decoration: none;
}

.wa-glyph { flex: 0 0 auto; }

.wa-sub {
  padding-right: 6px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(255, 255, 255, .86);
  padding: 2px 8px;
}

/* --------------------------------------------------------------------------
   H1 / H3 -- footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 54px 0 44px;
  background: var(--wash);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 36px;
}

.foot-logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.14em;
}

.foot-text {
  margin-top: 12px;
  max-width: 44ch;
  font-size: 13px;
  color: var(--muted);
}

.foot-contact {
  margin: 20px 0 22px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 14px;
  font-size: 12.5px;
}

.foot-contact dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.foot-contact dd { margin: 0; }

.col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

.foot-links { display: flex; flex-direction: column; gap: 9px; }

.foot-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.foot-links a:hover { color: var(--primary); }

.foot-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.foot-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.legal {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 18px 0 26px;
}

.legal-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 28px;
}

.legal-copy {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.legal-links { display: flex; flex-wrap: wrap; gap: 18px; }

.legal-links a { font-size: 12px; color: var(--muted); }

.legal-links a:hover { color: var(--primary); }

.legal-note {
  flex: 1 1 100%;
  font-size: 11.5px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   inquiry dialog
   -------------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  display: none;
  overflow-y: auto;
}

.modal[open] {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.modal::backdrop { background: rgba(46, 52, 64, .58); }

.modal-panel {
  width: min(560px, 100%);
  margin: auto;
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 26px 24px;
  animation: modal-in .14s ease-out;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 { font-size: 23px; }

.inquiry-form { padding-top: 20px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field .opt {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--line);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 14px;
  line-height: 1.4;
}

.field textarea { resize: vertical; }

.field select { appearance: none; background-image: none; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(94, 129, 172, .18);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid { border-color: var(--invalid); }

.field-note { font-size: 11.5px; color: var(--muted); }

.field-error { font-size: 11.5px; font-weight: 600; color: var(--invalid); }

.field-error[hidden] { display: none; }

.form-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 6px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 18px;
}

.form-note { font-size: 11.5px; color: var(--muted); max-width: 34ch; }

.inquiry-done { padding-top: 22px; }

.inquiry-done[hidden] { display: none; }

.done-title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
}

.done-text { margin-top: 8px; font-size: 13px; color: var(--muted); }

.done-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 7px 18px;
  margin: 20px 0 22px;
  padding: 16px;
  background: var(--wash);
  border: 1px solid var(--line);
  font-size: 13px;
}

.done-summary dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}

.done-summary dd { margin: 0; }

.done-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .statstrip { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 0; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-child(n + 4) { border-bottom: 0; }
}

@media (max-width: 1080px) {
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 12.5px; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .refpanel { width: 100%; }
  .cta-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .cta-band h1 { font-size: 34px; }
  .capability-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 14px; }
  .site-nav {
    order: 3;
    width: 100%;
    margin: 0;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .header-tools { gap: 10px; }
  h1 { font-size: 30px; }
  .cta-band h1 { font-size: 29px; }
  h2 { font-size: 25px; }
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
  .foot-brand { grid-column: 1 / -1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .scroll-hint { display: block; }
  .faq-foot { flex-direction: column; align-items: flex-start; gap: 18px; }
  .compliance-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* on small screens the listing tables reflow into stacked records, while the
   wide spec sheets keep scrolling inside their own frame instead of the page -- */
@media (max-width: 719px) {
  .wrap { padding: 0 18px; }

  .table-scroll { -webkit-overflow-scrolling: touch; }

  .stable { min-width: 1040px; font-size: 12.5px; }

  .stable col.col-product { width: 19%; }
  .stable col.col-material { width: 20%; }
  .stable col.col-size { width: 16%; }
  .stable col.col-moq { width: 9%; }
  .stable col.col-tier { width: 13%; }
  .stable col.col-carton { width: 9.5%; }
  .stable col.col-lead { width: 7.5%; }
  .stable col.col-hs { width: 6%; }

  .ctable { min-width: 700px; }

  #compliance-table { min-width: 580px; }

  .ptable-cards,
  .ptable-cards tbody,
  .ptable-cards tr,
  .ptable-cards th,
  .ptable-cards td { display: block; width: auto; }

  .ptable-cards { min-width: 0; }

  .ptable-cards thead { display: none; }

  .ptable-cards tbody tr {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .ptable-cards tbody tr:last-child { border-bottom: 0; }

  .ptable-cards tbody th,
  .ptable-cards tbody td {
    padding: 4px 0;
    border-bottom: 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }

  .ptable-cards tbody th::before,
  .ptable-cards tbody td::before {
    content: attr(data-label);
    flex: 0 0 92px;
    padding-top: 2px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .ptable-cards tbody tr:hover th,
  .ptable-cards tbody tr:hover td { background: transparent; }

  .ptable-cards .cell-product { display: block; }

  .ptable-cards .cell-product::before { display: none; }

  .ptable-cards .cell-product .product-cell { gap: 14px; }

  .ptable-cards .cell-product .thumb { width: 64px; height: 64px; }

  .ptable-cards .cell-action { margin-top: 10px; }

  .ptable-cards .cell-action::before { content: none; }

  .ptable-cards .cell-action .btn { width: 100%; }

  .ptable-cards .tiers { min-width: 0; max-width: 260px; }

  .ptable-sheet { min-width: 900px; }

  .ptable-sheet .product-teaser { display: none; }

  .ptable-sheet .thumb { width: 48px; height: 48px; }

  .dtable thead th,
  .dtable tbody th,
  .dtable tbody td { padding: 10px 11px; }

  .ctable .cell-note,
  #compliance-table .cell-note { display: none; }

  .ctable tbody th::before,
  .ctable tbody td::before,
  #compliance-table tbody th::before,
  #compliance-table tbody td::before { content: none; }

  .statstrip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 16px 14px 18px; }
  .stat-value { font-size: 25px; }
  .stat:nth-child(n + 4) { border-bottom: 0; }
  .stat:nth-child(n + 5) { border-bottom: 0; }

  .cta-facts { grid-template-columns: minmax(0, 1fr); }
  .cta-facts li:nth-child(even) { padding-left: 0; }
  .cta-band { padding: 34px 0 36px; }
  .cta-band h1 { font-size: 26px; }

  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }

  .modal { padding: 12px; }
  .modal-panel { padding: 20px 18px 18px; }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }

  .wa-float { right: 14px; bottom: 14px; }
  .wa-btn { padding: 11px 15px 11px 12px; }
  .wa-label { font-size: 12.5px; }
  .wa-sub { display: none; }

  .legal-inner { gap: 12px 20px; }
}

@media (max-width: 460px) {
  h1 { font-size: 24px; }
  .cta-band h1 { font-size: 23px; }
  h2 { font-size: 22px; }
  .brand-name { font-size: 17px; }
  .wa-label { display: none; }
  .wa-btn { padding: 13px; border-radius: 50%; }
  .faq-q { font-size: 15px; }
  .done-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .wa-float, .sortbar, .modal { display: none !important; }
  .table-scroll { overflow: visible; }
  .dtable { min-width: 0; font-size: 10px; }
}

/* --------------------------------------------------------------------------
   WordPress integration layer
   Appended by the theme. Nothing above this line is altered: the block only
   styles the classes WordPress, WooCommerce and the editor print themselves,
   and follows the same tokens (pure white ground, slate ink, one blue accent,
   squared 2px corners, table-row rhythm over cards).
   -------------------------------------------------------------------------- */

/* core accessibility helper -- WordPress prints .screen-reader-text where the
   design system uses .sr-only, so the two are kept identical ---------------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: static !important;
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 16px;
  clip: auto;
  clip-path: none;
  background: var(--ink);
  color: #fff;
}

/* sticky header clears the logged-in admin bar ----------------------------- */
body.admin-bar .site-header { top: 32px; }

/* a menu assigned to the section navigation prints a nested list, so the flex
   row the design system puts on .site-nav moves onto that list -------------- */
.site-nav > ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.site-nav > ul > li { list-style: none; }

.site-nav > ul > li > a {
  display: inline-block;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav > ul > li > a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-decoration: none;
}

.site-nav > ul > li.current-menu-item > a,
.site-nav > ul > li.current-menu-parent > a {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* footer menu columns print a list where the hand rolled column prints a ul */
.foot-col > .foot-links { display: flex; flex-direction: column; gap: 9px; }

.foot-col > .foot-links li { list-style: none; }

.foot-col > .foot-links a {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.foot-col > .foot-links a:hover { color: var(--primary); }

/* widgets dropped above the footer grid ----------------------------------- */
.foot-widgets {
  grid-column: 1 / -1;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* a table that is a page's own content keeps the specification look ---------- */
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.entry-content table th,
.entry-content table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.entry-content table thead th {
  background: var(--secondary);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* WordPress alignment and caption classes inside a page or a post ---------- */
.entry-content { max-width: 84ch; }

.entry-content > * + * { margin-top: 16px; }

.entry-content h2 { font-size: 24px; }

.entry-content h3 { font-size: 17px; }

.entry-content p,
.entry-content li { font-size: 14.5px; color: var(--muted); }

.entry-content ul,
.entry-content ol {
  padding-left: 22px;
  list-style: disc;
}

.entry-content li + li { margin-top: 6px; }

.entry-content a { text-decoration: underline; }

.entry-content blockquote {
  margin: 0;
  padding: 14px 18px;
  border-left: 3px solid var(--primary);
  background: var(--wash);
  color: var(--muted);
}

.entry-content code,
.entry-content kbd {
  padding: 1px 5px;
  border: 1px solid var(--line);
  background: var(--wash);
  font-size: 13px;
}

.entry-content pre {
  padding: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--wash);
  font-size: 13px;
}

.entry-content img { height: auto; }

.entry-content hr {
  height: 1px;
  border: 0;
  background: var(--line);
}

.alignleft {
  float: left;
  margin: 4px 22px 14px 0;
}

.alignright {
  float: right;
  margin: 4px 0 14px 22px;
}

.aligncenter {
  display: block;
  margin: 4px auto 14px;
}

.alignwide { max-width: none; }

.alignfull { max-width: none; width: 100%; }

.wp-caption { max-width: 100%; }

.wp-caption-text,
.wp-element-caption {
  margin-top: 6px;
  font-size: 11.5px;
  color: var(--muted);
}

.sticky { display: block; }

.bypostauthor { display: block; }

/* archive pagination, drawn as a quiet row of buttons --------------------- */
.pager {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pager .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pager .page-numbers:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.pager .page-numbers.current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pager .page-numbers.dots { border-color: transparent; }

/* breadcrumb line used above inner page titles ---------------------------- */
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.crumbs a { color: var(--muted); }

.crumbs a:hover { color: var(--primary); }

.crumbs .sep { color: var(--line); }

/* inner page heading band, matching the A4 rhythm at a smaller scale ------- */
.page-head {
  padding: 44px 0 40px;
  background: var(--ink);
  color: #fff;
}

.page-head h1 {
  color: #fff;
  font-size: 36px;
  letter-spacing: -0.024em;
}

.page-head .lead { color: #D8DEE9; }

.page-head .eyebrow { color: #A9C0DC; }

/* post / page meta rows keep the table vocabulary -------------------------- */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-bottom: 22px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.entry-meta dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.entry-meta a { color: var(--ink); }

.entry-meta a:hover { color: var(--primary); }

/* spec sheet on a product page reuses the dense table, stacked on phones --- */
.spec-sheet { min-width: 0; }

.spec-sheet th[scope="row"] {
  width: 30%;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--wash);
  white-space: nowrap;
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 719px) {
  .page-head { padding: 34px 0 32px; }
  .page-head h1 { font-size: 27px; }
  .alignleft,
  .alignright { float: none; margin: 0 0 14px; }
  .spec-sheet th[scope="row"] { width: 42%; white-space: normal; }
}

@media print {
  body.admin-bar .site-header { top: 0; }
  .pager { display: none; }
}
