/* Ansari Katalog — brand: navy #0F4777 / coral #f05c6a */

.as-cat-fullbleed {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
}

.as-cat-wrap {
	display: flex;
	gap: 32px;
	align-items: flex-start;
	max-width: 1800px;
	margin: 0 auto;
	padding: 0 40px;
	box-sizing: border-box;
}

.as-cat-sidebar {
	flex: 0 0 200px;
	position: sticky;
	top: 20px;
}

.as-cat-filter-group {
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eceff3;
}

.as-cat-filter-group h3 {
	font-size: 14px;
	font-weight: 700;
	color: #0F4777;
	margin: 0 0 12px;
}

.as-cat-check {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: #43505f;
	padding: 5px 0;
	cursor: pointer;
}

.as-cat-brand-icon {
	width: 16px;
	height: 16px;
	object-fit: contain;
	flex-shrink: 0;
}

.as-cat-check-sub {
	margin-left: 22px;
	font-size: 12px;
	color: #8993a1;
}

.as-cat-check input {
	width: 15px;
	height: 15px;
	accent-color: #0F4777;
	cursor: pointer;
	flex-shrink: 0;
}

.as-cat-check span {
	color: #8993a1;
	font-size: 11px;
}

.as-cat-apply-btn {
	width: 100%;
	background: #0F4777;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 11px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	margin-bottom: 10px;
}

.as-cat-apply-btn:hover {
	background: #f05c6a;
}

.as-cat-clear-link {
	display: block;
	text-align: center;
	font-size: 12px;
	color: #8993a1;
	text-decoration: underline;
}

.as-cat-main {
	flex: 1 1 auto;
	min-width: 0;
}

.as-cat-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 14px;
	border-bottom: 1px solid #eceff3;
}

.as-cat-qf-group {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.as-cat-qf-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #fff !important;
	text-decoration: none !important;
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 2px 8px;
	transition: box-shadow 0.15s ease, filter 0.15s ease;
	filter: brightness(0.92) saturate(0.85);
}

.as-cat-qf-toggle:hover {
	filter: brightness(1);
}

.as-cat-qf-toggle.is-active {
	filter: none;
	box-shadow: 0 0 0 2px #fff inset, 0 0 0 4px #1d2327;
}

.as-cat-sort-form {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.as-cat-sort-form select {
	padding: 6px 10px;
	border: 1px solid #d9dee4;
	border-radius: 6px;
	font-size: 13px;
}

.as-cat-empty {
	color: #8993a1;
	font-style: italic;
}

.as-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

.as-cat-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eceff3;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.as-cat-card:hover {
	box-shadow: 0 8px 24px rgba(15,71,119,0.1);
	transform: translateY(-2px);
}

.as-cat-card-image {
	display: block;
	position: relative;
	aspect-ratio: 3 / 4;
	background: #f6f8fb;
	overflow: hidden;
}

.as-cat-card-brand-overlay {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1;
	background: rgba(255,255,255,0.9);
	color: #0F4777;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 4px;
}

.as-cat-card-badge-stack {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 6px;
}

.as-cat-card-new-badge {
	background: #f05c6a;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 4px 8px;
	border-radius: 4px;
}

.as-cat-card-topseller-badge {
	background: #c8960c;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
}

.as-cat-card-deal-badge {
	background: #d63638;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
}

.as-cat-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
	display: block;
}

.as-cat-card-img-main,
.as-cat-card-img-hover {
	position: absolute;
	top: 0;
	left: 0;
	transition: opacity 0.25s ease;
}

.as-cat-card-img-hover {
	opacity: 0;
}

.as-cat-card-image:hover .as-cat-card-img-hover {
	opacity: 1;
	object-position: center;
	object-fit: contain;
	background-color: white;
}

.as-cat-card-personalize {
	position: absolute;
	bottom: 10px;
	right: 10px;
	z-index: 1;
	display: flex;
	align-items: center;
	background: rgba(255,255,255,0.95);
	border-radius: 999px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.as-cat-card-personalize-text {
	max-width: 0;
	opacity: 0;
	white-space: nowrap;
	overflow: hidden;
	font-size: 12px;
	font-weight: 600;
	color: #0F4777;
	transition: max-width 0.25s ease, opacity 0.2s ease, padding 0.25s ease;
}

.as-cat-card-personalize-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex-shrink: 0;
}

.as-cat-card-personalize-icon img {
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.as-cat-card-personalize:hover .as-cat-card-personalize-text {
	max-width: 140px;
	opacity: 1;
	padding-left: 12px;
}

.as-cat-card-body {
	padding: 10px 10px 0px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.as-cat-card-title {
	margin: 0;
	font-size: 15px;
}

.as-cat-card-title a {
	color: #0F4777;
	text-decoration: none;
}

.as-cat-card-title a:hover {
	text-decoration: underline;
}

.as-cat-card-title-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 8px;
}

.as-cat-card-short-desc {
	margin: 0;
	font-size: 12px;
	line-height: 1.4;
	color: #8993a1;
	min-height: 34px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.as-cat-card-weight {
	margin: 0;
	font-size: 12px;
	color: #8993a1;
	white-space: nowrap;
	flex-shrink: 0;
}

.as-cat-card-price {
	margin: 4px 0 0;
	font-size: 13px;
	color: #43505f;
	text-align: left;
}

.as-cat-card-price strong {
	color: #0F4777;
}

.as-cat-card-price-gross {
	margin: 0;
	font-size: 11px;
	color: #8993a1;
	text-align: left;
}

.as-cat-card-note {
	display: block;
	font-size: 11px;
	color: #8993a1;
}

.as-cat-pagination {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 32px;
}

.as-cat-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 6px;
	background: #f6f8fb;
	color: #0F4777;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.as-cat-page-link.is-current {
	background: #0F4777;
	color: #fff;
}

/* Mobile-Filter-Elemente sind auf Desktop standardmäßig unsichtbar. */
.as-cat-filter-toggle,
.as-cat-filter-close,
.as-cat-filter-backdrop {
	display: none;
}

@media (max-width: 900px) {
	.as-cat-wrap {
		flex-direction: column;
		padding: 0 16px;
	}

	.as-cat-filter-toggle {
		display: block;
		width: 100%;
		background: #0F4777;
		color: #fff;
		border: none;
		border-radius: 6px;
		padding: 12px 16px;
		font-weight: 700;
		font-size: 15px;
		cursor: pointer;
		margin-bottom: 8px;
	}

	.as-cat-filter-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0,0,0,0.4);
		z-index: 1000;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s ease;
	}

	.as-cat-filter-backdrop.is-open {
		opacity: 1;
		visibility: visible;
	}

	.as-cat-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: 82%;
		max-width: 340px;
		background: #fff;
		z-index: 1001;
		padding: 20px;
		overflow-y: auto;
		box-sizing: border-box;
		transform: translateX(-100%);
		transition: transform 0.25s ease;
	}

	.as-cat-sidebar.is-open {
		transform: translateX(0);
	}

	.as-cat-filter-close {
		display: block;
		width: 100%;
		background: none;
		border: 1px solid #d9dee4;
		border-radius: 6px;
		padding: 10px;
		font-weight: 600;
		color: #43505f;
		cursor: pointer;
		margin-bottom: 20px;
	}

	.as-cat-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}
