.hdsb-progress {
	--hdsb-progress-accent: #fdb913;
	--hdsb-progress-complete: #22a06b;
	--hdsb-progress-border: rgba(12, 15, 20, 0.1);
	--hdsb-progress-surface: #ffffff;
	--hdsb-progress-text: #1f2933;
	--hdsb-progress-track: rgba(12, 15, 20, 0.1);

	margin: 0 0 18px;
	padding: 14px 16px;
	border: 1px solid var(--hdsb-progress-border);
	border-radius: 6px;
	background: var(--hdsb-progress-surface);
	color: var(--hdsb-progress-text);
	font-size: 14px;
	line-height: 1.4;
}

.hdsb-progress--mini-cart {
	margin: 0 0 14px;
	padding: 12px;
	font-size: 13px;
}

.cart-widget-side .hdsb-progress--mini-cart {
	--hdsb-progress-border: rgba(253, 185, 19, 0.28);
	--hdsb-progress-surface: rgba(255, 255, 255, 0.04);
	--hdsb-progress-text: #ffffff;
	--hdsb-progress-track: rgba(255, 255, 255, 0.16);
}

.hdsb-progress__message {
	margin: 0 0 10px;
	color: inherit;
	font-weight: 700;
}

.hdsb-progress__track {
	overflow: hidden;
	width: 100%;
	height: 8px;
	border-radius: 999px;
	background: var(--hdsb-progress-track);
}

.hdsb-progress__fill {
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--hdsb-progress-accent);
	transition: width 0.25s ease;
}

.hdsb-progress--complete .hdsb-progress__fill {
	background: var(--hdsb-progress-complete);
}

.hdsb-progress--cart,
.hdsb-progress--checkout {
	margin-bottom: 20px;
}

.hdsb-progress--mini-cart .amount {
	color: var(--hdsb-progress-accent);
	font-weight: 800;
}

.hdsb-smart-search {
	--hdsb-search-accent: #fdb913;
	--hdsb-search-border: rgba(17, 24, 39, 0.14);
	--hdsb-search-muted: #667085;
	--hdsb-search-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
	--hdsb-search-surface: #ffffff;
	--hdsb-search-text: #1f2933;

	position: relative;
	width: 100%;
	max-width: 680px;
	color: var(--hdsb-search-text);
}

.hdsb-smart-search__label {
	display: block;
	margin: 0 0 7px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
}

.hdsb-smart-search__field {
	position: relative;
}

.hdsb-smart-search__input {
	width: 100%;
	min-height: 46px;
	padding: 11px 42px 11px 14px;
	border: 1px solid var(--hdsb-search-border);
	border-radius: 6px;
	background: var(--hdsb-search-surface);
	color: var(--hdsb-search-text);
	font-size: 15px;
	line-height: 1.4;
	box-shadow: none;
}

.hdsb-smart-search__input:focus {
	border-color: var(--hdsb-search-accent);
	outline: 2px solid rgba(253, 185, 19, 0.22);
	outline-offset: 0;
}

.hdsb-smart-search__spinner {
	position: absolute;
	top: 50%;
	right: 14px;
	display: none;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	border: 2px solid rgba(17, 24, 39, 0.16);
	border-top-color: var(--hdsb-search-accent);
	border-radius: 50%;
	animation: hdsb-smart-search-spin 0.7s linear infinite;
}

.hdsb-smart-search--loading .hdsb-smart-search__spinner {
	display: block;
}

.hdsb-smart-search__dropdown {
	position: absolute;
	z-index: 40;
	top: calc(100% + 6px);
	right: 0;
	left: 0;
	overflow: hidden;
	max-height: 430px;
	border: 1px solid var(--hdsb-search-border);
	border-radius: 6px;
	background: var(--hdsb-search-surface);
	box-shadow: var(--hdsb-search-shadow);
}

.hdsb-smart-search__dropdown[hidden] {
	display: none;
}

.hdsb-smart-search__result {
	display: flex;
	gap: 11px;
	align-items: center;
	padding: 10px 12px;
	color: var(--hdsb-search-text);
	text-decoration: none;
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.hdsb-smart-search__result:last-of-type {
	border-bottom: 0;
}

.hdsb-smart-search__result:hover,
.hdsb-smart-search__result:focus {
	background: rgba(253, 185, 19, 0.1);
	color: var(--hdsb-search-text);
	outline: none;
	text-decoration: none;
}

.hdsb-smart-search__media {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(17, 24, 39, 0.08);
	border-radius: 6px;
	background: #f8fafc;
}

.hdsb-smart-search__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.hdsb-smart-search__body {
	display: grid;
	min-width: 0;
	flex: 1 1 auto;
	gap: 4px;
}

.hdsb-smart-search__title {
	overflow: hidden;
	color: var(--hdsb-search-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hdsb-smart-search__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 10px;
	align-items: center;
	color: var(--hdsb-search-muted);
	font-size: 12px;
	line-height: 1.2;
}

.hdsb-smart-search__sku {
	font-weight: 700;
}

.hdsb-smart-search__stock {
	font-weight: 700;
}

.hdsb-smart-search__stock--instock {
	color: #12805c;
}

.hdsb-smart-search__stock--outofstock {
	color: #b42318;
}

.hdsb-smart-search__price {
	color: var(--hdsb-search-text);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
}

.hdsb-smart-search__price .amount {
	color: inherit;
	font-weight: inherit;
}

.hdsb-smart-search__status,
.hdsb-smart-search__empty {
	padding: 13px 14px;
	color: var(--hdsb-search-muted);
	font-size: 13px;
	line-height: 1.4;
}

.hdsb-smart-search__empty-title {
	margin: 0 0 3px;
	color: var(--hdsb-search-text);
	font-weight: 800;
}

.hdsb-smart-search__empty-help {
	color: var(--hdsb-search-muted);
	font-size: 12px;
	line-height: 1.35;
}

.hdsb-smart-search__footer {
	padding: 10px 12px;
	border-top: 1px solid rgba(17, 24, 39, 0.1);
	background: #f8fafc;
}

.hdsb-smart-search__footer-link {
	display: block;
	color: #8a5d00;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.35;
	text-decoration: none;
}

.hdsb-smart-search__footer-link:hover,
.hdsb-smart-search__footer-link:focus {
	color: #5c3d00;
	outline: none;
	text-decoration: underline;
}

@keyframes hdsb-smart-search-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 480px) {
	.hdsb-smart-search__dropdown {
		max-height: 360px;
	}

	.hdsb-smart-search__result {
		padding: 9px 10px;
	}

	.hdsb-smart-search__media {
		flex-basis: 46px;
		width: 46px;
		height: 46px;
	}

	.hdsb-smart-search__footer {
		padding: 10px;
	}
}
