/**
 * Visit Oradea — Category Tabs (archive nav).
 */

.et_pb_vo_category_tabs,
.vo-category-tabs {
	font-family: var(--vo-font, "Fira Sans", system-ui, sans-serif);
	display: block !important;
}

.vo-category-tabs__nav {
	display: inline-flex !important;
	align-items: center;
	max-width: 100%;
	border-radius: 20px 20px 0 0 !important;
	background: #fff;
	gap: 0;
}

.vo-category-tabs__scroller {
	min-width: 0;
	max-width: 100%;
	overflow: visible;
}

.vo-category-tabs__list {
	display: inline-flex !important;
	flex-wrap: wrap;
	align-items: stretch;
	margin: 0;
	gap: 0 !important;
	padding: 0 20px !important;
	list-style: none !important;
}

.vo-category-tabs__item {
	margin: 0;
	padding: 5px 10px !important;
	gap: 0 !important;
	list-style: none;
	flex: 0 0 auto;
}

.vo-category-tabs__item::marker {
	content: none;
	display: none;
}

.vo-category-tabs__link {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.55rem 0 0;
	border: 0;
	background: transparent;
	color: var(--vo-ink, #1f2a44) !important;
	font-family: var(--vo-font, "Fira Sans", system-ui, sans-serif) !important;
	font-size: clamp(0.92rem, 1.05vw, 1.05rem);
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.25;
	text-decoration: none !important;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.vo-category-tabs__link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 3px;
	background: var(--vo-plum, #984878);
	transition: width 0.35s ease;
}

.vo-category-tabs__link:hover::after,
.vo-category-tabs__link:focus-visible::after,
.vo-category-tabs__link.is-current::after,
.vo-category-tabs__item.is-current .vo-category-tabs__link::after {
	width: 100%;
}

.vo-category-tabs__link:hover,
.vo-category-tabs__link:focus-visible {
	color: var(--vo-plum, #984878) !important;
	outline: none;
}

.vo-category-tabs__link.is-current,
.vo-category-tabs__item.is-current .vo-category-tabs__link {
	font-weight: 500;
	color: var(--vo-plum, #984878) !important;
}

.vo-category-tabs__arrow {
	display: none;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0 4px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--vo-plum, #984878);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.vo-category-tabs__arrow:hover,
.vo-category-tabs__arrow:focus-visible {
	background: rgba(152, 72, 120, 0.1);
	color: var(--vo-plum, #984878);
	outline: none;
}

.vo-category-tabs__arrow:disabled {
	opacity: 0.3;
	cursor: default;
}

.vo-category-tabs__arrow:disabled:hover {
	background: transparent;
}

.vo-category-tabs__arrow[hidden] {
	display: none !important;
}

/* Mobile: horizontal scroll + arrows when overflow exists. */
@media (max-width: 782px) {
	.et_pb_vo_category_tabs, .vo-category-tabs {
		margin: 0 -10px !important;
	}
	
	.vo-category-tabs__nav {
		display: flex !important;
		width: 100%;
	}

	.vo-category-tabs__scroller {
		flex: 1 1 auto;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-behavior: smooth;
		scrollbar-width: none;
	}

	.vo-category-tabs__scroller::-webkit-scrollbar {
		display: none;
	}

	.vo-category-tabs__list {
		flex-wrap: nowrap !important;
		width: max-content;
		min-width: 100%;
		padding: 0 8px !important;
	}

	.vo-category-tabs__arrow:not([hidden]) {
		display: inline-grid;
		place-items: center;
	}

	.vo-category-tabs__nav.is-scrollable .vo-category-tabs__list {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}
