.haystack-suite-product .bundle_form {
	margin-bottom: 0;
}

.haystack-suite-framing {
	border: 0;
	margin: 0 0 1.5rem;
	padding: 0;
}

.haystack-suite-framing legend {
	border: 0;
	color: #111;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.2;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.haystack-suite-framing__choices {
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(4, minmax(56px, 68px));
}

.haystack-suite-framing__choice {
	cursor: pointer;
	margin: 0;
	min-width: 0;
}

.haystack-suite-framing__choice input {
	border: 0 !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	white-space: nowrap !important;
	width: 1px !important;
}

.haystack-suite-framing__card {
	align-items: center;
	background: #fff;
	box-sizing: border-box;
	color: #111;
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	padding: 5px 5px 7px;
	transition: border-color 150ms ease, box-shadow 150ms ease;
}

.haystack-suite-framing__card img {
	display: block;
	height: 50px;
	width: 50px;
}

.haystack-suite-framing__label {
	font-size: 11px;
	line-height: 1.15;
	overflow-wrap: anywhere;
	text-align: center;
}

.haystack-suite-framing__price {
	color: #6f6a61;
	font-size: 10px;
	line-height: 1.15;
	min-height: 1.15em;
	white-space: nowrap;
}

.haystack-suite-framing__note {
	font-size: 14px;
	line-height: 1.45;
	margin: 10px 0 0;
	max-width: 30rem;
}

/* Product Bundles remains the form and inventory engine. Its six variation
 * rows stay in the DOM so the master framing control can synchronize them. */
.haystack-suite-product .bundle_form.haystack-suite-framing-ready .bundled_product_summary {
	display: none;
}

.haystack-suite-product .bundle_form .bundle_wrap {
	border-top: 0;
	margin-top: 0;
	padding-top: 0;
}

.haystack-suite-product .bundle_form .bundle_availability .stock {
	color: #756653;
	font-size: 14px;
	line-height: 1.3;
	margin: 0 0 12px;
}

.haystack-suite-product .bundle_form .bundle_wrap.haystack-suite-purchase-row {
	align-items: center;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(0, 1fr);
	margin: 0 0 24px;
	max-width: 296px;
}

.haystack-suite-product .bundle_form .haystack-suite-purchase-row > .price {
	grid-column: 1;
	margin: 0;
}

.haystack-suite-product .bundle_form .haystack-suite-purchase-row > :is(.bundle_price, .bundle_error, .bundle_availability) {
	grid-column: 1 / -1;
}

.haystack-suite-product .bundle_form .haystack-suite-purchase-row .bundle_button {
	display: block;
	grid-column: 1;
}

.haystack-suite-product .bundle_form .single_add_to_cart_button {
	min-height: 48px;
	padding-left: 18px;
	padding-right: 18px;
	white-space: nowrap;
	width: 100%;
}

.haystack-suite-contents {
	border-top: 1px solid #d8d4cd;
	clear: both;
	padding-bottom: clamp(64px, 7vw, 96px);
	padding-top: clamp(64px, 7vw, 96px);
}

.haystack-suite-contents__header {
	display: grid;
	column-gap: 18px;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	margin-bottom: clamp(28px, 4vw, 48px);
	row-gap: 12px;
}

.haystack-suite-contents__header h2 {
	font-family: "Victor Serif", serif;
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 400;
	line-height: 1.05;
	margin: 0;
}

.haystack-suite-contents__header .haystack-suite-framing--secondary {
	align-self: start;
	grid-column: 2;
	grid-row: 1 / 3;
	justify-self: end;
	margin: 0;
	width: 296px;
}

.haystack-suite-contents__header p {
	font-size: 17px;
	grid-column: 1;
	grid-row: 2;
	line-height: 1.5;
	margin: 0;
	max-width: 44rem;
}

.haystack-suite-contents__grid {
	display: grid;
	gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.haystack-suite-card {
	min-width: 0;
}

.haystack-suite-card__image {
	align-items: center;
	background: #f2f2f2;
	display: flex;
	height: clamp(280px, 30vw, 430px);
	justify-content: center;
	margin-bottom: 18px;
	overflow: hidden;
	padding: clamp(20px, 3vw, 42px);
}

.haystack-suite-card__image img {
	--haystack-suite-frame-rail: clamp(4px, .45vw, 7px);
	--haystack-suite-mat-width: clamp(7px, .7vw, 10px);
	border: 0 solid transparent;
	box-sizing: border-box;
	display: block;
	height: auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.haystack-suite-contents[data-haystack-frame="unframed"] .haystack-suite-card__image img {
	background: transparent;
	border-image: none;
	box-shadow: none;
	padding: 0;
}

.haystack-suite-contents:not([data-haystack-frame]) .haystack-suite-card__image img,
.haystack-suite-contents[data-haystack-frame="black"] .haystack-suite-card__image img,
.haystack-suite-contents[data-haystack-frame="white"] .haystack-suite-card__image img,
.haystack-suite-contents[data-haystack-frame="natural"] .haystack-suite-card__image img {
	background-color: #fafaf9;
	border-image-repeat: stretch;
	border-image-width: 1;
	border-style: solid;
	border-width: var(--haystack-suite-frame-rail);
	box-shadow: 0 8px 18px rgba(31, 27, 20, .2);
	padding: var(--haystack-suite-mat-width);
}

.haystack-suite-contents[data-haystack-frame="black"] .haystack-suite-card__image img {
	border-image-slice: 130;
	border-image-source: url("images/framing/frame-approved-black.webp?v=1");
}

.haystack-suite-contents:not([data-haystack-frame]) .haystack-suite-card__image img,
.haystack-suite-contents[data-haystack-frame="white"] .haystack-suite-card__image img {
	border-image-slice: 116;
	border-image-source: url("images/framing/frame-approved-white.webp?v=1");
}

.haystack-suite-contents[data-haystack-frame="natural"] .haystack-suite-card__image img {
	border-image-slice: 130;
	border-image-source: url("images/framing/frame-approved-natural.webp?v=1");
}

.haystack-suite-card__copy {
	display: flex;
	gap: 14px;
	justify-content: space-between;
}

.haystack-suite-card__copy h3 {
	font-family: "Victor Serif", serif;
	font-size: clamp(22px, 2vw, 30px);
	font-weight: 400;
	line-height: 1.1;
	margin: 0;
}

.haystack-suite-card__link {
	align-self: flex-start;
	color: #236f73;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	line-height: 1.3;
	padding-top: 5px;
	text-transform: uppercase;
	white-space: nowrap;
}

@media (max-width: 900px) {
	.haystack-suite-contents__header {
		display: block;
	}

	.haystack-suite-contents__header p {
		margin-top: 14px;
		max-width: 38rem;
	}

	.haystack-suite-contents__header .haystack-suite-framing--secondary {
		justify-self: start;
		margin-top: 24px;
	}
}

@media (max-width: 767px) {
	.haystack-suite-contents {
		padding-left: 20px;
		padding-right: 20px;
	}

	.haystack-suite-contents__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.haystack-suite-card__image {
		height: 52vw;
		padding: 16px;
	}

	.haystack-suite-card__copy {
		display: block;
	}

	.haystack-suite-card__copy h3 {
		font-size: 20px;
	}

	.haystack-suite-card__link {
		display: inline-block;
		margin-top: 8px;
	}
}

@media (max-width: 420px) {
	.haystack-suite-framing__choices {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.haystack-suite-contents__grid {
		column-gap: 14px;
		row-gap: 32px;
	}

	.haystack-suite-card__image {
		height: 48vw;
		margin-bottom: 12px;
		padding: 12px;
	}

	.haystack-suite-card__copy h3 {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.haystack-suite-card__image img {
		transition: none;
	}
}

.haystack-suite-contents--pair .haystack-suite-contents__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bundle_form:not(.haystack-suite-framing-ready) > .haystack-suite-framing { display: none; }

/* Match the set's chosen no-mat preview in its component cards. */
.haystack-no-preview-mat .haystack-suite-contents .haystack-suite-card__image img {
  --haystack-suite-mat-width: 0px;
  padding: 0;
}
