/* SHC Bundles: offer cards above the Add to cart button, bundle rows, design picker. */

body.shc-pdp .shc-bndl,
body.shc-pdp.single-product div.product .summary .shc-bndl {
	margin: 28px 0 0 !important;
	font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
	color: #13120D;
}
body.shc-pdp .shc-bndl + form.cart {
	margin-top: 20px !important;
}
body.shc-pdp .shc-bndl__title {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}
body.shc-pdp .shc-bndl__offers {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* ---- Offer card ---- */
body.shc-pdp .shc-bndl__offer {
	position: relative;
	border: 1px solid #C4A880;
	border-radius: 4px;
	background: #FFFFFF;
	transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
body.shc-pdp .shc-bndl__offer:hover {
	border-color: #253716;
}
body.shc-pdp .shc-bndl__offer.is-selected {
	border-color: #253716;
	background: #FBF8EF;
	box-shadow: inset 0 0 0 1px #253716;
}
body.shc-pdp .shc-bndl__badge {
	position: absolute;
	top: -10px;
	right: 12px;
	padding: 3px 9px;
	border-radius: 999px;
	background: #253716;
	color: #FFF9DD;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
	z-index: 1;
}
body.shc-pdp .shc-bndl__head {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 14px 14px;
	cursor: pointer;
}
body.shc-pdp .shc-bndl__radio {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: inherit;
}
body.shc-pdp .shc-bndl__dot {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	border: 1.5px solid #C4A880;
	border-radius: 999px;
	background: #FFFFFF;
	box-sizing: border-box;
}
body.shc-pdp .shc-bndl__offer.is-selected .shc-bndl__dot {
	border-color: #253716;
	background: radial-gradient(circle, #253716 0 5px, #FFFFFF 5.5px);
}
body.shc-pdp .shc-bndl__radio:focus-visible ~ .shc-bndl__dot {
	outline: 2px solid #253716;
	outline-offset: 2px;
}
body.shc-pdp .shc-bndl__thumbs {
	flex: 0 0 auto;
	display: flex;
}
body.shc-pdp .shc-bndl__thumb {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border: 2px solid #FFFFFF;
	border-radius: 4px;
	background: #F4F1EA;
	box-shadow: 0 0 0 1px #EBE2D0;
}
body.shc-pdp .shc-bndl__thumb + .shc-bndl__thumb {
	margin-left: -14px;
}
body.shc-pdp .shc-bndl__text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
body.shc-pdp .shc-bndl__label {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}
body.shc-pdp .shc-bndl__sub {
	font-size: 13px;
	line-height: 1.35;
	color: #6B6152;
}
body.shc-pdp .shc-bndl__price {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 1px;
	text-align: right;
}
body.shc-pdp .shc-bndl__now {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
}
body.shc-pdp .shc-bndl__was {
	font-size: 13px;
	line-height: 1.2;
	color: #8A7F6E;
}
body.shc-pdp .shc-bndl__save {
	margin-top: 3px;
	padding: 2px 7px;
	border-radius: 999px;
	background: #F6E7C8;
	color: #6A2C13;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
	white-space: nowrap;
}

/* ---- Items in the selected bundle ---- */
body.shc-pdp .shc-bndl__items {
	margin: 0 14px;
	padding: 4px 0 14px;
	border-top: 1px solid #EBE2D0;
}
body.shc-pdp .shc-bndl__items[hidden] {
	display: none;
}
body.shc-pdp .shc-bndl__row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 0 0;
}
body.shc-pdp .shc-bndl__rowimg {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 4px;
	background: #F4F1EA;
	box-shadow: 0 0 0 1px #EBE2D0;
}
body.shc-pdp .shc-bndl__rowbody {
	flex: 1 1 auto;
	min-width: 0;
}
body.shc-pdp .shc-bndl__rowname {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 6px;
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
}
body.shc-pdp .shc-bndl__rowkind {
	font-weight: 700;
}
body.shc-pdp .shc-bndl__rownote {
	margin: 4px 0 0;
	font-size: 13px;
	line-height: 1.35;
	color: #6B6152;
}
body.shc-pdp .shc-bndl__jump,
body.shc-pdp .shc-bndl__change {
	padding: 0;
	border: 0;
	background: none;
	color: #253716;
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
body.shc-pdp .shc-bndl__change {
	margin-left: auto;
}
body.shc-pdp .shc-bndl__jump:hover,
body.shc-pdp .shc-bndl__change:hover,
body.shc-pdp .shc-bndl__jump:focus,
body.shc-pdp .shc-bndl__change:focus {
	background: none;
	color: #13120D;
}
body.shc-pdp .shc-bndl__fields {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}
body.shc-pdp .shc-bndl__select {
	flex: 1 1 110px;
	min-width: 0;
	height: 40px;
	margin: 0;
	padding: 0 30px 0 10px;
	border: 1px solid #C4A880;
	border-radius: 2px;
	background-color: #FFFFFF;
	color: #13120D;
	font-family: inherit;
	font-size: 14px;
	line-height: 1;
}
body.shc-pdp .shc-bndl__select.is-empty {
	color: #6B6152;
}
body.shc-pdp .shc-bndl__select:focus {
	outline: 2px solid #253716;
	outline-offset: 1px;
	border-color: #253716;
}
body.shc-pdp .shc-bndl__row.is-nudged .shc-bndl__select.is-empty {
	border-color: #6A2C13;
}
body.shc-pdp .shc-bndl__nudge,
body.shc-pdp .shc-bndl__error {
	margin: 8px 0 0;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	color: #6A2C13;
}
body.shc-pdp .shc-bndl__nudge[hidden],
body.shc-pdp .shc-bndl__error[hidden] {
	display: none;
}
body.shc-pdp .shc-bndl__loading {
	font-size: 13px;
	color: #6B6152;
}

/* ---- While a bundle is selected: one of each, and the button says what it adds ---- */
body.shc-pdp.shc-bndl-on form.cart .quantity {
	display: none !important;
}
/* Apple Pay / Google Pay buy this one item straight away, so they wait for "Single". */
body.shc-pdp.shc-bndl-on .wcpay-express-checkout-wrapper,
body.shc-pdp.shc-bndl-on #wcpay-express-checkout-element,
body.shc-pdp.shc-bndl-on .wc-stripe-product-checkout-container {
	display: none !important;
}
body.shc-pdp.shc-bndl-on form.cart .single_add_to_cart_button[data-shc-label] {
	font-size: 0 !important;
}
body.shc-pdp.shc-bndl-on form.cart .single_add_to_cart_button[data-shc-label]::after {
	content: attr(data-shc-label);
	font-size: var(--shc-bndl-fs, 15px);
}
body.shc-pdp.shc-bndl-on .shc-pdp-sticky__btn[data-shc-label],
body.shc-pdp.shc-bndl-on .shc-pdp-sticky__sub[data-shc-label] {
	font-size: 0 !important;
}
body.shc-pdp.shc-bndl-on .shc-pdp-sticky__btn[data-shc-label]::after {
	content: attr(data-shc-label);
	font-size: var(--shc-bndl-sbfs, 14px);
}
body.shc-pdp.shc-bndl-on .shc-pdp-sticky__sub[data-shc-label]::after {
	content: attr(data-shc-label);
	font-size: var(--shc-bndl-ssfs, 13px);
}

/* ---- Design picker ---- */
.shc-bndl-pick {
	width: min(640px, calc(100vw - 32px));
	max-height: min(80vh, 720px);
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: #FFFFFF;
	color: #13120D;
	font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
	box-shadow: 0 24px 60px rgba(19, 18, 13, 0.25);
	overflow: hidden;
}
.shc-bndl-pick[open] {
	display: flex;
	flex-direction: column;
}
.shc-bndl-pick::backdrop {
	background: rgba(19, 18, 13, 0.45);
}
.shc-bndl-pick__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid #EBE2D0;
}
.shc-bndl-pick__title {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
}
.shc-bndl-pick__close {
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #13120D;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
}
.shc-bndl-pick__close:hover,
.shc-bndl-pick__close:focus {
	background: #F4F1EA;
	color: #13120D;
}
.shc-bndl-pick__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
	gap: 12px;
	padding: 16px 20px 20px;
	overflow-y: auto;
}
.shc-bndl-pick__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	padding: 8px;
	border: 1px solid #EBE2D0;
	border-radius: 4px;
	background: #FFFFFF;
	color: #13120D;
	font: inherit;
	text-align: left;
	cursor: pointer;
}
.shc-bndl-pick__item:hover,
.shc-bndl-pick__item:focus {
	border-color: #253716;
	background: #FFFFFF;
	color: #13120D;
}
.shc-bndl-pick__item[aria-pressed="true"] {
	border-color: #253716;
	box-shadow: inset 0 0 0 1px #253716;
}
.shc-bndl-pick__item img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 2px;
	background: #F4F1EA;
}
.shc-bndl-pick__name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}
.shc-bndl-pick__price {
	font-size: 13px;
	color: #6B6152;
}
.shc-bndl-pick__tick {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #253716;
	color: #FFF9DD;
	font-size: 11px;
	font-weight: 600;
}

@media (max-width: 480px) {
	body.shc-pdp .shc-bndl__head {
		gap: 10px;
		padding: 14px 12px;
	}
	body.shc-pdp .shc-bndl__thumb {
		width: 34px;
		height: 34px;
	}
	body.shc-pdp .shc-bndl__items {
		margin: 0 12px;
	}
	.shc-bndl-pick__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 12px 16px 16px;
	}
}
@media (prefers-reduced-motion: reduce) {
	body.shc-pdp .shc-bndl__offer {
		transition: none;
	}
}

/* Link to the Build your bundle page. */
body.shc-pdp .shc-bndl__build {
	display: inline-block;
	margin-top: 12px;
	color: #253716;
	font-size: 13px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}
body.shc-pdp .shc-bndl__build::after {
	content: " \2192";
}
body.shc-pdp .shc-bndl__build:hover,
body.shc-pdp .shc-bndl__build:focus {
	color: #13120D;
}
