.kham-header-basket-previews-source {
	display: none !important;
}

.kham-header-preview-wrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.kham-header-preview-wrap::after {
	content: "";
	position: absolute;
	top: 100%;
	inset-inline: -18px;
	height: 34px;
}

.kham-header-preview-wrap > .cart-nav-link {
	position: relative;
}

.header-actions > .cart-nav-link:not(.kham-quote-basket-link),
.header-actions > .kham-header-preview-wrap--cart {
	order: 1;
}

.header-actions > .kham-quote-basket-link,
.header-actions > .kham-header-preview-wrap--quote {
	order: 2;
}

.header-actions .kham-quote-basket-link {
	border-color: #c94f24;
	background: #c94f24;
	color: #fff;
}

.header-actions .kham-quote-basket-link:hover,
.header-actions .kham-quote-basket-link:focus {
	border-color: #a83f1b;
	background: #a83f1b;
	color: #fff;
}

.header-actions .kham-quote-basket-link > span {
	background: #fff;
	color: #c94f24;
}

.kham-header-basket-preview {
	position: absolute;
	top: calc(100% + 18px);
	left: 0;
	z-index: 1250;
	width: min(330px, calc(100vw - 32px));
	overflow: hidden;
	border: 1px solid #dce2e6;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 22px 55px rgba(16, 24, 32, 0.18);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
	direction: rtl;
}

.kham-header-preview-wrap:hover .kham-header-basket-preview,
.kham-header-preview-wrap:focus-within .kham-header-basket-preview,
.kham-header-preview-wrap.is-open .kham-header-basket-preview {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

.kham-header-basket-preview::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 34px;
	width: 14px;
	height: 14px;
	border-top: 1px solid #dce2e6;
	border-left: 1px solid #dce2e6;
	background: #fff;
	transform: rotate(45deg);
}

.kham-mini-basket__section {
	position: relative;
	padding: 16px;
	border-bottom: 1px solid #edf0f2;
	background: #fff;
}

.kham-mini-basket__section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}

.kham-mini-basket__section-head strong {
	color: #101820;
	font-size: 15px;
	font-weight: 900;
}

.kham-mini-basket__section-head span {
	display: grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding-inline: 7px;
	border-radius: 999px;
	background: #101820;
	color: #fff;
	direction: ltr;
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
}

.kham-mini-basket__items {
	display: grid;
	gap: 8px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}

.kham-mini-basket__items li {
	display: grid;
	gap: 3px;
	padding: 9px 10px;
	border: 1px solid #edf0f2;
	border-radius: 8px;
	background: #fbfcfd;
}

.kham-mini-basket__item-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}

.kham-mini-basket__items strong {
	color: #101820;
	font-size: 13px;
	font-weight: 900;
	line-height: 1.45;
}

.kham-mini-basket__remove {
	flex: 0 0 auto;
	min-height: 24px;
	padding: 2px 8px;
	border: 1px solid #f1c9ba;
	border-radius: 999px;
	background: #fff7f2;
	color: #c94f24;
	cursor: pointer;
	font: inherit;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
}

.kham-mini-basket__remove:hover,
.kham-mini-basket__remove:focus {
	border-color: #c94f24;
	background: #c94f24;
	color: #fff;
	outline: none;
}

.kham-mini-basket__remove.is-loading {
	opacity: 0.55;
	pointer-events: none;
}

.kham-mini-basket__items span,
.kham-mini-basket__empty,
.kham-mini-basket__summary {
	color: #5f6870;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.5;
}

.kham-mini-basket__empty,
.kham-mini-basket__summary {
	margin: 0 0 12px;
}

.kham-mini-basket__subtotal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
	padding: 10px;
	border: 1px solid #edf0f2;
	border-radius: 8px;
	background: #fffaf7;
	color: #5f6870;
	font-size: 12px;
	font-weight: 900;
}

.kham-mini-basket__subtotal strong {
	color: #101820;
	font-size: 13px;
}

.kham-mini-basket__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 38px;
	border: 1px solid #c9d2d8;
	border-radius: 8px;
	background: #fff;
	color: #101820;
	text-decoration: none;
	font-size: 13px;
	font-weight: 900;
}

.kham-mini-basket__button--primary {
	border-color: #c94f24;
	background: #c94f24;
	color: #fff;
}

@media (max-width: 900px) {
	.kham-header-basket-preview {
		display: none !important;
	}
}
