:root {
	--bg: #f4efe6;
	--surface: rgba(255, 255, 255, 0.86);
	--surface-strong: rgba(255, 255, 255, 0.96);
	--ink: #14281d;
	--muted: #5f6d63;
	--brand: #d97706;
	--brand-deep: #9a3412;
	--line: rgba(20, 40, 29, 0.12);
	--shadow: 0 18px 44px rgba(43, 33, 14, 0.11);
	--card: rgba(255, 255, 255, 0.86);
}

html[data-theme="dark"] {
	--bg: #111117;
	--surface: rgba(19, 24, 33, 0.82);
	--surface-strong: rgba(24, 31, 42, 0.94);
	--ink: #f8fafc;
	--muted: rgba(226, 232, 240, 0.78);
	--line: rgba(255, 255, 255, 0.12);
	--shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
	--card: rgba(255, 255, 255, 0.06);
}

body {
	background: radial-gradient(circle at top left, rgba(217, 119, 6, 0.14), transparent 28%),
		radial-gradient(circle at top right, rgba(31, 111, 95, 0.1), transparent 26%),
		var(--bg);
	color: var(--ink);
}

.annonce-page {
	padding-top: 0.7rem;
	padding-bottom: 2.4rem;
}

.annonce-hero {
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow);
	padding: 0.95rem 1rem;
	margin-bottom: 0.85rem;
}

.annonce-hero-text {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.annonce-hero-copy {
	min-width: 0;
}

.hero-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	border-radius: 999px;
	padding: 0.32rem 0.65rem;
	background: rgba(217, 119, 6, 0.15);
	color: var(--brand-deep);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.annonce-hero h1 {
	margin: 0.45rem 0 0.18rem;
	font-size: clamp(1.1rem, 2.6vw, 1.45rem);
	line-height: 1.2;
	font-family: "Sora", sans-serif;
}

.annonce-hero p {
	margin: 0;
	color: var(--muted);
	max-width: 56ch;
	font-size: 0.92rem;
}

.annonce-hero-actions {
	flex: 0 0 auto;
}

.annonce-hero-actions .btn-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	border-radius: 999px;
	padding: 0.62rem 0.95rem;
	white-space: nowrap;
}

.filter-panel {
	background: #14281d;
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 0.95rem;
	box-shadow: var(--shadow);
	margin-bottom: 1rem;
}

html[data-theme="light"] .filter-panel {
	background: white;
}

.filter-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.8rem;
	margin-bottom: 0.75rem;
}

.btn-filter-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.62rem 1rem;
	background: var(--surface-strong);
	color: var(--ink);
	font-weight: 800;
	box-shadow: var(--shadow);
}

.btn-filter-toggle:hover,
.btn-filter-toggle:focus-visible {
	border-color: rgba(217, 119, 6, 0.55);
	color: var(--brand-deep);
}

.btn-filter-toggle.collapsed .filter-toggle-chevron {
	transform: rotate(180deg);
}

.filter-toggle-chevron {
	transition: transform 0.2s ease;
}

.filter-toolbar-copy {
	color: var(--muted);
	font-size: 0.92rem;
	font-weight: 600;
}

.filter-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

.filter-field {
	min-width: 0;
}

.filter-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 700;
	font-size: 0.82rem;
	color: var(--muted);
}

.filter-field .form-control,
.filter-field .form-select {
	min-height: 42px;
}

.range-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem;
}

.filter-loader-wrap {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
}

#filter-loading {
	width: 1.35rem;
	height: 1.35rem;
}

.quick-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-top: 0.65rem;
}

.quick-tag {
	border-radius: 999px;
	padding: 0.32rem 0.7rem;
	font-size: 0.78rem;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.7);
	color: var(--ink);
	font-weight: 600;
}

html[data-theme="dark"] .quick-tag {
	background: rgba(255, 255, 255, 0.06);
}

.results-block {
	margin-top: 0.9rem;
}

.store-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.store-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: rgba(217, 119, 6, 0.34);
}

.store-image {
	position: relative;
	height: 204px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.05);
}

.store-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.store-title-overlay {
	position: absolute;
	left: 0.75rem;
	right: 0.75rem;
	bottom: 0.65rem;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.34));
	color: #fff;
	padding: 0.42rem 0.62rem;
	border-radius: 11px;
	font-weight: 800;
	font-size: 0.95rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.price-badge {
	position: absolute;
	left: 0.75rem;
	top: 0.75rem;
	background: linear-gradient(135deg, var(--brand), var(--brand-deep));
	color: #fff;
	padding: 0.3rem 0.56rem;
	border-radius: 11px;
	font-weight: 800;
	font-size: 0.82rem;
	box-shadow: 0 8px 20px rgba(154, 52, 18, 0.16);
}

.promo-badge {
	position: absolute;
	right: 0.75rem;
	top: 0.75rem;
	background: rgba(217, 119, 6, 0.16);
	color: #fff;
	padding: 0.3rem 0.56rem;
	border-radius: 11px;
	font-weight: 700;
	font-size: 0.76rem;
	border: 1px solid rgba(255, 255, 255, 0.24);
}

.store-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0.9rem;
}

.store-meta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin-bottom: 0.65rem;
}

.store-chip {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 0.25rem 0.58rem;
	background: rgba(217, 119, 6, 0.14);
	color: var(--brand-deep);
	font-size: 0.76rem;
	font-weight: 800;
}

.muted-chip {
	background: rgba(20, 40, 29, 0.07);
	color: var(--muted);
}

html[data-theme="dark"] .muted-chip {
	background: rgba(255, 255, 255, 0.08);
}

.store-category {
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.45;
	min-height: 63px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.store-location {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 0.75rem;
	color: var(--muted);
	font-size: 0.88rem;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.store-location span {
	display: inline-flex;
	align-items: center;
	gap: 0.32rem;
}

.store-card-footer {
	margin-top: auto;
	padding-top: 0.85rem;
}

.store-location .btn-brand {
	border-radius: 999px;
	padding: 0.42rem 0.75rem;
	font-size: 0.82rem;
}

.store-card-footer .btn-brand {
	width: 100%;
	border-radius: 999px;
	padding: 0.48rem 0.75rem;
}

.pagination .page-link {
	border-radius: 999px;
	padding: 0.42rem 0.75rem;
}

.pagination .page-item.active .page-link {
	background: linear-gradient(135deg, var(--brand), var(--brand-deep));
	color: #fff;
	border: none;
}

html[data-theme="dark"] .pagination .page-link {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.12);
	color: #e2e8f0;
}

@media (min-width: 768px) {
	.annonce-page {
		padding-top: 1rem;
	}

	.annonce-hero {
		padding: 0.9rem 1rem;
		margin-bottom: 0.8rem;
	}

	.filter-panel {
		padding: 1.05rem;
	}

	.filter-grid {
		grid-template-columns: minmax(230px, 1.4fr) repeat(3, minmax(160px, 1fr)) auto;
		align-items: end;
	}
}

@media (max-width: 767.98px) {
	.store-image {
		height: 188px;
	}

	.store-title-overlay {
		font-size: 0.9rem;
	}

	.store-category {
		min-height: 68px;
	}
}

@media (max-width: 575.98px) {
	.annonce-page {
		padding-top: 0.75rem;
	}

	.annonce-hero,
	.filter-panel {
		border-radius: 15px;
	}

	.annonce-hero {
		padding: 0.9rem;
	}

	.annonce-hero-text,
	.filter-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.annonce-hero-actions,
	.annonce-hero-actions .btn-brand,
	.btn-filter-toggle {
		width: 100%;
		justify-content: center;
	}

	.annonce-hero p {
		font-size: 0.92rem;
	}

	.range-row {
		grid-template-columns: 1fr;
	}

	.store-image {
		height: 176px;
	}
}

