/**
 * Chevalior Kategorie-Tabs — frontend styles.
 */

.cct-tabs {
	margin: 2.5em 0;
}

.cct-tabs .cct-title,
.cct-tabs .cct-tab,
.cct-tabs .cct-button {
	font-family: 'Montserrat', 'Montserrat Light', sans-serif;
}

.cct-tabs .cct-title {
	margin: 0 0 0.75em;
	text-align: center;
	font-size: 1.4em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

/* Tab bar: centered, wraps onto further rows so every category is visible
   at once (no hidden, swipe-only tabs on phones). */
.cct-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6em;
	margin: 0 0 2em;
	padding: 2px;
}

@media (max-width: 767px) {
	.cct-nav {
		gap: 0.4em;
	}
}

/* Tabs look like buttons, so customers see right away they can pick one. */
.cct-tabs .cct-tab {
	flex: 0 0 auto;
	margin: 0;
	padding: 0.7em 1.4em;
	min-height: 0;
	background: #fff;
	border: 1px solid #000;
	border-radius: 0;
	box-shadow: none;
	color: #000;
	font-size: 0.85em;
	font-weight: 400;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s;
}

.cct-tabs .cct-tab:hover,
.cct-tabs .cct-tab:focus {
	background: #f2f2f2;
	color: #000;
}

.cct-tabs .cct-tab:focus-visible {
	outline: 2px solid #000;
	outline-offset: 2px;
}

.cct-tabs .cct-tab.is-active,
.cct-tabs .cct-tab.is-active:hover,
.cct-tabs .cct-tab.is-active:focus {
	background: #000;
	color: #fff;
	font-weight: 600;
	cursor: default;
}

.cct-panel[hidden] {
	display: none !important;
}

.cct-panel {
	animation: cct-fade 0.25s ease;
}

@keyframes cct-fade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.cct-panel { animation: none; }
}

.cct-more {
	margin: 1.5em 0 0;
	text-align: center;
}

.cct-tabs .cct-button {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

/* Compact buttons on phones so more of them fit per row. */
@media (max-width: 767px) {
	.cct-tabs .cct-tab {
		padding: 0.6em 0.9em;
		font-size: 0.75em;
		letter-spacing: 0.06em;
	}
}
