.vitra-categories {
	--vitra-orange: #f97316;
	--vitra-orange-dark: #ea580c;
	--vitra-orange-light: #fff7ed;
	--vitra-black: #1c1917;
	--vitra-text: #57534e;
	--vitra-muted: #a8a29e;

	direction: rtl;
	width: 100%;
	padding: 10px 0;
	font-family: inherit;
}

.vitra-categories-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 30px;
	margin-bottom: 30px;
}

.vitra-categories-heading {
	max-width: 720px;
}

.vitra-categories-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
	color: var(--vitra-orange-dark);
	font-size: 12px;
	font-weight: 900;
}

.vitra-categories-label::before {
	content: "";
	width: 26px;
	height: 3px;
	border-radius: 10px;
	background: var(--vitra-orange);
}

.vitra-categories-heading h2 {
	margin: 0 0 10px;
	color: var(--vitra-black);
	font-size: clamp(25px, 2.5vw, 34px);
	font-weight: 950;
	line-height: 1.5;
	letter-spacing: -.5px;
}

.vitra-categories-heading h2 strong {
	color: var(--vitra-orange-dark);
	font-weight: 950;
}

.vitra-categories-heading p {
	margin: 0;
	color: #78716c;
	font-size: 13px;
	line-height: 1.9;
	font-weight: 500;
}

.vitra-categories-total {
	flex: 0 0 auto;
	display: flex;
	align-items: baseline;
	gap: 7px;
	padding-bottom: 4px;
}

.vitra-categories-total strong {
	color: var(--vitra-orange);
	font-size: 23px;
	font-weight: 950;
}

.vitra-categories-total span {
	color: #a8a29e;
	font-size: 11px;
	font-weight: 700;
}

.vitra-categories-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.vitra-category-item {
	position: relative;
	min-height: 82px;
	padding: 13px;
	display: flex;
	align-items: center;
	gap: 12px;
	color: inherit !important;
	text-decoration: none !important;
	background: #fff;
	border: 1px solid #eeeae7;
	border-radius: 15px;
	overflow: hidden;
	transition:
		transform .25s ease,
		border-color .25s ease,
		box-shadow .25s ease,
		background .25s ease;
}

.vitra-category-item::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 3px;
	height: 0;
	background: var(--vitra-orange);
	transition: height .25s ease;
}

.vitra-category-item:hover {
	color: inherit !important;
	transform: translateY(-3px);
	border-color: rgba(249,115,22,.25);
	background: #fffdfa;
	box-shadow: 0 12px 30px rgba(28,25,23,.07);
}

.vitra-category-item:hover::before {
	height: 100%;
}

.vitra-category-icon {
	width: 43px;
	height: 43px;
	flex: 0 0 43px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--vitra-orange-dark);
	background: var(--vitra-orange-light);
	border-radius: 11px;
	transition: background .25s ease, color .25s ease;
}

.vitra-category-icon svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vitra-category-item:hover .vitra-category-icon {
	background: var(--vitra-orange);
	color: #fff;
}

.vitra-category-content {
	min-width: 0;
	flex: 1;
}

.vitra-category-parent {
	display: block;
	margin-bottom: 3px;
	color: #a8a29e;
	font-size: 9px;
	font-weight: 650;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vitra-category-title {
	display: flex;
	align-items: center;
	gap: 7px;
}

.vitra-category-title strong {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	color: #292524;
	font-size: 12.5px;
	font-weight: 900;
	white-space: nowrap;
}

.vitra-category-title > span {
	min-width: 21px;
	height: 21px;
	padding: 0 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
	color: #a8a29e;
	background: #f5f5f4;
	font-size: 9px;
	font-weight: 800;
}

.vitra-category-arrow {
	width: 25px;
	height: 25px;
	flex: 0 0 25px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #d6d3d1;
	transition: color .25s ease, transform .25s ease;
}

.vitra-category-arrow svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.vitra-category-item:hover .vitra-category-arrow {
	color: var(--vitra-orange);
	transform: translateX(-3px);
}

.vitra-category-extra {
	display: none;
}

.vitra-categories.is-expanded .vitra-category-extra {
	display: flex;
	animation: vitraCategoryShow .35s ease both;
}

@keyframes vitraCategoryShow {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.vitra-categories-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 25px;
}

.vitra-categories-toggle {
	min-height: 46px;
	padding: 0 19px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid rgba(249,115,22,.20);
	border-radius: 12px;
	outline: none;
	background: #fffaf6;
	color: var(--vitra-orange-dark);
	font-family: inherit;
	font-size: 11.5px;
	font-weight: 900;
	cursor: pointer;
	transition:
		background .25s ease,
		color .25s ease,
		border-color .25s ease,
		transform .25s ease;
}

.vitra-categories-toggle:hover {
	transform: translateY(-2px);
	color: #fff;
	background: var(--vitra-orange);
	border-color: var(--vitra-orange);
}

.vitra-toggle-count {
	padding: 2px 6px;
	border-radius: 6px;
	background: rgba(249,115,22,.10);
	font-size: 9px;
}

.vitra-categories-toggle:hover .vitra-toggle-count {
	background: rgba(255,255,255,.18);
}

.vitra-categories-toggle svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .3s ease;
}

.vitra-categories.is-expanded .vitra-categories-toggle svg {
	transform: rotate(180deg);
}

.vitra-categories.is-expanded .vitra-toggle-count {
	display: none;
}

@media (max-width: 1024px) {
	.vitra-categories-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.vitra-categories-head {
		align-items: flex-start;
		margin-bottom: 22px;
	}

	.vitra-categories-heading h2 {
		font-size: 23px;
	}

	.vitra-categories-heading p {
		font-size: 12px;
	}

	.vitra-categories-total {
		display: none;
	}

	.vitra-categories-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 9px;
	}

	.vitra-category-item {
		min-height: 75px;
		padding: 10px;
		gap: 9px;
		border-radius: 12px;
	}

	.vitra-category-icon {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.vitra-category-title strong {
		font-size: 11px;
	}

	.vitra-category-arrow {
		display: none;
	}
}

@media (max-width: 440px) {
	.vitra-categories-grid {
		grid-template-columns: 1fr;
	}

	.vitra-category-item {
		min-height: 68px;
	}

	.vitra-category-title strong {
		font-size: 12px;
	}
}
