.abis-compare-button {
	display: grid !important;
	width: 34px !important;
	height: 34px !important;
	padding: 0 !important;
	place-items: center !important;
	border: 1px solid #dce7f4 !important;
	border-radius: 50% !important;
	background: rgba(255,255,255,.98) !important;
	box-shadow: 0 4px 14px rgba(26,59,97,.12) !important;
	color: #0869ed !important;
	text-decoration: none !important;
	visibility: visible !important;
	opacity: 1 !important;
	cursor: pointer;
	transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.abis-compare-button img {
	display: block;
	width: 18px;
	height: 18px;
	margin: 0;
	object-fit: contain;
}

.abis-compare-button__label {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0,0,0,0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.abis-compare-button:hover,
.abis-compare-button:focus-visible {
	border-color: #bcd7f7 !important;
	background: #edf5ff !important;
	box-shadow: 0 7px 18px rgba(8,105,237,.16) !important;
	transform: translateY(-1px);
}

.abis-hp-card__compare {
	position: absolute !important;
	z-index: 8 !important;
	top: 50px !important;
	right: 10px !important;
}

.abis-card__compare {
	position: absolute !important;
	z-index: 8 !important;
	top: 52px !important;
	right: 12px !important;
}

.abis-mini-product-card__compare {
	position: absolute !important;
	z-index: 8 !important;
	top: 50px !important;
	right: 10px !important;
}

.abis-product-gallery-actions .abis-product-compare-button {
	position: relative !important;
	inset: auto !important;
	font-size: 0;
	line-height: 0;
}

.abis-product-compare-cta {
	display: inline-flex;
	width: 100%;
	min-height: 46px;
	padding: 10px 16px;
	align-items: center;
	justify-content: center;
	gap: 9px;
	border: 1px solid #bcd7f7;
	border-radius: 11px;
	background: #f3f8ff;
	color: #0869ed;
	font-family: var(--abis-font-family,"IranYekan",Tahoma,sans-serif);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.abis-product-compare-cta svg,
.abis-product-compare-cta img {
	width: 20px;
	height: 20px;
}

.abis-product-compare-cta:hover,
.abis-product-compare-cta:focus-visible {
	border-color: #8fc0f6;
	background: #eaf4ff;
	box-shadow: 0 7px 18px rgba(8,105,237,.12);
	color: #0869ed;
	transform: translateY(-1px);
}

.abis-compare-screen {
	min-height: 60vh;
	background: #f7f9fc;
	font-family: var(--abis-font-family,"IranYekan",Tahoma,sans-serif);
}

.abis-compare-container {
	width: min(1240px, calc(100% - 32px));
	margin-inline: auto;
}

.abis-compare-hero {
	padding: 34px 0 30px;
	border-bottom: 1px solid #e2e9f2;
	background: linear-gradient(135deg,#f6faff 0%,#fff 70%);
}

.abis-compare-breadcrumb {
	display: flex;
	gap: 8px;
	margin-bottom: 12px;
	color: #8090a3;
	font-size: 12px;
}

.abis-compare-breadcrumb a {
	color: #0869ed;
	text-decoration: none;
}

.abis-compare-hero h1 {
	margin: 0 0 8px;
	color: #173b67;
	font-size: clamp(26px,3vw,38px);
}

.abis-compare-hero p {
	margin: 0;
	color: #667d94;
	font-size: 14px;
}

.abis-compare-page {
	padding: 28px 0 58px;
}

.abis-compare-picker {
	margin-bottom: 22px;
	padding: 22px;
	border: 1px solid #dfe8f3;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(25,60,100,.05);
}

.abis-compare-picker__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
}

.abis-compare-picker__eyebrow {
	display: block;
	margin-bottom: 5px;
	color: #0869ed;
	font-size: 11px;
	font-weight: 800;
}

.abis-compare-picker__header h2 {
	margin: 0 0 6px;
	color: #173b67;
	font-size: 21px;
	line-height: 1.7;
}

.abis-compare-picker__header p {
	margin: 0;
	color: #74879b;
	font-size: 12px;
}

.abis-compare-picker__header > a {
	display: inline-flex;
	min-height: 39px;
	padding: 8px 13px;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: #f1f5fa;
	color: #536b84;
	font-size: 11px;
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
}

.abis-compare-selected {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 10px;
	margin-bottom: 18px;
}

.abis-compare-selected-card {
	position: relative;
	display: grid;
	min-width: 0;
	grid-template-columns: 74px minmax(0,1fr);
	gap: 10px;
	align-items: center;
	padding: 12px;
	border: 1px solid #dfe8f3;
	border-radius: 13px;
	background: #fbfdff;
}

.abis-compare-selected-card.is-reference {
	border-color: #a9cef8;
	background: #f2f8ff;
}

.abis-compare-selected-card__tag {
	position: absolute;
	top: 7px;
	right: 8px;
	padding: 3px 7px;
	border-radius: 999px;
	background: #eaf4ff;
	color: #0869ed;
	font-size: 8px;
	font-weight: 800;
}

.abis-compare-selected-card__image {
	display: grid;
	width: 74px;
	height: 74px;
	place-items: center;
	overflow: hidden;
	border-radius: 9px;
	background: #fff;
}

.abis-compare-selected-card__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.abis-compare-selected-card__content {
	min-width: 0;
	padding-top: 14px;
}

.abis-compare-selected-card h3 {
	display: -webkit-box;
	margin: 0 0 5px;
	overflow: hidden;
	color: #173b67;
	font-size: 11px;
	line-height: 1.8;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.abis-compare-selected-card h3 a {
	color: inherit;
	text-decoration: none;
}

.abis-compare-selected-card__content > div {
	color: #0869ed;
	font-size: 11px;
	font-weight: 800;
}

.abis-compare-selected-card > button,
.abis-compare-selected-card__lock {
	position: absolute;
	top: 8px;
	left: 8px;
	display: grid;
	width: 25px;
	height: 25px;
	padding: 0;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: #eef2f7;
	color: #6f8092;
	font-size: 16px;
	cursor: pointer;
}

.abis-compare-selected-card__lock {
	background: #e3f6eb;
	color: #11864d;
	font-size: 12px;
}

.abis-compare-candidates {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 10px;
}

.abis-compare-choice {
	display: grid;
	min-width: 0;
	grid-template-columns: 90px minmax(0,1fr);
	gap: 11px;
	align-items: center;
	padding: 10px;
	border: 1px solid #e1e8f1;
	border-radius: 13px;
	background: #fff;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.abis-compare-choice:hover {
	border-color: #bed8f7;
	box-shadow: 0 8px 20px rgba(21,62,107,.07);
}

.abis-compare-choice.is-selected {
	border-color: #8fc0f6;
	background: #f5faff;
}

.abis-compare-choice__image {
	display: grid;
	width: 90px;
	height: 90px;
	place-items: center;
	overflow: hidden;
	border-radius: 9px;
	background: #f8fafc;
}

.abis-compare-choice__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.abis-compare-choice__body {
	min-width: 0;
}

.abis-compare-choice h3 {
	display: -webkit-box;
	min-height: 38px;
	margin: 0 0 5px;
	overflow: hidden;
	color: #173b67;
	font-size: 11px;
	line-height: 1.8;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.abis-compare-choice h3 a {
	color: inherit;
	text-decoration: none;
}

.abis-compare-choice__price {
	min-height: 24px;
	margin-bottom: 7px;
	color: #0869ed;
	font-size: 11px;
	font-weight: 800;
}

.abis-compare-choice button {
	display: inline-flex;
	min-height: 32px;
	padding: 6px 10px;
	align-items: center;
	justify-content: center;
	gap: 5px;
	border: 0;
	border-radius: 8px;
	background: #edf4fc;
	color: #315d8d;
	font: inherit;
	font-size: 9px;
	font-weight: 800;
	cursor: pointer;
}

.abis-compare-choice.is-selected button {
	background: #0869ed;
	color: #fff;
}

.abis-compare-candidates__empty {
	grid-column: 1/-1;
	margin: 0;
	padding: 18px;
	border-radius: 10px;
	background: #f7f9fc;
	color: #75879a;
	font-size: 12px;
	text-align: center;
}

.abis-compare-page__loading,
.abis-compare-page__empty,
.abis-compare-page__message {
	display: grid;
	min-height: 190px;
	padding: 28px;
	place-items: center;
	align-content: center;
	gap: 10px;
	border: 1px solid #dfe8f3;
	border-radius: 18px;
	background: #fff;
	color: #667d94;
	text-align: center;
}

.abis-compare-page__empty {
	min-height: 280px;
}

.abis-compare-page__empty svg {
	width: 46px;
	height: 46px;
	color: #0869ed;
}

.abis-compare-page__empty h2,
.abis-compare-page__message strong {
	margin: 4px 0 0;
	color: #173b67;
	font-size: 20px;
}

.abis-compare-page__empty p,
.abis-compare-page__message span {
	margin: 0;
	font-size: 12px;
}

.abis-compare-page__empty a {
	margin-top: 8px;
	padding: 10px 18px;
	border-radius: 10px;
	background: #0869ed;
	color: #fff;
	text-decoration: none;
}

.abis-compare-spinner {
	width: 34px;
	height: 34px;
	border: 3px solid #dce9f7;
	border-top-color: #0869ed;
	border-radius: 50%;
	animation: abis-compare-spin .8s linear infinite;
}

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

.abis-compare-table-wrap {
	overflow-x: auto;
	border: 1px solid #dfe8f3;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 32px rgba(25,60,100,.06);
}

.abis-compare-table {
	width: 100%;
	min-width: calc(170px + (var(--abis-compare-columns,2) * 255px));
	border-collapse: separate;
	border-spacing: 0;
	table-layout: fixed;
}

.abis-compare-table th,
.abis-compare-table td {
	padding: 16px;
	border-bottom: 1px solid #edf1f6;
	border-left: 1px solid #edf1f6;
	vertical-align: top;
	text-align: right;
}

.abis-compare-table tr:last-child th,
.abis-compare-table tr:last-child td {
	border-bottom: 0;
}

.abis-compare-table th:first-child {
	width: 170px;
	background: #f8fafd;
	color: #536b84;
	font-size: 12px;
	font-weight: 750;
}

.abis-compare-table td:last-child {
	border-left: 0;
}

.abis-compare-product-head {
	position: relative;
	display: grid;
	gap: 10px;
	align-content: start;
}

.abis-compare-product-head__reference {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	padding: 4px 8px;
	border-radius: 999px;
	background: #eaf4ff;
	color: #0869ed;
	font-size: 8px;
	font-weight: 800;
}

.abis-compare-product-head__image {
	display: grid;
	height: 190px;
	place-items: center;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
}

.abis-compare-product-head__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.abis-compare-product-head h2 {
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
}

.abis-compare-product-head h2 a {
	color: #173b67;
	text-decoration: none;
}

.abis-compare-product-head__price {
	color: #0869ed;
	font-size: 14px;
	font-weight: 800;
}

.abis-compare-product-head__cart {
	display: flex;
	min-height: 40px;
	padding: 8px 12px;
	align-items: center;
	justify-content: center;
	border-radius: 9px;
	background: #0869ed;
	color: #fff;
	font-size: 11px;
	font-weight: 750;
	text-decoration: none;
}

.abis-compare-stock.is-in {
	color: #11864d;
	font-weight: 750;
}

.abis-compare-stock.is-out {
	color: #d92f43;
	font-weight: 750;
}

.abis-compare-placeholder {
	display: block;
	width: 62%;
	height: 62%;
	border-radius: 12px;
	background: linear-gradient(135deg,#edf3fa,#f8fbfe);
}

@media (max-width: 1100px) {
	.abis-compare-selected,
	.abis-compare-candidates {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}

@media (max-width: 767px) {
	.abis-hp-card__compare {
		top: 43px !important;
		right: 7px !important;
		width: 29px !important;
		height: 29px !important;
	}

	.abis-card__compare {
		top: 49px !important;
		right: 10px !important;
		width: 31px !important;
		height: 31px !important;
	}

	.abis-mini-product-card__compare {
		top: 45px !important;
		right: 8px !important;
		width: 30px !important;
		height: 30px !important;
	}

	.abis-compare-container {
		width: min(100% - 20px,1240px);
	}

	.abis-compare-hero {
		padding: 25px 0 22px;
	}

	.abis-compare-page {
		padding-top: 18px;
	}

	.abis-compare-picker {
		padding: 14px;
		border-radius: 14px;
	}

	.abis-compare-picker__header {
		display: grid;
		gap: 12px;
	}

	.abis-compare-picker__header h2 {
		font-size: 17px;
	}

	.abis-compare-picker__header > a {
		width: max-content;
	}

	.abis-compare-selected,
	.abis-compare-candidates {
		grid-template-columns: 1fr;
	}

	.abis-compare-selected-card {
		grid-template-columns: 68px minmax(0,1fr);
	}

	.abis-compare-selected-card__image {
		width: 68px;
		height: 68px;
	}

	.abis-compare-choice {
		grid-template-columns: 80px minmax(0,1fr);
	}

	.abis-compare-choice__image {
		width: 80px;
		height: 80px;
	}

	.abis-compare-table {
		min-width: calc(145px + (var(--abis-compare-columns,2) * 220px));
	}

	.abis-compare-table th:first-child {
		width: 145px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.abis-compare-button,
	.abis-product-compare-cta,
	.abis-compare-choice {
		transition: none !important;
	}
	.abis-compare-spinner {
		animation-duration: 1.5s;
	}
}

/* ABIS 3.0.7 — comparison is an icon-only single-product gallery action. */
.abis-product-gallery-actions .abis-product-compare-button {
	flex: 0 0 36px !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
}

@media (max-width: 767px) {
	.abis-product-gallery-actions .abis-product-compare-button {
		flex-basis: 31px !important;
		width: 31px !important;
		height: 31px !important;
		min-width: 31px !important;
		min-height: 31px !important;
	}
}
