/* ویجت راهنمای خرید iToll Osta — مستقل و RTL */
.itoll-osta {
	/* رنگ‌ها از پالت قالب (Blocksy: --theme-*) می‌آیند و در نبودشان به مقادیر پیش‌فرض برمی‌گردند. */
	--osta-bg: var(--theme-content-boxed-background-color, #ffffff);
	--osta-fg: var(--theme-text-color, var(--theme-font-color, #1f2430));
	--osta-muted: var(--theme-palette-color-4, #6b7280);
	--osta-border: var(--theme-border-color, var(--theme-palette-color-5, #e5e7eb));
	--osta-accent: var(--theme-palette-color-1, #1e2a78);
	--osta-accent-hover: var(--theme-palette-color-2, var(--theme-link-hover-color, #2a3a8c));
	--osta-action: #22c55e;
	--osta-accent-fg: var(--theme-button-text-initial-color, #ffffff);
	--osta-chip-bg: var(--theme-palette-color-7, #f3f4f6);
	--osta-focus: rgba(30, 42, 120, 0.14);
	--osta-shop-bg: rgba(30, 42, 120, 0.055);
	--osta-warn: #b45309;
	--osta-warn-bg: #fef3c7;
	--osta-radius: 12px;

	box-sizing: border-box;
	max-width: 720px;
	margin: 0 auto;
	padding: 20px;
	background: var(--osta-bg);
	color: var(--osta-fg);
	border: 1px solid var(--osta-border);
	border-radius: var(--osta-radius);
	font-family: inherit;
	line-height: 1.7;
	container-type: inline-size;
}
.itoll-osta *,
.itoll-osta *::before,
.itoll-osta *::after {
	box-sizing: border-box;
}

.itoll-osta__title {
	margin: 0 0 16px;
	font-size: 1.2rem;
	font-weight: 700;
}

.itoll-osta__intro {
	display: grid;
	grid-template-columns: 154px minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	padding: 4px 0 2px;
}
.itoll-osta__intro[hidden] {
	display: none;
}
.itoll-osta__intro-visual {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 168px;
}
.itoll-osta__intro-img {
	display: block;
	width: 144px;
	height: 172px;
	object-fit: contain;
	object-position: bottom center;
	animation: osta-bob 3.4s ease-in-out infinite;
}
.itoll-osta__intro-copy {
	min-width: 0;
}
.itoll-osta__intro-kicker {
	display: inline-flex;
	align-items: center;
	margin-bottom: 8px;
	padding: 3px 10px;
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--osta-accent);
	background: var(--osta-chip-bg);
	border-radius: 999px;
}
.itoll-osta__intro h4 {
	margin: 0 0 8px;
	font-size: 1.18rem;
	font-weight: 900;
	color: var(--osta-fg);
}
.itoll-osta__intro p {
	margin: 0;
	max-width: 44ch;
	font-size: 0.94rem;
	line-height: 1.9;
	color: var(--osta-muted);
}
.itoll-osta__intro-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}
.itoll-osta__intro-start,
.itoll-osta__intro-profile {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 9px 18px;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 800;
	border-radius: 10px;
	cursor: pointer;
}
.itoll-osta__intro-start {
	color: var(--osta-accent-fg);
	background: var(--osta-accent);
	border: 1px solid var(--osta-accent);
}
.itoll-osta__intro-start:hover {
	background: var(--osta-accent-hover);
	border-color: var(--osta-accent-hover);
}
.itoll-osta__intro-profile {
	color: var(--osta-accent);
	background: var(--osta-bg);
	border: 1px solid var(--osta-border);
}
.itoll-osta__intro-profile:hover {
	border-color: var(--osta-accent);
}

.itoll-osta__step-talk {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 116px;
	margin: 2px 0 18px;
	padding: 8px 10px;
	background: var(--osta-chip-bg);
	border: 1px solid var(--osta-border);
	border-radius: 10px;
	overflow: hidden;
}
.itoll-osta__step-figure {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 120px;
	height: 110px;
}
.itoll-osta__step-img {
	display: block;
	width: 110px;
	height: 128px;
	object-fit: contain;
	object-position: bottom center;
	transform-origin: 50% 100%;
	animation: osta-bob 3.4s ease-in-out infinite;
}
.itoll-osta[data-osta-step="vehicle"][data-osta-mascot="tire"] .itoll-osta__step-img {
	width: 118px;
	height: 134px;
}
.itoll-osta__step-copy {
	min-width: 0;
}
.itoll-osta__step-name {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 5px;
	padding: 0;
	font: inherit;
	font-size: 0.98rem;
	font-weight: 800;
	color: var(--osta-accent);
	background: transparent;
	border: 0;
	cursor: pointer;
}
.itoll-osta__step-bubble {
	position: relative;
	margin: 0;
	padding: 8px 10px;
	font-size: 0.9rem;
	line-height: 1.8;
	color: var(--osta-fg);
	background: var(--osta-bg);
	border: 1px solid var(--osta-border);
	border-radius: 10px;
}
.itoll-osta__step-bubble::before {
	content: "";
	position: absolute;
	inset-inline-start: -7px;
	top: 18px;
	width: 12px;
	height: 12px;
	background: var(--osta-bg);
	border-inline-start: 1px solid var(--osta-border);
	border-bottom: 1px solid var(--osta-border);
	transform: rotate(45deg);
}
.itoll-osta__step[hidden],
.itoll-osta__submit[hidden] {
	display: none;
}
.itoll-osta__step-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}
.itoll-osta__step-back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 6px 12px;
	font: inherit;
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--osta-accent);
	background: var(--osta-bg);
	border: 1px solid var(--osta-border);
	border-radius: 9px;
	cursor: pointer;
}
.itoll-osta__step-back:hover {
	border-color: var(--osta-accent);
}
.itoll-osta__step-selected {
	font-size: 0.84rem;
	font-weight: 700;
	color: var(--osta-muted);
}

.itoll-osta__mascot {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	align-items: center;
	gap: 10px;
	min-height: 116px;
	margin: 12px 0 10px;
	padding: 8px 10px;
	background: var(--osta-chip-bg);
	border: 1px solid var(--osta-border);
	border-radius: 10px;
	overflow: hidden;
}
.itoll-osta__mascot[hidden] {
	display: none;
}
.itoll-osta__mascot-stage {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 120px;
	height: 110px;
	overflow: visible;
}
.itoll-osta__mascot-img {
	display: block;
	width: 110px;
	height: 128px;
	object-fit: contain;
	object-position: bottom center;
	transform-origin: 50% 100%;
	animation: osta-bob 3.4s ease-in-out infinite;
}
.itoll-osta[data-osta-mascot="tire"] .itoll-osta__mascot-img {
	width: 118px;
	height: 134px;
	animation: osta-roll-offer 0.62s ease-out both, osta-bob 3.8s ease-in-out 0.62s infinite;
}
.itoll-osta.is-searching .itoll-osta__mascot-img {
	animation: osta-search 0.72s ease-in-out infinite;
}
.itoll-osta.is-searching[data-osta-mascot="tire"] .itoll-osta__mascot-img {
	animation: osta-tire-push 0.78s ease-in-out infinite;
}
.itoll-osta__mascot-copy {
	min-width: 0;
}
.itoll-osta__mascot-name {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 5px;
	padding: 0;
	font: inherit;
	font-size: 0.98rem;
	font-weight: 800;
	color: var(--osta-accent);
	background: transparent;
	border: 0;
	cursor: pointer;
}
.itoll-osta__mascot-name:hover {
	color: var(--osta-accent-hover);
}
.itoll-osta__mascot-info-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1;
	color: var(--osta-accent-fg);
	background: var(--osta-action);
	border-radius: 999px;
}
.itoll-osta__mascot-bubble {
	position: relative;
	margin: 0;
	padding: 8px 10px;
	font-size: 0.86rem;
	line-height: 1.75;
	color: var(--osta-fg);
	background: var(--osta-bg);
	border: 1px solid var(--osta-border);
	border-radius: 10px;
}
.itoll-osta__mascot-bubble::before {
	content: "";
	position: absolute;
	inset-inline-start: -7px;
	top: 18px;
	width: 12px;
	height: 12px;
	background: var(--osta-bg);
	border-inline-start: 1px solid var(--osta-border);
	border-bottom: 1px solid var(--osta-border);
	transform: rotate(45deg);
}
.itoll-osta.has-results .itoll-osta__mascot {
	margin-bottom: 8px;
}

.itoll-osta__field {
	margin-bottom: 16px;
}
.itoll-osta__label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--osta-fg);
}
.itoll-osta__input {
	width: 100%;
	padding: 10px 12px;
	font: inherit;
	color: var(--osta-fg);
	background: var(--osta-bg);
	border: 1px solid var(--osta-border);
	border-radius: 10px;
	outline: none;
}
.itoll-osta__input:focus {
	border-color: var(--osta-accent);
	box-shadow: 0 0 0 3px var(--osta-focus);
}
.itoll-osta__unsupported-pick[hidden] {
	display: none;
}
.itoll-osta__unsupported-pick {
	margin-top: 12px;
	padding: 12px;
	background: var(--osta-chip-bg);
	border: 1px solid var(--osta-border);
	border-radius: 10px;
}
.itoll-osta__unsupported-label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.86rem;
	font-weight: 800;
	color: var(--osta-fg);
}
.itoll-osta__unsupported-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}
.itoll-osta__unsupported-continue {
	min-height: 42px;
	padding: 9px 16px;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 800;
	color: var(--osta-accent-fg);
	background: var(--osta-accent);
	border: 1px solid var(--osta-accent);
	border-radius: 10px;
	cursor: pointer;
	white-space: nowrap;
}
.itoll-osta__unsupported-continue:hover {
	background: var(--osta-accent-hover);
	border-color: var(--osta-accent-hover);
}

.itoll-osta__selects {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 185px), 1fr));
	gap: 8px;
}
@container (max-width: 620px) {
	.itoll-osta__selects {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
	}
}
.itoll-osta__select {
	width: 100%;
	min-height: 42px;
	padding: 9px 12px;
	font: inherit;
	font-size: 0.9rem;
	line-height: 1.45;
	color: var(--osta-fg);
	background: var(--osta-bg);
	border: 1px solid var(--osta-border);
	border-radius: 10px;
	outline: none;
	cursor: pointer;
	text-align: right;
	text-overflow: ellipsis;
}
.itoll-osta__select:focus {
	border-color: var(--osta-accent);
	box-shadow: 0 0 0 3px var(--osta-focus);
}
.itoll-osta__select:disabled {
	opacity: 0.55;
	cursor: default;
}

.itoll-osta__assist {
	margin-top: 8px;
	padding: 10px 12px;
	background: var(--osta-chip-bg);
	border-radius: 10px;
	font-size: 0.9rem;
}
.itoll-osta__assist-label {
	font-weight: 600;
}
.itoll-osta__alts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.itoll-osta__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.itoll-osta__chip,
.itoll-osta__alt {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 8px 14px;
	font: inherit;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--osta-fg);
	background: var(--osta-chip-bg);
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s, border-color 0.15s;
}
.itoll-osta__chip:hover,
.itoll-osta__alt:hover {
	border-color: var(--osta-accent);
}
.itoll-osta__chip.is-active {
	background: var(--osta-accent);
	color: var(--osta-accent-fg);
}
.itoll-osta__chip-icon {
	position: relative;
	flex: none;
	width: 17px;
	height: 17px;
	color: currentColor;
	opacity: 0.9;
}
.itoll-osta__chip-icon::before,
.itoll-osta__chip-icon::after {
	content: "";
	position: absolute;
	box-sizing: border-box;
}
.itoll-osta__chip-icon--tire {
	border: 2px solid currentColor;
	border-radius: 50%;
}
.itoll-osta__chip-icon--tire::before {
	inset: 4px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
}
.itoll-osta__chip-icon--oil::before {
	inset: 2px 4px 3px;
	background: currentColor;
	border-radius: 70% 70% 70% 12%;
	transform: rotate(45deg);
}
.itoll-osta__chip-icon--filter::before {
	inset: 2px 2px auto;
	width: 13px;
	height: 8px;
	border: 2px solid currentColor;
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
}
.itoll-osta__chip-icon--filter::after {
	inset-inline-start: 5px;
	bottom: 2px;
	width: 7px;
	height: 9px;
	border-inline: 2px solid currentColor;
}
.itoll-osta__chip-icon--spark::before {
	inset: 1px 5px;
	border-inline-start: 4px solid currentColor;
	transform: skew(-18deg);
}
.itoll-osta__chip-icon--spark::after {
	inset-inline-start: 3px;
	bottom: 1px;
	width: 11px;
	height: 5px;
	border: 2px solid currentColor;
	border-top: 0;
	border-radius: 0 0 8px 8px;
}
.itoll-osta__chip-icon--belt::before {
	inset: 3px 1px;
	border: 2px solid currentColor;
	border-radius: 50%;
	transform: rotate(-18deg);
}
.itoll-osta__chip-icon--belt::after {
	inset: 6px 5px;
	border: 1.5px solid currentColor;
	border-radius: 50%;
	transform: rotate(-18deg);
}
.itoll-osta__chip-icon--battery::before {
	inset: 4px 1px 3px;
	border: 2px solid currentColor;
	border-radius: 3px;
}
.itoll-osta__chip-icon--battery::after {
	inset-inline-end: -1px;
	top: 7px;
	width: 3px;
	height: 5px;
	background: currentColor;
	border-radius: 1px;
}
.itoll-osta__chip-icon--brake::before {
	inset: 2px;
	border: 2px solid currentColor;
	border-inline-start-color: transparent;
	border-radius: 50%;
}
.itoll-osta__chip-icon--brake::after {
	inset-inline-start: 2px;
	top: 6px;
	width: 8px;
	height: 5px;
	border: 2px solid currentColor;
	border-radius: 5px;
}
.itoll-osta__chip-icon--part::before {
	inset: 3px;
	border: 2px solid currentColor;
	border-radius: 4px;
	transform: rotate(45deg);
}
.itoll-osta__chip-text {
	min-width: 0;
}

.itoll-osta__questions {
	margin-bottom: 16px;
	padding: 14px;
	background: var(--osta-chip-bg);
	border-radius: 10px;
}
.itoll-osta__question + .itoll-osta__question {
	margin-top: 14px;
}
.itoll-osta__question-text {
	margin-bottom: 8px;
	font-size: 0.9rem;
	font-weight: 600;
}

.itoll-osta__submit {
	width: 100%;
	padding: 12px 16px;
	font: inherit;
	font-weight: 700;
	color: var(--osta-accent-fg);
	background: var(--osta-accent);
	border: none;
	border-radius: 10px;
	cursor: pointer;
}
.itoll-osta__submit:disabled {
	opacity: 0.6;
	cursor: default;
}

.itoll-osta__status {
	margin: 16px 0;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 0.9rem;
	background: var(--osta-chip-bg);
}
.itoll-osta__status.is-warn {
	background: var(--osta-warn-bg);
	color: var(--osta-warn);
}
.itoll-osta__status.is-error {
	background: #fee2e2;
	color: #b91c1c;
}

.itoll-osta__results {
	display: grid;
	gap: 12px;
	margin-top: 10px;
}
.itoll-osta__card {
	padding: 14px 16px;
	border: 1px solid var(--osta-border);
	border-radius: 10px;
}
.itoll-osta__card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}
.itoll-osta__card-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}
.itoll-osta__conf {
	flex: none;
	padding: 3px 10px;
	font-size: 0.75rem;
	font-weight: 600;
	border-radius: 999px;
	white-space: nowrap;
}
.itoll-osta__conf--high {
	background: #dcfce7;
	color: #166534;
}
.itoll-osta__conf--medium {
	background: #fef9c3;
	color: #854d0e;
}
.itoll-osta__conf--low {
	background: #fee2e2;
	color: #991b1b;
}
.itoll-osta__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 8px 0;
	font-size: 0.85rem;
	color: var(--osta-muted);
}
.itoll-osta__price {
	font-weight: 600;
	color: var(--osta-fg);
}
.itoll-osta__source {
	color: var(--osta-accent);
	text-decoration: none;
}
.itoll-osta__source:hover {
	text-decoration: underline;
}
.itoll-osta__reason {
	margin: 8px 0 0;
	font-size: 0.9rem;
}
.itoll-osta__warnings {
	margin: 10px 0 0;
	padding: 0 18px 0 0;
	list-style: disc;
}
.itoll-osta__warning {
	font-size: 0.83rem;
	color: var(--osta-warn);
}

/* گروه‌بندی دسته‌ی قطعه */
.itoll-osta__group + .itoll-osta__group {
	margin-top: 12px;
}
.itoll-osta__group-title {
	display: block;
	margin-bottom: 6px;
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--osta-muted);
}

/* ── حالت گیت لاگین ── */
.itoll-osta__gate {
	text-align: center;
	padding: 8px 6px 4px;
}
.itoll-osta__gate-badge {
	display: inline-block;
	padding: 4px 12px;
	margin-bottom: 12px;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--osta-accent);
	background: var(--osta-chip-bg);
	border-radius: 999px;
}
.itoll-osta__gate-lead {
	margin: 0 auto 14px;
	max-width: 46ch;
	font-size: 0.98rem;
	line-height: 2;
}
.itoll-osta__gate-points {
	list-style: none;
	margin: 0 auto 18px;
	padding: 0;
	max-width: 40ch;
	text-align: start;
}
.itoll-osta__gate-points li {
	position: relative;
	padding-inline-start: 26px;
	margin-bottom: 8px;
	font-size: 0.9rem;
}
.itoll-osta__gate-points li::before {
	content: "✓";
	position: absolute;
	inset-inline-start: 0;
	color: var(--osta-accent);
	font-weight: 700;
}
.itoll-osta__cta {
	display: inline-block;
	padding: 12px 34px;
	font: inherit;
	font-weight: 700;
	font-size: 1.02rem;
	color: var(--osta-accent-fg);
	background: var(--osta-accent);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: opacity 0.15s;
}
.itoll-osta__cta:hover {
	opacity: 0.92;
}
.itoll-osta__gate-note {
	margin: 12px 0 0;
	font-size: 0.8rem;
	color: var(--osta-muted);
}

/* ── حالت خودروهای کاربر (پلاک‌ها) ── */
.itoll-osta__plates-title {
	margin-bottom: 10px;
	font-size: 0.95rem;
	font-weight: 700;
}
.itoll-osta__plates-list {
	display: grid;
	gap: 10px;
}
.itoll-osta__plate {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px 12px;
	font: inherit;
	text-align: start;
	color: var(--osta-fg);
	background: var(--osta-bg);
	border: 1px solid var(--osta-border);
	border-radius: 12px;
	cursor: pointer;
	transition: border-color 0.15s, background 0.15s;
}
.itoll-osta__plate:hover {
	border-color: var(--osta-accent);
	background: var(--osta-chip-bg);
}
.itoll-osta__plate-img {
	flex: none;
	width: 64px;
	height: 48px;
	object-fit: contain;
	border-radius: 8px;
	background: var(--osta-chip-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
}
.itoll-osta__plate-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}
.itoll-osta__plate-model {
	font-weight: 700;
	font-size: 0.95rem;
}
.itoll-osta__plate-desc {
	font-size: 0.8rem;
	color: var(--osta-muted);
}
.itoll-osta__plate-no {
	font-size: 0.82rem;
	color: var(--osta-muted);
	direction: ltr;
	unicode-bidi: plaintext;
}
.itoll-osta__plate-go {
	flex: none;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--osta-accent);
}
.itoll-osta__other {
	margin-top: 12px;
	width: 100%;
	padding: 10px;
	font: inherit;
	font-size: 0.9rem;
	color: var(--osta-accent);
	background: transparent;
	border: 1px dashed var(--osta-border);
	border-radius: 10px;
	cursor: pointer;
}
.itoll-osta__other:hover {
	border-color: var(--osta-accent);
}

/* ── عکس خودروی انتخاب‌شده در فرم ── */
.itoll-osta__car-image {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	padding: 10px 12px;
	background: var(--osta-chip-bg);
	border-radius: 12px;
}
.itoll-osta__car-image img {
	width: 84px;
	height: 60px;
	object-fit: contain;
	border-radius: 8px;
}
.itoll-osta__car-cap {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.itoll-osta__car-cap strong {
	font-size: 0.98rem;
}
.itoll-osta__change {
	align-self: flex-start;
	margin-top: 4px;
	padding: 0;
	font: inherit;
	font-size: 0.8rem;
	color: var(--osta-accent);
	background: none;
	border: none;
	cursor: pointer;
	text-decoration: underline;
}

/* جعبه‌ی راهنمای خرید (قبل از لیست) */
.itoll-osta__guide {
	display: flex;
	gap: 10px;
	padding: 14px 16px;
	margin-bottom: 4px;
	background: var(--osta-chip-bg);
	border: 1px solid var(--osta-border);
	border-inline-start: 4px solid var(--osta-accent);
	border-radius: 10px;
	font-size: 0.9rem;
	line-height: 1.85;
}
.itoll-osta__guide-icon {
	flex: none;
	font-size: 1.1rem;
	line-height: 1.6;
}
.itoll-osta__guide-text {
	flex: 1;
}
.itoll-osta__guide-source {
	font-size: 0.8rem;
	color: var(--osta-muted);
	margin-bottom: 8px;
	border-bottom: 1px dashed var(--osta-border);
	padding-bottom: 6px;
}

/* عنوان بخش نتایج */
.itoll-osta__section-title {
	margin: 4px 0 4px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--osta-muted);
}

/* بخش موجود/ناموجود آیتول */
.itoll-osta__shop {
	padding: 14px 16px;
	border: 1px solid var(--osta-accent);
	border-radius: 10px;
	background: var(--osta-shop-bg);
}
.itoll-osta__shop--empty {
	border-color: var(--osta-border);
	background: var(--osta-chip-bg);
	background: color-mix(in srgb, var(--osta-chip-bg) 72%, var(--osta-bg));
}
.itoll-osta__shop-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.itoll-osta__shop-badge {
	display: inline-block;
	padding: 4px 12px;
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--osta-accent-fg);
	background: var(--osta-accent);
	border-radius: 999px;
}
.itoll-osta__shop-badge--empty {
	color: #7f1d1d;
	background: #fee2e2;
}
.itoll-osta__shop-note {
	font-size: 0.82rem;
	color: var(--osta-muted);
}
.itoll-osta__shop-empty-text {
	margin: 0 0 12px;
	font-size: 0.9rem;
	color: var(--osta-muted);
}
.itoll-osta__shop-list {
	display: grid;
	gap: 10px;
}
.itoll-osta__shop-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px 14px;
	background: var(--osta-bg);
	border: 1px solid var(--osta-border);
	border-radius: 10px;
}
.itoll-osta__shop-title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 700;
}
.itoll-osta__shop-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.itoll-osta__shop-btn {
	padding: 7px 16px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--osta-accent-fg);
	background: var(--osta-accent);
	border-radius: 8px;
	text-decoration: none;
	white-space: nowrap;
}
.itoll-osta__shop-btn:hover {
	opacity: 0.9;
}
.itoll-osta__shop-btn--ghost {
	display: inline-flex;
	color: var(--osta-accent);
	background: var(--osta-bg);
	border: 1px solid var(--osta-accent);
}

.itoll-osta__unsupported-card {
	display: grid;
	gap: 12px;
	padding: 14px 16px;
	background: var(--osta-chip-bg);
	border: 1px solid var(--osta-border);
	border-inline-start: 4px solid var(--osta-warn);
	border-radius: 10px;
}
.itoll-osta__unsupported-head {
	display: flex;
	align-items: center;
	gap: 8px;
}
.itoll-osta__unsupported-badge {
	display: inline-flex;
	padding: 4px 12px;
	font-size: 0.82rem;
	font-weight: 800;
	color: #7c2d12;
	background: #ffedd5;
	border-radius: 999px;
}
.itoll-osta__unsupported-text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.85;
	color: var(--osta-fg);
}
.itoll-osta__unsupported-supported {
	display: grid;
	gap: 8px;
	font-size: 0.86rem;
	color: var(--osta-muted);
}
.itoll-osta__unsupported-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}
.itoll-osta__unsupported-pill {
	display: inline-flex;
	padding: 4px 10px;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--osta-accent);
	background: var(--osta-bg);
	border: 1px solid var(--osta-border);
	border-radius: 999px;
}
.itoll-osta__unsupported-prompt textarea {
	width: 100%;
	min-height: 106px;
	resize: vertical;
	padding: 10px 12px;
	font: inherit;
	font-size: 0.86rem;
	line-height: 1.8;
	color: var(--osta-fg);
	background: var(--osta-bg);
	border: 1px solid var(--osta-border);
	border-radius: 10px;
}
.itoll-osta__unsupported-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.itoll-osta__unsupported-actions .itoll-osta__shop-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.itoll-osta__unsupported-copy {
	padding: 7px 16px;
	font: inherit;
	font-size: 0.85rem;
	font-weight: 800;
	color: var(--osta-accent);
	background: var(--osta-bg);
	border: 1px solid var(--osta-accent);
	border-radius: 8px;
	cursor: pointer;
}
.itoll-osta__unsupported-copy:hover {
	background: var(--osta-shop-bg);
}

/* پروفایل اوستا */
.itoll-osta__modal[hidden] {
	display: none;
}
.itoll-osta__modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.itoll-osta__modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.48);
}
.itoll-osta__modal-panel {
	position: relative;
	width: min(100%, 430px);
	max-height: calc(100vh - 40px);
	overflow: auto;
	padding: 18px;
	color: var(--osta-fg);
	background: var(--osta-bg);
	border: 1px solid var(--osta-border);
	border-radius: 12px;
	box-shadow: 0 24px 70px rgba(17, 17, 17, 0.22);
}
.itoll-osta__modal-close {
	position: absolute;
	inset-block-start: 10px;
	inset-inline-end: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	font: inherit;
	font-size: 1.4rem;
	line-height: 1;
	color: var(--osta-muted);
	background: var(--osta-chip-bg);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
}
.itoll-osta__modal-close:hover {
	color: var(--osta-accent);
}
.itoll-osta__profile-head {
	display: grid;
	grid-template-columns: 84px 1fr;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
	padding-inline-end: 34px;
}
.itoll-osta__profile-img {
	width: 84px;
	height: 112px;
	object-fit: contain;
	object-position: bottom center;
}
.itoll-osta__profile-kicker {
	margin-bottom: 2px;
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--osta-action);
}
.itoll-osta__profile-head h4 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 900;
	color: var(--osta-accent);
}
.itoll-osta__profile-list {
	display: grid;
	gap: 9px;
	margin: 0;
}
.itoll-osta__profile-list div {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 10px;
	padding: 10px 12px;
	background: var(--osta-chip-bg);
	border-radius: 10px;
}
.itoll-osta__profile-list dt {
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--osta-accent);
}
.itoll-osta__profile-list dd {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.8;
	color: var(--osta-fg);
}

@keyframes osta-bob {
	0%,
	100% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-4px) rotate(-1deg);
	}
}
@keyframes osta-search {
	0%,
	100% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(-3px) scale(1.025);
	}
}
@keyframes osta-roll-offer {
	0% {
		opacity: 0;
		transform: translateX(16px) scale(0.96);
	}
	100% {
		opacity: 1;
		transform: translateX(0) scale(1);
	}
}
@keyframes osta-tire-push {
	0%,
	100% {
		transform: translateX(0) translateY(0) scale(1);
	}
	50% {
		transform: translateX(-5px) translateY(-2px) scale(1.02);
	}
}

@media (prefers-reduced-motion: reduce) {
	.itoll-osta__intro-img,
	.itoll-osta__step-img,
	.itoll-osta__mascot-img,
	.itoll-osta[data-osta-mascot="tire"] .itoll-osta__mascot-img,
	.itoll-osta.is-searching .itoll-osta__mascot-img,
	.itoll-osta.is-searching[data-osta-mascot="tire"] .itoll-osta__mascot-img {
		animation: none;
	}
}

/*
 * توجه: حالت تیره‌ی مبتنی بر سیستم‌عامل عمداً حذف شده تا ویجت از «تمِ سایت»
 * (متغیرهای --theme-* قالب) پیروی کند، نه از دارک‌مود سیستم‌عامل کاربر.
 * اگر سایت دارک باشد، متغیرهای قالب خودشان ویجت را دارک می‌کنند.
 */

@media (max-width: 480px) {
	.itoll-osta {
		padding: 16px;
	}
	.itoll-osta__intro {
		grid-template-columns: 1fr;
		gap: 8px;
		text-align: center;
	}
	.itoll-osta__intro-visual {
		min-height: 176px;
	}
	.itoll-osta__intro-img {
		width: 150px;
		height: 182px;
	}
	.itoll-osta__intro p {
		max-width: none;
	}
	.itoll-osta__intro-actions {
		justify-content: center;
	}
	.itoll-osta__step-talk {
		grid-template-columns: 116px minmax(0, 1fr);
		gap: 8px;
		min-height: 146px;
		padding: 10px;
	}
	.itoll-osta__step-figure {
		width: 116px;
		height: 132px;
	}
	.itoll-osta__step-img,
	.itoll-osta[data-osta-step="vehicle"][data-osta-mascot="tire"] .itoll-osta__step-img {
		width: 124px;
		height: 148px;
	}
	.itoll-osta__step-name {
		font-size: 0.94rem;
	}
	.itoll-osta__step-bubble {
		padding: 8px 10px;
		font-size: 0.8rem;
		line-height: 1.75;
	}
	.itoll-osta__mascot {
		grid-template-columns: 116px minmax(0, 1fr);
		gap: 8px;
		min-height: 146px;
		padding: 10px;
	}
	.itoll-osta__mascot-stage {
		width: 116px;
		height: 132px;
	}
	.itoll-osta__mascot-img,
	.itoll-osta[data-osta-mascot="tire"] .itoll-osta__mascot-img {
		width: 124px;
		height: 148px;
	}
	.itoll-osta__mascot-name {
		font-size: 0.94rem;
	}
	.itoll-osta__mascot-bubble {
		padding: 8px 10px;
		font-size: 0.8rem;
		line-height: 1.75;
	}
	.itoll-osta__unsupported-row,
	.itoll-osta__unsupported-actions {
		grid-template-columns: 1fr;
	}
	.itoll-osta__unsupported-continue,
	.itoll-osta__unsupported-copy,
	.itoll-osta__unsupported-actions .itoll-osta__shop-btn {
		justify-content: center;
		width: 100%;
	}
	.itoll-osta__profile-list div {
		grid-template-columns: 1fr;
		gap: 2px;
	}
}

@media (max-width: 360px) {
	.itoll-osta__step-talk,
	.itoll-osta__mascot {
		grid-template-columns: 104px minmax(0, 1fr);
	}
	.itoll-osta__step-figure,
	.itoll-osta__mascot-stage {
		width: 104px;
	}
	.itoll-osta__step-img,
	.itoll-osta__mascot-img,
	.itoll-osta[data-osta-step="vehicle"][data-osta-mascot="tire"] .itoll-osta__step-img,
	.itoll-osta[data-osta-mascot="tire"] .itoll-osta__mascot-img {
		width: 112px;
		height: 136px;
	}
}
