.category-topbar {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	font-size: var(--font-size-label-l);
	height: 40px;
	justify-content: flex-start;
	overflow-y: hidden;
	position: relative;
	text-transform: uppercase;
	width: 100%;
	line-height: var(--line-height-label-l);
	letter-spacing: var(--letter-spacing-label-l);
	font-stretch: var(--font-stretch-condensed);
	font-weight: var(--font-weight-condensed);
}[dir] .category-topbar {
	margin: 32px 0 12px;
}

.category-topbar__main {
	display: flex;
	white-space: nowrap;
	z-index: 11;
}

[dir] .category-topbar__main {
	background: inherit;
}

[dir=ltr] .category-topbar__main {
	margin-left: auto;
	padding: 0 0 0 16px;
}

[dir=rtl] .category-topbar__main {
	margin-right: auto;
	padding: 0 16px 0 0;
}

@media screen and (min-width: 768px) {
	.category-topbar {
		align-items: center;
		box-sizing: content-box;
		height: auto;
	}
	[dir] .category-topbar {
		margin: 0;
	}

	.category-topbar__main {
		align-items: center;
		height: 100%;
	}

	[dir] .category-topbar__main {
		background: inherit;
	}

	.category-topbar--with-text {
		justify-content: center;
	}

	[dir] .category-topbar--with-text {
		padding: 20px 0;
	}

	.category-topbar--with-text .category-topbar__main {
		position: absolute;
		top: 0;
	}

	[dir=ltr] .category-topbar--with-text .category-topbar__main {
		right: 0;
	}

	[dir=rtl] .category-topbar--with-text .category-topbar__main {
		left: 0;
	}

	[dir] .category-topbar__separator {
		margin: 0 var(--spacing-04);
	}
}

.category-topbar-related-categories {
	overflow: hidden;
	position: relative;
	z-index: 9;
}

[dir] .category-topbar-related-categories__categories .variable-width-carousel__item {
	padding: 10px 0;
}

[dir=ltr] .category-topbar-related-categories__categories .variable-width-carousel__item {
	margin-left: 12px;
	margin-right: 12px;
}

[dir=rtl] .category-topbar-related-categories__categories .variable-width-carousel__item {
	margin-right: 12px;
	margin-left: 12px;
}

[dir=ltr] .category-topbar-related-categories__categories .variable-width-carousel__item:first-child {
	margin-left: 0;
}

[dir=rtl] .category-topbar-related-categories__categories .variable-width-carousel__item:first-child {
	margin-right: 0;
}

[dir=ltr] .category-topbar-related-categories__categories .variable-width-carousel__item:last-child {
	margin-right: 0;
}

[dir=rtl] .category-topbar-related-categories__categories .variable-width-carousel__item:last-child {
	margin-left: 0;
}

.category-topbar-related-categories__category-link {
	align-items: center;
	display: flex;
	flex-direction: column;
	text-decoration: none;
}

.category-topbar-related-categories__category-image {
	height: 64px;
	width: 64px;
}

.category-topbar-related-categories__category-name-wrapper {
	display: inline-block;
	max-width: 64px;
}

[dir] .category-topbar-related-categories__category-name-wrapper {
	text-align: center;
}

.category-topbar-related-categories .category-topbar-related-categories__category-name-wrapper {
	max-width: none;
}

.category-topbar-related-categories__category-name {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

[dir=ltr] .variable-width-carousel__item:first-child .category-topbar-related-categories__category-name {
	padding-left: 1px;
}

[dir=rtl] .variable-width-carousel__item:first-child .category-topbar-related-categories__category-name {
	padding-right: 1px;
}

[dir] .category-topbar-related-categories__category-name--selected {
	border-bottom: 1px solid var(--color-main);
}

@media screen and (min-width: 768px) {
	.category-topbar-related-categories {
		position: relative;
	}
	[dir] .category-topbar-related-categories {
		padding: 0 24px;
	}

	.category-topbar-related-categories__categories {
		font-size: var(--font-size-label-l);
		line-height: var(--line-height-label-l);
		letter-spacing: var(--letter-spacing-label-l);
		text-transform: uppercase;
		font-stretch: var(--font-stretch-condensed);
		font-weight: var(--font-weight-condensed);
	}

	[dir] .category-topbar-related-categories__categories .variable-width-carousel__item {
		padding: 0;
	}

	[dir=ltr] .category-topbar-related-categories__categories .variable-width-carousel__item {
		margin-left: calc(var(--spacing-05) / 2);
		margin-right: calc(var(--spacing-05) / 2);
	}

	[dir=rtl] .category-topbar-related-categories__categories .variable-width-carousel__item {
		margin-right: calc(var(--spacing-05) / 2);
		margin-left: calc(var(--spacing-05) / 2);
	}

	[dir=ltr] .category-topbar-related-categories__categories .variable-width-carousel__item:first-child {
		margin-left: 0;
	}

	[dir=rtl] .category-topbar-related-categories__categories .variable-width-carousel__item:first-child {
		margin-right: 0;
	}

	[dir=ltr] .category-topbar-related-categories__categories .variable-width-carousel__item:last-child {
		margin-right: 0;
	}

	[dir=rtl] .category-topbar-related-categories__categories .variable-width-carousel__item:last-child {
		margin-left: 0;
	}

	.category-topbar-related-categories .category-topbar-related-categories__category-name-wrapper {
		max-width: none;
	}

	.category-topbar-related-categories__categories .variable-width-carousel__arrow {
		top: -1px;
	}

	/* stylelint-disable-next-line selector-max-type */
	.variable-width-carousel__arrow svg {
		height: 16px;
	}
}

@media screen and (min-width: 1600px) {
	.category-topbar-related-categories__categories .variable-width-carousel__arrow {
		top: -2px;
	}

	/* stylelint-disable-next-line selector-max-type */
	.variable-width-carousel__arrow svg {
		height: 20px;
	}
}

@media screen and (min-width: 1920px) {
	.category-topbar-related-categories__categories .variable-width-carousel__arrow {
		top: -1px;
	}

	/* stylelint-disable-next-line selector-max-type */
	.variable-width-carousel__arrow svg {
		height: 24px;
	}
}

