/**
 * SEWARD product variation cards v1.0.4
 * Presentation-only overrides for the global WooCommerce product renderer.
 */

.swc200-store .swc-product-form {
	margin-top: 24px;
}

.swc200-store .swc-finish-selector {
	background: #fff;
}

.swc200-store .swc-finish-selector legend {
	margin: 0 0 14px;
	color: #0b0d0e;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .09em;
	line-height: 1.25;
}

.swc200-store .swc-finish-selector legend span {
	color: #aab0b8;
	font-weight: 800;
	letter-spacing: .04em;
}

.swc200-store .swc-finish-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	border-top: 1px solid #cfd4da;
	border-left: 1px solid #cfd4da;
	background: #fff;
}

.swc200-store .swc-finish-option {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-width: 0;
	min-height: 292px;
	margin: 0;
	padding: 26px 12px 16px;
	overflow: hidden;
	border: 0;
	border-right: 1px solid #cfd4da;
	border-bottom: 1px solid #cfd4da;
	border-radius: 0;
	background: #fff;
	box-shadow: none;
	color: #090b0c;
	text-align: center;
	touch-action: manipulation;
	transition: background-color 180ms ease, color 180ms ease;
}

.swc200-store .swc-finish-option::before,
.swc200-store .swc-finish-option::after {
	position: absolute;
	right: 0;
	left: 0;
	content: "";
	pointer-events: none;
}

.swc200-store .swc-finish-option::before {
	top: 0;
	height: 18px;
	background: #090b0c;
	opacity: 0;
}

.swc200-store .swc-finish-option::after {
	bottom: 0;
	height: 4px;
	background: #ed1b24;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 180ms ease;
}

.swc200-store .swc-finish-option:hover {
	border-color: #cfd4da;
	background: #fafafa;
	box-shadow: none;
}

.swc200-store .swc-finish-option:focus-visible {
	z-index: 2;
	outline: 3px solid #ed1b24;
	outline-offset: -3px;
	border-color: #cfd4da;
	box-shadow: none;
}

.swc200-store .swc-finish-option.is-active,
.swc200-store .swc-finish-option[aria-pressed="true"] {
	border-color: #cfd4da;
	background: #fff;
	box-shadow: none;
}

.swc200-store .swc-finish-option.is-active::before,
.swc200-store .swc-finish-option[aria-pressed="true"]::before {
	opacity: 1;
}

.swc200-store .swc-finish-option.is-active::after,
.swc200-store .swc-finish-option[aria-pressed="true"]::after {
	transform: scaleX(1);
}

.swc200-store .swc-finish-option__image {
	display: flex;
	flex: 0 0 auto;
	grid-row: auto;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	margin: 0 0 11px;
	overflow: hidden;
	background: #fff;
}

.swc200-store .swc-finish-option__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
	object-fit: contain;
	object-position: 50% 50%;
	transform: none;
	mix-blend-mode: normal;
}

.swc200-store .swc-finish-option strong {
	display: -webkit-box;
	min-width: 0;
	min-height: 34px;
	margin: 0;
	overflow: hidden;
	color: #090b0c;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: .025em;
	line-height: 1.3;
	text-align: center;
	text-transform: uppercase;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.swc200-store .swc-finish-option small {
	display: block;
	min-width: 0;
	margin: 7px 0 0;
	overflow: visible;
	color: #7f8791;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .025em;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
}

.swc200-store .swc-product-form__buyline,
.swc200-store .swc-product-attributes {
	background: #fff;
}

/*
 * Product attributes stay fully dynamic. The WooCommerce rows are only
 * rearranged into compact specification cards so values remain close to
 * their labels on wide screens.
 */
.swc200-store .swc-product-data-section {
	margin-top: 30px;
	overflow: hidden;
	border: 1px solid #cfd4da;
	background: #fff;
}

.swc200-store .swc-product-data-section > h2 {
	position: relative;
	margin: 0;
	padding: 18px 20px 16px 34px;
	border-bottom: 1px solid #cfd4da;
	background: #fff;
	color: #090b0c;
	font-size: 16px;
	font-weight: 900;
	letter-spacing: .075em;
	line-height: 1.2;
	text-transform: uppercase;
}

.swc200-store .swc-product-data-section > h2::before {
	position: absolute;
	top: 17px;
	bottom: 15px;
	left: 18px;
	width: 4px;
	background: #ed1b24;
	content: "";
}

.swc200-store .swc-product-attributes,
.swc200-store .swc-product-attributes table,
.swc200-store .swc-product-attributes tbody {
	width: 100%;
	margin: 0;
	border: 0;
	background: #fff;
}

.swc200-store .swc-product-attributes table,
.swc200-store .swc-product-attributes tbody {
	display: block;
}

.swc200-store .swc-product-attributes tbody {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.swc200-store .swc-product-attributes tr {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 104px;
	padding: 18px 20px 17px;
	border: 0;
	border-right: 1px solid #d9dde1;
	border-bottom: 1px solid #d9dde1;
	background: #fff;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

.swc200-store .swc-product-attributes tr::before {
	position: absolute;
	top: 0;
	right: 20px;
	left: 20px;
	height: 3px;
	background: #0b0d0e;
	content: "";
}

.swc200-store .swc-product-attributes th,
.swc200-store .swc-product-attributes td {
	display: block;
	width: 100%;
	min-width: 0;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
}

.swc200-store .swc-product-attributes th {
	margin-top: 7px;
	color: #6f7781;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .09em;
	line-height: 1.25;
	text-transform: uppercase;
}

.swc200-store .swc-product-attributes td {
	margin-top: 9px;
	color: #090b0c;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.swc200-store .swc-product-attributes td p,
.swc200-store .swc-product-attributes td span {
	display: inline;
	margin: 0;
	padding: 0;
}

@media (max-width: 720px) {
	.swc200-store .swc-product-form {
		margin-top: 24px;
	}

	.swc200-store .swc-finish-selector legend {
		margin-bottom: 13px;
		font-size: 12px;
	}

	.swc200-store .swc-finish-option {
		min-height: 206px;
		padding: 23px 7px 14px;
	}

	.swc200-store .swc-finish-option::before {
		height: 14px;
	}

	.swc200-store .swc-finish-option__image {
		height: auto;
		margin-bottom: 10px;
	}

	.swc200-store .swc-finish-option strong {
		min-height: 36px;
		font-size: clamp(11px, 3.15vw, 13px);
		line-height: 1.35;
	}

	.swc200-store .swc-finish-option small {
		margin-top: 6px;
		font-size: clamp(9.5px, 2.7vw, 11px);
	}
}

@media (max-width: 359px) {
	.swc200-store .swc-finish-option {
		min-height: 194px;
		padding-inline: 5px;
	}

	.swc200-store .swc-finish-option__image {
		height: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.swc200-store .swc-finish-option,
	.swc200-store .swc-finish-option::after {
		transition: none;
	}
}

/*
 * The storefront owner emits part of its product CSS after normal enqueued
 * styles. This body-scoped layer intentionally wins by specificity while
 * remaining limited to single-product pages.
 */
body.single-product.swc200-store .swc-finish-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 0 !important;
}

body.single-product.swc200-store main {
	background: #fff !important;
	background-image: none !important;
}

body.single-product.swc200-store .swc-product-form__buyline {
	background: #fff !important;
}

body.single-product.swc200-store .swc-finish-option {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	min-height: 292px !important;
	padding: 26px 12px 16px !important;
	border: 0 !important;
	border-right: 1px solid #cfd4da !important;
	border-bottom: 1px solid #cfd4da !important;
	background: #fff !important;
	box-shadow: none !important;
	text-align: center;
}

body.single-product.swc200-store .swc-finish-option:hover,
body.single-product.swc200-store .swc-finish-option:focus-visible,
body.single-product.swc200-store .swc-finish-option.is-active,
body.single-product.swc200-store .swc-finish-option[aria-pressed="true"] {
	border: 0 !important;
	border-right: 1px solid #cfd4da !important;
	border-bottom: 1px solid #cfd4da !important;
	background: #fff !important;
	box-shadow: none !important;
}

body.single-product.swc200-store .swc-finish-option__image {
	display: flex !important;
	grid-row: auto;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	margin: 0 0 11px;
	overflow: hidden !important;
	background: #fff !important;
}

body.single-product.swc200-store .swc-finish-option__image img {
	position: static !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: 0 !important;
	object-fit: contain !important;
	object-position: 50% 50% !important;
	transform: none !important;
	mix-blend-mode: normal;
}

body.single-product.swc200-store .swc-product-data-section {
	overflow: hidden !important;
	background: #fff !important;
}

body.single-product.swc200-store .swc-product-data-section > h2,
body.single-product.swc200-store .swc-product-attributes,
body.single-product.swc200-store .swc-product-attributes table,
body.single-product.swc200-store .swc-product-attributes tbody,
body.single-product.swc200-store .swc-product-attributes tr,
body.single-product.swc200-store .swc-product-attributes th,
body.single-product.swc200-store .swc-product-attributes td {
	background: #fff !important;
}

body.single-product.swc200-store .swc-product-attributes tbody {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)) !important;
}

body.single-product.swc200-store .swc-product-attributes tr {
	display: flex !important;
	min-height: 104px !important;
	padding: 18px 20px 17px !important;
	border: 0 !important;
	border-right: 1px solid #d9dde1 !important;
	border-bottom: 1px solid #d9dde1 !important;
	flex-direction: column !important;
	align-items: flex-start !important;
}

body.single-product.swc200-store .swc-product-attributes th,
body.single-product.swc200-store .swc-product-attributes td {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	padding: 0 !important;
	border: 0 !important;
	text-align: left !important;
}

body.single-product.swc200-store .swc-product-attributes th {
	margin-top: 7px !important;
}

body.single-product.swc200-store .swc-product-attributes td {
	margin-top: 9px !important;
}

body.single-product.swc200-store .swc-finish-option strong {
	display: -webkit-box;
	min-height: 34px;
	margin: 0;
	font-size: 13px;
	line-height: 1.3;
	text-align: center;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.single-product.swc200-store .swc-finish-option small {
	display: block;
	margin: 7px 0 0;
	overflow: visible;
	font-size: 11px;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
}

@media (max-width: 720px) {
	body.single-product.swc200-store .swc-finish-option {
		min-height: 206px !important;
		padding: 23px 7px 14px !important;
	}

	body.single-product.swc200-store .swc-finish-option__image {
		height: auto !important;
		margin-bottom: 10px;
	}

	body.single-product.swc200-store .swc-product-data-section {
		margin-top: 22px;
	}

	body.single-product.swc200-store .swc-product-data-section > h2 {
		padding: 16px 17px 14px 31px;
		font-size: 14px;
	}

	body.single-product.swc200-store .swc-product-data-section > h2::before {
		top: 15px;
		bottom: 13px;
		left: 16px;
	}

	body.single-product.swc200-store .swc-product-attributes tbody {
		grid-template-columns: 1fr !important;
	}

	body.single-product.swc200-store .swc-product-attributes tr {
		min-height: 88px !important;
		padding: 15px 16px 14px !important;
		border-right: 0 !important;
	}

	body.single-product.swc200-store .swc-product-attributes tr::before {
		right: 16px;
		left: 16px;
	}

	body.single-product.swc200-store .swc-product-attributes td {
		margin-top: 7px !important;
		font-size: 14px;
	}

	body.single-product.swc200-store .swc-finish-option strong {
		min-height: 36px;
		font-size: clamp(11px, 3.15vw, 13px);
		line-height: 1.35;
	}

	body.single-product.swc200-store .swc-finish-option small {
		margin-top: 6px;
		font-size: clamp(9.5px, 2.7vw, 11px);
	}
}

@media (max-width: 359px) {
	body.single-product.swc200-store .swc-finish-option {
		min-height: 194px !important;
		padding-inline: 5px !important;
	}

	body.single-product.swc200-store .swc-finish-option__image {
		height: auto !important;
	}
}
