/* =========================================================
   KKM Product Showcase v2
   No card chrome. A soft grey frame holds the product,
   the product itself lifts on hover, nothing else moves.
   ========================================================= */

.kkm-showcase {
	--kkm-ink: #16181a;
	--kkm-ink-2: #6b7075;
	--kkm-ink-3: #9aa0a6;
	--kkm-line: #e7e7ea;
	--kkm-surface: #ffffff;
	--kkm-frame: #f1f1f0; /* grey product panel */
	--kkm-page: #f7f7f8;
	--kkm-wa: #1fab53;
	--kkm-r-pill: 999px;
	--kkm-r-frame: 14px;
	--kkm-ratio: 47 / 54; /* product image box shape (4.7 x 5.4) */
	--kkm-fit: contain; /* contain = whole product visible, cover = fills + crops */
	--kkm-gap-x: 22px;
	--kkm-gap-y: 40px;
	--kkm-tile-w: 300px;
	--kkm-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--kkm-font: "Inter", "Plus Jakarta Sans", "Helvetica Neue", -apple-system,
		BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

	--kkm-cols: var(--kkm-cols-xl, 4);

	font-family: var(--kkm-font);
	color: var(--kkm-ink);
	max-width: 1440px;
	margin-inline: auto;
	padding: 4px 0 48px;
	-webkit-font-smoothing: antialiased;
}

.kkm-showcase *,
.kkm-showcase *::before,
.kkm-showcase *::after {
	box-sizing: border-box;
}

/* =========================================================
   Category rail
   ========================================================= */

.kkm-filters {
	margin-bottom: 34px;
}

.kkm-rail {
	position: relative;
}

.kkm-rail__track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
}

.kkm-rail__track::-webkit-scrollbar {
	display: none;
}

/* Arrows — desktop only, they sit over the peeking tiles */
.kkm-rail__nav {
	position: absolute;
	top: calc((100% - 44px) / 2);
	transform: translateY(-50%);
	z-index: 5;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border: 1px solid var(--kkm-line);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: var(--kkm-ink);
	cursor: pointer;
	box-shadow: 0 10px 26px -12px rgba(11, 11, 12, 0.45);
	transition: transform 0.3s var(--kkm-ease), opacity 0.3s var(--kkm-ease),
		background-color 0.3s var(--kkm-ease), color 0.3s var(--kkm-ease);
}

.kkm-rail__nav[hidden] {
	display: none;
}

.kkm-rail__nav--prev {
	left: 8px;
}

.kkm-rail__nav--next {
	right: 8px;
}

.kkm-rail__nav:hover {
	background: var(--kkm-ink);
	color: #fff;
	transform: translateY(-50%) scale(1.06);
}

.kkm-rail__nav:focus-visible {
	outline: 2px solid var(--kkm-ink);
	outline-offset: 3px;
}

/* Tiles ---------------------------------------------------- */

.kkm-tile {
	flex: 0 0 var(--kkm-tile-w);
	width: var(--kkm-tile-w);
	scroll-snap-align: center;
	appearance: none;
	border: 0;
	padding: 0;
	background: none;
	font: inherit;
	color: inherit;
	cursor: pointer;
	text-align: left;
	text-decoration: none;
	display: block;
	-webkit-tap-highlight-color: transparent;
}

/* Drag to scroll ------------------------------------------- */

.kkm-rail__track,
.kkm-subrail__track {
	cursor: grab;
}

.kkm-rail__track.is-dragging,
.kkm-subrail__track.is-dragging {
	cursor: grabbing;
	scroll-snap-type: none;
	scroll-behavior: auto;
	user-select: none;
}

.kkm-rail__track.is-dragging .kkm-tile,
.kkm-subrail__track.is-dragging .kkm-chip {
	pointer-events: none;
}

.kkm-rail__track img,
.kkm-subrail__track img {
	-webkit-user-drag: none;
	user-select: none;
}

@media (hover: none) {
	.kkm-rail__track,
	.kkm-subrail__track {
		cursor: auto;
	}
}

/* Square, and bare — no panel, no border, same treatment as a product card */
.kkm-tile__frame {
	position: relative;
	display: block;
	aspect-ratio: var(--kkm-tile-ratio, 1 / 1);
	border-radius: var(--kkm-r-frame);
	overflow: hidden;
	background: none;
	transition: opacity 0.4s var(--kkm-ease);
}

.kkm-tile:not(.is-active) .kkm-tile__frame {
	opacity: 0.72;
}

@media (hover: hover) {
	.kkm-tile:hover .kkm-tile__frame {
		opacity: 1;
	}
}

.kkm-tile__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0;
	transition: transform 0.7s var(--kkm-ease);
}

.kkm-tile__fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 48px;
	font-weight: 300;
	color: var(--kkm-ink-3);
	background: linear-gradient(135deg, #f1f1f0, #e6e6e4);
}

@media (hover: hover) {
	.kkm-tile:hover .kkm-tile__img {
		transform: scale(1.04);
	}
}

.kkm-tile__label {
	position: relative;
	display: block;
	margin-top: 14px;
	padding-bottom: 9px;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.015em;
	color: var(--kkm-ink-2);
	transition: color 0.3s var(--kkm-ease);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.kkm-tile__label::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 0;
	background: var(--kkm-ink);
	transition: width 0.4s var(--kkm-ease);
}

.kkm-tile.is-active .kkm-tile__label::after {
	width: 26px;
}

.kkm-tile.is-active .kkm-tile__label {
	color: var(--kkm-ink);
	font-weight: 650;
}

.kkm-tile:focus-visible .kkm-tile__frame {
	outline: 2px solid var(--kkm-ink);
	outline-offset: 3px;
}

/* Sub-category chips --------------------------------------- */

/* Sticks under the site header once it scrolls up to it.
   --kkm-sticky-top is measured live by JS from any fixed/sticky header;
   --kkm-sticky-top-override lets you pin an exact value from CSS.
   z-index stays low so it passes UNDER the theme header, never over it. */
.kkm-subwrap {
	position: sticky;
	top: calc(var(--kkm-sticky-top, 0px) + var(--kkm-sticky-gap, 0px));
	z-index: 20;
	margin-top: 22px;
	padding: 10px 0;
	background: var(--kkm-surface);
	transition: box-shadow 0.3s var(--kkm-ease);
}

.kkm-subwrap.is-empty {
	display: none;
}

.kkm-subwrap::before {
	content: "";
	position: absolute;
	/* Reaches up behind the header. If the measured offset is a few pixels
	   off, products still cannot be seen sliding through the seam — the
	   opaque header paints over this strip. */
	inset: calc(var(--kkm-sticky-cover, 90px) * -1) -100vw 0;
	background: inherit;
	z-index: -1;
	opacity: 0;
	transition: opacity 0.3s var(--kkm-ease);
}

/* Full-bleed backdrop only once it is actually pinned */
.kkm-subwrap.is-stuck::before {
	opacity: 1;
	box-shadow: 0 8px 20px -18px rgba(11, 11, 12, 0.9);
}

.kkm-subrail {
	position: relative;
}

.kkm-subrail[hidden] {
	display: none;
}

/* Arrows double as the affordance that this row scrolls */
.kkm-subrail__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 6;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 1px solid var(--kkm-line);
	border-radius: 50%;
	background: var(--kkm-surface);
	color: var(--kkm-ink);
	cursor: pointer;
	box-shadow: 0 6px 18px -8px rgba(11, 11, 12, 0.5);
	transition: background-color 0.25s var(--kkm-ease), color 0.25s var(--kkm-ease),
		transform 0.25s var(--kkm-ease);
}

.kkm-subrail__nav[hidden] {
	display: none;
}

.kkm-subrail__nav--prev {
	left: 0;
}

.kkm-subrail__nav--next {
	right: 0;
}

.kkm-subrail__nav:hover {
	background: var(--kkm-ink);
	color: #fff;
	transform: translateY(-50%) scale(1.08);
}

.kkm-subrail__nav:focus-visible {
	outline: 2px solid var(--kkm-ink);
	outline-offset: 2px;
}

.kkm-subrail.is-open {
	animation: kkm-drop 0.35s var(--kkm-ease) both;
}

@keyframes kkm-drop {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.kkm-subrail__track {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	padding: 2px 0;
	scroll-padding-inline: 42px;
}

/* Room for the arrows, added only while they are on screen */
.kkm-subrail:has(.kkm-subrail__nav--prev:not([hidden])) .kkm-subrail__track {
	padding-left: 42px;
}

.kkm-subrail:has(.kkm-subrail__nav--next:not([hidden])) .kkm-subrail__track {
	padding-right: 42px;
}

.kkm-subrail__track::-webkit-scrollbar {
	display: none;
}

.kkm-chip {
	flex: 0 0 auto;
	appearance: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	border: 1px solid var(--kkm-line);
	background: var(--kkm-surface);
	color: var(--kkm-ink-2);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1;
	padding: 12px 20px;
	border-radius: var(--kkm-r-pill);
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.28s var(--kkm-ease),
		color 0.28s var(--kkm-ease), border-color 0.28s var(--kkm-ease);
}

.kkm-chip:hover {
	border-color: var(--kkm-ink-3);
	color: var(--kkm-ink);
}

.kkm-chip:active {
	transform: scale(0.97);
}

.kkm-chip.is-active {
	background: var(--kkm-ink);
	border-color: var(--kkm-ink);
	color: #fff;
	font-weight: 600;
}

.kkm-chip:focus-visible {
	outline: 2px solid var(--kkm-ink);
	outline-offset: 2px;
}

/* =========================================================
   Price on Request line (once per page)
   ========================================================= */

.kkm-notice {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	margin: 0 0 28px;
	padding: 16px 20px;
	border-radius: var(--kkm-r-frame);
	background: var(--kkm-page);
	border: 1px solid var(--kkm-line);
}

.kkm-notice__badge {
	flex: 0 0 auto;
	padding: 9px 16px;
	border-radius: var(--kkm-r-pill);
	background: var(--kkm-ink);
	color: #fff;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
}

.kkm-notice__text {
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--kkm-ink-2);
	letter-spacing: -0.01em;
}

/* =========================================================
   Product grid
   ========================================================= */

.kkm-grid {
	display: grid;
	grid-template-columns: repeat(var(--kkm-cols), minmax(0, 1fr));
	column-gap: var(--kkm-gap-x);
	row-gap: var(--kkm-gap-y);
	align-items: start;
}

.kkm-grid.is-loading {
	pointer-events: none;
}

/* Card — no border, no background, no shadow ---------------- */

.kkm-card {
	display: flex;
	flex-direction: column;
	animation: kkm-rise 0.4s var(--kkm-ease) both;
	animation-delay: calc(var(--kkm-i, 0) * 35ms);
}

@keyframes kkm-rise {
	from {
		opacity: 0;
		transform: translateY(14px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* No panel, no padding — the image renders exactly as uploaded,
   the way it does on the WooCommerce product page. */
.kkm-card__frame {
	display: block;
	position: relative;
	aspect-ratio: var(--kkm-ratio, 1 / 1);
	border-radius: var(--kkm-r-frame);
	overflow: hidden;
	background: none;
}

.kkm-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: var(--kkm-fit, contain);
	padding: 0;
	transition: transform 0.55s var(--kkm-ease), opacity 0.4s var(--kkm-ease);
	backface-visibility: hidden;
}

/* Second image sits on top, invisible until hover */
.kkm-card__img--alt {
	opacity: 0;
}

@media (hover: hover) {
	.kkm-card__frame:hover .kkm-card__img {
		transform: scale(1.04);
	}

	.kkm-card.has-alt .kkm-card__frame:hover .kkm-card__img--alt {
		opacity: 1;
	}
}

.kkm-card__frame:focus-visible {
	outline: 2px solid var(--kkm-ink);
	outline-offset: 3px;
}

/* Name ------------------------------------------------------ */

.kkm-card__title {
	margin: 16px 0 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--kkm-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	overflow-wrap: anywhere;
}

.kkm-card__title a {
	color: inherit;
	text-decoration: none;
}

.kkm-card__title a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

/* Actions --------------------------------------------------- */

.kkm-card__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
}

.kkm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	border-radius: var(--kkm-r-pill);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1;
	white-space: nowrap;
	-webkit-tap-highlight-color: transparent;
	transition: background-color 0.28s var(--kkm-ease),
		color 0.28s var(--kkm-ease), border-color 0.28s var(--kkm-ease),
		transform 0.22s var(--kkm-ease);
}

.kkm-btn svg {
	flex: 0 0 auto;
}

.kkm-btn:active {
	transform: scale(0.95);
}

.kkm-btn:focus-visible {
	outline: 2px solid var(--kkm-ink);
	outline-offset: 2px;
}

/* WhatsApp is icon-only everywhere */
.kkm-btn--wa {
	flex: 0 0 42px;
	width: 42px;
	border: 1px solid rgba(31, 171, 83, 0.28);
	background: rgba(31, 171, 83, 0.09);
	color: var(--kkm-wa);
}

.kkm-btn--wa:hover {
	background: var(--kkm-wa);
	border-color: var(--kkm-wa);
	color: #fff;
}

.kkm-btn--wa .kkm-btn__text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Get a Quote carries the label on desktop */
.kkm-btn--quote {
	flex: 1 1 auto;
	padding: 0 18px;
	border: 1px solid var(--kkm-ink);
	background: var(--kkm-ink);
	color: #fff;
}

.kkm-btn--quote:hover {
	background: transparent;
	color: var(--kkm-ink);
}

/* =========================================================
   Skeleton
   ========================================================= */

.kkm-skeleton {
	animation: none;
}

.kkm-skeleton__frame {
	aspect-ratio: var(--kkm-ratio, 47 / 54);
	border-radius: var(--kkm-r-frame);
}

.kkm-skeleton__line {
	height: 11px;
	border-radius: 6px;
	margin-top: 16px;
}

.kkm-skeleton__line--short {
	width: 55%;
	margin-top: 10px;
}

.kkm-skeleton__frame,
.kkm-skeleton__line {
	background: linear-gradient(100deg, #efefee 20%, #f8f8f7 40%, #efefee 60%);
	background-size: 240% 100%;
	animation: kkm-shimmer 1.2s linear infinite;
}

@keyframes kkm-shimmer {
	to {
		background-position: -240% 0;
	}
}

/* =========================================================
   Empty + load more
   ========================================================= */

.kkm-empty {
	text-align: center;
	padding: 60px 22px;
	border: 1px dashed #dcdce0;
	border-radius: var(--kkm-r-frame);
	background: var(--kkm-page);
}

.kkm-empty[hidden] {
	display: none;
}

.kkm-empty__title {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 650;
	letter-spacing: -0.02em;
}

.kkm-empty__text {
	margin: 0 0 20px;
	color: var(--kkm-ink-2);
	font-size: 14px;
}

.kkm-empty__cta {
	display: inline-block;
	padding: 14px 26px;
	border-radius: var(--kkm-r-pill);
	background: var(--kkm-ink);
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
}

.kkm-empty__cta:hover {
	color: #fff;
}

.kkm-more {
	display: flex;
	justify-content: center;
	margin-top: 44px;
}

.kkm-more[hidden] {
	display: none;
}

.kkm-more__btn {
	position: relative;
	appearance: none;
	cursor: pointer;
	border: 1px solid var(--kkm-ink);
	background: transparent;
	color: var(--kkm-ink);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	padding: 16px 38px;
	border-radius: var(--kkm-r-pill);
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	transition: color 0.35s var(--kkm-ease);
}

.kkm-more__btn::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--kkm-ink);
	transform: translateY(101%);
	transition: transform 0.45s var(--kkm-ease);
	z-index: 0;
}

.kkm-more__btn:hover {
	color: #fff;
}

.kkm-more__btn:hover::before {
	transform: none;
}

.kkm-more__label {
	position: relative;
	z-index: 1;
}

.kkm-more__spin {
	position: relative;
	z-index: 1;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	border: 2px solid currentColor;
	border-top-color: transparent;
	display: none;
	animation: kkm-spin 0.7s linear infinite;
}

.kkm-more__btn.is-busy .kkm-more__spin {
	display: block;
}

@keyframes kkm-spin {
	to {
		transform: rotate(360deg);
	}
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
	.kkm-showcase {
		--kkm-cols: 3;
		--kkm-gap-x: 18px;
		--kkm-gap-y: 34px;
		--kkm-tile-w: 260px;
	}
}

/* Tablet + phone: category tiles peek at the edges */
@media (max-width: 860px) {
	.kkm-showcase {
		--kkm-cols: 2;
		--kkm-gap-x: 14px;
		--kkm-gap-y: 30px;
		padding-bottom: 36px;
	}

	.kkm-filters {
		margin-bottom: 26px;
	}

	.kkm-rail__nav {
		display: none;
	}

	/* Swiping is the obvious gesture on touch — arrows would only cover chips */
	.kkm-subrail__nav {
		display: none;
	}

	.kkm-subrail:has(.kkm-subrail__nav--prev:not([hidden])) .kkm-subrail__track,
	.kkm-subrail:has(.kkm-subrail__nav--next:not([hidden])) .kkm-subrail__track {
		padding-left: 0;
		padding-right: 0;
	}

	.kkm-rail__track {
		gap: 14px;
		/* Bleed to the screen edges so the next tile peeks in */
		margin-inline: calc(var(--kkm-bleed, 0px) * -1);
		padding-inline: var(--kkm-bleed, 0px);
	}

	.kkm-tile {
		flex: 0 0 62%;
		width: 62%;
	}

	.kkm-tile__label {
		margin-top: 11px;
		font-size: 16px;
	}

	.kkm-subwrap {
		margin-top: 16px;
		padding: 8px 0;
	}

	.kkm-chip {
		font-size: 13px;
		padding: 11px 17px;
	}

	.kkm-notice {
		gap: 10px;
		padding: 14px 16px;
		margin-bottom: 22px;
	}

	.kkm-notice__badge {
		font-size: 11.5px;
		padding: 8px 13px;
	}

	.kkm-notice__text {
		font-size: 13.5px;
	}

	.kkm-card__title {
		margin-top: 13px;
		font-size: 12px;
		letter-spacing: 0.03em;
	}

	.kkm-card__actions {
		margin-top: 11px;
		gap: 7px;
	}

	/* Icon-only on touch, both buttons equal weight */
	.kkm-btn {
		flex: 1 1 0;
		width: auto;
		height: 40px;
		padding: 0;
	}

	.kkm-btn--wa {
		flex: 1 1 0;
		width: auto;
	}

	.kkm-btn--quote {
		padding: 0;
	}

	.kkm-btn__text {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.kkm-more {
		margin-top: 30px;
	}

	.kkm-more__btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 560px) {
	.kkm-showcase {
		--kkm-gap-x: 12px;
		--kkm-gap-y: 26px;
		--kkm-r-frame: 12px;
	}

	.kkm-tile {
		flex: 0 0 66%;
		width: 66%;
	}

	.kkm-empty {
		padding: 44px 18px;
	}
}

@media (max-width: 359px) {
	.kkm-showcase {
		--kkm-cols: 1;
	}
	.kkm-tile {
		flex: 0 0 78%;
		width: 78%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kkm-showcase *,
	.kkm-showcase *::before,
	.kkm-showcase *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* =========================================================
   Archive navigation — WooCommerce shop + category pages
   Self-contained: declares its own tokens so it does not
   depend on a .kkm-showcase ancestor.
   ========================================================= */

.kkm-archive-nav {
	--kkm-a-ink: #0b0b0c;
	--kkm-a-ink-2: #6b7075;
	--kkm-a-line: #e7e7ea;
	--kkm-a-surface: #ffffff;
	--kkm-a-trough: #f0f0f2;
	--kkm-a-wa: #1fab53;
	--kkm-a-ease: cubic-bezier(0.22, 1, 0.36, 1);

	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 0 32px;
	font-family: "Inter", "Plus Jakarta Sans", "Helvetica Neue", -apple-system,
		BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.kkm-archive-nav *,
.kkm-archive-nav *::before,
.kkm-archive-nav *::after {
	box-sizing: border-box;
}

/* Rows scroll sideways rather than overflowing the viewport */
.kkm-archive-nav__row {
	display: flex;
	flex-wrap: nowrap;
	gap: 10px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	max-width: 100%;
}

.kkm-archive-nav__row::-webkit-scrollbar {
	display: none;
}

.kkm-archive-nav__row--main {
	padding: 9px;
	background: var(--kkm-a-trough);
	border-radius: 999px;
}

/* Pills ---------------------------------------------------- */

.kkm-archive-pill {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 15px 24px;
	border-radius: 999px;
	background: var(--kkm-a-surface);
	color: var(--kkm-a-ink);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.3s var(--kkm-a-ease), color 0.3s var(--kkm-a-ease),
		box-shadow 0.3s var(--kkm-a-ease);
}

.kkm-archive-pill:hover {
	box-shadow: 0 8px 20px rgba(11, 11, 12, 0.08);
	color: var(--kkm-a-ink);
}

.kkm-archive-pill.is-active {
	background: var(--kkm-a-ink);
	color: #fff;
	font-weight: 600;
	box-shadow: 0 10px 24px rgba(11, 11, 12, 0.18);
}

.kkm-archive-pill.is-active:hover {
	color: #fff;
}

/* Chips ---------------------------------------------------- */

.kkm-archive-chip {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 12px 20px;
	border-radius: 999px;
	border: 1px solid var(--kkm-a-line);
	background: var(--kkm-a-surface);
	color: var(--kkm-a-ink-2);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color 0.28s var(--kkm-a-ease), color 0.28s var(--kkm-a-ease),
		border-color 0.28s var(--kkm-a-ease);
}

.kkm-archive-chip:hover {
	border-color: #9aa0a6;
	color: var(--kkm-a-ink);
}

.kkm-archive-chip.is-active {
	background: var(--kkm-a-ink);
	border-color: var(--kkm-a-ink);
	color: #fff;
	font-weight: 600;
}

.kkm-archive-chip.is-active:hover {
	color: #fff;
}

/* WhatsApp button on cards --------------------------------- */

.kkm-archive-wa {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px;
	padding: 0 18px;
	margin-top: 8px;
	border-radius: 999px;
	border: 1px solid rgba(31, 171, 83, 0.28);
	background: rgba(31, 171, 83, 0.09);
	color: var(--kkm-a-wa, #1fab53);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.kkm-archive-wa:hover,
.kkm-archive-wa:focus {
	background: #1fab53;
	border-color: #1fab53;
	color: #fff;
}

.kkm-archive-wa svg {
	flex: 0 0 auto;
}

@media (max-width: 860px) {
	.kkm-archive-nav {
		margin-bottom: 22px;
		gap: 10px;
	}

	.kkm-archive-nav__row--main {
		padding: 7px;
	}

	.kkm-archive-pill {
		padding: 13px 19px;
		font-size: 14px;
	}

	.kkm-archive-chip {
		padding: 11px 17px;
		font-size: 13px;
	}

	.kkm-archive-wa {
		height: 38px;
		padding: 0 14px;
		font-size: 12.5px;
	}
}
