.tejst-shop-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2rem;
	margin-top: 1.5rem;
}

.tejst-shop-filters {
	flex: 0 0 280px;
	max-width: 100%;
	position: sticky;
	top: 2rem;
}

.tejst-shop-filters__inner {
	background: #f7f5f2;
	border: 1px solid #e6e1da;
	border-radius: 8px;
	padding: 1.5rem;
}

.tejst-shop-filters__title {
	margin: 0 0 1.25rem;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.3;
}

.tejst-filter-group {
	margin: 0;
	padding: 0;
	border: 0;
}

.tejst-filter-group:last-of-type {
	margin-bottom: 0;
}

.tejst-filter-group__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: inherit;
	text-align: left;
	cursor: default;
}

.tejst-filter-group__label {
	display: block;
	margin: 0;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #5c5348;
}

.tejst-filter-group__icon {
	display: none;
	flex-shrink: 0;
	width: 0.625rem;
	height: 0.625rem;
	border-right: 2px solid #5c5348;
	border-bottom: 2px solid #5c5348;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
}

.tejst-filter-group__panel {
	margin: 0 0 1.25rem;
}

.tejst-shop-filters .tejst-filter-group__list,
.tejst-shop-filters .tejst-filter-group__list li {
	list-style: none !important;
	list-style-type: none !important;
	margin: 0;
	padding: 0;
}

.tejst-shop-filters .tejst-filter-group__list li::marker {
	content: none;
}

.tejst-shop-filters .tejst-filter-group__list li::before {
	content: none;
	display: none;
}

.tejst-filter-option {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.35rem 0;
	cursor: pointer;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.tejst-filter-option__input {
	margin: 0;
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	accent-color: #2c241c;
	vertical-align: middle;
}

.tejst-filter-option__label {
	display: block;
	line-height: 1.4;
}

.tejst-shop-filters__clear {
	margin-top: 1.25rem;
	width: 100%;
	padding: 0.65rem 1rem;
	border: 1px solid #cfc7bc;
	border-radius: 6px;
	background: #fff;
	color: #2c241c;
	font-size: 0.875rem;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.tejst-shop-filters__clear:hover,
.tejst-shop-filters__clear:focus-visible {
	background: #efeae3;
	border-color: #b8aea2;
}

.tejst-shop-filters__empty {
	margin: 0;
	font-size: 0.875rem;
	color: #6b6358;
}

.tejst-shop-products {
	flex: 1 1 0;
	min-width: 0;
	position: relative;
}

.tejst-shop-products--loading::after,
[data-tejst-product-grid].tejst-shop-products--loading::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.72);
	z-index: 2;
	pointer-events: none;
}

.tejst-shop-loader {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

.tejst-shop-loader[hidden] {
	display: none;
}

.tejst-shop-loader__icon {
	display: block;
	width: 3rem;
	height: 3rem;
	object-fit: contain;
	animation: tejst-loader-spin 0.85s linear infinite;
}

@keyframes tejst-loader-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.tejst-shop-loader__icon {
		animation: tejst-loader-spin 1.4s linear infinite;
	}
}

body.tejst-shop-has-filters #left-area {
	width: 100%;
	float: none;
}

.tejst-shop-no-results {
	margin: 1.5rem 0 0;
	padding: 1rem 1.25rem;
	background: #f7f5f2;
	border: 1px solid #e6e1da;
	border-radius: 6px;
	color: #5c5348;
	font-size: 0.9375rem;
}

.tejst-shop-filters + .et_pb_code_inner,
.et_pb_code .tejst-shop-filters {
	width: 100%;
}

.tejst-shop-products.tejst-shop-products--loading,
[data-tejst-product-grid].tejst-shop-products--loading {
	position: relative;
	min-height: 120px;
}

@media (max-width: 980px) {
	.tejst-shop-layout {
		flex-direction: column;
	}

	.tejst-shop-filters {
		flex-basis: auto;
		width: 100%;
		position: static;
	}

	.tejst-filter-group {
		border-bottom: 1px solid #e6e1da;
	}

	.tejst-filter-group:last-of-type {
		border-bottom: 0;
	}

	.tejst-filter-group__toggle {
		padding: 0.875rem 0;
		cursor: pointer;
	}

	.tejst-filter-group__icon {
		display: block;
	}

	.tejst-filter-group__toggle[aria-expanded='true'] .tejst-filter-group__icon {
		transform: rotate(-135deg);
		margin-top: 0.2rem;
	}

	.tejst-filter-group__panel {
		margin: 0;
		padding: 0 0 1rem;
	}

	.tejst-filter-group__panel[hidden] {
		display: none;
	}
}

@media (min-width: 981px) {
	.tejst-filter-group__toggle {
		margin-bottom: 0.5rem;
		pointer-events: none;
	}

	.tejst-filter-group__panel[hidden] {
		display: block !important;
	}
}
