/**
 * "Can't find what you're looking for?" card: under side panel results and
 * as the FQ AI Assistant Prompt Elementor widget. Also the round avatar
 * used everywhere the assistant's icon appears.
 *
 * Buttons pin background, padding and text-transform: the theme's and
 * Elementor's global button rules otherwise turn them into maroon uppercase
 * slabs (see css/icc-hero.css).
 */

.icc-ask {
	--icc-ask-bg: #fcf3f6;
	--icc-ask-border: rgba( 184, 20, 78, .25 );
	--icc-ask-ink: #333;
	--icc-ask-btn-bg: #b8144e;
	--icc-ask-btn-bg-hover: #9a1041;
	--icc-ask-btn-ink: #fff;

	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 16px;
	padding: 14px 16px;
	border: 1px solid var( --icc-ask-border );
	border-radius: 16px;
	background: var( --icc-ask-bg );
	letter-spacing: normal;
}

.icc-ask .icc-ask__text {
	margin: 0;
	padding: 0;
	color: var( --icc-ask-ink );
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.icc-ask .icc-ask__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	margin: 0;
	padding: 4px 16px 4px 5px;
	border: none;
	border-radius: 999px;
	background: var( --icc-ask-btn-bg );
	color: var( --icc-ask-btn-ink );
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}

.icc-ask .icc-ask__btn:hover,
.icc-ask .icc-ask__btn:focus-visible {
	background: var( --icc-ask-btn-bg-hover );
	color: var( --icc-ask-btn-ink );
}

.icc-ask .icc-ask__btn:focus-visible {
	outline: 2px solid var( --icc-ask-btn-bg );
	outline-offset: 2px;
}

/* Radius repeated: Elementor's `.elementor img` resets it inside page content. */
.icc-ask__btn .icc-omni-avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
}

.icc-ask__btn svg {
	width: 22px;
	height: 22px;
	margin-left: 6px;
}

/* ---- assistant avatar ---- */

.icc-omni-avatar {
	display: block;
	flex: 0 0 auto;
	max-width: none;
	overflow: hidden;
	border-radius: 50%;
	object-fit: cover;
}

/* Imagify's WebP mode wraps the img in <picture> and moves our class onto it. */
.icc-omni-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}
