/* HELLO Core Components — v1.0.0 */

.hello-brand-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: var(--hello-brand-max-width, 72px);
	min-height: var(--hello-brand-max-height, 26px);
	line-height: 1;
}

.hello-brand-logo__link,
.hello-brand-logo-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	text-decoration: none !important;
}

.hello-brand-logo__image,
.hello-brand-logo-image {
	display: block !important;
	width: auto !important;
	max-width: var(--hello-brand-max-width, 72px) !important;
	height: auto !important;
	max-height: var(--hello-brand-max-height, 26px) !important;
	object-fit: contain !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
}

.hello-brand-logo__name,
.hello-brand-logo-name {
	color: #111827;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.hello-product-sku {
	width: 100%;
	margin: 0;
	color: #6b7280;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	direction: rtl;
}

.hello-product-sku__row,
.hello-product-sku-row {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	gap: 4px;
	width: 100%;
}

.hello-product-sku__label,
.hello-product-sku-label {
	color: #6b7280;
	white-space: nowrap;
}

.hello-product-sku__value,
.hello-product-sku-value {
	color: #4b5563;
	font-weight: 600;
	direction: ltr;
	unicode-bidi: isolate;
	white-space: nowrap;
}

.hello-product-sku--loop .hello-product-sku__row,
.hello-product-sku--loop .hello-product-sku-row,
.hello-product-sku--align-center .hello-product-sku__row,
.hello-product-sku--align-center .hello-product-sku-row {
	justify-content: center;
	text-align: center;
}

.hello-product-sku--single .hello-product-sku__row,
.hello-product-sku--single .hello-product-sku-row,
.hello-product-sku--align-right .hello-product-sku__row,
.hello-product-sku--align-right .hello-product-sku-row {
	justify-content: flex-start;
	text-align: right;
}

.hello-product-sku--align-left .hello-product-sku__row,
.hello-product-sku--align-left .hello-product-sku-row {
	justify-content: flex-end;
	text-align: left;
}

.hello-product-sku-row--supplier,
.hello-product-sku-row--manufacturer {
	margin-top: 2px;
	font-size: 12px;
}

.hello-product-meta {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-height: 28px;
	margin: 6px 0 8px;
}

.hello-product-meta__sku {
	min-width: 0;
	flex: 1 1 auto;
	text-align: right;
}

.hello-product-meta__sku .hello-product-sku__row,
.hello-product-meta__sku .hello-product-sku-row {
	justify-content: flex-start;
}

.hello-product-meta__brand {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
	margin-inline-start: auto;
}

.hello-badges,
.raynor-badges-row {
	--hello-badge-size: 56px;
	--raynor-badge-size: var(--hello-badge-size);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 5px;
	margin: 0;
	padding: 0;
	line-height: 0;
	pointer-events: none;
}

.hello-badges--preset-small {
	--hello-badge-size: 56px;
}

.hello-badges--preset-medium {
	--hello-badge-size: 82px;
}

.hello-badges--preset-large {
	--hello-badge-size: 120px;
	gap: 10px;
}

.hello-badges--single {
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.hello-badge,
.raynor-badge {
	display: block !important;
	width: var(--hello-badge-size) !important;
	max-width: var(--hello-badge-size) !important;
	height: auto !important;
	object-fit: contain !important;
	margin: 0 !important;
}

.hello-image-badges-wrap {
	position: relative;
}

.hello-image-badges-wrap .hello-badges,
.hello-image-badges-wrap .raynor-badges-row,
.hello-badges--layout-overlay {
	position: absolute;
	top: 10px;
	right: 8px;
	z-index: 20;
}

.hello-badges--layout-inline {
	position: static;
	flex-direction: row;
	flex-wrap: wrap;
}

@media (max-width: 767px) {
	.hello-brand-logo {
		max-width: min(var(--hello-brand-max-width, 64px), 64px);
		min-height: min(var(--hello-brand-max-height, 22px), 22px);
	}

	.hello-brand-logo__image,
	.hello-brand-logo-image {
		max-width: min(var(--hello-brand-max-width, 64px), 64px) !important;
		max-height: min(var(--hello-brand-max-height, 22px), 22px) !important;
	}

	.hello-product-sku {
		font-size: 12px;
	}

	.hello-product-meta {
		gap: 8px;
		margin-block: 4px 7px;
	}

	.hello-badges--preset-small {
		--hello-badge-size: 42px;
	}

	.hello-badges--preset-medium {
		--hello-badge-size: 64px;
	}

	.hello-badges--preset-large {
		--hello-badge-size: 90px;
	}
}
