/* PACKAGES — /packages/ and account → החבילות שלי. Theme tokens from style.css. */

.nlt-content:has(.nlc-pk) { max-width: 1200px; }
.nlc-pk { display: grid; gap: 8px; }
.nlc-pk-notices:empty { display: none; }

.nlc-pk-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.nlc-pk-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .nlc-pk-jump a:hover { border-color: var(--red); color: var(--red); } }

.nlc-pk-sec { padding: 28px 0 20px; scroll-margin-top: 90px; }
.nlc-pk-sec h2 { margin: 0 0 8px; }
.nlc-pk-sec--cream { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; }
.nlc-pk-intro { color: var(--ink-2); max-width: 820px; margin-bottom: 18px; }
.nlc-pk-fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

.nlc-pk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.nlc-pk-card { display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); min-width: 0; }
.nlc-pk-card h3 { margin: 0; font-size: 21px; }
.nlc-pk-card__d { margin: 0; color: var(--ink-2); }
.nlc-pk-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px; }
.nlc-pk-cols > div { display: grid; gap: 14px; align-content: start; min-width: 0; }

.nlc-pk-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
.nlc-pk-facts b { color: var(--ink); font-size: 17px; }
.nlc-pk-facts li::before { content: '•'; color: var(--red); margin-inline-end: 8px; }
.nlc-pk-list { margin: 0; padding-inline-start: 20px; color: var(--ink-2); display: grid; gap: 6px; align-content: start; }

/* segmented choice: real radios, visually a button row */
.nlc-pk-seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.nlc-pk-seg legend { width: 100%; font-weight: 700; font-size: 15px; margin-bottom: 6px; padding: 0; float: right; }
.nlc-pk-seg__o { position: relative; flex: 1 1 64px; }
.nlc-pk-seg__o input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.nlc-pk-seg__o span { display: grid; place-items: center; min-height: 46px; padding: 6px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 700; font-size: 17px; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.nlc-pk-seg__o:hover span { border-color: var(--red); }
.nlc-pk-seg__o input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.nlc-pk-seg__o input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.nlc-pk-seg--money .nlc-pk-seg__o { flex-basis: 110px; }

.nlc-pk-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 18px; border-radius: 14px; background: var(--ink); color: #fff; }
.nlc-pk-total__l { font-size: 15px; color: #d9d2c5; }
.nlc-pk-total strong { font-size: 28px; line-height: 1.1; }
.nlc-pk-total__per, .nlc-pk-total__add { width: 100%; font-size: 15px; color: #f1ebdf; }

.nlc-pk-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.nlc-pk-check input { width: 20px; height: 20px; margin-top: 4px; flex-shrink: 0; accent-color: var(--red); }
.nlc-pk-cfm-toggle { padding: 12px 14px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--cream); }
.nlc-pk-cfm-toggle:has(input:checked) { border-style: solid; border-color: var(--red); background: var(--red-50); }

.nlc-pk-cfm { display: grid; gap: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 0; min-width: 0; }
.nlc-pk-cfm legend { font-weight: 800; padding: 0 6px; }
.nlc-pk-label, .nlc-pk-field > label, .nlc-pk-field > legend { display: block; font-weight: 700; font-size: 15px; margin: 0 0 4px; padding: 0; }
.nlc-pk-field { display: flex; flex-direction: column; gap: 4px; border: 0; padding: 0; margin: 0; min-width: 0; }
.nlc-pk-field input[type=text], .nlc-pk-field input[type=tel], .nlc-pk-field input[type=number], .nlc-pk-field select, .nlc-pk-field textarea,
.nlc-pk-dom input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: 16px var(--font); background: #fff; color: var(--ink); min-width: 0; }
.nlc-pk-field input:focus, .nlc-pk-field select:focus, .nlc-pk-field textarea:focus, .nlc-pk-dom input:focus { border-color: var(--red); }
.nlc-pk-field input[dir=ltr], .nlc-pk-dom input[dir=ltr] { text-align: left; }
[aria-invalid="true"] { border-color: var(--red) !important; box-shadow: 0 0 0 3px var(--red-50); }
.nlc-pk-doms { display: grid; gap: 8px; }
.nlc-pk-dom { display: grid; grid-template-columns: minmax(0, 1fr) 96px 44px; gap: 8px; align-items: center; }
.nlc-pk-extra .nlc-pk-dom, .nlc-pk-line .nlc-pk-dom { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.nlc-pk-x { width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--ink-2); }
@media (hover: hover) and (pointer: fine) { .nlc-pk-x:hover { border-color: var(--red); color: var(--red); } }
.nlc-pk-sum { margin: 0; font-size: 14px; font-weight: 700; color: var(--green); }
.nlc-pk-sum.is-bad { color: var(--red-d); }
.nlc-pk-doms .nlc-linkbtn { justify-self: start; min-height: 44px; font-size: 15px; }

.nlc-pk-terms { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 0 16px; }
.nlc-pk-terms summary { cursor: pointer; padding: 12px 0; font-weight: 700; min-height: 44px; }
.nlc-pk-terms ul { margin: 0 0 12px; padding-inline-start: 20px; color: var(--ink-2); font-size: 15px; display: grid; gap: 4px; }

.nlc-pk-ok { padding: 16px 18px; border-radius: 14px; background: #eef8f1; border: 1px solid #bfe3cb; }
.nlc-pk-ok p { margin: 0 0 8px; }
.nlc-pk-ok__a { display: flex; flex-wrap: wrap; gap: 10px; }

.nlc-pk-steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 22px 0 0; }
.nlc-pk-steps li { counter-increment: s; position: relative; padding: 52px 16px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); }
.nlc-pk-steps li::before { content: counter(s); position: absolute; top: 14px; inset-inline-start: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.nlc-pk-steps b { display: block; }
.nlc-pk-steps span { color: var(--ink-2); font-size: 15px; }

.nlc-pk-faq details { margin-bottom: 10px; }

/* ---------------------------------------------------------------- account → החבילות שלי */
.nlc-pk-acct { display: grid; gap: 14px; }
.nlc-pk-back { margin: 0; font-size: 15px; }
.nlc-pk-h { margin: 0; font-size: 24px; }
.nlc-pk-h3 { margin: 18px 0 4px; font-size: 19px; }
.nlc-pk-balline { margin: 0; }
.nlc-pk-bals { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.nlc-pk-bal { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); display: grid; gap: 6px; align-content: start; }
.nlc-pk-bal h3 { margin: 0; font-size: 16px; color: var(--ink-2); }
.nlc-pk-bal__n { margin: 0; }
.nlc-pk-bal__n b { font-size: 26px; color: var(--red); margin-inline-end: 4px; }
.nlc-pk-bal__s { margin: 0; font-size: 14px; color: var(--muted); }
.nlc-pk-acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.nlc-pk-empty { padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); }
.nlc-pk-empty p { margin: 0 0 8px; }
.nlc-pk-viplist { margin: 0; padding-inline-start: 20px; }
.nlc-pk-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.nlc-pk-ledger { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
.nlc-pk-ledger th, .nlc-pk-ledger td { padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.nlc-pk-ledger th { background: var(--cream); font-size: 14px; color: var(--ink-2); }
.nlc-pk-ledger tr:last-child td { border-bottom: 0; }
.nlc-pk-d { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.nlc-pk-d--in { color: var(--green); }
.nlc-pk-d--out { color: var(--red-d); }

.nlc-pk-search { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto; gap: 10px 12px; align-items: end; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--cream); }
.nlc-pk-search .nlc-f--btn .nlc-btn { min-height: 44px; }
.nlc-pk-table .nlc-tr { grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr) 48px 64px 104px 84px; }
.nlc-pk-pages { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 14px 0 0; }
.nlc-pk-line .nlc-radio.is-off { opacity: .6; cursor: not-allowed; }
.nlc-pk-summary { margin: 0; padding: 12px 14px; border-radius: var(--r-sm); background: var(--cream); border: 1px solid var(--line); font-size: 15px; }

/* ---------------------------------------------------------------- validity + refund rule */
.nlc-pk-rule { margin: 14px 0 0; padding: 12px 14px; border-inline-start: 4px solid var(--red); border-radius: var(--r-sm); background: var(--cream); font-size: 15px; color: var(--ink-2); max-width: 820px; }
.nlc-pk-rule b { color: var(--ink); }
.nlc-pk-valid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: 14px; color: var(--ink-2); }
.nlc-pk-valid b { color: var(--ink); }
.nlc-pk-valid__c { color: var(--muted); }

@media (max-width: 1080px) {
	.nlc-pk-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.nlc-pk-grid, .nlc-pk-cols { grid-template-columns: minmax(0, 1fr); }
	.nlc-pk-search { grid-template-columns: 1fr 1fr; }
	.nlc-pk-search .nlc-f--q { grid-column: 1 / -1; }
	.nlc-pk-table .nlc-tr { grid-template-columns: auto auto 1fr auto; }
}
@media (max-width: 600px) {
	.nlc-pk-sec--cream { padding: 22px 14px; border-radius: 14px; }
	.nlc-pk-card { padding: 16px; }
	.nlc-pk-steps { grid-template-columns: minmax(0, 1fr); }
	.nlc-pk-seg__o { flex-basis: 56px; }
	.nlc-pk-seg--money .nlc-pk-seg__o { flex-basis: 40%; }
	.nlc-pk-dom { grid-template-columns: minmax(0, 1fr) 76px 44px; }
	.nlc-pk-extra .nlc-pk-dom, .nlc-pk-line .nlc-pk-dom { grid-template-columns: minmax(0, 1fr); }
	.nlc-pk-total strong { font-size: 24px; }
	.nlc-pk-search { grid-template-columns: minmax(0, 1fr); }
	.nlc-pk-ledger { font-size: 14px; }
}

/* ---------------------------------------------------------------- cart hint */
.nlc-pk-upsell { margin: 16px 0; padding: 14px 18px; border: 1.5px solid var(--gold); border-radius: var(--r); background: #fff8e6; }
.nlc-pk-upsell p { margin: 0 0 8px; }
.nlc-pk-upsell p:last-child { margin: 0; }
.nlc-pk-hhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.nlc-pk-hhead .nlc-pk-h3 { margin: 0; }
.nlc-pk-tiers { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; padding: 0 16px; }
.nlc-pk-tiers > summary { cursor: pointer; padding: 12px 0; font-weight: 700; min-height: 44px; }
.nlc-pk-tiers .nlc-pk-tablewrap { margin-bottom: 12px; }
.nlc-pk-tiers td:nth-child(n+2), .nlc-pk-tiers th:nth-child(n+2) { text-align: center; font-variant-numeric: tabular-nums; }
.nlc-pk-low { display: inline-block; margin-inline-start: 6px; padding: 0 8px; border-radius: 999px; background: #e3f4e9; color: var(--green); font-size: 13px; font-weight: 700; white-space: nowrap; }

/* ================================================================ premium pass 2026-10-04 (design-system/MASTER.md)
   Hero buttons, the tier picker's press + selection motion, reveal of "בחרו בשבילי", press on every button.
   transform + opacity only; hover only on fine pointers; @starting-style reveals run only after the first paint
   (packages.js adds .nlc-pk-anim to the page), so nothing animates on load. */
.nlc-hero .nlc-pk-jump { gap: 12px; margin: 0; }
.nlc-hero .nlc-pk-jump a { min-height: 46px; padding: 10px 22px; border: 2px solid var(--red); background: transparent; color: var(--red); }
.nlc-hero .nlc-pk-jump a:first-child { background: var(--red); border-color: var(--red); color: #fff; }
@media (hover: hover) and (pointer: fine) {
	.nlc-hero .nlc-pk-jump a:hover { background: var(--red-50); color: var(--red-d); }
	.nlc-hero .nlc-pk-jump a:first-child:hover { background: var(--red-d); border-color: var(--red-d); color: #fff; }
}

.nlc-pk-jump a, .nlc-pk .nlc-btn, .nlc-pk-acct .nlc-btn, .nlc-pk-x, .nlc-pk-doms .nlc-linkbtn {
	transition: background-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), border-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), transform 160ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}
.nlc-pk-jump a:active, .nlc-pk .nlc-btn:active, .nlc-pk-acct .nlc-btn:active, .nlc-pk-x:active { transform: scale(0.97); }

/* tier picker: the option presses in, the chosen one fills red (150ms colour), the total keeps its width */
.nlc-pk-seg__o span { transition: background-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), border-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), transform 160ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)); font-variant-numeric: tabular-nums; }
.nlc-pk-seg__o:active span { transform: scale(0.97); }
.nlc-pk-seg__o:hover span { border-color: var(--line); }
@media (hover: hover) and (pointer: fine) {
	.nlc-pk-seg__o:hover span { border-color: var(--red); }
	.nlc-pk-seg__o input:checked + span { border-color: var(--red); }
}
.nlc-pk-total strong, .nlc-pk-total__per { font-variant-numeric: tabular-nums; }
.nlc-pk-total strong.is-bump { animation: nlc-pk-bump 220ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)); }
@keyframes nlc-pk-bump { from { opacity: .55; transform: translateY(3px); } to { opacity: 1; transform: none; } }

.nlc-pk-cfm-toggle { transition: border-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), background-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)); }
.nlc-pk-field input, .nlc-pk-field select, .nlc-pk-field textarea, .nlc-pk-dom input { transition: border-color 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), box-shadow 150ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)); }

/* the "בחרו בשבילי" details and the added-to-cart box appear with a short rise (not on load) */
@media (prefers-reduced-motion: no-preference) {
	.nlc-pk-anim [data-pk-cfm], .nlc-pk-anim .nlc-pk-ok {
		transition: opacity 200ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1)), transform 200ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
	}
	@starting-style {
		.nlc-pk-anim [data-pk-cfm]:not([hidden]), .nlc-pk-anim .nlc-pk-ok:not([hidden]) { opacity: 0; transform: translateY(6px); }
	}
}
@media (prefers-reduced-motion: reduce) {
	.nlc-pk-jump a:active, .nlc-pk .nlc-btn:active, .nlc-pk-acct .nlc-btn:active, .nlc-pk-x:active, .nlc-pk-seg__o:active span { transform: none; }
	.nlc-pk-total strong.is-bump { animation: none; }
}
