/* Seamless Hold Discovery - shared Run-11 recommendation card.
   Interior mirrors the approved Single Product Related Fragrances card.
   Used by Home Bestsellers, Visit Us Featured Fragrances, Find Your
   Inspiration Top Matches and the Cart You May Also Like carousel. */

.shd-rc-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 16px;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.shd-rc-grid > .shd-rc {
	flex: 0 0 calc((100% - 80px) / 6);
	max-width: calc((100% - 80px) / 6);
}

.shd-rc {
	position: relative;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 12px 12px 14px;
	background: #FFFFFF;
	border: 1px solid #E5DCD2;
	border-radius: 3px;
	text-align: center;
	list-style: none;
	font-family: Manrope, sans-serif;
	color: #1C1106;
}

.shd-rc::marker {
	content: none;
}

.shd-rc .shd-rc__media {
	position: relative;
	display: block;
	margin: 0 0 6px;
	line-height: 0;
	background: #FFFFFF;
	text-decoration: none;
}

.shd-rc .shd-rc__media img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

/* Final owner-approved Sale badge, anchored to the image canvas corner. */
.shd-rc .shd-rc__sale {
	position: absolute;
	top: 0;
	right: 2px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	min-height: 42px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background: #A85532;
	color: #FFFFFF;
	font-family: Manrope, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .4px;
	line-height: 1;
}

.shd-rc .shd-rc__title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	margin: 0;
	padding: 0;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: #1C1106;
	overflow-wrap: break-word;
}

.shd-rc .shd-rc__title a {
	color: inherit;
	text-decoration: none;
}

.shd-rc .shd-rc__title a:hover {
	color: #A24522;
}

.shd-rc .shd-rc__insp {
	min-height: 36px;
	margin: 5px 0 0;
	padding: 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: #1C1106;
	overflow-wrap: break-word;
}

.shd-rc .shd-rc__insp-name {
	color: #A24522;
	font-weight: 700;
}

.shd-rc .shd-rc__price {
	margin: auto 0 0;
	padding: 12px 0 0;
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .1px;
	color: #1C1106;
}

.shd-rc .shd-rc__price del {
	margin-right: 4px;
	color: #9C8974;
	font-weight: 400;
}

.shd-rc .shd-rc__price ins {
	text-decoration: none;
}

.shd-rc .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.shd-rc .shd-rc__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	margin: 10px 0 0;
	padding: 11px 8px;
	background: transparent;
	border: 1px solid #A24522;
	border-radius: 3px;
	color: #A24522;
	font-family: Manrope, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .8px;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}

.shd-rc .shd-rc__cta:hover {
	background: #A24522;
	color: #FFFFFF;
}

.shd-rc .shd-rc__cta:focus-visible,
.shd-rc .shd-rc__title a:focus-visible {
	outline: 2px solid #A24522;
	outline-offset: 3px;
}

/* Module blocks + compact tablet/mobile CTA. */
.shd-rc-block {
	width: 100%;
}

.shd-rc-block__cta {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.shd-rc-block__cta--compact {
	display: none;
}

a.shd-rc-btn,
.shd-rc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 13px 30px;
	background: #A24522;
	border: 1px solid #A24522;
	border-radius: 2px;
	color: #FBF8F3;
	font-family: Manrope, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.4px;
	line-height: 1.2;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .18s ease, border-color .18s ease;
}

a.shd-rc-btn:hover,
a.shd-rc-btn:focus-visible {
	background: #86381B;
	border-color: #86381B;
	color: #FBF8F3;
}

a.shd-rc-btn:focus-visible {
	outline: 2px solid #A24522;
	outline-offset: 3px;
}

/* Cart - You May Also Like carousel: 6 visible desktop, 3 tablet, 2 mobile. */
body.sh-cc--cart .sh-carousel--pair .sh-carousel__track {
	gap: 16px;
	align-items: stretch;
}

body.sh-cc--cart .sh-carousel--pair .sh-carousel__track > .shd-rc {
	flex: 0 0 calc((100% - 80px) / 6);
	max-width: none;
	scroll-snap-align: start;
}

@media (max-width: 1024px) {
	.shd-rc-grid {
		gap: 14px;
	}

	.shd-rc-grid > .shd-rc {
		flex-basis: calc((100% - 28px) / 3);
		max-width: calc((100% - 28px) / 3);
	}

	.shd-rc .shd-rc__sale {
		width: 36px;
		height: 36px;
		min-height: 36px;
		font-size: 10.5px;
	}

	.shd-rc-block__cta--compact {
		display: flex;
	}

	body.sh-cc--cart .sh-carousel--pair .sh-carousel__track {
		gap: 14px;
	}

	body.sh-cc--cart .sh-carousel--pair .sh-carousel__track > .shd-rc {
		flex-basis: calc((100% - 28px) / 3);
	}
}

@media (max-width: 767px) {
	.shd-rc-grid {
		gap: 10px;
	}

	.shd-rc-grid > .shd-rc {
		flex-basis: calc((100% - 10px) / 2);
		max-width: calc((100% - 10px) / 2);
	}

	.shd-rc {
		padding: 8px 8px 10px;
	}

	.shd-rc .shd-rc__sale {
		width: 34px;
		height: 34px;
		min-height: 34px;
		font-size: 10px;
	}

	.shd-rc .shd-rc__title {
		min-height: 35px;
		font-size: 14px;
		line-height: 17.5px;
		letter-spacing: .5px;
	}

	.shd-rc .shd-rc__insp {
		min-height: 34px;
		margin-top: 4px;
		font-size: 12px;
		line-height: 1.4;
	}

	.shd-rc .shd-rc__price {
		padding-top: 8px;
		font-size: 14px;
	}

	.shd-rc .shd-rc__cta {
		min-height: 44px;
		padding: 10px 4px;
		font-size: 11px;
		letter-spacing: .5px;
	}

	.shd-rc.shd-rc--hide-mobile {
		display: none !important;
	}

	a.shd-rc-btn,
	.shd-rc-btn {
		padding: 13px 22px;
		letter-spacing: 1.2px;
	}

	body.sh-cc--cart .sh-carousel--pair .sh-carousel__track {
		gap: 10px;
	}

	body.sh-cc--cart .sh-carousel--pair .sh-carousel__track > .shd-rc {
		flex-basis: calc((100% - 10px) / 2);
	}
}

@media (prefers-reduced-motion: reduce) {
	.shd-rc .shd-rc__cta,
	.shd-rc-btn {
		transition: none;
	}
}
