/**
 * K2Fish Store UX public commerce components.
 *
 * Every selector is rooted in a Store UX-owned component. Theme-specific
 * collision rules live only in the active theme adapter.
 */
.k2fish-store-ux,
.k2fish-store-grid,
.k2fish-store-card,
.k2fish-store-single-variation,
.k2fish-store-description,
.k2fish-store-attributes,
.k2fish-store-relations,
.k2fish-store-support-cta {
	--k2fish-store-navy: #06243d;
	--k2fish-store-blue: #00afd4;
	--k2fish-store-blue-dark: #078eaf;
	--k2fish-store-soft: #eefbfe;
	--k2fish-store-border: #dfeaf0;
	--k2fish-store-muted: #64748b;
	--k2fish-store-success: #177245;
	--k2fish-store-danger: #a61b1b;
	--k2fish-store-card-bg: #fff;
	--k2fish-store-shadow: 0 10px 30px rgba(6, 36, 61, .08);
	box-sizing: border-box;
}

.k2fish-store-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 24px);
	width: 100%;
	margin: 24px 0;
	padding: 0;
	list-style: none;
}

.k2fish-store-grid--desktop-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.k2fish-store-grid--desktop-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.k2fish-store-grid--desktop-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.k2fish-store-grid--desktop-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.k2fish-store-grid--desktop-6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.k2fish-store-card {
	min-width: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.k2fish-store-card__surface {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--k2fish-store-border);
	border-radius: 2px;
	background: var(--k2fish-store-card-bg);
	box-shadow: var(--k2fish-store-shadow);
	color: var(--k2fish-store-navy);
}

.k2fish-store-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 1 / 1;
	background: #f5f8fa;
}

.k2fish-store-card--ratio-portrait .k2fish-store-card__media {
	aspect-ratio: 4 / 5;
}

.k2fish-store-card--ratio-landscape .k2fish-store-card__media {
	aspect-ratio: 4 / 3;
}

.k2fish-store-card__image {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	transition: opacity .24s ease, transform .24s ease;
}

.k2fish-store-card__image--secondary {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.k2fish-store-card__media:hover .k2fish-store-card__image--primary {
	opacity: 0;
}

.k2fish-store-card__media:hover .k2fish-store-card__image--secondary {
	opacity: 1;
}

.k2fish-store-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 9px;
	min-width: 0;
	padding: clamp(13px, 1.6vw, 18px);
}

.k2fish-store-card__brand {
	color: var(--k2fish-store-blue-dark);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .055em;
	line-height: 1.3;
	text-transform: uppercase;
}

.k2fish-store-card__title {
	margin: 0;
	color: var(--k2fish-store-navy);
	font-size: clamp(15px, 1.2vw, 18px);
	font-weight: 800;
	line-height: 1.25;
}

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

.k2fish-store-card__title a:hover {
	color: var(--k2fish-store-blue-dark);
}

.k2fish-store-card__excerpt,
.k2fish-store-card__annotation {
	margin: 0;
	color: var(--k2fish-store-muted);
	font-size: 13px;
	line-height: 1.45;
}

.k2fish-store-card__annotation {
	padding: 9px 10px;
	border-radius: 2px;
	background: var(--k2fish-store-soft);
	color: var(--k2fish-store-navy);
}

.k2fish-store-card__commerce {
	display: grid;
	gap: 4px;
	margin-top: auto;
}

.k2fish-store-card__price {
	min-height: 1.5em;
	color: var(--k2fish-store-navy);
	font-size: clamp(16px, 1.4vw, 20px);
	font-weight: 900;
	line-height: 1.3;
}

.k2fish-store-card__price del {
	margin-right: 5px;
	color: var(--k2fish-store-muted);
	font-size: .78em;
	font-weight: 500;
	opacity: .8;
}

.k2fish-store-card__price ins {
	color: var(--k2fish-store-blue-dark);
	text-decoration: none;
}

.k2fish-store-card__sku,
.k2fish-store-card__stock {
	color: var(--k2fish-store-muted);
	font-size: 12px;
	line-height: 1.35;
}

.k2fish-store-card__stock.is-in-stock {
	color: var(--k2fish-store-success);
}

.k2fish-store-card__stock.is-out-of-stock {
	color: var(--k2fish-store-danger);
}

.k2fish-store-card__badges {
	position: absolute;
	z-index: 2;
	top: 10px;
	left: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: calc(100% - 20px);
}

.k2fish-store-badge {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 4px 9px;
	border-radius: 2px;
	background: var(--k2fish-store-navy);
	color: #fff;
	font-size: 11px;
	font-weight: 900;
	line-height: 1;
}

.k2fish-store-badge--sale {
	background: var(--k2fish-store-blue-dark);
}

.k2fish-store-badge--stock {
	background: var(--k2fish-store-danger);
}

.k2fish-store-badge--backorder,
.k2fish-store-badge--relation {
	background: #fff;
	box-shadow: 0 2px 8px rgba(6, 36, 61, .16);
	color: var(--k2fish-store-navy);
}

.k2fish-store-card__actions,
.k2fish-store-variation-selector__actions,
.k2fish-store-variation-card__actions {
	display: flex;
	align-items: stretch;
	gap: 8px;
	width: 100%;
	margin-top: 4px;
}

.k2fish-store-card__quantity,
.k2fish-store-variation-card__actions .k2fish-store-card__quantity {
	flex: 0 0 58px;
}

.k2fish-store-card__quantity input {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--k2fish-store-border);
	border-radius: 2px;
	background: #fff;
	color: var(--k2fish-store-navy);
	text-align: center;
}

.k2fish-store-card__button,
.k2fish-store-support-cta__button {
	display: inline-flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 9px 13px;
	border: 1px solid var(--k2fish-store-blue);
	border-radius: 2px;
	background: var(--k2fish-store-blue);
	color: #fff;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.k2fish-store-card__button:hover,
.k2fish-store-card__button:focus-visible,
.k2fish-store-support-cta__button:hover,
.k2fish-store-support-cta__button:focus-visible {
	border-color: var(--k2fish-store-blue-dark);
	background: var(--k2fish-store-blue-dark);
	color: #fff;
}

.k2fish-store-card__button--secondary {
	border-color: var(--k2fish-store-border);
	background: #fff;
	color: var(--k2fish-store-navy);
}

.k2fish-store-card__button:disabled,
.k2fish-store-variation-option:disabled {
	cursor: not-allowed;
	opacity: .52;
}

.k2fish-store-card__button:focus-visible,
.k2fish-store-card__title a:focus-visible,
.k2fish-store-card__media:focus-visible,
.k2fish-store-variation-option:focus-visible,
.k2fish-store-variation-select:focus-visible,
.k2fish-store-card__quantity input:focus-visible,
.k2fish-store-support-cta__button:focus-visible {
	outline: 3px solid rgba(0, 175, 212, .45);
	outline-offset: 2px;
}

.k2fish-store-variation-selector,
.k2fish-store-single-variation {
	display: grid;
	gap: 10px;
	min-width: 0;
}

.k2fish-store-variation-selector__controls,
.k2fish-store-single-variation__controls {
	display: grid;
	gap: 10px;
}

.k2fish-store-variation-field {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.k2fish-store-variation-field legend,
.k2fish-store-variation-field > label {
	color: var(--k2fish-store-navy);
	font-size: 12px;
	font-weight: 800;
}

.k2fish-store-variation-options {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.k2fish-store-variation-option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 6px 10px;
	border: 1px solid var(--k2fish-store-border);
	border-radius: 2px;
	background: #fff;
	color: var(--k2fish-store-navy);
	font-size: 12px;
	font-weight: 800;
	cursor: pointer;
}

.k2fish-store-variation-option.is-selected,
.k2fish-store-variation-option[aria-selected="true"] {
	border-color: var(--k2fish-store-blue);
	background: var(--k2fish-store-soft);
	box-shadow: inset 0 0 0 1px var(--k2fish-store-blue);
}

.k2fish-store-variation-option__image {
	width: 34px;
	height: 34px;
	margin-right: 6px;
	border-radius: 2px;
	object-fit: cover;
}

.k2fish-store-variation-select {
	width: 100%;
	min-height: 44px;
	padding: 8px 34px 8px 10px;
	border: 1px solid var(--k2fish-store-border);
	border-radius: 2px;
	background-color: #fff;
	color: var(--k2fish-store-navy);
}

.k2fish-store-variation-selector__fallback {
	color: var(--k2fish-store-blue-dark);
	font-size: 12px;
	font-weight: 800;
	text-align: center;
}

.k2fish-store-variation-selector__status,
.k2fish-store-single-variation__status {
	min-height: 1.4em;
	margin: 0;
	color: var(--k2fish-store-muted);
	font-size: 12px;
	line-height: 1.4;
}

.k2fish-store-variation-selector__status.is-error,
.k2fish-store-single-variation__status.is-error {
	color: var(--k2fish-store-danger);
}

.k2fish-store-single-variation__reset {
	width: auto;
	margin: 2px 0 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--k2fish-store-blue-dark);
	font-family: inherit;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
	text-decoration: underline;
	cursor: pointer;
}

.k2fish-store-variation-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 10px;
}

.k2fish-store-grid > .k2fish-store-card.is-variation-expanded {
	grid-column: 1 / -1;
}

.k2fish-store-card.is-variation-expanded > .k2fish-store-card__surface {
	overflow: visible;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.k2fish-store-card.is-variation-expanded > .k2fish-store-card__surface > .k2fish-store-card__badges,
.k2fish-store-card.is-variation-expanded > .k2fish-store-card__surface > .k2fish-store-card__media,
.k2fish-store-card.is-variation-expanded .k2fish-store-card__body > .k2fish-store-card__brand,
.k2fish-store-card.is-variation-expanded .k2fish-store-card__body > .k2fish-store-card__title,
.k2fish-store-card.is-variation-expanded .k2fish-store-card__body > .k2fish-store-card__excerpt,
.k2fish-store-card.is-variation-expanded .k2fish-store-card__body > .k2fish-store-card__commerce,
.k2fish-store-card.is-variation-expanded .k2fish-store-card__body > .k2fish-store-card__annotation {
	display: none;
}

.k2fish-store-variation-card {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-width: 0;
	padding: 10px;
	border: 1px solid var(--k2fish-store-border);
	border-radius: 2px;
	background: #fff;
}

.k2fish-store-variation-card__link {
	color: var(--k2fish-store-navy);
	font-size: 12px;
	font-weight: 800;
	line-height: 1.35;
	text-decoration: none;
}

.k2fish-store-variation-card__image {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 2px;
	object-fit: contain;
}

.k2fish-store-variation-card__attributes,
.k2fish-store-variation-card__sku,
.k2fish-store-variation-card__stock {
	color: var(--k2fish-store-muted);
	font-size: 11px;
	line-height: 1.35;
}

.k2fish-store-variation-card__price {
	color: var(--k2fish-store-navy);
	font-weight: 900;
}

.k2fish-store-single-variation {
	margin: 0 0 18px;
	padding: 16px;
	border: 1px solid var(--k2fish-store-border);
	border-radius: 2px;
	background: var(--k2fish-store-soft);
}

.k2fish-store-single-variation h3 {
	margin: 0;
	color: var(--k2fish-store-navy);
	font-size: 17px;
}

.k2fish-store-native-enhanced .variations {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.k2fish-store-description {
	max-width: 920px;
	margin-inline: auto;
	color: var(--k2fish-store-navy);
	font-size: 16px;
	line-height: 1.7;
}

.k2fish-store-description h2,
.k2fish-store-description h3 {
	margin: 1.5em 0 .6em;
	color: var(--k2fish-store-navy);
	line-height: 1.2;
}

.k2fish-store-description--technical h2 {
	padding: 0 0 10px;
	border-bottom: 2px solid var(--k2fish-store-blue);
	font-size: clamp(24px, 3vw, 34px);
}

.k2fish-store-description--technical h3 {
	padding-left: 12px;
	border-left: 4px solid var(--k2fish-store-blue);
}

.k2fish-store-description p,
.k2fish-store-description ul,
.k2fish-store-description ol,
.k2fish-store-description figure,
.k2fish-store-description table {
	margin: 0 0 1.2em;
}

.k2fish-store-description img {
	max-width: 100%;
	height: auto;
}

.k2fish-store-description table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	border-collapse: collapse;
}

.k2fish-store-description th,
.k2fish-store-description td {
	padding: 10px 12px;
	border: 1px solid var(--k2fish-store-border);
	text-align: left;
}

.k2fish-store-description--compact {
	max-width: 760px;
	font-size: 15px;
	line-height: 1.55;
}

.k2fish-store-attributes {
	display: grid;
	margin: 0;
	border: 1px solid var(--k2fish-store-border);
	border-radius: 2px;
	overflow: hidden;
}

.k2fish-store-attributes__row {
	display: grid;
	grid-template-columns: minmax(140px, .45fr) minmax(0, 1fr);
	gap: 16px;
	padding: 13px 16px;
	border-bottom: 1px solid var(--k2fish-store-border);
}

.k2fish-store-attributes__row:last-child {
	border-bottom: 0;
}

.k2fish-store-attributes dt {
	color: var(--k2fish-store-navy);
	font-weight: 800;
}

.k2fish-store-attributes dd {
	margin: 0;
	color: var(--k2fish-store-muted);
}

.k2fish-store-relations {
	clear: both;
	width: 100%;
	margin: clamp(30px, 5vw, 64px) 0;
}

.k2fish-store-relations__header {
	max-width: 760px;
	margin-bottom: 18px;
}

.k2fish-store-relations__header h2 {
	margin: 0 0 8px;
	color: var(--k2fish-store-navy);
	font-size: clamp(25px, 3vw, 38px);
}

.k2fish-store-relations__header p {
	margin: 0;
	color: var(--k2fish-store-muted);
	font-size: 15px;
	line-height: 1.55;
}

.k2fish-store-support-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 32px 0;
	padding: clamp(18px, 3vw, 30px);
	border-radius: 2px;
	background: linear-gradient(135deg, var(--k2fish-store-navy), #08516a);
	color: #fff;
}

.k2fish-store-support-cta h2 {
	margin: 0 0 6px;
	color: #fff;
	font-size: clamp(21px, 3vw, 30px);
}

.k2fish-store-support-cta p {
	margin: 0;
	color: rgba(255, 255, 255, .82);
	line-height: 1.5;
}

.k2fish-store-support-cta__button {
	flex: 0 0 auto;
	min-width: 180px;
}

@media (max-width: 900px) {
	.k2fish-store-grid--tablet-1 {
		grid-template-columns: 1fr;
	}

	.k2fish-store-grid--tablet-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.k2fish-store-grid--tablet-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.k2fish-store-grid--tablet-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.k2fish-store-grid {
		gap: 10px;
	}

	.k2fish-store-grid--mobile-1 {
		grid-template-columns: 1fr;
	}

	.k2fish-store-grid--mobile-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.k2fish-store-card__surface {
		border-radius: 2px;
	}

	.k2fish-store-card__body {
		gap: 7px;
		padding: 11px;
	}

	.k2fish-store-card__actions,
	.k2fish-store-variation-selector__actions,
	.k2fish-store-variation-card__actions {
		flex-direction: column;
	}

	.k2fish-store-card__quantity {
		flex-basis: auto;
	}

	.k2fish-store-card__button {
		width: 100%;
		padding-inline: 8px;
	}

	.k2fish-store-variation-card-grid {
		grid-template-columns: 1fr;
	}

	.k2fish-store-attributes__row {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.k2fish-store-support-cta {
		align-items: stretch;
		flex-direction: column;
	}

	.k2fish-store-support-cta__button {
		width: 100%;
		min-width: 0;
	}
}

@media (max-width: 420px) {
	.k2fish-store-relations .k2fish-store-grid {
		grid-template-columns: 1fr;
	}
}

@media (hover: none) {
	.k2fish-store-card__image--secondary {
		display: none;
	}

	.k2fish-store-card__media:hover .k2fish-store-card__image--primary {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.k2fish-store-card__image {
		transition: none;
	}
}
