/*
 * EmRuth 2026 (emruth-v2) base.css: Package F, loaded on every page (contract section 5).
 * Order: fonts, tokens (light, dark), reset and base, type ramp, layout, components and states, global chrome,
 * product card and grids, WooCommerce base, legacy and plugin vocabulary, fallback list template, reduced motion.
 * Square corners, 2px rules, one overlay shadow, nothing under 14px, pink only on the main action,
 * yellow only on the shirt-words box. Page files add rules for their own classes only.
 * .is-hover, .is-press and .is-focus mirror :hover, :active and :focus-visible so the states page can show them.
 */

/* ---------- 1. Fonts (self-hosted, SIL OFL 1.1; see assets/fonts/FONTS.md) ---------- */
@font-face { font-family:"Bowlby One"; src:url(../fonts/bowlby.woff2) format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:Karla; src:url(../fonts/karla.woff2) format("woff2"); font-weight:400 800; font-style:normal; font-display:swap; }
@font-face { font-family:"Space Mono"; src:url(../fonts/spacemono.woff2) format("woff2"); font-weight:700; font-style:normal; font-display:swap; }

/* ---------- 2. Tokens ---------- */
:root {
  --ink:#111428; --ink-2:#2b2f4a; --muted:#4d5168; --line:#d6d9e3; --wash:#f3f4f7; --paper:#ffffff;
  --pink:#ff4ba3; --pink-ink:#b8005f; --blue:#2467d6; --yellow:#ffd23f; --green:#00804a;
  --display:"Bowlby One", Impact, sans-serif; --body:Karla, Arial, sans-serif; --mono:"Space Mono", ui-monospace, monospace;
  --tile:#f3f4f7;            /* photo tiles: never changes, also in dark */
  --band:#f3f4f7;            /* section bands */
  --band-ink:#111428;        /* trust band, footer, announcement bar */
  --band-line:#2b2f4a;       /* rules and hover fills on ink bands (same in both modes) */
  --on-band-ink:#ffffff; --on-band-ink-2:#d6d9e3;
  --on-pink:#111428; --on-yellow:#111428;
  --hover-fill:#f3f4f7;      /* outlined button hover */
  --focus:#2467d6; --ov:#2467d6;   /* focus rings; home overprint headline */
  --scrim:rgba(17,20,40,.45); --shadow-sheet:0 16px 48px rgba(17,20,40,.22);
  --pink-text:var(--pink-ink);     /* alias the Echoes plugin reads */
  --chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111428' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  --gutter:16px; --wrap:1280px; --hdr-h:60px; --ann-h:36px;
  --t-fast:150ms; --t-base:200ms; --ease:cubic-bezier(.2,0,0,1);
  color-scheme: light;
}
@media (min-width:600px) { :root { --gutter:24px; } }
@media (min-width:1024px) { :root { --gutter:48px; --hdr-h:72px; } }

/* Dark: follows the phone unless the shopper picked Light, or when they picked Dark (decision 18). Photo tiles stay light. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:#0f1226; --ink:#eef0f7; --ink-2:#c9cde0; --muted:#a9aec6; --line:#3a4060;
    --wash:#181b33; --band:#181b33; --band-ink:#070816; --on-band-ink:#ffffff; --on-band-ink-2:#c9cde0;
    --pink-ink:#ff8cc8; --pink-text:var(--pink-ink); --green:#4fd69a; --hover-fill:#181b33; --focus:#8cb2ff; --ov:#8cb2ff;
    --tile:#f3f4f7; --scrim:rgba(0,0,0,.6);
    --chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eef0f7' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    color-scheme: dark;
  }
}
:root[data-theme="dark"], [data-theme="dark"] {
  --paper:#0f1226; --ink:#eef0f7; --ink-2:#c9cde0; --muted:#a9aec6; --line:#3a4060;
  --wash:#181b33; --band:#181b33; --band-ink:#070816; --on-band-ink:#ffffff; --on-band-ink-2:#c9cde0;
  --pink-ink:#ff8cc8; --pink-text:var(--pink-ink); --green:#4fd69a; --hover-fill:#181b33; --focus:#8cb2ff; --ov:#8cb2ff;
  --tile:#f3f4f7; --scrim:rgba(0,0,0,.6);
  --chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eef0f7' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: dark;
}
/* A light or dark copy inside a page of the other mode (the states page) carries its own tokens and surface. */
[data-theme="light"]:not(:root) {
  --paper:#ffffff; --ink:#111428; --ink-2:#2b2f4a; --muted:#4d5168; --line:#d6d9e3;
  --wash:#f3f4f7; --band:#f3f4f7; --band-ink:#111428; --on-band-ink:#ffffff; --on-band-ink-2:#d6d9e3;
  --pink-ink:#b8005f; --pink-text:var(--pink-ink); --green:#00804a; --hover-fill:#f3f4f7; --focus:#2467d6; --ov:#2467d6;
  --tile:#f3f4f7; --scrim:rgba(17,20,40,.45);
  --chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111428' stroke-width='2' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  color-scheme: light;
}
[data-theme="light"]:not(:root), [data-theme="dark"]:not(:root) { background:var(--paper); color:var(--ink); }

/* ---------- 3. Reset and base ---------- */
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; scrollbar-color:var(--ink) var(--band); scrollbar-gutter:stable; }
body { margin:0; background:var(--paper); color:var(--ink); font:400 16px/1.5 var(--body); -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
*, *::before, *::after { box-sizing:border-box; }
img, svg, canvas { max-width:100%; height:auto; display:block; }
[hidden] { display:none !important; }
html.em2-lock, html.em2-lock body { overflow:hidden; }
h1, h2, h3, h4, h5, h6 { margin:0; text-wrap:balance; }
h1 { font:400 44px/1 var(--display); letter-spacing:-0.01em; }
h2 { font:400 24px/1.1 var(--display); }
h3 { font:800 20px/1.25 var(--body); }
h4, h5, h6 { font:800 17px/1.3 var(--body); }
p { margin:0; }
a { color:inherit; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; transition:color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), text-decoration-thickness var(--t-fast) var(--ease); }
a:hover { text-decoration-thickness:2px; }
button, input, select, textarea { font:inherit; color:inherit; margin:0; }
button { cursor:pointer; }
input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="url"], input[type="password"], input[type="number"], input[type="date"], textarea, select { border-radius:0; -webkit-appearance:none; appearance:none; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance:none; appearance:none; }
:focus-visible, .is-focus { outline:2px solid var(--focus); outline-offset:2px; }
main:focus, [tabindex="-1"]:focus { outline:none; }
::selection { background:var(--ink); color:var(--paper); }
.em2-sr, .screen-reader-text, .sr { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0; }
#em2-top { position:absolute; top:0; left:0; width:1px; height:1px; pointer-events:none; }
.em2-icon { display:inline-block; flex:none; }

/* ---------- 4. Type ramp (allowed sizes: 14 15 16 17 18 19 20 22 24 32 34 36 44 64 72, hero clamp 48-72) ---------- */
.em2-hero-h1 { font:400 clamp(48px, 5vw, 72px)/0.98 var(--display); letter-spacing:-0.01em; }
.em2-d1 { font:400 64px/0.98 var(--display); letter-spacing:-0.01em; }
.em2-d2 { font:400 44px/1 var(--display); letter-spacing:-0.01em; }
.em2-d3 { font:400 32px/1.05 var(--display); }
.em2-d4 { font:400 24px/1.1 var(--display); }
.em2-h3 { font:800 20px/1.25 var(--body); }
.em2-h4 { font:800 17px/1.3 var(--body); }
.em2-lead { font:500 19px/1.5 var(--body); color:var(--ink-2); }
.em2-small { font:500 14px/1.45 var(--body); color:var(--muted); }
.em2-lbl { font:700 14px/1.3 var(--mono); letter-spacing:.04em; text-transform:uppercase; color:var(--ink); }
.em2-lbl-muted { color:var(--muted); }
.em2-mono { font-family:var(--mono); font-weight:700; }
.em2-price-xl { font:700 34px/1 var(--mono); letter-spacing:-0.02em; }
.em2-price-l { font:700 22px/1 var(--mono); letter-spacing:-0.01em; }
.em2-price { font:700 16px/1.2 var(--mono); }
.em2-strike { text-decoration:line-through; color:var(--muted); font-weight:400; }
.em2-pink-ink { color:var(--pink-ink); }
.em2-green { color:var(--green); }
.em2-ov { color:var(--ov); text-shadow:-0.035em 0.04em 0 var(--pink); }
@media (max-width:599px) {
  h1, .em2-d2 { font-size:32px; }
  .em2-hero-h1 { font-size:36px; line-height:1.05; }
}

/* ---------- 5. Layout ---------- */
.em2-container { width:100%; max-width:var(--wrap); margin:0 auto; padding:0 var(--gutter); }
.em2-row { display:flex; align-items:center; }
.em2-col { display:flex; flex-direction:column; }
.em2-wrap { flex-wrap:wrap; }
.em2-between { justify-content:space-between; }
.em2-center { justify-content:center; }
.em2-grow { flex:1 1 auto; min-width:0; }
.em2-g4 { gap:4px; } .em2-g8 { gap:8px; } .em2-g12 { gap:12px; } .em2-g16 { gap:16px; } .em2-g24 { gap:24px; } .em2-g32 { gap:32px; } .em2-g48 { gap:48px; } .em2-g64 { gap:64px; }
.em2-rule { border-top:2px solid var(--ink); }
.em2-hair { border-top:2px solid var(--line); }
.em2-12 { display:grid; grid-template-columns:minmax(0, 1fr); gap:24px; }
.em2-sect { padding-top:32px; padding-bottom:32px; }
.em2-band { background:var(--band); }
.em2-band-ink { background:var(--band-ink); color:var(--on-band-ink); }
.em2-band-rules { border-top:2px solid var(--ink); border-bottom:2px solid var(--ink); }
.em2-grid { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:24px 12px; }
.em2-tiles { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px 8px; }
.em2-tiles-6 { grid-template-columns:repeat(3, minmax(0, 1fr)); }
@media (min-width:600px) {
  .em2-sect { padding-top:56px; padding-bottom:56px; }
  .em2-grid { grid-template-columns:repeat(3, minmax(0, 1fr)); gap:32px 16px; }
}
@media (min-width:1024px) {
  .em2-12 { grid-template-columns:repeat(12, minmax(0, 1fr)); gap:48px; }
  .em2-sect { padding-top:80px; padding-bottom:80px; }
  .em2-grid { grid-template-columns:repeat(4, minmax(0, 1fr)); gap:40px 24px; }
  .em2-grid-5 { grid-template-columns:repeat(5, minmax(0, 1fr)); gap:24px; }
  .em2-tiles { grid-template-columns:repeat(8, minmax(0, 1fr)); gap:16px; }
  .em2-tiles-7 { grid-template-columns:repeat(7, minmax(0, 1fr)); }
  .em2-tiles-6 { grid-template-columns:repeat(6, minmax(0, 1fr)); }
}

/* ---------- 6. Components and states ---------- */

/* Buttons: 40 / 48 / 56 tall, never move. */
.em2-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:48px; padding:0 20px; border:2px solid var(--ink); background:var(--paper); color:var(--ink); font:800 16px/1 var(--body); text-decoration:none; white-space:nowrap; cursor:pointer; border-radius:0; transition:background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), text-decoration-thickness var(--t-fast) var(--ease); }
.em2-btn svg { width:20px; height:20px; flex:none; }
.em2-btn:hover, .em2-btn.is-hover { background:var(--hover-fill); }
.em2-btn:active, .em2-btn.is-press { background:var(--line); }
.em2-btn-pri { background:var(--pink); border-color:var(--pink); color:var(--on-pink); }
.em2-btn-pri:hover, .em2-btn-pri.is-hover { background:var(--pink); border-color:var(--ink); }
.em2-btn-pri:active, .em2-btn-pri.is-press { background:#b8005f; border-color:#b8005f; color:#fff; }
.em2-btn-ink { background:var(--ink); border-color:var(--ink); color:var(--paper); }
.em2-btn-ink:hover, .em2-btn-ink.is-hover, .em2-btn-ink:active, .em2-btn-ink.is-press { background:var(--ink-2); border-color:var(--ink-2); }
.em2-btn-ghost { border-color:transparent; background:transparent; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; padding:0 4px; }
.em2-btn-ghost:hover, .em2-btn-ghost.is-hover, .em2-btn-ghost:active, .em2-btn-ghost.is-press { background:transparent; text-decoration-thickness:2px; }
.em2-btn-inv { background:transparent; border-color:var(--on-band-ink); color:var(--on-band-ink); }
.em2-btn-inv:hover, .em2-btn-inv.is-hover, .em2-btn-inv:active, .em2-btn-inv.is-press { background:var(--band-line); }
.em2-btn-lg { height:56px; font-size:18px; padding:0 24px; }
.em2-btn-sm { height:40px; font-size:15px; padding:0 14px; }
.em2-btn-ghost.em2-btn-sm { padding:0 4px; }
.em2-btn-block { width:100%; }
.em2-btn:disabled, .em2-btn[aria-disabled="true"] { background:var(--band); border-color:var(--line); color:var(--muted); cursor:not-allowed; }
.em2-btn[aria-busy="true"] { cursor:progress; }

/* Chips: 44 tall; quantity chips 56. */
.em2-chip { display:inline-flex; align-items:center; justify-content:center; min-width:52px; height:44px; padding:0 12px; border:2px solid var(--muted); background:var(--paper); color:var(--ink); font:800 15px/1 var(--body); border-radius:0; cursor:pointer; text-decoration:none; white-space:nowrap; transition:background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.em2-chip:hover, .em2-chip.is-hover { border-color:var(--ink); }
.em2-chip[aria-pressed="true"], .em2-chip[aria-checked="true"], .em2-chip[aria-current="true"], .em2-chip.is-on { border-color:var(--ink); background:var(--ink); color:var(--paper); }
.em2-chip:disabled, .em2-chip[aria-disabled="true"], .em2-chip.is-quote { border-color:var(--line); background:var(--paper); color:var(--muted); text-decoration:line-through; cursor:not-allowed; }
.em2-chip-q { flex-direction:column; gap:3px; height:56px; min-width:64px; }
.em2-chip-q .em2-price { font-size:14px; }
.em2-chip-q[aria-pressed="true"] .em2-price, .em2-chip-q[aria-checked="true"] .em2-price, .em2-chip-q.is-on .em2-price { color:var(--paper); }
.em2-seg { display:inline-flex; border:2px solid var(--ink); background:var(--paper); }
.em2-seg > .em2-chip { flex:1 1 0; height:40px; border:0; border-left:2px solid var(--ink); }
.em2-seg > .em2-chip:first-child { border-left:0; }

/* Swatches: 44 tap target, square color chip with a visible edge. */
.em2-sw { width:44px; height:44px; padding:0; border:0; background:transparent; display:grid; place-items:center; cursor:pointer; flex:none; }
.em2-sw-i { position:relative; display:block; width:36px; height:36px; background:var(--c, #ffffff); border:2px solid var(--muted); transition:border-color var(--t-fast) var(--ease); }
.em2-sw:hover .em2-sw-i, .em2-sw.is-hover .em2-sw-i { border-color:var(--ink); }
.em2-sw[aria-checked="true"] .em2-sw-i, .em2-sw.is-on .em2-sw-i { border-color:var(--ink); outline:2px solid var(--ink); outline-offset:2px; }
.em2-sw.is-soldout .em2-sw-i::after { content:""; position:absolute; left:50%; top:50%; width:2px; height:44px; margin:-22px 0 0 -1px; background:var(--ink); transform:rotate(45deg); }
.em2-mini { display:inline-block; flex:none; width:16px; height:16px; border:2px solid var(--muted); background:var(--c, #ffffff); }
@media (min-width:1024px) { .em2-sw-i { width:32px; height:32px; } }
@media (max-width:599px) { .em2-mini { width:14px; height:14px; } }

/* Cards, option rows, radios and checkboxes. */
.em2-card { border:2px solid var(--line); background:var(--paper); padding:16px; }
.em2-card-ink { border-color:var(--ink); }
.em2-opt { display:flex; align-items:center; gap:12px; width:100%; border:2px solid var(--line); padding:14px 16px; background:var(--paper); color:var(--ink); font:inherit; text-align:left; cursor:pointer; border-radius:0; transition:border-color var(--t-fast) var(--ease); }
.em2-opt:hover, .em2-opt.is-hover { border-color:var(--muted); }
.em2-opt[aria-checked="true"], .em2-opt.is-on, .em2-opt:has(input:checked) { border-color:var(--ink); box-shadow:inset 0 0 0 1px var(--ink); }
.em2-radio, .em2-check { position:relative; flex:none; display:inline-grid; place-items:center; width:22px; height:22px; border:2px solid var(--ink); background:var(--paper); border-radius:0; }
.em2-radio::after { content:""; width:10px; height:10px; background:var(--ink); opacity:0; }
.em2-check::after { content:""; width:6px; height:11px; margin-top:-2px; border:solid var(--paper); border-width:0 2px 2px 0; transform:rotate(45deg); opacity:0; }
.em2-radio.is-on::after, .em2-radio:has(input:checked)::after, [aria-checked="true"] > .em2-radio::after { opacity:1; }
.em2-check.is-on, .em2-check:has(input:checked), [aria-checked="true"] > .em2-check { background:var(--ink); }
.em2-check.is-on::after, .em2-check:has(input:checked)::after, [aria-checked="true"] > .em2-check::after { opacity:1; }
.em2-radio:has(input:focus-visible), .em2-check:has(input:focus-visible) { outline:2px solid var(--focus); outline-offset:2px; }

/* Badges. */
.em2-badge { display:inline-flex; align-items:center; gap:8px; height:32px; padding:0 12px; font:700 14px/1 var(--mono); letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; border:2px solid var(--ink); background:var(--paper); color:var(--ink); border-radius:0; }
.em2-badge-ink { background:var(--ink); color:var(--paper); }
.em2-badge-line { border-color:var(--line); color:var(--muted); }

/* Stepper. */
.em2-stepper { display:inline-flex; align-items:center; height:44px; border:2px solid var(--ink); background:var(--paper); }
.em2-stepper button { display:grid; place-items:center; width:44px; height:40px; padding:0; border:0; background:var(--paper); color:var(--ink); cursor:pointer; transition:background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.em2-stepper button svg { width:20px; height:20px; }
.em2-stepper button:hover, .em2-stepper button.is-hover { background:var(--hover-fill); }
.em2-stepper button:disabled { background:var(--paper); color:var(--line); cursor:not-allowed; }
.em2-stepper-n { width:56px; height:40px; padding:0; border:0; background:var(--paper); color:var(--ink); text-align:center; font:700 16px/1 var(--mono); -moz-appearance:textfield; appearance:textfield; }
.em2-stepper-n::-webkit-outer-spin-button, .em2-stepper-n::-webkit-inner-spin-button { -webkit-appearance:none; margin:0; }
.em2-stepper.is-zero { border-color:var(--line); }
.em2-stepper.is-zero .em2-stepper-n { color:var(--muted); }

/* Inputs: every field at least 16px so iPhones never zoom. */
.em2-field { display:flex; flex-direction:column; gap:6px; }
.em2-field-label { font:800 16px/1.3 var(--body); color:var(--ink); }
.em2-input { display:block; width:100%; height:48px; border:2px solid var(--ink); padding:0 14px; font:500 16px/1 var(--body); color:var(--ink); background:var(--paper); border-radius:0; -webkit-appearance:none; appearance:none; }
.em2-input::placeholder { color:var(--muted); opacity:1; }
textarea.em2-input { height:auto; min-height:120px; padding:12px 14px; line-height:1.5; }
select.em2-input { padding-right:44px; background-image:var(--chevron); background-repeat:no-repeat; background-position:right 12px center; background-size:20px 20px; cursor:pointer; }
.em2-input:disabled { border-color:var(--line); color:var(--muted); background:var(--band); cursor:not-allowed; }
.em2-input[aria-invalid="true"] { border-color:var(--ink); }
.em2-field-error { display:flex; align-items:flex-start; gap:8px; font:700 16px/1.4 var(--body); color:var(--ink); }
.em2-field-error svg { width:20px; height:20px; flex:none; margin-top:1px; }
.em2-input-y { background:var(--yellow); border-color:var(--ink); color:var(--on-yellow); font:800 20px/1 var(--body); height:56px; }
.em2-input-y::placeholder { color:var(--on-yellow); opacity:.75; }
.em2-input-hero { height:64px; font-size:26px; }

/* Progress bar: ink fill, green when met; pink never fills a bar. */
.em2-bar { position:relative; height:10px; background:var(--band); border:2px solid var(--ink); }
.em2-bar > i { position:absolute; inset:0 auto 0 0; background:var(--ink); }
.em2-bar.is-done > i { background:var(--green); }

/* Photo tiles, the tinted garment (decision D11) and the print area. */
.em2-tile { display:block; position:relative; overflow:hidden; background:var(--tile); }
.em2-garment { position:relative; display:block; width:100%; aspect-ratio:1/1; isolation:isolate; }
.em2-garment-fill { position:absolute; inset:0; background:var(--c, #fff); -webkit-mask:var(--mask) center/contain no-repeat; mask:var(--mask) center/contain no-repeat; }
.em2-garment-img { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.em2-garment-art { position:absolute; inset:0; pointer-events:none; }
.em2-garment-art > svg { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.em2-garment-art > img { position:absolute; max-width:none; }
.em2-area { position:absolute; border:2px solid #fff; outline:2px dashed #111428; outline-offset:-2px; pointer-events:none; }

/* Accordions: native <details>, instant, the answer is in the HTML. */
.em2-acc-list { border-bottom:2px solid var(--ink); }
.em2-acc { border-top:2px solid var(--ink); }
.em2-acc-sum { list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:44px; padding:18px 0; font:800 18px/1.2 var(--body); cursor:pointer; }
.em2-acc-sum::-webkit-details-marker { display:none; }
.em2-acc-sum::marker { content:""; }
.em2-acc-sum:hover > span:first-child { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; }
.em2-acc-icon { display:inline-grid; flex:none; }
.em2-acc-icon svg { width:24px; height:24px; }
.em2-acc-minus, .em2-acc[open] .em2-acc-plus { display:none; }
.em2-acc[open] .em2-acc-minus { display:block; }
.em2-acc-body { padding:0 0 20px; }
.em2-acc-body p { font-size:16px; line-height:1.55; color:var(--ink-2); }
.em2-acc-body p + p { margin-top:12px; }
@media (max-width:599px) { .em2-acc-sum { font-size:17px; } }

/* Sheets (bottom sheets on phones, right-side panels under the header on desktop) and the shared scrim. */
.em2-scrim { position:fixed; inset:0; z-index:99; background:var(--scrim); opacity:0; transition:opacity var(--t-base) var(--ease); }
.em2-scrim.is-on { opacity:1; }
.em2-sheet { position:fixed; left:0; right:0; bottom:0; top:48px; z-index:100; display:flex; flex-direction:column; background:var(--paper); color:var(--ink); box-shadow:var(--shadow-sheet); transform:translateY(16px); opacity:0; transition:transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease); }
.em2-sheet.is-open { transform:none; opacity:1; }
.em2-sheet-handle { display:block; flex:none; width:48px; height:5px; margin:12px auto 0; background:var(--line); }
.em2-sheet-head { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:12px 16px; flex:none; }
.em2-sheet-head > :first-child { min-width:0; }
.em2-sheet-head .em2-d4 { letter-spacing:-0.01em; }
.em2-sheet-head .em2-btn-ghost { flex:none; gap:6px; margin-right:-4px; }
.em2-sheet-head .em2-btn-ghost svg { width:16px; height:16px; }
.em2-sheet-body { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:0 16px 16px; }
.em2-sheet-foot { flex:none; padding:12px 16px max(24px, env(safe-area-inset-bottom)); border-top:2px solid var(--line); background:var(--paper); }
@media (min-width:1024px) {
  .em2-sheet { top:var(--em2-sheet-top, calc(var(--hdr-h) + var(--wp-admin--admin-bar--height, 0px))); left:auto; width:440px; transform:translateX(16px); }
  .em2-sheet-handle { display:none; }
  .em2-sheet-head { padding:20px 24px 12px; }
  .em2-sheet-body { padding:0 24px 24px; }
  .em2-sheet-foot { padding:16px 24px 24px; }
}

/* Phone sticky buy bar (builder, Check step). */
.em2-sticky { position:fixed; left:0; right:0; bottom:0; z-index:50; display:flex; align-items:center; gap:12px; background:var(--paper); border-top:2px solid var(--ink); padding:12px 16px max(24px, env(safe-area-inset-bottom)); }

/* Toast: one calm line, 2.4 s, announced politely. */
.em2-toast { position:fixed; top:calc(var(--hdr-h) + 12px + var(--wp-admin--admin-bar--height, 0px)); left:50%; transform:translateX(-50%); z-index:120; display:flex; gap:8px; align-items:center; max-width:calc(100vw - 32px); padding:12px 16px; background:var(--ink); color:var(--paper); border:2px solid var(--ink); font:700 16px/1.3 var(--body); opacity:0; visibility:hidden; transition:opacity var(--t-base) var(--ease), visibility var(--t-base); }
.em2-toast.is-on { opacity:1; visibility:visible; }
.em2-toast svg { width:20px; height:20px; flex:none; }
.em2-toast a { color:inherit; font-weight:800; margin-left:4px; }

/* Notes and check rows. */
.em2-note { display:flex; gap:8px; padding:12px 14px; background:var(--band); border-left:2px solid var(--ink); font:500 16px/1.45 var(--body); color:var(--ink); }
.em2-note svg { width:20px; height:20px; flex:none; margin-top:2px; }
.em2-check-row { display:flex; align-items:flex-start; gap:8px; }
.em2-check-row > svg { width:20px; height:20px; flex:none; margin-top:2px; color:var(--green); }

/* Tables: 2px ink grid; the lit tier says "Your price" in words. */
.em2-table { width:100%; border-collapse:collapse; }
.em2-table th, .em2-table td { padding:10px 12px; border:2px solid var(--ink); text-align:left; vertical-align:top; }
.em2-table th { font:800 16px/1.3 var(--body); }
.em2-table .is-on { background:var(--ink); color:var(--paper); }
.em2-table .is-on .em2-lbl { color:var(--paper); }

/* Skip link: first in tab order, an ink button top left on focus. */
.em2-skip { position:absolute; left:8px; top:-100px; z-index:200; padding:14px 16px; background:var(--ink); color:var(--paper); font:800 16px/1 var(--body); text-decoration:none; }
.em2-skip:focus, .em2-skip.is-focus { top:calc(8px + var(--wp-admin--admin-bar--height, 0px)); }

/* Text links for secondary actions: never pink, never yellow. */
.em2-link { color:inherit; font-weight:800; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; cursor:pointer; }
.em2-link:hover, .em2-link.is-hover { text-decoration-thickness:3px; }
.em2-link.em2-link-row, .em2-link-row > .em2-link { display:inline-flex; align-items:center; gap:6px; min-height:44px; }
.em2-link svg { width:20px; height:20px; }

/* Category tiles (em2_category_tile_list()). */
.em2-cat { display:flex; flex-direction:column; gap:8px; color:inherit; text-decoration:none; }
.em2-cat-tile { padding:16px; }
.em2-cat .em2-h4 { font-size:16px; }
.em2-cat:hover .em2-h4, .em2-cat.is-hover .em2-h4 { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; }
.em2-cat-long { display:none; }
@media (min-width:1024px) { .em2-cat-long { display:block; } .em2-cat-short { display:none; } }
@media (max-width:599px) { .em2-cat-tile { padding:10px; } .em2-cat .em2-h4 { font-size:14px; } }

/* Page and section heads, breadcrumbs. */
.em2-pagehead { display:flex; flex-direction:column; align-items:flex-start; gap:16px; padding-top:48px; padding-bottom:32px; }
.em2-pagehead .em2-lead { max-width:760px; }
.em2-sect-head { display:flex; flex-direction:column; align-items:flex-start; gap:12px; margin-bottom:32px; }
.em2-sect-head .em2-lead { max-width:760px; }
.em2-crumbs ol { list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:8px; font:500 14px/1.45 var(--body); color:var(--muted); }
.em2-crumbs li { display:flex; gap:8px; }
.em2-crumbs li + li::before { content:"/"; color:var(--muted); }
.em2-crumbs a { color:var(--muted); }
.em2-crumbs [aria-current] { color:var(--ink); font-weight:700; }
@media (max-width:599px) { .em2-pagehead { gap:12px; padding-top:32px; padding-bottom:24px; } .em2-sect-head { margin-bottom:24px; } }

/* ---------- 7. Global chrome ---------- */

/* Announcement bar: ink band, still, service facts only. */
.em2-ann { display:flex; align-items:center; justify-content:center; min-height:var(--ann-h); padding:6px var(--gutter); background:var(--band-ink); color:var(--on-band-ink); text-align:center; }
.em2-ann p { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:4px 12px; font:700 14px/1.3 var(--mono); letter-spacing:.03em; }
.em2-ann a { color:inherit; }
.em2-ann .em2-ann-desk { display:none; }
/* The desktop line (three items, 24px gaps: about 960px) stays one 36px row from 1024 up: the bar keeps 16px sides
   instead of the 48px page gutter, which leaves room even with a classic scrollbar. */
@media (min-width:1024px) { .em2-ann { padding-left:16px; padding-right:16px; } .em2-ann .em2-ann-desk { display:flex; gap:4px 24px; } .em2-ann .em2-ann-phone { display:none; } }

/* Header: solid, sticky; the outer box keeps its height when the bar shrinks, so nothing below moves. */
.em2-hdr { position:sticky; top:var(--wp-admin--admin-bar--height, 0px); z-index:50; height:var(--hdr-h); background:transparent; pointer-events:none; }
.em2-hdr-bar { position:relative; height:var(--hdr-h); background:var(--paper); border-bottom:2px solid var(--ink); pointer-events:auto; transition:height var(--t-fast) var(--ease); }
.em2-hdr-in { height:100%; gap:12px; }
.em2-hdr.is-compact .em2-hdr-bar { height:56px; }
.em2-hdr[data-em2-noshrink] .em2-hdr-bar { height:var(--hdr-h); }
.em2-logo { display:block; flex:none; text-decoration:none; }
.em2-logo img { width:150px; height:auto; transition:width var(--t-fast) var(--ease); }
.em2-hdr-left { gap:32px; min-width:0; }
.em2-hdr-right { gap:16px; }
.em2-nav { display:none; }
.em2-nav-link { padding:8px 0 6px; border-bottom:2px solid transparent; font:800 16px/1 var(--body); text-decoration:none; white-space:nowrap; transition:border-color var(--t-fast) var(--ease); }
.em2-nav-link:hover, .em2-nav-link.is-current, .em2-nav-link[aria-expanded="true"] { border-bottom-color:var(--ink); }
.em2-icon-btn { position:relative; display:inline-grid; place-items:center; flex:none; width:44px; height:44px; padding:0; border:0; background:transparent; color:var(--ink); text-decoration:none; cursor:pointer; border-radius:0; transition:background-color var(--t-fast) var(--ease); }
.em2-icon-btn:hover, .em2-icon-btn.is-hover { background:var(--hover-fill); }
.em2-icon-btn svg { width:24px; height:24px; }
.em2-hdr-menu { margin-left:-9px; }
.em2-hdr-menu svg, .em2-hdr-cart svg { width:26px; height:26px; }
.em2-hdr-cart { margin-right:-9px; }
.em2-hdr-search, .em2-hdr-searchbtn, .em2-hdr-account, .em2-hdr-start { display:none; }
/* 280×44 like the board; 10px sides, an 18px icon and a 6px gap leave the 16px input 232px, so the whole
   "Search tees, hoodies, tumblers" placeholder shows (it needs about 229px). */
.em2-hdr-search { align-items:center; gap:6px; width:280px; height:44px; padding:0 10px; border:2px solid var(--ink); background:var(--paper); }
.em2-hdr-search:focus-within { outline:2px solid var(--focus); outline-offset:2px; }
.em2-hdr-search svg { width:18px; height:18px; flex:none; }
.em2-hdr-search input { flex:1 1 auto; min-width:0; height:40px; padding:0; border:0; background:transparent; color:var(--ink); font:500 16px/1 var(--body); outline:none; }
.em2-hdr-search input::placeholder { color:var(--muted); opacity:1; }
.em2-cart-count { position:absolute; top:0; right:0; display:grid; place-items:center; min-width:22px; height:22px; padding:0 4px; background:var(--ink); color:var(--paper); font:700 14px/1 var(--mono); }
.em2-hdr-co .em2-logo img { width:140px; }
.em2-hdr-co-text { display:none; font-size:16px; }
.em2-hdr-secure-wrap svg { width:20px; height:20px; }
.em2-hdr-secure { font:700 14px/1.3 var(--body); color:var(--ink); }
@media (min-width:1024px) {
  .em2-logo img { width:190px; }
  .em2-hdr.is-compact .em2-logo img { width:150px; }
  .em2-hdr-co .em2-logo img { width:190px; }
  .em2-nav { display:flex; align-items:center; gap:24px; }
  .em2-hdr-menu { display:none; }
  .em2-hdr-cart { margin-right:0; }
  .em2-hdr-cart svg { width:24px; height:24px; }
  .em2-hdr-searchbtn, .em2-hdr-account { display:inline-grid; }
  .em2-hdr-start { display:inline-flex; }
  .em2-hdr-co-text { display:inline; }
}
@media (min-width:1280px) { .em2-hdr-searchbtn { display:none; } .em2-hdr-search { display:flex; } }
@media (max-width:600px) { .admin-bar .em2-hdr { top:0; } }

/* Desktop Shop mega menu: a half-page sheet under the bar, over a dim. */
.em2-mega { position:absolute; left:0; right:0; top:calc(100% + 2px); z-index:2; max-height:calc(100vh - var(--hdr-h) - var(--wp-admin--admin-bar--height, 0px) - 48px); overflow-y:auto; overscroll-behavior:contain; background:var(--paper); border-bottom:2px solid var(--ink); box-shadow:var(--shadow-sheet); }
.em2-mega-scrim { position:absolute; left:0; right:0; top:calc(100% + 2px); z-index:1; height:100vh; background:var(--scrim); }
.em2-mega-grid { display:grid; grid-template-columns:repeat(12, minmax(0, 1fr)); gap:32px; padding-top:32px; padding-bottom:40px; }
.em2-mega-col { grid-column:span 2; display:flex; flex-direction:column; gap:16px; min-width:0; }
.em2-mega-col-wide { grid-column:span 4; display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px 32px; align-content:start; }
.em2-mega-col-wide .em2-mega-extra { grid-column:1 / -1; }
.em2-mega-tile { height:96px; padding:8px; }
.em2-mega-img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; }
.em2-mega-group { display:flex; flex-direction:column; gap:16px; }
.em2-mega-col > .em2-mega-group + .em2-mega-group { margin-top:12px; }
.em2-mega-col-wide > .em2-mega-group + .em2-mega-group { margin-top:0; }
.em2-mega-label { text-decoration:none; }
a.em2-mega-label:hover { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; }
.em2-mega-links { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px; }
.em2-mega-link { font:800 16px/1.2 var(--body); text-decoration:none; }
.em2-mega-link:hover { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; }
.em2-mega-extra { flex-direction:row; flex-wrap:wrap; gap:16px 32px; padding-top:16px; border-top:2px solid var(--line); }
.em2-mega-extra .em2-link { text-decoration:underline; text-decoration-thickness:2px; }
@media (max-width:1023px) { .em2-hdr-bar .em2-mega, .em2-hdr-bar .em2-mega-scrim { display:none; } }

/* Sheet contents: menu, search and Start. */
.em2-sheet-search { display:flex; flex-direction:column; gap:8px; padding:4px 0 16px; }
.em2-sheet-search .em2-input { flex:1 1 auto; min-width:0; }
@media (max-width:599px) { .em2-sheet-search .em2-row { flex-direction:column; align-items:stretch; } }
.em2-menu-row { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:48px; padding:12px 0; border-bottom:2px solid var(--line); color:var(--ink); font:800 17px/1.3 var(--body); text-decoration:none; }
.em2-menu-row:hover { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; }
.em2-menu-row svg { width:20px; height:20px; }
.em2-menu-all { border-top:2px solid var(--line); }
.em2-menu-section { padding-top:24px; }
.em2-menu-label { margin-bottom:4px; }
.em2-menu-list { list-style:none; margin:0; padding:0; }
.em2-start-sheet .em2-sheet-body { display:flex; flex-direction:column; gap:24px; }
.em2-start-need .em2-seg { display:flex; width:100%; }
.em2-start-status { color:var(--green); font:700 14px/1.45 var(--body); }
.em2-start-status.is-warn { color:var(--ink); }
.em2-start-status.is-warn > svg { color:var(--ink); }
.em2-start-status:empty { display:none; }

/* Phone bottom bar. */
.em2-bottombar { position:fixed; left:0; right:0; bottom:0; z-index:40; display:flex; align-items:center; gap:8px; padding:8px 16px max(24px, env(safe-area-inset-bottom)); background:var(--paper); border-top:2px solid var(--ink); transition:opacity var(--t-base) var(--ease), visibility var(--t-base); }
.em2-bottombar.is-away { opacity:0; visibility:hidden; }
.em2-bb-btn { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; flex:none; width:64px; height:48px; padding:0; border:0; background:transparent; color:var(--ink); font:800 14px/1 var(--body); cursor:pointer; transition:background-color var(--t-fast) var(--ease); }
.em2-bb-btn:hover { background:var(--hover-fill); }
.em2-bb-btn svg { width:24px; height:24px; }
@media (min-width:1024px) { .em2-bottombar { display:none; } }

/* Footer (ink band). */
.em2-foot { padding:0 0 48px; background:var(--band-ink); color:var(--on-band-ink); }
.em2-foot a { color:inherit; }
.em2-foot .em2-small { color:var(--on-band-ink-2); }
.em2-foot .em2-lbl { color:var(--on-band-ink-2); }
.em2-foot-top { display:flex; align-items:center; justify-content:space-between; height:56px; margin-bottom:24px; border-bottom:2px solid var(--band-line); text-decoration:none; }
.em2-foot-top svg { width:24px; height:24px; }
.em2-foot-grid { display:flex; flex-direction:column; gap:24px; }
.em2-foot-brand { display:flex; flex-direction:column; align-items:flex-start; gap:24px; }
.em2-foot-logo { display:block; }
.em2-foot-logo img { width:170px; height:auto; border:2px solid var(--on-band-ink); }
.em2-foot-contact { display:flex; flex-direction:column; gap:8px; }
.em2-foot-tel { color:var(--on-band-ink); text-decoration:none; }
.em2-foot-tel:hover { text-decoration:underline; }
.em2-foot-col { display:none; }
.em2-foot-col ul, .em2-foot-phone ul, .em2-foot-legal { list-style:none; margin:0; padding:0; }
.em2-foot-col ul { display:flex; flex-direction:column; gap:12px; }
.em2-foot-phone ul { display:flex; flex-wrap:wrap; gap:12px 24px; font-weight:700; }
.em2-foot-bottom { display:flex; flex-direction:column; align-items:flex-start; gap:16px; margin-top:32px; padding-top:24px; border-top:2px solid var(--band-line); }
.em2-foot-legal { display:flex; flex-wrap:wrap; gap:8px 16px; }
.em2-foot-copy-desk { display:none; }
body.em2-has-bottombar .em2-foot { padding-bottom:144px; }
@media (min-width:1024px) {
  .em2-foot, body.em2-has-bottombar .em2-foot { padding:64px 0 40px; }
  .em2-foot-top, .em2-foot-phone, .em2-foot-copy-phone { display:none; }
  .em2-foot-grid { display:grid; grid-template-columns:repeat(12, minmax(0, 1fr)); gap:32px; }
  .em2-foot-brand { grid-column:1 / span 4; gap:16px; }
  .em2-foot-logo img { width:200px; }
  .em2-foot-col { display:flex; flex-direction:column; gap:12px; grid-column:span 2; }
  .em2-foot-col-shop { grid-column:6 / span 2; }
  .em2-foot-bottom { flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px 24px; margin-top:48px; }
  .em2-foot-copy-desk { display:block; }
  .em2-foot-legal { margin-left:auto; }
}

/* Footer email signup: outlined white button, never pink (N14). */
.em2-join { display:flex; flex-direction:column; gap:8px; width:100%; max-width:420px; margin-top:8px; }
.em2-join .em2-h4 { color:var(--on-band-ink); }
.em2-join-form { display:flex; flex-direction:column; gap:8px; }
.em2-join-form .em2-lbl { color:var(--on-band-ink-2); }
.em2-join-row { display:flex; height:48px; border:2px solid var(--on-band-ink); }
.em2-join-row input { flex:1 1 auto; min-width:0; height:44px; padding:0 12px; border:0; border-radius:0; background:#ffffff; color:#111428; font:500 16px/1 var(--body); }
.em2-join-row .em2-btn { height:44px; border:0; border-left:2px solid var(--on-band-ink); }
.em2-join-error { font:700 16px/1.4 var(--body); color:var(--on-band-ink); }
.em2-join-error:empty { display:none; }
.em2-join-done { font:700 16px/1.4 var(--body); color:var(--on-band-ink); }

/* Theme switch: Auto / Light / Dark. */
.em2-themepick { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.em2-themepick-label { margin-right:4px; font:700 14px/1.3 var(--mono); letter-spacing:.04em; text-transform:uppercase; color:var(--on-band-ink-2); }
.em2-themepick button { min-width:64px; height:44px; padding:0 12px; border:2px solid var(--on-band-ink-2); background:transparent; color:var(--on-band-ink); font:800 14px/1 var(--body); cursor:pointer; border-radius:0; transition:background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.em2-themepick button:hover { border-color:var(--on-band-ink); }
.em2-themepick button[aria-pressed="true"] { background:var(--on-band-ink); border-color:var(--on-band-ink); color:var(--band-ink); }

/* Checkout footer. */
.em2-foot-co { padding:24px 0 32px; border-top:2px solid var(--line); background:var(--paper); }
.em2-foot-co p { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; text-align:center; }

/* ---------- 8. Product card and grids ---------- */
.em2-pc-item { min-width:0; }
.em2-pc { display:flex; flex-direction:column; gap:8px; height:100%; color:inherit; text-decoration:none; }
.em2-pc-tile { padding:14px; }
.em2-pc-swatches { display:flex; flex-wrap:wrap; align-items:center; gap:4px; margin-top:4px; }
.em2-pc-swatches .em2-small { margin-left:4px; }
.em2-pc:hover .em2-pc-name, .em2-pc.is-hover .em2-pc-name { text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px; }
.em2-pc-price-quote { display:flex; flex-direction:column; align-items:flex-start; gap:8px; }
.em2-pc-date time { font-weight:700; }
.em2-grid-caption { margin:0 0 16px; }
@media (min-width:1024px) { .em2-pc-tile { padding:24px; } }

/* ---------- 9. WooCommerce base ---------- */
.woocommerce-notices-wrapper:empty { display:none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:0 0 16px; padding:12px 14px; list-style:none; background:var(--band); border-left:2px solid var(--ink); color:var(--ink); font:500 16px/1.45 var(--body); }
.woocommerce-error { flex-direction:column; align-items:flex-start; }
.woocommerce-error li { margin:0; font-size:16px; list-style:none; }
.woocommerce-message a, .woocommerce-info a, .woocommerce-error a { color:inherit; text-decoration:underline; }
.woocommerce-message .button, .woocommerce-info .button { order:2; margin-left:auto; text-decoration:none; }
.woocommerce form .form-row, .woocommerce-page form .form-row { display:flex; flex-direction:column; gap:6px; margin:0 0 16px; padding:0; }
.woocommerce form .form-row label, .woocommerce-page form .form-row label { font:700 16px/1.3 var(--body); color:var(--ink); }
.woocommerce form .form-row .required, .woocommerce-page form .form-row .required { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.woocommerce form .form-row .optional { font-weight:500; color:var(--muted); }
.woocommerce form .input-text, .woocommerce-page form .input-text, .woocommerce form textarea, .woocommerce form select, input.input-text { display:block; width:100%; height:48px; padding:0 14px; border:2px solid var(--ink); border-radius:0; background:var(--paper); color:var(--ink); font:500 16px/1 var(--body); }
.woocommerce form textarea, textarea.input-text { height:auto; min-height:96px; padding:12px 14px; line-height:1.5; }
.woocommerce form select { padding-right:44px; background-image:var(--chevron); background-repeat:no-repeat; background-position:right 12px center; background-size:20px 20px; }
.woocommerce form .input-text::placeholder, input.input-text::placeholder { color:var(--muted); opacity:1; }
body .select2-container .select2-selection--single, body .select2-container--default .select2-selection--single { height:48px; border:2px solid var(--ink); border-radius:0; background:var(--paper); }
body .select2-container--default .select2-selection--single .select2-selection__rendered { padding-left:14px; padding-right:40px; color:var(--ink); font:500 16px/44px var(--body); }
body .select2-container--default .select2-selection--single .select2-selection__arrow { top:2px; right:8px; height:40px; }
body .select2-container--default .select2-selection--single .select2-selection__arrow b { border-top-color:var(--ink); }
body .select2-dropdown { border:2px solid var(--ink); border-radius:0; background:var(--paper); color:var(--ink); }
body .select2-container--default .select2-search--dropdown .select2-search__field { height:44px; padding:0 12px; border:2px solid var(--ink); border-radius:0; background:var(--paper); color:var(--ink); font-size:16px; }
body .select2-results__option { padding:10px 14px; font-size:16px; }
body .select2-container--default .select2-results__option--highlighted[aria-selected], body .select2-container--default .select2-results__option--highlighted[data-selected] { background:var(--ink); color:var(--paper); }
body .select2-container--default .select2-results__option[aria-selected="true"], body .select2-container--default .select2-results__option[data-selected="true"] { background:var(--band); color:var(--ink); }
.woocommerce-password-strength { margin-top:8px; padding:8px 12px; border-left:2px solid var(--ink); background:var(--band); font:700 14px/1.4 var(--body); color:var(--ink); }
.woocommerce-password-hint { font:500 14px/1.45 var(--body); color:var(--muted); }
.password-input { position:relative; display:block; }
.password-input .input-text { padding-right:48px; }
.show-password-input { position:absolute; top:2px; right:2px; width:44px; height:44px; padding:0; border:0; background:var(--ink); cursor:pointer; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/22px no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/22px no-repeat; }
.show-password-input.display-password { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E"); }
.quantity .qty { width:72px; height:48px; padding:0 8px; border:2px solid var(--ink); border-radius:0; background:var(--paper); color:var(--ink); text-align:center; font:700 16px/1 var(--mono); }
.shop_table { width:100%; border-collapse:collapse; font-size:16px; }
.shop_table th, .shop_table td { padding:12px; border-bottom:2px solid var(--line); text-align:left; vertical-align:top; }
.shop_table thead th { border-bottom:2px solid var(--ink); font:800 16px/1.3 var(--body); }
.woocommerce-Price-amount { font-family:var(--mono); font-weight:700; }
.blockUI.blockOverlay { background:rgba(255,255,255,.6) !important; }
.blockUI.blockOverlay::before { content:none !important; display:none !important; }

/* Bare native checkboxes and radios that WooCommerce, plugins and the studio print (terms box, create account,
   ship elsewhere, remember me, payment methods, delivery rates): the same square box as .em2-check / .em2-radio. */
input[type="checkbox"], input[type="radio"] { -webkit-appearance:none; appearance:none; flex:none; display:inline-grid; place-content:center; width:22px; height:22px; margin:0; border:2px solid var(--ink); border-radius:0; background:var(--paper); cursor:pointer; vertical-align:middle; }
input[type="checkbox"]::before { content:""; width:6px; height:11px; margin-top:-2px; border:solid var(--paper); border-width:0 2px 2px 0; transform:rotate(45deg); opacity:0; }
input[type="checkbox"]:checked { background:var(--ink); }
input[type="checkbox"]:checked::before { opacity:1; }
input[type="radio"]::before { content:""; width:10px; height:10px; background:var(--ink); opacity:0; }
input[type="radio"]:checked::before { opacity:1; }
input[type="checkbox"]:focus-visible, input[type="radio"]:focus-visible, input[type="checkbox"].is-focus, input[type="radio"].is-focus { outline:2px solid var(--focus); outline-offset:2px; }
input[type="checkbox"]:disabled, input[type="radio"]:disabled { border-color:var(--line); background:var(--band); cursor:not-allowed; }
.em2-radio input, .em2-check input { position:absolute; inset:-2px; width:22px; height:22px; margin:0; padding:0; border:0; opacity:0; cursor:pointer; }
.woocommerce form .form-row label.checkbox, .woocommerce-form__label-for-checkbox, .woocommerce-form-login__rememberme, label.em2-bare { display:inline-flex; align-items:center; gap:12px; min-height:44px; cursor:pointer; }
.wc_payment_method > label, .woocommerce-shipping-methods li label, #shipping_method li label { display:inline-flex; align-items:center; min-height:44px; cursor:pointer; }
ul.wc_payment_methods, ul.woocommerce-shipping-methods, ul#shipping_method { list-style:none; margin:0; padding:0; }
.wc_payment_method, .woocommerce-shipping-methods li, #shipping_method li { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }

/* Address suggestions (address.js, copied unchanged): ink rows on hover and selection, never yellow; the credit stays. */
.addr-host { position:relative; }
.addr-box { position:absolute; top:100%; left:0; right:0; z-index:30; margin-top:4px; background:var(--paper); border:2px solid var(--ink); box-shadow:none; }
.addr-box ul { list-style:none; margin:0; padding:0; max-height:264px; overflow-y:auto; }
.addr-box li { display:flex; align-items:center; min-height:48px; padding:12px 14px; border-bottom:2px solid var(--line); color:var(--ink); font:600 16px/1.3 var(--body); cursor:pointer; }
.addr-box li:hover, .addr-box li.is-hover, .addr-box li[aria-selected="true"] { background:var(--ink); color:var(--paper); }
.addr-credit { margin:0; padding:6px 14px; background:var(--band); color:var(--muted); font:700 14px/1.3 var(--mono); }

/* ---------- 10. Legacy and plugin vocabulary (plugin and old markup in the v2 look; !important allowed here) ---------- */
.btn, .btn-pink, .btn-ghost, .button, a.button, button.button, input.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:48px; padding:0 20px; border:2px solid var(--ink); background:var(--paper); color:var(--ink); font:800 16px/1 var(--body); text-decoration:none; white-space:nowrap; cursor:pointer; border-radius:0; box-shadow:none; transition:background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.button:hover, a.button:hover, button.button:hover, input.button:hover { background:var(--hover-fill); }
.btn { background:var(--ink); border-color:var(--ink); color:var(--paper); }
.btn:hover { background:var(--ink-2); border-color:var(--ink-2); }
.btn-pink { background:var(--pink); border-color:var(--pink); color:var(--on-pink); }
.btn-pink:hover { background:var(--pink); border-color:var(--ink); }
.btn-pink:active { background:#b8005f; border-color:#b8005f; color:#fff; }
.btn-ghost { background:var(--paper); border-color:var(--ink); color:var(--ink); }
.btn-ghost:hover { background:var(--hover-fill); }
.btn-big { height:56px; padding:0 24px; font-size:18px; }
.btn-small { height:40px; padding:0 14px; font-size:15px; }
.button.alt, #place_order { height:56px; padding:0 24px; background:var(--pink); border-color:var(--pink); color:var(--on-pink); font-size:18px; }
.button.alt:hover, #place_order:hover { background:var(--pink); border-color:var(--ink); }
.button.alt:active, #place_order:active { background:#b8005f; border-color:#b8005f; color:#fff; }
.woocommerce-checkout #place_order { width:100%; }
.button:disabled, .button.disabled, .button[disabled] { background:var(--band); border-color:var(--line); color:var(--muted); cursor:not-allowed; }
.pagehead { display:flex; flex-direction:column; align-items:flex-start; gap:16px; width:100%; max-width:var(--wrap); margin:0 auto; padding:48px var(--gutter) 32px; }
.pagehead h1 { font:400 44px/1 var(--display); letter-spacing:-0.01em; }
.pagehead-text { max-width:760px; font:500 19px/1.5 var(--body); color:var(--ink-2); }
.stamp { margin:0; font:700 14px/1.3 var(--mono); letter-spacing:.04em; text-transform:uppercase; color:var(--muted); }
.sect { width:100%; max-width:var(--wrap); margin:0 auto; padding:32px var(--gutter); }
.slip { border:2px solid var(--line); background:var(--paper); padding:16px; }
.slip-row { display:grid; grid-template-columns:minmax(0, 1fr); gap:16px; margin:0; padding:0; list-style:none; }
.fine { font:500 14px/1.45 var(--body); color:var(--muted); }
.inklink { color:inherit; font-weight:700; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:3px; }
.honeypot { position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }
.from-price, .ems-request-price { font:700 16px/1.2 var(--mono); }
.ems-request-price { display:inline-flex; align-items:center; height:32px; padding:0 12px; border:2px solid var(--ink); background:var(--paper); color:var(--ink); font-size:14px; letter-spacing:.04em; text-transform:uppercase; }
img.order-design, .order-design { width:96px; height:96px; padding:8px; object-fit:contain; background:var(--tile); }
.social-login { display:flex; flex-direction:column; gap:12px; }
.social-login p { font-size:16px; }
.social-login .fine { font-size:14px; }
html body .emr-ec-code { background:var(--band); color:var(--ink); border-color:var(--ink); }
html body .emr-ec-code span { font-size:14px; }
html body .emr-ec-code strong { font-size:32px; }
html body .emr-ec-box { box-shadow:none; border:2px solid var(--ink); }
html body .emr-ec-box h2 { font-size:32px; }
html body .emr-ec-art { display:none; }
html body .emr-ec-head { grid-template-columns:minmax(0, 1fr); }
/* The landing wraps its head in an inner <div> and its own .emr-ec-head grid replaces .pagehead's flex, so the
   page-head rhythm (16px, 12px on phones) goes on that div; the intro and "Rather just shop?" get the section-head 12px. */
html body .emr-ec-head > div { display:flex; flex-direction:column; gap:16px; }
html body .emr-ec-intro, html body .emr-ec-more > div { display:flex; flex-direction:column; gap:12px; }
html body .emr-ec-actions { margin-top:8px; }
html body .emr-ec-intro p { font-size:18px; }
/* Step badges sit on the card's 16px edge, like the step text; 12px between badge and heading as in the plugin. */
html body .emr-ec-steps > li { padding-top:68px; }
html body .emr-ec-steps > li::before, html body .emr-ec-steps > li:nth-child(n)::before { left:16px; top:16px; border-radius:0; background:var(--ink); color:var(--paper); border-color:var(--ink); font-size:14px; }
html body .emr-ec-head .btn-ghost:hover, html body .emr-ec-more .btn-ghost:hover { background:var(--hover-fill); color:var(--ink); border-color:var(--ink); }
/* One pink action per screen (D10): the head keeps the pink "Give $5" button; its repeat under the steps, which shares
   a 1440×900 screen with it, takes the .em2-btn-ink look (deviation from 5.8's ".btn-pink = .em2-btn-pri", noted for the architect). */
html body .emr-ec-again .btn-pink { background:var(--ink); border-color:var(--ink); color:var(--paper); }
html body .emr-ec-again .btn-pink:hover, html body .emr-ec-again .btn-pink:active { background:var(--ink-2); border-color:var(--ink-2); color:var(--paper); }
@media (min-width:600px) {
  .sect { padding-top:56px; padding-bottom:56px; }
  .slip-row { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (min-width:1024px) {
  .sect { padding-top:80px; padding-bottom:80px; }
  .slip-row { grid-template-columns:repeat(4, minmax(0, 1fr)); }
}
@media (max-width:599px) {
  .pagehead { gap:12px; padding-top:32px; padding-bottom:24px; }
  html body .emr-ec-head > div { gap:12px; }
  .pagehead h1 { font-size:32px; }
  html body .emr-ec-code strong, html body .emr-ec-box h2 { font-size:24px; }
}

/* ---------- 11. Fallback list template (index.php) and post pagination ---------- */
.em2-index-list { display:flex; flex-direction:column; gap:32px; max-width:760px; margin:0; padding:0; list-style:none; }
.em2-index-item { display:flex; flex-direction:column; gap:8px; padding-bottom:32px; border-bottom:2px solid var(--line); }
.em2-index-excerpt p { font:400 17px/1.55 var(--body); color:var(--ink-2); }
.navigation.pagination { margin-top:32px; }
.nav-links { display:flex; flex-wrap:wrap; gap:8px; }
.page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:44px; height:44px; padding:0 12px; border:2px solid var(--muted); color:var(--ink); font:800 15px/1 var(--body); text-decoration:none; }
.page-numbers:hover { border-color:var(--ink); }
.page-numbers.current { background:var(--ink); border-color:var(--ink); color:var(--paper); }

/* ---------- 12. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration:0s !important; animation-duration:0s !important; scroll-behavior:auto !important; }
}
