.samFaqWrap {
	border-radius: 14px;
	padding: 2px;
	background: linear-gradient(135deg, #c084fc, #7c3aed, #38bdf8, #7dd3fc, #c084fc);
	background-size: 300% 300%;
	animation: samGradientShift 6s ease infinite;
	height: 100%;
	box-sizing: border-box;
}

.samAskTab {
	border-radius: 12px;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
}

.active-drawer .samFaqWrap {
	background: none;
}

.samFaqClose {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	padding: 0;
	border: none;
	background: none;
	color: #ffffff;
	cursor: pointer;
}

.samFaqClose:hover {
	opacity: 0.8;
}

.samFaqWrapLoading {
	animation-duration: 2s;
}

.samFaq {
	border-radius: 12px;
	border: none;
	height: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	background: #ffffff;
}

.samFaqIntro {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.samTryTitle {
    margin: 0;
    color: #000;
    font-weight: bold;
}

.samFaqSuggest {
	flex: 1 0 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 1rem;
	padding-top: 1rem;
	border-top: 1px solid #c9c4f0;
}

.samFaqSuggestTitle {
	margin: 0;
	color: #0b0b1f;
	text-align: left;
}

.samFaqHeader {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	margin-bottom: 1rem;
	color: #0b0b1f;
}

.samFaqLogo {
	flex-shrink: 0;
}

.samFaqTitle {
	font-weight: 700;
	line-height: 1.1;
	color: #0b0b1f;
	margin: 1rem 0 0;
	text-align: left;
}

.samFaqSubtitle {
	margin: 0;
	font-weight: 700;
	line-height: 1;
	background: linear-gradient(135deg, #7c3aed, #38bdf8, #9333ea);
	background-size: 200% 200%;
	animation: samGradientShift 5s ease infinite;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.samFaqIntroText {
	margin: 0.5rem 0 0;
	line-height: 1.4;
	color: #4a4a5a;
}

.samFaqQuestions {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}

.samFaqExampleQuestion {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: #ffffff;
	padding: 0.7rem 1.5rem;
	border-radius: 10px;
	border: 1px solid #a99cf2;
	color: #0b0b1f;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.samFaqExampleQuestion::after {
	content: "→";
	flex-shrink: 0;
	color: #2b3ff0;
}

.samFaqExampleQuestion:hover {
	border-color: #2b3ff0;
	background: #f7f6ff;
}

.samFaqChatHeader {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	padding-bottom: 12px;
	margin-bottom: 4px;
	border-bottom: 1px solid #e5d4ee;
	color: #7c3aed;
}

.samFaqChatHeaderTitle {
	font-weight: 600;
	color: #fff;
}

.samFaqChat {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 3rem 2rem;
}

.samFaqBubbleRow {
	display: flex;
	animation: samFadeIn 0.3s ease;
}

.samFaqBubbleRowUser {
	justify-content: flex-end;
}

.samFaqBubble {
	width: fit-content;
	max-width: 80%;
	padding: 0.75rem 0.9rem;
	border-radius: 14px;
	line-height: 1.5;
}

.samFaqBubbleUser {
	background: linear-gradient(135deg, #7c3aed, #9333ea);
	color: #ffffff;
	border-bottom-right-radius: 4px;
}

.samFaqBubbleSam {
	background: #ffffff;
	border: 1px solid #e5d4ee;
	color: #000000;
	border-bottom-left-radius: 4px;
}

.samFaqUseful {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
	padding-top: 0.75rem;
	border-top: 1px solid #e5d4ee;
	color: #555555;
}

.samFaqUsefulBtn {
	padding: 0.25rem 0.75rem;
	border: 1px solid #d9c2e8;
	border-radius: 0.375rem;
	background: #ffffff;
	color: #7c3aed;
	cursor: pointer;
	transition: background 0.15s ease;
}

.samFaqUsefulBtn:hover {
	background: #faf5ff;
}

.samFaqThinking {
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 0.75rem 0.9rem;
	border-radius: 14px;
	border-bottom-left-radius: 4px;
	background: #ffffff;
	border: 1px solid #e5d4ee;
	color: #666666;
}

.samFaqThinkingText {
	margin-right: 2px;
}

.samFaqDot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.3;
	animation: samBlink 1.2s infinite;
}

.samFaqDotDelay1 {
	animation-delay: 0.2s;
}

.samFaqDotDelay2 {
	animation-delay: 0.4s;
}

.samFaqInputRow {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	margin-top: 12px;
	margin-top: 2rem;
	padding: 6px 6px 6px 18px;
	border: 2px solid #2b3ff0;
	border-radius: 999px;
	background: #ffffff;
	transition: box-shadow 0.2s ease;
}

.samFaqInputRow:focus-within {
	box-shadow: 0 0 0 3px rgba(43, 63, 240, 0.15);
}

.samFaqInput {
	flex: 1;
	min-width: 0;
	padding: 12px 0;
	border: none;
	font-size: 1.1rem;
	color: #0b0b1f;
	background: transparent;
}

.samFaqInput:focus {
	outline: none;
}

.samFaqBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: linear-gradient(135deg, #7c3aed, #38bdf8, #9333ea);
	color: #ffffff;
	cursor: pointer;
}

.samFaqBtn:hover {
	filter: brightness(1.1);
}

.samFaqBtn:active {
	transform: scale(0.97);
}

.samFaqBtn:disabled {
	cursor: default;
	filter: none;
	transform: none;
}

.samFaqDisclaimer {
	margin: 0.75rem 0 1rem;
	color: #6b6b7b;
	text-align: center;
}

	@keyframes samGradientShift {
		0% { background-position: 0% 50%; }
		50% { background-position: 100% 50%; }
		100% { background-position: 0% 50%; }
	}

	@keyframes samFadeIn {
		from { opacity: 0; transform: translateY(6px); }
		to { opacity: 1; transform: translateY(0); }
	}

	@keyframes samBlink {
		0%, 100% { opacity: 0.3; }
		50% { opacity: 1; }
	}

	@media (prefers-reduced-motion: reduce) {
		.samFaqWrap,
		.samFaqTitle,
		.samFaqBubbleRow {
			animation: none;
		}

		.samFaqBtn:active {
			transform: none;
		}
	}

/* Buybox CSS */
.samBuyboxWrap {
	cursor: pointer;
	margin-top: 2rem;
}

.samBuyboxInner {
	padding: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 12px;
	background: #faf5ff;
	flex-direction: row;
	height: 100%;
	box-sizing: border-box;
}

.samBuyboxIcon {
	flex-shrink: 0;
	color: #7c3aed;
}

.samBuyboxText {
	margin: 0;
	font-weight: 600;
	background: linear-gradient(135deg, #7c3aed, #38bdf8, #9333ea);
	background-size: 200% 200%;
	animation: samGradientShift 4s ease infinite;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

body:has(.active-drawer .samFaq) .liveChat {
	display: none !important;
}

.drawer-contents:has(.samFaq) {
	background: #ffffff;
	padding: 0;
	margin-top: -4.4rem;
}

.active-drawer:has(.samFaq) .top-bar {
	display: none;
}

.samAltList {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	overflow-x: auto;
	padding: 4px 2px 10px;
	margin: 10px 0;
	scroll-snap-type: x mandatory;
}

.samAltCard {
	flex: 0 0 150px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 10px;
	background: #fff;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	text-align: center;
	text-decoration: none;
	color: #222;
	scroll-snap-align: start;
	transition: box-shadow 0.2s;
}

.samAltCard:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.samAltImage {
	width: 90px;
	height: 90px;
	object-fit: contain;
}

.samAltTitle {
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.samAltRating {
	display: flex;
	align-items: center;
	gap: 4px;
}

.samAltStars {
	position: relative;
	line-height: 1;
	color: #ddd;
}

.samAltStars::before {
	content: "★★★★★";
}

.samAltStarsFill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	white-space: nowrap;
	color: #f5a623;
}

.samAltStarsFill::before {
	content: "★★★★★";
}

.samAltReviews {
	font-weight: 700;
	color: #1a9bd7;
}

.samAltStock {
	color: #555;
}

.samAltStock::before {
	content: "✔ ";
	color: #5aa833;
}

.samAltPrice {
	font-weight: 700;
	line-height: 1;
}

.samAltButton {
	width: 100%;
	padding: 6px 0;
	margin-top: auto;
	background: #5aa833;
	border-radius: 4px;
	color: #fff;
	font-weight: 700;
}

/* Sam overwrites for drawer adjustments */

.samFaqInputRow {
	margin: 2rem 2rem 0 2rem;
}

.samFaqHeader, .samFaqIntro  {
	padding: 0 2rem;
}

.samFaqChatHeader {
	background: linear-gradient(135deg, #7c3aed, #38bdf8, #9333ea);
	padding: 1.5rem 2rem;
	color: #fff;
}
/* OLD PRODUCT PAGE OVERWRITES */

#productCTA .samBuyboxWrap {
	cursor: pointer;
	border-radius: 0;
	margin-top: 0;
}

#productCTA .samBuyboxInner {
	padding: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: #faf5ff;
	flex-direction: row;
	height: 100%;
	box-sizing: border-box;
	border-radius: 0;
}

#productCTA .samBuyboxIcon {
	flex-shrink: 0;
	color: #7c3aed;
}

#productCTA .samBuyboxText {
	margin: 0;
	font-weight: 600;
	background: linear-gradient(135deg, #7c3aed, #38bdf8, #9333ea);
	background-size: 200% 200%;
	animation: samGradientShift 4s ease infinite;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

#productCTA .samAskTab {
	padding: 2rem;
}

.fixedfw .samBuyboxWrap {
	display: none;
}

.samFaqUseful,
.samFaqUsefulBtn {
	font-size: 0.9rem;
}

.samFaqSuggestTitle,
.samFaqDisclaimer,
.samFaqExampleQuestion,
.samAltTitle,
.samAltReviews,
.samAltStock,
.samAltPrice sup,
.samFaqBubble,
.samFaqThinkingText,
.samAltButton {
	font-size: 1.1rem;
}

.samTryTitle,
.samFaqIntroText,
.samFaqExampleQuestion::after,
.samFaqChatHeaderTitle,
.samAltStars {
	font-size: 1.3rem;
}

.samFaqTitle,
.samFaqSubtitle,
.samFaqBtn,
.samAltPrice {
	font-size: 2rem;
}

@media (min-width: 1024px) {

	.samFaqUseful,
	.samFaqUsefulBtn {
			font-size: 1rem;
	}

	.samFaqSuggestTitle,
	.samFaqDisclaimer,
	.samAltTitle,
	.samAltReviews,
	.samAltStock,
	.samFaqExampleQuestion,
	.samAltPrice sup,
	.samAltButton {
		font-size: 1.2rem;
	}

	.samTryTitle,
	.samFaqIntroText,
	.samFaqExampleQuestion::after,
	.samFaqChatHeaderTitle,
	.samAltStars {
		font-size: 1.5rem;
	}

	.samFaqTitle,
	.samFaqSubtitle,
	.samFaqBtn,
	.samAltPrice {
		font-size: 2.4rem;
	}
}