.pb-gpt-bubble {
	position: fixed;
	bottom: 12px;
	z-index: 99999;
	border-radius: 999px;
	padding: 12px 16px;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	font-weight: 600;
	border: none;
}

.pb-gpt-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.pb-gpt-header-bug-icon {
	cursor: pointer;
}

.pb-gpt-header-heading p {
	margin: 0;
}

.pb-gpt-panel {
	transition: 0.3s all;
	z-index: 99999;
	position: fixed;

	max-width: calc(100% - 40px);
	background: #fff;

	box-shadow: 0 12px 36px rgba(21, 32, 64, 0.12);
	overflow: hidden;
}

.pb-gpt-panel.full_active {
	height: 80vh;
	width: 50%;
	padding-bottom: 1.2rem;
}

.pb-gpt-header {
	padding: 12px 14px;
}

.pb-gpt-messages {
	max-height: 360px;
	overflow: auto;
	padding: 12px;
	display: flex;
	flex-direction: column;
	min-height: calc(100% - 93px);
}

.pb-msg {
	margin-bottom: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	display: inline-block;
	max-width: 88%;
}

.pb-msg.user {
	align-self: flex-end;
	color: #fff;
}

.pb-msg.bot {
	border: 1px solid #e6eefc;
	align-self: flex-start;
	color: #313136;
	font-weight: 400;
}

.pb-input-wrap {
	display: flex;
	border-top: 1px solid #eee;
}

.pb-input {
	flex: 1;
	padding: 10px;
	border: 0;
	outline: none;
}

.pb-send {
	border: 0;
	padding: 10px 12px;
	cursor: pointer;
}

.pb-product {
	display: flex;
	gap: 10px;
	align-items: center;
	border-radius: 8px;
	padding: 8px;
	border: 1px solid #e0e6ed;
	background: #fff;
	margin-bottom: 8px;
	transition: all 0.2s;
}

.pb-product:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.pb-product img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 6px;
}

.pb-msg.bot span {
	cursor: pointer;
	color: #f38e9a;
	font-weight: 500;
	text-decoration: underline;
}

.pb-product .title {
	font-weight: 600;
	color: #000;
	margin-bottom: 4px;
}

.pb-product .price {
	font-weight: 700;
}

.pb-product .excerpt {
	font-size: 12px;
	color: #64748b;
	margin-top: 4px;
	line-height: 1.4;
}

.pb-buy {
	padding: 8px 10px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 13px;
	white-space: nowrap;
	display: inline-block;
	font-weight: 700;
}

.pb-loading {
	text-align: center;
	padding: 20px;
	color: #64748b;
}

/* Bubble image sizing — overrides the base .pb-gpt-bubble rule above */
.pb-gpt-bubble {
	width: 50px;
	height: 50px;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-size: contain !important;
}

@media (max-width: 767px) {
	.pb-gpt-panel.full_active {
	width: 100%;
	}
}

@media (max-width: 420px) {
	.pb-gpt-panel {
	right: 12px;
	left: 12px;
	width: auto;
	}
}

.pb-product.second-layout {
	display: flex;
	flex-direction: column;
}

.pb-product.second-layout > img {
	width: 100%;
	height: 120px;
}
