/* Hide theme / plugin social share on chat page */
body.bcd-no-share .sharedaddy,
body.bcd-no-share .jp-relatedposts,
body.bcd-no-share .addtoany_share_save_container,
body.bcd-no-share .addtoany_content,
body.bcd-no-share .heateor_sss_sharing_container,
body.bcd-no-share .ssba,
body.bcd-no-share .ssba-wrap,
body.bcd-no-share .social-share,
body.bcd-no-share .share-buttons,
body.bcd-no-share .entry-share,
body.bcd-no-share .post-share,
body.bcd-no-share .wp-block-social-links,
body.bcd-no-share .elementor-share-buttons,
body.bcd-no-share [class*="share-box"],
body.bcd-no-share [class*="social-share"],
body.bcd-no-share .saboxplugin-wrap,
body.bcd-no-share .a2a_kit {
	display: none !important;
}

body.bcd-chat-page .entry-header,
body.bcd-chat-page .page-header,
body.bcd-chat-page .entry-title,
body.bcd-chat-page .page-title,
body.bcd-chat-page h1.entry-title,
body.bcd-chat-page .entry-meta,
body.bcd-chat-page .post-meta,
body.bcd-chat-page .page-meta,
body.bcd-chat-page .cat-links,
body.bcd-chat-page .posted-on,
body.bcd-chat-page .byline,
body.bcd-chat-page .author,
body.bcd-chat-page .comments-link,
body.bcd-chat-page .post-categories,
body.bcd-chat-page .ast-single-post-order,
body.bcd-chat-page .ast-tax-style,
body.bcd-chat-page .ast-blog-single-element,
body.bcd-chat-page .entry-taxonomies,
body.bcd-chat-page .taxonomy-category,
body.bcd-chat-page .post-category,
body.bcd-chat-page .rank-math-breadcrumb,
body.bcd-chat-page .woocommerce-breadcrumb,
body.bcd-chat-page .breadcrumbs,
body.bcd-chat-page .yoast-breadcrumb {
	display: none !important;
}

:root {
	--bcd-bg: #f5f5f5;
	--bcd-surface: #ffffff;
	--bcd-ink: #1a1a1a;
	--bcd-muted: #6b6b6b;
	--bcd-line: #e5e5e5;
	--bcd-line-strong: #d4d4d4;
	--bcd-soft: #f0f0f0;
	--bcd-primary: #222222;
	--bcd-primary-hover: #3a3a3a;
	--bcd-ok: #1b5e20;
	--bcd-ok-bg: #e8f5e9;
	--bcd-warn: #9a3412;
	--bcd-warn-bg: #fff7ed;
	--bcd-frame: #5b7c99;
	--bcd-frame-deep: #4a6d8a;
	--bcd-frame-soft: #eef3f7;
	--bcd-frame-line: #8aa4bc;
	--bcd-shadow: 0 8px 28px rgba(91, 124, 153, 0.1);
	--bcd-shadow-sm: 0 2px 10px rgba(91, 124, 153, 0.08);
	--bcd-radius: 12px;
	--bcd-radius-sm: 8px;
	--bcd-font: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
}

.bcd-wrap {
	font-family: var(--bcd-font);
	color: var(--bcd-ink);
	max-width: 920px;
	margin: 1.5rem auto;
	line-height: 1.65;
}

.bcd-wrap > .bcd-price-card {
	margin-bottom: 0.65rem;
}

.bcd-chat {
	font-family: inherit;
	color: inherit;
	background: var(--bcd-surface);
	border: 1px solid var(--bcd-frame-line);
	border-radius: var(--bcd-radius);
	padding: clamp(1rem, 2.5vw, 1.75rem);
	margin: 0;
	line-height: inherit;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	box-shadow: var(--bcd-shadow);
}

.bcd-chat[data-state="loading"] {
	opacity: 0.65;
	pointer-events: none;
}

.bcd-prompt[readonly],
.bcd-coin-text__input[readonly] {
	opacity: 0.7;
	cursor: not-allowed;
}

.bcd-chat__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid var(--bcd-frame-line);
	background: linear-gradient(180deg, var(--bcd-frame-soft) 0%, transparent 100%);
	margin: calc(clamp(1rem, 2.5vw, 1.75rem) * -1) calc(clamp(1rem, 2.5vw, 1.75rem) * -1) 0;
	padding: 0.85rem clamp(1rem, 2.5vw, 1.75rem) 0.85rem;
	border-radius: var(--bcd-radius) var(--bcd-radius) 0 0;
}

.bcd-chat__eyebrow {
	margin: 0;
	font-size: 0.68rem;
	color: var(--bcd-frame);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
}

.bcd-chat__title {
	margin: 0.15rem 0 0;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--bcd-ink);
}

.bcd-price-card {
	background: linear-gradient(160deg, #f8fafc 0%, #edf3f8 100%);
	border: 1px solid var(--bcd-frame-line);
	border-radius: var(--bcd-radius-sm);
	padding: 0.55rem 0.75rem;
	box-shadow: 0 2px 8px rgba(91, 124, 153, 0.08);
}

.bcd-price-card__title {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--bcd-muted);
	white-space: nowrap;
}

.bcd-price-card__type {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
	min-width: 0;
}

.bcd-price-card__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.45rem 0.75rem;
}

.bcd-price-card__weights {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	flex-shrink: 0;
}

.bcd-coin-option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-width: 0;
	padding: 0.28rem 0.65rem 0.28rem 0.45rem;
	border: 1.5px solid rgba(138, 164, 188, 0.35);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	color: var(--bcd-muted);
	font: inherit;
	font-size: 0.78rem;
	cursor: default;
}

.bcd-coin-option.is-selected {
	border-color: var(--bcd-frame);
	background: #fff;
	color: var(--bcd-ink);
	font-weight: 700;
	box-shadow: 0 1px 4px rgba(91, 124, 153, 0.12);
}

.bcd-coin-option.is-selected::before {
	content: "✓";
	display: inline-grid;
	place-items: center;
	width: 1.05rem;
	height: 1.05rem;
	border-radius: 50%;
	background: var(--bcd-frame);
	color: #fff;
	font-size: 0.62rem;
	font-weight: 800;
	line-height: 1;
	flex-shrink: 0;
}

.bcd-coin-option__label {
	line-height: 1.2;
}

.bcd-coin-option:disabled {
	pointer-events: none;
	opacity: 0.55;
}

.bcd-price-card__line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: flex-end;
	gap: 0.25rem 0.4rem;
	margin: 0;
	margin-inline-start: auto;
	font-size: 0.82rem;
	color: var(--bcd-ink);
	text-align: end;
	min-width: min(100%, 280px);
}

.bcd-price-card__line-label {
	color: var(--bcd-muted);
	font-size: 0.78rem;
}

.bcd-price-card__total {
	font-size: clamp(1rem, 2.6vw, 1.2rem);
	font-weight: 800;
	line-height: 1.2;
	color: var(--bcd-frame);
	letter-spacing: -0.02em;
}

.bcd-price-card__note {
	margin: 0.35rem 0 0;
	font-size: 0.72rem;
	color: var(--bcd-warn);
	text-align: center;
}

.bcd-help-trigger {
	border: 1px solid var(--bcd-frame-line);
	background: var(--bcd-surface);
	color: var(--bcd-frame);
	border-radius: 999px;
	padding: 0.4rem 0.85rem;
	font: inherit;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: var(--bcd-shadow-sm);
	transition: background 0.15s ease, border-color 0.15s ease;
}

.bcd-help-trigger:hover {
	background: var(--bcd-frame-soft);
	border-color: var(--bcd-frame);
}

.bcd-chat__lock {
	margin-bottom: 0;
	padding: 0.75rem 1rem;
	background: var(--bcd-warn-bg);
	border: 1px solid #fed7aa;
	border-radius: var(--bcd-radius-sm);
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.65rem;
}

.bcd-chat__lock-text {
	margin: 0;
	color: var(--bcd-warn);
	font-size: 0.9rem;
}

.bcd-btn--pay {
	width: 100%;
	max-width: none;
	align-self: stretch;
	padding: 0.85rem 1.25rem;
	font-size: 1rem;
	background: var(--bcd-ok) !important;
	border-color: var(--bcd-ok) !important;
	color: #fff !important;
	font-weight: 700;
}

.bcd-btn--pay:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.bcd-panel {
	background: var(--bcd-surface);
	border: 1px solid var(--bcd-line);
	border-radius: var(--bcd-radius);
	padding: 1rem 1.1rem;
	box-shadow: var(--bcd-shadow-sm);
}

.bcd-design-card {
	background: linear-gradient(165deg, #f8fbfd 0%, var(--bcd-frame-soft) 100%);
	border: 1.5px solid var(--bcd-frame);
	box-shadow: var(--bcd-shadow-sm);
}

.bcd-design-card__head {
	margin-bottom: 0.85rem;
}

.bcd-design-card__title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--bcd-frame);
}

.bcd-design-card__hint {
	margin: 0.35rem 0 0;
	font-size: 0.85rem;
	color: var(--bcd-muted);
}

.bcd-sides {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem 1rem;
	padding: 0.35rem 0 0.15rem;
}

.bcd-side {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.55rem;
	min-width: 0;
}

.bcd-side__label {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--bcd-frame-deep);
	text-align: center;
}

.bcd-side__slot-wrap {
	position: relative;
	width: min(100%, 260px);
	max-width: 260px;
}

.bcd-side__slot {
	position: relative;
	aspect-ratio: 1;
	width: 100%;
	max-width: none;
	background: radial-gradient(circle at 32% 28%, #fff 0%, #e8edf2 55%, #d4dce4 100%);
	border: 4px solid #c5d0db;
	border-radius: 50%;
	display: grid;
	place-items: center;
	overflow: hidden;
	box-shadow:
		inset 0 2px 10px rgba(255, 255, 255, 0.85),
		inset 0 -5px 12px rgba(91, 124, 153, 0.14),
		0 8px 24px rgba(91, 124, 153, 0.16);
}

.bcd-side__slot.has-image {
	border-color: var(--bcd-frame);
	background: #ececec;
}

.bcd-side__slot--fixed {
	width: min(100%, 260px);
	max-width: 260px;
}

.bcd-side__slot img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.bcd-side__placeholder {
	font-size: 0.9rem;
	font-weight: 600;
	color: #8a8a8a;
}

.bcd-side__type {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 8.5rem;
	padding: 0.4rem 0.95rem;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	border: 1.5px solid transparent;
	box-shadow: var(--bcd-shadow-sm);
}

.bcd-side__type--mine {
	color: #1b5e20;
	background: var(--bcd-ok-bg);
	border-color: #a5d6a7;
}

.bcd-side__type--site {
	color: #1d4ed8;
	background: #eff6ff;
	border-color: #93c5fd;
}

.bcd-side__type--fixed {
	color: var(--bcd-frame-deep);
	background: #fff;
	border-color: var(--bcd-frame-line);
}

.bcd-side__clear {
	position: absolute;
	top: -2px;
	left: -2px;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #444;
	cursor: pointer;
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
	z-index: 3;
	padding: 0;
	display: grid;
	place-items: center;
	text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 6px #fff;
}

.bcd-side__clear:hover:not(:disabled),
.bcd-side__clear:focus-visible {
	background: transparent;
	color: #111;
	outline: none;
}

.bcd-side__clear:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.bcd-side__x {
	position: absolute;
	top: 4px;
	left: 4px;
	width: 24px;
	height: 24px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #444;
	cursor: pointer;
	font-size: 18px;
	line-height: 1;
	z-index: 1;
	padding: 0;
	text-shadow: 0 0 2px #fff, 0 0 4px #fff;
}

.bcd-side__x:hover {
	background: transparent;
	color: #111;
}

/* Kill theme button/link hover paints on section titles */
.bcd-chat .bcd-design-studio__toggle,
.bcd-chat .bcd-site-designs__toggle,
.bcd-chat .bcd-pool__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	outline: none !important;
	text-decoration: none !important;
	text-shadow: none !important;
	color: var(--bcd-ink) !important;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.5;
	cursor: pointer;
	text-align: right;
	appearance: none;
	-webkit-appearance: none;
	transition: none !important;
}

.bcd-chat .bcd-design-studio__toggle:hover,
.bcd-chat .bcd-design-studio__toggle:focus,
.bcd-chat .bcd-design-studio__toggle:focus-visible,
.bcd-chat .bcd-design-studio__toggle:active,
.bcd-chat .bcd-design-studio__toggle:visited,
.bcd-chat .bcd-site-designs__toggle:hover,
.bcd-chat .bcd-site-designs__toggle:focus,
.bcd-chat .bcd-site-designs__toggle:focus-visible,
.bcd-chat .bcd-site-designs__toggle:active,
.bcd-chat .bcd-site-designs__toggle:visited,
.bcd-chat .bcd-pool__toggle:hover,
.bcd-chat .bcd-pool__toggle:focus,
.bcd-chat .bcd-pool__toggle:focus-visible,
.bcd-chat .bcd-pool__toggle:active,
.bcd-chat .bcd-pool__toggle:visited {
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	outline: none !important;
	text-decoration: none !important;
	color: var(--bcd-ink) !important;
	filter: none !important;
	opacity: 1 !important;
}

.bcd-chat .bcd-design-studio__toggle *,
.bcd-chat .bcd-site-designs__toggle *,
.bcd-chat .bcd-pool__toggle *,
.bcd-chat .bcd-design-studio__toggle:hover *,
.bcd-chat .bcd-site-designs__toggle:hover *,
.bcd-chat .bcd-pool__toggle:hover * {
	color: inherit !important;
	background: transparent !important;
	text-decoration: none !important;
}

.bcd-chat .bcd-design-studio__toggle.is-disabled,
.bcd-chat .bcd-site-designs__toggle.is-disabled,
.bcd-chat .bcd-pool__toggle.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

.bcd-design-studio__toggle-label,
.bcd-site-designs__toggle-label,
.bcd-pool__toggle-label {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--bcd-ink) !important;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.bcd-design-studio__toggle-label::before,
.bcd-site-designs__toggle-label::before {
	flex-shrink: 0;
	display: inline-grid;
	place-items: center;
	width: 2rem;
	height: 2rem;
	border-radius: 10px;
	font-size: 0.95rem;
	line-height: 1;
	border: 1px solid var(--bcd-frame-line);
	background: linear-gradient(145deg, #fff, var(--bcd-frame-soft));
	box-shadow: var(--bcd-shadow-sm);
}

.bcd-design-studio__toggle-label::before {
	content: "✦";
	color: var(--bcd-frame);
}

.bcd-site-designs__toggle-label::before {
	content: "◆";
	color: var(--bcd-frame-deep);
	font-size: 0.82rem;
}

.bcd-design-studio__toggle-text {
	display: block;
	min-width: 0;
	flex: 1;
}

.bcd-design-studio__chevron {
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--bcd-muted);
	border-bottom: 2px solid var(--bcd-muted);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
	flex-shrink: 0;
}

.bcd-design-studio.is-open .bcd-design-studio__chevron {
	transform: rotate(-135deg);
}

/* Path chooser — clear clickable cards */
.bcd-path-section {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.bcd-path-section > .bcd-panel {
	padding: 0.65rem;
}

.bcd-chat .bcd-path-card.bcd-design-studio__toggle,
.bcd-chat .bcd-path-card.bcd-site-designs__toggle {
	align-items: center !important;
	gap: 0.75rem !important;
	padding: 0.9rem 1rem !important;
	border: 1.5px solid var(--bcd-frame-line) !important;
	border-radius: var(--bcd-radius) !important;
	background: linear-gradient(160deg, #fff 0%, #f8fbfd 100%) !important;
	box-shadow: var(--bcd-shadow-sm) !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease !important;
}

.bcd-chat .bcd-path-card.bcd-design-studio__toggle:hover,
.bcd-chat .bcd-path-card.bcd-design-studio__toggle:focus-visible,
.bcd-chat .bcd-path-card.bcd-site-designs__toggle:hover,
.bcd-chat .bcd-path-card.bcd-site-designs__toggle:focus-visible {
	border-color: var(--bcd-frame) !important;
	box-shadow: 0 6px 20px rgba(91, 124, 153, 0.16) !important;
	transform: translateY(-1px);
}

.bcd-design-studio.is-open > .bcd-path-card,
.bcd-site-designs.is-open > .bcd-path-card {
	border-color: var(--bcd-frame) !important;
	background: linear-gradient(160deg, var(--bcd-frame-soft) 0%, #fff 100%) !important;
	box-shadow: inset 0 0 0 1px rgba(91, 124, 153, 0.08), var(--bcd-shadow-sm) !important;
	transform: none !important;
}

.bcd-path-card__hint {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.78rem;
	font-weight: 400;
	color: var(--bcd-muted) !important;
	line-height: 1.45;
}

.bcd-site-designs__toggle-text {
	display: block;
	min-width: 0;
	flex: 1;
	text-align: right;
}

.bcd-path-card__cta {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.42rem 0.85rem;
	background: linear-gradient(135deg, var(--bcd-frame) 0%, var(--bcd-frame-deep) 100%);
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(91, 124, 153, 0.25);
}

.bcd-path-card__cta-text {
	color: #fff !important;
}

.bcd-path-card .bcd-design-studio__chevron,
.bcd-path-card .bcd-site-designs__chevron {
	border-right-color: #fff;
	border-bottom-color: #fff;
	width: 7px;
	height: 7px;
	margin-inline-end: 0.1rem;
}

.bcd-design-studio__panel {
	margin-top: 0.75rem;
	padding-top: 0;
	border-top: none;
}

.bcd-wizard {
	background: linear-gradient(165deg, #fafbfd 0%, #f0f5fa 100%);
	border: 1px solid var(--bcd-frame-line);
	border-radius: var(--bcd-radius);
	padding: 0.9rem 1rem 1rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.bcd-chat__credits {
	margin: 0;
	padding: 0;
	display: block;
	flex-shrink: 0;
	white-space: nowrap;
	line-height: 1.4;
}

.bcd-chat__credits-text {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--bcd-frame);
	white-space: nowrap;
	background: rgba(255, 255, 255, 0.85);
	border: 1px solid var(--bcd-frame-line);
	padding: 0.18rem 0.55rem;
	border-radius: 999px;
}

.bcd-wizard__head .bcd-chat__credits {
	margin: 0;
}

.bcd-thread {
	max-height: 340px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin-bottom: 0.85rem;
	padding: 0.75rem;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(138, 164, 188, 0.25);
	border-radius: var(--bcd-radius-sm);
	scrollbar-width: thin;
	scrollbar-color: var(--bcd-frame-line) transparent;
}

.bcd-bubble {
	display: flex;
	max-width: 88%;
	animation: bcd-bubble-in 0.25s ease;
}

@keyframes bcd-bubble-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.bcd-bubble--bot {
	align-self: flex-start;
}

.bcd-bubble--user {
	align-self: flex-end;
}

.bcd-bubble__text {
	margin: 0;
	padding: 0.6rem 0.8rem;
	border-radius: 14px;
	font-size: 0.875rem;
	line-height: 1.55;
	white-space: pre-wrap;
	word-break: break-word;
}

.bcd-bubble--bot .bcd-bubble__text {
	background: #fff;
	color: var(--bcd-ink);
	border: 1px solid rgba(138, 164, 188, 0.28);
	border-bottom-right-radius: 4px;
	box-shadow: var(--bcd-shadow-sm);
}

.bcd-bubble--note .bcd-bubble__text {
	background: transparent;
	color: var(--bcd-muted);
	font-size: 0.8rem;
	padding: 0.15rem 0.75rem 0.55rem;
}

.bcd-bubble--user .bcd-bubble__text {
	background: linear-gradient(135deg, var(--bcd-frame) 0%, var(--bcd-frame-deep) 100%);
	color: #fff;
	border-bottom-left-radius: 4px;
	box-shadow: 0 3px 12px rgba(91, 124, 153, 0.28);
}

.bcd-quick {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
}

.bcd-quick__btn {
	border: 1px solid var(--bcd-frame-line);
	background: #fff;
	color: var(--bcd-ink);
	border-radius: 999px;
	padding: 0.38rem 0.8rem;
	font: inherit;
	font-size: 0.8rem;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	box-shadow: var(--bcd-shadow-sm);
	transition: background 0.15s ease, border-color 0.15s ease;
}

.bcd-quick__btn:hover:not(:disabled) {
	background: var(--bcd-frame-soft);
	border-color: var(--bcd-frame);
}

.bcd-quick__btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.bcd-quick__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--bcd-swatch, #ccc);
	border: 1px solid rgba(0, 0, 0, 0.15);
}

.bcd-attach-preview {
	position: relative;
	display: inline-block;
	margin-bottom: 0.75rem;
}

.bcd-attach-preview img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: var(--bcd-radius-sm);
	border: 1px solid var(--bcd-line);
}

.bcd-wizard__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px dashed rgba(138, 164, 188, 0.45);
}

.bcd-wizard__bot-name {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--bcd-frame-deep);
}

.bcd-wizard__bot-name::before {
	content: "";
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--bcd-frame) 0%, var(--bcd-frame-deep) 100%);
	box-shadow: 0 2px 8px rgba(91, 124, 153, 0.28);
	border: 2px solid #fff;
}

.bcd-composer {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.55rem;
	padding: 0.35rem 0.4rem 0.35rem 0.55rem;
	border: 1.5px solid var(--bcd-frame-line);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 4px 18px rgba(91, 124, 153, 0.12);
}

.bcd-composer:focus-within {
	border-color: var(--bcd-frame);
	box-shadow: 0 4px 22px rgba(91, 124, 153, 0.2);
}

.bcd-composer__tip {
	margin: 0 0 0.75rem;
	padding: 0.6rem 0.8rem;
	font-size: 0.82rem;
	font-weight: 500;
	line-height: 1.55;
	color: var(--bcd-muted);
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(138, 164, 188, 0.35);
	border-right: 3px solid var(--bcd-frame);
	border-radius: var(--bcd-radius-sm);
}

.bcd-composer__tip-label {
	display: inline;
	font-weight: 700;
	margin-left: 0.25rem;
}

.bcd-chat button.bcd-plus {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--bcd-frame);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: center;
	padding: 0;
	transition: color 0.15s ease;
}

.bcd-chat button.bcd-plus:hover:not(:disabled) {
	background: transparent;
	color: var(--bcd-frame-deep);
}

.bcd-chat button.bcd-plus:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.bcd-prompt {
	flex: 1;
	min-width: 0;
	border: 0;
	resize: none;
	font: inherit;
	font-size: 0.95rem;
	line-height: 1.55;
	background: transparent;
	color: var(--bcd-ink);
	padding: 0.45rem 0.25rem;
	min-height: 2.6em;
	max-height: 280px;
	overflow-y: auto;
	white-space: pre-wrap;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.bcd-prompt:focus {
	outline: none;
}

.bcd-coin-text {
	margin-bottom: 0.85rem;
}

.bcd-coin-text__label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.bcd-coin-text__input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--bcd-line-strong);
	border-radius: var(--bcd-radius-sm);
	padding: 0.55rem 0.75rem;
	font: inherit;
	background: var(--bcd-surface);
}

.bcd-coin-text__input:focus {
	outline: none;
	border-color: #999;
}

.bcd-enamel {
	margin-bottom: 1rem;
}

.bcd-enamel__label {
	display: block;
	font-size: 0.8rem;
	font-weight: 600;
}

.bcd-enamel__hint {
	margin: 0.25rem 0 0.55rem;
	font-size: 0.8rem;
	color: var(--bcd-muted);
}

.bcd-enamel__swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.bcd-enamel__swatch {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	border: 1px solid var(--bcd-line-strong);
	background: var(--bcd-surface);
	border-radius: 999px;
	padding: 0.3rem 0.65rem 0.3rem 0.4rem;
	font: inherit;
	font-size: 0.75rem;
	cursor: pointer;
}

.bcd-enamel__swatch:hover:not(:disabled) {
	background: var(--bcd-soft);
}

.bcd-enamel__swatch.is-active {
	border-color: var(--bcd-primary);
	box-shadow: inset 0 0 0 1px var(--bcd-primary);
}

.bcd-enamel__swatch:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.bcd-enamel__dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--bcd-swatch, #ccc);
	border: 1px solid rgba(0, 0, 0, 0.15);
}

.bcd-enamel__swatch[data-color-id="white"] .bcd-enamel__dot {
	border-color: #bbb;
}

.bcd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	border: 1px solid transparent;
	border-radius: var(--bcd-radius-sm);
	padding: 0.65rem 1.1rem;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.bcd-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.bcd-btn--primary {
	width: 100%;
	background: var(--bcd-primary);
	color: #fff;
}

.bcd-btn--primary:not(:disabled):hover {
	background: var(--bcd-primary-hover);
}

.bcd-composer .bcd-composer__send {
	width: auto;
	flex-shrink: 0;
	padding: 0.52rem 1rem;
	align-self: center;
	border-radius: 999px;
	border: 0;
	background: linear-gradient(135deg, var(--bcd-frame) 0%, var(--bcd-frame-deep) 100%);
	box-shadow: 0 2px 10px rgba(91, 124, 153, 0.28);
}

.bcd-composer .bcd-composer__send:not(:disabled):hover {
	background: linear-gradient(135deg, var(--bcd-frame-deep) 0%, #3d5f7a 100%);
}

.bcd-btn--accent {
	background: var(--bcd-soft);
	border-color: var(--bcd-line-strong);
	color: var(--bcd-ink);
}

.bcd-btn--accent:not(:disabled):hover {
	background: var(--bcd-line);
	color: var(--bcd-ink);
}

.bcd-design-card__actions {
	display: flex;
	justify-content: flex-end;
	margin: 0.85rem 0;
}

.bcd-design-card__actions #bcd-finalize.bcd-btn--finalize {
	width: auto !important;
	max-width: max-content !important;
	min-width: 0 !important;
	flex: 0 0 auto !important;
	padding: 0.65rem 1.1rem !important;
	font-size: 0.9rem !important;
	font-weight: 600;
	line-height: 1.4 !important;
	height: auto !important;
	background: #555;
	color: #fff;
}

.bcd-design-card__actions #bcd-finalize.bcd-btn--finalize.is-ready:not(:disabled) {
	background: var(--bcd-ok) !important;
}

.bcd-design-card__actions #bcd-finalize.bcd-btn--finalize.is-ready:not(:disabled):hover {
	background: #2e7d32 !important;
}

.bcd-btn--finalize {
	width: auto;
	min-width: 0;
	padding: 0.65rem 1.1rem;
	font-size: 0.9rem;
	background: #555;
	color: #fff;
}

.bcd-btn--finalize.is-ready:not(:disabled) {
	background: var(--bcd-ok);
}

.bcd-btn--finalize.is-ready:not(:disabled):hover {
	background: #2e7d32;
}

.bcd-status {
	margin: 0.75rem 0 0;
	font-size: 0.85rem;
	color: var(--bcd-muted);
	min-height: 1.25em;
}

.bcd-status.is-loading {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.bcd-status__spinner {
	width: 14px;
	height: 14px;
	border: 2px solid var(--bcd-line-strong);
	border-top-color: var(--bcd-ink);
	border-radius: 50%;
	animation: bcd-spin 0.7s linear infinite;
}

@keyframes bcd-spin {
	to {
		transform: rotate(360deg);
	}
}

.bcd-alert {
	margin-top: 0.75rem;
	padding: 0.65rem 0.85rem;
	background: var(--bcd-warn-bg);
	border: 1px solid #fed7aa;
	border-radius: var(--bcd-radius-sm);
	color: var(--bcd-warn);
	font-size: 0.9rem;
}

.bcd-alert.is-ok {
	background: var(--bcd-ok-bg);
	border-color: #a5d6a7;
	color: var(--bcd-ok);
}

.bcd-order-success {
	margin-top: 0.85rem;
	padding: 0.85rem 1rem;
	background: var(--bcd-ok-bg);
	border: 1px solid #a5d6a7;
	border-right: 4px solid var(--bcd-ok);
	border-radius: var(--bcd-radius-sm);
}

.bcd-order-success__title {
	display: block;
	font-size: 1rem;
	color: var(--bcd-ok);
	margin-bottom: 0.35rem;
}

.bcd-order-success__text {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--bcd-ink);
}

.bcd-confirm__result {
	margin: 0.75rem 0 0;
	padding: 0.75rem 0.85rem;
	background: var(--bcd-ok-bg);
	border: 1px solid #a5d6a7;
	border-radius: var(--bcd-radius-sm);
	color: var(--bcd-ok);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.55;
}

.bcd-site-designs__chevron,
.bcd-pool__chevron {
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--bcd-muted);
	border-bottom: 2px solid var(--bcd-muted);
	transform: rotate(45deg);
	transition: transform 0.15s ease;
	flex-shrink: 0;
}

.bcd-site-designs.is-open .bcd-site-designs__chevron,
.bcd-pool.is-open .bcd-pool__chevron {
	transform: rotate(-135deg);
}

.bcd-site-designs__panel,
.bcd-pool__panel {
	margin-top: 0.85rem;
}

.bcd-site-designs__hint {
	margin: 0 0 0.65rem;
	font-size: 0.8rem;
	color: var(--bcd-muted);
}

.bcd-site-designs__grid,
.bcd-pool__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
	gap: 0.55rem;
}

.bcd-site-item-wrap {
	position: relative;
	aspect-ratio: 1;
}

.bcd-site-item-wrap.is-selected .bcd-site-item {
	outline: 2px solid var(--bcd-frame);
	outline-offset: 2px;
	box-shadow: 0 0 0 3px rgba(91, 124, 153, 0.15);
}

.bcd-site-item,
.bcd-pool-item {
	position: relative;
	border: 1.5px solid var(--bcd-frame-line);
	border-radius: var(--bcd-radius-sm);
	background: #fff;
	padding: 0;
	overflow: hidden;
	cursor: pointer;
	width: 100%;
	height: 100%;
	box-shadow: var(--bcd-shadow-sm);
	transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.bcd-site-item img,
.bcd-pool-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bcd-site-item:hover:not(:disabled),
.bcd-pool-item:hover:not(:disabled) {
	border-color: var(--bcd-frame);
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(91, 124, 153, 0.16);
}

.bcd-site-item:disabled,
.bcd-pool-item:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.bcd-site-item__label {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	padding: 0.25rem 0.35rem;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 0.65rem;
	text-align: center;
}

.bcd-pool-item__x {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 22px;
	height: 22px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #444;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	z-index: 1;
	padding: 0;
	text-shadow: 0 0 2px #fff, 0 0 4px #fff;
}

.bcd-pool-item__x:hover {
	background: transparent;
	color: #111;
}

.bcd-attach-x {
	position: absolute;
	top: -6px;
	left: -6px;
	width: 22px;
	height: 22px;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #444;
	cursor: pointer;
	font-size: 16px;
	line-height: 1;
	text-shadow: 0 0 2px #fff;
}

.bcd-attach-x:hover {
	background: transparent;
	color: #111;
}

.bcd-pool {
	margin-top: 0.85rem;
	padding-top: 0.85rem;
	border-top: 1px solid var(--bcd-line);
}

.bcd-modal {
	border: 0;
	padding: 0;
	background: transparent;
	max-width: calc(100vw - 2rem);
	position: fixed;
	inset: 0;
	margin: auto;
	width: fit-content;
	height: fit-content;
	max-height: calc(100vh - 2rem);
}

.bcd-modal[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.bcd-modal::backdrop {
	background: rgba(0, 0, 0, 0.45);
}

.bcd-modal__box {
	background: var(--bcd-surface);
	border: 1px solid var(--bcd-line);
	border-radius: var(--bcd-radius);
	padding: 0;
	width: min(420px, calc(100vw - 2rem));
	overflow: hidden;
	margin: auto;
}

.bcd-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.85rem 1rem;
	border-bottom: 1px solid var(--bcd-line);
}

.bcd-modal__head h3 {
	margin: 0;
	font-size: 1rem;
}

.bcd-modal__close {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	background-color: transparent !important;
	background-image: none !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0.15rem 0.35rem;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: var(--bcd-muted) !important;
	appearance: none;
	-webkit-appearance: none;
}

.bcd-modal__close:hover,
.bcd-modal__close:focus,
.bcd-modal__close:active {
	background: transparent !important;
	background-color: transparent !important;
	box-shadow: none !important;
	color: var(--bcd-ink) !important;
}

.bcd-modal__body {
	padding: 1rem;
}

.bcd-modal__body p {
	margin: 0 0 0.75rem;
}

.bcd-confirm__lead {
	font-size: 1.05rem;
	font-weight: 600;
}

.bcd-confirm__hint {
	color: var(--bcd-muted);
	font-size: 0.875rem;
}

.bcd-confirm__sides {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.75rem;
	margin: 1rem 0;
}

.bcd-confirm__side {
	margin: 0;
	text-align: center;
}

.bcd-confirm__thumb {
	aspect-ratio: 1;
	background: #fff;
	border: 1px solid var(--bcd-frame-line);
	border-radius: var(--bcd-radius-sm);
	overflow: hidden;
}

.bcd-confirm__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.bcd-confirm__side figcaption {
	margin-top: 0.35rem;
	font-size: 0.8rem;
	color: var(--bcd-muted);
}

.bcd-confirm__text {
	font-size: 0.875rem;
	background: var(--bcd-soft);
	padding: 0.5rem 0.65rem;
	border-radius: var(--bcd-radius-sm);
}

.bcd-confirm__actions {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: stretch;
	gap: 0.65rem;
	margin-top: 1rem;
}

.bcd-confirm__actions .bcd-btn {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
}

@media (max-width: 860px) {
	.bcd-price-card__row {
		flex-direction: column;
		align-items: stretch;
	}

	.bcd-price-card__line {
		justify-content: flex-start;
		text-align: start;
		margin-inline-start: 0;
	}

	.bcd-chat .bcd-path-card.bcd-design-studio__toggle,
	.bcd-chat .bcd-path-card.bcd-site-designs__toggle {
		flex-wrap: wrap;
	}

	.bcd-path-card__cta {
		width: 100%;
		justify-content: center;
		margin-top: 0.25rem;
	}

	.bcd-design-studio__toggle {
		flex-wrap: wrap;
	}

	.bcd-sides {
		gap: 1rem 0.65rem;
	}

	.bcd-side__slot-wrap {
		width: min(100%, 210px);
		max-width: 210px;
	}

	.bcd-side__slot {
		width: 100%;
		max-width: none;
	}

	.bcd-side__slot--fixed {
		width: min(100%, 210px);
		max-width: 210px;
	}

	.bcd-side__clear {
		width: 28px;
		height: 28px;
		font-size: 16px;
	}

	.bcd-side__type {
		min-width: 7.5rem;
		font-size: 0.78rem;
		padding: 0.35rem 0.75rem;
	}
}
