/* ==========================================================================
   Faton Works v4.0 — Pure Swiss Gallery & Architectural Storefront
   Geist + Geist Mono · Hairline Grids · Un-cropped 3-Col Gallery Catalog
   Zero AI Slop: No Neon Lime, No Forest Gradients, No Floating Pill Headers
   ========================================================================== */
:root {
  --bg: #ffffff;
  --paper: #ffffff;
  --surface: #ffffff;
  --surface-subtle: #f6f6f8;
  --stone: #ececef;
  --ink: #0a0a0b;
  --ink-2: #52525b;
  --mute: #80808a;
  --line: #e6e6ea;
  --line-strong: #d1d1d6;
  --accent: #0a0a0b;
  --accent-blue: #0044ff;
  --forest: #0a0a0b;
  --f-disp: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --f-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --f-mono: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --wrap: 1380px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.6 var(--f-body);
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}
h1, h2, h3, h4 { font-family: var(--f-disp); font-weight: 500; letter-spacing: -0.032em; color: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 3vw, 40px); }

/* ==========================================================================
   FULL-WIDTH ARCHITECTURAL HEADER (64px · 1px bottom hairline · zero pills)
   ========================================================================== */
.site-hdr {
  position: sticky; top: 0; z-index: 120;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
body.admin-bar .site-hdr { top: 32px; }
.site-hdr__in {
  height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand__svg { width: 26px; height: 26px; display: block; border-radius: 6px; flex: none; }
.brand-text { font-size: 16px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.brand-text span { color: var(--mute); font-weight: 400; }
.brand__custom img { display: block; max-height: 30px; width: auto; }

.nav { display: flex; align-items: center; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav-list li a {
  padding: 6px 12px; border-radius: 6px;
  font-size: 14px; font-weight: 400; color: var(--ink-2);
  transition: color .15s, background .15s;
}
.nav-list li a:hover, .nav-list li.current-menu-item a { color: var(--ink); background: var(--surface-subtle); }

.hdr__acts { display: flex; align-items: center; gap: 10px; flex: none; }
.mob-toggle {
  display: none; width: 38px; height: 38px; border-radius: 7px;
  border: 1px solid var(--line); align-items: center; justify-content: center;
}

/* ==========================================================================
   BUTTONS — Sharp 7px architectural radius, clean medium weight
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 44px; padding: 0 20px; border-radius: 7px;
  font-size: 14px; font-weight: 500; letter-spacing: -0.01em;
  transition: background .16s, border-color .16s, color .16s, transform .16s;
  white-space: nowrap;
}
.btn--sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 6px; }
.btn--dark, .btn--green { background: #0a0a0b; color: #ffffff; border: 1px solid #0a0a0b; }
.btn--dark:hover, .btn--green:hover { background: #27272a; border-color: #27272a; }
.btn--ghost { background: #ffffff; color: var(--ink); border: 1px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface-subtle); }
.btn--white { background: #ffffff; color: #0a0a0b; border: 1px solid #ffffff; }
.btn--white:hover { background: #e4e4e7; }

/* ==========================================================================
   EDITORIAL ARCHITECTURAL HERO — Pure White, Asymmetric 12-Col Split
   ========================================================================== */
.hero-ed {
  padding: clamp(56px, 6.5vw, 92px) 0 clamp(44px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}
.hero-ed--compact { padding: clamp(44px, 5vw, 68px) 0 clamp(32px, 4vw, 48px); }
.hero-ed__grid {
  display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 0.72fr);
  gap: clamp(28px, 4.5vw, 64px); align-items: end;
}
.hero-ed h1 {
  font-size: clamp(38px, 4.9vw, 64px);
  font-weight: 500; line-height: 1.03; letter-spacing: -0.042em;
  color: var(--ink); max-width: 780px;
}
.hero-ed__right { display: flex; flex-direction: column; gap: 22px; }
.hero-ed__lead { font-size: 15.5px; line-height: 1.62; color: var(--ink-2); max-width: 440px; }
.hero-ed__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-ed__specs {
  margin-top: clamp(36px, 4.5vw, 56px); padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 12px; color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.hero-ed__specs b { color: var(--ink); font-weight: 500; }
.hero-ed__specs-group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* ==========================================================================
   SECTIONS & SHARED EDITORIAL HEADERS
   ========================================================================== */
.sec { padding: clamp(52px, 6vw, 84px) 0; }
.sec--tight { padding: clamp(36px, 4.5vw, 56px) 0; }
.sec--lined { border-top: 1px solid var(--line); }
.sec--stone { background: var(--surface-subtle); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); margin-bottom: 10px;
}
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.sec-head h2, .sec-head h1 {
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 500; line-height: 1.08; letter-spacing: -0.036em;
}
.sec-head p { font-size: 15px; color: var(--ink-2); max-width: 440px; line-height: 1.6; }

/* ==========================================================================
   FLAT EDITORIAL CATALOG BAR & 3-COL GALLERY THEME CARDS
   ========================================================================== */
.cat-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); margin-bottom: 40px;
}
.cat-tabs { display: flex; align-items: center; gap: 24px; }
.tab {
  position: relative; padding: 14px 0;
  font-size: 14px; font-weight: 500; color: var(--mute);
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .15s;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); }
.tab.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--ink);
}
.tab span {
  font-family: var(--f-mono); font-size: 11.5px; color: var(--mute);
  font-variant-numeric: tabular-nums;
}
.tab.is-active span { color: var(--ink); }

.cat-controls { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; flex-wrap: wrap; }
.cat-select {
  height: 36px; padding: 0 28px 0 12px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--surface-subtle);
  font: inherit; font-size: 13px; color: var(--ink); outline: none; cursor: pointer;
}
.cat-select:focus { border-color: var(--ink); background: #ffffff; }
.search {
  display: flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 12px; min-width: 240px;
  border: 1px solid var(--line); border-radius: 6px; background: #ffffff;
}
.search:focus-within { border-color: var(--ink); }
.search svg { color: var(--mute); flex: none; }
.search input { border: 0; outline: 0; background: none; width: 100%; font: inherit; font-size: 13px; color: var(--ink); }
.search input::placeholder { color: var(--mute); }

/* Clean Flat Group Dividers (WordPress vs HTML5) */
.cat-group { margin-bottom: 64px; }
.cat-group:last-child { margin-bottom: 0; }
.cat-group__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: 16px; margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.cat-group__title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.cat-group__idx { font-family: var(--f-mono); font-size: 12px; color: var(--mute); }
.cat-group__title h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.025em; }
.cat-group__sub { font-size: 13.5px; color: var(--mute); }
.cat-group__count { font-family: var(--f-mono); font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* Strict 3-Col Architectural Gallery Cards with Subtle Theme-Color Matte Wash */
.tgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.tcard {
  display: flex; flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s var(--ease), transform .24s var(--ease);
}
.tcard:hover { border-color: #b4b4bd; transform: translateY(-2px); }

.tcard__stage {
  position: relative; overflow: hidden;
  padding: 16px;
  background: #f4f4f6;
  border-bottom: 1px solid var(--line);
}
.tcard__glow {
  position: absolute; inset: -30%; width: 160%; height: 160%;
  object-fit: cover; filter: blur(44px) saturate(1.45);
  opacity: 0.24; pointer-events: none; z-index: 0;
  transition: opacity .3s var(--ease);
}
.tcard:hover .tcard__glow { opacity: 0.34; }
.tcard__wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.22) 100%);
}
.tcard__media {
  position: relative; z-index: 2; display: block;
  aspect-ratio: 590 / 300;
  border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(10, 10, 11, 0.10);
  background: #111113;
  box-shadow: 0 8px 22px rgba(10, 10, 11, 0.08);
}
.tcard__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .42s var(--ease);
}
.tcard:hover .tcard__media img { transform: scale(1.022); }

.tcard__body {
  padding: 16px 18px 18px;
  display: flex; flex-direction: column; gap: 12px; flex: 1;
}
.tcard__row-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.tcard__title {
  font-size: 16px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink);
  transition: color .15s;
}
.tcard__title:hover { color: var(--accent-blue); }
.tcard__price {
  font-family: var(--f-mono); font-size: 13.5px; font-weight: 500;
  color: var(--ink); font-variant-numeric: tabular-nums; flex: none;
}
.tcard__sub {
  font-size: 13px; color: var(--ink-2); line-height: 1.48; flex: 1;
}
.tcard__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 12px; border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.tcard__stack {
  font-family: var(--f-mono); font-size: 11px; color: var(--mute); letter-spacing: 0.02em;
}
.tcard__links { display: flex; align-items: center; gap: 14px; }
.tcard__demo {
  font-weight: 500; color: var(--ink-2); transition: color .15s;
}
.tcard__demo:hover { color: var(--ink); }
.tcard__buy {
  font-weight: 600; color: var(--ink); transition: color .15s;
}
.tcard__buy:hover { color: var(--accent-blue); }

/* ==========================================================================
   OBSIDIAN ARCHITECTURAL ALL-ACCESS VAULT (#0C0C0E — Zero Neon Green)
   ========================================================================== */
.vault-slab {
  background: #0c0c0e; color: #f4f4f5;
  border-radius: 12px; border: 1px solid #222226;
  padding: clamp(32px, 4.5vw, 56px);
  display: grid; grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(32px, 4.5vw, 60px); align-items: center;
}
.vault-slab__kicker {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.09em;
  text-transform: uppercase; color: #a1a1aa; margin-bottom: 14px; display: block;
}
.vault-slab h2 {
  font-size: clamp(30px, 3.6vw, 46px); font-weight: 500; line-height: 1.06;
  letter-spacing: -0.04em; color: #ffffff; margin-bottom: 16px;
}
.vault-slab__lead { font-size: 15px; line-height: 1.65; color: #a1a1aa; max-width: 520px; margin-bottom: 28px; }
.vault-metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0; margin-bottom: 26px; gap: 16px;
}
.vault-metrics span { display: block; font-family: var(--f-mono); font-size: 11px; color: #71717a; text-transform: uppercase; margin-bottom: 4px; }
.vault-metrics strong { font-family: var(--f-mono); font-size: 20px; font-weight: 500; color: #ffffff; font-variant-numeric: tabular-nums; }
.vault-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.vault-strip a { display: block; border-radius: 5px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.14); aspect-ratio: 590 / 300; }
.vault-strip img { width: 100%; height: 100%; object-fit: cover; }

.pass-sheet {
  background: #ffffff; color: var(--ink);
  border-radius: 10px; padding: clamp(24px, 3vw, 32px);
}
.pass-sheet__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.pass-sheet__head h3 { font-size: 18px; font-weight: 600; }
.pass-sheet__price { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.pass-sheet__price s { font-size: 13.5px; color: var(--mute); }
.pass-sheet__price strong { font-size: 28px; font-weight: 600; color: var(--ink); }

.pass-tiers { display: grid; gap: 10px; margin-bottom: 18px; }
.pass-tier {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line); background: #ffffff;
  transition: border-color .15s, background .15s;
}
.pass-tier:hover { border-color: #a1a1aa; }
.pass-tier.is-selected { border-color: #0a0a0b; background: var(--surface-subtle); }
.pass-tier__l { display: flex; align-items: flex-start; gap: 10px; }
.pass-tier__radio {
  width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  margin-top: 3px; flex: none; display: grid; place-items: center;
}
.pass-tier.is-selected .pass-tier__radio { border-color: #0a0a0b; background: #0a0a0b; }
.pass-tier.is-selected .pass-tier__radio::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #ffffff; }
.pass-tier__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.pass-tier__desc { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.pass-tier__p { text-align: right; font-family: var(--f-mono); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pass-tier__p s { display: block; font-size: 11px; color: var(--mute); }
.pass-tier__p b { font-size: 15px; font-weight: 600; color: var(--ink); }

.pass-perks { list-style: none; display: grid; gap: 8px; margin-bottom: 20px; font-size: 13.5px; color: var(--ink-2); }
.pass-perks li { padding-left: 16px; position: relative; }
.pass-perks li::before { content: '—'; position: absolute; left: 0; color: var(--mute); }
.pass-trust { text-align: center; font-size: 12px; color: var(--mute); margin-top: 12px; }

/* ==========================================================================
   4-COLUMN ARCHITECTURAL SPEC LEDGER (Replaces Cartoon AI Bento)
   ========================================================================== */
.spec-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.spec-cell {
  padding: 28px 24px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #ffffff;
  display: flex; flex-direction: column; gap: 10px;
}
.spec-cell__num { font-family: var(--f-mono); font-size: 11.5px; color: var(--mute); }
.spec-cell h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.spec-cell p { font-size: 13.5px; line-height: 1.6; color: var(--ink-2); }
.spec-cell__meta { margin-top: auto; padding-top: 14px; font-family: var(--f-mono); font-size: 11.5px; color: var(--ink); }

/* ==========================================================================
   CLEAN 3-COLUMN ARCHITECTURAL SERVICES TABLE
   ========================================================================== */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc-col {
  background: #ffffff; border: 1px solid var(--line); border-radius: 10px;
  padding: 28px; display: flex; flex-direction: column;
}
.svc-col--feat { border-color: #0a0a0b; background: var(--surface-subtle); }
.svc-col__tag { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mute); margin-bottom: 12px; }
.svc-col h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.svc-col__price { font-family: var(--f-mono); font-size: 34px; font-weight: 500; letter-spacing: -0.04em; color: var(--ink); margin: 14px 0 12px; font-variant-numeric: tabular-nums; }
.svc-col__price span { font-size: 13px; color: var(--mute); font-weight: 400; margin-left: 6px; }
.svc-col__desc { font-size: 14px; color: var(--ink-2); line-height: 1.58; margin-bottom: 20px; }
.svc-col .pass-perks { flex: 1; margin-bottom: 24px; }
.svc-col .btn { width: 100%; }

/* ==========================================================================
   SINGLE PRODUCT PAGE (/themes/<slug>/)
   ========================================================================== */
.prod-crumb {
  display: flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; color: var(--mute);
  padding: 28px 0 20px;
}
.prod-crumb a:hover { color: var(--ink); }
.prod-grid { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(320px, 0.72fr); gap: clamp(28px, 4vw, 52px); align-items: start; padding-bottom: 84px; }
.prod-hero { margin-bottom: 24px; }
.prod-hero h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1.06; letter-spacing: -0.038em; margin-bottom: 10px; }
.prod-sub { font-size: 16px; color: var(--ink-2); line-height: 1.55; }
.prod-stage {
  border: 1px solid var(--line); border-radius: 10px; padding: 14px;
  background: var(--surface-subtle); margin-bottom: 26px;
}
.prod-stage__img { aspect-ratio: 590 / 300; border-radius: 6px; overflow: hidden; border: 1px solid rgba(10,10,11,0.08); background: #111; }
.prod-stage__img img { width: 100%; height: 100%; object-fit: cover; }
.subdemo-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.subdemo-pill {
  padding: 7px 13px; border-radius: 6px; border: 1px solid var(--line); background: #ffffff;
  font-size: 13px; font-weight: 500; color: var(--ink); transition: border-color .15s, background .15s;
}
.subdemo-pill:hover { border-color: var(--ink); background: var(--surface-subtle); }

.pbox {
  position: sticky; top: 86px;
  background: #ffffff; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 24px;
}
.pbox__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.pbox__head h2 { font-size: 18px; font-weight: 600; }
.pbox__price { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.pbox__old { font-size: 14px; color: var(--mute); text-decoration: line-through; }
.pbox__now { font-size: 28px; font-weight: 600; color: var(--ink); }

.tiers { display: grid; gap: 8px; margin-bottom: 16px; }
.tier {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 14px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer;
  transition: border-color .15s, background .15s;
}
.tier:hover { border-color: #a1a1aa; }
.tier.is-selected { border-color: #0a0a0b; background: var(--surface-subtle); }
.tier__l { display: flex; align-items: flex-start; gap: 10px; }
.tier__radio { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-strong); margin-top: 3px; flex: none; display: grid; place-items: center; }
.tier.is-selected .tier__radio { border-color: #0a0a0b; background: #0a0a0b; }
.tier.is-selected .tier__radio::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #ffffff; }
.tier__name { font-size: 14px; font-weight: 600; }
.tier__desc { font-size: 12px; color: var(--ink-2); }
.tier__p { text-align: right; white-space: nowrap; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.tier__p s { font-size: 11.5px; color: var(--mute); margin-right: 4px; }
.tier__p b { font-size: 15px; font-weight: 600; }

.pbox__perks { list-style: none; display: grid; gap: 7px; margin: 16px 0; font-size: 13px; color: var(--ink-2); }
.pbox__perks li::before { content: '— '; color: var(--mute); }
.pbox__addon {
  display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 7px;
  background: var(--surface-subtle); border: 1px solid var(--line); margin-bottom: 16px;
  font-size: 13px; font-weight: 500; cursor: pointer;
}
.pbox__addon input { width: 15px; height: 15px; accent-color: #0a0a0b; }
.pbox__btns { display: grid; gap: 8px; }
.pbox__btns .btn { width: 100%; height: 44px; }
.pbox__tf { text-align: center; font-size: 12.5px; color: var(--mute); margin-top: 12px; }
.pbox__tf a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   DEALS, FEATURE BOXES, FAQ, LEDGER TABLES
   ========================================================================== */
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pcard { padding: 26px; border-radius: 10px; background: #ffffff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.pcard--feat { border-color: #0a0a0b; background: var(--surface-subtle); }
.pcard__tag { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mute); margin-bottom: 10px; }
.pcard h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.pcard__price { font-family: var(--f-mono); font-size: 32px; font-weight: 500; line-height: 1; margin: 12px 0 8px; display: flex; align-items: baseline; gap: 8px; }
.pcard__strike { font-size: 15px; color: var(--mute); text-decoration: line-through; }
.pcard__desc { font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px; }
.pcard__list { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; flex: 1; font-size: 13.5px; color: var(--ink-2); }
.pcard__list li::before { content: '— '; color: var(--mute); }
.pcard .btn { width: 100%; }

.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fbox { padding: 22px; border-radius: 10px; background: #ffffff; border: 1px solid var(--line); }
.fbox h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.fbox p { font-size: 13.5px; color: var(--ink-2); line-height: 1.58; }

.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; border-top: 1px solid var(--line); }
details.faq { border-bottom: 1px solid var(--line); padding: 20px 0; }
details.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 15px; font-weight: 500; color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-family: var(--f-mono); font-size: 18px; color: var(--mute); }
details.faq[open] summary::after { content: '−'; color: var(--ink); }
details.faq p { margin-top: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.64; }

.ledger-table { border-top: 1px solid var(--line); }
.ledger-row { display: grid; grid-template-columns: 1.4fr 1fr 0.8fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: center; }
.ledger-row--head { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--mute); }
.ledger-good { font-family: var(--f-mono); font-weight: 500; color: var(--ink); }

/* ==========================================================================
   JOURNAL, SINGLE ARTICLE & SEO/AIEO MONOGRAPH PROSE
   ========================================================================== */
.niches { display: flex; gap: 8px; flex-wrap: wrap; }
.niche {
  padding: 6px 13px; border-radius: 6px; border: 1px solid var(--line); background: #ffffff;
  font-size: 13px; font-weight: 500; color: var(--ink-2); transition: all .15s;
}
.niche:hover, .niche.is-active { background: #0a0a0b; color: #ffffff; border-color: #0a0a0b; }

.jgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.jcard { display: flex; flex-direction: column; }
.jcard__media {
  display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface-subtle); margin-bottom: 14px;
}
.jcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.jcard:hover .jcard__media img { transform: scale(1.025); }
.jcard__body { display: flex; flex-direction: column; flex: 1; }
.jcard__meta { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.jcard h3 { font-size: 18px; font-weight: 500; line-height: 1.28; letter-spacing: -0.025em; margin-bottom: 8px; }
.jcard h3 a:hover { color: var(--accent-blue); }
.jcard p { font-size: 13.5px; color: var(--ink-2); line-height: 1.58; margin-bottom: 14px; flex: 1; }
.jcard__foot { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); }
.jcard__foot a { color: var(--ink); font-weight: 500; }

.article-wrap { max-width: 780px; margin: 0 auto; }
.article-head h1 { font-size: clamp(32px, 4.2vw, 48px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.08; margin-bottom: 16px; }
.article-lead { font-size: 18px; color: var(--ink-2); line-height: 1.58; margin-bottom: 18px; }
.article-byline { font-size: 13px; color: var(--mute); padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.article-byline strong { color: var(--ink); font-weight: 600; }
.article-hero-plate { border-radius: 10px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; margin-bottom: 32px; }
.article-hero-plate img { width: 100%; height: 100%; object-fit: cover; }

.prose { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.prose h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); margin: 34px 0 12px; }
.prose h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 22px 0 8px; }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { margin: 0 0 18px 20px; display: grid; gap: 8px; }
.prose blockquote {
  margin: 24px 0; padding: 16px 20px; border-left: 2px solid var(--ink);
  background: var(--surface-subtle); font-size: 16px; color: var(--ink);
}
.prose code { font-family: var(--f-mono); font-size: 0.86em; background: var(--surface-subtle); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; color: var(--ink); }
.prose a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-blue); }
.prod-prose { border-top: 1px solid var(--line); padding-top: 32px; }
.prod-prose > h2:first-child { margin-top: 0; }
.fw-spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 13.5px; border-top: 1px solid var(--line); }
.fw-spec-table th, .fw-spec-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.fw-spec-table th { width: 32%; font-family: var(--f-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; color: var(--mute); background: var(--surface-subtle); }
.fw-spec-table td { color: var(--ink); background: #ffffff; }

/* Account & Changelog */
.acct-auth-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 60px); align-items: start; }
.acct-auth-intro h1 { font-size: clamp(32px, 4vw, 46px); font-weight: 500; letter-spacing: -0.04em; line-height: 1.06; margin-bottom: 14px; }
.acct-auth-intro p { font-size: 15.5px; color: var(--ink-2); line-height: 1.6; max-width: 500px; }
.acct-card { background: #ffffff; border: 1px solid var(--line-strong); border-radius: 10px; padding: clamp(24px, 3vw, 32px); }
.acct-tabs { display: flex; gap: 4px; padding: 4px; background: var(--surface-subtle); border-radius: 8px; margin-bottom: 20px; }
.acct-tabs button { flex: 1; height: 34px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.acct-tabs button.is-active { background: #ffffff; color: var(--ink); border: 1px solid var(--line); }
.acct-form { display: none; gap: 14px; }
.acct-form.is-active { display: grid; }
.fw-field { display: grid; gap: 6px; }
.fw-field label { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mute); }
.fw-field input, .fw-field select, .fw-field textarea { width: 100%; padding: 10px 12px; border-radius: 7px; border: 1px solid var(--line-strong); background: #ffffff; color: var(--ink); font: inherit; font-size: 14px; outline: none; }
.fw-field input:focus, .fw-field select:focus, .fw-field textarea:focus { border-color: var(--ink); }
.fw-check { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.fw-check input { margin-top: 3px; width: 15px; height: 15px; accent-color: #0a0a0b; }
.fw-alert { padding: 12px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 500; margin-bottom: 16px; }
.fw-alert--err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.fw-alert--ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

.acct-dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; flex-wrap: wrap; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.acct-dash-head h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 500; }
.acct-dash-grid { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.acct-side { display: grid; gap: 4px; }
.acct-side a { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.acct-side a span { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.acct-side a:hover { background: var(--surface-subtle); color: var(--ink); }
.acct-side a.is-active { background: #0a0a0b; color: #ffffff; }
.acct-side a.is-active span { color: #a1a1aa; }
.acct-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.acct-kpi { border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; }
.acct-kpi span { display: block; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.acct-kpi strong { font-family: var(--f-mono); font-size: 28px; font-weight: 500; }
.acct-upgrade { background: var(--surface-subtle); border: 1px solid var(--ink); border-radius: 10px; padding: 24px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.acct-upgrade h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.acct-upgrade p { font-size: 13.5px; color: var(--ink-2); max-width: 500px; }
.acct-dl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.acct-dl-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); }
.acct-dl-item b { display: block; font-size: 14px; font-weight: 600; }
.acct-dl-item span { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }

.trust-ledger { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 18px; border-radius: 8px; border: 1px solid var(--line); font-family: var(--f-mono); font-size: 11.5px; color: var(--ink-2); }
.trust-ledger i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.chg-list { display: grid; gap: 16px; }
.chg-card { border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.chg-card__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; font-family: var(--f-mono); font-size: 11px; }
.chg-ver { padding: 2px 8px; border-radius: 4px; background: #0a0a0b; color: #ffffff; }
.chg-tag { padding: 2px 8px; border-radius: 4px; background: var(--surface-subtle); color: var(--ink-2); border: 1px solid var(--line); }
.chg-date { color: var(--mute); margin-left: auto; }
.chg-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.chg-items { list-style: none; display: grid; gap: 8px; }
.chg-items li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.chg-pill { font-family: var(--f-mono); font-size: 10px; padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface-subtle); color: var(--ink); flex: none; margin-top: 2px; }

/* ==========================================================================
   SUPPORT HUB, TICKET DESK & EXPANDED SERVICES (v4.1 GALLERY SWISS)
   ========================================================================== */
.sup-hero {
  padding: clamp(44px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
  background: #ffffff;
}
.sup-hero h1 {
  font-size: clamp(34px, 4.6vw, 56px); font-weight: 500;
  letter-spacing: -0.04em; line-height: 1.05; max-width: 780px; margin-bottom: 14px;
}
.sup-hero__lead { font-size: 16px; color: var(--ink-2); line-height: 1.62; max-width: 640px; margin-bottom: 24px; }
.sup-nav-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.sup-sla-bar {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface-subtle);
  overflow: hidden;
}
.sup-sla-bar > div { padding: 16px 20px; border-right: 1px solid var(--line); }
.sup-sla-bar > div:last-child { border-right: 0; }
.sup-sla-bar span { display: block; font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--mute); margin-bottom: 4px; }
.sup-sla-bar strong { font-size: 16px; font-weight: 600; color: var(--ink); }

.sup-docs-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.sup-docs-search { flex: 1 1 360px; max-width: 560px; }
.sup-docs-count { font-family: var(--f-mono); font-size: 12px; color: var(--mute); }
.sup-docs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sup-doc-card {
  display: flex; flex-direction: column; padding: 16px 18px; border-radius: 8px;
  border: 1px solid var(--line); background: #ffffff; transition: border-color .15s, background .15s;
}
.sup-doc-card:hover { border-color: var(--ink); background: var(--surface-subtle); }
.sup-doc-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sup-doc-card__ext { font-family: var(--f-mono); font-size: 11px; color: var(--mute); }
.sup-doc-card:hover .sup-doc-card__ext { color: var(--ink); }
.sup-doc-card h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 4px; color: var(--ink); }
.sup-doc-card p { font-size: 12.5px; color: var(--ink-2); line-height: 1.48; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.sup-kb { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--line); }
.sup-kb__head { margin-bottom: 18px; }
.sup-kb__head h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.025em; }

.sup-desk-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 3.5vw, 40px); align-items: start; }
.sup-form-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sup-tracker-col { display: grid; gap: 20px; }

.sup-thread-card { border-color: var(--ink); }
.sup-thread-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sup-thread-head h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.sup-tkt-id { font-family: var(--f-mono); font-size: 11px; font-weight: 600; color: var(--ink); background: var(--surface-subtle); border: 1px solid var(--line); padding: 2px 7px; border-radius: 4px; }
.sup-status { font-family: var(--f-mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 9px; border-radius: 4px; flex: none; }
.sup-status--open { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.sup-status--answered { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.sup-status--resolved { background: var(--surface-subtle); color: var(--mute); border: 1px solid var(--line); }

.sup-thread-meta {
  display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 12px 14px; margin-bottom: 16px;
  border-radius: 8px; background: var(--surface-subtle); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-2);
}
.sup-thread-meta strong { color: var(--ink); font-weight: 600; }

.sup-messages { display: grid; gap: 10px; margin-bottom: 18px; }
.sup-msg { padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line); background: #ffffff; }
.sup-msg--staff { background: var(--surface-subtle); border-color: var(--ink); }
.sup-msg__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--mute); margin-bottom: 6px; }
.sup-msg__meta strong { color: var(--ink); font-weight: 600; }
.sup-msg__meta span:last-child { margin-left: auto; font-family: var(--f-mono); font-size: 11px; }
.sup-staff-tag { font-family: var(--f-mono); font-size: 10px; text-transform: uppercase; padding: 1px 6px; border-radius: 4px; background: #0a0a0b; color: #ffffff; }
.sup-msg__body { font-size: 13.5px; color: var(--ink-2); line-height: 1.62; }

.sup-reply-form { display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.sup-reply-acts { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.sup-tkt-list { display: grid; gap: 8px; }
.sup-tkt-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: #ffffff;
  transition: border-color .15s, background .15s;
}
.sup-tkt-row:hover { border-color: var(--ink); background: var(--surface-subtle); }
.sup-tkt-row__top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.sup-tkt-row strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.sup-tkt-row small { display: block; font-size: 12px; color: var(--mute); margin-top: 2px; }
.sup-tkt-row__arr { font-family: var(--f-mono); font-size: 12px; color: var(--ink); flex: none; }

.sup-policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sup-policy-col { padding: 28px; border-radius: 10px; border: 1px solid var(--line); background: #ffffff; }
.sup-policy-col--alt { background: var(--surface-subtle); border-color: var(--line-strong); }
.sup-policy-col h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.025em; margin-bottom: 14px; }

.svc-fastpay {
  padding: 22px; border-radius: 10px; border: 1px solid var(--ink); background: var(--surface-subtle);
  margin-bottom: 18px;
}
.svc-fastpay h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.svc-fastpay p { font-size: 13.5px; color: var(--ink-2); margin-bottom: 14px; line-height: 1.55; }

/* ==========================================================================
   WOOCOMMERCE DIGITAL STOREFRONT OVERRIDES (v4.2 GALLERY SWISS)
   ========================================================================== */
.fw-wc-shell { padding: clamp(36px, 5vw, 60px) 0 64px; background: #ffffff; }
.woocommerce .woocommerce-breadcrumb {
  font-family: var(--f-mono); font-size: 11.5px; color: var(--mute); margin-bottom: 18px;
}
.woocommerce .woocommerce-products-header__title,
.woocommerce h1.product_title {
  font-size: clamp(28px, 3.6vw, 42px); font-weight: 500; letter-spacing: -0.035em;
  line-height: 1.08; color: var(--ink); margin-bottom: 14px;
}
.woocommerce ul.products {
  display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px;
  margin: 24px 0 36px !important; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product {
  width: auto !important; float: none !important; margin: 0 !important;
  display: flex; flex-direction: column; padding: 16px; border-radius: 10px;
  border: 1px solid var(--line); background: #ffffff; transition: border-color .15s;
}
.woocommerce ul.products li.product:hover { border-color: var(--ink); }
.woocommerce ul.products li.product img {
  border-radius: 6px; border: 1px solid var(--line); aspect-ratio: 16 / 9;
  object-fit: cover; margin-bottom: 12px !important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 15.5px !important; font-weight: 600; color: var(--ink); padding: 0 0 6px !important;
}
.woocommerce ul.products li.product .price {
  font-family: var(--f-mono); font-size: 14px !important; color: var(--ink) !important; font-weight: 600; margin-bottom: 12px !important;
}
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale {
  background: #0a0a0b !important; color: #ffffff !important; border-radius: 4px !important;
  font-family: var(--f-mono); font-size: 10px !important; text-transform: uppercase;
  min-height: 0 !important; min-width: 0 !important; line-height: 1 !important; padding: 5px 8px !important;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce button.button.alt, .woocommerce a.button.alt {
  background: #0a0a0b !important; color: #ffffff !important; border: 1px solid #0a0a0b !important;
  border-radius: 7px !important; font-family: var(--f-sans) !important; font-size: 13.5px !important;
  font-weight: 500 !important; padding: 10px 18px !important; line-height: 1.2 !important;
  transition: background .15s !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover {
  background: #27272a !important; color: #ffffff !important;
}
.woocommerce-message, .woocommerce-info {
  border-top: 2px solid #0a0a0b !important; background: var(--surface-subtle) !important;
  color: var(--ink) !important; border-radius: 8px;
}
.woocommerce table.shop_table {
  border: 1px solid var(--line) !important; border-radius: 10px !important; overflow: hidden;
  border-collapse: separate !important; background: #ffffff;
}
.woocommerce table.shop_table th {
  font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--mute); background: var(--surface-subtle);
}
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
  padding: 10px 12px; border-radius: 7px; border: 1px solid var(--line-strong);
  background: #ffffff; color: var(--ink); font: inherit; font-size: 14px;
}
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
  background: var(--surface-subtle) !important; border: 1px solid var(--line); border-radius: 10px !important;
}
#add_payment_method #payment div.payment_box, .woocommerce-cart #payment div.payment_box, .woocommerce-checkout #payment div.payment_box {
  background: #ffffff !important; border: 1px solid var(--line); color: var(--ink-2) !important; border-radius: 8px;
}
#add_payment_method #payment div.payment_box::before, .woocommerce-cart #payment div.payment_box::before, .woocommerce-checkout #payment div.payment_box::before {
  display: none !important;
}
.fw-wc-paybox, .fw-wc-license-box {
  max-width: 680px; margin: 24px 0; padding: 28px; border-radius: 10px;
  border: 1px solid var(--ink); background: var(--surface-subtle);
}
.fw-wc-paybox h2, .fw-wc-license-box h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.025em; margin-bottom: 8px; }
.fw-wc-paybox p, .fw-wc-license-box p { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
@media (max-width: 1024px) { .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .woocommerce ul.products { grid-template-columns: 1fr; } }

/* ==========================================================================
   MINIMAL ARCHITECTURAL FOOTER
   ========================================================================== */
.site-ftr {
  margin-top: 64px; padding: 56px 0 36px;
  background: var(--surface-subtle); border-top: 1px solid var(--line);
}
.site-ftr__top {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px);
  padding-bottom: 44px; border-bottom: 1px solid var(--line);
}
.site-ftr__desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; max-width: 380px; margin: 14px 0 18px; }
.ftr-news { display: flex; gap: 8px; max-width: 380px; }
.ftr-news input {
  flex: 1; height: 36px; padding: 0 12px; border-radius: 6px;
  border: 1px solid var(--line-strong); background: #ffffff; font: inherit; font-size: 13px; color: var(--ink); outline: none;
}
.ftr-news input:focus { border-color: var(--ink); }
.ftr-news-ok { margin-top: 8px; font-size: 12.5px; color: var(--ink); font-weight: 500; }

.site-ftr__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.site-ftr__cols h4 { font-family: var(--f-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mute); margin-bottom: 14px; }
.site-ftr__cols ul { list-style: none; display: grid; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.site-ftr__cols a:hover { color: var(--ink); }

.site-ftr__base {
  padding-top: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12.5px; color: var(--mute);
}
.site-ftr__legal { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.site-ftr__pay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 11px; color: var(--ink-2); }

.mob-nav {
  display: none; position: fixed; top: 65px; left: 0; right: 0; z-index: 140;
  background: #ffffff; border-bottom: 1px solid var(--line); padding: 14px 20px 20px;
  flex-direction: column; gap: 2px;
}
.mob-nav.is-open { display: flex; }
.mob-nav a { padding: 10px 8px; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mob-nav a:last-child { border-bottom: 0; }

@media (max-width: 1100px) {
  .hero-ed__grid, .vault-slab, .site-ftr__top, .acct-auth-grid, .acct-dash-grid, .sup-desk-grid { grid-template-columns: 1fr; }
  .tgrid, .jgrid, .spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid, .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sup-docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sup-sla-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sup-sla-bar > div { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .mob-toggle { display: inline-flex; }
  .prod-grid, .acct-dl-grid, .sup-policy-grid { grid-template-columns: 1fr; }
  .pbox { position: static; }
  .faq-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tgrid, .jgrid, .spec-grid, .svc-grid, .pgrid, .fgrid, .site-ftr__cols, .acct-kpis, .sup-docs-grid, .sup-form-2col, .sup-sla-bar { grid-template-columns: 1fr; }
  .vault-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vault-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { min-width: 0; flex: 1 1 100%; }
  .cat-tabs { gap: 16px; }
}
