/* Generated by scripts/build-theme-css.py. Edit the source files. */
/*
 * AskParto.com design-v3 tokens.
 * AskParto brand colours follow assets/brand/askparto-brand.json. Token names are not prefixed
 * (--ed-* brand/semantic, --t-* type, --s-* space, --r-* radius, --sh-* shadow, --dur/--ease motion);
 * WordPress, HivePress and ListingHive define no custom properties with these names.
 *
 * Font: Inter (SIL OFL 1.1, see ../fonts/Inter-OFL.txt), @fontsource-variable/inter 5.3.0, self-hosted.
 * Subsets: latin, cyrillic, cyrillic-ext (cyrillic-ext also carries the hryvnia sign U+20B4).
 * The variable font covers the 400-800 weights used by components.css (incl. 650 and 750).
 */
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url("../fonts/inter-cyrillic-ext-wght-normal.woff2") format("woff2-variations");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url("../fonts/inter-cyrillic-wght-normal.woff2") format("woff2-variations");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-style:normal;font-display:swap;font-weight:100 900;src:url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  /* brand */
  --ed-ink:#17211D; --ed-petrol:#073D3A; --ed-petrol-2:#0D514C; --ed-action:#0C665E; --ed-action-hover:#09534D; --ed-action-press:#073D3A;
  --ed-lime:#8AD619; --ed-lime-hover:#9BE52B; --ed-lime-soft:#EFF8DC;
  --ed-canvas:#F6F7F5; --ed-surface:#FFFFFF; --ed-surface-2:#EEF2EF; --ed-action-soft:#E5F2EF;
  --ed-border:#DDE3DD; --ed-border-strong:#B9C4BC; --ed-muted:#52615A; --ed-subtle:#6B7A72;
  /* Meaningful control boundaries stay separate from decorative card borders. */
  --ed-field-border:#758780; --ed-field-hover:#526B67; --ed-focus:#073D3A; --ed-focus-soft:rgba(7,61,58,.14);
  /* --ed-subtle is 4.51:1 on white only (3.99 on surface-2, 4.20 on canvas): small text on tinted surfaces uses --ed-subtle-aa (4.75 / 5.00 / 5.37) */
  --ed-subtle-aa:#5F6E66;
  /* semantic (text on soft bg ≥ 4.5:1) */
  --ed-ok:#176B45; --ed-ok-bg:#E6F2EA;
  --ed-warn:#7A4E00; --ed-warn-bg:#FFF3D1; --ed-warn-line:#E9C46A;
  --ed-err:#A8231A; --ed-err-bg:#FCEBE9; --ed-err-line:#E3A39C;
  --ed-info:#1E4E79; --ed-info-bg:#E8F0F8; --ed-info-line:#A9C3DD;
  --ed-off:#5B6660; --ed-off-bg:#ECEFED;
  /* type */
  --ed-font:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  --t-12:12px; --t-14:14px; --t-16:16px; --t-18:18px; --t-20:20px; --t-24:24px; --t-30:30px; --t-36:36px; --t-48:48px; --t-56:56px;
  /* space 4/8/12/16/24/32/48/64 */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-6:24px; --s-8:32px; --s-12:48px; --s-16:64px;
  --r-sm:8px; --r-md:12px; --r-lg:16px; --r-pill:999px;
  --sh-1:0 1px 2px rgba(7,61,58,.06),0 1px 1px rgba(7,61,58,.04);
  --sh-2:0 8px 24px rgba(7,61,58,.10),0 2px 6px rgba(7,61,58,.06);
  --sh-3:0 24px 64px rgba(10,30,24,.22);
  --ed-container:1200px; --ed-touch:44px;
  --dur:150ms; --ease:cubic-bezier(.2,.7,.2,1);
}

/*
 * AskParto.com design-v3 components.
 *
 * Ported from design-v3/ed.css. Every class is prefixed with "ed-" so it cannot collide with
 * ListingHive / HivePress / WordPress classes (".row", ".col", ".button", ".avatar", ".nav" ...).
 * Mapping rule: ed.css ".btn-primary" -> ".ed-btn-primary". State classes stay as ".is-on", ".is-err",
 * ".is-done", ".is-cur" and are only valid next to an ed- component class.
 *
 * Not ported on purpose: global resets (*, html, body, headings, links: see listinghive-overrides.css),
 * the ".demo" label, documentation-board classes (.doc, .doc-sec, .spec, .swatch, .lbl-chip).
 * Controls (.ed-btn, .ed-inp, .ed-sel, .ed-ta) are written as ":is(tag).ed-x" so they win against the
 * parent theme element selectors (input[type=text], button[type=submit], select, textarea).
 * Tokens: tokens.css. Do not hardcode palette values in templates.
 */

/* scoped base: inherit the page font in controls, neutralise parent heading margins inside ed- trees */
.ed-btn,.ed-inp,.ed-sel,.ed-ta,.ed-pill,.ed-seg-btn,.ed-tab,.ed-hd-icon,.ed-switch{font-family:inherit}
[class^="ed-"] :is(h1,h2,h3,h4,h5,h6,p),[class*=" ed-"] :is(h1,h2,h3,h4,h5,h6,p),
:is(h1,h2,h3,h4,h5,h6,p)[class^="ed-"],:is(h1,h2,h3,h4,h5,h6,p)[class*=" ed-"]{margin:0}
.ed-dark :is(h1,h2,h3,h4,h5,h6){color:inherit}
.ed-on-dark :focus-visible{outline-color:var(--ed-lime);box-shadow:none}

.ed-num{font-variant-numeric:tabular-nums}
.ed-muted{color:var(--ed-muted)} .ed-subtle{color:var(--ed-subtle-aa)}
.ed-small{font-size:14px;line-height:1.45} .ed-xs{font-size:12px;line-height:1.4}
.ed-b{font-weight:600} .ed-bb{font-weight:700}
.ed-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ed-ic{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.ed-ic-16{width:16px;height:16px} .ed-ic-24{width:24px;height:24px} .ed-ic-32{width:32px;height:32px;stroke-width:1.5} .ed-ic-40{width:40px;height:40px;stroke-width:1.4}

/* type scale */
.ed-h-hero{font-size:56px;line-height:1.04;letter-spacing:-.035em;font-weight:800}
.ed-h1{font-size:40px;line-height:1.1;letter-spacing:-.03em;font-weight:800}
.ed-h2{font-size:30px;line-height:1.15;letter-spacing:-.022em;font-weight:750}
.ed-h3{font-size:20px;line-height:1.3;letter-spacing:-.01em;font-weight:700}
.ed-h4{font-size:16px;line-height:1.35;font-weight:650}
.ed-lead{font-size:18px;line-height:1.5;color:var(--ed-muted)}
.ed-eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}

/* layout */
.ed-wrap{max-width:var(--ed-container);margin:0 auto;padding:0 32px}
.ed-row{display:flex;align-items:center;gap:12px}
.ed-row-top{display:flex;align-items:flex-start;gap:12px}
.ed-between{justify-content:space-between}
.ed-wrapf{flex-wrap:wrap}
.ed-col{display:flex;flex-direction:column}
.ed-g4{gap:4px}.ed-g8{gap:8px}.ed-g12{gap:12px}.ed-g16{gap:16px}.ed-g24{gap:24px}.ed-g32{gap:32px}.ed-g48{gap:48px}
.ed-grow{flex:1 1 0;min-width:0}
.ed-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ed-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ed-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ed-split{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start}
.ed-split>.ed-main{flex:999 1 560px;min-width:0}
.ed-split>.ed-side{flex:1 1 320px;min-width:0}
.ed-section{padding:64px 0}
.ed-hr{height:1px;background:var(--ed-border);border:0;margin:0}

/* header */
.ed-logo{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#fff;font-weight:800;font-size:26px;letter-spacing:-.04em;line-height:1}
.ed-logo svg{width:36px;height:36px;fill:none;stroke-linecap:round;stroke-linejoin:round;flex:none}
/* brake-disc mark: m-d disc, m-h hub, m-o holes, m-c caliper (accent) */
.ed-logo .ed-m-d{stroke:#FFFFFF;stroke-width:3.5} .ed-logo .ed-m-h{stroke:#FFFFFF;stroke-width:3} .ed-logo .ed-m-o{fill:#FFFFFF;stroke:none} .ed-logo .ed-m-c{stroke:var(--ed-lime);stroke-width:7}
.ed-logo.ed-on-light{color:var(--ed-petrol)} .ed-logo.ed-on-light .ed-m-d,.ed-logo.ed-on-light .ed-m-h{stroke:var(--ed-petrol)} .ed-logo.ed-on-light .ed-m-o{fill:var(--ed-petrol)} .ed-logo.ed-on-light .ed-m-c{stroke:var(--ed-action)}
.ed-logo:hover{color:#fff} .ed-logo.ed-on-light:hover{color:var(--ed-petrol)}
.ed-hd-icon{position:relative;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;color:#fff;background:transparent;border:0;cursor:pointer}
.ed-hd-icon:hover{background:rgba(255,255,255,.08)}
.ed-hd-dot{position:absolute;top:8px;right:8px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--ed-lime);color:var(--ed-petrol);font-size:11px;font-weight:800;display:flex;align-items:center;justify-content:center}
.ed-avatar{width:32px;height:32px;border-radius:50%;background:var(--ed-lime);color:var(--ed-petrol);font-weight:800;font-size:13px;display:inline-flex;align-items:center;justify-content:center;flex:none}
.ed-count{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--ed-action);color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}

/* footer */
.ed-ft{background:var(--ed-surface);border-top:1px solid var(--ed-border);margin-top:64px}
.ed-ft-in{max-width:var(--ed-container);margin:0 auto;padding:28px 32px;display:flex;flex-wrap:wrap;align-items:center;gap:16px 32px}
.ed-ft a{color:var(--ed-muted);text-decoration:none;font-size:14px;min-height:44px;display:inline-flex;align-items:center}
.ed-ft a:hover{color:var(--ed-ink);text-decoration:underline}

/* buttons */
:is(a,button,input,span,div).ed-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:var(--r-sm);border:1px solid transparent;font-size:15px;font-weight:650;line-height:1.2;text-decoration:none;cursor:pointer;white-space:nowrap;transition:background var(--dur) var(--ease),border-color var(--dur) var(--ease),color var(--dur) var(--ease)}
:is(a,button,input,span,div).ed-btn-lg{min-height:52px;padding:0 24px;font-size:16px}
:is(a,button,input,span,div).ed-btn-sm{min-height:36px;padding:0 12px;font-size:14px}
:is(a,button,input,span,div).ed-btn-block{width:100%}
:is(a,button,input,span,div).ed-btn-primary{background:var(--ed-action);color:#fff}
:is(a,button,input,span,div).ed-btn-primary:hover{background:var(--ed-action-hover);color:#fff}
:is(a,button,input,span,div).ed-btn-primary:active{background:var(--ed-action-press)}
:is(a,button,input,span,div).ed-btn-lime{background:var(--ed-lime);color:var(--ed-petrol)}
:is(a,button,input,span,div).ed-btn-lime:hover{background:var(--ed-lime-hover);color:var(--ed-petrol)}
:is(a,button,input,span,div).ed-btn-secondary{background:var(--ed-surface);color:var(--ed-action);border-color:var(--ed-action)}
:is(a,button,input,span,div).ed-btn-secondary:hover{background:var(--ed-action-soft);color:var(--ed-action-hover)}
:is(a,button,input,span,div).ed-btn-quiet{background:var(--ed-action-soft);color:var(--ed-action)}
:is(a,button,input,span,div).ed-btn-quiet:hover{background:#D5EADC;color:var(--ed-action-hover)}
:is(a,button,input,span,div).ed-btn-ghost{background:transparent;color:var(--ed-ink);border-color:var(--ed-border)}
:is(a,button,input,span,div).ed-btn-ghost:hover{background:var(--ed-surface-2);color:var(--ed-ink)}
:is(a,button,input,span,div).ed-btn-text{background:transparent;color:var(--ed-action);padding:0 8px;text-decoration:underline;text-underline-offset:3px}
:is(a,button,input,span,div).ed-btn-danger{background:var(--ed-surface);color:var(--ed-err);border-color:var(--ed-err-line)}
:is(a,button,input,span,div).ed-btn-danger:hover{background:var(--ed-err-bg);color:var(--ed-err)}
:is(a,button,input,span,div).ed-btn[disabled],:is(a,button,input,span,div).ed-btn[aria-disabled="true"]{background:var(--ed-surface-2);color:#7D8983;border-color:var(--ed-border);cursor:not-allowed;opacity:1}
:is(a,button,input,span,div).ed-btn-icon{width:44px;padding:0}

/* forms */
.ed-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.ed-lbl{font-size:14px;font-weight:600;color:var(--ed-ink)}
.ed-lbl .ed-req{color:var(--ed-err);margin-left:2px}
.ed-lbl .ed-opt{font-weight:500;color:var(--ed-muted)}
.ed-hint{font-size:13px;line-height:1.4;color:var(--ed-muted)}
.ed-err{font-size:13px;line-height:1.4;color:var(--ed-err);display:flex;gap:6px;align-items:flex-start;font-weight:500}
:is(input).ed-inp,:is(select).ed-sel,:is(textarea).ed-ta{width:100%;min-height:48px;padding:0 14px;border:1px solid var(--ed-field-border);border-radius:var(--r-sm);background:var(--ed-surface);font-size:16px;transition:border-color var(--dur) var(--ease)}
:is(textarea).ed-ta{min-height:96px;padding:12px 14px;resize:vertical;line-height:1.5}
:is(select).ed-sel{appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2352615A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
:is(input).ed-inp::placeholder,:is(textarea).ed-ta::placeholder{color:#6B7A72}
:is(input).ed-inp:hover,:is(select).ed-sel:hover,:is(textarea).ed-ta:hover{border-color:var(--ed-field-hover)}
:is(input).ed-inp:focus,:is(select).ed-sel:focus,:is(textarea).ed-ta:focus{outline:2px solid var(--ed-focus);outline-offset:2px;border-color:var(--ed-focus);box-shadow:0 0 0 3px var(--ed-focus-soft)}
:is(input).ed-inp.is-err,:is(select).ed-sel.is-err,:is(textarea).ed-ta.is-err{border-color:var(--ed-err);box-shadow:0 0 0 3px rgba(168,35,26,.10)}
:is(input).ed-inp[disabled],:is(select).ed-sel[disabled]{background:var(--ed-surface-2);color:#6E7A74;border-color:var(--ed-border)}
:is(input).ed-inp-plate{font-size:20px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.ed-ig{display:flex;align-items:stretch;border:1px solid var(--ed-field-border);border-radius:var(--r-sm);background:var(--ed-surface);overflow:hidden;min-height:48px}
.ed-ig:focus-within{border-color:var(--ed-focus);outline:2px solid var(--ed-focus);outline-offset:2px;box-shadow:0 0 0 3px var(--ed-focus-soft)}
.ed-ig .ed-inp{border:0;box-shadow:none;min-height:46px}
.ed-ig-add{display:flex;align-items:center;padding:0 12px;background:var(--ed-surface-2);color:var(--ed-muted);font-size:15px;font-weight:600;flex:none}
.ed-chk{display:flex;align-items:flex-start;gap:10px;min-height:44px;padding:10px 0;cursor:pointer;font-size:15px}
.ed-chk input{width:20px;height:20px;margin:1px 0 0;accent-color:var(--ed-action);flex:none}
.ed-radio-card{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid var(--ed-field-border);border-radius:var(--r-md);background:var(--ed-surface);cursor:pointer;min-height:56px}
.ed-radio-card input{width:20px;height:20px;margin:2px 0 0;accent-color:var(--ed-action);flex:none}
.ed-radio-card.is-on{border-color:var(--ed-action);background:var(--ed-action-soft);box-shadow:inset 0 0 0 1px var(--ed-action)}
.ed-switch{position:relative;width:44px;height:26px;border-radius:13px;background:var(--ed-field-border);border:0;flex:none;cursor:pointer;padding:0}
.ed-switch::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.2);transition:transform var(--dur) var(--ease)}
.ed-switch[aria-checked="true"]{background:var(--ed-action)}
.ed-switch[aria-checked="true"]::after{transform:translateX(18px)}
.ed-seg{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px;padding:4px;background:var(--ed-surface-2);border-radius:var(--r-md)}
.ed-seg-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 12px;border-radius:9px;border:1px solid transparent;background:transparent;font-weight:600;font-size:15px;color:var(--ed-muted);cursor:pointer;text-align:center}
.ed-seg-btn:hover{color:var(--ed-ink);background:rgba(255,255,255,.6)}
.ed-seg-btn[aria-pressed="true"]{background:var(--ed-surface);color:var(--ed-ink);border-color:var(--ed-action);box-shadow:var(--sh-1)}
.ed-pills{display:flex;flex-wrap:wrap;gap:8px}
.ed-pill{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:var(--r-pill);border:1px solid var(--ed-border-strong);background:var(--ed-surface);font-size:14px;font-weight:600;color:var(--ed-ink);cursor:pointer}
.ed-pill:hover{border-color:var(--ed-action)}
.ed-pill[aria-pressed="true"]{background:var(--ed-petrol);border-color:var(--ed-petrol);color:#fff}
.ed-errsum{border:1px solid var(--ed-err-line);background:var(--ed-err-bg);border-radius:var(--r-md);padding:16px 18px;color:var(--ed-ink)}
.ed-errsum h3{font-size:16px;color:var(--ed-err);margin-bottom:6px}
.ed-errsum ul{margin:0;padding-left:20px;font-size:14px}
.ed-errsum a{color:var(--ed-err)}
.ed-drop{display:flex;align-items:center;gap:14px;padding:14px 16px;border:1.5px dashed var(--ed-field-border);border-radius:var(--r-md);background:var(--ed-surface);cursor:pointer}
.ed-drop:hover{border-color:var(--ed-action);background:var(--ed-action-soft)}
.ed-drop:focus-within{outline:2px solid var(--ed-focus);outline-offset:2px;box-shadow:0 0 0 5px var(--ed-focus-soft)}

/* stepper */
.ed-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;list-style:none;margin:0;padding:0}
.ed-step{display:flex;align-items:center;gap:10px;padding:10px 0 12px;border-bottom:3px solid var(--ed-border);font-size:15px;font-weight:600;color:var(--ed-muted)}
.ed-step .ed-dot{width:28px;height:28px;border-radius:50%;border:2px solid var(--ed-border-strong);display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;background:var(--ed-surface);flex:none}
.ed-step.is-done{color:var(--ed-ink);border-bottom-color:var(--ed-action)}
.ed-step.is-done .ed-dot{background:var(--ed-action);border-color:var(--ed-action);color:#fff}
.ed-step.is-cur{color:var(--ed-ink);border-bottom-color:var(--ed-action)}
.ed-step.is-cur .ed-dot{border-color:var(--ed-action);color:var(--ed-action);box-shadow:0 0 0 4px var(--ed-action-soft)}

/* tabs */
.ed-tabs{display:flex;gap:4px;border-bottom:1px solid var(--ed-border);overflow-x:auto}
.ed-tab{flex:none;display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 14px;border:0;background:transparent;border-bottom:2px solid transparent;margin-bottom:-1px;font-weight:600;font-size:15px;color:var(--ed-muted);cursor:pointer;text-decoration:none}
.ed-tab:hover{color:var(--ed-ink)}
/* real tablists (buttons, role=tab) use aria-selected; tab-styled navigation links use aria-current="page" */
.ed-tab[aria-selected="true"],.ed-tab[aria-current="page"]{color:var(--ed-ink);border-bottom-color:var(--ed-action)}
.ed-tab .ed-count{background:var(--ed-surface-2);color:var(--ed-ink)}
.ed-tab[aria-selected="true"] .ed-count,.ed-tab[aria-current="page"] .ed-count{background:var(--ed-action);color:#fff}

/* surfaces */
.ed-card{background:var(--ed-surface);border:1px solid var(--ed-border);border-radius:var(--r-lg)}
.ed-card-p{padding:24px}
.ed-card-p-s{padding:16px}
.ed-card-hd{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 24px;border-bottom:1px solid var(--ed-border)}
.ed-card-ft{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;border-top:1px solid var(--ed-border);background:#FBFCFB;border-radius:0 0 var(--r-lg) var(--r-lg)}
.ed-tile{background:var(--ed-surface);border:1px solid var(--ed-border);border-radius:var(--r-md);padding:16px}
.ed-inset{background:var(--ed-canvas);border:1px solid var(--ed-border);border-radius:var(--r-md);padding:16px}
.ed-dark{background:var(--ed-petrol);color:#fff}
.ed-dark .ed-muted{color:#BFD3C8}

/* badges & status */
.ed-badge{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px;border-radius:var(--r-pill);font-size:13px;font-weight:600;white-space:nowrap;background:var(--ed-off-bg);color:var(--ed-off)}
.ed-badge .ed-ic{width:14px;height:14px;stroke-width:2.2}
.ed-b-ok{background:var(--ed-ok-bg);color:var(--ed-ok)}
.ed-b-warn{background:var(--ed-warn-bg);color:var(--ed-warn)}
.ed-b-err{background:var(--ed-err-bg);color:var(--ed-err)}
.ed-b-info{background:var(--ed-info-bg);color:var(--ed-info)}
.ed-b-lime{background:var(--ed-lime);color:var(--ed-petrol)}
.ed-b-petrol{background:var(--ed-petrol);color:#fff}
.ed-b-line{background:var(--ed-surface);border:1px solid var(--ed-border-strong);color:var(--ed-ink)}
.ed-tag{display:inline-flex;align-items:center;height:24px;padding:0 8px;border-radius:6px;background:var(--ed-surface-2);font-size:12.5px;font-weight:600;color:var(--ed-ink)}

/* notices */
.ed-note{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:var(--r-md);border:1px solid var(--ed-info-line);background:var(--ed-info-bg);font-size:14.5px;line-height:1.45}
.ed-note>.ed-ic{margin-top:1px;color:var(--ed-info)}
.ed-note strong{display:block;font-size:15px;margin-bottom:2px}
/* Inline help links must remain recognizable without relying on their colour. */
:is(.ed-hint,.ed-note,.ed-small) a:not(.ed-btn){text-decoration:underline;text-underline-offset:3px}
.ed-note-ok{border-color:#A7D2B8;background:var(--ed-ok-bg)} .ed-note-ok>.ed-ic{color:var(--ed-ok)}
.ed-note-warn{border-color:var(--ed-warn-line);background:var(--ed-warn-bg)} .ed-note-warn>.ed-ic{color:var(--ed-warn)}
.ed-note-err{border-color:var(--ed-err-line);background:var(--ed-err-bg)} .ed-note-err>.ed-ic{color:var(--ed-err)}
.ed-note-neutral{border-color:var(--ed-border);background:var(--ed-surface-2)} .ed-note-neutral>.ed-ic{color:var(--ed-muted)}
.ed-note-lime{border-color:#C6E37A;background:var(--ed-lime-soft)} .ed-note-lime>.ed-ic{color:var(--ed-petrol)}

/* domain pieces */
.ed-ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:88px;height:72px;border-radius:10px;background:var(--ed-surface-2);border:1px solid var(--ed-border);color:var(--ed-subtle-aa);font-size:11.5px;font-weight:600;text-align:center;flex:none;line-height:1.2}
.ed-ph .ed-ic{width:22px;height:22px}
.ed-cat{width:48px;height:48px;border-radius:12px;background:var(--ed-action-soft);color:var(--ed-action);display:flex;align-items:center;justify-content:center;flex:none}
.ed-cat .ed-ic{width:26px;height:26px;stroke-width:1.6}
.ed-cat img{width:28px;height:28px;object-fit:contain;display:block}
/* category pictograms (assets/categories/cat-<slug>.svg, URL: autoparts_theme_category_icon_url()):
   Material Design Icons (Apache-2.0) + tabler car-suspension (MIT), fill #176B45 */
.ed-thumb{width:88px;height:72px;border-radius:10px;border:1px solid var(--ed-border);background:#fff;object-fit:contain;flex:none;display:block}
.ed-thumb-s{width:40px;height:40px;border-radius:8px;border:1px solid var(--ed-border);background:#fff;object-fit:contain;flex:none;display:block}
/* seller-photo badge. The text is NOT in CSS (it must be translatable): templates set the label via
   data-label, e.g. <span class="ed-photo-tag" data-label="<?php echo esc_attr__( 'Фото продавця', 'autoparts-theme' ); ?>">.
   Without data-label nothing is drawn. Wrap an <img class="ed-thumb"> in the span (::after cannot sit on <img>). */
.ed-photo-tag{position:relative;display:inline-block;max-width:100%}
.ed-photo-tag>img{max-width:100%}
.ed-photo-tag[data-label]::after{content:attr(data-label);position:absolute;left:4px;bottom:4px;max-width:calc(100% - 8px);font-size:10px;font-weight:700;line-height:1.3;background:rgba(255,255,255,.92);color:var(--ed-muted);padding:1px 5px;border-radius:4px;overflow-wrap:anywhere}
.ed-veh{display:flex;align-items:center;gap:14px}
.ed-veh-logo{width:48px;height:48px;border-radius:12px;background:var(--ed-surface);border:1px solid var(--ed-border);display:flex;align-items:center;justify-content:center;flex:none}
.ed-veh-logo img{width:30px;height:30px;object-fit:contain}
.ed-kv{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:14.5px}
.ed-kv dt{color:var(--ed-muted)} .ed-kv dd{margin:0;font-weight:600;min-width:0;overflow-wrap:anywhere}
.ed-price{font-size:22px;font-weight:800;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.ed-price-s{font-size:17px;font-weight:750;font-variant-numeric:tabular-nums}
.ed-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:13.5px;color:var(--ed-muted)}
.ed-meta span{display:inline-flex;align-items:center;gap:5px}
.ed-meta .ed-ic{width:15px;height:15px}
.ed-list{list-style:none;margin:0;padding:0}
.ed-li{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid var(--ed-border)}
.ed-li:first-child{border-top:0}
.ed-tbl{width:100%;border-collapse:collapse;font-size:14.5px}
.ed-tbl th{text-align:left;font-size:12.5px;font-weight:600;color:var(--ed-muted);padding:10px 12px;border-bottom:1px solid var(--ed-border);white-space:nowrap}
.ed-tbl td{padding:14px 12px;border-bottom:1px solid var(--ed-border);vertical-align:top}
.ed-tbl tr:last-child td{border-bottom:0}
.ed-scroll-x{overflow-x:auto}
.ed-crumbs{display:flex;flex-wrap:wrap;gap:6px;font-size:13.5px;color:var(--ed-muted);padding:16px 0 4px}
.ed-crumbs a{display:inline-flex;align-items:center;min-height:24px;color:var(--ed-muted);text-decoration:none}
.ed-crumbs a:hover{text-decoration:underline;color:var(--ed-ink)}
.ed-selected-ring{box-shadow:inset 0 0 0 2px var(--ed-action);background:#F6FBF8}
.ed-cover{height:6px;border-radius:3px;background:var(--ed-surface-2);overflow:hidden;display:flex;gap:2px}
.ed-cover i{display:block;flex:1;background:var(--ed-border-strong)}
.ed-cover i.is-on{background:var(--ed-action)}
.ed-cover i.is-sel{background:var(--ed-petrol)}

/* seller queue (T10): the request row and the counters; the make-rule row is shared with the filters editor.
   Layout of a whole page (grid, panels) lives in seller-queue.css / filters.css. */
.ed-qstat{display:flex;align-items:center;gap:14px;padding:20px 24px;min-height:88px}
.ed-qnum{font-size:38px;font-weight:800;letter-spacing:-.03em;line-height:1;font-variant-numeric:tabular-nums}
.ed-qrow{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:16px 20px;align-items:center;padding:20px 24px;border-top:1px solid var(--ed-border)}
.ed-qrow.is-skip{background:#FBFCFB}
.ed-qrow.is-skip .ed-qmain{opacity:.72}
.ed-qmain{display:flex;flex-direction:column;gap:12px;min-width:0}
.ed-qmeta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.ed-qt{font-size:20px;line-height:1.2;letter-spacing:-.015em;font-weight:750;color:var(--ed-ink);text-decoration:none;overflow-wrap:anywhere}
.ed-qt:hover{text-decoration:underline;text-underline-offset:3px;color:var(--ed-ink)}
.ed-qchips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}
.ed-qchip{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 11px;border-radius:8px;background:var(--ed-lime-soft);color:var(--ed-petrol);font-size:14px;font-weight:600;overflow-wrap:anywhere}
.ed-qchip.is-other{background:var(--ed-surface-2);color:var(--ed-muted);font-weight:500}
.ed-qchip.is-relaxed{border:1px dashed var(--ed-border-strong)}
.ed-qchip__note{font-size:12px;font-weight:600;color:var(--ed-muted)}
.ed-qact{display:flex;flex-direction:column;align-items:stretch;gap:2px}
:is(a,button,input,span,div).ed-btn.ed-qskip{color:var(--ed-muted);text-decoration:none;font-weight:600;padding:0 8px}
:is(a,button,input,span,div).ed-btn.ed-qskip:hover{color:var(--ed-ink);text-decoration:underline;background:transparent}
.ed-qundo{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
.ed-qundo[hidden],.ed-qrow [hidden]{display:none!important}
.ed-rule{display:grid;grid-template-columns:200px minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px;border:1px solid var(--ed-border);border-radius:var(--r-md);background:#FBFCFB}
@media (max-width:640px){
  .ed-qrow{grid-template-columns:minmax(0,1fr);padding:16px}
  .ed-qact{flex-direction:row;align-items:center}
  .ed-qact>.ed-btn:first-child{flex:1 1 auto}
  .ed-rule{grid-template-columns:minmax(0,1fr)}
}

/* dialogs */
.ed-scrim{background:rgba(12,28,22,.55);display:flex;align-items:center;justify-content:center;padding:24px}
.ed-dlg{background:var(--ed-surface);border-radius:var(--r-lg);box-shadow:var(--sh-3);width:100%;max-width:560px;overflow:hidden}
.ed-dlg-hd{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 24px 12px}
.ed-dlg-bd{padding:4px 24px 20px;display:flex;flex-direction:column;gap:14px}
.ed-dlg-ft{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:16px 24px;border-top:1px solid var(--ed-border);background:#FBFCFB}
.ed-overlay{position:fixed;inset:0;z-index:50}

/* message component (403/404/empty/...) */
.ed-msg{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:40px 24px}
.ed-msg-ic{width:64px;height:64px;border-radius:20px;display:flex;align-items:center;justify-content:center;background:var(--ed-surface-2);color:var(--ed-muted)}
.ed-msg-ic .ed-ic{width:30px;height:30px;stroke-width:1.6}
.ed-msg h3{font-size:19px;font-weight:700}
.ed-msg p{color:var(--ed-muted);max-width:420px;font-size:15px}

/* loading */
.ed-skel{background:linear-gradient(90deg,#E9EDEA 0%,#F4F6F4 40%,#E9EDEA 80%);background-size:200% 100%;border-radius:8px;animation:ed-shim 1.4s linear infinite}
@keyframes ed-shim{to{background-position:-200% 0}}
.ed-spin{width:20px;height:20px;border-radius:50%;border:2.5px solid rgba(23,107,69,.2);border-top-color:var(--ed-action);animation:ed-rot .8s linear infinite;flex:none}
.ed-spin.on-btn{border-color:rgba(255,255,255,.35);border-top-color:#fff}
@keyframes ed-rot{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.ed-skel,.ed-spin{animation:none}[class^="ed-"],[class*=" ed-"]{transition:none!important}}

/* sticky action bar inside forms */
.ed-actionbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}

/* responsive */
@media (max-width:1023px){
  .ed-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ed-h-hero{font-size:44px}
}
@media (max-width:767px){
  .ed-wrap,.ed-ft-in{padding-left:16px;padding-right:16px}
  .ed-logo{font-size:22px} .ed-logo svg{width:30px;height:30px}
  .ed-grid2,.ed-grid3{grid-template-columns:minmax(0,1fr)}
  .ed-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ed-h-hero{font-size:34px} .ed-h1{font-size:30px} .ed-h2{font-size:24px}
  .ed-section{padding:40px 0}
  .ed-card-p{padding:16px} .ed-card-hd,.ed-card-ft{padding:14px 16px}
  .ed-steps .ed-step span.ed-t{display:none}
  .ed-actionbar .ed-btn{flex:1 1 auto}
  .ed-hide-m{display:none!important}
  /* touch targets: 44px for the compact controls (desktop keeps 36/40) */
  :is(a,button,input,span,div).ed-btn-sm,.ed-pill{min-height:44px}
  :is(a,button,input,span,div).ed-btn-icon.ed-btn-sm,:is(a,button,input,span,div).ed-btn-ghost.ed-btn-icon{min-width:44px}
  .ed-switch::before{content:"";position:absolute;left:0;right:0;top:-9px;bottom:-9px}
}
@media (min-width:768px){.ed-only-m{display:none!important}}

/* adaptive guards (design-v3 render QA 2026-10-12) ----------------------------------------------------
   Cards inside scrolling flex columns (mobile sheets, chat logs) must scroll, not shrink and clip their content. */
.ed-col[style*="overflow:auto"]>*,.ed-col[style*="overflow: auto"]>*,.ed-sheet>*,[role="log"]>*{flex-shrink:0}
/* flex rows: text children may shrink below their content width (no per-letter breaks, no horizontal overflow) */
.ed-li>:not(.ed-btn),.ed-veh>:not(.ed-btn),.ed-card-hd>:not(.ed-btn),.ed-card-ft>:not(.ed-btn),.ed-dlg-hd>:not(.ed-btn),.ed-note>:not(.ed-btn){min-width:0}

/* i18n: long strings (ru) ----------------------------------------------------------------------
   Ported from the "i18n: long strings (ru)" block of design-v3/ed.css. The rules only add behaviour:
   they are visually neutral for short uk text and take effect on overflow, with the modifiers, or in :lang(ru).
   :lang(ru) relies on <html lang="ru-RU"> printed by language_attributes() (Polylang sets the locale on /ru/). */

/* buttons: wrap in narrow containers (.ed-btn-block always wraps) */
:is(a,button,input,span,div).ed-btn-wrap{white-space:normal;text-align:center;line-height:1.25;padding-top:8px;padding-bottom:8px}
:is(a,button,input,span,div).ed-btn-block{white-space:normal;text-align:center}

/* headings, tags, badges must not overflow the container */
.ed-h-hero,.ed-h1,.ed-h2,.ed-h3{overflow-wrap:anywhere}
.ed-tag,.ed-badge{overflow-wrap:anywhere}
.ed-badge-wrap{max-width:100%;height:auto;min-height:26px;padding-top:3px;padding-bottom:3px;white-space:normal;line-height:1.25}
.ed-tag-wrap{max-width:100%;height:auto;min-height:24px;padding-top:2px;padding-bottom:2px;white-space:normal;line-height:1.25}

/* stepper: the step label may wrap, the column does not stretch the grid */
.ed-step{min-width:0;overflow-wrap:anywhere;line-height:1.25}

/* narrow tiles (part groups, long names in .ed-li / .ed-tile) */
.ed-wrap-any{min-width:0;overflow-wrap:anywhere}

/* .ed-tabs (overflow-x:auto, .ed-tab flex:none) and .ed-pills
   (flex-wrap:wrap) already survive long labels, no rules needed. */

/* ru: hyphenation inside ed- components, tighter hero tracking, wrapping table heads.
   (The ed.css rule ":lang(ru) p" is scoped to ed- trees here, so HivePress / WordPress copy keeps its own flow.)
   The photo-tag text is translated through data-label, not through a :lang(ru) content override. */
:lang(ru) :is(.ed-small,.ed-hint,.ed-lead,.ed-note,.ed-wrap-any),
:lang(ru) :is([class^="ed-"],[class*=" ed-"]) p,
:lang(ru) p:is([class^="ed-"],[class*=" ed-"]){hyphens:auto}
:lang(ru) .ed-h-hero{letter-spacing:-.04em}
:lang(ru) .ed-tbl th{white-space:normal}
/* offer line (T08, shared with the seller list): one line of an offer. States are classes on the row/article:
   .is-unread (a revision the buyer has not seen: an accent edge), .is-withdrawn (greyed, no terms), .is-off (vendor unavailable). */
.ed-offer-line{position:relative}
.ed-offer-line.is-unread{box-shadow:inset 3px 0 0 var(--ed-action)}
.ed-offer-line.is-withdrawn{background:var(--ed-surface-2)}
.ed-offer-line.is-withdrawn .ed-cmp-vendor__name{color:var(--ed-muted)}
.ed-offer-line.is-off>*{opacity:.72}

/* pause line outside the settings page (seller queue, site inbox; T11) */
.ed-pausebar{align-items:center;flex-wrap:wrap;margin-bottom:16px}
.ed-pausebar>.ed-grow{flex:1 1 220px;min-width:0}
.ed-pausebar .ed-btn{text-decoration:none}
.ed-pausebar [hidden]{display:none!important}

/* Shared searchable catalogue controls (buyer wizard and vendor filters). */
.ed-wizard__combo{position:relative}
.ed-wizard__listbox{position:absolute;z-index:20;left:0;right:0;top:calc(100% - 4px);max-height:280px;overflow:auto;margin:0;padding:var(--s-1);list-style:none;background:var(--ed-surface);border:1px solid var(--ed-border-strong);border-radius:var(--r-sm);box-shadow:var(--sh-2)}
.ed-wizard__combo .ed-hint{position:relative}
.ed-wizard__option{display:flex;align-items:center;min-height:var(--ed-touch);padding:0 var(--s-3);border-radius:6px;cursor:pointer;font-size:15px}
.ed-wizard__option:hover,.ed-wizard__option.is-active{background:var(--ed-action-soft)}
.ed-wizard__option--empty{cursor:default;color:var(--ed-muted)}
.ed-wizard__option--empty:hover{background:transparent}
.ed-wizard__picker .ed-inp{padding-right:44px}
.ed-wizard__picker-input{position:relative}
.ed-wizard__picker{display:flex;flex-direction:column;gap:var(--s-2)}
.ed-wizard__picker-clear{position:absolute;right:0;top:0;width:44px;height:100%;border:0;background:transparent;color:var(--ed-muted);font-size:24px;cursor:pointer;border-radius:var(--r-sm)}
.ed-wizard__picker-clear:hover{background:var(--ed-action-soft);color:var(--ed-text)}
.ed-wizard__picker .ed-wizard__listbox{top:calc(100% + 4px);max-height:min(280px,40vh);overscroll-behavior:contain}

@media(max-width:359px){.ed-logo{font-size:20px;gap:6px}.ed-logo svg{width:26px;height:26px}}

/*
 * AskParto.com design-v3 mapped onto ListingHive 1.2.13 / HivePress 1.7.x markup.
 *
 * Loaded after tokens.css and components.css, and after the parent stylesheet together with its
 * Customizer inline CSS (handle "hivetheme-parent-frontend"). That inline CSS is generated from the
 * theme mods (primary_color #ffc107, secondary_color #15cd72, Poppins / Open Sans) and cached in the
 * "custom_styles" theme mod, so it cannot be changed from here. Every colour rule of that inline CSS
 * that is visible on AskParto.com pages is therefore restated below with the SAME selector and our token;
 * equal specificity + later source order wins. Nothing here uses !important.
 *
 * Parent selectors were checked against:
 *   listinghive/style.css, listinghive/vendor/hivepress/hivetheme/assets/css/frontend.less,
 *   listinghive/includes/configs/theme-styles.php, hivepress/assets/css/{common,frontend}.less.
 *
 * Sections: 1 base · 2 links and focus · 3 buttons · 4 forms · 6 footer · 7 widgets, modal,
 * pagination · 8 Customizer colour restatement · 9 secondary text contrast · header and mobile navigation.
 */

/* 1. Base ------------------------------------------------------------------------------------- */
body {
	font-family: var(--ed-font);
	font-size: var(--t-16);
	line-height: 1.5;
	color: var(--ed-ink);
	background-color: var(--ed-canvas);
	font-feature-settings: "cv11", "ss01";
}

h1,
h2,
h3,
h4,
h5,
h6,
fieldset legend,
.header-logo__name,
.comment__author,
.hp-review__author {
	font-family: var(--ed-font);
	color: var(--ed-ink);
}

h1 {
	font-size: 40px;
	line-height: 1.1;
	letter-spacing: -0.03em;
	font-weight: 800;
}

h2 {
	font-size: 30px;
	line-height: 1.15;
	letter-spacing: -0.022em;
	font-weight: 750;
}

h3 {
	font-size: 20px;
	line-height: 1.3;
	letter-spacing: -0.01em;
	font-weight: 700;
}

h4,
h5,
h6,
fieldset legend {
	font-size: var(--t-16);
	line-height: 1.35;
	font-weight: 650;
}

p {
	line-height: 1.5;
}

@media (max-width: 767px) {
	h1 {
		font-size: 30px;
	}

	h2 {
		font-size: 24px;
	}
}

/* 2. Links and focus -------------------------------------------------------------------------- */
a {
	color: var(--ed-action);
	text-underline-offset: 3px;
}

a:hover {
	color: var(--ed-action-hover);
}

/* Colour must not be the only link cue inside running text. */
.post__text a:not(.button),
.hp-listing__description a,
.hp-vendor__description a {
	text-decoration: underline;
}

:focus-visible {
	outline: 2px solid var(--ed-focus);
	box-shadow: 0 0 0 5px var(--ed-focus-soft);
}

.site-header :focus-visible,
.ed-on-dark :focus-visible {
	outline-color: var(--ed-lime);
	box-shadow: none;
}

::placeholder {
	color: var(--ed-subtle);
}

/* The parent Customizer sets Poppins on these controls (cached inline CSS); Poppins is no longer loaded. */
.button,
button,
input[type="submit"],
.wp-block-button__link,
.header-navbar__burger > ul > li > a,
.pagination > span,
.pagination .nav-links > a,
.pagination .nav-links > span,
.pagination > a {
	font-family: var(--ed-font);
	font-weight: 650;
}

/* 3. Buttons ---------------------------------------------------------------------------------- */
.button,
button[type="submit"],
input[type="submit"] {
	min-height: var(--ed-touch);
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: var(--r-sm);
	font-family: var(--ed-font);
	font-size: 15px;
	font-weight: 650;
	line-height: 1.2;
	transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.button,
button[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.button--large {
	min-height: 52px;
	padding: 0 24px;
	font-size: var(--t-16);
}

/* Neutral (no modifier) = ghost. Modifiers below come later and win at equal specificity. */
.button {
	background-color: var(--ed-surface-2);
	color: var(--ed-ink);
}

/* The parent hover layer is white on primary/secondary; the design darkens the fill instead. */
.button::before,
button[type="submit"]::before,
input[type="submit"]::before {
	background-color: transparent;
}

.button--secondary,
.wp-block-file .wp-block-file__button {
	background-color: var(--ed-surface);
	background-image: none;
	border-color: var(--ed-action);
	color: var(--ed-action);
}

.button--secondary:hover,
.wp-block-file .wp-block-file__button:hover {
	background-color: var(--ed-action-soft);
	color: var(--ed-action-hover);
}

.button--primary,
button[type="submit"],
input[type="submit"] {
	background-color: var(--ed-action);
	background-image: none;
	color: #fff;
}

.button--primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background-color: var(--ed-action-hover);
	color: #fff;
}

.button--primary:active,
button[type="submit"]:active,
input[type="submit"]:active {
	background-color: var(--ed-action-press);
}

/* Header and dark surfaces: green on petrol has no contrast, so primary becomes lime (.btn-lime). */
.site-header .button--primary,
.site-header button[type="submit"],
.ed-dark .button--primary {
	background-color: var(--ed-lime);
	color: var(--ed-petrol);
}

.site-header .button--primary:hover,
.site-header button[type="submit"]:hover,
.ed-dark .button--primary:hover {
	background-color: var(--ed-lime-hover);
	color: var(--ed-petrol);
}

.button[disabled],
button[disabled] {
	background-color: var(--ed-surface-2);
	border-color: var(--ed-border);
	color: #7d8983;
	opacity: 1;
}

/* 4. Forms ------------------------------------------------------------------------------------ */
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
select,
textarea {
	min-height: 48px;
	padding: 0 14px;
	border: 1px solid var(--ed-field-border);
	border-radius: var(--r-sm);
	background-color: var(--ed-surface);
	font-size: var(--t-16);
	transition: border-color var(--dur) var(--ease);
}

textarea {
	min-height: 96px;
	padding: 12px 14px;
	resize: vertical;
}

input[type="date"]:hover,
input[type="datetime"]:hover,
input[type="datetime-local"]:hover,
input[type="email"]:hover,
input[type="month"]:hover,
input[type="number"]:hover,
input[type="password"]:hover,
input[type="search"]:hover,
input[type="tel"]:hover,
input[type="text"]:hover,
input[type="time"]:hover,
input[type="url"]:hover,
select:hover,
textarea:hover {
	border-color: var(--ed-field-hover);
}

input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
	outline: 2px solid var(--ed-focus);
	outline-offset: 2px;
	border-color: var(--ed-focus);
	box-shadow: 0 0 0 3px var(--ed-focus-soft);
}

input[type="date"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="email"][disabled],
input[type="month"][disabled],
input[type="number"][disabled],
input[type="password"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="text"][disabled],
input[type="time"][disabled],
input[type="url"][disabled],
select[disabled],
textarea[disabled] {
	background-color: var(--ed-surface-2);
	border-color: var(--ed-border);
	color: #6e7a74;
}

select:not([multiple]):not([size]) {
	padding-right: 40px;
	-webkit-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2352615A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
}

/* HivePress field labels and the custom checkbox / radio (inputs are hidden, span draws the box). */
.hp-field__label {
	font-size: var(--t-14);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ed-ink);
}

.hp-field__label small {
	font-weight: 500;
	color: var(--ed-muted);
}

.hp-field input[type="checkbox"] + span::before,
.hp-field input[type="radio"] + span::before {
	border-color: var(--ed-field-border);
	background-color: var(--ed-surface);
}

.hp-field input[type="checkbox"]:focus-visible + span::before,
.hp-field input[type="radio"]:focus-visible + span::before {
	outline: 2px solid var(--ed-focus);
	outline-offset: 2px;
}

/* Select2 (HivePress selects). Only the single / multiple variants; the inline pill variant is untouched. */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
	min-height: 48px;
	border-color: var(--ed-field-border);
	border-radius: var(--r-sm);
	background-color: var(--ed-surface);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 11px 36px 11px 14px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 1px;
	height: 46px;
}

.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--multiple {
	border-color: var(--ed-action);
	box-shadow: 0 0 0 3px var(--ed-focus-soft);
}

/* HivePress form messages -> semantic notice colours (.note-*). */
.hp-form__messages {
	border-left-width: 4px;
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	color: var(--ed-ink);
}

.hp-form__messages--info {
	border-left-color: var(--ed-info);
	background-color: var(--ed-info-bg);
}

.hp-form__messages--warning {
	border-left-color: var(--ed-warn);
	background-color: var(--ed-warn-bg);
}

.hp-form__messages--error {
	border-left-color: var(--ed-err);
	background-color: var(--ed-err-bg);
}

.hp-form__messages--success {
	border-left-color: var(--ed-ok);
	background-color: var(--ed-ok-bg);
}

/* 6. Footer (.ft) ----------------------------------------------------------------------------- */
.site-footer {
	background-color: var(--ed-surface);
	border-top: 1px solid var(--ed-border);
}

.site-footer.ed-ft {
	margin-top: 0;
}

.site-footer .ed-ft-in .ed-logo {
	font-size: 22px;
}

.site-footer .ed-ft-in .ed-logo svg {
	width: 32px;
	height: 28px;
}

.ed-ft-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
}

.ed-ft-copy {
	margin-left: auto;
}

@media (max-width: 767px) {
	.ed-ft-copy {
		margin-left: 0;
	}
}

.footer-navbar__copyright {
	color: var(--ed-muted);
	font-size: var(--t-14);
}

.footer-navbar__menu ul li a {
	display: inline-flex;
	align-items: center;
	min-height: var(--ed-touch);
	color: var(--ed-muted);
	font-size: var(--t-14);
}

.footer-navbar__menu ul li a:hover {
	color: var(--ed-ink);
	text-decoration: underline;
}

.footer-widgets {
	border-color: var(--ed-border);
}

/* 7. Widgets, modal, titles, pagination ------------------------------------------------------- */
.widget--sidebar,
.widget.hp-menu {
	padding: 24px;
	border-color: var(--ed-border);
	border-radius: var(--r-lg);
	box-shadow: none;
}

.widget h2,
.widget .widget__title {
	font-size: 20px;
	line-height: 1.3;
	letter-spacing: -0.01em;
	font-weight: 700;
}

.widget_search,
.widget_product_search {
	padding: 0;
	border: 0;
}

.hp-form--listing-search,
.hp-form--vendor-search {
	border-color: var(--ed-border);
	border-radius: var(--r-md);
	box-shadow: var(--sh-1);
}

.fancybox-content {
	border-radius: var(--r-lg);
	box-shadow: var(--sh-3);
}

.fancybox-bg {
	background: #0c1c16;
}

/* ListingHive draws a short yellow bar above titles; design-v3 headings have none. */
.title,
.content-title,
.hp-page__title,
.hp-section__title,
.widget--footer .widget__title {
	padding-top: 0;
}

.title::before,
.content-title::before,
.footer-widgets .widget__title::before,
.hp-page__title::before,
.hp-section__title::before,
.widget--footer .widget__title::before {
	display: none;
}

.pagination .nav-links > span:not(.dots),
.pagination > span:not(.dots) {
	border-color: var(--ed-action);
}

/* 8. Customizer colour restatement (same selectors as the cached inline CSS) ------------------ */
.hp-menu--tabbed .hp-menu__item a:hover,
.hp-menu--tabbed .hp-menu__item--current a,
.widget_archive li a:hover,
.widget_categories li a:hover,
.widget_categories li.current-cat > a,
.widget_categories li.current-cat::before,
.widget_meta li a:hover,
.widget_nav_menu li a:hover,
.widget_nav_menu li.current-menu-item > a,
.widget_nav_menu li.current-menu-item::before,
.widget_pages li a:hover,
.widget_recent_entries li a:hover,
.wp-block-archives li a:hover,
.wp-block-categories li a:hover,
.wp-block-latest-posts li a:hover,
.wp-block-rss li a:hover,
.widget_archive li:hover > a,
.widget_categories li:hover > a,
.widget_meta li:hover > a,
.widget_nav_menu li:hover > a,
.widget_pages li:hover > a,
.widget_recent_entries li:hover > a,
.wp-block-archives li:hover > a,
.wp-block-categories li:hover > a,
.wp-block-latest-posts li:hover > a,
.wp-block-rss li:hover > a,
.widget_archive li:hover::before,
.widget_categories li:hover::before,
.widget_meta li:hover::before,
.widget_nav_menu li:hover::before,
.widget_pages li:hover::before,
.widget_recent_entries li:hover::before,
.wp-block-archives li:hover::before,
.wp-block-categories li:hover::before,
.wp-block-latest-posts li:hover::before,
.wp-block-rss li:hover::before,
.post-navbar__link:hover i,
.pagination > a:hover,
.pagination .nav-links > a:hover,
.post__details a:hover,
.tagcloud a:hover,
.wp-block-tag-cloud a:hover,
.comment__details a:hover,
.comment-respond .comment-reply-title a:hover,
.hp-link:hover,
.hp-link:hover i,
.pac-item:hover .pac-item-query {
	color: var(--ed-action);
}

.site-header .hp-link:hover,
.site-header .hp-link:hover i {
	color: #fff;
}

.header-navbar__menu > ul > li.current-menu-item::before,
.header-navbar__burger > ul > li.current-menu-item::before,
.hp-menu--tabbed .hp-menu__item--current::before {
	background-color: var(--ed-action);
	background-image: none;
}

blockquote,
.wp-block-quote,
.comment.bypostauthor .comment__image img {
	border-color: var(--ed-action);
}

.hp-listing__location i {
	color: var(--ed-action);
}

.hp-field--number-range .ui-slider-range,
.hp-field input[type="checkbox"]:checked + span::before,
.hp-field input[type="radio"]:checked + span::after {
	background-color: var(--ed-action);
}

.hp-field input[type="radio"]:checked + span::before,
.hp-field input[type="checkbox"]:checked + span::before {
	border-color: var(--ed-action);
}

.tagcloud a:hover,
.wp-block-tag-cloud a:hover,
.hp-listing__images-carousel .slick-current img,
.hp-listing--view-block.hp-listing--featured {
	border-color: var(--ed-action);
}

.hp-listing--view-block .hp-listing__featured-badge {
	background-color: var(--ed-lime);
	background-image: none;
	color: var(--ed-petrol);
}

.post__categories a:hover,
.hp-listing--view-block .hp-listing__categories a:hover,
.hp-listing--view-page .hp-listing__categories a:hover {
	background-color: var(--ed-action);
}

/* 9. Secondary text: the parent uses rgba(15,23,39,.45) (about 3.4:1 on white); use --ed-muted. */
.hp-meta,
.hp-result-count,
.hp-text--secondary,
.hp-listing--view-block .hp-listing__created-date,
.hp-listing--view-page .hp-listing__created-date,
.hp-form__label small,
.post__categories a {
	color: var(--ed-muted);
}

/* Counter placeholders remain in the DOM so an AJAX read can hide or restore them. */
[data-ap-chat-unread][hidden], [data-ap-message-notice][hidden] { display: none !important; }


/* Header: desktop navigation, compact disclosure and product density ----------------------------------------------------------------- */
.site-header {
	background-color: var(--ed-petrol);
	color: #fff;
}

.site-header .header-navbar {
	position: relative;
	max-width: var(--ed-container);
	margin: 0 auto;
	min-height: 72px;
	padding: 0 32px;
	align-items: center;
	border-bottom: 0;
}

.site-header .header-navbar__start {
	margin-right: 28px;
}

.site-header .header-logo a,
.site-header .header-logo__name {
	color: #fff;
}

.site-header .header-logo__name {
	margin-bottom: 0;
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.site-header .header-logo:hover .header-logo__name {
	color: #fff;
}

.site-header .header-logo__description {
	color: #cfe0d6;
}

.site-header .header-navbar__menu {
	margin: 0 0 0 auto;
}

.site-header .header-navbar__menu > ul > li {
	padding: 0 2px;
}

.site-header .header-navbar__menu ul li a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: var(--ed-touch);
	padding: 10px 12px;
	border-radius: 8px;
	color: #e4eee8;
	font-size: 15px;
	font-weight: 500;
}

.site-header .header-navbar__menu ul li a:hover {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.08);
}

.site-header .header-navbar__menu ul li.active > a,
.site-header .header-navbar__menu ul li.current-menu-item > a {
	color: #fff;
	background-color: rgba(138,214,25,.14);
	box-shadow: inset 0 -2px 0 var(--ed-lime);
}

.site-header .header-navbar__menu > ul > li.current-menu-item::before {
	display: none;
}

.site-header .header-navbar__menu ul li.menu-item-has-children::after {
	color: #cfe0d6;
}

/* Sub-menus are white panels: restore dark text inside them. */
.site-header .header-navbar__menu ul li ul {
	color: var(--ed-ink);
	border-color: var(--ed-border);
	border-radius: 0 0 var(--r-sm) var(--r-sm);
	box-shadow: var(--sh-2);
}

.site-header .header-navbar__menu ul li ul li {
	padding: 2px 8px;
}

.site-header .header-navbar__menu ul li ul li a,
.site-header .header-navbar__menu ul li ul li a:hover {
	color: var(--ed-ink);
}

.site-header .header-navbar__menu ul li ul li a:hover {
	background-color: var(--ed-surface-2);
}

.site-header .header-navbar__menu .hp-link i,
.site-header .header-navbar__menu .hp-icon,
.site-header .header-navbar__actions .hp-icon {
	color: #cfe0d6;
}

.site-header .header-navbar__actions {
	margin-left: 8px;
}

.site-header .header-navbar__burger > ul {
	background-color: var(--ed-surface);
	color: var(--ed-ink);
}

.site-header .header-navbar__burger > ul > li > a,
.site-header .header-navbar__burger ul li a {
	color: var(--ed-ink);
}

.site-header .header-navbar__burger > ul::before {
	color: var(--ed-muted);
}

.site-header .header-navbar__burger > ul > li.current-menu-item::before {
	background-color: var(--ed-action);
	background-image: none;
}

.site-header .header-navbar__burger .hp-link i {
	color: var(--ed-muted);
}

.site-loader stop {
	stop-color: var(--ed-action);
}

/*
 * Burger breakpoint 1180px for all languages (design-v3 ed.css switched at 1024; the seller header with
 * 5 items does not fit below 1180). The parent switches menu/burger at max-width: 74.99em (1199.84px),
 * so in the 1180-1199px band the parent would still show the burger: restore the menu there.
 * Keep in step with the disclosure breakpoint in journey.js.
 */
@media (min-width: 1180px) and (max-width: 74.99em) {
	.site-header .header-navbar__menu {
		display: flex;
	}
}

@media (max-width: 767px) {
	.site-header .header-navbar {
		min-height: 60px;
		padding: 0 16px;
	}

	.site-header .header-navbar__start {
		margin-right: 12px;
	}

	.site-header .header-logo__name {
		font-size: 22px;
	}
}

/* Keep approved account labels compact in the desktop header; the full text remains available to assistive tech. */
.site-header .hp-menu__item--user-account > span {
	max-width: 18ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


/* Compact product pages share the same header rules and navigation breakpoint. */
.ed-product-ui .site-header .header-navbar{min-height:56px}
.ed-product-ui .site-header .header-navbar__start{margin-right:20px}
.ed-product-ui .site-header .header-navbar__menu ul li a{font-size:.875rem;padding:8px 10px}
@media(max-width:767px){
 .ed-product-ui .site-header .header-navbar{min-height:52px}
}

/* The request action remains available outside the collapsed navigation. */
.site-header .header-navbar__end{gap:8px}
.site-header a.ap-header-create{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:10px 12px;margin-left:8px;border-radius:8px;background:var(--ed-lime);color:var(--ed-petrol);font-size:14px;font-weight:700;line-height:1.2;white-space:nowrap;text-decoration:none}
.site-header a.ap-header-create:hover{background:var(--ed-lime-hover);color:var(--ed-petrol)}
.site-header a.ap-header-create:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:1179px){.site-header .header-navbar__end{margin-left:auto}.site-header .ap-header-create{order:1}.site-header .header-navbar__burger{order:3;margin:0}.site-header .header-navbar__actions{order:2;margin-left:0}}
@media(max-width:600px){.site-header a.ap-header-create{padding:10px;margin-left:0}.site-header .ap-header-create span{display:none}.site-header .header-navbar__start{margin-right:8px}}

/* Keep a long account name from moving the language switch to a second header row. */
.site-header .header-navbar__menu>ul{flex-wrap:nowrap}
.site-header .header-navbar__menu .hp-menu__item--user-account>span{max-width:12ch}
.ed-product-ui .site-header .header-navbar__menu>ul{padding-top:6px;padding-bottom:6px}

/* Mobile navigation is a compact disclosure anchored to the header, never a full-screen drawer. */
.site-header .header-navbar__burger > button {
	position:relative;
	border:1px solid rgba(255,255,255,.25);
	border-radius:var(--r-sm);
	padding:0;
	background:transparent;
	color:#fff;
	cursor:pointer;
	width:var(--ed-touch);
	height:var(--ed-touch);
	min-width:var(--ed-touch);
	min-height:var(--ed-touch);
}
.site-header .header-navbar__burger > button:hover,
.site-header .header-navbar__burger > button[aria-expanded="true"] { background:var(--ed-petrol-2); color:var(--ed-lime); }
.site-header .header-navbar__burger > button:focus-visible { outline:2px solid var(--ed-lime); outline-offset:3px; }
.site-header .ap-menu-icon { display:block; flex:none; width:28px; height:28px; }
.site-header .ap-menu-icon__close,
.site-header button[aria-expanded="true"] .ap-menu-icon__bars { display:none; }
.site-header button[aria-expanded="true"] .ap-menu-icon__close { display:block; }
.site-header [data-ap-burger] > ul[hidden] { display:none !important; }
@media(min-width:1180px){.site-header .header-navbar__burger > button{display:none}}
@media(max-width:1179px){
	.site-header .header-navbar__burger { position:static; }
	.site-header .header-navbar__burger > button { display:inline-flex; align-items:center; justify-content:center; }
	.site-header [data-ap-burger] > ul {
		position:absolute;
		inset:auto 16px auto auto;
		top:calc(100% + 8px);
		z-index:10000;
		box-sizing:border-box;
		width:min(352px, calc(100% - 32px));
		height:auto;
		max-height:calc(100vh - 100px);
		max-height:calc(100dvh - 100px);
		overflow-y:auto;
		overscroll-behavior:contain;
		margin:0;
		padding:var(--s-3);
		border:1px solid var(--ed-border);
		border-radius:var(--r-lg);
		background:var(--ed-surface);
		box-shadow:var(--sh-3);
		text-align:left;
		font-family:var(--ed-font);
	}
	.site-header [data-ap-burger] > ul::before { content:none; display:none; }
	.site-header [data-ap-burger] ul { list-style:none; }
	.site-header [data-ap-burger] ul li { margin:0; padding:0; }
	.site-header [data-ap-burger] ul li::before,
	.site-header [data-ap-burger] ul li::after { display:none; }
	.site-header [data-ap-burger] ul li a {
		display:flex;
		align-items:center;
		gap:var(--s-3);
		box-sizing:border-box;
		min-height:48px;
		margin:0;
		padding:var(--s-3);
		border-radius:var(--r-sm);
		color:var(--ed-ink);
		font:600 var(--t-16)/1.4 var(--ed-font);
		text-decoration:none;
	}
	.site-header [data-ap-burger] ul li a:hover,
	.site-header [data-ap-burger] ul li a:focus-visible,
	.site-header [data-ap-burger] ul li.current-menu-item > a { background:var(--ed-action-soft); color:var(--ed-action); }
	.site-header [data-ap-burger] ul li a:focus-visible { outline:2px solid var(--ed-focus); outline-offset:-2px; }
	.site-header [data-ap-burger] > ul > li > a::after {
		content:"";
		width:6px;
		height:6px;
		margin-left:auto;
		border-top:2px solid var(--ed-border-strong);
		border-right:2px solid var(--ed-border-strong);
		transform:rotate(45deg);
		flex:none;
	}
	.site-header [data-ap-burger] ul li ul { position:static; display:block; width:auto; margin:0; padding:0 0 var(--s-2) var(--s-3); box-shadow:none; background:transparent; }
	.site-header [data-ap-burger] ul li ul a { min-height:44px; font-weight:400; }
	.site-header [data-ap-burger] > ul > .menu-item--lang { margin-top:var(--s-2); padding:var(--s-3) var(--s-3) 0; border-top:1px solid var(--ed-border); }
	.site-header [data-ap-burger] > ul > .menu-item--lang > a { display:inline-flex; min-height:44px; padding:var(--s-2) var(--s-4); background:var(--ed-surface-2); color:var(--ed-petrol); }
	.site-header [data-ap-burger] > ul > .menu-item--lang > a::after { display:none; }
}

/* The menu already contains Notifications and its unread badge; keep narrow headers on one row. */
@media(max-width:389px){
	.site-header .header-navbar .header-navbar__actions{display:none}
	/* Keep both 44px actions inside a 320px viewport, including a desktop scrollbar. */
	.ed-product-ui .site-header .header-navbar__start{margin-right:8px}
	.ed-product-ui .site-header .ed-logo{font-size:20px}
	.ed-product-ui .site-header .ed-logo svg{width:26px;height:26px}
}
