.tkcd-collection {
	--tkcd-background: #0a0a0a;
	--tkcd-background-alt: #171717;
	--tkcd-accent: #bc0102;
	--tkcd-heading-colour: #ffffff;
	--tkcd-body-colour: #f2f2f2;
	--tkcd-border-colour: #2b2b2b;
	--tkcd-border-radius: 8px;
	--tkcd-button-radius: 16px;
	--tkcd-content-width: 1200px;

	box-sizing: border-box;
	width: 100%;
	max-width: var(--tkcd-content-width);
	margin-inline: auto;
	color: var(--tkcd-body-colour);
}

.tkcd-collection *,
.tkcd-collection *::before,
.tkcd-collection *::after {
	box-sizing: inherit;
}

.tkcd-section-heading {
	margin: 0 0 0.75rem;
	color: var(--tkcd-heading-colour);
}

.tkcd-product-count {
	margin: 0 0 1rem;
}

.tkcd-product-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.tkcd-product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: var(--tkcd-background-alt);
	border: 1px solid var(--tkcd-border-colour);
	border-radius: var(--tkcd-border-radius);
}

.tkcd-product-image-link {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--tkcd-background);
}

.tkcd-product-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 180ms ease;
}

.tkcd-product-card:hover .tkcd-product-image {
	transform: scale(1.025);
}

.tkcd-product-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 1rem;
}

.tkcd-product-title {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	line-height: 1.35;
}

.tkcd-product-title a {
	color: var(--tkcd-heading-colour);
	text-decoration: none;
}

.tkcd-product-price {
	margin: 0 0 1rem;
	color: var(--tkcd-body-colour);
}

.tkcd-product-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	min-height: 44px;
	padding: 0.65rem 1rem;
	color: #fff;
	background: var(--tkcd-accent);
	border: 2px solid var(--tkcd-accent);
	border-radius: var(--tkcd-button-radius);
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.tkcd-product-button:hover,
.tkcd-product-button:focus-visible {
	color: #fff;
	filter: brightness(1.12);
}

.tkcd-product-card a:focus-visible,
.tkcd-product-button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.tkcd-empty-state {
	padding: 2rem;
	text-align: center;
	background: var(--tkcd-background-alt);
	border: 1px solid var(--tkcd-border-colour);
	border-radius: var(--tkcd-border-radius);
}

.tkcd-admin-message {
	padding: 1rem;
	border-left: 4px solid #bc0102;
	background: #fff;
	color: #1d2327;
}

@media (max-width: 1024px) {
	.tkcd-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.tkcd-product-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.tkcd-preview-notice {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	background: #fff4ce;
	border: 1px solid #dba617;
	border-radius: var(--tkcd-border-radius);
	color: #1d2327;
	font-weight: 600;
}


.tkcd-featured-section {
	margin: 0 0 2.5rem;
	padding: 1.25rem;
	background: var(--tkcd-background-alt);
	border: 1px solid var(--tkcd-border-colour);
	border-radius: var(--tkcd-border-radius);
}

.tkcd-featured-heading {
	margin: 0 0 1rem;
	color: var(--tkcd-heading-colour);
}

.tkcd-featured-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.tkcd-product-card--featured {
	border-color: rgba(188, 1, 2, 0.65);
}

.tkcd-product-card--featured .tkcd-product-image-link {
	aspect-ratio: 4 / 3;
}

@media (max-width: 1024px) {
	.tkcd-featured-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.tkcd-featured-section {
		padding: 1rem;
	}

	.tkcd-featured-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}


/* ThreadKing card refinement */
.tkcd-product-grid {
	gap: 1.5rem;
}

.tkcd-product-card {
	position: relative;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0)),
		var(--tkcd-background-alt);
	border-color: #353535;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tkcd-product-card::before {
	content: "";
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--tkcd-accent), transparent);
	opacity: 0;
	transition: opacity 180ms ease;
}

.tkcd-product-card:hover {
	transform: translateY(-4px);
	border-color: #505050;
	box-shadow: 0 20px 42px rgba(0, 0, 0, 0.34);
}

.tkcd-product-card:hover::before {
	opacity: 1;
}

.tkcd-product-image-link {
	position: relative;
	aspect-ratio: 4 / 5;
	background:
		radial-gradient(circle at 50% 35%, #252525 0, #111 58%, #090909 100%);
}

.tkcd-product-image-link::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 24%;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
	pointer-events: none;
}

.tkcd-product-card-body {
	padding: 1.1rem 1.15rem 1.2rem;
}

.tkcd-product-title {
	font-size: clamp(1rem, 1.15vw, 1.22rem);
	letter-spacing: -0.015em;
}

.tkcd-product-price {
	font-size: 1.05rem;
	font-weight: 800;
}

.tkcd-product-price ins {
	color: #ff4245;
	text-decoration: none;
}

.tkcd-product-button {
	min-width: 150px;
	padding-inline: 1.15rem;
	box-shadow: 0 8px 18px rgba(188, 1, 2, 0.2);
	transition: transform 150ms ease, filter 150ms ease, box-shadow 150ms ease;
}

.tkcd-product-button:hover,
.tkcd-product-button:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 11px 22px rgba(188, 1, 2, 0.3);
}

.tkcd-product-card--featured {
	background:
		linear-gradient(145deg, rgba(188, 1, 2, 0.09), rgba(255,255,255,0.02) 38%),
		var(--tkcd-background-alt);
}


.tkcd-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	background: #141414;
	border: 1px solid var(--tkcd-border-colour);
	border-radius: var(--tkcd-border-radius);
}

.tkcd-toolbar .tkcd-product-count {
	margin: 0;
	font-weight: 700;
}

.tkcd-sort-label {
	display: inline-flex;
	gap: 0.65rem;
	align-items: center;
	font-weight: 700;
}

.tkcd-sort-select {
	min-height: 42px;
	padding: 0.45rem 2.25rem 0.45rem 0.75rem;
	color: var(--tkcd-body-colour);
	background-color: #222;
	border: 1px solid #464646;
	border-radius: 8px;
	font: inherit;
}

.tkcd-sort-select:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.tkcd-status {
	min-height: 1.5rem;
	margin: 0 0 0.5rem;
	color: #d7d7d7;
	font-size: 0.95rem;
}

.tkcd-navigation {
	display: flex;
	justify-content: center;
	margin-top: 2rem;
}

.tkcd-load-more {
	display: inline-flex;
	gap: 0.65rem;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 48px;
	padding: 0.75rem 1.25rem;
	color: #fff;
	background: var(--tkcd-accent);
	border: 2px solid var(--tkcd-accent);
	border-radius: var(--tkcd-button-radius);
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(188, 1, 2, 0.25);
}

.tkcd-load-more:hover,
.tkcd-load-more:focus-visible {
	filter: brightness(1.12);
}

.tkcd-load-more:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.tkcd-load-more:disabled {
	cursor: wait;
	opacity: 0.75;
}

.tkcd-button-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: tkcd-spin 700ms linear infinite;
}

.tkcd-load-more[aria-busy="true"] .tkcd-button-spinner {
	display: inline-block;
}

.tkcd-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.tkcd-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0.4rem 0.75rem;
	color: var(--tkcd-body-colour);
	background: #1a1a1a;
	border: 1px solid #404040;
	border-radius: 8px;
	text-decoration: none;
}

.tkcd-pagination .page-numbers.current {
	color: #fff;
	background: var(--tkcd-accent);
	border-color: var(--tkcd-accent);
}

.tkcd-pagination .page-numbers:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.tkcd-collection.is-loading .tkcd-product-grid {
	opacity: 0.58;
	pointer-events: none;
}

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

@media (max-width: 600px) {
	.tkcd-toolbar {
		align-items: stretch;
	}

	.tkcd-sort-label {
		width: 100%;
		flex-direction: column;
		align-items: flex-start;
	}

	.tkcd-sort-select {
		width: 100%;
	}
}


/* v0.6 filters */
.tkcd-filter-toggle {
	display: none;
	width: 100%;
	min-height: 44px;
	margin: 0 0 0.75rem;
	color: #fff;
	background: #1b1b1b;
	border: 1px solid #444;
	border-radius: 8px;
	font: inherit;
	font-weight: 800;
}

.tkcd-filters {
	margin: 0 0 1rem;
	padding: 1rem;
	background: #121212;
	border: 1px solid var(--tkcd-border-colour);
	border-radius: var(--tkcd-border-radius);
}

.tkcd-filter-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
}

.tkcd-filter-grid label {
	display: grid;
	gap: 0.35rem;
	font-weight: 700;
}

.tkcd-filter-grid select,
.tkcd-filter-grid input {
	width: 100%;
	min-height: 42px;
	padding: 0.45rem 0.7rem;
	color: var(--tkcd-body-colour);
	background: #222;
	border: 1px solid #454545;
	border-radius: 8px;
	font: inherit;
}

.tkcd-filter-actions {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
}

.tkcd-apply-filters,
.tkcd-clear-filters {
	min-height: 42px;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.tkcd-apply-filters {
	color: #fff;
	background: var(--tkcd-accent);
	border: 1px solid var(--tkcd-accent);
}

.tkcd-clear-filters {
	color: var(--tkcd-body-colour);
	background: transparent;
	border: 1px solid #4a4a4a;
}

/* v0.6 card tightening */
.tkcd-product-image-link {
	aspect-ratio: 1 / 1.08;
}

.tkcd-product-card-body {
	align-items: center;
	padding: 0.9rem 0.95rem 1rem;
	text-align: center;
}

.tkcd-product-title {
	margin-bottom: 0.35rem;
}

.tkcd-product-price {
	margin-bottom: 0.75rem;
}

.tkcd-product-button {
	min-width: 0;
	min-height: 40px;
	padding: 0.55rem 1rem;
	font-size: 0.95rem;
	box-shadow: none;
}

.tkcd-load-more {
	min-width: 0;
	min-height: 42px;
	padding: 0.6rem 1rem;
	color: var(--tkcd-body-colour);
	background: #181818;
	border-color: #4a4a4a;
	box-shadow: none;
}

.tkcd-load-more:hover,
.tkcd-load-more:focus-visible {
	color: #fff;
	background: var(--tkcd-accent);
	border-color: var(--tkcd-accent);
}

@media (max-width: 900px) {
	.tkcd-filter-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.tkcd-filter-toggle {
		display: block;
	}

	.tkcd-filters {
		display: none;
	}

	.tkcd-filters.is-open {
		display: block;
	}

	.tkcd-filter-grid {
		grid-template-columns: 1fr;
	}

	.tkcd-filter-actions {
		flex-direction: column;
	}

	.tkcd-apply-filters,
	.tkcd-clear-filters {
		width: 100%;
	}
}


/* v0.7 native select readability */
.tkcd-sort-select,
.tkcd-filter-grid select {
	color-scheme: dark;
}

.tkcd-sort-select option,
.tkcd-filter-grid select option {
	color: #111;
	background: #fff;
}

@media (prefers-color-scheme: dark) {
	.tkcd-sort-select option,
	.tkcd-filter-grid select option {
		color: #111;
		background: #fff;
	}
}


/* v0.9 product intelligence and auto-filter polish */
.tkcd-filter-actions {
	justify-content: flex-end;
}

.tkcd-clear-filters {
	min-width: 110px;
}

.tkcd-product-meta {
	margin: 0 0 0.3rem;
	color: #b9b9b9;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.tkcd-stock-status {
	margin: -0.15rem 0 0.75rem;
	font-size: 0.86rem;
	font-weight: 700;
}

.tkcd-stock-status.is-in-stock {
	color: #b8e8bf;
}

.tkcd-stock-status.is-out-of-stock {
	color: #ffb0b0;
}

.tkcd-card-actions {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: auto;
}

.tkcd-badges {
	position: absolute;
	z-index: 3;
	top: 0.7rem;
	left: 0.7rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	pointer-events: none;
}

.tkcd-badge {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 0.25rem 0.55rem;
	color: #fff;
	background: rgba(10, 10, 10, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	backdrop-filter: blur(4px);
}

.tkcd-badge:first-child {
	background: var(--tkcd-accent);
	border-color: var(--tkcd-accent);
}

.tkcd-product-price del {
	opacity: 0.62;
	font-weight: 600;
}

.tkcd-product-price ins {
	margin-left: 0.35rem;
	font-weight: 900;
}

.tkcd-quick-add.added::after {
	content: " ✓";
}

.tkcd-product-card-body {
	min-height: 176px;
}

@media (max-width: 600px) {
	.tkcd-filter-actions {
		align-items: stretch;
	}

	.tkcd-clear-filters {
		width: 100%;
	}
}


/* v1.0.0 design families and queued control fixes */
.tkcd-sort-select {
	color: #fff !important;
	background-color: #191919 !important;
	border: 1px solid #555 !important;
	box-shadow: none !important;
}
.tkcd-sort-select:focus,
.tkcd-sort-select:focus-visible {
	color: #fff !important;
	background-color: #191919 !important;
	border-color: #aaa !important;
	box-shadow: 0 0 0 2px rgba(255,255,255,.18) !important;
}
.tkcd-family-options { width:100%; margin:.2rem 0 .8rem; text-align:center; }
.tkcd-family-label { display:block; margin-bottom:.4rem; color:#aaa; font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.tkcd-family-links { display:flex; flex-wrap:wrap; justify-content:center; gap:.4rem; }
.tkcd-family-links a { display:inline-flex; align-items:center; min-height:30px; padding:.3rem .65rem; color:#fff; background:#222; border:1px solid #555; border-radius:999px; font-size:.78rem; font-weight:700; text-decoration:none; }
.tkcd-family-links a:hover,
.tkcd-family-links a:focus-visible,
.tkcd-family-links a.is-current { color:#fff; background:var(--tkcd-accent); border-color:var(--tkcd-accent); }
@media (max-width:600px) {
	.tkcd-filter-toggle {
		width:auto !important;
		max-width:240px;
		min-height:46px !important;
		margin:0 auto 1rem;
		padding:.7rem 1.25rem !important;
		border-radius:10px !important;
		font-size:.95rem !important;
		letter-spacing:.04em;
	}
}


/* v1.1.0 related collections */
.tkcd-related-collections { margin-top: 3rem; }
.tkcd-related-heading { margin:0 0 1.25rem; color:#fff; font-size:clamp(1.45rem,2vw,2rem); line-height:1.2; text-align:center; }
.tkcd-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.tkcd-related-card { overflow:hidden; background:#151515; border:1px solid #333; border-radius:14px; }
.tkcd-related-card-link { display:block; height:100%; color:inherit; text-decoration:none; }
.tkcd-related-media { aspect-ratio:16/10; overflow:hidden; background:#222; }
.tkcd-related-image { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.tkcd-related-placeholder { display:flex; align-items:center; justify-content:center; width:100%; height:100%; background:#202020; color:#777; font-size:3rem; font-weight:900; }
.tkcd-related-body { padding:1rem; }
.tkcd-related-body h3 { margin:0 0 .45rem; color:#fff; font-size:1.1rem; line-height:1.25; }
.tkcd-related-body p { margin:0 0 .8rem; color:#bbb; font-size:.92rem; line-height:1.5; }
.tkcd-related-cta { color:#fff; font-size:.82rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.tkcd-related-card-link:hover .tkcd-related-image,
.tkcd-related-card-link:focus-visible .tkcd-related-image { transform:scale(1.035); }
.tkcd-related-card-link:hover .tkcd-related-cta,
.tkcd-related-card-link:focus-visible .tkcd-related-cta { color:var(--tkcd-accent); }
@media (max-width:820px) { .tkcd-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:560px) {
	.tkcd-related-collections { margin-top:2.25rem; }
	.tkcd-related-grid { grid-template-columns:1fr; }
	.tkcd-related-card { border-radius:12px; }
}


/* v1.3.0 pre-final product card styling */
.tkcd-grid { align-items:stretch; gap:clamp(1rem,2vw,1.5rem); }
.tkcd-product-card { display:flex; flex-direction:column; height:100%; overflow:hidden; background:linear-gradient(180deg,#151515 0%,#111 100%); border:1px solid #343434; border-radius:12px; box-shadow:0 10px 24px rgba(0,0,0,.18); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.tkcd-product-card:hover { transform:translateY(-3px); border-color:#4a4a4a; box-shadow:0 16px 32px rgba(0,0,0,.26); }
.tkcd-product-card:focus-within { border-color:var(--tkcd-accent); box-shadow:0 0 0 2px rgba(188,1,2,.25); }
.tkcd-product-media,.tkcd-product-image-wrap { position:relative; overflow:hidden; aspect-ratio:4/5; background:#0b0b0b; }
.tkcd-product-media img,.tkcd-product-image-wrap img,.tkcd-product-image { display:block; width:100%; height:100%; object-fit:contain; object-position:center; transition:transform .25s ease; }
.tkcd-product-card:hover .tkcd-product-media img,.tkcd-product-card:hover .tkcd-product-image-wrap img,.tkcd-product-card:hover .tkcd-product-image { transform:scale(1.018); }
.tkcd-product-content,.tkcd-product-card-body { display:flex; flex:1; flex-direction:column; align-items:center; padding:1.15rem 1.1rem 1.05rem; text-align:center; }
.tkcd-product-title,.tkcd-product-card h3,.tkcd-product-card-title { margin:0; font-size:clamp(1.15rem,1.5vw,1.45rem); font-weight:800; line-height:1.24; text-wrap:balance; }
.tkcd-product-title a,.tkcd-product-card h3 a,.tkcd-product-card-title a { color:#fff; text-decoration:none; }
.tkcd-product-price,.tkcd-price,.tkcd-product-card .price { margin:.55rem 0 0; color:#fff; font-size:1.05rem; font-weight:800; line-height:1.2; }
.tkcd-product-card del,.tkcd-product-card .price del { color:#888; font-size:.92em; opacity:1; }
.tkcd-product-card ins,.tkcd-product-card .price ins { color:#fff; text-decoration:none; }
.tkcd-product-meta,.tkcd-card-meta { margin-top:.65rem; color:#aaa; font-size:.82rem; line-height:1.35; }
.tkcd-product-actions,.tkcd-card-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:.55rem; width:100%; margin-top:auto; padding-top:1rem; }
.tkcd-product-card .button,.tkcd-product-card button,.tkcd-product-card .tkcd-button,.tkcd-product-card .add_to_cart_button { min-height:44px; padding:.72rem 1.15rem; border-radius:999px; font-size:.95rem; font-weight:800; line-height:1; white-space:nowrap; }
.tkcd-format-label,.tkcd-family-label { margin-top:.9rem; color:#999; font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.tkcd-format-links,.tkcd-family-links { display:flex; flex-wrap:wrap; justify-content:center; gap:.45rem; margin-top:.45rem; }
.tkcd-format-link,.tkcd-family-link { display:inline-flex; align-items:center; justify-content:center; min-height:34px; padding:.45rem .75rem; border:1px solid #3b3b3b; border-radius:999px; background:#1a1a1a; color:#fff; font-size:.8rem; font-weight:800; line-height:1; text-decoration:none; transition:background .18s ease,border-color .18s ease; }
.tkcd-format-link:hover,.tkcd-format-link:focus-visible,.tkcd-family-link:hover,.tkcd-family-link:focus-visible,.tkcd-format-link.is-active,.tkcd-family-link.is-active { background:var(--tkcd-accent); border-color:var(--tkcd-accent); color:#fff; }
.tkcd-badges,.tkcd-product-badges { position:absolute; top:.75rem; left:.75rem; z-index:2; display:flex; flex-wrap:wrap; gap:.4rem; max-width:calc(100% - 1.5rem); }
.tkcd-badge,.tkcd-product-badge { padding:.42rem .65rem; border-radius:999px; background:rgba(0,0,0,.82); color:#fff; font-size:.68rem; font-weight:900; letter-spacing:.04em; line-height:1; text-transform:uppercase; backdrop-filter:blur(4px); }
.tkcd-badge.is-sale,.tkcd-product-badge.is-sale { background:var(--tkcd-accent); }
.tkcd-related-collections { margin-top:clamp(2.5rem,5vw,4rem); }
.tkcd-related-heading { margin-bottom:1.35rem; font-size:clamp(1.55rem,2.4vw,2.2rem); }
.tkcd-related-grid { gap:1.1rem; }
.tkcd-related-card { background:linear-gradient(180deg,#171717 0%,#121212 100%); border-radius:12px; box-shadow:0 10px 24px rgba(0,0,0,.16); }
.tkcd-related-media { aspect-ratio:16/8.5; }
.tkcd-related-placeholder { font-size:2.4rem; }
.tkcd-related-body { padding:1rem 1rem 1.1rem; }
.tkcd-related-body h3 { font-size:1.08rem; }
.tkcd-related-body p { margin-bottom:.75rem; font-size:.88rem; line-height:1.45; }
.tkcd-related-cta { font-size:.76rem; letter-spacing:.055em; opacity:.9; }
.tkcd-filter-toggle { min-height:44px; padding:.7rem 1.15rem; font-size:.95rem; }
@media (min-width:1100px) { .tkcd-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .tkcd-product-card { max-width:390px; width:100%; justify-self:center; } }
@media (max-width:900px) { .tkcd-product-title,.tkcd-product-card h3,.tkcd-product-card-title { font-size:clamp(1.1rem,2.5vw,1.3rem); } }
@media (max-width:620px) {
.tkcd-grid { grid-template-columns:1fr; gap:1.1rem; }
.tkcd-product-card { width:calc(100% - 2rem); max-width:430px; margin-inline:auto; }
.tkcd-product-media,.tkcd-product-image-wrap { aspect-ratio:4/4.65; }
.tkcd-product-content,.tkcd-product-card-body { padding:1rem .95rem .95rem; }
.tkcd-product-title,.tkcd-product-card h3,.tkcd-product-card-title { font-size:clamp(1.2rem,5vw,1.4rem); line-height:1.22; }
.tkcd-product-price,.tkcd-price,.tkcd-product-card .price { font-size:1rem; }
.tkcd-product-card .button,.tkcd-product-card button,.tkcd-product-card .tkcd-button,.tkcd-product-card .add_to_cart_button { min-height:42px; padding:.68rem 1.05rem; font-size:.92rem; }
.tkcd-related-grid { grid-template-columns:1fr; }
.tkcd-related-card { width:calc(100% - 1rem); max-width:430px; margin-inline:auto; }
.tkcd-related-media { aspect-ratio:16/8; }
.tkcd-related-body { padding:.95rem; }
.tkcd-filter-toggle { width:auto; max-width:220px; min-height:42px; padding:.65rem 1rem; font-size:.9rem; }
.tkcd-wrapper,.tkcd-display { padding-bottom:5.5rem; }
}
@media (prefers-reduced-motion:reduce) { .tkcd-product-card,.tkcd-product-media img,.tkcd-product-image-wrap img,.tkcd-product-image,.tkcd-related-image { transition:none; } }


/* v1.4.0 merchandising */
.tkcd-badge.is-custom,
.tkcd-product-badge.is-custom {
	background: #f2f2f2;
	color: #111;
	border: 1px solid rgba(255,255,255,.35);
}


/* v1.5.0 analytics and wishlist */
.tkcd-product-card { position: relative; }
.tkcd-wishlist-toggle {
	position:absolute; top:.75rem; right:.75rem; z-index:5;
	display:inline-flex; align-items:center; justify-content:center;
	width:40px; height:40px; min-height:0!important; padding:0!important;
	border:1px solid rgba(255,255,255,.28); border-radius:999px;
	background:rgba(0,0,0,.72); color:#fff; font-size:1.35rem!important;
	line-height:1!important; cursor:pointer; backdrop-filter:blur(5px);
}
.tkcd-wishlist-toggle:hover,.tkcd-wishlist-toggle:focus-visible,.tkcd-wishlist-toggle.is-active {
	background:var(--tkcd-accent); border-color:var(--tkcd-accent); color:#fff;
}
.tkcd-wishlist-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.25rem; }
.tkcd-wishlist-card { overflow:hidden; background:#151515; border:1px solid #333; border-radius:12px; }
.tkcd-wishlist-card-link { display:block; color:inherit; text-decoration:none; }
.tkcd-wishlist-card-media { aspect-ratio:4/5; overflow:hidden; background:#0b0b0b; }
.tkcd-wishlist-card-media img { display:block; width:100%; height:100%; object-fit:contain; }
.tkcd-wishlist-card-body { padding:1rem; text-align:center; }
.tkcd-wishlist-card-body h3 { margin:0; color:#fff; font-size:1.1rem; }
.tkcd-wishlist-price { margin:.5rem 0 0; color:#fff; font-weight:800; }
.tkcd-wishlist-remove {
	display:block; margin:0 auto 1rem; padding:.6rem .95rem;
	border:1px solid #444; border-radius:999px; background:#1d1d1d;
	color:#fff; font-weight:700; cursor:pointer;
}
.tkcd-wishlist-empty,.tkcd-wishlist-loading { padding:2rem; text-align:center; }
@media(max-width:820px){.tkcd-wishlist-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){
	.tkcd-wishlist-grid{grid-template-columns:1fr;}
	.tkcd-wishlist-card{width:calc(100% - 2rem);max-width:430px;margin-inline:auto;}
}


/* v2.0.0 final wishlist */
.tkcd-wishlist-card-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: .65rem;
	padding: 0 1rem 1rem;
}

.tkcd-wishlist-cta,
.tkcd-wishlist-email-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: .7rem 1rem;
	border: 1px solid var(--tkcd-accent);
	border-radius: 999px;
	background: var(--tkcd-accent);
	color: #fff;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
}

.tkcd-wishlist-remove {
	margin: 0;
	background: transparent;
}

.tkcd-wishlist-email-panel {
	margin-top: 2.5rem;
	padding: clamp(1.15rem, 3vw, 2rem);
	background: #151515;
	border: 1px solid #333;
	border-radius: 12px;
}

.tkcd-wishlist-email-panel h2 {
	margin-top: 0;
	color: #fff;
}

.tkcd-wishlist-email-form {
	display: grid;
	gap: 1rem;
}

.tkcd-wishlist-form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.tkcd-wishlist-email-form label {
	display: grid;
	gap: .4rem;
	color: #fff;
	font-weight: 700;
}

.tkcd-wishlist-email-form input,
.tkcd-wishlist-email-form textarea {
	width: 100%;
	padding: .8rem;
	border: 1px solid #444;
	border-radius: 8px;
	background: #0f0f0f;
	color: #fff;
}

.tkcd-wishlist-email-submit {
	justify-self: start;
}

.tkcd-wishlist-email-submit:disabled {
	opacity: .65;
	cursor: wait;
}

.tkcd-wishlist-email-status {
	min-height: 1.4em;
	color: #ddd;
}

.tkcd-floating-wishlist {
	position: fixed;
	right: 1rem;
	bottom: 5.6rem;
	z-index: 9997;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 999px;
	background: #181818;
	color: #fff;
	box-shadow: 0 10px 28px rgba(0,0,0,.35);
	text-decoration: none;
}

.tkcd-floating-wishlist:hover,
.tkcd-floating-wishlist:focus-visible {
	background: var(--tkcd-accent);
	color: #fff;
}

.tkcd-floating-wishlist-icon {
	font-size: 1.35rem;
	line-height: 1;
}

.tkcd-floating-wishlist-count {
	position: absolute;
	top: -4px;
	right: -4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 21px;
	height: 21px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--tkcd-accent);
	color: #fff;
	font-size: .72rem;
	font-weight: 900;
}

/* v2.2.6 desktop floating-wishlist clearance
 * Keep the wishlist above the site's separate floating basket widget and
 * lock its circular dimensions against theme or third-party button styles.
 * Mobile positioning remains controlled by the existing narrow-screen rule.
 */
@media (min-width: 900px) {
	.tkcd-floating-wishlist {
		right: 1.25rem;
		bottom: 6rem;
		width: 52px;
		min-width: 52px;
		height: 52px;
		min-height: 52px;
		padding: 0;
		box-sizing: border-box;
		flex: 0 0 52px;
		line-height: 1;
	}
}

@media (max-width: 620px) {
	.tkcd-wishlist-form-row {
		grid-template-columns: 1fr;
	}

	.tkcd-floating-wishlist {
		right: 1rem;
		bottom: 6rem;
		width: 48px;
		height: 48px;
	}
}

.tkcd-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important;}


/* v2.1.0 generic facets */
.tkcd-filter-group {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.tkcd-filter-label {
	display: block;
	margin-bottom: .45rem;
	color: #fff;
	font-weight: 800;
}

.tkcd-filter-values {
	display: grid;
	gap: .45rem;
	max-height: 220px;
	overflow: auto;
	padding: .25rem .15rem;
}

.tkcd-filter-values label {
	display: flex;
	align-items: center;
	gap: .55rem;
	color: #ddd;
	font-weight: 600;
}

.tkcd-filter-values input {
	width: 18px;
	height: 18px;
	accent-color: var(--tkcd-accent);
}

.tkcd-filter-values small {
	color: #999;
}

.tkcd-price-fields {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: .65rem;
}

@media(max-width:620px) {
	.tkcd-price-fields { grid-template-columns: 1fr; }
}


/* v2.1.1 customer filter interface */
.tkcd-filter-shell {
	margin: 0 0 1.25rem;
}

.tkcd-filter-bar {
	display: flex;
	align-items: center;
	gap: .75rem;
	min-height: 58px;
	padding: .65rem .8rem;
	background: #121212;
	border: 1px solid #333;
	border-radius: 10px;
}

.tkcd-filter-toggle {
	display: inline-flex !important;
	align-items: center;
	gap: .65rem;
	width: auto;
	min-height: 42px;
	margin: 0;
	padding: .65rem .95rem;
	color: #fff;
	background: #1d1d1d;
	border: 1px solid #494949;
	border-radius: 999px;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
	white-space: nowrap;
}

.tkcd-filter-toggle:hover,
.tkcd-filter-toggle:focus-visible {
	background: #272727;
	border-color: #777;
}

.tkcd-filter-toggle-icon {
	position: relative;
	width: 17px;
	height: 14px;
	border-top: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}

.tkcd-filter-toggle-icon::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 3px;
	width: 11px;
	border-top: 2px solid currentColor;
}

.tkcd-filter-active-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--tkcd-accent);
	color: #fff;
	font-size: .75rem;
	font-weight: 900;
}

.tkcd-active-filters {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	gap: .45rem;
	min-width: 0;
}

.tkcd-filter-chip {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	min-height: 34px;
	padding: .38rem .7rem;
	color: #eee;
	background: #202020;
	border: 1px solid #454545;
	border-radius: 999px;
	font: inherit;
	font-size: .83rem;
	font-weight: 700;
	cursor: pointer;
}

.tkcd-filter-chip:hover,
.tkcd-filter-chip:focus-visible {
	color: #fff;
	border-color: var(--tkcd-accent);
}

.tkcd-clear-filters--bar {
	flex: 0 0 auto;
	min-width: 0;
	min-height: 38px;
	padding: .45rem .75rem;
	border: 0;
	color: #cfcfcf;
	font-size: .82rem;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.tkcd-filters {
	position: relative;
	margin: .65rem 0 0;
	padding: 0;
	background: #111;
	border: 1px solid #333;
	border-radius: 12px;
	box-shadow: 0 20px 48px rgba(0,0,0,.35);
	overflow: hidden;
}

.tkcd-filters[hidden] {
	display: none !important;
}

.tkcd-filter-panel-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.1rem;
	border-bottom: 1px solid #303030;
}

.tkcd-filter-panel-header strong {
	display: block;
	color: #fff;
	font-size: 1rem;
}

.tkcd-filter-panel-header span {
	display: block;
	margin-top: .2rem;
	color: #aaa;
	font-size: .83rem;
}

.tkcd-filter-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	color: #ddd;
	background: #1e1e1e;
	border: 1px solid #444;
	border-radius: 999px;
	font-size: 1.45rem;
	line-height: 1;
	cursor: pointer;
}

.tkcd-filter-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: .75rem;
	padding: 1rem 1.1rem;
}

.tkcd-filter-group {
	min-width: 0;
	margin: 0;
	padding: 0;
	background: #171717;
	border: 1px solid #363636;
	border-radius: 9px;
	overflow: hidden;
}

.tkcd-filter-group[open],
.tkcd-filter-group.has-selection {
	border-color: #565656;
}

.tkcd-filter-group summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .7rem;
	min-height: 48px;
	padding: .72rem .8rem;
	color: #fff;
	font-weight: 800;
	cursor: pointer;
	list-style: none;
}

.tkcd-filter-group summary::-webkit-details-marker {
	display: none;
}

.tkcd-filter-group summary::after {
	content: "+";
	flex: 0 0 auto;
	color: #aaa;
	font-size: 1.15rem;
	font-weight: 400;
}

.tkcd-filter-group[open] summary::after {
	content: "−";
}

.tkcd-filter-group-summary {
	margin-left: auto;
	color: #aaa;
	font-size: .72rem;
	font-weight: 700;
	white-space: nowrap;
}

.tkcd-filter-group-body {
	padding: 0 .8rem .85rem;
	border-top: 1px solid #292929;
}

.tkcd-filter-values {
	display: grid;
	gap: 0;
	max-height: 210px;
	overflow: auto;
	padding: .35rem 0 0;
	scrollbar-width: thin;
	scrollbar-color: #666 #1a1a1a;
}

.tkcd-filter-values label {
	display: grid;
	grid-template-columns: 20px minmax(0,1fr) auto;
	align-items: center;
	gap: .55rem;
	min-height: 39px;
	padding: .34rem .2rem;
	color: #ddd;
	font-weight: 600;
	cursor: pointer;
}

.tkcd-filter-values label + label {
	border-top: 1px solid #242424;
}

.tkcd-filter-values input {
	width: 17px;
	height: 17px;
	margin: 0;
	accent-color: var(--tkcd-accent);
}

.tkcd-filter-values small {
	min-width: 26px;
	padding: .13rem .36rem;
	color: #aaa;
	background: #222;
	border-radius: 999px;
	font-size: .7rem;
	text-align: center;
}

.tkcd-filter-group-body select,
.tkcd-filter-group-body input[type="number"] {
	width: 100%;
	min-height: 42px;
	padding: .55rem .65rem;
	color: #fff;
	background: #202020;
	border: 1px solid #484848;
	border-radius: 7px;
	font: inherit;
}

.tkcd-price-fields {
	display: grid;
	grid-template-columns: repeat(2,minmax(0,1fr));
	gap: .6rem;
	padding-top: .7rem;
}

.tkcd-price-fields label {
	display: grid;
	gap: .35rem;
	color: #bbb;
	font-size: .78rem;
	font-weight: 700;
}

.tkcd-filter-actions {
	display: flex;
	justify-content: flex-end;
	gap: .65rem;
	margin: 0;
	padding: .85rem 1.1rem;
	border-top: 1px solid #303030;
}

.tkcd-filter-actions .tkcd-clear-filters,
.tkcd-filter-done {
	min-height: 42px;
	padding: .6rem 1rem;
	border-radius: 999px;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}

.tkcd-filter-actions .tkcd-clear-filters {
	min-width: 0;
	color: #ddd;
	background: transparent;
	border: 1px solid #4b4b4b;
}

.tkcd-filter-done {
	color: #fff;
	background: var(--tkcd-accent);
	border: 1px solid var(--tkcd-accent);
}

html.tkcd-filter-lock {
	overflow: hidden;
}

@media (max-width: 1000px) {
	.tkcd-filter-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}

@media (max-width: 700px) {
	.tkcd-filter-bar {
		flex-wrap: wrap;
	}

	.tkcd-filter-toggle {
		flex: 1 1 auto;
		justify-content: center;
		max-width: none;
	}

	.tkcd-active-filters {
		order: 3;
		flex-basis: 100%;
	}

	.tkcd-clear-filters--bar {
		margin-left: auto;
	}

	.tkcd-filters {
		position: fixed;
		z-index: 9999;
		inset: 0;
		margin: 0;
		border: 0;
		border-radius: 0;
		overflow: auto;
	}

	.tkcd-filter-panel-header {
		position: sticky;
		z-index: 2;
		top: 0;
		background: #111;
	}

	.tkcd-filter-grid {
		grid-template-columns: 1fr;
		padding: .85rem;
	}

	.tkcd-filter-group summary {
		min-height: 52px;
	}

	.tkcd-filter-actions {
		position: sticky;
		bottom: 0;
		background: #111;
		box-shadow: 0 -10px 24px rgba(0,0,0,.45);
	}

	.tkcd-filter-actions .tkcd-clear-filters,
	.tkcd-filter-done {
		flex: 1;
	}
}

@media (max-width: 430px) {
	.tkcd-filter-bar {
		padding: .55rem;
	}

	.tkcd-filter-chip {
		font-size: .78rem;
	}

	.tkcd-price-fields {
		grid-template-columns: 1fr;
	}
}


/* v2.2.0 automatic design families */
.tkcd-family-options {
	margin-top: .85rem;
	padding-top: .75rem;
	border-top: 1px solid rgba(255,255,255,.12);
}

.tkcd-family-label {
	display: block;
	margin-bottom: .45rem;
	color: #aaa;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.tkcd-family-links {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}

.tkcd-family-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: .4rem .65rem;
	border: 1px solid #444;
	border-radius: 999px;
	background: #191919;
	color: #ddd;
	font-size: .76rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.tkcd-family-links a:hover,
.tkcd-family-links a:focus-visible {
	border-color: var(--tkcd-accent);
	color: #fff;
}

.tkcd-family-links a.is-current {
	border-color: var(--tkcd-accent);
	background: var(--tkcd-accent);
	color: #fff;
}


/* v2.2.2 grouped design journey */
.tkcd-filter-active-count[hidden] {
	display: none !important;
}

.tkcd-family-label {
	text-transform: none;
	letter-spacing: 0;
	font-size: .82rem;
}

.tkcd-family-links a[aria-current="true"] {
	pointer-events: none;
	cursor: default;
}

/* v2.2.5 mobile grouped-card containment
 * Grouped cards contain more content than ordinary cards. On narrow layouts,
 * cards and grid rows must use intrinsic height so the collection wrapper ends
 * after the complete card rather than after a prematurely stretched row.
 */
@media (max-width: 620px) {
	.tkcd-collection,
	.tkcd-collection .tkcd-product-grid,
	.tkcd-collection .tkcd-featured-grid {
		height: auto !important;
		min-height: 0;
		max-height: none !important;
		overflow: visible;
	}

	.tkcd-collection .tkcd-product-grid,
	.tkcd-collection .tkcd-featured-grid {
		grid-auto-rows: auto !important;
		align-items: start;
		align-content: start;
	}

	.tkcd-collection .tkcd-product-card {
		height: auto !important;
		min-height: 0;
		max-height: none !important;
		align-self: start;
	}

	.tkcd-collection .tkcd-product-card-body,
	.tkcd-collection .tkcd-family-options,
	.tkcd-collection .tkcd-family-links,
	.tkcd-collection .tkcd-card-actions {
		position: relative;
		height: auto !important;
		min-height: 0;
		max-height: none !important;
		inset: auto;
		transform: none;
	}

	.tkcd-collection .tkcd-product-card-body {
		flex: 0 0 auto;
	}

	.tkcd-collection .tkcd-card-actions {
		margin-top: 1rem;
		padding-top: 0;
	}
}


/* v2.2.5 shortcode-root flow guard */
@media (max-width: 620px) {
	.tkcd-collection,
	.tkcd-collection .tkcd-main-section,
	.tkcd-collection .tkcd-product-grid,
	.tkcd-collection .tkcd-featured-grid {
		display: flow-root;
		clear: both;
		contain: layout;
	}

	.tkcd-collection .tkcd-product-grid,
	.tkcd-collection .tkcd-featured-grid {
		display: grid;
	}

	.tkcd-collection .tkcd-product-card,
	.tkcd-collection .tkcd-product-card-body {
		overflow: visible;
	}
}


/* v2.2.6 AJAX loading indicator */
.tkcd-ajax-loader {
	position: fixed;
	z-index: 100000;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 1rem;
	background: rgba(0, 0, 0, 0.48);
	backdrop-filter: blur(1px);
	-webkit-backdrop-filter: blur(1px);
}

.tkcd-ajax-loader[hidden] {
	display: none !important;
}

.tkcd-ajax-loader__panel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	max-width: min(90vw, 360px);
	padding: 0.9rem 1.15rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: #111;
	color: #fff;
	box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.25;
	text-align: center;
}

.tkcd-ajax-loader__spinner {
	width: 22px;
	height: 22px;
	flex: 0 0 22px;
	box-sizing: border-box;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-top-color: #fff;
	border-radius: 50%;
	animation: tkcd-spin 750ms linear infinite;
}

@media (prefers-reduced-motion: reduce) {
	.tkcd-ajax-loader__spinner {
		animation-duration: 1.5s;
	}
}
