/* Aftertaste Filter — front-end styles. No dependencies, no icon fonts.
   Theme hooks: override the --atf-* custom properties. */

.atf, .atf-empty {
	--atf-accent: #fa7b4c;
	--atf-on-accent: #2b2b2b;
	--atf-accent-ink: #b8501c;
	--atf-ink: #1f2328;
	--atf-text: #444;
	--atf-quiet: #6b7280;
	--atf-muted: #5c6470;
	--atf-line: #e6e8ea;
	--atf-field: #cfcfcf;
	--atf-box: #9aa1a8;
	--atf-tint: #fff4ef;
	--atf-soft: #f3f4f5;
	--atf-green: #2e9e5b;
	--atf-bg: #fff;
	--atf-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--atf-font-title: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--atf-shadow: 0 12px 32px rgba(20, 24, 28, .14);
	--atf-sticky-top: 0px;
	--atf-z: 40;
}
.atf { position: relative; margin: 0 0 20px; font: 400 15px/1.35 var(--atf-font); color: var(--atf-ink); }
:where(.atf) *, :where(.atf) *::before, :where(.atf) *::after { box-sizing: border-box; }
.atf button, .atf summary, .atf input { font: inherit; color: inherit; line-height: inherit; text-transform: none; letter-spacing: normal; }
.atf button { background: none; border: 0; padding: 0; margin: 0; border-radius: 0; box-shadow: none; cursor: pointer; min-height: 0; width: auto; }
.atf summary { list-style: none; cursor: pointer; }
.atf summary::-webkit-details-marker { display: none; }
.atf summary::marker { content: ""; }
.atf-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.atf-i { display: inline-block; flex: none; vertical-align: middle; }
.atf [hidden] { display: none !important; }
html.atf-locked { overflow: hidden; }

/* ---------- Bar (desktop) ---------- */
.atf-bar { background: var(--atf-bg); }
.atf-main { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0 0; }
.atf-groups { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.atf .atf-open, .atf-quick, .atf .atf-sortbtn.atf-sortbtn--m { display: none; }
.atf-sortdd { position: relative; margin-left: auto; }
.atf .atf-bar.is-stuck {
	position: fixed; top: var(--atf-sticky-top); left: 0; right: 0; z-index: var(--atf-z);
	padding-left: var(--atf-pad-l, 0); padding-right: var(--atf-pad-r, 0);
	border-bottom: 1px solid var(--atf-line); box-shadow: 0 6px 16px -8px rgba(15, 23, 42, .25);
}
/* Pinned: only the main row (status row returns when scrolled back up) — the placeholder keeps the full height, so nothing jumps. */
.atf .atf-bar.is-stuck .atf-status { display: none; }
.atf:not(.atf--mobile) .atf-bar.is-stuck { padding-bottom: 12px; }
.atf.atf--mobile .atf-bar.is-stuck { padding-bottom: 6px; }
.atf-bar-placeholder { display: none; }
.atf-bar-placeholder.is-active { display: block; }

/* Pills: groups and the I lager / Kampanj toggles */
.atf .atf-group__btn, .atf .atf-toggle {
	display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin: 0; padding: 0 14px;
	border: 1.5px solid var(--atf-line); border-radius: 999px; background: var(--atf-bg); color: var(--atf-ink);
	font: 500 15px/1.2 var(--atf-font); white-space: nowrap; user-select: none; cursor: pointer;
	transition: border-color .15s, background-color .15s, color .15s;
}
@media (hover: hover) { .atf .atf-group__btn:hover, .atf .atf-toggle:hover { border-color: var(--atf-ink); } }
.atf .atf-group__btn .atf-i, .atf .atf-toggle .atf-i { width: 16px; height: 16px; }
.atf .atf-group__btn .atf-i--chevron { color: var(--atf-quiet); transition: transform .15s; }
.atf .atf-group[open] > .atf-group__btn { border-color: var(--atf-ink); }
.atf .atf-group[open] > .atf-group__btn .atf-i--chevron, .atf .atf-sortdd[open] > .atf-sortbtn .atf-i--chevron { transform: rotate(180deg); }
.atf .atf-group.has-selection > .atf-group__btn, .atf .atf-toggle:has(:checked) { border-color: var(--atf-ink); background: var(--atf-ink); color: #fff; }
.atf .atf-group.has-selection > .atf-group__btn .atf-i--chevron { color: #fff; }
.atf .atf-toggle.is-zero { color: var(--atf-quiet); }
.atf-group__sum, .atf-toggle__alt, .atf-switch { display: none; }
.atf-group__n, .atf-open__n {
	display: inline-block; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
	background: var(--atf-accent); color: var(--atf-on-accent); font: 700 12px/20px var(--atf-font); text-align: center; font-variant-numeric: tabular-nums;
}
.atf .atf-group__btn:focus-visible, .atf .atf-toggle:has(:focus-visible), .atf .atf-open:focus-visible, .atf .atf-qc:focus-visible,
.atf .atf-chip:focus-visible, .atf .atf-sortbtn:focus-visible, .atf .atf-link:focus-visible, .atf .atf-more:focus-visible,
.atf .atf-pop__apply:focus-visible, .atf .atf-sheet__close:focus-visible, .atf .atf-sheet__apply:focus-visible,
.atf-opt label:has(:focus-visible) .atf-opt__box, .atf-radio:has(:focus-visible) .atf-radio__dot, .atf-empty .atf-btn:focus-visible {
	outline: 2px solid var(--atf-accent-ink); outline-offset: 2px;
}

/* ---------- Popover (desktop) ---------- */
.atf-group { position: relative; }
.atf-pop {
	position: absolute; top: calc(100% + 8px); left: 0; z-index: calc(var(--atf-z) + 1);
	width: 330px; max-width: calc(100vw - 32px); max-height: min(70vh, 560px); overflow: auto; overscroll-behavior: contain;
	padding: 14px 16px; background: var(--atf-bg); border: 1px solid var(--atf-line); border-radius: 14px; box-shadow: var(--atf-shadow);
	white-space: normal; animation: atf-in .12s ease-out;
}
.atf-group.is-right .atf-pop, .atf-pop--sort { left: auto; right: 0; }
.atf-pop--sort { width: 240px; padding: 4px 16px; }
@keyframes atf-in { from { opacity: 0; transform: translateY(-4px); } }
.atf-pop__foot {
	position: sticky; bottom: -14px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin: 10px -16px -14px; padding: 10px 16px 14px; border-top: 1px solid var(--atf-line); background: var(--atf-bg);
}
.atf .atf-pop__apply {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
	border: 0; border-radius: 10px; background: var(--atf-ink); color: #fff; font: 600 15px/1.2 var(--atf-font);
}
.atf .atf-link {
	display: inline-flex; align-items: center; min-height: 34px; padding: 0; border: 0; background: none;
	color: var(--atf-accent-ink); font: 600 14px/1.2 var(--atf-font); text-decoration: underline; text-underline-offset: 3px;
}

/* Option lists: 22px boxes, plain grey counts, guide line for subcategories */
.atf .atf-options { list-style: none; margin: 0; padding: 0; }
.atf .atf-options > li { margin: 0; padding: 0; list-style: none; border: 0; }
.atf .atf-options > li::before { content: none; }
.atf-opt label { display: flex; align-items: center; gap: 12px; min-height: 44px; margin: 0; padding: 0; cursor: pointer; color: var(--atf-ink); font: 400 16px/1.3 var(--atf-font); }
.atf-opt input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.atf-opt__box {
	display: grid; place-items: center; flex: none; width: 22px; height: 22px;
	border: 1.5px solid var(--atf-box); border-radius: 6px; background: #fff; color: #fff; transition: background-color .1s, border-color .1s;
}
.atf-opt__box .atf-i { width: 14px; height: 14px; stroke-width: 3; opacity: 0; }
.atf-opt input:checked + .atf-opt__box { background: var(--atf-ink); border-color: var(--atf-ink); }
.atf-opt input:checked + .atf-opt__box .atf-i { opacity: 1; }
.atf-opt__label { flex: 1 1 auto; min-width: 0; }
.atf-opt__count { flex: none; color: var(--atf-quiet); font-size: 14px; font-variant-numeric: tabular-nums; }
.atf .atf-options--child { margin-left: 10px; padding-left: 23px; border-left: 1px solid var(--atf-line); }
.atf-opt.is-zero > label { color: var(--atf-quiet); }
.atf-opt.is-zero > label .atf-opt__box { border-style: dashed; }
.atf-opt.is-overflow { display: none; }
.atf-pop.is-expanded .atf-opt.is-overflow, .atf-pop.is-searching .atf-opt.is-overflow { display: block; }
.atf .atf-opt.is-nomatch { display: none; }
.atf .atf-more {
	display: block; min-height: 0; margin: 2px 0 0; padding: 6px 0; border: 0; background: none;
	color: var(--atf-accent-ink); font: 600 15px/1.3 var(--atf-font); text-decoration: underline; text-underline-offset: 3px;
}
.atf .atf-more__less, .atf .is-expanded .atf-more__more, .atf .is-searching .atf-more { display: none; }
.atf .is-expanded .atf-more__less { display: inline; }
.atf .atf-find, .atf .atf-price__in {
	display: block; width: 100%; height: 44px; margin: 0; padding: 0 12px;
	border: 1.5px solid var(--atf-field); border-radius: 10px; background: #fff; box-shadow: none;
	color: var(--atf-ink); font: 400 16px/1.2 var(--atf-font); -webkit-appearance: none; appearance: none;
}
.atf .atf-find { margin-bottom: 6px; }
.atf .atf-find:focus, .atf .atf-price__in:focus { outline: none; border-color: var(--atf-ink); }
.atf .atf-find::placeholder, .atf .atf-price__in::placeholder { color: var(--atf-quiet); opacity: 1; }
.atf-price { display: flex; align-items: center; gap: 8px; }
.atf .atf-price__in { flex: 1 1 0; min-width: 0; }

/* ---------- Sort ---------- */
.atf .atf-sortbtn {
	display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0; border: 0; background: none;
	color: var(--atf-ink); font: 600 15px/1.2 var(--atf-font); white-space: nowrap;
}
.atf .atf-sortbtn__k { color: var(--atf-quiet); font-weight: 400; }
.atf .atf-sortbtn .atf-i { width: 16px; height: 16px; transition: transform .15s; }
.atf-radio {
	display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 0; border-bottom: 1px solid var(--atf-line);
	color: var(--atf-ink); font: 400 16px/1.3 var(--atf-font); cursor: pointer;
}
.atf-radio:last-child { border-bottom: 0; }
.atf-pop--sort .atf-radio { min-height: 44px; }
.atf-radio__dot { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--atf-box); border-radius: 50%; }
.atf-radio input:checked + .atf-radio__dot { border-color: var(--atf-ink); }
.atf-radio input:checked + .atf-radio__dot::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--atf-ink); }

/* ---------- Status: count + active chips ---------- */
.atf-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 12px 0 14px; border-bottom: 1px solid var(--atf-line); }
.atf .atf-count { margin: 0; color: var(--atf-text); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.atf-count strong { color: var(--atf-ink); font-weight: 700; }
.atf-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.atf-chips:empty { display: none; }
.atf .atf-chip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 8px 0 12px;
	border: 0; border-radius: 999px; background: var(--atf-tint); color: var(--atf-ink); font: 500 14px/1.2 var(--atf-font);
}
.atf .atf-chip .atf-i { width: 16px; height: 16px; color: var(--atf-accent-ink); }
@media (hover: hover) { .atf .atf-chip:hover { background: #ffe6da; } }

/* Busy state: dim the results while a request is in flight */
.atf-busy ul.products, .atf-busy .atf-pagination, .atf-busy .atf-empty { opacity: .45; transition: opacity .15s; pointer-events: none; }
.atf-busy .atf-count::after {
	content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 8px; vertical-align: -1px;
	border: 2px solid var(--atf-line); border-top-color: var(--atf-accent-ink); border-radius: 50%; animation: atf-spin .7s linear infinite;
}
@keyframes atf-spin { to { transform: rotate(360deg); } }

/* ---------- Mobile (atf--mobile is set before first paint from data-bp) ---------- */
.atf--mobile .atf-bar { padding: 4px 0 10px; border-bottom: 1px solid var(--atf-line); }
.atf--mobile .atf-main { flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 2px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.atf--mobile .atf-main::-webkit-scrollbar { display: none; }
.atf--mobile .atf-main > .atf-groups, .atf--mobile .atf-sortdd { display: none; }
.atf--mobile .atf-quick { display: flex; flex: none; gap: 8px; }
.atf--mobile .atf-open {
	position: relative; display: inline-flex; flex: none; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px;
	border: 0; border-radius: 999px; background: var(--atf-ink); color: #fff; font: 600 15px/1.2 var(--atf-font);
}
.atf--mobile .atf-open .atf-i { width: 20px; height: 20px; }
.atf .atf-qc {
	position: relative; display: inline-flex; flex: none; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
	border: 1.5px solid var(--atf-line); border-radius: 999px; background: var(--atf-bg); color: var(--atf-ink);
	font: 500 15px/1.2 var(--atf-font); white-space: nowrap;
}
.atf .atf-qc small { color: var(--atf-quiet); font-size: 13px; }
.atf .atf-qc .atf-i { width: 16px; height: 16px; }
.atf .atf-qc.is-on { border-color: var(--atf-ink); background: var(--atf-ink); color: #fff; }
.atf .atf-qc.is-on small { color: #c9ced4; }
/* 44px tap target around the 40px chips */
.atf .atf-qc::after, .atf--mobile .atf-open::after { content: ""; position: absolute; inset: -2px 0; }
.atf--mobile .atf-status { padding: 10px 0 0; border-bottom: 0; gap: 10px 12px; justify-content: space-between; }
.atf--mobile .atf-chips { order: -1; flex: 1 1 100%; }
.atf--mobile .atf-sortbtn.atf-sortbtn--m { display: inline-flex; min-height: 36px; margin-left: auto; }

/* ---------- Bottom sheets (filter + sort) ---------- */
.atf .atf-sheet { display: none; }
.atf .atf-sheet[open] {
	display: flex; flex-direction: column; position: fixed; inset: auto 0 0 0; z-index: 100000;
	width: 100%; max-width: 100%; height: auto; max-height: 92vh; max-height: 92dvh; margin: 0; padding: 0;
	border: 0; border-radius: 20px 20px 0 0; background: var(--atf-bg); color: var(--atf-ink); overflow: hidden;
	box-shadow: 0 -8px 30px rgba(0, 0, 0, .18); animation: atf-up .26s ease;
}
@keyframes atf-up { from { transform: translateY(100%); } }
.atf-sheet::backdrop { background: rgba(17, 17, 17, .45); }
.atf-sheet__grab { flex: none; width: 40px; height: 5px; margin: 8px auto 0; border-radius: 3px; background: #d5d8dc; }
.atf-sheet__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 10px 16px; border-bottom: 1px solid var(--atf-line); }
.atf .atf-sheet__title { margin: 0; padding: 0; color: var(--atf-ink); font: 700 20px/1.2 var(--atf-font-title); letter-spacing: normal; text-transform: none; }
.atf-sheet__tools { display: flex; align-items: center; gap: 4px; }
.atf .atf-sheet__close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; color: var(--atf-ink); }
.atf .atf-sheet__close .atf-i { width: 24px; height: 24px; }
.atf-sheet__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: 4px 16px 16px; -webkit-overflow-scrolling: touch; }
.atf-sheet--sort .atf-sheet__body { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.atf-sheet__foot { flex: none; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--atf-line); background: var(--atf-bg); }
.atf .atf-sheet__apply {
	display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 0 16px;
	border: 0; border-radius: 10px; background: var(--atf-accent); color: var(--atf-on-accent); font: 700 16px/1.2 var(--atf-font);
}
.atf .atf-sheet__apply:active { filter: brightness(.95); }

/* Inside the filter sheet: switches on top, groups as accordions */
.atf-sheet .atf-groups { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.atf-sheet .atf-toggle[data-key="stock"] { order: -2; }
.atf-sheet .atf-toggle[data-key="sale"] { order: -1; }
.atf .atf-sheet .atf-toggle {
	display: flex; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 0;
	border: 0; border-bottom: 1px solid var(--atf-line); border-radius: 0; background: none; color: var(--atf-ink);
	font: 600 16px/1.3 var(--atf-font); white-space: normal;
}
.atf-sheet .atf-toggle__label, .atf-sheet .atf-toggle > .atf-i { display: none; }
.atf-sheet .atf-toggle__alt { display: block; flex: 1 1 auto; }
.atf-sheet .atf-toggle__n { margin-left: 6px; color: var(--atf-quiet); font-size: 14px; font-weight: 400; }
.atf-sheet .atf-switch { display: block; position: relative; flex: none; width: 48px; height: 28px; border-radius: 14px; background: #cfd3d8; transition: background-color .15s; }
.atf-sheet .atf-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.atf-sheet .atf-toggle:has(:checked) .atf-switch { background: var(--atf-green); }
.atf-sheet .atf-toggle:has(:checked) .atf-switch::after { transform: translateX(20px); }
.atf .atf-sheet .atf-toggle:has(:focus-visible) { outline: 0; }
.atf-sheet .atf-toggle:has(:focus-visible) .atf-switch { outline: 2px solid var(--atf-accent-ink); outline-offset: 2px; }
.atf-sheet .atf-group { border-bottom: 1px solid var(--atf-line); }
.atf .atf-sheet .atf-group__btn, .atf .atf-sheet .atf-group.has-selection > .atf-group__btn {
	display: flex; justify-content: space-between; gap: 10px; width: 100%; min-height: 60px; padding: 0;
	border: 0; border-radius: 0; background: none; color: var(--atf-ink); white-space: normal; text-align: left;
}
.atf .atf-sheet .atf-group__btn .atf-i--chevron { width: 20px; height: 20px; color: var(--atf-quiet); }
.atf-sheet .atf-group__text { display: flex; flex-direction: column; min-width: 0; }
.atf-sheet .atf-group__label { font: 700 16px/1.3 var(--atf-font); }
.atf-sheet .atf-group__sum { display: block; overflow: hidden; color: var(--atf-accent-ink); font: 500 14px/1.35 var(--atf-font); white-space: nowrap; text-overflow: ellipsis; }
.atf-sheet .atf-group__n, .atf-sheet .atf-pop__foot { display: none; }
.atf-sheet .atf-pop { position: static; width: auto; max-width: none; max-height: none; overflow: visible; padding: 0 0 12px; border: 0; border-radius: 0; box-shadow: none; animation: none; }

/* ---------- Empty state (in place of the product grid) ---------- */
.atf-empty { display: grid; gap: 10px; grid-column: 1 / -1; margin: 18px 0; padding: 18px; border-radius: 14px; background: var(--atf-soft); color: var(--atf-text); font: 400 15px/1.45 var(--atf-font); }
.atf-empty .atf-empty__title { margin: 0; color: var(--atf-ink); font: 700 17px/1.3 var(--atf-font-title); }
.atf-empty .atf-empty__text, .atf-empty .atf-empty__btns { margin: 0; }
.atf-empty__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.atf-empty .atf-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px;
	border: 1.5px solid var(--atf-ink); border-radius: 10px; background: #fff; color: var(--atf-ink);
	font: 600 15px/1.2 var(--atf-font); text-decoration: none;
}
.atf-empty .atf-btn--dark { background: var(--atf-ink); color: #fff; }

.atf .atf-noscript { margin-top: 8px; padding: 8px 14px; border: 1px solid var(--atf-ink); border-radius: 999px; }

@media (prefers-reduced-motion: reduce) {
	.atf-pop, .atf .atf-sheet[open] { animation: none; }
	.atf .atf-i, .atf-switch, .atf-switch::after { transition: none; }
}

/* ---------- Pagination (own classes — theme rules on .page-numbers never reach it) ---------- */
.atf-pagination, .woocommerce-pagination.atf-pagination {
	--atf-ink: var(--kr-ink, #1f2328);
	--atf-muted: #5c6470;
	--atf-line: var(--kr-line, #e6e8ea);
	--atf-bg-soft: var(--kr-bg-warm, #f6f6f4);
	clear: both; display: block; margin: 36px 0 12px; padding: 0; border: 0;
	text-align: center; font-size: 15px; line-height: 1.3; color: var(--atf-ink);
}
.atf-pagination .atf-pg__status { margin: 0 0 10px; padding: 0; font-size: 13px; color: var(--atf-muted); font-variant-numeric: tabular-nums; }
.atf-pagination .atf-pg__meter { display: block; width: 200px; max-width: 60%; height: 3px; margin: 0 auto 20px; border-radius: 3px; background: var(--atf-line); overflow: hidden; }
.atf-pagination .atf-pg__meter > span { display: block; height: 100%; border-radius: inherit; background: var(--atf-ink); }
.atf-pagination .atf-pg__row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.atf-pagination .atf-pg__pages { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: inherit; }
.atf-pagination .atf-pg__pages > li { margin: 0; padding: 0; list-style: none; border: 0; }
.atf-pagination .atf-pg__pages > li::before { content: none; }
.atf-pagination .atf-pg__page {
	display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px;
	border: 0; border-radius: 999px; background: none; color: var(--atf-ink);
	font-weight: 500; font-variant-numeric: tabular-nums; text-decoration: none; transition: background-color .15s;
}
.atf-pagination a.atf-pg__page:hover { background: var(--atf-bg-soft); color: var(--atf-ink); }
.atf-pagination .atf-pg__page.is-current { background: var(--atf-ink); color: #fff; font-weight: 600; }
.atf-pagination .atf-pg__gap { min-width: 20px; color: var(--atf-muted); }
.atf-pagination .atf-pg__step {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px;
	border: 1px solid var(--atf-line); border-radius: 999px; background: #fff; color: var(--atf-ink);
	font-weight: 500; white-space: nowrap; text-decoration: none; transition: border-color .15s;
}
.atf-pagination .atf-pg__step--prev { padding-left: 12px; }
.atf-pagination .atf-pg__step--next { padding-right: 12px; }
.atf-pagination a.atf-pg__step:hover { border-color: var(--atf-ink); color: var(--atf-ink); }
.atf-pagination .atf-pg__step.is-disabled { visibility: hidden; }
.atf-pagination .atf-pg__of { display: none; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.atf-pagination a:focus-visible { outline: 2px solid var(--atf-ink); outline-offset: 2px; }
@media (max-width: 599px) {
	.atf-pagination .atf-pg__pages { display: none; }
	.atf-pagination .atf-pg__of { display: block; }
	.atf-pagination .atf-pg__row { gap: 16px; }
	.atf-pagination .atf-pg__step { width: 44px; height: 44px; padding: 0; }
	.atf-pagination .atf-pg__step-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
