/**
 * Smart Tab Anchor Navigation — Frontend Styles
 */

.pretpot-stan-wrapper {
	position: relative;
	width: 100%;
}

.pretpot-stan-bar {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	box-sizing: border-box;
}

.pretpot-stan-bar::-webkit-scrollbar {
	display: none;
}

.pretpot-stan-bar.pretpot-stan-is-sticky {
	position: fixed;
	left: 0;
	right: 0;
	z-index: 100;
}

.pretpot-stan-inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 0;
	padding: 0 16px;
	white-space: nowrap;
	width: max-content;
	min-width: 100%;
	box-sizing: border-box;
}

.pretpot-stan-bar .pretpot-stan-btn,
.pretpot-stan-bar .pretpot-stan-btn:focus,
.pretpot-stan-bar .pretpot-stan-btn:active {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: none;
	box-shadow: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	transition: all 0.2s ease;
	text-decoration: none;
	outline: none;
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
	/* No color/background here — let Elementor controls set them */
}

.pretpot-stan-btn-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
}

.pretpot-stan-icon {
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	line-height: 1;
}

.pretpot-stan-icon svg {
	width: 14px;
	height: 14px;
}

/* TABS STYLE */
.pretpot-stan-style-tabs .pretpot-stan-btn {
	background-color: transparent;
	border-radius: 0;
	/* color intentionally omitted — Elementor controls it */
}

.pretpot-stan-style-tabs .pretpot-stan-btn:hover {
	background-color: transparent;
	/* color intentionally omitted — Elementor controls it */
}

.pretpot-stan-style-tabs .pretpot-stan-btn.pretpot-stan-active {
	background-color: transparent;
	/* color intentionally omitted — Elementor controls it */
}

.pretpot-stan-line {
	position: absolute;
	left: 0;
	right: 0;
	height: 2px;
	/* background intentionally omitted — Elementor controls it */
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.pretpot-stan-btn.pretpot-stan-active .pretpot-stan-line {
	opacity: 1;
}

.pretpot-stan-line-bottom {
	bottom: 0;
	top: auto;
}

.pretpot-stan-line-top {
	top: 0;
	bottom: auto;
}

/* PILLS STYLE — all colors come from Elementor controls */
.pretpot-stan-style-pills .pretpot-stan-inner {
	padding: 8px 16px;
	gap: 6px;
}

.pretpot-stan-style-pills .pretpot-stan-btn {
	border-radius: 20px;
	border-style: solid;
	border-width: 0;
	background-color: transparent;
	/* color intentionally omitted — Elementor controls it */
}

.pretpot-stan-style-pills .pretpot-stan-btn:not(.pretpot-stan-active) {
	background-color: transparent;
	/* color intentionally omitted — Elementor controls it */
}

.pretpot-stan-style-pills .pretpot-stan-btn:not(.pretpot-stan-active):hover {
	background-color: transparent;
	/* color intentionally omitted — Elementor controls it */
}

.pretpot-stan-style-pills .pretpot-stan-btn.pretpot-stan-active {
	background-color: transparent;
	/* color intentionally omitted — Elementor controls it */
}

.pretpot-stan-style-pills .pretpot-stan-btn.pretpot-stan-active:hover {
	background-color: transparent;
	/* color intentionally omitted — Elementor controls it */
}

.pretpot-stan-style-pills .pretpot-stan-line {
	display: none;
}

/* STICKY SPACER */
.pretpot-stan-sticky-spacer {
	display: none;
}

.pretpot-stan-sticky-spacer.pretpot-stan-spacer-active {
	display: block;
}

/* FOCUS / A11Y */
.pretpot-stan-btn:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* ALIGNMENT */
.pretpot-stan-bar.pretpot-stan-align-left   .pretpot-stan-inner { justify-content: flex-start; }
.pretpot-stan-bar.pretpot-stan-align-center .pretpot-stan-inner { justify-content: center; }
.pretpot-stan-bar.pretpot-stan-align-right  .pretpot-stan-inner { justify-content: flex-end; }

/* ELEMENTOR EDITOR */
.elementor-editor-active .pretpot-stan-bar.pretpot-stan-is-sticky {
	position: relative !important;
}