/**
 * IMPERVORA AI Concierge -- product cards inside the chat panel.
 *
 * Every rule is namespaced .imp-cc-* and scoped inside AI Engine's chat root,
 * so nothing here can reach site chrome. Astra ships three unscoped global
 * rules that sit in range of anything injected into the page -- img{height:auto},
 * the bare button styling, and p margins -- so each is answered explicitly
 * rather than left to chance.
 *
 * Buttons are square (border-radius: 0) and uppercase at 0.15em tracking, which
 * is the deliberate IMPERVORA control style, not an oversight.
 */

.mwai-chat .imp-cc-p {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	margin: 14px 0;
	padding: 12px;
	background: #fff;
	border: 1px solid #E4E0D9;
	text-align: left;
}

.mwai-chat .imp-cc-p__ph {
	flex: 0 0 auto;
	display: block;
	width: 104px;
	line-height: 0;
	border: 0;
	text-decoration: none;
}

.mwai-chat .imp-cc-p__ph img {
	display: block;
	width: 104px;
	height: 104px;
	max-width: 104px;
	object-fit: cover;
	border-radius: 6px;
}

.mwai-chat .imp-cc-p__in {
	flex: 1 1 auto;
	min-width: 0;
}

.mwai-chat .imp-cc-p__t {
	display: block;
	margin: 0 0 4px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	color: #0E0E0E;
	text-decoration: none;
}

.mwai-chat .imp-cc-p__t:hover,
.mwai-chat .imp-cc-p__t:focus {
	color: #B08F4E;
	text-decoration: underline;
}

.mwai-chat .imp-cc-p__pr,
.mwai-chat .imp-cc-p__m,
.mwai-chat .imp-cc-p__f,
.mwai-chat .imp-cc-p__a {
	margin: 0 0 6px;
	font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
}

.mwai-chat .imp-cc-p__now {
	font-size: 15px;
	font-weight: 600;
	color: #0E0E0E;
}

.mwai-chat .imp-cc-p__was {
	font-size: 13px;
	color: #6B6B6B;
	text-decoration: line-through;
}

.mwai-chat .imp-cc-p__off {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8A6A2F;
}

.mwai-chat .imp-cc-p__m {
	font-size: 12.5px;
	line-height: 1.45;
	color: #4A4A4A;
}

.mwai-chat .imp-cc-p__f {
	font-size: 11.5px;
	line-height: 1.4;
	color: #6B6B6B;
}

.mwai-chat .imp-cc-p__a {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 0;
}

/* Anchors and buttons must look identical, so both are reset from scratch. */
.mwai-chat .imp-cc-b {
	display: inline-block;
	margin: 0;
	padding: 7px 12px;
	border: 1px solid #0E0E0E;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	text-decoration: none;
	color: #0E0E0E;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mwai-chat .imp-cc-b:hover,
.mwai-chat .imp-cc-b:focus {
	background: #0E0E0E;
	border-color: #0E0E0E;
	color: #fff;
	text-decoration: none;
}

.mwai-chat .imp-cc-b--cart {
	background: #C6A667;
	border-color: #C6A667;
	color: #0E0E0E;
}

.mwai-chat .imp-cc-b--cart:hover,
.mwai-chat .imp-cc-b--cart:focus {
	background: #B08F4E;
	border-color: #B08F4E;
	color: #0E0E0E;
}

.mwai-chat .imp-cc-b--save {
	border-color: #C6C2BA;
	color: #4A4A4A;
}

.mwai-chat .imp-cc-b--save[aria-pressed="true"] {
	background: #F4F2EF;
	border-color: #C6A667;
	color: #8A6A2F;
}

@media (max-width: 420px) {

	.mwai-chat .imp-cc-p {
		gap: 10px;
		padding: 10px;
	}

	.mwai-chat .imp-cc-p__ph,
	.mwai-chat .imp-cc-p__ph img {
		width: 76px;
		max-width: 76px;
	}

	.mwai-chat .imp-cc-p__ph img {
		height: 76px;
	}

	.mwai-chat .imp-cc-b {
		padding: 6px 9px;
		font-size: 10px;
		letter-spacing: 0.1em;
	}
}
