/*
Theme Name: Noam Links
Description: links.נועםשיווקדיגיטלי.com — קטלוג פרסום כתבות של נועם דיגיטל. Light, RTL, red #b81823 / cream / Heebo.
Version: 1.0.0
Text Domain: noam-links
*/

:root {
	--red: #b81823;
	--red-d: #951420;
	--red-50: #fdf1f2;
	--ink: #1c1a17;
	--ink-2: #443f38;
	--muted: #6a6158;
	--cream: #faf7f1;
	--cream-2: #f4efe3;
	--line: #e7dfcf;
	--gold: #f2b134;
	--gold-d: #8a5a00;
	--green: #17713f;
	--white: #fff;
	--r: 14px;
	--r-sm: 9px;
	--shadow: 0 1px 2px rgba(28, 26, 23, .05), 0 10px 30px rgba(28, 26, 23, .07);
	--font: 'Heebo', 'Heebo Fallback', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* Metric-matched fallback (same values as the main site) so text does not reflow when Heebo arrives — CLS. */
@font-face { font-family: 'Heebo Fallback'; src: local('Liberation Sans'), local('Arial'), local('Helvetica'), local('Roboto'); size-adjust: 98.77%; ascent-override: 106.1%; descent-override: 42.61%; line-gap-override: 0%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-d); }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 800; }
h2 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
bdi { unicode-bidi: isolate; }
[hidden] { display: none !important; }

/* ---------------------------------------------------------------- buttons */
.nlc-btn, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 10px 22px; border: 2px solid var(--red); border-radius: 999px;
	background: var(--red); color: #fff; font: 700 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.nlc-btn:hover, .woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--red-d); border-color: var(--red-d); color: #fff; }
.nlc-btn--ghost { background: transparent; color: var(--red); }
.nlc-btn--ghost:hover { background: var(--red-50); color: var(--red-d); }
.nlc-btn--sm { min-height: 38px; padding: 6px 16px; font-size: 15px; }
.nlc-btn--wide { width: 100%; }
.nlc-btn[disabled] { opacity: .6; cursor: progress; }
.nlc-linkbtn { background: none; border: 0; padding: 0; color: var(--red); font: inherit; text-decoration: underline; cursor: pointer; }

/* ---------------------------------------------------------------- header */
.nlt-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.nlt-head__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.nlt-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.nlt-logo img { display: block; width: 154px; height: auto; }
.nlt-logo__tag { font-size: 14px; font-weight: 700; color: var(--muted); border-inline-start: 1px solid var(--line); padding-inline-start: 12px; }
.nlt-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nlt-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nlt-nav a:hover { background: var(--cream); color: var(--red); }
.nlt-acts { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.nlt-acct { font-weight: 700; text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); white-space: nowrap; }
.nlt-acct:hover { border-color: var(--red); color: var(--red); }
.nlt-cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); background: var(--cream); }
.nlt-cart:hover { color: var(--red); }
.nlt-cart__n { position: absolute; top: -2px; inset-inline-end: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.nlt-cart__n[hidden] { display: none; }
.nlt-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--cream); cursor: pointer; position: relative; }
.nlt-burger span[aria-hidden], .nlt-burger span[aria-hidden]::before, .nlt-burger span[aria-hidden]::after {
	position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); content: ''; transition: transform .2s; }
.nlt-burger span[aria-hidden] { top: 21px; }
.nlt-burger span[aria-hidden]::before { left: 0; right: 0; top: -7px; }
.nlt-burger span[aria-hidden]::after { left: 0; right: 0; top: 7px; }

/* ---------------------------------------------------------------- hero */
.nlt-hero { background: radial-gradient(1200px 400px at 85% -10%, #fbe6e8 0%, transparent 60%), linear-gradient(180deg, var(--cream) 0%, #fff 100%); border-bottom: 1px solid var(--line); }
.nlt-hero__in { padding: 64px 20px 56px; max-width: 980px; }
.nlt-kicker { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--gold-d); font-weight: 700; font-size: 14px; }
.nlt-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 760px; }
.nlt-search { display: flex; gap: 10px; margin: 28px 0 30px; max-width: 720px; }
.nlt-search input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; border: 2px solid var(--line); border-radius: 999px; font: 17px var(--font); background: #fff; }
.nlt-search input:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 4px var(--red-50); }
.nlt-search .nlc-btn { min-height: 56px; padding: 0 28px; }
.nlt-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.nlt-stats li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.nlt-stats b { display: block; font-size: 28px; font-weight: 800; color: var(--red); line-height: 1.1; }
.nlt-stats span { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- sections */
.nlt-sec { padding: 64px 0; }
.nlt-sec--cream { background: var(--cream); border-block: 1px solid var(--line); }
.nlt-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.nlt-sec__head h2 { margin: 0; }
.nlt-sec__head a { font-weight: 700; }
.nlt-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 24px 0 0; }
.nlt-card a { display: block; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.nlt-card a:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.nlt-card h3 { color: var(--ink); }
.nlt-card p { color: var(--muted); margin-bottom: 10px; }
.nlt-card__meta { margin: 0 !important; color: var(--ink-2) !important; font-size: 15px; }
.nlt-card__meta b { color: var(--red); }
.nlt-steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; padding: 0; margin: 28px 0 0; }
.nlt-steps li { counter-increment: s; position: relative; padding: 58px 20px 20px; border-radius: var(--r); background: var(--cream); border: 1px solid var(--line); }
.nlt-steps li::before { content: counter(s); position: absolute; top: 18px; inset-inline-start: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.nlt-steps p, .nlt-why p, .nlt-guide p { color: var(--ink-2); margin: 0; }
.nlt-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; padding: 0; margin: 24px 0 0; }
.nlt-why li { padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); border-inline-start: 4px solid var(--red); }
.nlt-topics { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 0; }
.nlt-topics a { display: inline-flex; gap: 8px; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 500; }
.nlt-topics a:hover { border-color: var(--red); color: var(--red); }
.nlt-topics span { font-size: 13px; color: var(--muted); background: var(--cream); border-radius: 999px; padding: 1px 8px; }
.nlt-guide__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 24px; }
.nlt-cta { background: var(--ink); color: #fff; }
.nlt-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 48px 20px; flex-wrap: wrap; }
.nlt-cta h2 { color: #fff; margin-bottom: 6px; }
.nlt-cta p { color: #d9d2c5; margin: 0; }
.nlt-cta__a { display: flex; gap: 12px; flex-wrap: wrap; }
.nlt-cta .nlc-btn--ghost { color: #fff; border-color: #fff; }
.nlt-cta .nlc-btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ---------------------------------------------------------------- inner pages */
.nlt-phead { background: var(--cream); border-bottom: 1px solid var(--line); padding: 44px 0 32px; }
.nlt-phead h1 { font-size: clamp(28px, 3.6vw, 42px); margin: 0 0 8px; }
.nlt-phead .nlt-lead { margin: 0; }
.nlt-content { padding: 36px 20px 64px; max-width: 860px; }
.nlt-content--wide { max-width: 1200px; }
.nlt-content h2 { margin-top: 1.6em; font-size: 26px; }
.nlt-content h3 { margin-top: 1.3em; }
.nlt-content ul, .nlt-content ol { padding-inline-start: 22px; }
.nlt-content li { margin-bottom: .35em; }
.nlt-content details { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 18px; margin-bottom: 10px; background: #fff; }
.nlt-content summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 18px; list-style-position: inside; }
.nlt-content details[open] { background: var(--cream); }
.nlt-content details > :not(summary) { margin-top: 0; }
.nlt-crumbs { padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.nlt-crumbs a { color: var(--muted); }
.nlt-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0 !important; }
.nlt-contact li { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.nlt-contact b { display: block; font-size: 14px; color: var(--muted); font-weight: 500; }
.nlt-contact a { font-size: 20px; font-weight: 700; }

/* ---------------------------------------------------------------- catalogue */
.nlc-filters { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 12px 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); }
.nlc-f { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.nlc-f label, .nlc-f legend { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.nlc-f input[type=search], .nlc-f select { height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; font: 16px var(--font); color: var(--ink); min-width: 0; }
.nlc-f input:focus, .nlc-f select:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px var(--red-50); }
.nlc-f--checks { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 8px 22px; border: 0; padding: 0; margin: 0; }
.nlc-f--checks label { font-weight: 500; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nlc-f--checks input { width: 18px; height: 18px; accent-color: var(--red); }
.nlc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 18px 0 10px; }
.nlc-count { margin: 0; font-weight: 700; font-size: 18px; }
.nlc-bar__actions { display: flex; gap: 8px; }
.nlc-bar__actions .nlc-btn { min-height: 38px; padding: 6px 16px; font-size: 15px; }
.nlc-table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.nlc-tr { display: grid; grid-template-columns: minmax(200px, 2.2fr) minmax(160px, 2fr) 64px 82px 104px 100px; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.nlc-tr--head { border-top: 0; background: var(--cream); font-size: 14px; font-weight: 700; color: var(--ink-2); padding-block: 10px; }
[data-nlc-rows] > .nlc-tr:first-child { border-top: 0; }
.nlc-tr:not(.nlc-tr--head):hover { background: #fffcf6; }
.nlc-tr .num { text-align: center; font-variant-numeric: tabular-nums; }
.nlc-site { min-width: 0; }
.nlc-host { display: block; font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: right; }
.nlc-host:hover { color: var(--red); text-decoration: underline; }
.nlc-site small { display: block; color: var(--muted); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nlc-tag { display: inline-block; margin-top: 3px; margin-inline-end: 4px; padding: 0 8px; border-radius: 6px; background: var(--cream-2); color: var(--ink-2); font-size: 12px; font-style: normal; font-weight: 700; }
.nlc-tag--warn { background: #fff3d6; color: var(--gold-d); }
.nlc-cats { font-size: 14px; min-width: 0; }
.nlc-cats b { display: block; font-weight: 500; color: var(--ink-2); }
.nlc-cats i { display: inline-block; font-style: normal; color: var(--muted); margin-inline-end: 8px; }
.nlc-cats i + i::before { content: '· '; }
.nlc-price { font-weight: 800; font-size: 17px; color: var(--ink); white-space: nowrap; }
.nlc-more-wrap { text-align: center; margin: 18px 0; }
.nlc-note { font-size: 14px; color: var(--muted); max-width: 900px; }
.nlc-sec { color: var(--gold-d); font-weight: 800; }
.nlc-secnote { font-size: 14px; color: var(--gold-d); background: #fff8e6; border-radius: var(--r-sm); padding: 8px 12px; margin: -4px 0 14px; }
.nlc-cat.is-loading [data-nlc-count]::after { content: ' · טוען את כל הקטלוג…'; font-weight: 400; color: var(--muted); }
.nlc-table--mini { margin-top: 8px; }

/* ---------------------------------------------------------------- order dialog + form */
.nlc-dlg { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 28px; border: 0; border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); color: var(--ink); }
.nlc-dlg::backdrop { background: rgba(28, 26, 23, .55); }
.nlc-dlg__x { position: absolute; top: 12px; inset-inline-end: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cream); font-size: 24px; line-height: 1; cursor: pointer; }
.nlc-dlg__title { font-size: 24px; padding-inline-end: 44px; }
.nlc-dlg__more { margin: 14px 0 0; font-size: 15px; }
.nlc-facts--compact .nlc-terms { max-height: 140px; overflow: auto; }
.nlc-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin: 0 0 14px; }
.nlc-kv div { background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; }
.nlc-kv dt { font-size: 13px; color: var(--muted); }
.nlc-kv dd { margin: 0; font-weight: 800; font-size: 18px; }
.nlc-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; }
.nlc-chips li { padding: 3px 12px; border-radius: 999px; background: var(--cream-2); font-size: 14px; color: var(--ink-2); }
.nlc-chips .nlc-chip--mark { background: #fff3d6; color: var(--gold-d); font-weight: 700; }
.nlc-terms { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; margin-bottom: 12px; background: #fff; }
.nlc-terms h2, .nlc-terms h3 { font-size: 16px; margin: 0 0 6px; }
.nlc-terms p { margin: 0; font-size: 15px; color: var(--ink-2); }
.nlc-example { font-size: 15px; }
.nlc-order { display: grid; gap: 14px; margin-top: 8px; }
.nlc-field { display: flex; flex-direction: column; gap: 5px; border: 0; padding: 0; margin: 0; }
.nlc-field > label, .nlc-field > legend { font-weight: 700; font-size: 15px; }
.nlc-field input[type=url], .nlc-field input[type=text], .nlc-field textarea, .nlc-field select {
	width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: 16px var(--font); background: #fff; color: var(--ink); }
.nlc-field input[dir=ltr] { text-align: left; }
.nlc-field input:focus, .nlc-field textarea:focus, .nlc-field select:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px var(--red-50); }
.nlc-field small { color: var(--muted); font-size: 13px; }
.nlc-radio { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-weight: 400; margin-top: 6px; }
.nlc-radio:has(input:checked) { border-color: var(--red); background: var(--red-50); }
.nlc-radio input { margin-top: 6px; accent-color: var(--red); width: 18px; height: 18px; flex-shrink: 0; }
.nlc-words { margin-top: 8px; }
.nlc-order__total { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: var(--r-sm); background: var(--ink); color: #fff; }
.nlc-order__total strong { font-size: 24px; }
.nlc-order__err { margin: 0; padding: 10px 14px; border-radius: var(--r-sm); background: var(--red-50); color: var(--red-d); font-weight: 700; }
.nlc-order__fine { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.nlc-ok { padding: 18px; border-radius: var(--r); background: #eef8f1; border: 1px solid #bfe3cb; }
.nlc-ok__t { font-size: 22px; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.nlc-ok__a { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }

/* ---------------------------------------------------------------- /site/ page */
.nlc-site-page { padding-bottom: 64px; }
.nlc-site-page h1 { font-size: clamp(26px, 3.4vw, 38px); margin-top: 18px; }
.nlc-site-grid { display: grid; grid-template-columns: 1fr 400px; gap: 36px; align-items: start; }
.nlc-site-side { position: sticky; top: 92px; }
.nlc-ordercard { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.nlc-ordercard__price { margin: 0 0 6px; font-size: 34px; font-weight: 800; color: var(--red); line-height: 1.1; }
.nlc-ordercard__price small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); }
.nlc-howto { margin-top: 26px; }
.nlc-howto h2 { font-size: 22px; }
.nlc-howto ol { padding-inline-start: 22px; color: var(--ink-2); }
.nlc-side-help { font-size: 15px; text-align: center; margin-top: 12px; }

/* ---------------------------------------------------------------- account: my links */
.nlc-mylinks { display: grid; gap: 12px; }
.nlc-ml { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; background: #fff; }
.nlc-ml header { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 6px; }
.nlc-ml dl { margin: 0; display: grid; gap: 2px; }
.nlc-ml dl div { display: grid; grid-template-columns: 70px 1fr; gap: 8px; }
.nlc-ml dt { color: var(--muted); font-size: 14px; }
.nlc-ml dd { margin: 0; overflow-wrap: anywhere; }
.nlc-st { font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
.nlc-st--live { background: #e3f4e9; color: var(--green); }
.nlc-st--work { background: #fff3d6; color: var(--gold-d); }
.nlc-st--wait { background: var(--cream-2); color: var(--ink-2); }
.nlc-st--off { background: #eee; color: #666; }
.nlc-ty { padding: 18px 22px; border-radius: var(--r); background: #eef8f1; border: 1px solid #bfe3cb; margin-bottom: 24px; }

/* ---------------------------------------------------------------- WooCommerce */
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text { padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: 16px var(--font); background: #fff; }
.woocommerce form .form-row input.input-text:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px var(--red-50); }
.woocommerce form .form-row label { font-weight: 700; font-size: 15px; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.checkout_coupon { border: 1px solid var(--line) !important; border-radius: var(--r) !important; background: #fff; padding: 22px !important; }
.woocommerce .col2-set .col-1, .woocommerce .col2-set .col-2 { float: none; width: auto; }
.woocommerce #customer_login.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.woocommerce #customer_login::before, .woocommerce #customer_login::after { display: none; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; overflow: hidden; }
.woocommerce table.shop_table th { background: var(--cream); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 14px 16px; }
.woocommerce-cart table.cart .product-thumbnail { display: none; }
.woocommerce table.shop_table dl.variation { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: 14px; margin: 6px 0 0; }
.woocommerce table.shop_table dl.variation dt { font-weight: 500; color: var(--muted); float: none; margin: 0; }
.woocommerce table.shop_table dl.variation dd { margin: 0; float: none; overflow-wrap: anywhere; }
.woocommerce table.shop_table dl.variation dd p { margin: 0; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--red); background: var(--cream); border-radius: var(--r-sm); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--red); }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.woocommerce-MyAccount-navigation li:first-child a { border-top: 0; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--red-50); color: var(--red); font-weight: 700; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-checkout #payment { background: var(--cream); border-radius: var(--r); }
.woocommerce-checkout #payment div.payment_box { background: #fff; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
#order_review_heading, .woocommerce-billing-fields h3 { font-size: 22px; }
.woocommerce .nlc-qty { font-weight: 700; }
.nlc-consent label { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 500 !important; }
.nlc-consent input { margin-top: 6px; }

/* qty is fixed and coupons are off: the cart's update/coupon row has nothing to do */
.woocommerce-cart table.cart td.actions .coupon, .woocommerce-cart table.cart button[name=update_cart] { display: none; }
.woocommerce-cart table.cart td.actions:not(:has(> :not(.coupon):not(button):not(input))) { padding: 0; }
body:has(dialog[open]) { overflow: hidden; }

/* ---------------------------------------------------------------- footer */
.nlt-foot { background: var(--cream); border-top: 1px solid var(--line); padding: 48px 0 0; font-size: 15px; color: var(--ink-2); }
.nlt-foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.nlt-foot__brand { font-size: 20px; font-weight: 800; color: var(--ink); }
.nlt-foot__h { font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.nlt-foot ul { list-style: none; padding: 0; margin: 0; }
.nlt-foot li { margin-bottom: 6px; }
.nlt-foot a { color: var(--ink-2); }
.nlt-foot a:hover { color: var(--red); }
.nlt-foot__base { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 16px; padding-bottom: 20px; font-size: 13px; color: var(--muted); }
.nlt-foot__base p { margin: 0; }
.nlt-wa { position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 30; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #1f9e55; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .2); }
.nlt-wa:hover { background: #18834a; color: #fff; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
	.nlc-filters { grid-template-columns: repeat(3, 1fr); }
	.nlc-f--q { grid-column: 1 / -1; }
	.nlt-guide__grid, .nlt-steps { grid-template-columns: repeat(2, 1fr); }
	.nlc-site-grid { grid-template-columns: 1fr 360px; gap: 24px; }
}
@media (max-width: 900px) {
	.nlt-burger { display: block; order: 3; }
	.nlt-nav { display: none; position: absolute; top: 100%; inset-inline: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
	.nlt-menu-open .nlt-nav { display: block; }
	.nlt-nav ul { flex-direction: column; padding: 8px 12px 14px; }
	.nlt-nav a { padding: 12px; font-size: 18px; }
	.nlt-logo__tag { display: none; }
	.nlt-head__in { gap: 10px; }
	.nlt-acts { order: 2; }
	.nlt-cards { grid-template-columns: repeat(2, 1fr); }
	.nlt-stats { grid-template-columns: repeat(2, 1fr); }
	.nlt-foot__grid { grid-template-columns: 1fr 1fr; }
	.nlc-site-grid { grid-template-columns: 1fr; }
	.nlc-site-side { position: static; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.nlt-contact { grid-template-columns: 1fr; }
	/* catalogue rows become cards */
	.nlc-tr--head { display: none; }
	.nlc-tr { grid-template-columns: auto auto 1fr auto; grid-template-areas: 'site site site price' 'cats cats cats cats' 'dr tr . btn'; gap: 6px 14px; padding: 14px 16px; }
	.nlc-tr > .nlc-site { grid-area: site; }
	.nlc-tr > .nlc-cats { grid-area: cats; }
	.nlc-tr > .nlc-price { grid-area: price; text-align: end; }
	.nlc-tr > span:nth-child(3) { grid-area: dr; text-align: start; }
	.nlc-tr > span:nth-child(4) { grid-area: tr; text-align: start; }
	.nlc-tr > span:last-child { grid-area: btn; }
	.nlc-tr .num[data-l]::before { content: attr(data-l) ' '; color: var(--muted); font-weight: 400; font-size: 13px; }
	.nlc-tr .nlc-price[data-l]::before { content: none; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.nlt-logo img { width: 120px; }
	.nlt-acct { padding: 7px 10px; font-size: 14px; }
	.nlt-hero__in { padding: 40px 16px 36px; }
	.nlt-search { flex-direction: column; }
	.nlt-search input { flex: none; }
	.nlt-search .nlc-btn { width: 100%; }
	.nlt-cards, .nlt-why, .nlt-guide__grid, .nlt-steps { grid-template-columns: 1fr; }
	.nlt-stats b { font-size: 24px; }
	.nlt-sec { padding: 44px 0; }
	.nlc-filters { grid-template-columns: 1fr 1fr; padding: 14px; }
	.nlt-foot__grid { grid-template-columns: 1fr; }
	.woocommerce #customer_login.col2-set { grid-template-columns: 1fr; }
	.nlc-dlg { padding: 20px 16px; }
	.nlt-content { padding: 26px 16px 48px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
