/* ==========================================================================
   Toopix Page Builder — изглед на секциите, колоните и елементите
   --------------------------------------------------------------------------
   Сè користи променливи од темата (--tx-accent, --tx-ink, --tx-paper…),
   па бојата, фонтовите и аглите се менуваат од поставките на сајтот.
   ========================================================================== */

/* 1. Распоред
   ========================================================================== */
.tpb {
	--tpb-gap: var(--tpb-site-gap, clamp(20px, 2.6vw, 36px));
	position: relative;
}

.tpb-section {
	--tpb-sp: var(--tpb-site-space, clamp(64px, 8.5vw, 128px));
	position: relative;
	padding-block: var(--tpb-sp);
	isolation: isolate;
}

.tpb-sp-none { --tpb-sp: 0px; }
.tpb-sp-xs { --tpb-sp: clamp(14px, 2vw, 26px); }
.tpb-sp-sm { --tpb-sp: clamp(36px, 4.6vw, 64px); }
.tpb-sp-lg { --tpb-sp: clamp(96px, 12vw, 180px); }

/* Без заглавие на страната: првата секција под фиксираното мени */
.tx-page-body--noheader > .tpb > .tpb-section:is(.is-first-visible, .tpb-leading):not(.tpb-sp-none) {
	padding-top: calc(var(--tpb-sp) + var(--tx-header-offset, calc(var(--tx-header-h) + var(--tx-admin-bar))));
}

.tx-page-body--tpb {
	padding: 0;
}

.tpb-container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--tpb-site-content, var(--tx-container));
	margin-inline: auto;
	padding-inline: var(--tx-gutter);
}

.tpb-layout-full > .tpb-container {
	max-width: none;
	padding-inline: 0;
}

.tpb-row {
	display: flex;
	flex-wrap: wrap;
	row-gap: var(--tpb-gap);
	margin-inline: calc(var(--tpb-gap) / -2);
}

.tpb-gap-none { --tpb-gap: 0px; }
.tpb-gap-narrow { --tpb-gap: 12px; }
.tpb-gap-wide { --tpb-gap: clamp(32px, 4.4vw, 68px); }
.tpb-gap-xl { --tpb-gap: clamp(48px, 7vw, 120px); }

.tpb-valign-top > .tpb-container > .tpb-row { align-items: flex-start; }
.tpb-valign-middle > .tpb-container > .tpb-row { align-items: center; }
.tpb-valign-bottom > .tpb-container > .tpb-row { align-items: flex-end; }

.tpb-h-screen,
.tpb-h-min {
	display: flex;
	align-items: center;
}

.tpb-h-screen {
	min-height: 100vh;
	min-height: 100svh;
}

.tpb-col {
	position: relative;
	display: flex;
	width: var(--tpb-wd, 100%);
	min-width: 0;
	padding-inline: calc(var(--tpb-gap) / 2);
}

.tpb-col__inner {
	--tpb-space: var(--tpb-site-gap, 24px);
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;
	align-items: flex-start;
	width: 100%;
	min-width: 0;
	isolation: isolate;
}

.tpb-col__inner > * {
	flex: 0 0 100%;
	max-width: 100%;
	min-width: 0;
}

.tpb-col-valign-middle > .tpb-col__inner { align-content: center; }
.tpb-col-valign-bottom > .tpb-col__inner { align-content: flex-end; }
.tpb-col-valign-space > .tpb-col__inner { align-content: space-between; }

.tpb-col-sticky > .tpb-col__inner {
	position: sticky;
	top: calc(var(--tx-header-h) + var(--tx-admin-bar) + 24px);
	align-self: flex-start;
}

.tpb-col__inner > .tpb-widget {
	margin-bottom: var(--tpb-space);
}

.tpb-col__inner > .tpb-widget:last-child {
	margin-bottom: 0;
}

.tpb-widget {
	position: relative;
	min-width: 0;
}

.tpb-col__inner > .tpb-w-inline {
	flex: 0 0 auto;
	margin-right: 14px;
}

.tpb-col__inner > .tpb-w-custom {
	flex: 0 1 100%;
}

.tpb-self-center { margin-inline: auto; }
.tpb-self-right { margin-left: auto; }

@media (max-width: 1024px) {
	.tpb-col {
		width: var(--tpb-wt, var(--tpb-wd, 100%));
	}
}

@media (max-width: 767px) {
	.tpb-col {
		width: var(--tpb-wm, 100%);
	}

	.tpb-reverse-m > .tpb-container > .tpb-row {
		flex-direction: column-reverse;
	}

	.tpb-col-sticky > .tpb-col__inner {
		position: relative;
		top: 0;
	}
}

/* Видливост по уред */
@media (min-width: 1025px) {
	.tpb-hide-desktop { display: none !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
	.tpb-hide-tablet { display: none !important; }
}

@media (max-width: 767px) {
	.tpb-hide-mobile { display: none !important; }
}

/* 2. Позадини, шеми и облици
   ========================================================================== */
.tpb-scheme-paper { background-color: var(--tx-paper); }
.tpb-scheme-white { --tx-bg: #fff; --tx-surface: var(--tx-paper); background-color: #fff; }
.tpb-scheme-mint { background-color: color-mix(in srgb, var(--tx-accent) 9%, var(--tx-paper)); }

.tpb-scheme-accent {
	--tx-bg: var(--tx-accent);
	--tx-muted: rgba(255, 255, 255, 0.82);
	--tx-line: rgba(255, 255, 255, 0.26);
	--tx-surface: rgba(255, 255, 255, 0.12);
	background-color: var(--tx-accent);
}

.tpb-scheme-accent .tx-hl {
	color: var(--tx-ink);
}

.tpb-scheme-accent .tx-btn--primary {
	--btn-bg: #fff;
	--btn-fg: var(--tx-ink);
	--btn-border: #fff;
}

/* Колоните: позадината е на внатрешниот дел (без растојанието меѓу колоните) */
.tpb-col.tx-dark,
.tpb-col[class*="tpb-scheme-"] {
	background-color: transparent;
}

.tpb-col[class*="tpb-scheme-"] > .tpb-col__inner,
.tpb-col.tpb-has-bg > .tpb-col__inner,
.tpb-col.tpb-has-grad > .tpb-col__inner {
	padding: clamp(24px, 3.2vw, 48px);
	border-radius: var(--tpb-site-radius, var(--tx-radius));
	overflow: hidden;
}

.tpb-col.tpb-scheme-paper > .tpb-col__inner { background-color: var(--tx-paper); }
.tpb-col.tpb-scheme-white > .tpb-col__inner { background-color: #fff; }
.tpb-col.tpb-scheme-mint > .tpb-col__inner { background-color: color-mix(in srgb, var(--tx-accent) 9%, var(--tx-paper)); }
.tpb-col.tpb-scheme-dark > .tpb-col__inner { background-color: var(--tx-ink); }
.tpb-col.tpb-scheme-accent > .tpb-col__inner { background-color: var(--tx-accent); }

.tpb-has-bg {
	background-position: center;
	background-size: cover;
}

.tpb-bg-fixed {
	background-attachment: fixed;
}

@supports (-webkit-touch-callout: none) {
	.tpb-bg-fixed {
		background-attachment: scroll;
	}
}

.tpb-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	opacity: 0.6;
	pointer-events: none;
	border-radius: inherit;
}

.tpb-col__inner > .tpb-overlay {
	z-index: -1;
	flex: none;
	max-width: none;
}

.tpb-bg-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.tpb-col__inner > .tpb-bg-video {
	z-index: -2;
	flex: none;
	max-width: none;
}

.tpb-shape {
	position: absolute;
	left: 0;
	right: 0;
	z-index: 1;
	line-height: 0;
	color: var(--tx-paper);
	pointer-events: none;
}

.tpb-shape--top {
	top: -1px;
}

.tpb-shape--bottom {
	bottom: -1px;
	transform: rotate(180deg);
}

.tpb-shape svg {
	display: block;
	width: 100%;
	height: clamp(36px, 6vw, 96px);
}

.tpb-shape.is-flip svg {
	transform: scaleX(-1);
}

/* Рамки и сенки */
.tpb-border-solid { --tpb-bs: solid; border: 1px solid var(--tx-line); }
.tpb-border-dashed { --tpb-bs: dashed; border: 1px dashed var(--tx-line); }
.tpb-border-dotted { --tpb-bs: dotted; border: 1px dotted var(--tx-line); }

.tpb-shadow-sm,
.tpb-col-shadow-sm > .tpb-col__inner { box-shadow: 0 6px 18px -8px rgba(18, 16, 17, 0.22); }
.tpb-shadow-md,
.tpb-col-shadow-md > .tpb-col__inner { box-shadow: 0 18px 40px -18px rgba(18, 16, 17, 0.32); }
.tpb-shadow-lg,
.tpb-col-shadow-lg > .tpb-col__inner { box-shadow: 0 34px 70px -28px rgba(18, 16, 17, 0.42); }
.tpb-shadow-xl,
.tpb-col-shadow-xl > .tpb-col__inner { box-shadow: 0 50px 100px -40px rgba(18, 16, 17, 0.55); }
.tpb-shadow-glow,
.tpb-col-shadow-glow > .tpb-col__inner { box-shadow: 0 20px 60px -18px color-mix(in srgb, var(--tx-accent) 70%, transparent); }
.tpb-shadow-inset,
.tpb-col-shadow-inset > .tpb-col__inner { box-shadow: inset 0 0 0 1px var(--tx-line); }

/* Ефекти при hover */
.tpb-hover-lift,
.tpb-hover-grow,
.tpb-hover-glow {
	transition: transform 0.6s var(--tx-ease), box-shadow 0.6s var(--tx-ease);
}

.tpb-hover-lift:hover { transform: translateY(-8px); }
.tpb-hover-grow:hover { transform: scale(1.035); }
.tpb-hover-glow:hover { box-shadow: 0 24px 60px -20px color-mix(in srgb, var(--tx-accent) 80%, transparent); }

.tpb-hover-float {
	animation: tpb-float 6s ease-in-out infinite;
}

@keyframes tpb-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-14px); }
}

/* 3. Наслов
   ========================================================================== */
.tpb-heading__label {
	margin-bottom: 1.2rem;
}

.tpb-heading__title {
	margin: 0;
	font-family: var(--tx-font-display);
	font-weight: 600;
	line-height: 1.07;
	letter-spacing: -0.032em;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.tpb-heading__title a {
	color: inherit;
	text-decoration: none;
}

.tpb-size-xxl { font-size: clamp(2.9rem, 8.4vw, 7.6rem); line-height: 0.98; letter-spacing: -0.045em; }
.tpb-size-xl { font-size: clamp(2.4rem, 6vw, 5.3rem); line-height: 1.01; letter-spacing: -0.04em; }
.tpb-size-lg { font-size: clamp(2rem, 4.4vw, 3.8rem); }
.tpb-size-md { font-size: clamp(1.5rem, 2.7vw, 2.4rem); }
.tpb-size-sm { font-size: clamp(1.2rem, 1.7vw, 1.55rem); letter-spacing: -0.015em; line-height: 1.2; }
.tpb-size-xs { font-size: 1.06rem; letter-spacing: 0; line-height: 1.3; }

.tpb-heading__text {
	max-width: 62ch;
	margin: 1.1rem 0 0;
	color: var(--tx-muted);
	font-size: clamp(1.02rem, 1.25vw, 1.18rem);
	line-height: 1.65;
}

.tpb-al-center .tpb-heading__text,
.tpb-al-center .tpb-heading__title { margin-inline: auto; }
.tpb-al-right .tpb-heading__text,
.tpb-al-right .tpb-heading__title { margin-left: auto; }

@media (max-width: 1024px) {
	.tpb-al-t-left .tpb-heading__text,
	.tpb-al-t-left .tpb-heading__title { margin-inline: 0 auto; }
	.tpb-al-t-center .tpb-heading__text,
	.tpb-al-t-center .tpb-heading__title { margin-inline: auto; }
}

@media (max-width: 767px) {
	.tpb-al-m-left .tpb-heading__text,
	.tpb-al-m-left .tpb-heading__title { margin-inline: 0 auto; }
	.tpb-al-m-center .tpb-heading__text,
	.tpb-al-m-center .tpb-heading__title { margin-inline: auto; }
}

/* 4. Текст
   ========================================================================== */
.tpb-text {
	font-size: 1.04rem;
	line-height: 1.75;
	overflow-wrap: break-word;
}

.tpb-text > :first-child { margin-top: 0; }
.tpb-text > :last-child { margin-bottom: 0; }

.tpb-text p,
.tpb-text ul,
.tpb-text ol,
.tpb-text blockquote,
.tpb-text table,
.tpb-text figure {
	margin: 0 0 1.15em;
}

.tpb-text h2,
.tpb-text h3,
.tpb-text h4,
.tpb-text h5 {
	margin: 1.6em 0 0.55em;
	font-family: var(--tx-font-display);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.tpb-text h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.tpb-text h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); }
.tpb-text h4 { font-size: 1.15rem; }

.tpb-text a:not(.tx-btn) {
	color: var(--tx-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

.tx-dark .tpb-text a:not(.tx-btn) {
	color: var(--tx-accent-bright);
}

.tpb-text ul,
.tpb-text ol {
	padding-left: 1.3em;
}

.tpb-text ul li::marker {
	color: var(--tx-accent);
}

.tpb-text li + li {
	margin-top: 0.35em;
}

.tpb-text blockquote {
	padding: 0.2em 0 0.2em 1.2em;
	border-left: 3px solid var(--tx-accent);
	font-size: 1.15em;
	font-style: italic;
}

.tpb-text img {
	max-width: 100%;
	height: auto;
	border-radius: var(--tx-radius-sm);
}

.tpb-text table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

.tpb-text th,
.tpb-text td {
	padding: 0.65em 0.8em;
	border-bottom: 1px solid var(--tx-line);
	text-align: left;
	vertical-align: top;
}

.tpb-text--sm { font-size: 0.94rem; }
.tpb-text--lead { font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.7; }

.tpb-text--xl {
	font-family: var(--tx-font-display);
	font-size: clamp(1.5rem, 3vw, 2.5rem);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.02em;
}

.tpb-text--dropcap > p:first-child::first-letter {
	float: left;
	margin: 0.06em 0.12em 0 0;
	font-family: var(--tx-font-display);
	font-size: 3.6em;
	font-weight: 700;
	line-height: 0.8;
	color: var(--tx-accent);
}

/* 5. Слика
   ========================================================================== */
.tpb-image {
	margin: 0;
}

.tpb-image__frame {
	position: relative;
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	border-radius: var(--tpb-site-radius, var(--tx-radius));
	vertical-align: top;
}

.tpb-image__frame > img,
.tpb-image__frame > a > img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--tx-ease), filter 0.8s var(--tx-ease);
}

.tpb-image__frame > a {
	display: block;
	height: 100%;
}

.tpb-image figcaption {
	margin-top: 0.8rem;
	color: var(--tx-muted);
	font-size: 0.9rem;
}

.tpb-r-soft .tpb-image__frame { border-radius: var(--tx-radius-sm); }
.tpb-r-none .tpb-image__frame { border-radius: 0; }
.tpb-r-circle .tpb-image__frame { border-radius: 50%; aspect-ratio: 1; }

.tpb-image.tpb-shadow-sm,
.tpb-image.tpb-shadow-md,
.tpb-image.tpb-shadow-lg,
.tpb-image.tpb-shadow-xl,
.tpb-image.tpb-shadow-glow {
	box-shadow: none;
}

.tpb-image.tpb-shadow-sm .tpb-image__frame { box-shadow: 0 6px 18px -8px rgba(18, 16, 17, 0.22); }
.tpb-image.tpb-shadow-md .tpb-image__frame { box-shadow: 0 18px 40px -18px rgba(18, 16, 17, 0.32); }
.tpb-image.tpb-shadow-lg .tpb-image__frame { box-shadow: 0 34px 70px -28px rgba(18, 16, 17, 0.42); }
.tpb-image.tpb-shadow-xl .tpb-image__frame { box-shadow: 0 50px 100px -40px rgba(18, 16, 17, 0.55); }
.tpb-image.tpb-shadow-glow .tpb-image__frame { box-shadow: 0 20px 60px -18px color-mix(in srgb, var(--tx-accent) 70%, transparent); }

.tpb-image--zoom .tpb-image__frame:hover img { transform: scale(1.07); }
.tpb-image--grayscale img { filter: grayscale(1); }
.tpb-image--grayscale .tpb-image__frame:hover img { filter: none; }
.tpb-image--float .tpb-image__frame { animation: tpb-float 7s ease-in-out infinite; }
.tpb-image--parallax .tpb-image__frame img { transform: scale(1.14); }

.tpb-image--curtain .tpb-image__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--tx-accent);
	transform-origin: right;
	transition: transform 1.2s var(--tx-ease) 0.15s;
}

.tpb-image--curtain.is-in .tpb-image__frame::after,
.tx-fallback .tpb-image--curtain .tpb-image__frame::after,
.tpb-editing .tpb-image--curtain .tpb-image__frame::after {
	transform: scaleX(0);
}

/* 6. Копчиња
   ========================================================================== */
.tpb-buttons {
	--tpb-grow-stretch: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.tpb-buttons > a {
	flex-grow: var(--tpb-btn-grow, 0);
}

.tpb-btn--sm {
	font-size: 0.78rem;
	padding: 0.7em 0.75em 0.7em 1.3em;
}

.tpb-btn--lg {
	font-size: 0.98rem;
	padding: 1.25em 1.35em 1.25em 1.9em;
}

.tpb-btn--noicon {
	padding-right: 1.6em;
}

.tpb-textlink {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	padding-bottom: 0.2em;
	border-bottom: 1px solid currentColor;
	color: var(--tx-fg, inherit);
	font-family: var(--tx-font-display);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
}

.tpb-textlink .tx-icon {
	width: 1em;
	height: 1em;
	transition: transform 0.4s var(--tx-ease);
}

.tpb-textlink:hover .tx-icon {
	transform: translate(3px, -3px);
}

/* 7. Празен простор, разделник, икона
   ========================================================================== */
.tpb-spacer {
	height: 60px;
}

.tpb-divider {
	--tpb-line: var(--tx-line);
	--tpb-thick: 1px;
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
	margin-inline: auto;
}

.tpb-divider i {
	flex: 1;
	border-top: var(--tpb-thick) solid var(--tpb-line);
}

.tpb-divider--dashed i { border-top-style: dashed; }
.tpb-divider--dotted i { border-top-style: dotted; }
.tpb-divider--double i { border-top-style: double; border-top-width: max(3px, var(--tpb-thick)); }

.tpb-divider--gradient i {
	height: max(2px, var(--tpb-thick));
	border: 0;
	background: linear-gradient(90deg, transparent, var(--tx-accent), transparent);
}

.tpb-divider__mid {
	flex: none;
	color: var(--tx-muted);
	font-family: var(--tx-font-display);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.tpb-divider__icon {
	color: var(--tx-accent);
}

.tpb-divider__icon .tx-icon {
	width: 22px;
	height: 22px;
}

.tpb-icon-wrap {
	line-height: 0;
}

.tpb-icon {
	--tpb-icon: 48px;
	--tpb-icon-bg: color-mix(in srgb, var(--tx-accent) 14%, transparent);
	display: inline-grid;
	place-items: center;
	color: var(--tx-accent);
}

.tpb-icon .tx-icon {
	width: var(--tpb-icon);
	height: var(--tpb-icon);
}

.tpb-icon--stacked,
.tpb-icon--framed {
	width: calc(var(--tpb-icon) * 2);
	height: calc(var(--tpb-icon) * 2);
	border-radius: 50%;
}

.tpb-icon--stacked { background: var(--tpb-icon-bg); }
.tpb-icon--framed { border: 2px solid currentColor; }
.tpb-icon--rounded { border-radius: 26%; }
.tpb-icon--square { border-radius: 0; }

/* 8. Листа со икони
   ========================================================================== */
.tpb-list {
	display: flex;
	flex-direction: column;
	gap: var(--tpb-ggap, 0.85rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.tpb-list--inline {
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: 1.6rem;
}

.tpb-list.tpb-grid {
	display: grid;
}

.tpb-list__item > a,
.tpb-list__item {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	color: inherit;
	text-decoration: none;
}

.tpb-list--divided .tpb-list__item {
	padding-bottom: var(--tpb-ggap, 0.85rem);
	border-bottom: 1px solid var(--tx-line);
}

.tpb-list__icon {
	flex: none;
	display: grid;
	place-items: center;
	color: var(--tx-accent);
	line-height: 0;
}

.tpb-list__icon .tx-icon {
	width: 20px;
	height: 20px;
}

.tpb-list--icon-circle .tpb-list__icon {
	width: 28px;
	height: 28px;
	margin-top: -0.05em;
	border-radius: 50%;
	background: color-mix(in srgb, var(--tx-accent) 15%, transparent);
}

.tpb-list--icon-circle .tpb-list__icon .tx-icon {
	width: 15px;
	height: 15px;
	stroke-width: 2.2;
}

.tpb-list__text {
	line-height: 1.55;
}

.tpb-list__item > a:hover .tpb-list__text {
	color: var(--tx-accent);
}

/* 9. Мрежа (картички, галерија, објави, категории)
   ========================================================================== */
.tpb-grid {
	display: grid;
	grid-template-columns: repeat(var(--tpb-cols, 3), minmax(0, 1fr));
	gap: var(--tpb-ggap, clamp(16px, 2vw, 28px));
}

/* Картички */
.tpb-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-radius: var(--tpb-site-radius, var(--tx-radius));
	background: var(--tx-surface);
	color: var(--tx-fg);
	overflow: hidden;
	transition: transform 0.6s var(--tx-ease), box-shadow 0.6s var(--tx-ease), background-color 0.4s;
}

.tpb-cards--card .tpb-card {
	box-shadow: 0 1px 0 var(--tx-line), 0 20px 50px -38px rgba(18, 16, 17, 0.45);
}

.tpb-cards--bordered .tpb-card {
	background: transparent;
	border: 1px solid var(--tx-line);
}

.tpb-cards--plain .tpb-card {
	background: transparent;
	border-radius: 0;
	overflow: visible;
}

.tpb-cards--dark .tpb-card {
	--tx-fg: #f4f2ee;
	--tx-muted: rgba(244, 242, 238, 0.66);
	--tx-line: rgba(255, 255, 255, 0.12);
	background: var(--tx-ink);
}

.tpb-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: color-mix(in srgb, var(--tx-fg) 5%, transparent);
}

.tpb-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--tx-ease);
}

.tpb-cards--plain .tpb-card__media {
	border-radius: var(--tpb-site-radius, var(--tx-radius));
}

.tpb-card__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin: clamp(22px, 2.4vw, 32px) clamp(22px, 2.4vw, 32px) 0;
	border-radius: 18px;
	background: color-mix(in srgb, var(--tx-accent) 14%, transparent);
	color: var(--tx-accent);
	transition: transform 0.6s var(--tx-ease), background-color 0.4s, color 0.4s;
}

.tpb-card__icon .tx-icon {
	width: 28px;
	height: 28px;
}

.tpb-card:hover .tpb-card__icon {
	background: var(--tx-accent);
	color: #fff;
	transform: rotate(-6deg) scale(1.05);
}

.tpb-cards--plain .tpb-card__icon {
	margin: 0 0 1.2rem;
}

.tpb-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.55rem;
	padding: clamp(22px, 2.4vw, 32px);
}

.tpb-cards--plain .tpb-card__body {
	padding: 1.1rem 0 0;
}

.tpb-cards--plain .tpb-card__icon + .tpb-card__body {
	padding-top: 0;
}

.tpb-card__meta {
	margin: 0;
	color: var(--tx-accent);
	font-family: var(--tx-font-display);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.tpb-card__title {
	margin: 0;
	font-family: var(--tx-font-display);
	font-size: clamp(1.1rem, 1.45vw, 1.38rem);
	font-weight: 600;
	line-height: 1.22;
	letter-spacing: -0.015em;
}

.tpb-card__title a {
	color: inherit;
	text-decoration: none;
}

.tpb-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

.tpb-card__text {
	margin: 0;
	color: var(--tx-muted);
	font-size: 0.97rem;
	line-height: 1.6;
}

.tpb-card__price {
	margin: 0.3rem 0 0;
	color: var(--tx-accent);
	font-family: var(--tx-font-display);
	font-size: 1.12rem;
	font-weight: 700;
}

.tpb-card__more {
	position: relative;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin-top: auto;
	padding-top: 0.8rem;
	color: var(--tx-fg);
	font-family: var(--tx-font-display);
	font-size: 0.82rem;
	font-weight: 500;
	text-decoration: none;
}

.tpb-card__more::after {
	content: "";
	position: absolute;
	inset: 0;
}

.tpb-card__more .tx-icon {
	width: 16px;
	height: 16px;
	transition: transform 0.4s var(--tx-ease);
}

.tpb-card:hover .tpb-card__more {
	color: var(--tx-accent);
}

.tpb-card:hover .tpb-card__more .tx-icon {
	transform: translateX(4px);
}

.tpb-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	padding: 0.4em 0.85em;
	border-radius: 999px;
	background: var(--tx-accent);
	color: #fff;
	font-family: var(--tx-font-display);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.04em;
}

.tpb-cards--hover-lift .tpb-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--tx-shadow);
}

.tpb-cards--hover-zoom .tpb-card:hover .tpb-card__media img,
.tpb-cards--hover-lift .tpb-card:hover .tpb-card__media img {
	transform: scale(1.06);
}

/* Текст преку сликата */
.tpb-cards--overlay .tpb-card {
	min-height: clamp(280px, 30vw, 420px);
	justify-content: flex-end;
	background: var(--tx-ink);
	color: #fff;
	--tx-fg: #fff;
	--tx-muted: rgba(255, 255, 255, 0.78);
}

.tpb-cards--overlay .tpb-card__media {
	position: absolute;
	inset: 0;
	aspect-ratio: auto !important;
}

.tpb-cards--overlay .tpb-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 12, 0.85));
}

.tpb-cards--overlay .tpb-card__body {
	position: relative;
	flex: none;
}

/* Хоризонтални */
.tpb-cards--horizontal .tpb-card {
	flex-direction: row;
	box-shadow: 0 1px 0 var(--tx-line), 0 20px 50px -38px rgba(18, 16, 17, 0.45);
}

.tpb-cards--horizontal .tpb-card__media {
	flex: 0 0 40%;
	aspect-ratio: auto !important;
}

.tpb-cards--horizontal .tpb-card__icon {
	margin-right: 0;
}

@media (max-width: 767px) {
	.tpb-cards--horizontal .tpb-card {
		flex-direction: column;
	}

	.tpb-cards--horizontal .tpb-card__media {
		flex-basis: auto;
		aspect-ratio: 16 / 10 !important;
	}
}

/* 10. Бројач, напредок, цитат
   ========================================================================== */
.tpb-counter {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.tpb-counter__icon {
	color: var(--tx-accent);
	line-height: 0;
}

.tpb-counter__icon .tx-icon {
	width: 34px;
	height: 34px;
}

.tpb-counter__num {
	font-family: var(--tx-font-display);
	font-size: clamp(2.6rem, 5.4vw, 4.6rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.045em;
	color: var(--tx-fg);
}

.tpb-counter__label {
	color: var(--tx-muted);
	font-size: 0.98rem;
}

.tpb-progress {
	display: flex;
	flex-direction: column;
	gap: 1.3rem;
}

.tpb-progress__head {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.5rem;
	font-family: var(--tx-font-display);
	font-size: 0.86rem;
	font-weight: 500;
}

.tpb-progress__bar {
	height: 6px;
	border-radius: 99px;
	background: var(--tx-line);
	overflow: hidden;
}

.tpb-progress--thick .tpb-progress__bar {
	height: 14px;
}

.tpb-progress__bar i {
	display: block;
	width: var(--p);
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--tx-accent), var(--tx-accent-bright));
	transform-origin: left;
	animation: tpb-grow 1.6s var(--tx-ease) both;
}

@keyframes tpb-grow {
	from { transform: scaleX(0); }
}

.tpb-quote {
	position: relative;
	margin: 0;
	padding: clamp(26px, 3vw, 44px);
	border-radius: var(--tpb-site-radius, var(--tx-radius));
	background: var(--tx-surface);
}

.tpb-quote--plain {
	padding: 0;
	background: none;
}

.tpb-quote--big blockquote p {
	font-family: var(--tx-font-display);
	font-size: clamp(1.4rem, 2.6vw, 2.2rem);
	line-height: 1.32;
	letter-spacing: -0.02em;
}

.tpb-quote__mark {
	width: 38px;
	height: 38px;
	color: var(--tx-accent);
}

.tpb-quote__stars {
	margin: 0.6rem 0 0;
	color: #f5b301;
	letter-spacing: 0.14em;
}

.tpb-quote blockquote {
	margin: 1rem 0 1.4rem;
}

.tpb-quote blockquote p {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.7;
}

.tpb-quote figcaption {
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.tpb-quote figcaption strong {
	display: block;
	font-family: var(--tx-font-display);
	font-weight: 600;
}

.tpb-quote figcaption small {
	display: block;
	color: var(--tx-muted);
}

.tpb-quote__avatar {
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	overflow: hidden;
}

.tpb-quote__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tpb-quote__avatar--initial {
	display: grid;
	place-items: center;
	background: var(--tx-accent);
	color: #fff;
	font-family: var(--tx-font-display);
	font-weight: 600;
}

/* 11. Хармоника и јазичиња
   ========================================================================== */
.tpb-acc__item {
	border-bottom: 1px solid var(--tx-line);
}

.tpb-acc__item:first-child {
	border-top: 1px solid var(--tx-line);
}

.tpb-acc--boxed .tpb-acc__item {
	margin-bottom: 12px;
	border: 1px solid var(--tx-line);
	border-radius: var(--tx-radius-sm);
	background: var(--tx-surface);
}

.tpb-acc__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 0;
	font-family: var(--tx-font-display);
	font-size: clamp(1rem, 1.3vw, 1.18rem);
	font-weight: 500;
	cursor: pointer;
	list-style: none;
}

.tpb-acc--boxed .tpb-acc__title {
	padding: 1.1rem 1.3rem;
}

.tpb-acc__title::-webkit-details-marker {
	display: none;
}

.tpb-acc__title i {
	position: relative;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--tx-accent) 14%, transparent);
	transition: transform 0.5s var(--tx-ease), background-color 0.3s;
}

.tpb-acc__title i::before,
.tpb-acc__title i::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 2px;
	margin: -1px 0 0 -6px;
	border-radius: 2px;
	background: var(--tx-accent);
}

.tpb-acc__title i::after {
	transform: rotate(90deg);
	transition: transform 0.5s var(--tx-ease);
}

.tpb-acc__item[open] .tpb-acc__title i {
	transform: rotate(180deg);
	background: var(--tx-accent);
}

.tpb-acc__item[open] .tpb-acc__title i::before,
.tpb-acc__item[open] .tpb-acc__title i::after {
	background: #fff;
}

.tpb-acc__item[open] .tpb-acc__title i::after {
	transform: rotate(0deg);
}

.tpb-acc__body {
	padding: 0 0 1.4rem;
	color: var(--tx-muted);
}

.tpb-acc--boxed .tpb-acc__body {
	padding: 0 1.3rem 1.3rem;
}

.tpb-acc__item[open] .tpb-acc__body {
	animation: tpb-in 0.5s var(--tx-ease);
}

@keyframes tpb-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
}

.tpb-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 1.6rem;
	border-bottom: 1px solid var(--tx-line);
}

.tpb-tabs--center .tpb-tabs__nav {
	justify-content: center;
}

.tpb-tabs__tab {
	display: inline-flex;
	align-items: center;
	gap: 0.55em;
	margin-bottom: -1px;
	padding: 0.9rem 1.2rem;
	border: 0;
	border-bottom: 2px solid transparent;
	background: none;
	color: var(--tx-muted);
	font-family: var(--tx-font-display);
	font-size: 0.92rem;
	font-weight: 500;
	cursor: pointer;
	transition: color 0.3s, border-color 0.3s;
}

.tpb-tabs__tab .tx-icon {
	width: 18px;
	height: 18px;
}

.tpb-tabs__tab:hover,
.tpb-tabs__tab.is-active {
	color: var(--tx-fg);
}

.tpb-tabs__tab.is-active {
	border-bottom-color: var(--tx-accent);
}

.tpb-tabs--pills .tpb-tabs__nav {
	gap: 8px;
	border: 0;
}

.tpb-tabs--pills .tpb-tabs__tab {
	margin: 0;
	border: 1px solid var(--tx-line);
	border-radius: 999px;
}

.tpb-tabs--pills .tpb-tabs__tab.is-active {
	border-color: var(--tx-accent);
	background: var(--tx-accent);
	color: #fff;
}

.tpb-tabs--vertical {
	display: grid;
	grid-template-columns: minmax(180px, 30%) 1fr;
	gap: clamp(20px, 3vw, 48px);
}

.tpb-tabs--vertical .tpb-tabs__nav {
	flex-direction: column;
	margin: 0;
	border: 0;
	border-right: 1px solid var(--tx-line);
}

.tpb-tabs--vertical .tpb-tabs__tab {
	margin: 0 -1px 0 0;
	border-bottom: 0;
	border-right: 2px solid transparent;
	text-align: left;
}

.tpb-tabs--vertical .tpb-tabs__tab.is-active {
	border-right-color: var(--tx-accent);
}

.tpb-tabs__pane:not([hidden]) {
	animation: tpb-in 0.5s var(--tx-ease);
}

@media (max-width: 767px) {
	.tpb-tabs--vertical {
		grid-template-columns: 1fr;
	}

	.tpb-tabs--vertical .tpb-tabs__nav {
		flex-direction: row;
		border-right: 0;
		border-bottom: 1px solid var(--tx-line);
	}
}

/* 12. Галерија и карусел
   ========================================================================== */
.tpb-gallery__item {
	position: relative;
	margin: 0;
	aspect-ratio: 1;
	border-radius: var(--tx-radius-sm);
	overflow: hidden;
	background: color-mix(in srgb, var(--tx-fg) 6%, transparent);
}

.tpb-gallery__item a {
	display: block;
	height: 100%;
	cursor: zoom-in;
}

.tpb-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--tx-ease), filter 0.6s;
}

.tpb-gallery--zoom .tpb-gallery__item:hover img { transform: scale(1.08); }
.tpb-gallery--grayscale img { filter: grayscale(1); }
.tpb-gallery--grayscale .tpb-gallery__item:hover img { filter: none; }

.tpb-gallery__item figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2.2rem 1rem 0.8rem;
	background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.7));
	color: #fff;
	font-size: 0.85rem;
}

.tpb-gallery--masonry {
	display: block;
	columns: var(--tpb-cols, 3);
	column-gap: var(--tpb-ggap, clamp(16px, 2vw, 28px));
}

.tpb-gallery--masonry .tpb-gallery__item {
	aspect-ratio: auto;
	margin-bottom: var(--tpb-ggap, clamp(16px, 2vw, 28px));
	break-inside: avoid;
}

.tpb-gallery--masonry .tpb-gallery__item img {
	height: auto;
}

.tpb-gallery--carousel,
[data-tpb-carousel] {
	position: relative;
}

.tpb-gallery__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--tpb-cols, 3) - 1) * var(--tpb-ggap, 20px)) / var(--tpb-cols, 3));
	gap: var(--tpb-ggap, 20px);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.tpb-gallery__track::-webkit-scrollbar {
	display: none;
}

.tpb-gallery__track > * {
	scroll-snap-align: start;
}

.tpb-car__nav {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	border: 0;
	border-radius: 50%;
	background: var(--tx-surface);
	box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.4);
	color: var(--tx-fg);
	cursor: pointer;
	transition: transform 0.4s var(--tx-ease), background-color 0.3s, color 0.3s;
}

.tpb-car__nav:hover {
	background: var(--tx-accent);
	color: #fff;
}

.tpb-car__nav.is-prev { left: -14px; }
.tpb-car__nav.is-next { right: -14px; }

.tpb-car__nav .tx-icon {
	width: 20px;
	height: 20px;
}

@media (max-width: 767px) {
	.tpb-car__nav { display: none; }
}

/* 13. Слајдер (херо)
   ========================================================================== */
.tpb-slider {
	--tpb-shade: 0.45;
	position: relative;
	height: 88vh;
	min-height: 440px;
	overflow: hidden;
	background: var(--tx-ink);
	color: #fff;
	isolation: isolate;
}

.tpb-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	padding-top: calc(var(--tx-header-h) * 0.6);
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.1s var(--tx-ease), visibility 0s linear 1.1s;
}

.tpb-slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity 1.1s var(--tx-ease), visibility 0s;
}

.tpb-slider--slide .tpb-slide {
	opacity: 1;
	transform: translateX(100%);
	transition: transform 1s var(--tx-ease), visibility 0s linear 1s;
}

.tpb-slider--slide .tpb-slide.is-active {
	transform: none;
	transition: transform 1s var(--tx-ease), visibility 0s;
}

.tpb-slider--slide .tpb-slide.is-leaving {
	visibility: visible;
	transform: translateX(-30%);
}

.tpb-slider--zoom .tpb-slide {
	transform: scale(1.08);
	transition: opacity 1.1s var(--tx-ease), transform 1.4s var(--tx-ease), visibility 0s linear 1.1s;
}

.tpb-slider--zoom .tpb-slide.is-active {
	transform: none;
	transition: opacity 1.1s var(--tx-ease), transform 1.4s var(--tx-ease), visibility 0s;
}

.tpb-slide__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	overflow: hidden;
}

.tpb-slide__bg img,
.tpb-slide__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tpb-slider--kb .tpb-slide.is-active .tpb-slide__img {
	animation: tpb-kenburns 12s ease-out both;
}

@keyframes tpb-kenburns {
	from { transform: scale(1.14) translate(1%, 1%); }
	to { transform: scale(1); }
}

.tpb-slide__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, var(--tpb-shade-color, #0b0a0c) 10%, color-mix(in srgb, var(--tpb-shade-color, #0b0a0c) 40%, transparent) 75%);
	opacity: calc(var(--tpb-shade) + 0.25);
}

.tpb-slide__inner {
	width: 100%;
}

.tpb-slide__content {
	max-width: min(820px, 100%);
}

.tpb-slide--center .tpb-slide__content {
	margin-inline: auto;
	text-align: center;
}

.tpb-slide--right .tpb-slide__content {
	margin-left: auto;
	text-align: right;
}

.tpb-slide--center .tpb-slide__actions { justify-content: center; }
.tpb-slide--right .tpb-slide__actions { justify-content: flex-end; }

.tpb-slide__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.8em;
	margin: 0 0 1.4rem;
	font-family: var(--tx-font-display);
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
}

.tpb-slide__eyebrow::before {
	content: "";
	width: 34px;
	height: 1px;
	background: var(--tx-accent);
}

.tpb-slide__title {
	margin: 0 0 0.35em;
	font-family: var(--tx-font-display);
	font-weight: 600;
	color: #fff;
	text-wrap: balance;
}

.tpb-slide__title .tx-hl {
	color: var(--tx-accent-bright);
}

.tpb-slide__text {
	max-width: 58ch;
	margin: 0;
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(1.04rem, 1.4vw, 1.3rem);
	line-height: 1.6;
}

.tpb-slide--center .tpb-slide__text { margin-inline: auto; }
.tpb-slide--right .tpb-slide__text { margin-left: auto; }

.tpb-slide__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 2.2rem;
}

.tpb-slide__content > * {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.9s var(--tx-ease), transform 0.9s var(--tx-ease);
}

.tpb-slide.is-active .tpb-slide__content > * {
	opacity: 1;
	transform: none;
}

.tpb-slide.is-active .tpb-slide__content > :nth-child(2) { transition-delay: 0.12s; }
.tpb-slide.is-active .tpb-slide__content > :nth-child(3) { transition-delay: 0.24s; }
.tpb-slide.is-active .tpb-slide__content > :nth-child(4) { transition-delay: 0.36s; }

.tpb-slider__nav {
	position: absolute;
	right: var(--tx-gutter);
	bottom: clamp(24px, 5vh, 48px);
	z-index: 4;
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	cursor: pointer;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--tx-ease);
}

.tpb-slider__nav.is-prev {
	right: calc(var(--tx-gutter) + 62px);
}

.tpb-slider__nav:hover {
	border-color: var(--tx-accent);
	background: var(--tx-accent);
}

.tpb-slider__nav .tx-icon {
	width: 20px;
	height: 20px;
}

.tpb-slider__dots {
	position: absolute;
	left: var(--tx-gutter);
	bottom: clamp(24px, 5vh, 48px);
	z-index: 4;
	display: flex;
	gap: 8px;
}

.tpb-slider__dots button {
	position: relative;
	width: 42px;
	height: 20px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.tpb-slider__dots i {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 2px;
	background: rgba(255, 255, 255, 0.3);
	overflow: hidden;
}

.tpb-slider__dots i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left;
}

.tpb-slider__dots .is-active i::after {
	transform: scaleX(1);
	transition: transform var(--tpb-interval, 6s) linear;
}

.tpb-slider:not([data-autoplay]) .tpb-slider__dots .is-active i::after {
	transition: none;
}

.tpb-slider__scroll {
	position: absolute;
	left: 50%;
	bottom: clamp(20px, 4vh, 40px);
	z-index: 4;
	display: grid;
	place-items: center;
	width: 44px;
	height: 64px;
	margin-left: -22px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 999px;
	color: #fff;
	animation: tpb-bob 2.4s ease-in-out infinite;
}

.tpb-slider__scroll .tx-icon {
	width: 18px;
	height: 18px;
}

@keyframes tpb-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(8px); }
}

.tpb-anchor {
	display: block;
	scroll-margin-top: calc(var(--tx-header-h) + var(--tx-admin-bar));
}

@media (max-width: 767px) {
	.tpb-slider__nav,
	.tpb-slider__scroll {
		display: none;
	}

	.tpb-slider__dots {
		left: 50%;
		transform: translateX(-50%);
	}
}

/* 14. Банер, видео, мапа
   ========================================================================== */
.tpb-banner {
	--tpb-shade: 0.5;
	position: relative;
	display: flex;
	min-height: 420px;
	padding: clamp(22px, 3vw, 40px);
	border-radius: var(--tpb-site-radius, var(--tx-radius));
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}

.tpb-banner--bottom { align-items: flex-end; }
.tpb-banner--center { align-items: center; }
.tpb-banner--top { align-items: flex-start; }

.tpb-banner__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--tpb-photo-position, center center);
	transition: transform 1.2s var(--tx-ease);
}

.tpb-banner__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, calc(var(--tpb-shade) * 0.25)), rgba(0, 0, 0, calc(var(--tpb-shade) + 0.25)));
}

a.tpb-banner:hover .tpb-banner__img {
	transform: scale(1.06);
}

.tpb-banner__eyebrow {
	margin: 0 0 0.6rem;
	font-family: var(--tx-font-display);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
}

.tpb-banner__title {
	margin: 0;
	font-family: var(--tx-font-display);
	font-size: clamp(1.5rem, 2.6vw, 2.3rem);
	font-weight: 600;
	line-height: 1.12;
	color: #fff;
}

.tpb-banner__title .tx-hl {
	color: var(--tx-accent-bright);
}

.tpb-banner__text {
	margin: 0.7rem 0 0;
	color: rgba(255, 255, 255, 0.85);
}

.tpb-banner__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin-top: 1.3rem;
	padding: 0.75em 1.2em;
	border-radius: var(--tx-btn-radius);
	background: var(--tx-accent);
	color: #fff;
	font-family: var(--tx-font-display);
	font-size: 0.82rem;
	font-weight: 500;
}

.tpb-banner__btn .tx-icon {
	width: 16px;
	height: 16px;
}

.tpb-video {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--tpb-site-radius, var(--tx-radius));
	overflow: hidden;
	background: #000;
}

.tpb-video iframe,
.tpb-video video,
.tpb-video > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.tpb-video--cover {
	cursor: pointer;
}

.tpb-video--cover > img {
	transition: transform 1s var(--tx-ease), opacity 0.4s;
	opacity: 0.86;
}

.tpb-video--cover:hover > img {
	transform: scale(1.04);
	opacity: 1;
}

.tpb-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: clamp(64px, 8vw, 96px);
	height: clamp(64px, 8vw, 96px);
	margin: calc(clamp(64px, 8vw, 96px) / -2) 0 0 calc(clamp(64px, 8vw, 96px) / -2);
	border: 0;
	border-radius: 50%;
	background: var(--tx-accent);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--tx-accent) 60%, transparent);
	animation: tpb-pulse 2.2s infinite;
}

.tpb-video__play svg {
	width: 36%;
	height: 36%;
	margin-left: 6%;
}

@keyframes tpb-pulse {
	70% { box-shadow: 0 0 0 26px transparent; }
	100% { box-shadow: 0 0 0 0 transparent; }
}

.tpb-map {
	border-radius: var(--tpb-site-radius, var(--tx-radius));
	overflow: hidden;
	line-height: 0;
}

.tpb-map iframe {
	width: 100%;
	height: 420px;
	border: 0;
}

.tpb-map--gray iframe {
	filter: grayscale(1) contrast(1.05);
}

/* 15. Ценовник, временска линија, известување, табела, одбројување
   ========================================================================== */
.tpb-prices {
	margin: 0;
	padding: 0;
	list-style: none;
	--tpb-cols: 1;
	row-gap: 1.1rem;
}

.tpb-price {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.tpb-price__img {
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: var(--tx-radius-sm);
	overflow: hidden;
}

.tpb-price__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tpb-price__body {
	flex: 1;
	min-width: 0;
}

.tpb-price__head {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
}

.tpb-price__title {
	font-family: var(--tx-font-display);
	font-weight: 600;
}

.tpb-price__title a {
	color: inherit;
	text-decoration: none;
}

.tpb-price__badge {
	padding: 0.15em 0.6em;
	border-radius: 99px;
	background: var(--tx-accent);
	color: #fff;
	font-size: 0.7rem;
	font-style: normal;
	vertical-align: middle;
}

.tpb-price__dots {
	flex: 1;
	min-width: 1rem;
}

.tpb-prices--leader .tpb-price__dots {
	border-bottom: 1px dotted color-mix(in srgb, var(--tx-fg) 35%, transparent);
	transform: translateY(-0.3em);
}

.tpb-price__value {
	flex: none;
	color: var(--tx-accent);
	font-family: var(--tx-font-display);
	font-weight: 700;
	white-space: nowrap;
}

.tpb-price__value del {
	color: var(--tx-muted);
	font-weight: 400;
}

.tpb-price__text {
	margin: 0.3rem 0 0;
	color: var(--tx-muted);
	font-size: 0.94rem;
}

.tpb-timeline {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tpb-timeline::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	margin-left: -1px;
	background: linear-gradient(var(--tx-accent), color-mix(in srgb, var(--tx-accent) 10%, transparent));
}

.tpb-timeline__item {
	position: relative;
	width: 50%;
	padding: 0 clamp(26px, 4vw, 56px) clamp(26px, 4vw, 48px) 0;
}

.tpb-timeline--alternate .tpb-timeline__item:nth-child(even) {
	margin-left: 50%;
	padding: 0 0 clamp(26px, 4vw, 48px) clamp(26px, 4vw, 56px);
}

.tpb-timeline__dot {
	position: absolute;
	top: 6px;
	right: -9px;
	width: 18px;
	height: 18px;
	border: 4px solid var(--tx-bg, var(--tx-paper));
	border-radius: 50%;
	background: var(--tx-accent);
	box-shadow: 0 0 0 1px var(--tx-accent);
}

.tpb-timeline--alternate .tpb-timeline__item:nth-child(even) .tpb-timeline__dot {
	right: auto;
	left: -9px;
}

.tpb-timeline__card {
	padding: clamp(18px, 2vw, 28px);
	border-radius: var(--tpb-site-radius, var(--tx-radius));
	background: var(--tx-surface);
}

.tpb-timeline__date {
	margin: 0 0 0.4rem;
	color: var(--tx-accent);
	font-family: var(--tx-font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
}

.tpb-timeline__title {
	margin: 0 0 0.4rem;
	font-family: var(--tx-font-display);
	font-size: 1.2rem;
	font-weight: 600;
}

.tpb-timeline__card p:last-child {
	margin: 0;
	color: var(--tx-muted);
}

.tpb-timeline__img {
	margin-bottom: 0.9rem;
	border-radius: var(--tx-radius-sm);
	overflow: hidden;
}

.tpb-timeline--left::before {
	left: 9px;
}

.tpb-timeline--left .tpb-timeline__item,
.tpb-timeline--left .tpb-timeline__item:nth-child(even) {
	width: 100%;
	margin: 0;
	padding: 0 0 clamp(22px, 3vw, 36px) 44px;
}

.tpb-timeline--left .tpb-timeline__dot,
.tpb-timeline--left .tpb-timeline__item:nth-child(even) .tpb-timeline__dot {
	left: 0;
	right: auto;
}

@media (max-width: 767px) {
	.tpb-timeline::before {
		left: 9px;
	}

	.tpb-timeline__item,
	.tpb-timeline--alternate .tpb-timeline__item:nth-child(even) {
		width: 100%;
		margin: 0;
		padding: 0 0 26px 44px;
	}

	.tpb-timeline__dot,
	.tpb-timeline--alternate .tpb-timeline__item:nth-child(even) .tpb-timeline__dot {
		left: 0;
		right: auto;
	}
}

.tpb-alert {
	--tpb-alert: #2f7de1;
	position: relative;
	display: flex;
	gap: 0.9rem;
	padding: 1.1rem 1.3rem;
	border: 1px solid color-mix(in srgb, var(--tpb-alert) 35%, transparent);
	border-radius: var(--tx-radius-sm);
	background: color-mix(in srgb, var(--tpb-alert) 9%, transparent);
}

.tpb-alert--success { --tpb-alert: #1f9d55; }
.tpb-alert--warning { --tpb-alert: #e29a00; }
.tpb-alert--danger { --tpb-alert: #d6293e; }
.tpb-alert--accent { --tpb-alert: var(--tx-accent); }

.tpb-alert__icon {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--tpb-alert);
}

.tpb-alert p {
	margin: 0;
}

.tpb-alert__title {
	font-family: var(--tx-font-display);
	font-weight: 600;
	margin-bottom: 0.2rem !important;
}

.tpb-alert__close {
	position: absolute;
	top: 0.7rem;
	right: 0.7rem;
	padding: 4px;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
	opacity: 0.6;
}

.tpb-alert__close .tx-icon {
	width: 16px;
	height: 16px;
}

.tpb-table-wrap {
	overflow-x: auto;
	border: 1px solid var(--tx-line);
	border-radius: var(--tx-radius-sm);
}

.tpb-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.96rem;
}

.tpb-table th,
.tpb-table td {
	padding: 0.85em 1.1em;
	border-bottom: 1px solid var(--tx-line);
	text-align: left;
}

.tpb-table th {
	background: color-mix(in srgb, var(--tx-accent) 10%, transparent);
	font-family: var(--tx-font-display);
	font-size: 0.86rem;
	font-weight: 600;
}

.tpb-table tr:last-child td {
	border-bottom: 0;
}

.tpb-table--striped tbody tr:nth-child(even) td {
	background: color-mix(in srgb, var(--tx-fg) 3.5%, transparent);
}

.tpb-countdown {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tpb-countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 84px;
	padding: 1rem 0.8rem;
	border-radius: var(--tx-radius-sm);
	background: var(--tx-surface);
	box-shadow: inset 0 0 0 1px var(--tx-line);
}

.tpb-countdown__unit b {
	font-family: var(--tx-font-display);
	font-size: clamp(1.8rem, 3.4vw, 2.8rem);
	font-weight: 600;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.tpb-countdown__unit small {
	margin-top: 0.4rem;
	color: var(--tx-muted);
	font-size: 0.78rem;
}

/* 16. Мрежи, објави, категории
   ========================================================================== */
.tpb-social {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tpb-social a {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--tx-fg) 7%, transparent);
	color: var(--tx-fg);
	transition: background-color 0.3s, color 0.3s, transform 0.4s var(--tx-ease);
}

.tpb-social--rounded a { border-radius: 14px; }

.tpb-social--plain a {
	width: auto;
	height: auto;
	background: none;
}

.tpb-social a:hover {
	background: var(--tx-accent);
	color: #fff;
	transform: translateY(-3px);
}

.tpb-social--plain a:hover {
	background: none;
	color: var(--tx-accent);
}

.tpb-social .tx-icon {
	width: 20px;
	height: 20px;
}

.tpb-posts.tpb-grid > .tx-card {
	margin: 0;
}

.tpb-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 2.4rem;
}

.tpb-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 0.6em;
	border-radius: 999px;
	color: var(--tx-fg);
	text-decoration: none;
	box-shadow: inset 0 0 0 1px var(--tx-line);
}

.tpb-pagination .page-numbers.current,
.tpb-pagination .page-numbers:hover {
	background: var(--tx-accent);
	color: #fff;
	box-shadow: none;
}

.tpb-pcat {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--tpb-site-radius, var(--tx-radius));
	overflow: hidden;
	color: var(--tx-fg);
	text-decoration: none;
	background: var(--tx-surface);
	isolation: isolate;
	transition: transform 0.6s var(--tx-ease), box-shadow 0.6s var(--tx-ease);
}

.tpb-pcat__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: color-mix(in srgb, var(--tx-accent) 10%, var(--tx-paper));
}

.tpb-pcat__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--tx-ease);
}

.tpb-pcats__ph {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--tx-accent);
}

.tpb-pcats__ph .tx-icon {
	width: 44px;
	height: 44px;
}

.tpb-pcat__body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 1.1rem 1.2rem 1.2rem;
}

.tpb-pcat__name {
	font-family: var(--tx-font-display);
	font-weight: 600;
	line-height: 1.25;
}

.tpb-pcat__count {
	color: var(--tx-muted);
	font-size: 0.85rem;
}

.tpb-pcat__arrow {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	padding: 10px;
	border-radius: 50%;
	background: #fff;
	color: var(--tx-ink);
	opacity: 0;
	transform: scale(0.6) rotate(-45deg);
	transition: opacity 0.4s, transform 0.5s var(--tx-ease);
}

.tpb-pcat:hover {
	transform: translateY(-6px);
	box-shadow: var(--tx-shadow);
}

.tpb-pcat:hover .tpb-pcat__media img {
	transform: scale(1.07);
}

.tpb-pcat:hover .tpb-pcat__arrow {
	opacity: 1;
	transform: none;
}

.tpb-pcats--overlay .tpb-pcat {
	min-height: 240px;
	justify-content: flex-end;
	color: #fff;
}

.tpb-pcats--overlay .tpb-pcat__media {
	position: absolute;
	inset: 0;
	z-index: -1;
	aspect-ratio: auto;
}

.tpb-pcats--overlay .tpb-pcat__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 35%, rgba(8, 8, 10, 0.82));
}

.tpb-pcats--overlay .tpb-pcat__count {
	color: rgba(255, 255, 255, 0.78);
}

.tpb-products .woocommerce ul.products {
	margin-bottom: 0;
}

.tpb-embedded > .tpb-section:first-child {
	margin-top: 0;
}

/* 17. Радио плеер
   ========================================================================== */
.tpb-radio {
	--tpb-radio-size: 120px;
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: clamp(16px, 2.4vw, 32px);
	padding: clamp(18px, 2.4vw, 30px);
	border-radius: var(--tx-radius-lg);
	background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--tx-accent) 34%, var(--tx-ink)), var(--tx-ink) 60%);
	color: #fff;
	box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--tx-accent) 60%, #000);
	overflow: hidden;
	isolation: isolate;
}

.tpb-radio::after {
	content: "";
	position: absolute;
	inset: -40% -10% auto auto;
	z-index: -1;
	width: 60%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--tx-accent) 45%, transparent), transparent 65%);
	filter: blur(10px);
	opacity: 0.6;
	animation: tpb-radio-glow 8s ease-in-out infinite;
}

@keyframes tpb-radio-glow {
	50% { transform: translate(-12%, 10%) scale(1.15); }
}

.tpb-radio__cover {
	position: relative;
	width: var(--tpb-radio-size);
	height: var(--tpb-radio-size);
	border-radius: 24px;
	overflow: hidden;
	background: color-mix(in srgb, var(--tx-accent) 30%, #111);
}

.tpb-radio__cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tpb-radio__logo {
	display: grid;
	place-items: center;
	height: 100%;
	color: #fff;
}

.tpb-radio__logo .tx-icon {
	width: 46%;
	height: 46%;
}

.tpb-radio__live {
	position: absolute;
	left: 8px;
	bottom: 8px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0.25em 0.6em;
	border-radius: 99px;
	background: #e3173e;
	color: #fff;
	font-family: var(--tx-font-display);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.1em;
}

.tpb-radio__live::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #fff;
	animation: tpb-blink 1.2s infinite;
}

@keyframes tpb-blink {
	50% { opacity: 0.25; }
}

.tpb-radio__info {
	min-width: 0;
}

.tpb-radio__station {
	margin: 0;
	font-family: var(--tx-font-display);
	font-size: clamp(1.25rem, 2.2vw, 1.8rem);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #fff;
}

.tpb-radio__now {
	margin: 0.3rem 0 0;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.95rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tpb-radio__eq {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 28px;
	margin-top: 0.9rem;
}

.tpb-radio__eq i {
	width: 4px;
	height: 18%;
	border-radius: 2px;
	background: linear-gradient(var(--tx-accent-bright), var(--tx-accent));
	transition: height 0.3s;
}

.tpb-radio.is-playing .tpb-radio__eq i {
	animation: tpb-eq 0.9s ease-in-out infinite alternate;
}

.tpb-radio__eq i:nth-child(3n) { animation-delay: -0.3s; animation-duration: 0.7s; }
.tpb-radio__eq i:nth-child(3n + 1) { animation-delay: -0.6s; animation-duration: 1.1s; }
.tpb-radio__eq i:nth-child(4n) { animation-duration: 0.6s; }
.tpb-radio__eq i:nth-child(5n) { animation-delay: -0.15s; }

@keyframes tpb-eq {
	0% { height: 15%; }
	50% { height: 90%; }
	100% { height: 40%; }
}

.tpb-radio__controls {
	display: flex;
	align-items: center;
	gap: 14px;
}

.tpb-radio__play {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	width: 72px;
	height: 72px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--tx-accent);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--tx-accent) 60%, transparent);
	transition: transform 0.4s var(--tx-ease), background-color 0.3s;
}

.tpb-radio__play:hover {
	transform: scale(1.06);
}

.tpb-radio.is-playing .tpb-radio__play {
	animation: tpb-pulse 2.2s infinite;
}

.tpb-radio__play svg {
	width: 30px;
	height: 30px;
}

.tpb-radio__play .i-play {
	margin-left: 4px;
}

.tpb-radio__play .i-pause,
.tpb-radio.is-playing .tpb-radio__play .i-play,
.tpb-radio.is-loading .tpb-radio__play svg {
	display: none;
}

.tpb-radio.is-playing .tpb-radio__play .i-pause {
	display: block;
}

.tpb-radio__spin {
	display: none;
	width: 30px;
	height: 30px;
	border: 3px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: tpb-spin 0.8s linear infinite;
}

.tpb-radio.is-loading .tpb-radio__spin {
	display: block;
}

@keyframes tpb-spin {
	to { transform: rotate(360deg); }
}

.tpb-radio__vol {
	display: flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.8);
}

.tpb-radio__vol .tx-icon {
	width: 20px;
	height: 20px;
}

.tpb-radio__vol input {
	width: 96px;
	accent-color: var(--tx-accent);
}

.tpb-radio.is-error .tpb-radio__now {
	color: #ffb3c0;
}

.tpb-radio--bar {
	--tpb-radio-size: 64px;
	padding: 12px 18px 12px 12px;
	border-radius: 999px;
}

.tpb-radio--bar .tpb-radio__cover {
	border-radius: 50%;
}

.tpb-radio--bar .tpb-radio__live {
	display: none;
}

.tpb-radio--bar .tpb-radio__eq {
	display: none;
}

.tpb-radio--bar .tpb-radio__play {
	width: 54px;
	height: 54px;
}

.tpb-radio--hero {
	--tpb-radio-size: clamp(140px, 18vw, 220px);
	grid-template-columns: auto minmax(0, 1fr);
	padding: clamp(24px, 4vw, 56px);
}

/* Копчињата под името (и во потесна колона има место за името) */
.tpb-radio--hero .tpb-radio__controls {
	grid-column: 2;
	margin-top: -8px;
}

.tpb-radio--hero .tpb-radio__station {
	font-size: clamp(1.8rem, 4vw, 3.4rem);
}

.tpb-radio--hero .tpb-radio__eq {
	height: 54px;
}

.tpb-radio--hero .tpb-radio__eq i {
	width: 6px;
}

.tpb-radio--hero .tpb-radio__play {
	width: 96px;
	height: 96px;
}

/* Мини плеер долу при скролање */
.tpb-radio-mini {
	position: fixed;
	left: 50%;
	bottom: 18px;
	z-index: 950;
	width: min(520px, calc(100% - 24px));
	transform: translate(-50%, 140%);
	transition: transform 0.6s var(--tx-ease);
}

.tpb-radio-mini.is-visible {
	transform: translate(-50%, 0);
}

.tpb-radio-mini .tpb-radio {
	--tpb-radio-size: 52px;
	padding: 8px 14px 8px 8px;
	border-radius: 999px;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.55);
}

.tpb-radio-mini .tpb-radio__cover {
	border-radius: 50%;
}

.tpb-radio-mini .tpb-radio__live,
.tpb-radio-mini .tpb-radio__eq,
.tpb-radio-mini .tpb-radio__vol {
	display: none;
}

.tpb-radio-mini .tpb-radio__station {
	font-size: 1rem;
}

.tpb-radio-mini .tpb-radio__play {
	width: 46px;
	height: 46px;
}

.tpb-radio-mini .tpb-radio__play svg {
	width: 22px;
	height: 22px;
}

@media (max-width: 767px) {
	.tpb-radio {
		grid-template-columns: auto 1fr;
	}

	.tpb-radio__controls {
		grid-column: 1 / -1;
		justify-content: space-between;
	}

	.tpb-radio--bar {
		grid-template-columns: auto 1fr auto;
	}

	.tpb-radio--bar .tpb-radio__controls {
		grid-column: auto;
	}

	.tpb-radio--bar .tpb-radio__vol {
		display: none;
	}
}

/* 18. Празни елементи (само во уредувачот)
   ========================================================================== */
.tpb-empty {
	margin: 0;
	padding: 1.2rem;
	border: 1px dashed var(--tx-line);
	border-radius: var(--tx-radius-sm);
	color: var(--tx-muted);
	font-size: 0.9rem;
	text-align: center;
}

/* 19. Намалено движење
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.tpb-hover-float,
	.tpb-image--float .tpb-image__frame,
	.tpb-slider--kb .tpb-slide.is-active .tpb-slide__img,
	.tpb-radio::after,
	.tpb-slider__scroll {
		animation: none;
	}

	.tpb-slider .tpb-slide,
	.tpb-slider .tpb-slide.is-active,
	.tpb-slider--slide .tpb-slide,
	.tpb-slider--slide .tpb-slide.is-active,
	.tpb-slider--zoom .tpb-slide,
	.tpb-slider--zoom .tpb-slide.is-active,
	.tpb-slide__content > *,
	.tpb-slide.is-active .tpb-slide__content > *,
	.tpb-slide.is-active .tpb-slide__content > :nth-child(n) {
		transition: none;
		transition-delay: 0s;
	}
}

/* Текст во колони: на телефон секогаш една колона */
@media (max-width: 767px) {
	.tpb-text {
		columns: 1 !important;
	}
}

/* Долги зборови во насловите на телефон (на пр. „радиодијагностика“) */
@media (max-width: 480px) {
	.tpb-size-xxl { font-size: clamp(2rem, 10vw, 2.6rem); }
	.tpb-size-xl { font-size: clamp(1.8rem, 8.6vw, 2.3rem); }
	.tpb-size-lg { font-size: clamp(1.6rem, 7.4vw, 2rem); }

	.tpb-heading__title .tx-w {
		max-width: 100%;
	}

	.tpb-heading__title,
	.tpb-heading__title .tx-w__i {
		overflow-wrap: anywhere;
	}
}


/* ==========================================================================
   Видео ѕид (рингишпил / голем екран / ѕид од екрани)
   ========================================================================== */
.tpb-vwall {
	--vw-w: clamp(240px, 38vw, 500px);
	position: relative;
}

.tpb-vwall__screen,
.tpb-vwall__main {
	position: relative;
	margin: 0;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 14px;
	background: radial-gradient(circle at 72% 18%, #3b1d6e, #0b0a14 72%);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 22px 50px -24px rgba(0, 0, 0, 0.85);
	color: #fff;
	isolation: isolate;
}

.tpb-vwall__media {
	position: absolute;
	inset: 0;
}

.tpb-vwall__poster,
.tpb-vwall__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tpb-vwall__poster {
	opacity: 0.5;
	animation: tpb-vw-kb 18s ease-in-out infinite alternate;
	animation-delay: calc(var(--i, 0) * -3s);
}

.tpb-vwall__video {
	opacity: 0.85;
}

@keyframes tpb-vw-kb {
	from { transform: scale(1.04) translate(0, 0); }
	to { transform: scale(1.22) translate(-3%, -2%); }
}

.tpb-vwall__fx {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	mix-blend-mode: screen;
}

[data-preset="vinyl"] .tpb-vwall__fx,
[data-preset="studio"] .tpb-vwall__fx {
	mix-blend-mode: normal;
}

.tpb-vwall__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 28%, transparent 52%, rgba(0, 0, 0, 0.78));
	pointer-events: none;
}

.tpb-vwall__scan {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 3px);
	mix-blend-mode: overlay;
	pointer-events: none;
}

.tpb-vwall__rec {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 9px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.55);
	font-size: 0.64rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	backdrop-filter: blur(4px);
}

.tpb-vwall__rec i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ff2e3a;
	animation: tpb-vw-rec 1.2s steps(2, jump-none) infinite;
}

.tpb-vwall__rec b {
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	opacity: 0.85;
}

@keyframes tpb-vw-rec {
	50% { opacity: 0.15; }
}

.tpb-vwall__cap {
	position: absolute;
	right: 12px;
	bottom: 10px;
	left: 12px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.tpb-vwall__label {
	align-self: flex-start;
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--tx-accent);
	color: #fff;
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tpb-vwall__cap strong {
	color: #fff;
	font-family: var(--tx-font-display);
	font-size: clamp(0.95rem, 1.5vw, 1.15rem);
	line-height: 1.2;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* --- Рингишпил ----------------------------------------------------------- */
.tpb-vwall__scene {
	position: relative;
	height: calc(var(--vw-w) * 0.5625 + 110px);
	overflow: hidden;
	perspective: 1500px;
	perspective-origin: 50% 25%;
	cursor: grab;
	touch-action: pan-y;
	user-select: none;
}

.tpb-vwall__scene:active {
	cursor: grabbing;
}

.tpb-vwall__scene::after {
	content: "";
	position: absolute;
	right: 10%;
	bottom: 6px;
	left: 10%;
	height: 60px;
	border-radius: 50%;
	background: radial-gradient(ellipse at center, color-mix(in srgb, var(--tx-accent) 45%, transparent), transparent 70%);
	filter: blur(8px);
	pointer-events: none;
}

.tpb-vwall__ring {
	position: absolute;
	top: 40px;
	left: 50%;
	width: var(--vw-w);
	aspect-ratio: 16 / 9;
	margin-left: calc(var(--vw-w) / -2);
	transform: translateZ(calc(var(--vw-w) * var(--k, 1) * -1 - 40px)) rotateX(-5deg) rotateY(var(--a, 0deg));
	transform-style: preserve-3d;
}

.tpb-vwall__ring > .tpb-vwall__screen {
	position: absolute;
	inset: 0;
	opacity: calc(0.3 + (var(--f, 1) + 1) * 0.35);
	filter: brightness(calc(0.4 + (var(--f, 1) + 1) * 0.3));
	transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(calc(var(--vw-w) * var(--k, 1) + 40px));
	transition: box-shadow 0.4s;
}

.tpb-vwall__ring > .tpb-vwall__screen.is-front {
	box-shadow: 0 0 0 2px var(--tx-accent), 0 30px 70px -24px color-mix(in srgb, var(--tx-accent) 70%, transparent);
}

.tpb-vwall__nav {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 0.4rem;
}

.tpb-vwall__btn {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
	border-radius: 50%;
	background: color-mix(in srgb, currentColor 6%, transparent);
	color: inherit;
	cursor: pointer;
	transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.tpb-vwall__btn:hover,
.tpb-vwall__btn:focus-visible {
	border-color: var(--tx-accent);
	background: var(--tx-accent);
	color: #fff;
	transform: scale(1.06);
}

.tpb-vwall__btn .tx-icon {
	width: 20px;
	height: 20px;
}

/* --- Голем екран + мали екрани ------------------------------------------- */
.tpb-vwall--stage {
	display: grid;
	gap: 16px;
}

.tpb-vwall__main {
	border-radius: 22px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 40px 90px -34px color-mix(in srgb, var(--tx-accent) 60%, transparent);
}

.tpb-vwall__main .tpb-vwall__cap {
	right: 22px;
	bottom: 20px;
	left: 22px;
}

.tpb-vwall__main .tpb-vwall__cap strong {
	font-size: clamp(1.25rem, 2.8vw, 2.2rem);
}

.tpb-vwall__main .tpb-vwall__rec {
	top: 18px;
	left: 18px;
	font-size: 0.72rem;
}

.tpb-vwall__main.is-switch .tpb-vwall__media {
	animation: tpb-vw-glitch 0.45s steps(6) 1;
}

@keyframes tpb-vw-glitch {
	20% { filter: hue-rotate(90deg) contrast(1.6); transform: translateX(-6px) skewX(4deg); }
	40% { filter: brightness(2); transform: translateX(5px); }
	60% { filter: hue-rotate(-60deg) saturate(2); transform: translateX(-3px) skewX(-3deg); }
	80% { filter: brightness(0.6); transform: none; }
}

.tpb-vwall__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
	gap: 12px;
}

.tpb-vwall__thumb {
	position: relative;
	padding: 0 0 8px;
	border: 0;
	background: none;
	color: inherit;
	text-align: left;
	opacity: 0.6;
	cursor: pointer;
	transition: opacity 0.3s, transform 0.3s;
}

.tpb-vwall__thumb:hover,
.tpb-vwall__thumb:focus-visible,
.tpb-vwall__thumb.is-active {
	opacity: 1;
}

.tpb-vwall__thumb.is-active {
	transform: translateY(-3px);
}

.tpb-vwall__thumb .tpb-vwall__screen {
	border-radius: 12px;
}

.tpb-vwall__thumb.is-active .tpb-vwall__screen {
	box-shadow: 0 0 0 2px var(--tx-accent), 0 14px 30px -12px color-mix(in srgb, var(--tx-accent) 70%, transparent);
}

.tpb-vwall__thumb .tpb-vwall__rec,
.tpb-vwall__thumb .tpb-vwall__label {
	display: none;
}

.tpb-vwall__thumb .tpb-vwall__cap strong {
	font-size: 0.78rem;
}

.tpb-vwall__bar {
	position: absolute;
	right: 6px;
	bottom: 0;
	left: 6px;
	height: 3px;
	overflow: hidden;
	border-radius: 3px;
	background: color-mix(in srgb, currentColor 15%, transparent);
}

.tpb-vwall__bar::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--tx-accent);
	transform: scaleX(0);
	transform-origin: left;
}

.tpb-vwall__thumb.is-active .tpb-vwall__bar::after {
	animation: tpb-vw-bar var(--tpb-vw-int, 5s) linear forwards;
}

@keyframes tpb-vw-bar {
	to { transform: scaleX(1); }
}

/* --- Ѕид од екрани ------------------------------------------------------- */
.tpb-vwall__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	padding: 10px;
	border-radius: 22px;
	background: linear-gradient(145deg, #17131f, #0b0a12);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 30px 80px -30px rgba(0, 0, 0, 0.8);
}

.tpb-vwall__grid .tpb-vwall__screen {
	border-radius: 10px;
	filter: saturate(0.85) brightness(0.85);
	transition: box-shadow 0.45s, filter 0.45s;
}

.tpb-vwall__grid .tpb-vwall__screen:first-child {
	grid-row: span 2;
	grid-column: span 2;
	aspect-ratio: auto;
}

.tpb-vwall__grid .tpb-vwall__screen.is-live {
	z-index: 1;
	filter: none;
	box-shadow: 0 0 0 2px var(--tx-accent), 0 0 36px -4px color-mix(in srgb, var(--tx-accent) 70%, transparent);
}

.tpb-vwall__grid .tpb-vwall__screen:not(:first-child) .tpb-vwall__cap strong {
	font-size: 0.85rem;
}

.tpb-vwall__grid .tpb-vwall__screen:first-child .tpb-vwall__cap strong {
	font-size: clamp(1.15rem, 2.2vw, 1.7rem);
}

@media (max-width: 767px) {
	.tpb-vwall {
		--vw-w: min(72vw, 300px);
	}

	.tpb-vwall__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tpb-vwall__grid .tpb-vwall__screen:first-child {
		grid-row: auto;
		aspect-ratio: 16 / 9;
	}

	.tpb-vwall__grid .tpb-vwall__screen:last-child:nth-child(even) {
		grid-column: span 2;
	}

	.tpb-vwall__grid .tpb-vwall__screen:not(:first-child) .tpb-vwall__label,
	.tpb-vwall__grid .tpb-vwall__screen:not(:first-child) .tpb-vwall__rec b {
		display: none;
	}

	.tpb-vwall__thumbs {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.tpb-vwall__rec {
		font-size: 0.58rem;
	}
}

/* ==========================================================================
   Радио во живо (сега свири, слушатели, историја)
   ========================================================================== */
.tpb-rstats {
	display: grid;
	grid-template-areas: "now tiles" "hist hist";
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
	gap: 16px;
}

.tpb-rstats--c6 {
	grid-template-areas: "now" "tiles" "hist";
	grid-template-columns: minmax(0, 1fr);
}

.tpb-rstats__now {
	position: relative;
	display: flex;
	grid-area: now;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.7rem;
	min-height: 240px;
	padding: clamp(1.4rem, 3vw, 2.2rem);
	overflow: hidden;
	border-radius: var(--tx-radius-lg, 22px);
	background:
		radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--tx-accent) 75%, transparent) 0, transparent 46%),
		linear-gradient(140deg, #2a1550, #0f0c1c 72%);
	box-shadow: 0 30px 70px -32px color-mix(in srgb, var(--tx-accent) 65%, transparent);
	color: #fff;
}

.tpb-rstats__now::before {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -80px;
	width: 240px;
	height: 240px;
	border-radius: 50%;
	background:
		radial-gradient(circle, var(--tx-accent) 0 15%, #0c0b12 15.5% 17%, transparent 17.5%),
		repeating-radial-gradient(circle, #121119 0 2px, #1c1b25 2px 4px);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
	opacity: 0.6;
	animation: tpb-rs-spin 5s linear infinite;
}

@keyframes tpb-rs-spin {
	to { transform: rotate(360deg); }
}

.tpb-rstats__badge {
	position: relative;
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
}

.tpb-rstats__badge i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ff2e3a;
	animation: tpb-rs-ping 1.6s infinite;
}

@keyframes tpb-rs-ping {
	0% { box-shadow: 0 0 0 0 rgba(255, 46, 58, 0.65); }
	100% { box-shadow: 0 0 0 10px rgba(255, 46, 58, 0); }
}

.tpb-rstats__title {
	position: relative;
	max-width: 30ch;
	margin: 0;
	font-family: var(--tx-font-display);
	font-size: clamp(1.2rem, 2.4vw, 1.8rem);
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.tpb-rstats__station {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 0.86rem;
	opacity: 0.85;
}

.tpb-rstats__station .tx-icon {
	width: 18px;
	height: 18px;
	color: var(--tx-accent);
}

.tpb-rstats__station span:not(:empty) {
	padding: 2px 7px;
	border-radius: 5px;
	background: var(--tx-accent);
	color: #fff;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.tpb-rstats__eq {
	position: absolute;
	top: clamp(1.4rem, 3vw, 2.2rem);
	right: clamp(1.4rem, 3vw, 2.2rem);
	display: flex;
	align-items: flex-end;
	gap: 3px;
	height: 34px;
}

.tpb-rstats__eq i {
	width: 4px;
	height: 30%;
	border-radius: 2px;
	background: linear-gradient(#fff, var(--tx-accent));
	animation: tpb-eq 0.9s ease-in-out infinite alternate;
}

.tpb-rstats__eq i:nth-child(3n) { animation-delay: -0.3s; animation-duration: 0.7s; }
.tpb-rstats__eq i:nth-child(3n + 1) { animation-delay: -0.6s; animation-duration: 1.1s; }
.tpb-rstats__eq i:nth-child(4n) { animation-duration: 0.6s; }

.tpb-rstats__tiles {
	display: grid;
	grid-area: tiles;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tpb-rstats--c6 .tpb-rstats__tiles {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.tpb-rstats__tile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 1.1rem 1.2rem;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: var(--tx-radius, 16px);
	background: color-mix(in srgb, currentColor 4%, transparent);
	transition: border-color 0.3s, transform 0.3s;
}

.tpb-rstats__tile:hover {
	border-color: color-mix(in srgb, var(--tx-accent) 60%, transparent);
	transform: translateY(-3px);
}

.tpb-rstats__tile::after {
	content: "";
	position: absolute;
	top: -40px;
	right: -40px;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--tx-accent) 28%, transparent), transparent 70%);
	pointer-events: none;
}

.tpb-rstats__tile .tx-icon {
	width: 22px;
	height: 22px;
	margin-bottom: 0.35rem;
	color: var(--tx-accent);
}

.tpb-rstats__tile strong {
	font-family: var(--tx-font-display);
	font-size: clamp(1.15rem, 2vw, 1.6rem);
	line-height: 1.1;
	overflow-wrap: break-word;
}

.tpb-rstats__tile--genre strong,
.tpb-rstats__tile--city strong {
	font-size: clamp(0.98rem, 1.4vw, 1.2rem);
	line-height: 1.25;
}

.tpb-rstats__tile span {
	font-size: 0.78rem;
	opacity: 0.7;
}

.tpb-rstats .is-bump {
	animation: tpb-rs-bump 0.6s ease;
}

@keyframes tpb-rs-bump {
	from { opacity: 0.2; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

.tpb-rstats__history {
	grid-area: hist;
	padding: 1.2rem 1.4rem;
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
	border-radius: var(--tx-radius, 16px);
	background: color-mix(in srgb, currentColor 3%, transparent);
}

.tpb-rstats__htitle {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 0.6rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.tpb-rstats__htitle .tx-icon {
	width: 18px;
	height: 18px;
	color: var(--tx-accent);
}

.tpb-rstats__history ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tpb-rstats__history li {
	display: flex;
	align-items: baseline;
	gap: 12px;
	min-width: 0;
	padding: 0.55rem 0;
	border-bottom: 1px dashed color-mix(in srgb, currentColor 14%, transparent);
	font-size: 0.9rem;
}

.tpb-rstats__history li.is-empty {
	grid-column: 1 / -1;
	border: 0;
	opacity: 0.6;
}

.tpb-rstats__history time {
	flex: none;
	color: var(--tx-accent);
	font-size: 0.78rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.tpb-rstats__history span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 1024px) {
	.tpb-rstats {
		grid-template-areas: "now" "tiles" "hist";
		grid-template-columns: minmax(0, 1fr);
	}

	.tpb-rstats--c6 .tpb-rstats__tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.tpb-rstats__tiles,
	.tpb-rstats--c6 .tpb-rstats__tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tpb-rstats__history ol {
		grid-template-columns: minmax(0, 1fr);
	}

	.tpb-rstats__tile {
		padding: 0.9rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tpb-vwall__poster,
	.tpb-rstats__now::before,
	.tpb-rstats__eq i,
	.tpb-vwall__rec i {
		animation: none;
	}
}

/* ==========================================================================
   Брендови
   ========================================================================== */
.tpb-brands {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
	gap: clamp(16px, 2.4vw, 28px);
}

.tpb-brands--rows {
	grid-template-columns: minmax(0, 1fr);
}

.tpb-brand {
	--b: var(--tx-accent);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
	border-radius: var(--tx-radius-lg, 22px);
	background: color-mix(in srgb, currentColor 2%, var(--tx-paper, #fff));
	box-shadow: 0 24px 60px -36px color-mix(in srgb, var(--b) 60%, transparent);
	transition: transform 0.4s, box-shadow 0.4s;
}

.tpb-brand:hover {
	box-shadow: 0 34px 70px -34px color-mix(in srgb, var(--b) 75%, transparent);
	transform: translateY(-6px);
}

.tpb-brands--rows .tpb-brand {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.tpb-brand__head {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 0.5rem;
	min-height: 190px;
	padding: clamp(1.4rem, 3vw, 2.2rem);
	overflow: hidden;
	background:
		radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.28), transparent 42%),
		linear-gradient(135deg, var(--b), color-mix(in srgb, var(--b) 45%, #04101c));
	color: #fff;
}

.tpb-brand__head::before,
.tpb-brand__head::after {
	content: "";
	position: absolute;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 50%;
	pointer-events: none;
}

.tpb-brand__head::before {
	top: -60px;
	right: -40px;
	width: 220px;
	height: 220px;
}

.tpb-brand__head::after {
	top: -10px;
	right: 10px;
	width: 120px;
	height: 120px;
	animation: tpb-brand-orbit 9s ease-in-out infinite alternate;
}

@keyframes tpb-brand-orbit {
	to { transform: translate(-24px, 18px) scale(1.15); }
}

.tpb-brand__mark {
	position: relative;
	z-index: 1;
	font-family: var(--tx-font-display);
	font-size: clamp(2rem, 4.4vw, 3.2rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.tpb-brand__logo {
	position: relative;
	z-index: 1;
	width: auto;
	max-width: 70%;
	max-height: 64px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.tpb-brand__meta {
	position: relative;
	z-index: 1;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.85;
}

.tpb-brand__glow {
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.22) 45%, transparent 60%);
	transform: translateX(-100%);
	pointer-events: none;
}

.tpb-brand:hover .tpb-brand__glow {
	transform: translateX(100%);
	transition: transform 0.9s ease;
}

.tpb-brand__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1rem;
	padding: clamp(1.4rem, 3vw, 2.2rem);
}

.tpb-brand__text {
	margin: 0;
	line-height: 1.65;
	opacity: 0.85;
}

.tpb-brand__lines {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tpb-brand__lines li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--b) 10%, transparent);
	font-size: 0.82rem;
	font-weight: 600;
}

.tpb-brand__lines li::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--b);
}

.tpb-brand__link {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--b);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: gap 0.3s, filter 0.3s;
}

.tpb-brand__link:hover,
.tpb-brand__link:focus-visible {
	gap: 12px;
	color: #fff;
	filter: brightness(1.1);
}

.tpb-brand__link .tx-icon {
	width: 16px;
	height: 16px;
}

@media (max-width: 767px) {
	.tpb-brands--rows .tpb-brand {
		grid-template-columns: minmax(0, 1fr);
	}

	.tpb-brand__head {
		min-height: 150px;
	}
}

/* Секции само за одредено годишно време */
html:not([data-season="spring"]) .tx-season-only--spring,
html:not([data-season="summer"]) .tx-season-only--summer,
html:not([data-season="autumn"]) .tx-season-only--autumn,
html:not([data-season="winter"]) .tx-season-only--winter,
html[data-season] .tx-season-only--off {
	display: none !important;
}

/* ==========================================================================
   Производи: јазичиња, лизгач, копче „Сите производи“
   ========================================================================== */
.tpb-ptabs__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-bottom: clamp(1.2rem, 2.4vw, 2rem);
}

.tpb-ptabs__nav button {
	padding: 10px 18px;
	border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
	border-radius: 999px;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.tpb-ptabs__nav button:hover {
	border-color: var(--tx-accent);
	color: var(--tx-accent);
}

.tpb-ptabs__nav button[aria-selected="true"] {
	border-color: var(--tx-accent);
	background: var(--tx-accent);
	color: #fff;
}

.tpb-ptabs__panel {
	position: relative;
	min-height: 240px;
	transition: opacity 0.3s;
}

.tpb-ptabs__panel.is-loading {
	opacity: 0.35;
	pointer-events: none;
}

.tpb-ptabs__panel.is-swap li.product {
	animation: tpb-pswap 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.tpb-ptabs__panel.is-swap li.product:nth-child(2) { animation-delay: 0.05s; }
.tpb-ptabs__panel.is-swap li.product:nth-child(3) { animation-delay: 0.1s; }
.tpb-ptabs__panel.is-swap li.product:nth-child(4) { animation-delay: 0.15s; }
.tpb-ptabs__panel.is-swap li.product:nth-child(n + 5) { animation-delay: 0.2s; }

@keyframes tpb-pswap {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

.tpb-pcarousel {
	position: relative;
}

.tpb-pcarousel ul.products {
	display: grid !important;
	grid-auto-columns: calc((100% - 3 * 1.4rem) / 4);
	grid-auto-flow: column;
	grid-template-columns: none !important;
	gap: 1.4rem !important;
	padding-bottom: 6px !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.tpb-pcarousel ul.products::-webkit-scrollbar {
	display: none;
}

.tpb-pcarousel ul.products li.product {
	scroll-snap-align: start;
}

.tpb-pcarousel__nav {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 1rem;
}

.tpb-pcarousel__nav button {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.tpb-pcarousel__nav button:hover {
	border-color: var(--tx-accent);
	background: var(--tx-accent);
	color: #fff;
}

.tpb-pcarousel__nav .tx-icon {
	width: 18px;
	height: 18px;
}

.tpb-pmore {
	display: flex;
	justify-content: center;
	margin-top: clamp(1.4rem, 3vw, 2.4rem);
}

@media (max-width: 1023px) {
	.tpb-pcarousel ul.products {
		grid-auto-columns: calc((100% - 1.4rem) / 2.2);
	}
}

@media (max-width: 600px) {
	.tpb-pcarousel ul.products {
		grid-auto-columns: 72%;
		gap: 12px !important;
	}

	.tpb-ptabs__nav {
		flex-wrap: nowrap;
		justify-content: flex-start;
		margin-right: -16px;
		padding-right: 16px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.tpb-ptabs__nav button {
		flex: none;
	}
}

/* ==========================================================================
   Херо за фирмата: слајдови + актуелни попусти + актуелни новости
   ========================================================================== */
.tpb-widget--hero_showcase {
	width: 100%;
}

.tpb-show {
	--show-h: 86vh;
	--show-shade: 0.55;
	--show-int: 7000ms;
	--show-gap: clamp(10px, 1.1vw, 16px);
	--show-r: clamp(14px, 1.4vw, 22px);
	--show-side: clamp(300px, 27vw, 410px);
	--show-ease: cubic-bezier(0.77, 0, 0.18, 1);
	--show-card-bg: #fff;
	--show-card-fg: var(--tx-ink);
	--show-card-line: color-mix(in srgb, var(--tx-ink) 10%, transparent);
	--show-card-muted: color-mix(in srgb, var(--tx-ink) 58%, transparent);
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--show-side);
	gap: var(--show-gap);
	box-sizing: border-box;
	min-height: max(560px, var(--show-h));
	padding: var(--show-gap);
}

.tx-page-body--noheader > .tpb > .tpb-section:is(.is-first-visible, .tpb-leading) .tpb-show {
	padding-top: calc(var(--tx-header-offset, calc(var(--tx-header-h) + var(--tx-admin-bar))) + var(--show-gap));
}

.tpb-show--solo,
.tpb-show--stack {
	grid-template-columns: minmax(0, 1fr);
}

.tpb-show--cards-dark {
	--show-card-bg: color-mix(in srgb, var(--tx-ink) 94%, #fff);
	--show-card-fg: #fff;
	--show-card-line: rgba(255, 255, 255, 0.1);
	--show-card-muted: rgba(255, 255, 255, 0.62);
}

.tpb-show--cards-brand {
	--show-card-bg: var(--tx-accent);
	--show-card-fg: #fff;
	--show-card-line: rgba(255, 255, 255, 0.22);
	--show-card-muted: rgba(255, 255, 255, 0.78);
}

/* --- Главен панел со слајдовите ----------------------------------------- */
.tpb-show__main {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 420px;
	overflow: hidden;
	border-radius: var(--show-r);
	background: var(--tx-ink);
	color: #fff;
	isolation: isolate;
}

.tpb-show__slides {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
}

.tpb-show__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	visibility: hidden;
	z-index: 1;
}

.tpb-show__slide.is-active,
.tpb-show__slide.is-leaving {
	visibility: visible;
}

.tpb-show__slide.is-active {
	z-index: 2;
}

.tpb-show__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: color-mix(in srgb, var(--tx-ink) 80%, var(--tx-accent));
}

.tpb-show.is-changed .tpb-show__slide.is-active .tpb-show__media {
	animation: tpb-show-wipe 1.15s var(--show-ease) both;
}

/* Прв приказ: сликата и текстот влегуваат откако страната ќе се вчита */
.js .tpb-show:not(.is-ready) .tpb-show__slide.is-active .tpb-show__img {
	transform: scale(1.12);
	transition: none;
}

.js .tpb-show:not(.is-ready) .tpb-show__slide.is-active .tpb-show__eyebrow,
.js .tpb-show:not(.is-ready) .tpb-show__slide.is-active .tpb-show__title,
.js .tpb-show:not(.is-ready) .tpb-show__slide.is-active .tpb-show__text,
.js .tpb-show:not(.is-ready) .tpb-show__slide.is-active .tpb-show__btns {
	opacity: 1;
	transform: none;
	transition: none;
}

.tpb-show__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--tpb-photo-position, center center);
	transform: scale(1.12);
	transform-origin: 70% 50%;
}

.tpb-show__slide.is-active .tpb-show__img {
	transform: scale(1);
	transition: transform calc(var(--show-int) + 2.5s) cubic-bezier(0.2, 0.6, 0.3, 1);
}

.tpb-show__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(8, 12, 18, calc(var(--show-shade) + 0.25)) 0%, rgba(8, 12, 18, var(--show-shade)) 42%, rgba(8, 12, 18, calc(var(--show-shade) * 0.25)) 100%),
		linear-gradient(0deg, rgba(8, 12, 18, 0.55), transparent 45%);
}

@keyframes tpb-show-wipe {
	from { clip-path: inset(0 0 0 100%); }
	to { clip-path: inset(0 0 0 0); }
}

.tpb-show__content {
	position: relative;
	z-index: 3;
	width: min(100%, 760px);
	padding: clamp(28px, 4.2vw, 68px);
	padding-bottom: clamp(26px, 3.4vw, 52px);
}

.tpb-show__eyebrow,
.tpb-show__title,
.tpb-show__text,
.tpb-show__btns {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.tpb-show__slide.is-active .tpb-show__eyebrow,
.tpb-show__slide.is-active .tpb-show__title,
.tpb-show__slide.is-active .tpb-show__text,
.tpb-show__slide.is-active .tpb-show__btns {
	opacity: 1;
	transform: none;
	transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tpb-show__slide.is-active .tpb-show__eyebrow { transition-delay: 0.45s; }
.tpb-show__slide.is-active .tpb-show__title { transition-delay: 0.55s; }
.tpb-show__slide.is-active .tpb-show__text { transition-delay: 0.68s; }
.tpb-show__slide.is-active .tpb-show__btns { transition-delay: 0.8s; }

.tpb-show__eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 1rem;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.tpb-show__eyebrow i {
	flex: none;
	width: 34px;
	height: 2px;
	background: var(--tx-accent);
}

.tpb-show__title {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 4.1vw, 4.1rem);
	line-height: 1.04;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.tpb-show__title .tx-hl {
	color: color-mix(in srgb, var(--tx-accent) 70%, #fff);
}

.tpb-show__text {
	max-width: 560px;
	margin: 1.1rem 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: clamp(1rem, 1.15vw, 1.15rem);
	line-height: 1.6;
}

.tpb-show__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 1.8rem;
}

/* Фини технички линии и сјај што поминува */
.tpb-show__lines {
	position: absolute;
	inset: 0;
	z-index: 2;
	overflow: hidden;
	pointer-events: none;
	background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 16.666%);
	-webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.tpb-show__lines::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: -30%;
	width: 30%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.07), transparent);
	animation: tpb-show-sheen 11s ease-in-out infinite;
}

@keyframes tpb-show-sheen {
	0%, 55% { transform: translateX(0); }
	100% { transform: translateX(480%); }
}

.tpb-show__wm {
	position: absolute;
	top: 8%;
	right: -6%;
	z-index: 2;
	width: min(46%, 520px);
	color: #fff;
	opacity: 0.2;
	pointer-events: none;
}

.tpb-show__wm .tx-bm {
	width: 100%;
	height: auto;
}

/* --- Лента: јазичиња со напредок и бројки ------------------------------- */
.tpb-show__bar {
	position: relative;
	z-index: 4;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: space-between;
	gap: 14px clamp(20px, 3vw, 48px);
	padding: 0 clamp(28px, 4.2vw, 68px) clamp(18px, 2vw, 26px);
	background: linear-gradient(0deg, rgba(8, 12, 18, 0.5), rgba(8, 12, 18, 0.18));
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.tpb-show__bar:empty {
	display: none;
}

.tpb-show__tabs {
	display: flex;
	flex: 1 1 auto;
	gap: clamp(14px, 2vw, 30px);
	min-width: min(100%, 420px);
}

.tpb-show__tab {
	position: relative;
	display: grid;
	flex: 1 1 0;
	gap: 2px;
	max-width: 220px;
	min-width: 0;
	padding: 16px 0 0;
	border: 0;
	background: none;
	color: rgba(255, 255, 255, 0.55);
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: color 0.3s;
}

.tpb-show__tab b {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.tpb-show__tab span {
	overflow: hidden;
	font-size: 0.86rem;
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.tpb-show__tab:hover,
.tpb-show__tab.is-active {
	color: #fff;
}

.tpb-show__prog {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 2px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.22);
}

.tpb-show__prog::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--tx-accent);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

.tpb-show__tab.is-active .tpb-show__prog::after {
	animation: tpb-show-prog var(--show-int) linear forwards;
}

.tpb-show.is-paused .tpb-show__tab.is-active .tpb-show__prog::after {
	animation-play-state: paused;
}

.tpb-show--static .tpb-show__tab.is-active .tpb-show__prog::after {
	animation: none;
	transform: none;
}

@keyframes tpb-show-prog {
	to { transform: scaleX(1); }
}

.tpb-show__facts {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 8px clamp(18px, 2.4vw, 40px);
	padding-top: 14px;
	margin-left: auto;
}

.tpb-show__fact {
	display: grid;
	gap: 2px;
}

.tpb-show__fact strong {
	color: #fff;
	font-size: clamp(1.35rem, 1.9vw, 1.9rem);
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.tpb-show__fact small {
	color: rgba(255, 255, 255, 0.66);
	font-size: 0.74rem;
	letter-spacing: 0.04em;
}

/* --- Картички десно (попусти / новости) --------------------------------- */
.tpb-show__side {
	display: grid;
	grid-auto-rows: minmax(0, 1fr);
	gap: var(--show-gap);
	min-height: 0;
}

.tpb-show__card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 0;
	padding: clamp(14px, 1.2vw, 20px);
	overflow: hidden;
	border: 1px solid var(--show-card-line);
	border-radius: var(--show-r);
	background: var(--show-card-bg);
	color: var(--show-card-fg);
	box-shadow: 0 24px 50px -36px rgba(8, 12, 18, 0.45);
	transition: border-color 0.3s, box-shadow 0.3s;
}

.tpb-show__card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--tx-accent);
	transform: scaleX(0.18);
	transform-origin: 0 50%;
	transition: transform 0.6s var(--show-ease);
}

.tpb-show--cards-brand .tpb-show__card::before {
	background: #fff;
}

.tpb-show__card:hover {
	border-color: color-mix(in srgb, var(--tx-accent) 45%, transparent);
	box-shadow: 0 30px 60px -36px rgba(8, 12, 18, 0.55);
}

.tpb-show__card:hover::before {
	transform: scaleX(1);
}

.tpb-show__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}

.tpb-show__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.tpb-show__kicker .tx-icon {
	width: 18px;
	height: 18px;
	color: var(--tx-accent);
}

.tpb-show--cards-brand .tpb-show__kicker .tx-icon {
	color: #fff;
}

.tpb-show__count {
	color: var(--show-card-muted);
	font-size: 0.78rem;
	font-variant-numeric: tabular-nums;
}

.tpb-show__count b {
	color: var(--show-card-fg);
}

.tpb-show__items {
	position: relative;
	flex: 1 1 auto;
	min-height: 210px;
}

.tpb-show__item {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: inherit;
	text-decoration: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), visibility 0s 0.6s;
}

.tpb-show__item.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 0.6s ease 0.1s, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s, visibility 0s;
}

.tpb-show__thumb {
	position: relative;
	display: block;
	flex: 1 1 56%;
	min-height: 0;
	overflow: hidden;
	border-radius: calc(var(--show-r) - 6px);
	background: #fff;
}

.tpb-show__card--promo .tpb-show__thumb {
	border: 1px solid color-mix(in srgb, var(--tx-ink) 7%, transparent);
}

.tpb-show__thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.tpb-show__card--promo .tpb-show__thumb img {
	padding: 6%;
	object-fit: contain;
}

.tpb-show__card--photos .tpb-show__thumb img {
	padding: 0;
	object-fit: cover;
}

.tpb-show__item.is-active .tpb-show__thumb img {
	transform: none;
}

.tpb-show__item:hover .tpb-show__thumb img {
	transform: scale(1.04);
}

.tpb-show__thumb .tx-bm {
	position: absolute;
	inset: 22%;
	width: 56%;
	height: 56%;
	opacity: 0.85;
}

.tpb-show__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--tx-accent);
	color: #fff;
	font-size: 0.78rem;
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.02em;
	box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--tx-accent) 80%, transparent);
	transform: scale(0.8);
	opacity: 0;
	transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) 0.35s, opacity 0.3s 0.35s;
}

.tpb-show__item.is-active .tpb-show__badge {
	transform: none;
	opacity: 1;
}

.tpb-show__info {
	display: grid;
	flex: 0 0 auto;
	gap: 4px;
}

.tpb-show__info small {
	color: var(--show-card-muted);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.tpb-show__info strong {
	display: -webkit-box;
	overflow: hidden;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.tpb-show__card--news .tpb-show__info strong {
	-webkit-line-clamp: 3;
}

.tpb-show__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px;
	margin-top: 2px;
}

.tpb-show__price del {
	color: var(--show-card-muted);
	font-size: 0.86rem;
}

.tpb-show__price ins {
	color: var(--tx-accent);
	font-size: 1.15rem;
	font-weight: 800;
	text-decoration: none;
}

.tpb-show--cards-brand .tpb-show__price ins {
	color: #fff;
}

.tpb-show__price span {
	color: var(--show-card-muted);
	font-size: 0.86rem;
}

.tpb-show__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--show-card-line);
}

.tpb-show__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--show-card-fg);
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

.tpb-show__more .tx-icon {
	width: 16px;
	height: 16px;
	color: var(--tx-accent);
	transition: transform 0.3s;
}

.tpb-show--cards-brand .tpb-show__more .tx-icon {
	color: #fff;
}

.tpb-show__more:hover .tx-icon {
	transform: translateX(4px);
}

.tpb-show__dots {
	display: flex;
	gap: 5px;
}

.tpb-show__dots button {
	width: 7px;
	height: 7px;
	padding: 0;
	border: 0;
	border-radius: 99px;
	background: var(--show-card-line);
	cursor: pointer;
	transition: width 0.4s var(--show-ease), background-color 0.3s;
}

.tpb-show__dots button.is-active {
	width: 20px;
	background: var(--tx-accent);
}

.tpb-show--cards-brand .tpb-show__dots button.is-active {
	background: #fff;
}

/* Распоред: картички под слајдовите */
.tpb-show--stack .tpb-show__main {
	min-height: calc(max(560px, var(--show-h)) - 300px);
}

.tpb-show--stack .tpb-show__side {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	grid-auto-rows: auto;
}

.tpb-show--stack .tpb-show__items,
.tpb-show--stack .tpb-show__item {
	min-height: 150px;
}

.tpb-show--stack .tpb-show__item {
	flex-direction: row;
	align-items: center;
}

.tpb-show--stack .tpb-show__thumb {
	flex: 0 0 42%;
	align-self: stretch;
}

.tpb-show--stack .tpb-show__info {
	flex: 1 1 auto;
}

@media (max-width: 1100px) {
	.tpb-show {
		--show-side: 320px;
	}

	.tpb-show__facts {
		display: none;
	}
}

@media (max-width: 900px) {
	.tpb-show {
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.tpb-show__main {
		min-height: max(520px, 74vh);
	}

	/* The active content sets its own height; long mobile copy stays inside
	   the banner instead of growing above the image beneath the header. */
	.tpb-show__slides {
		display: grid;
	}
	.tpb-show__slide.is-active {
		position: relative;
		inset: auto;
		grid-area: 1 / 1;
		width: 100%;
		min-width: 0;
	}

	.tpb-show__side {
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
		grid-auto-rows: auto;
	}

	.tpb-show__items,
	.tpb-show__item {
		min-height: 150px;
	}

	.tpb-show__item {
		flex-direction: row;
		align-items: center;
	}

	.tpb-show__thumb {
		flex: 0 0 40%;
		align-self: stretch;
	}

	.tpb-show__info {
		flex: 1 1 auto;
	}

	.tpb-show__facts {
		display: flex;
	}
}

@media (max-width: 600px) {
	.tpb-show__main {
		min-height: max(500px, 78vh);
	}

	.tpb-show__content {
		padding: 24px 20px 20px;
	}

	.tpb-show__text {
		display: block;
		overflow: visible;
		-webkit-line-clamp: unset;
	}

	.tpb-show__bar {
		padding: 0 20px 16px;
	}

	.tpb-show__tab {
		max-width: none;
	}

	.tpb-show__tab span {
		display: none;
	}

	.tpb-show__facts {
		gap: 6px 18px;
		width: 100%;
		padding-top: 4px;
	}

	.tpb-show__wm {
		width: 70%;
		opacity: 0.1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tpb-show.is-changed .tpb-show__slide.is-active .tpb-show__media,
	.tpb-show__lines::after {
		animation: none;
	}

	.tpb-show__img,
	.tpb-show__slide.is-active .tpb-show__img {
		transform: none;
		transition: none;
	}
	.tpb-show__slide.is-active .tpb-show__eyebrow,
	.tpb-show__slide.is-active .tpb-show__title,
	.tpb-show__slide.is-active .tpb-show__text,
	.tpb-show__slide.is-active .tpb-show__btns {
		opacity: 1;
		transform: none;
		transition: none;
		transition-delay: 0s;
		animation: none;
	}
}

.tx-fallback .tpb-show__eyebrow,
.tx-fallback .tpb-show__title,
.tx-fallback .tpb-show__text,
.tx-fallback .tpb-show__btns {
	transition: none;
}

.tx-fallback .tpb-show__slide.is-active .tpb-show__eyebrow,
.tx-fallback .tpb-show__slide.is-active .tpb-show__title,
.tx-fallback .tpb-show__slide.is-active .tpb-show__text,
.tx-fallback .tpb-show__slide.is-active .tpb-show__btns {
	opacity: 1;
	transform: none;
}

/* Blank media slots remain editable without importing a demo photograph. */
.tpb-media-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;min-height:180px;margin:0;border:1px dashed currentColor;border-radius:var(--tpb-site-radius,var(--tx-radius));color:var(--tx-muted);background:color-mix(in srgb,var(--tx-ink) 3%,transparent);font-size:14px;text-align:center;padding:24px}
.tpb-media-placeholder svg{width:36px;height:36px;opacity:.5}

.tpb-commerce-title{font:600 clamp(24px,3vw,40px)/1.2 var(--tx-font-display);margin:0 0 12px}.tpb-commerce-text{color:var(--tx-muted);line-height:1.65;margin:0 0 28px}.tpb-brand-showcase .tx-product-brands{gap:var(--tpb-ggap,var(--tpb-site-gap,24px))}

/* Editable banners retain one viewport and let long copy expand that viewport. */
.tpb-slider{height:auto;min-height:max(440px,var(--tpb-slider-height,88vh))}
.tpb-slider .tpb-slide.is-active{position:relative;inset:auto;min-height:inherit;padding-block:60px 90px}
.tx-page-body--noheader>.tpb>.tpb-section:is(.is-first-visible,.tpb-leading).tpb-sp-none .tpb-slider .tpb-slide{padding-top:calc(var(--tx-header-offset,calc(var(--tx-header-h) + var(--tx-admin-bar))) + 40px)}
.tpb-slide__img{object-position:var(--tpb-photo-position,center center)}
.tpb-show__slide--center .tpb-show__content{margin-inline:auto;text-align:center}
.tpb-show__slide--right .tpb-show__content{margin-left:auto;text-align:right}
.tpb-show__slide--center .tpb-show__btns{justify-content:center}
.tpb-show__slide--right .tpb-show__btns{justify-content:flex-end}
.tpb-banner__inner{position:relative;z-index:1;width:100%}
.tpb-banner--align-center{text-align:center}.tpb-banner--align-right{text-align:right}
.tpb-banner__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:20px}
.tpb-banner--align-center .tpb-banner__actions{justify-content:center}.tpb-banner--align-right .tpb-banner__actions{justify-content:flex-end}
.tpb-carousel-pause{position:absolute;right:20px;bottom:20px;z-index:6;display:grid;place-items:center;min-width:44px;min-height:44px;padding:8px;border:1px solid rgba(255,255,255,.5);border-radius:50%;color:#fff;background:rgba(10,22,26,.85);cursor:pointer}
.tpb-carousel-pause[hidden]{display:none}.tpb-carousel-pause:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.tpb-show__bar:has(.tpb-carousel-pause:not([hidden])){padding-right:84px}
.tpb-editing :is(.tpb-slide,.tpb-show__slide){transition:none!important}
.tpb-editing :is(.tpb-slide,.tpb-show__slide):not(.is-active){visibility:hidden!important;pointer-events:none}
.tpb-editing :is(.tpb-slide__content>*,.tpb-show__eyebrow,.tpb-show__title,.tpb-show__text,.tpb-show__btns,.tpb-show__img){transition:none!important;animation:none!important;transform:none!important}
.tpb-editing .tpb-show__slide.is-active :is(.tpb-show__eyebrow,.tpb-show__title,.tpb-show__text,.tpb-show__btns){opacity:1!important}
.tpb-editing .tpb-global-hover{outline:2px solid #00aca2;outline-offset:-2px;cursor:pointer}
.tpb-edit-hint{position:fixed;z-index:100049;max-width:min(240px,calc(100vw - 8px));padding:5px 9px;border-radius:4px;background:#173b39;color:#fff;font:500 11px/1.45 sans-serif;box-shadow:0 2px 8px #0002;pointer-events:none;overflow-wrap:anywhere}.tpb-edit-hint[hidden]{display:none!important}.tpb-editing .tpb-field-hover{outline:1px dashed #00aca2;outline-offset:3px;cursor:pointer}
@media(max-width:767px){.tpb-slider .tpb-slide.is-active{padding-block:40px 80px}.tpb-slide__content{max-width:100%}.tpb-slide__text{max-width:100%}}
@media(prefers-reduced-motion:reduce){.tpb-slider__dots i::after,.tpb-show__prog::after{animation:none!important}}
/* Reusable native site controls and scene bands. */
.tpb-business-scene.has-custom-color .tx-scene [stroke]:not([stroke=none]),.tpb-business-scene.has-custom-color .tx-scene__stem{stroke:var(--scene-ink)}.tpb-business-scene.has-custom-color .tx-scene [fill]:not([fill=none]),.tpb-business-scene.has-custom-color .tx-scene__core,.tpb-business-scene.has-custom-color .tx-scene--eq g:nth-child(3n) .tx-scene__bar{fill:var(--scene-ink)}
.tpb-cart{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:16px 0}.tpb-cart p{margin:4px 0 0}.tpb-cart--center{justify-content:center;text-align:center}.tpb-cart--end{justify-content:flex-end;text-align:right}.tpb-cart-preview{display:inline-flex;align-items:center;gap:8px;padding:12px 16px;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;max-width:100%}.tpb-cart-preview svg{width:22px;height:22px;flex-shrink:0}
.tpb-season-switcher .tx-seasons{position:static;inset:auto;z-index:auto}.tpb-season-switcher .tx-seasons__toggle{display:none}.tpb-season-switcher .tx-seasons__panel{position:static;inset:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));width:auto;max-width:100%;max-height:none;overflow:visible;opacity:1;visibility:visible;pointer-events:auto;transform:none;box-shadow:none;background:transparent;color:inherit;border:0;padding:0;gap:10px}.tpb-season-switcher .tx-seasons__title{display:none}.tpb-season-switcher .tx-seasons__opt{margin:0;min-height:64px;border:1px solid color-mix(in srgb,currentColor 16%,transparent);border-radius:10px}.tpb-season-switcher .tx-seasons__opt[aria-pressed=true]{background:color-mix(in srgb,var(--tx-accent) 12%,transparent);border-color:var(--tx-accent)}.tpb-season-switcher--compact .tx-seasons__panel{display:flex;flex-wrap:wrap}.tpb-season-switcher--compact .tx-seasons__opt{width:auto;min-height:44px}.tpb-season-switcher--compact small{display:none}
.tpb-business-scene{margin:0;max-width:100%;color:var(--scene-ink,var(--tx-accent));overflow:hidden}.tpb-business-scene__art{position:relative;width:100%;height:200px;overflow:hidden}.tpb-business-scene__art>.tx-scene,.tpb-business-scene__art>img{position:relative;inset:auto;display:block;width:100%;height:100%;max-width:100%;object-fit:contain}.tpb-business-scene figcaption{font-size:13px;text-align:center;padding:8px}.tpb-business-scene[data-motion=off] *,.tpb-business-scene[data-motion=once] .tx-scene *{animation:none!important}.tpb-business-scene[data-motion=ambient] .tx-scene *{animation-duration:var(--scene-duration,8s);animation-play-state:paused}.tpb-business-scene[data-motion=ambient].is-playing .tx-scene *{animation-play-state:running}.tpb-business-scene[data-motion=once].is-entered .tpb-business-scene__art{animation:tpb-scene-settle .7s ease-out both}@keyframes tpb-scene-settle{from{opacity:.65;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:767px){.tpb-business-scene__art{height:120px}.tpb-business-scene .tx-scene *{animation:none!important}}
@media(prefers-reduced-motion:reduce){.tpb-business-scene *{animation:none!important;transition:none!important}}
