/* ==========================================================================
   TERVINA PRODUCT CATALOG V2
   Full layout + fixed sidebar + filters + pagination
   ========================================================================== */

#tv2-catalog {
	--tv2-blue: #0a4fb0;
	--tv2-blue-dark: #073a85;
	--tv2-blue-light: #eaf1fb;
	--tv2-text: #16202e;
	--tv2-muted: #6b7684;
	--tv2-border: #e2e6ec;
	--tv2-bg: #ffffff;
	--tv2-radius: 12px;

	font-family: inherit;
	color: var(--tv2-text);
	max-width: 1280px;
	margin: 0 auto;
	direction: rtl;
}

#tv2-catalog * {
	box-sizing: border-box;
}


/* ==========================================================================
   SEARCH
   ========================================================================== */

#tv2-catalog .tv2-searchbar {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

#tv2-catalog .tv2-search-field {
	flex: 1;
	position: relative;
	display: flex;
	align-items: center;
}

#tv2-catalog .tv2-search-input {
	width: 100%;
	height: 46px;
	padding: 12px 46px 12px 16px !important;
	border: 1px solid var(--tv2-border);
	border-radius: var(--tv2-radius);
	background: #fff;
	color: var(--tv2-text);
	font-size: 15px;
	text-align: right;
	direction: rtl;
	box-shadow: none;
}

#tv2-catalog .tv2-search-input:focus {
	outline: none;
	border-color: var(--tv2-blue);
	box-shadow: 0 0 0 3px var(--tv2-blue-light);
}

#tv2-catalog .tv2-search-ico {
	position: absolute;
	right: 16px;
	top: 50%;
	width: 16px;
	height: 16px;
	margin-top: -9px;
	border: 2px solid var(--tv2-muted);
	border-radius: 50%;
	pointer-events: none;
	z-index: 1;
}

#tv2-catalog .tv2-search-ico::after {
	content: "";
	position: absolute;
	width: 7px;
	height: 2px;
	background: var(--tv2-muted);
	transform: rotate(45deg);
	bottom: -6px;
	left: -3px;
}


/* ==========================================================================
   FILTER TOGGLE
   ========================================================================== */

#tv2-catalog .tv2-filter-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 16px;
	white-space: nowrap;
	border: 1px solid var(--tv2-border);
	border-radius: var(--tv2-radius);
	background: #fff;
	color: var(--tv2-text);
	font-weight: 600;
	cursor: pointer;
}


/* ==========================================================================
   CATEGORIES
   ========================================================================== */

#tv2-catalog .tv2-categories {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

#tv2-catalog .tv2-cat-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 42px;
	padding: 8px 16px;
	border: 1px solid var(--tv2-border);
	border-radius: 9px;
	background: #fff;
	color: var(--tv2-text);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	transition: all .18s ease;
}

#tv2-catalog .tv2-cat-pill:hover {
	border-color: var(--tv2-blue);
	color: var(--tv2-blue);
}

#tv2-catalog .tv2-cat-pill.is-active {
	background: var(--tv2-blue);
	border-color: var(--tv2-blue);
	color: #fff;
}

#tv2-catalog .tv2-cat-pill-icon {
	width: 18px;
	height: 18px;
	object-fit: contain;
	flex-shrink: 0;
}

#tv2-catalog .tv2-cat-pill.is-active .tv2-cat-pill-icon {
	filter: brightness(0) invert(1);
}

#tv2-catalog .tv2-cat-all {
	font-weight: 700;
}

#tv2-catalog .tv2-all-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #f1f5f9;
	border: 1px solid #d9e1ea;
	font-size: 12px;
	font-weight: 800;
}

#tv2-catalog .tv2-cat-all.is-active .tv2-all-icon {
	background: #fff;
	border-color: #fff;
	color: var(--tv2-blue);
}


/* ==========================================================================
   FIX STICKY SIDEBAR
   ========================================================================== */

.entry-content:has(#tv2-catalog),
.site-content:has(#tv2-catalog),
.content-area:has(#tv2-catalog),
.elementor-widget-container:has(#tv2-catalog),
.elementor-element:has(#tv2-catalog),
.e-con:has(#tv2-catalog),
.wp-block-group:has(#tv2-catalog) {
	overflow: visible !important;
}


/* ==========================================================================
   MAIN LAYOUT
   Sidebar RIGHT + Products LEFT
   ========================================================================== */

#tv2-catalog .tv2-layout {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 22px;
	align-items: start;
	width: 100%;
}


/* ==========================================================================
   SIDEBAR
   ========================================================================== */

#tv2-catalog .tv2-sidebar {
	width: 100%;
	background: #fff;
	border: 1px solid var(--tv2-border);
	border-radius: var(--tv2-radius);
	padding: 16px;
	position: sticky;
	top: 20px;
	z-index: 5;
}

#tv2-catalog .tv2-sidebar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 14px;
}

#tv2-catalog .tv2-sidebar-head h3 {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--tv2-text);
	font-size: 15px;
	font-weight: 700;
}

#tv2-catalog .tv2-sidebar-head h3 svg {
	color: var(--tv2-blue);
	flex-shrink: 0;
}

#tv2-catalog .tv2-clear {
	border: none;
	background: none;
	color: var(--tv2-blue);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	padding: 4px;
}

#tv2-catalog .tv2-clear:hover {
	color: var(--tv2-blue-dark);
}

#tv2-catalog .tv2-drawer-close {
	display: none;
	border: none;
	background: none;
	color: var(--tv2-muted);
	font-size: 18px;
	cursor: pointer;
}


/* ==========================================================================
   FILTERS
   ========================================================================== */

#tv2-catalog .tv2-filter-fields {
	width: 100%;
}

#tv2-catalog .tv2-filter-group {
	width: 100%;
	margin-bottom: 14px;
}

#tv2-catalog .tv2-filter-group label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 6px;
	color: var(--tv2-text);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

#tv2-catalog .tv2-filter-group label svg {
	color: var(--tv2-blue);
	flex-shrink: 0;
}

#tv2-catalog .tv2-select {
	display: block;
	width: 100%;
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid #d8e0e9;
	border-radius: 7px;
	background: #fff;
	color: var(--tv2-text);
	font-family: inherit;
	font-size: 13px;
	line-height: 1.3;
	text-align: right;
	direction: rtl;
	cursor: pointer;
}

#tv2-catalog .tv2-select:focus {
	outline: none;
	border-color: var(--tv2-blue);
	box-shadow: 0 0 0 2px var(--tv2-blue-light);
}

#tv2-catalog .tv2-no-filters {
	margin: 0;
	color: var(--tv2-muted);
	font-size: 13px;
	line-height: 1.6;
}


/* ==========================================================================
   REMOVE OLD RANGE VISUALS
   ========================================================================== */

#tv2-catalog .tv2-range-inputs {
	display: none !important;
}

#tv2-catalog .tv2-range-value {
	display: none;
}


/* ==========================================================================
   SIDEBAR ACTIONS
   ========================================================================== */

#tv2-catalog .tv2-drawer-actions {
	display: flex;
	gap: 8px;
	margin-top: 10px;
}

#tv2-catalog .tv2-apply,
#tv2-catalog .tv2-reset {
	flex: 1;
	min-height: 40px;
	padding: 9px 10px;
	border-radius: 7px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

#tv2-catalog .tv2-apply {
	border: 1px solid var(--tv2-blue);
	background: var(--tv2-blue);
	color: #fff;
}

#tv2-catalog .tv2-apply:hover {
	background: var(--tv2-blue-dark);
}

#tv2-catalog .tv2-reset {
	border: 1px solid var(--tv2-border);
	background: #fff;
	color: var(--tv2-text);
}


/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */

#tv2-catalog .tv2-main {
	min-width: 0;
	width: 100%;
}


/* ==========================================================================
   FILTER CHIPS
   ========================================================================== */

#tv2-catalog .tv2-chips {
	display: none;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-bottom: 14px;
}

#tv2-catalog .tv2-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 9px;
	border-radius: 999px;
	background: var(--tv2-blue-light);
	color: var(--tv2-blue-dark);
	font-size: 12px;
	font-weight: 600;
}

#tv2-catalog .tv2-chip-x {
	border: none;
	background: none;
	color: var(--tv2-blue-dark);
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

#tv2-catalog .tv2-chip-clear-all {
	border: none;
	background: none;
	color: var(--tv2-muted);
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
}


/* ==========================================================================
   TOOLBAR
   ========================================================================== */

#tv2-catalog .tv2-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

#tv2-catalog .tv2-count {
	color: var(--tv2-muted);
	font-size: 13px;
}

#tv2-catalog .tv2-count strong {
	color: var(--tv2-text);
}

#tv2-catalog .tv2-sort {
	min-width: 155px;
	min-height: 38px;
	padding: 8px 10px;
	border: 1px solid var(--tv2-border);
	border-radius: 7px;
	background: #fff;
	color: var(--tv2-text);
	font-family: inherit;
	font-size: 12px;
	direction: rtl;
	cursor: pointer;
}

#tv2-catalog .tv2-sort:focus {
	outline: none;
	border-color: var(--tv2-blue);
}


/* ==========================================================================
   PRODUCT GRID
   ========================================================================== */

#tv2-catalog .tv2-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
	transition: opacity .15s ease;
}

#tv2-catalog .tv2-grid.tv2-loading {
	opacity: .45;
	pointer-events: none;
}


/* ==========================================================================
   PRODUCT CARD
   ========================================================================== */

#tv2-catalog .tv2-card {
	min-width: 0;
	min-height: 100%;
	padding: 12px;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--tv2-border);
	border-radius: var(--tv2-radius);
	background: #fff;
	overflow: hidden;
	transition:
		box-shadow .18s ease,
		transform .18s ease,
		border-color .18s ease;
}

#tv2-catalog .tv2-card:hover {
	border-color: #ccd8e6;
	box-shadow: 0 8px 24px rgba(10, 79, 176, .10);
	transform: translateY(-2px);
}


/* ==========================================================================
   BRAND
   ========================================================================== */

#tv2-catalog .tv2-card-top {
	min-height: 25px;
	margin-bottom: 7px;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

#tv2-catalog .tv2-brand {
	color: var(--tv2-blue);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
}

#tv2-catalog .tv2-brand-logo {
	display: block;
	max-width: 95px;
	max-height: 25px;
	width: auto;
	height: auto;
	object-fit: contain;
}


/* ==========================================================================
   PRODUCT IMAGE
   ========================================================================== */

#tv2-catalog .tv2-thumb {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	margin-bottom: 10px;
	padding: 8px;
	background: #f7f9fc;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none;
}

#tv2-catalog .tv2-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

#tv2-catalog .tv2-app-badge {
	position: absolute;
	top: 7px;
	left: 7px;
	width: 27px;
	height: 27px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 1px 5px rgba(0, 0, 0, .12);
	z-index: 2;
}

#tv2-catalog .tv2-app-badge img {
	width: auto;
	height: auto;
	max-width: 17px;
	max-height: 17px;
	object-fit: contain;
}


/* ==========================================================================
   PRODUCT TITLE
   ========================================================================== */

#tv2-catalog .tv2-title {
	margin: 0 0 9px;
	min-height: 42px;
	color: var(--tv2-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-align: right;
}

#tv2-catalog .tv2-title a {
	color: inherit;
	text-decoration: none;
}

#tv2-catalog .tv2-title a:hover {
	color: var(--tv2-blue);
}


/* ==========================================================================
   PRODUCT SPECS
   ========================================================================== */

#tv2-catalog .tv2-specs {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--tv2-text);
	font-size: 12px;
	line-height: 1.4;
}

#tv2-catalog .tv2-specs li {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 23px;
}

#tv2-catalog .tv2-ico {
	width: 21px;
	height: 21px;
	flex: 0 0 21px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--tv2-blue-light);
	color: var(--tv2-blue);
}

#tv2-catalog .tv2-ico svg {
	width: 12px;
	height: 12px;
}


/* ==========================================================================
   PRODUCT BUTTON
   ========================================================================== */

#tv2-catalog .tv2-cta {
	display: block;
	width: 100%;
	margin-top: auto;
	padding: 10px;
	border: none;
	border-radius: 7px;
	background: var(--tv2-blue);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	transition: background .18s ease;
}

#tv2-catalog .tv2-cta:hover {
	background: var(--tv2-blue-dark);
	color: #fff;
}


/* ==========================================================================
   ADMIN HINT
   ========================================================================== */

#tv2-catalog .tv2-admin-hint {
	margin-bottom: 12px;
	padding: 8px 10px;
	border: 1px dashed #e8c27a;
	border-radius: 8px;
	background: #fff7e6;
	color: var(--tv2-muted);
	font-size: 12px;
	line-height: 1.6;
}

#tv2-catalog .tv2-admin-hint a {
	color: var(--tv2-blue);
}


/* ==========================================================================
   EMPTY STATES
   ========================================================================== */

#tv2-catalog .tv2-empty,
#tv2-catalog .tv2-empty-title {
	grid-column: 1 / -1;
	margin: 0;
	padding: 40px 10px;
	color: var(--tv2-muted);
	text-align: center;
}

#tv2-catalog .tv2-empty-state {
	padding: 30px 0;
	text-align: center;
}

#tv2-catalog .tv2-empty-sub {
	margin-bottom: 14px;
	color: var(--tv2-muted);
	font-size: 13px;
}


/* ==========================================================================
   PAGINATION
   ========================================================================== */

#tv2-catalog .tv2-pagination {
	width: 100%;
	margin: 28px 0 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	flex-wrap: wrap;
	direction: rtl;
}

#tv2-catalog .tv2-page-btn {
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid #d9e1ea;
	border-radius: 8px;
	background: #fff;
	color: #25364a;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 36px;
	text-align: center;
	cursor: pointer;
	transition: .18s ease;
}

#tv2-catalog .tv2-page-btn:hover:not(:disabled) {
	border-color: var(--tv2-blue);
	color: var(--tv2-blue);
}

#tv2-catalog .tv2-page-btn.is-active {
	background: var(--tv2-blue);
	border-color: var(--tv2-blue);
	color: #fff;
}

#tv2-catalog .tv2-page-btn:disabled {
	opacity: .4;
	cursor: default;
}

#tv2-catalog .tv2-page-prev,
#tv2-catalog .tv2-page-next {
	padding-left: 14px;
	padding-right: 14px;
}

#tv2-catalog .tv2-page-dots {
	min-width: 22px;
	color: #718096;
	font-size: 16px;
	text-align: center;
}


/* ==========================================================================
   DRAWER BACKDROP
   ========================================================================== */

#tv2-catalog .tv2-drawer-backdrop {
	display: none;
}


/* ==========================================================================
   IMPORTANT:
   Keep sidebar column even when no filters are returned.
   ========================================================================== */

#tv2-catalog.tv2-no-filters-yet .tv2-layout {
	grid-template-columns: 220px minmax(0, 1fr);
}

#tv2-catalog.tv2-no-filters-yet .tv2-sidebar {
	display: block;
}


/* ==========================================================================
   RESPONSIVE - TABLET
   ========================================================================== */

@media (max-width: 1100px) {

	#tv2-catalog .tv2-layout {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 16px;
	}

	#tv2-catalog .tv2-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 14px;
	}

	#tv2-catalog .tv2-card {
		padding: 10px;
	}

	#tv2-catalog .tv2-title {
		font-size: 13px;
	}
}


/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */

@media (max-width: 780px) {

	#tv2-catalog .tv2-searchbar {
		flex-direction: row;
	}

	#tv2-catalog .tv2-layout {
		display: block;
	}

	#tv2-catalog .tv2-sidebar {
		position: fixed;
		top: 0;
		right: 0;
		width: 88%;
		max-width: 360px;
		height: 100vh;
		padding: 18px;
		border-radius: 0;
		transform: translateX(105%);
		transition: transform .25s ease;
		z-index: 1001;
		overflow-y: auto;
		background: #fff;
	}

	#tv2-catalog .tv2-drawer-close {
		display: inline-block;
	}

	#tv2-catalog.tv2-drawer-active .tv2-sidebar {
		transform: translateX(0);
	}

	#tv2-catalog .tv2-drawer-backdrop {
		display: none;
		position: fixed;
		inset: 0;
		background: rgba(10, 20, 40, .4);
		z-index: 1000;
	}

	#tv2-catalog.tv2-drawer-active .tv2-drawer-backdrop {
		display: block;
	}

	#tv2-catalog .tv2-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	#tv2-catalog .tv2-card {
		padding: 10px;
	}

	#tv2-catalog .tv2-title {
		font-size: 13px;
		min-height: 39px;
	}

	#tv2-catalog .tv2-specs {
		font-size: 11px;
	}

	#tv2-catalog .tv2-cta {
		font-size: 12px;
	}

	#tv2-catalog .tv2-pagination {
		gap: 5px;
		margin-top: 22px;
	}

	#tv2-catalog .tv2-page-btn {
		min-width: 34px;
		height: 34px;
		padding: 0 8px;
		font-size: 12px;
		line-height: 32px;
	}
}


/* ==========================================================================
   VERY SMALL MOBILE
   ========================================================================== */

@media (max-width: 420px) {

	#tv2-catalog .tv2-categories {
		gap: 6px;
	}

	#tv2-catalog .tv2-cat-pill {
		min-height: 38px;
		padding: 7px 10px;
		font-size: 12px;
	}

	#tv2-catalog .tv2-grid {
		grid-template-columns: 1fr;
	}

	#tv2-catalog .tv2-toolbar {
		align-items: stretch;
	}

	#tv2-catalog .tv2-sort {
		width: 100%;
	}

	#tv2-catalog .tv2-pagination {
		gap: 4px;
	}

	#tv2-catalog .tv2-page-btn {
		min-width: 32px;
		height: 32px;
		line-height: 30px;
		padding: 0 7px;
		font-size: 11px;
	}
	/* ==========================================================================
   HERO
   ========================================================================== */

#tv2-catalog .tv2-hero {
	width: 100%;
	margin: 0 0 28px;
	border-radius: 16px;
	overflow: hidden;
	background: #f5f8fc;
}

#tv2-catalog .tv2-hero img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 360px;
	object-fit: cover;
	object-position: center;
}


/* ==========================================================================
   BIG CATEGORY SECTION UNDER HERO
   ========================================================================== */

#tv2-catalog .tv2-categories {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 28px;
	padding: 6px 0;
}

#tv2-catalog .tv2-cat-pill {
	min-height: 52px;
	padding: 12px 20px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
}

#tv2-catalog .tv2-cat-pill-icon {
	width: 22px;
	height: 22px;
}

#tv2-catalog .tv2-all-icon {
	width: 30px;
	height: 30px;
}


/* ==========================================================================
   MORE SPACE FOR THE PRODUCTS SECTION
   ========================================================================== */

#tv2-catalog .tv2-layout {
	gap: 28px;
}

#tv2-catalog .tv2-sidebar {
	padding: 20px;
}

#tv2-catalog .tv2-grid {
	gap: 22px;
}


/* ==========================================================================
   HIDE OLD SEARCH / TOP FILTER BUTTON
   ========================================================================== */

#tv2-catalog .tv2-searchbar {
	display: none !important;
}

#tv2-catalog .tv2-filter-toggle {
	display: none !important;
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 780px) {

	#tv2-catalog .tv2-hero {
		margin-bottom: 20px;
		border-radius: 10px;
	}

	#tv2-catalog .tv2-hero img {
		max-height: 220px;
	}

	#tv2-catalog .tv2-categories {
		gap: 8px;
		margin-bottom: 20px;
	}

	#tv2-catalog .tv2-cat-pill {
		min-height: 44px;
		padding: 9px 13px;
		font-size: 12px;
	}

/* ==========================================================================
   FULL WIDTH HERO — FIXED
   ========================================================================== */

#tv2-catalog .tv2-hero {
	width: 100vw !important;
	max-width: 100vw !important;

	/* Break the hero out of the centered 1280px catalog container */
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	margin-top: 0 !important;
	margin-bottom: 32px !important;

	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;

	overflow: hidden;
	line-height: 0;
	background: #f5f8fc;
}

#tv2-catalog .tv2-hero img {
	display: block;
	width: 100vw !important;
	max-width: none !important;
	height: auto !important;
	max-height: none !important;

	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;

	object-fit: cover;
	object-position: center;
}

@media (min-width: 781px) {
	#tv2-catalog .tv2-hero,
	#tv2-catalog .tv2-hero img {
		width: 100vw !important;
		max-width: 100vw !important;
	}

	#tv2-catalog .tv2-hero img {
		height: auto !important;
	}
}

@media (max-width: 780px) {
	#tv2-catalog .tv2-hero {
		width: 100vw !important;
		max-width: 100vw !important;

		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		margin-bottom: 22px !important;

		border-radius: 0 !important;
	}

	#tv2-catalog .tv2-hero img {
		width: 100vw !important;
		max-width: none !important;
		height: auto !important;
		max-height: none !important;
	}
}


/* ==========================================================================
   CATEGORY COLORS — LIGHT BLUE / TERVINA STYLE
   ========================================================================== */

#tv2-catalog .tv2-cat-pill {
	background: #eef5ff !important;
	border-color: #d8e7f7 !important;
	color: #24558f !important;
}

#tv2-catalog .tv2-cat-pill:hover {
	background: #e5f0ff !important;
	border-color: #b9d2ee !important;
	color: #0a4fb0 !important;
}

#tv2-catalog .tv2-cat-pill.is-active {
	background: #0a4fb0 !important;
	border-color: #0a4fb0 !important;
	color: #fff !important;
}

#tv2-catalog .tv2-cat-pill.is-active:hover {
	background: #073a85 !important;
	border-color: #073a85 !important;
	color: #fff !important;
}

#tv2-catalog .tv2-all-icon {
	background: #fff !important;
	border-color: #cfe0f2 !important;
	color: #24558f !important;
}

#tv2-catalog .tv2-cat-all.is-active .tv2-all-icon {
	background: #fff !important;
	border-color: #fff !important;
	color: #0a4fb0 !important;
}


/* ==========================================================================
   MOBILE FILTER BUTTON
   ========================================================================== */

#tv2-catalog .tv2-mobile-filter-btn {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	margin: 0 0 14px;
	padding: 10px 16px;

	border: 1px solid #0a4fb0;
	border-radius: 9px;
	background: #0a4fb0;
	color: #fff;

	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
}

#tv2-catalog .tv2-mobile-filter-btn:hover {
	background: #073a85;
	border-color: #073a85;
	color: #fff;
}

#tv2-catalog .tv2-mobile-filter-btn svg {
	flex: 0 0 auto;
}


/* Only show the filter trigger on mobile. */
@media (max-width: 780px) {
	#tv2-catalog .tv2-mobile-filter-btn {
		display: inline-flex;
	}
}


/* ==========================================================================
   CATEGORY PILLS — DESKTOP + MOBILE FINAL OVERRIDE
   ========================================================================== */

#tv2-catalog .tv2-categories .tv2-cat-pill,
#tv2-catalog .tv2-categories button.tv2-cat-pill {
	background: #eef5ff !important;
	border: 1px solid #d8e7f7 !important;
	color: #24558f !important;
}

#tv2-catalog .tv2-categories .tv2-cat-pill:hover,
#tv2-catalog .tv2-categories button.tv2-cat-pill:hover {
	background: #e3efff !important;
	border-color: #b9d2ee !important;
	color: #0a4fb0 !important;
}

#tv2-catalog .tv2-categories .tv2-cat-pill.is-active,
#tv2-catalog .tv2-categories button.tv2-cat-pill.is-active,
#tv2-catalog .tv2-categories .tv2-cat-pill[aria-selected="true"],
#tv2-catalog .tv2-categories button.tv2-cat-pill[aria-selected="true"] {
	background: #0a4fb0 !important;
	border: 1px solid #0a4fb0 !important;
	color: #ffffff !important;
}

#tv2-catalog .tv2-categories .tv2-cat-pill.is-active:hover,
#tv2-catalog .tv2-categories button.tv2-cat-pill.is-active:hover,
#tv2-catalog .tv2-categories .tv2-cat-pill[aria-selected="true"]:hover,
#tv2-catalog .tv2-categories button.tv2-cat-pill[aria-selected="true"]:hover {
	background: #073a85 !important;
	border-color: #073a85 !important;
	color: #ffffff !important;
}

#tv2-catalog .tv2-categories .tv2-cat-pill .tv2-all-icon {
	background: #ffffff !important;
	border-color: #cfe0f2 !important;
	color: #24558f !important;
}

#tv2-catalog .tv2-categories .tv2-cat-pill.is-active .tv2-all-icon,
#tv2-catalog .tv2-categories .tv2-cat-pill[aria-selected="true"] .tv2-all-icon {
	background: #ffffff !important;
	border-color: #ffffff !important;
	color: #0a4fb0 !important;
}

/* Make sure the desktop rules are active explicitly. */
@media (min-width: 781px) {
	#tv2-catalog .tv2-categories .tv2-cat-pill {
		background: #eef5ff !important;
		color: #24558f !important;
		border-color: #d8e7f7 !important;
	}

	#tv2-catalog .tv2-categories .tv2-cat-pill.is-active {
		background: #0a4fb0 !important;
		color: #fff !important;
		border-color: #0a4fb0 !important;
	}
}