/* UVENTS — Ürün kataloğu (tema değişkenleriyle uyumlu) */

.uvents-products-page {
	padding: 80px 0 100px;
	background: var(--secondary-color);
}

.uvents-products-toolbar {
	background: var(--bg-color);
	border-radius: 16px;
	padding: 28px;
	margin-bottom: 40px;
	box-shadow: 0 8px 40px rgba(35, 35, 35, 0.06);
}

.uvents-products-toolbar__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px 24px;
	flex-wrap: wrap;
	padding-bottom: 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--divider-color);
}

.uvents-products-toolbar__search {
	flex: 1 1 320px;
	min-width: 0;
}

.uvents-products-toolbar__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 12px 16px;
	flex: 0 1 auto;
}

.uvents-products-toolbar__categories h3,
.uvents-products-toolbar__search h3 {
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-color);
	margin-bottom: 12px;
	font-weight: 600;
}

.uvents-catalog-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 18px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--white-color);
	background: var(--accent-color);
	border: 1px solid var(--accent-color);
	border-radius: 10px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.uvents-catalog-link:hover {
	background: var(--primary-color);
	border-color: var(--primary-color);
	color: var(--white-color);
}

.uvents-search-wrap {
	position: relative;
	margin-bottom: 0;
}

.uvents-search-wrap input {
	width: 100%;
	border: 1px solid var(--divider-color);
	border-radius: 12px;
	padding: 14px 18px 14px 48px;
	font-size: 16px;
	color: var(--primary-color);
	background: var(--bg-color);
}

.uvents-search-wrap input:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(255, 103, 0, 0.12);
}

.uvents-search-wrap i {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-color);
}

.uvents-category-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 0;
}

.uvents-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 1px solid var(--divider-color);
	background: var(--bg-color);
	color: var(--primary-color);
	padding: 10px 18px;
	border-radius: 999px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.uvents-pill:hover,
.uvents-pill.is-active {
	background: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--white-color);
	box-shadow: 0 4px 14px rgba(255, 103, 0, 0.22);
}

.uvents-pill:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(255, 103, 0, 0.25);
}

.uvents-products-toolbar__actions p {
	margin: 0;
	color: var(--text-color);
	font-size: 15px;
	white-space: nowrap;
}

.uvents-products-toolbar__actions select {
	border: 1px solid var(--divider-color);
	border-radius: 10px;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.2;
	color: var(--primary-color);
	background: var(--bg-color);
	min-height: 42px;
}

#uvents-products-grid {
	margin-bottom: 8px;
}

#uvents-products-grid > [class*="col-"] {
	margin-bottom: 8px;
}

.uvents-product-card {
	background: var(--bg-color);
	border-radius: 16px;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 36px rgba(35, 35, 35, 0.07);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	margin-bottom: 12px;
}

.uvents-product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 48px rgba(35, 35, 35, 0.12);
}

.uvents-product-card__media {
	position: relative;
	aspect-ratio: 4/3;
	background: var(--secondary-color);
	overflow: hidden;
}

.uvents-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 20px;
	transition: transform 0.4s ease;
}

.uvents-product-card:hover .uvents-product-card__media img {
	transform: scale(1.04);
}

.uvents-product-card__badge {
	position: absolute;
	top: 14px;
	left: 14px;
	background: var(--primary-color);
	color: var(--white-color);
	font-size: 11px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 999px;
	max-width: calc(100% - 28px);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.uvents-product-card__body {
	padding: 22px 22px 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.uvents-product-card__serie {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-color);
	margin-bottom: 8px;
	line-height: 1.4;
}

.uvents-model-count {
	font-size: 13px;
	color: var(--text-color);
	font-weight: 500;
}

.uvents-product-card__title {
	font-size: 20px;
	line-height: 1.3;
	margin-bottom: 8px;
}

.uvents-product-card__title a {
	color: var(--primary-color);
}

.uvents-product-card__title a:hover {
	color: var(--accent-color);
}

.uvents-product-card__desc {
	color: var(--text-color);
	font-size: 14px;
	line-height: 1.55;
	margin-bottom: 18px;
	flex: 1;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.uvents-product-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
}

.uvents-product-card__footer .readmore-btn {
	margin: 0;
}

.uvents-empty,
.uvents-loading {
	text-align: center;
	padding: 60px 24px;
	color: var(--text-color);
}

.uvents-loading .spinner-border {
	color: var(--accent-color);
	width: 2.5rem;
	height: 2.5rem;
}

/* —— Detay sayfası —— */

.uvents-product-detail {
	padding: 60px 0 100px;
}

.uvents-detail-hero {
	background: var(--bg-color);
	border-radius: 20px;
	padding: 32px;
	margin-bottom: 32px;
	box-shadow: 0 12px 48px rgba(35, 35, 35, 0.08);
}

.uvents-detail-gallery {
	background: #ffffff;
	border-radius: 16px;
	padding: 40px 36px;
	overflow: hidden;
}

.uvents-detail-gallery .uvents-detail-swiper {
	width: 100%;
	overflow: hidden;
	background: #ffffff;
}

/* Swiper yüklenene kadar yalnızca ilk görsel */
.uvents-detail-gallery .uvents-detail-swiper:not(.swiper-initialized) .swiper-slide ~ .swiper-slide {
	display: none;
}

.uvents-detail-gallery .swiper-wrapper {
	align-items: center;
}

.uvents-detail-gallery .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #ffffff;
	box-sizing: border-box;
	padding: 24px 16px;
	min-height: 380px;
}

.uvents-detail-gallery .swiper-slide img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 460px;
	margin: 0 auto;
	object-fit: contain;
	box-shadow: none;
}

.uvents-detail-gallery .swiper-pagination {
	position: relative;
	margin-top: 20px;
}

.uvents-detail-gallery .swiper-pagination-bullet-active {
	background: var(--accent-color);
}

.uvents-detail-gallery .uvents-detail-swiper {
	position: relative;
}

.uvents-detail-gallery .swiper-button-prev,
.uvents-detail-gallery .swiper-button-next {
	width: 44px;
	height: 44px;
	margin-top: 0;
	top: 50%;
	transform: translateY(-50%);
	background: var(--white-color);
	border: 1px solid var(--divider-color);
	border-radius: 50%;
	color: var(--primary-color);
	box-shadow: none;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.uvents-detail-gallery .swiper-button-prev::after,
.uvents-detail-gallery .swiper-button-next::after {
	font-size: 16px;
	font-weight: 700;
}

.uvents-detail-gallery .swiper-button-prev:hover,
.uvents-detail-gallery .swiper-button-next:hover {
	border-color: var(--accent-color);
	color: var(--accent-color);
	background: var(--white-color);
}

.uvents-detail-gallery .swiper-button-prev {
	left: 12px;
}

.uvents-detail-gallery .swiper-button-next {
	right: 12px;
}

.uvents-detail-gallery .swiper-button-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.uvents-detail-info h1 {
	font-size: clamp(28px, 4vw, 42px);
	color: var(--primary-color);
	margin-bottom: 8px;
}

.uvents-detail-info .uvents-detail-serie {
	font-size: 18px;
	color: var(--accent-color);
	font-weight: 600;
	margin-bottom: 16px;
}

.uvents-detail-cats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.uvents-detail-cats span {
	background: var(--secondary-color);
	color: var(--primary-color);
	font-size: 13px;
	padding: 6px 14px;
	border-radius: 999px;
	font-weight: 500;
}

.uvents-detail-overview {
	color: var(--text-color);
	font-size: 16px;
	line-height: 1.7;
	margin-bottom: 28px;
}

.uvents-detail-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
}

.uvents-detail-files h4,
.uvents-detail-specs h4,
.uvents-section-head h4 {
	font-size: 22px;
	color: var(--primary-color);
	margin-bottom: 8px;
}

.uvents-section-head {
	margin-bottom: 24px;
}

.uvents-section-head p {
	color: var(--text-color);
	margin: 0;
	font-size: 15px;
}

.uvents-section-head--specs {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 28px;
	padding-bottom: 16px;
	border-bottom: 2px solid var(--accent-color);
}

.uvents-selected-model-label {
	margin: 0;
	font-size: 15px;
	color: var(--text-color);
}

.uvents-selected-model-label strong {
	color: var(--primary-color);
}

.uvents-detail-meta {
	font-size: 15px;
	color: var(--text-color);
	margin-bottom: 20px;
}

.uvents-file-list {
	list-style: none;
	padding: 0;
	margin: 0 0 40px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.uvents-file-list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	border-radius: 12px;
	border: 1px solid var(--divider-color);
	color: var(--primary-color);
	font-weight: 500;
	font-size: 14px;
	transition: 0.2s ease;
}

.uvents-file-list a:hover {
	border-color: var(--accent-color);
	color: var(--accent-color);
}

/* —— Model tablosu (seri detay) —— */

.uvents-models-section {
	margin-bottom: 48px;
}

.uvents-models-table-wrap {
	background: var(--bg-color);
	border-radius: 16px;
	border: 1px solid var(--divider-color);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	box-shadow: 0 8px 32px rgba(35, 35, 35, 0.06);
}

.uvents-models-table {
	width: 100%;
	min-width: 960px;
	border-collapse: collapse;
	font-size: 14px;
	table-layout: auto;
}

.uvents-models-table thead {
	background: var(--primary-color);
	color: var(--white-color);
}

.uvents-models-table thead th {
	padding: 12px 14px;
	font-weight: 600;
	font-size: 12px;
	line-height: 1.35;
	text-transform: none;
	letter-spacing: 0;
	white-space: normal;
	vertical-align: bottom;
	min-width: 7.5rem;
	max-width: 10.5rem;
	hyphens: auto;
}

.uvents-models-table thead th .uvents-th-label {
	display: block;
}

.uvents-models-table tbody tr {
	border-bottom: 1px solid var(--divider-color);
	cursor: pointer;
	transition: background 0.2s ease;
}

.uvents-models-table tbody tr:hover {
	background: rgba(255, 103, 0, 0.06);
}

.uvents-models-table tbody tr.is-active {
	background: rgba(255, 103, 0, 0.12);
	box-shadow: inset 4px 0 0 var(--accent-color);
}

.uvents-models-table td {
	padding: 14px 14px;
	color: var(--text-color);
	vertical-align: middle;
	white-space: nowrap;
}

.uvents-models-table thead th:nth-last-child(2),
.uvents-models-table tbody td:nth-last-child(2) {
	min-width: 9.5rem;
	max-width: 11rem;
	white-space: normal;
}

.uvents-models-table .uvents-model-name {
	color: var(--primary-color);
	min-width: 140px;
}

.uvents-models-table .uvents-model-action {
	text-align: right;
	white-space: nowrap;
}

/* —— Açık teknik tablolar —— */

.uvents-detail-specs {
	margin-bottom: 40px;
}

.uvents-spec-panel {
	background: var(--bg-color);
	border: 1px solid var(--divider-color);
	border-radius: 14px;
	margin-bottom: 20px;
	overflow: hidden;
}

.uvents-spec-panel__title {
	margin: 0;
	padding: 14px 20px;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	background: var(--secondary-color);
	color: var(--primary-color);
	border-bottom: 1px solid var(--divider-color);
}

.uvents-spec-table-wrap {
	overflow-x: auto;
}

.uvents-spec-table-pro {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.uvents-spec-table-pro thead {
	background: var(--primary-color);
	color: var(--white-color);
}

.uvents-spec-table-pro thead th {
	padding: 12px 18px;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-align: left;
}

.uvents-spec-table-pro tbody tr:nth-child(even) {
	background: rgba(244, 248, 250, 0.65);
}

.uvents-spec-table-pro tbody tr:hover {
	background: rgba(255, 103, 0, 0.05);
}

.uvents-spec-table-pro td {
	padding: 12px 18px;
	border-top: 1px solid var(--divider-color);
	color: var(--text-color);
	vertical-align: middle;
}

.uvents-spec-table-pro td strong {
	color: var(--primary-color);
	font-weight: 600;
}

.uvents-spec-symbol {
	color: var(--accent-color);
	font-weight: 500;
}

.uvents-related {
	padding-top: 40px;
}

.uvents-related h3 {
	margin-bottom: 28px;
	color: var(--primary-color);
}

/* Seri performans aralığı (selector #RANGE benzeri) */
.uvents-series-range-section {
	margin: 8px 0 40px;
	padding: 28px 24px;
	background: var(--white-color);
	border: 1px solid var(--divider-color);
	border-radius: 16px;
	box-shadow: 0 8px 32px rgba(35, 35, 35, 0.06);
}

.uvents-series-range__title {
	font-size: 18px;
	font-weight: 600;
	color: var(--primary-color);
	margin: 0 0 6px;
}

.uvents-series-range__hint {
	font-size: 13px;
	color: var(--text-color);
	opacity: 0.85;
	margin: 0 0 20px;
	max-width: 720px;
}

.uvents-series-range {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 20px;
	align-items: stretch;
}

.uvents-series-range__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	flex: 1 1 200px;
	min-width: min(100%, 200px);
	padding: 16px 18px;
	background: var(--secondary-color);
	border-radius: 12px;
	border: 1px solid var(--dark-divider-color);
}

.uvents-series-range__icon {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent-color);
	border-radius: 10px;
	color: var(--white-color);
}

.uvents-series-range__icon .material-symbols-outlined {
	font-family: 'Material Symbols Outlined';
	font-weight: normal;
	font-style: normal;
	font-size: 26px;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-block;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.uvents-series-range__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.uvents-series-range__label {
	font-size: 13px;
	font-weight: 600;
	color: var(--text-color);
	text-transform: none;
	letter-spacing: 0.02em;
}

.uvents-series-range__value {
	font-size: 20px;
	font-weight: 700;
	color: var(--primary-color);
	line-height: 1.2;
}

.uvents-series-range__unit {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-color);
	opacity: 0.9;
}

html[dir="rtl"] .uvents-series-range__item {
	flex-direction: row-reverse;
	text-align: right;
}

@media (max-width: 991px) {
	.uvents-detail-gallery {
		padding: 28px 20px;
	}
	.uvents-detail-gallery .swiper-slide {
		min-height: 280px;
		padding: 20px 12px;
	}
	.uvents-detail-gallery .swiper-slide img {
		max-height: 320px;
	}
	.uvents-detail-gallery .swiper-button-prev {
		left: 4px;
	}
	.uvents-detail-gallery .swiper-button-next {
		right: 4px;
	}
	.uvents-detail-gallery .swiper-button-prev,
	.uvents-detail-gallery .swiper-button-next {
		width: 38px;
		height: 38px;
	}
	.uvents-products-page {
		padding: 50px 0 70px;
	}
	.uvents-products-toolbar {
		padding: 22px 18px;
	}
	.uvents-products-toolbar__top {
		flex-direction: column;
		align-items: stretch;
	}
	.uvents-products-toolbar__actions {
		justify-content: flex-start;
	}
	.uvents-pill {
		white-space: normal;
	}
	.uvents-models-table-wrap,
	.uvents-spec-table-wrap {
		-webkit-overflow-scrolling: touch;
	}
	.uvents-section-head--specs {
		flex-direction: column;
		align-items: flex-start;
	}

	.uvents-series-range-section {
		padding: 20px 16px;
	}

	.uvents-series-range__item {
		flex: 1 1 100%;
	}
}
