/* Product page upsells — custom/convert/upsells.php. Rules copied from the Convert experiences. The clickable bits
   are real <button>s; the theme gives buttons a fixed height/padding/uppercase, so each one starts from all: unset. */

.sld-upsell-modal button,
.sld-pdp-upsell button {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
}
.sld-upsell-modal button:focus-visible,
.sld-pdp-upsell button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}
.sld-pdp-upsell button:focus-visible {
	outline-color: #034a92;
}

/* ---- Add-to-cart pop-up (was 1004207370 / SLD059) ---- */
.pdp-upsell-modal {
	background: rgba(0, 0, 0, 0.8);
	position: fixed;
	z-index: 2147483647; /* it opens over the mini-cart, which sits at 2147483646 (Convert's 9999 ended up underneath it) */
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.pdp-upsell-container {
	background: rgba(0, 0, 0, 0.5);
	max-width: 280px;
	width: 90vw;
	height: auto;
	max-height: 550px;
	overflow: visible;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	border-radius: 12px;
	position: relative;
	padding: 10px;
}
.pdp-upsell-header {
	color: #fff;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	font-family: Saira, Arial, Helvetica, sans-serif !important;
	margin-bottom: 10px;
}
button.pdp-upsell-exit {
	top: -30px;
	right: 0;
	position: absolute;
	cursor: pointer;
	padding: 0;
	border: 0;
	background: none;
	line-height: 0;
}
.pdp-upsell-container .pdp-upsell-item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 230px;
	position: relative;
}
.pdp-upsell-img img {
	display: block;
	max-width: 100%;
	height: auto;
}
.pdp-upsell-title {
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
	line-height: 20px;
	color: #fff;
	text-align: center;
}
.pdp-upsell-pricing {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.pdp-upsell-price {
	font-size: 13px;
	font-style: normal;
	font-weight: 700;
	line-height: 20px;
	color: #2a931b;
}
.pdp-upsell-price .amount {
	color: inherit;
}
.pdp-upsell-price.before {
	color: #979797;
	text-decoration: line-through;
	font-weight: 500;
}
button.pdp-upsell-no-thanks,
button.pdp-upsell-atc {
	border-radius: 4px;
	display: flex;
	min-height: 45px !important;
	padding: 8px 10px;
	justify-content: center;
	align-items: center;
	color: #fff;
	font-size: 12px;
	line-height: 1;
	font-weight: 600;
	width: 100%;
	cursor: pointer;
}
button.pdp-upsell-no-thanks {
	background: transparent;
	border: 1px solid #fff;
}
button.pdp-upsell-atc {
	background: #ce0f11;
	border: 0;
}
.pdp-upsell-items {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	width: 100%;
}
.pdp-upsell-guarantee {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	font-size: 12px;
	font-family: Saira, Arial, Helvetica, sans-serif !important;
	line-height: 14px;
	font-weight: 400;
	color: #fff;
	max-width: 80%;
	margin: 15px auto 0;
}
.pdp-upsell-guarantee > div {
	text-align: center;
}
.pdp-upsell-guarantee b {
	font-weight: 700 !important;
}
.pdp-upsell-ctas {
	display: flex;
	gap: 8px;
	width: 100%;
}
@media only screen and (max-width: 767px) {
	.pdp-upsell-modal {
		align-items: flex-start;
	}
	.pdp-upsell-container {
		margin-top: 60px;
	}
}

/* ---- Rifle plates embed (was 1004211894) ---- */
.sld-pdp-upsell {
	background: #f3f4f3;
	padding: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 15px;
	width: 100%;
}
.sld-pdp-upsell-pricing {
	color: #000;
	text-align: center;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
}
.sld-pdp-upsell-reccomended {
	display: flex;
	gap: 5px;
	font-size: 13px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}
.sld-pdp-upsell button.sld-pdp-upsell-product {
	border-radius: 6px;
	display: flex;
	align-items: stretch;
	justify-content: center;
	margin-top: 15px !important;
	overflow: hidden;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	text-align: left;
}
.sld-pdp-upsell-product img {
	width: 96px;
	height: auto;
	border-radius: 6px 0 0 6px;
	background: #fff;
}
.sld-pdp-upsell-product__info {
	display: flex;
	padding: 6px 8px;
	justify-content: center;
	align-items: flex-start;
	font-size: 13px;
	font-style: normal;
	font-weight: 500;
	line-height: 16px;
	color: #000;
	background-color: #fff;
	max-width: 200px;
	flex-direction: column;
	gap: 4px;
}
.sld-pdp-upsell-product__info > span:first-of-type {
	font-size: 14px;
	font-weight: 600;
	line-height: 16px;
}
.sld-pdp-upsell-product__info > span:nth-of-type(2) {
	font-size: 12px;
	font-weight: 400;
	line-height: 16px;
}
.sld-pdp-upsell-sizes {
	color: #000;
	font-size: 11px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: -6px;
}
.sld-pdp-upsell-plate {
	display: flex;
	align-items: center;
	gap: 4px;
}
.sld-pdp-upsell-plate img,
.sld-pdp-upsell-reccomended img {
	width: 20px;
	height: 16px;
	border-radius: 0;
	background: none;
}
.sld-pdp-upsell button.sld-pdp-upsell-atc {
	display: inline-flex;
	padding: 6px 16px;
	justify-content: center;
	align-items: center;
	background: #ce0f11;
	border: 0;
	color: #fff;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	letter-spacing: 1.44px !important;
	margin-top: 15px !important;
	cursor: pointer;
}
.sld-pdp-upsell-learn-more {
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	line-height: normal;
	letter-spacing: 1.44px;
	text-decoration: underline;
	margin-top: 15px;
}
