/*!
Theme Name: rent140
Author: xside
Author URI: xside
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: rent140

*/





/* === CSS variables: dark (default) & light === */
:root {
	--bg-page: #141416;
	--bg-elevated: #1c1c20;
	--bg-card: #222228;
	--bg-input: #2a2a32;
	--border-subtle: rgba(255, 255, 255, 0.08);
	--text-primary: #f4f4f5;
	--text-secondary: #a1a1aa;
	--text-muted: #71717a;
	--accent: #2dd4bf;
	--accent-hover: #5eead4;
	--accent-muted: rgba(45, 212, 191, 0.15);
	--hero-overlay: linear-gradient(180deg, rgba(10, 10, 12, 0.55) 0%, rgba(20, 20, 22, 0.92) 100%);
	--header-bg: rgba(20, 20, 22, 0.92);
	--shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35);
	--promo-purple: #4c1d95;
	--promo-purple-text: #f5f3ff;
	--radius-sm: 8px;
	--radius-md: 12px;
	--radius-lg: 16px;
	--font: "Jost", system-ui, -apple-system, sans-serif;
	--container: min(1200px, 100% - 2rem);
	--price-old-color: #ef4444;
	/* Custom <select> chevron (stroke matches --text-secondary) */
	--select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10l6 6 6-6'/%3E%3C/svg%3E");
  }
  
  body.light-theme {
	--bg-page: #f4f4f5;
	--bg-elevated: #ffffff;
	--bg-card: #ffffff;
	--bg-input: #e4e4e7;
	--border-subtle: rgba(0, 0, 0, 0.08);
	--text-primary: #18181b;
	--text-secondary: #52525b;
	--text-muted: #71717a;
	--accent: #0d9488;
	--accent-hover: #0f766e;
	--accent-muted: rgba(13, 148, 136, 0.12);
	--hero-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.88) 100%);
	--header-bg: rgba(255, 255, 255, 0.92);
	--shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);
	--promo-purple: #6d28d9;
	--promo-purple-text: #faf5ff;
	--price-old-color: #dc2626;
	--select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2352525b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10l6 6 6-6'/%3E%3C/svg%3E");
  }
  
  /* Iconify — Solar Linear icons load via Iconify API (see iconify-icon in HTML) */
  iconify-icon {
	display: inline-block;
	vertical-align: middle;
	color: inherit;
	flex-shrink: 0;
  }
  
  *,
  *::before,
  *::after {
	box-sizing: border-box;
  }
  
  html {
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
  }
  
  body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.5;
	color: var(--text-primary);
	background-color: var(--bg-page);
	transition: background-color 0.25s ease, color 0.25s ease;
  }
  
  /* Custom scrollbar — all scrollable elements (thin accent thumb) */
  * {
	scrollbar-width: thin;
	scrollbar-color: var(--accent) var(--bg-input);
  }
  
  *::-webkit-scrollbar {
	width: 5px;
	height: 5px;
  }
  
  *::-webkit-scrollbar-track {
	background: var(--bg-input);
	border-radius: 999px;
  }
  
  *::-webkit-scrollbar-thumb {
	background: var(--accent);
	border-radius: 999px;
  }
  
  *::-webkit-scrollbar-thumb:hover {
	background: var(--accent-hover);
  }
  
  *::-webkit-scrollbar-corner {
	background: transparent;
  }
  
  img {
	max-width: 100%;
	height: auto;
	display: block;
  }
  
  a {
	color: inherit;
	text-decoration: none;
  }
  
  a:hover {
	color: var(--accent);
  }
  
  .container {
	width: var(--container);
	margin-inline: auto;
  }
  
  .visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
  }
  
  /* === Header === */
  .site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--header-bg);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border-subtle);
  }
  
  .header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.75rem 0;
	max-width: var(--container);
	margin-inline: auto;
  }
  
  .logo {
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
	color: var(--text-primary);
  }
  
  .logo:hover {
	color: var(--accent);
  }
  
  .nav-main {
	display: flex;
	flex: 1;
	justify-content: center;
  }

  .nav-main-list {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	flex: 1;
	justify-content: center;
	row-gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
  }

  .nav-main-list > li {
	margin: 0;
	padding: 0;
  }
  
  .nav-main a {
	font-weight: 500;
	font-size: 0.85rem;
	color: var(--text-secondary);
  }
  
  .nav-main a:hover {
	color: var(--accent);
  }
  
  .header-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
  }
  
  /* Theme toggle (moon / sun icons) */
  .theme-toggle {
	position: relative;
	display: flex;
	align-items: center;
	cursor: pointer;
	user-select: none;
  }
  
  .theme-toggle input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
	opacity: 0;
  }
  
  .theme-toggle-track {
	position: relative;
	width: 52px;
	height: 28px;
	background: var(--bg-input);
	border-radius: 999px;
	border: 1px solid var(--border-subtle);
	transition: background 0.2s, border-color 0.2s;
  }
  
  .theme-toggle-icon {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	pointer-events: none;
	transition: color 0.2s, opacity 0.2s;
	z-index: 0;
  }
  
  .theme-toggle-icon--moon {
	left: 7px;
  }
  
  .theme-toggle-icon--sun {
	right: 7px;
  }
  
  body:not(.light-theme) .theme-toggle-icon--moon {
	color: var(--accent);
  }
  
  body.light-theme .theme-toggle-icon--sun {
	color: var(--accent);
  }
  
  body.light-theme .theme-toggle-icon--moon {
	opacity: 0.45;
  }
  
  body:not(.light-theme) .theme-toggle-icon--sun {
	opacity: 0.45;
  }
  
  .theme-toggle-thumb {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--accent);
	transition: transform 0.2s ease;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	z-index: 1;
  }
  
  body.light-theme .theme-toggle-thumb {
	transform: translateX(24px);
  }
  
  .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.6rem 1.25rem;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	border-radius: var(--radius-sm);
	border: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, transform 0.15s;
  }
  
  .btn:active {
	transform: scale(0.98);
  }
  
  .btn-primary {
	background: var(--accent);
	color: #0a0a0b;
  }
  
  .btn-primary:hover {
	background: var(--accent-hover);
	color: #0a0a0b;
  }
  
  body.light-theme .btn-primary,
  body.light-theme .btn-primary:hover {
	color: #ffffff;
  }
  
  .btn-secondary {
	background: transparent;
	color: var(--text-primary);
	border: 1px solid var(--border-subtle);
  }
  
  .btn-secondary:hover {
	background: var(--accent-muted);
	border-color: var(--accent);
	color: var(--accent);
  }
  
  .btn-header {
	white-space: nowrap;
  }
  
  .btn-header-login {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	position: relative;
  }

  .btn-header-login-label {
	max-width: 9rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
  }
  
  body.logged-in a.btn-header-login,
  a.btn-header-login[aria-current="page"],
  a.btn-header-favorites[aria-current="page"] {
	border-color: var(--accent);
	background: var(--accent-muted);
	color: var(--accent);
  }

  .btn-header-favorites {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	padding-inline: 0.65rem;
  }
  
  .btn-icon {
	display: flex;
	flex-shrink: 0;
	line-height: 0;
  }
  
  .btn-icon iconify-icon {
	display: block;
  }
  
  .btn-outline-light {
	background: transparent;
	color: var(--promo-purple-text);
	border: 2px solid rgba(255, 255, 255, 0.5);
  }
  
  .btn-outline-light:hover {
	background: rgba(255, 255, 255, 0.12);
	color: var(--promo-purple-text);
  }
  
  .nav-burger {
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	background: transparent;
	border: none;
	cursor: pointer;
	color: var(--text-primary);
  }
  
  .nav-burger-icon {
	display: flex;
	pointer-events: none;
  }
  
  /* === Hero === */
  .hero {
	position: relative;
	min-height: 520px;
	display: flex;
	flex-direction: column;
	padding-bottom: 6rem;
  }
  
  .hero-bg {
	position: absolute;
	inset: 0;
	background:
	  var(--hero-overlay),
	  url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1920&q=85") center / cover no-repeat;
	z-index: 0;
  }
  
  .hero-overlay {
	display: none;
  }
  
  .hero-content {
	position: relative;
	z-index: 1;
	padding-top: 8rem;
	text-align: center;
  }
  
  .hero-title {
	margin: 0 0 1.25rem;
	font-size: clamp(2.625rem, 6vw, 4.125rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  }
  
  body.light-theme .hero-title {
	text-shadow: 0 1px 12px rgba(255, 255, 255, 0.8);
  }
  
  .hero-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.65rem 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
  }
  
  .hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.9rem 0.45rem 0.55rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.95);
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 999px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }
  
  .hero-badge:hover {
	background: rgba(255, 255, 255, 0.16);
	border-color: rgba(255, 255, 255, 0.35);
	transform: translateY(-1px);
  }
  
  .hero-badge-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: var(--accent);
	flex-shrink: 0;
  }
  
  .hero-badge-icon iconify-icon {
	color: inherit;
  }
  
  .hero-badge-text {
	padding-right: 0.15rem;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  }
  
  body.light-theme .hero-badge {
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.72);
	border-color: rgba(0, 0, 0, 0.08);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }
  
  body.light-theme .hero-badge:hover {
	background: rgba(255, 255, 255, 0.92);
	border-color: color-mix(in srgb, var(--accent) 28%, transparent);
  }
  
  body.light-theme .hero-badge-icon {
	background: var(--accent-muted);
	color: var(--accent);
  }
  
  body.light-theme .hero-badge-text {
	text-shadow: none;
  }
  
  .hero-search-wrap {
	position: relative;
	z-index: 2;
	margin-top: auto;
	transform: translateY(50%);
  }
  
  .search-panel {
	background: var(--bg-elevated);
	border-radius: var(--radius-lg);
	border: 1px solid var(--border-subtle);
	box-shadow: var(--shadow-card);
	padding: 1rem 1.25rem 1.25rem;
	max-width: 1000px;
	margin-inline: auto;
  }

  .search-panel--tabs-left {
	display: flex;
	align-items: center;
	padding: 0;
	overflow: hidden;
  }

  .search-panel--tabs-left .search-tabs {
	flex-direction: column;
	flex-shrink: 0;
	gap: 0.35rem;
	margin-bottom: 0;
	border-bottom: none;
	border-right: 1px solid var(--border-subtle);
	padding: 1rem 0.75rem;
	min-width: 8.5rem;
	background: var(--bg-card);
  }

  .search-panel--tabs-left .search-tab {
	width: 100%;
	justify-content: flex-start;
	padding-inline: 0.85rem;
  }

  .search-panel--tabs-left .search-panel__body {
	flex: 1;
	min-width: 0;
	padding: 1rem 1.25rem 1.25rem;
  }
  
  .search-tabs {
	display: flex;
	gap: 0.25rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--border-subtle);
	padding-bottom: 0.75rem;
  }
  
  .search-tab {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 1rem;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--text-secondary);
	background: transparent;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
  }

  .search-tab__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: inherit;
	opacity: 0.85;
  }

  .search-tab.is-active .search-tab__icon {
	opacity: 1;
  }

  .search-tab__text {
	line-height: 1.2;
  }
  
  .search-tab:hover {
	color: var(--text-primary);
	background: var(--accent-muted);
  }
  
  .search-tab.is-active {
	color: var(--accent);
	background: var(--accent-muted);
  }
  
  .search-form {
	--search-control-height: 2.75rem;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 1rem;
  }
  
  .search-fields-slot {
	flex: 1;
	min-width: 0;
  }

  .search-fields {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(11.5rem, 1.65fr) minmax(0, 1fr) minmax(0, 0.9fr);
	align-items: end;
	gap: 1rem;
	min-width: 0;
  }

  .search-fields[hidden] {
	display: none !important;
  }
  
  .search-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
  }

  .search-field--price {
	min-width: 11.5rem;
  }

  .search-form--mode-id .search-fields--id {
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
  }

  .search-field-label {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--text-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
  }
  
  .search-input {
	width: 100%;
	padding: 0.7rem 2.5rem 0.7rem 0.875rem;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--text-primary);
	background-color: var(--bg-input);
	background-image: var(--select-chevron);
	background-repeat: no-repeat;
	background-position: right 0.65rem center;
	background-size: 1.125rem 1.125rem;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
  }
  
  .search-input::-ms-expand {
	display: none;
  }
  
  .search-input:hover {
	border-color: color-mix(in srgb, var(--accent) 38%, var(--border-subtle));
  }
  
  .search-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-muted);
  }
  
  .search-input:disabled {
	opacity: 0.55;
	cursor: not-allowed;
  }
  
  .search-input option {
	background: var(--bg-elevated);
	color: var(--text-primary);
	padding: 0.5rem;
  }
  
  .search-form .search-input,
  .search-form .search-text-input {
	height: var(--search-control-height);
	padding-block: 0;
	line-height: 1;
	box-sizing: border-box;
  }

  .search-form .search-input {
	padding: 0 2.5rem 0 0.875rem;
  }

  .search-form .search-text-input {
	width: 100%;
	padding: 0 0.875rem;
	font-family: inherit;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--text-primary);
	background-color: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	cursor: text;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  }

  .search-form .search-text-input:hover {
	border-color: color-mix(in srgb, var(--accent) 38%, var(--border-subtle));
  }

  .search-form .search-text-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-muted);
  }

  .search-form .search-text-input:disabled {
	opacity: 0.55;
	cursor: not-allowed;
  }

  .search-form .search-text-input::placeholder {
	color: var(--text-muted);
  }

  .search-form .btn.btn-search {
	height: var(--search-control-height);
	min-height: var(--search-control-height);
	padding: 0 2rem;
	font-size: 0.8rem;
	line-height: 1;
	border-radius: var(--radius-md);
	flex-shrink: 0;
	align-self: flex-end;
	box-sizing: border-box;
  }
  
  /* === Sections === */
  .section {
	padding: 4rem 0;
  }
  
  .listings-section:first-of-type {
	padding-top: 8rem;
  }
  
  .section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
  }
  
  .section-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
  }
  
  .section-title-center {
	text-align: center;
	margin-bottom: 1.5rem;
  }
  
  .section-link {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--accent);
  }
  
  .section-link:hover {
	text-decoration: underline;
  }
  
  /* === Swiper / property cards === */
  .property-swiper {
	position: relative;
	padding: 0 2.5rem;
	overflow: hidden;
  }
  
  .property-swiper .swiper-slide {
	height: auto;
  }
  
  .property-card {
	background: var(--bg-card);
	border-radius: var(--radius-md);
	border: 1px solid var(--border-subtle);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: border-color 0.2s, transform 0.2s;
  }
  
  .property-card:hover {
	border-color: rgba(45, 212, 191, 0.35);
	transform: translateY(-2px);
  }
  
  body.light-theme .property-card:hover {
	border-color: rgba(13, 148, 136, 0.35);
  }
  
  .property-card-image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
  }
  
  .property-card-image .property-card-slider {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
  }
  
  .property-card-slider .swiper-slide {
	height: 100%;
  }

  .property-card-slider__slide--more {
	position: relative;
  }

  .property-card-slider__more-overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.48);
	backdrop-filter: blur(1px);
	-webkit-backdrop-filter: blur(1px);
	pointer-events: none;
  }

  .property-card-slider__more-label {
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
	white-space: nowrap;
  }

  body.light-theme .property-card-slider__more-overlay {
	background: rgba(255, 255, 255, 0.55);
  }

  body.light-theme .property-card-slider__more-label {
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
  }
  
  .property-card-image img,
  .property-card-slider .swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
  }
  
  .property-card-slider__pagination-bar {
	position: absolute;
	bottom: 0.5rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 3;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
	pointer-events: auto;
  }
  
  body.light-theme .property-card-slider__pagination-bar {
	background: rgba(255, 255, 255, 0.6);
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }
  
  .property-card-slider__pagination-bar .property-card-slider__pagination.swiper-pagination {
	position: relative;
	bottom: auto;
	left: auto;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0;
	width: auto;
  }
  
  .property-card-slider .swiper-pagination-bullet {
	width: 5px;
	height: 5px;
	margin: 0 2px !important;
	background: rgba(255, 255, 255, 0.55);
	opacity: 1;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  }
  
  body.light-theme .property-card-slider .swiper-pagination-bullet {
	background: rgba(0, 0, 0, 0.22);
	box-shadow: none;
  }
  
  .property-card-slider .swiper-pagination-bullet-active {
	background: var(--accent)!important;
	transform: scale(1.2);
  }
  
  .btn-favorite {
	line-height: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, transform 0.15s, color 0.2s, border-color 0.2s;
  }

  .property-card-image .btn-favorite,
  .catalog-card-media .btn-favorite {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	z-index: 4;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
  }
  
  .property-card-image .btn-favorite iconify-icon,
  .catalog-card-media .btn-favorite iconify-icon {
	color: #fff;
  }
  
  .property-card-image .btn-favorite.is-favorite,
  .catalog-card-media .btn-favorite.is-favorite {
	background: rgba(244, 63, 94, 0.22);
  }

  .property-card-image .btn-favorite.is-favorite iconify-icon,
  .catalog-card-media .btn-favorite.is-favorite iconify-icon {
	color: #f43f5e;
  }
  
  .property-card-image .btn-favorite:hover,
  .catalog-card-media .btn-favorite:hover {
	background: var(--accent);
	color: #0a0a0b;
  }
  
  .property-card-image .btn-favorite:hover iconify-icon,
  .catalog-card-media .btn-favorite:hover iconify-icon {
	color: #0a0a0b;
  }
  
  .property-card-image .btn-favorite.is-favorite:hover iconify-icon,
  .catalog-card-media .btn-favorite.is-favorite:hover iconify-icon {
	color: #be123c;
  }
  
  .property-card-body {
	padding: 1rem 1.1rem 1.15rem;
	flex: 1;
	display: flex;
	flex-direction: column;
  }
  
  .property-card-title {
	margin: 0 0 0.25rem;
	font-size: 1rem;
	font-weight: 600;
  }
  
  .property-card-title a {
	color: inherit;
	text-decoration: none;
  }
  
  .property-card-title a:hover {
	color: var(--accent);
  }
  
  .property-card-location {
	margin: 0 0 0.5rem;
	font-size: 0.85rem;
	color: var(--text-secondary);
  }
  
  .property-card-price {
	margin: 0 0 0.75rem;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--accent);
  }
  
  .property-card-price .price-display-single > span,
  .property-card-price .price-display-current > span {
	font-weight: 500;
	font-size: 0.85rem;
	color: var(--text-muted);
  }

  .property-card-price .price-display-old,
  .property-card-price .price-display-old > span {
	font-weight: 500;
	font-size: 0.85rem;
	color: var(--price-old-color);
  }

  .property-card-price .price-display-current {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--accent);
  }
  
  .property-card-specs {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	font-size: 0.8rem;
	color: var(--text-secondary);
	margin-top: auto;
  }
  
  .property-card-specs li{
	display: flex;
	align-items: center;
	gap: 0.2rem;
  }
  
  .spec-icon {
	display: inline-flex;
	align-items: center;
	margin-right: 0.35rem;
	opacity: 0.85;
	vertical-align: middle;
	color: var(--text-muted);
  }
  
  .property-swiper .swiper-button-prev,
  .property-swiper .swiper-button-next {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--bg-elevated);
	border: 1px solid var(--border-subtle);
	color: var(--accent);
	top: 50%;
	margin-top: -20px;
	transition: background 0.2s, color 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
  }
  
  .property-swiper .swiper-button-prev::after,
  .property-swiper .swiper-button-next::after {
	display: none;
  }
  
  .property-swiper .swiper-button-prev:hover,
  .property-swiper .swiper-button-next:hover {
	background: var(--accent-muted);
  }
  
  .property-swiper .swiper-button-disabled {
	opacity: 0.35;
  }
  
  /* === Categories === */
  .categories-section {
	background: var(--bg-elevated);
	border-block: 1px solid var(--border-subtle);
  }
  
  .category-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 1rem;
	max-width: 900px;
	margin-inline: auto;
  }
  
  .category-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	padding: 1.25rem 0.5rem;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	text-align: center;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-secondary);
	transition: border-color 0.2s, color 0.2s, transform 0.15s;
  }
  
  .category-item:hover {
	border-color: var(--accent);
	color: var(--text-primary);
	transform: translateY(-2px);
  }
  
  .category-item:hover .category-icon {
	color: var(--text-primary);
  }
  
  .category-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	color: var(--accent);
  }
  
  /* === Promo blocks === */
  .promo-section .container {
	display: flex;
	flex-direction: column;
	gap: 2rem;
  }
  
  .promo-block {
	display: grid;
	grid-template-columns: 1fr 1fr;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border-subtle);
	min-height: 280px;
  }
  
  .promo-block-reverse .promo-image {
	order: 2;
  }
  
  .promo-block-reverse .promo-content {
	order: 1;
  }
  
  .promo-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	height: 300px;
  }
  
  .promo-content {
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
  }
  
  .promo-content-accent {
	background: var(--promo-purple);
	color: var(--promo-purple-text);
  }
  
  .promo-content-accent .promo-title,
  .promo-content-accent .promo-text {
	color: inherit;
  }
  
  .promo-content-muted {
	background: var(--bg-card);
  }
  
  .promo-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
  }
  
  .promo-text {
	margin: 0;
	font-size: 0.95rem;
	opacity: 0.92;
	max-width: 36ch;
  }
  
  .promo-content-muted .promo-text {
	color: var(--text-secondary);
	opacity: 1;
  }
  
  /* === Cities === */
  .cities-section-title {
	margin-bottom: 2.25rem;
  }
  
  .cities-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0.85rem 1.5rem;
	align-items: start;
  }
  
  .cities-grid.is-collapsed .city-item.is-extra {
	display: none;
  }
  
  .city-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--text-secondary);
	text-decoration: none;
  }
  
  .city-item__icon {
	display: inline-flex;
	flex-shrink: 0;
	color: var(--text-secondary);
	opacity: 0.85;
  }
  
  .city-item__icon iconify-icon {
	display: block;
  }
  
  .city-item__text {
	padding-bottom: 0.1rem;
	border-bottom: 1px solid var(--border-subtle);
	line-height: 1.2;
  }
  
  .city-item:hover {
	color: var(--accent);
  }
  
  .city-item:hover .city-item__icon {
	color: var(--accent);
	opacity: 1;
  }
  
  .city-item:hover .city-item__text {
	border-bottom-color: var(--accent);
  }
  
  .cities-actions {
	display: flex;
	justify-content: center;
	margin-top: 1.5rem;
  }
  
  .cities-toggle {
	min-width: 9rem;
  }
  
  /* === Footer === */
  .site-footer {
	background: var(--bg-elevated);
	border-top: 1px solid var(--border-subtle);
	margin-top: 2rem;
  }
  
  .footer-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 2rem;
	padding: 3rem 0 2rem;
  }
  
  .footer-heading {
	margin: 0 0 1rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-muted);
  }
  
  .footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
  }
  
  .footer-links li {
	margin-bottom: 0.5rem;
  }
  
  .footer-links a {
	font-size: 0.9rem;
	color: var(--text-secondary);
  }
  
  .footer-bar {
	border-top: 1px solid var(--border-subtle);
	padding: 1.25rem 0;
  }
  
  .footer-bar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
  }
  
  .footer-select {
	min-width: 8.5rem;
	padding: 0.5rem 2.35rem 0.5rem 0.75rem;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--text-primary);
	background-color: var(--bg-input);
	background-image: var(--select-chevron);
	background-repeat: no-repeat;
	background-position: right 0.55rem center;
	background-size: 1rem 1rem;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
  }
  
  .footer-select::-ms-expand {
	display: none;
  }
  
  .footer-select:hover {
	border-color: color-mix(in srgb, var(--accent) 38%, var(--border-subtle));
  }
  
  .footer-select:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-muted);
  }
  
  .footer-select option {
	background: var(--bg-elevated);
	color: var(--text-primary);
  }
  
  .footer-social {
	display: flex;
	gap: 1rem;
  }
  
  .footer-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-secondary);
	transition: color 0.2s;
  }
  
  .footer-social-link:hover {
	color: var(--accent);
  }
  
  .footer-copy {
	margin: 0;
	font-size: 0.8rem;
	color: var(--text-muted);
  }
  
  /* === Responsive === */
  @media (max-width: 1024px) {
	.search-fields {
	  grid-template-columns: repeat(2, 1fr);
	}
  
	.category-grid {
	  grid-template-columns: repeat(3, 1fr);
	}
  
	.cities-grid {
	  grid-template-columns: repeat(4, 1fr);
	}
  
	.footer-grid {
	  grid-template-columns: repeat(2, 1fr);
	}
  
	.promo-block,
	.promo-block-reverse {
	  grid-template-columns: 1fr;
	}
  
	.promo-block-reverse .promo-image,
	.promo-block-reverse .promo-content {
	  order: unset;
	}
  }
  
  @media (max-width: 768px) {
	.nav-main {
	  position: fixed;
	  top: 3.25rem;
	  left: 0;
	  right: 0;
	  z-index: 99;
	  flex: none;
	  flex-direction: column;
	  align-items: stretch;
	  max-height: calc(100dvh - 3.25rem);
	  overflow-y: auto;
	  overscroll-behavior: contain;
	  padding: 0.5rem 1rem 1rem;
	  gap: 0;
	  background: var(--bg-elevated);
	  border-bottom: 1px solid var(--border-subtle);
	  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
	  transform: translateY(-0.5rem);
	  opacity: 0;
	  visibility: hidden;
	  pointer-events: none;
	  transition: transform 0.22s ease, opacity 0.2s ease, visibility 0.2s;
	  justify-content: flex-start;
	  -webkit-overflow-scrolling: touch;
	}

	.nav-main-list {
	  flex-direction: column;
	  align-items: stretch;
	  gap: 0.35rem;
	  width: 100%;
	}

	.nav-main-list > li {
	  width: 100%;
	}
  
	.nav-main.is-open {
	  transform: translateY(0);
	  opacity: 1;
	  visibility: visible;
	  pointer-events: auto;
	}
  
	.nav-main a {
	  display: flex;
	  align-items: center;
	  min-height: 3rem;
	  padding: 0.75rem 1rem;
	  font-size: 1rem;
	  font-weight: 500;
	  color: var(--text-primary);
	  border-radius: var(--radius-sm);
	  border-bottom: 0;
	}

	.nav-main a:hover,
	.nav-main a:focus-visible {
	  background: var(--accent-muted);
	  color: var(--accent);
	}

	.nav-main a[aria-current="page"],
	.nav-main a.is-active {
	  background: var(--accent-muted);
	  color: var(--accent);
	  font-weight: 600;
	}

	body.nav-menu-open {
	  overflow: hidden;
	}

	body.nav-menu-open::before {
	  content: "";
	  position: fixed;
	  inset: 0;
	  z-index: 98;
	  background: rgba(10, 10, 12, 0.55);
	}

	body.light-theme.nav-menu-open::before {
	  background: rgba(24, 24, 27, 0.35);
	}

	body.admin-bar .nav-main {
	  top: calc(3.25rem + 32px);
	  max-height: calc(100dvh - 3.25rem - 32px);
	}

	@media (max-width: 782px) {
	  body.admin-bar .nav-main {
		top: calc(3.25rem + 46px);
		max-height: calc(100dvh - 3.25rem - 46px);
	  }
	}
  
	.btn-header-cta {
	  display: none;
	}
  
	.nav-burger {
	  display: flex;
	}
  
	.header-actions {
	  gap: 0.5rem;
	}

	.header-inner {
	  padding: 0.6rem 0;
	  gap: 0.5rem;
	}

	.logo {
	  font-size: 1.05rem;
	  flex: 1 1 auto;
	  min-width: 0;
	  overflow: hidden;
	  text-overflow: ellipsis;
	  white-space: nowrap;
	}

	.btn-header-login-label {
	  display: none;
	}

	.btn-header-login,
	.btn-header-favorites {
	  min-width: 2.35rem;
	  padding-inline: 0.5rem;
	}

	.btn-header {
	  padding: 0.45rem 0.55rem;
	  font-size: 0.82rem;
	}
  
	.hero {
	  min-height: 460px;
	  padding-bottom: 5rem;
	}
  
	.hero-content {
	  padding-top: 5.5rem;
	}
  
	.hero-badges {
	  gap: 0.5rem;
	}
  
	.hero-badge {
	  font-size: 0.8125rem;
	  padding: 0.4rem 0.75rem 0.4rem 0.45rem;
	}
  
	.hero-badge-icon {
	  width: 1.75rem;
	  height: 1.75rem;
	}
  
	.hero-search-wrap {
	  transform: translateY(40%);
	}

	.search-panel--tabs-left {
	  flex-direction: column;
	}

	.search-panel--tabs-left .search-tabs {
	  flex-direction: row;
	  border-right: none;
	  border-bottom: 1px solid var(--border-subtle);
	  min-width: 0;
	  padding: 0.75rem 0.65rem 0.65rem;
	}

	.search-panel--tabs-left .search-tab {
	  width: auto;
	  flex: 1;
	  text-align: center;
	}
  
	.search-form {
	  flex-direction: column;
	}
  
	.search-fields {
	  grid-template-columns: 1fr;
	}
  
	.btn-search {
	  width: 100%;
	}
  
	.property-swiper {
	  padding: 0 2rem;
	}
  
	.listings-section:first-of-type {
	  padding-top: 10rem;
	}
  }
  
  @media (max-width: 480px) {
	.category-grid {
	  grid-template-columns: repeat(2, 1fr);
	}
  
	.cities-grid {
	  grid-template-columns: repeat(2, 1fr);
	}
  }
  
  /* === Apartment / listing detail page === */
  :root {
	--listing-mortgage-bg: rgba(14, 165, 233, 0.12);
	--listing-mortgage-bg-solid: #0c4a6e;
	--listing-mortgage-cta: #0284c7;
	--listing-mortgage-cta-hover: #0369a1;
  }
  
  body.light-theme {
	--listing-mortgage-bg: #e0f2fe;
	--listing-mortgage-bg-solid: #e0f2fe;
	--listing-mortgage-cta: #0284c7;
	--listing-mortgage-cta-hover: #0369a1;
  }
  
  .listing-page {
	padding-bottom: 5rem;
  }
  
  .listing-main {
	background: var(--bg-page);
	padding-top: 0.5rem;
	padding-bottom: 2rem;
  }
  
  .listing-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-bottom: 1.25rem;
  }
  
  .listing-breadcrumbs a {
	color: var(--text-secondary);
  }
  
  .listing-bc-sep {
	opacity: 0.55;
	user-select: none;
  }
  
  .listing-bc-current {
	color: var(--text-primary);
	font-weight: 500;
  }
  
  .listing-hero {
	display: grid;
	grid-template-columns: 1fr minmax(260px, 340px);
	gap: 1.75rem;
	align-items: start;
	margin-bottom: 2rem;
  }
  
  .listing-gallery {
	display: flex;
	gap: 0.75rem;
	min-width: 0;
  }
  
  .listing-thumbs {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex-shrink: 0;
  }
  
  .listing-thumb {
	padding: 0;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	overflow: hidden;
	cursor: pointer;
	background: var(--bg-card);
	line-height: 0;
	transition: border-color 0.2s, opacity 0.2s;
  }
  
  .listing-thumb img {
	width: 72px;
	height: 72px;
	object-fit: cover;
	display: block;
  }
  
  .listing-thumb:hover,
  .listing-thumb:focus-visible {
	border-color: color-mix(in srgb, var(--accent) 45%, transparent);
	outline: none;
  }
  
  .listing-thumb.is-active {
	border-color: var(--accent);
  }
  
  .listing-main-photo {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--border-subtle);
	background: var(--bg-card);
	flex: 1;
	min-width: 0;
	min-height: 280px;
  }
  
  .listing-main-photo img {
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	display: block;
  }
  
  .listing-photo-actions {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	gap: 0.35rem;
  }
  
  .listing-icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.92);
	color: var(--text-primary);
	cursor: pointer;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
	transition: color 0.2s, transform 0.15s;
  }

  .listing-icon-btn--pdf {
	width: auto;
	height: 40px;
	padding: 0 0.85rem;
	gap: 0.4rem;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1;
	flex-shrink: 0;
	position: relative;
  }

  a.listing-icon-btn {
	text-decoration: none;
  }
  
  body:not(.light-theme) .listing-icon-btn {
	background: rgba(28, 28, 32, 0.92);
	color: var(--text-primary);
  }
  
  .listing-photo-actions .listing-icon-btn:hover {
	background: rgba(255, 255, 255, 0.92);
  }

  .listing-photo-actions .listing-icon-btn:hover iconify-icon {
	color: var(--accent);
  }

  body:not(.light-theme) .listing-photo-actions .listing-icon-btn:hover {
	background: rgba(28, 28, 32, 0.92);
  }

  /* PhotoSwipe — thumbnail strip */
  .pswp.pswp--has-rent140-thumbs .pswp-rent140-thumbs {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.5rem;
	padding: 2.5rem 1rem 1.1rem;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: thin;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.78) 0%,
		rgba(0, 0, 0, 0.42) 55%,
		transparent 100%
	);
  }

  .pswp-rent140-thumb {
	flex: 0 0 auto;
	width: 72px;
	height: 72px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.12);
	line-height: 0;
	transition: border-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
  }

  .pswp-rent140-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
  }

  .pswp-rent140-thumb:hover,
  .pswp-rent140-thumb:focus-visible {
	border-color: rgba(255, 255, 255, 0.75);
	outline: none;
	transform: translateY(-2px);
  }

  .pswp-rent140-thumb.is-active {
	border-color: var(--accent, #2dd4bf);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
  }

  .listing-share {
	position: relative;
	flex-shrink: 0;
  }

  .listing-share-menu {
	position: absolute;
	top: calc(100% + 0.35rem);
	right: 0;
	z-index: 5;
	min-width: 10.5rem;
	padding: 0.35rem;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
	border: 1px solid var(--border-subtle, rgba(0, 0, 0, 0.08));
  }

  body:not(.light-theme) .listing-share-menu {
	background: rgba(28, 28, 32, 0.98);
	border-color: rgba(255, 255, 255, 0.1);
  }

  .listing-share-menu[hidden] {
	display: none;
  }

  .listing-share-menu__item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.5rem 0.65rem;
	border: 0;
	border-radius: calc(var(--radius-sm) - 2px);
	background: transparent;
	color: var(--text-primary);
	font: inherit;
	font-size: 0.82rem;
	font-weight: 500;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s;
  }

  .listing-share-menu__item:hover {
	color: var(--accent);
  }

  .listing-share-menu__item:hover iconify-icon {
	color: var(--accent);
  }

  .listing-share-toast {
	position: fixed;
	left: 50%;
	bottom: 1.25rem;
	z-index: 10050;
	transform: translateX(-50%);
	margin: 0;
	padding: 0.65rem 1rem;
	border-radius: 999px;
	background: rgba(20, 20, 24, 0.92);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 500;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
	pointer-events: none;
  }

  .listing-share-toast[hidden] {
	display: none;
  }

  .pswp .pswp__img,
  .pswp--click-to-zoom.pswp--zoom-allowed .pswp__img,
  .pswp--click-to-zoom.pswp--zoomed-in .pswp__img,
  .pswp--click-to-zoom.pswp--zoomed-in .pswp__img:active,
  .pswp--no-mouse-drag.pswp--zoomed-in .pswp__img,
  .pswp--no-mouse-drag.pswp--zoomed-in .pswp__img:active {
	cursor: default;
  }
  
  .listing-sidebar {
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	padding: 1.25rem 1.35rem;
	box-shadow: var(--shadow-card);
	position: sticky;
	top: 5rem;
	isolation: isolate;
  }

  .listing-sidebar .listing-price,
  .listing-sidebar .listing-title {
	padding-right: 5.5rem;
  }

  .listing-price {
	margin: 0 0 0.75rem;
  }

  .listing-price.price-display--with-m2 {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.25rem;
  }

  .listing-price .price-display-single {
	display: block;
	font-size: clamp(1.65rem, 4vw, 2rem);
	font-weight: 700;
	color: var(--accent);
	letter-spacing: -0.02em;
  }

  .listing-price .price-display-main {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.45rem;
  }

  .listing-price .price-display-old {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--price-old-color);
	text-decoration: line-through;
  }

  .listing-price .price-display-old span {
	font-size: 0.72rem;
	color: var(--price-old-color);
  }

  .listing-price .price-display-current {
	font-size: clamp(1.65rem, 4vw, 2rem);
	font-weight: 700;
	color: var(--accent);
	letter-spacing: -0.02em;
  }

  .listing-price .price-display-current span {
	font-size: 0.55em;
	font-weight: 500;
	color: var(--text-muted);
  }
  
  .listing-price-value {
	display: block;
	font-size: clamp(1.65rem, 4vw, 2rem);
	font-weight: 700;
	color: var(--accent);
	letter-spacing: -0.02em;
  }
  
  .listing-price-per-m2 {
	display: block;
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-top: 0.25rem;
  }
  
  .listing-title {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.02em;
  }
  
  .listing-address {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
  }
  
  .listing-address a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
  }
  
  .listing-cta-row {
	display: flex;
	margin-bottom: 1.25rem;
  }

  .listing-sidebar .listing-sidebar-actions {
	align-items: flex-end;
	gap: 0.75rem;
  }

  .listing-sidebar-action {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
  }

  .listing-sidebar-action--message {
	flex: 1;
	align-items: stretch;
  }

  .listing-sidebar-action--favorite {
	flex-shrink: 0;
	align-items: center;
  }

  .listing-sidebar-action .listing-engagement-views,
  .listing-sidebar-action .listing-engagement-favs {
	font-size: 0.78rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--text-muted);
	white-space: nowrap;
  }

  .listing-sidebar-action--message .listing-engagement-views {
	text-align: left;
  }

  .listing-sidebar-action--favorite .listing-engagement-favs {
	text-align: center;
	min-width: 3rem;
  }
  
  .listing-btn-write {
	flex: 1;
	width: 100%;
	padding: 0.65rem 1rem;
	min-height: 48px;
  }

  .listing-sidebar .listing-sidebar-actions .listing-btn-heart.btn-favorite {
	position: static;
	top: auto;
	right: auto;
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	padding-inline: 0;
	border-radius: var(--radius-md);
	background: var(--bg-elevated);
	border: 1px solid var(--border-subtle);
	color: var(--text-primary);
  }

  .listing-sidebar .listing-sidebar-actions .listing-btn-heart.btn-favorite iconify-icon {
	color: var(--text-primary);
  }

  .listing-sidebar .listing-sidebar-actions .listing-btn-heart.btn-favorite.is-favorite {
	background: color-mix(in srgb, #f43f5e 12%, var(--bg-elevated));
	border-color: color-mix(in srgb, #f43f5e 35%, var(--border-subtle));
  }

  .listing-sidebar .listing-sidebar-actions .listing-btn-heart.btn-favorite.is-favorite iconify-icon {
	color: #f43f5e;
  }

  .listing-sidebar .listing-sidebar-actions .listing-btn-heart.btn-favorite:hover {
	background: var(--accent-muted);
	border-color: color-mix(in srgb, var(--accent) 35%, var(--border-subtle));
	color: var(--text-primary);
  }

  .listing-sidebar .listing-sidebar-actions .listing-btn-heart.btn-favorite.is-favorite:hover iconify-icon {
	color: #be123c;
  }
  
  .listing-agent {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.5rem 0.75rem;
	align-items: center;
	padding-top: 1rem;
	border-top: 1px solid var(--border-subtle);
  }
  
  .listing-agent-photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--border-subtle);
  }

  .listing-agent-photo--logo {
	border-radius: var(--radius-md);
	object-fit: contain;
	background: var(--bg-input);
	padding: 0.35rem;
	box-sizing: border-box;
  }

  .listing-agent-photo--placeholder {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-sizing: border-box;
	background: var(--bg-input);
	color: var(--text-muted);
	object-fit: unset;
  }
  
  .listing-agent-name {
	margin: 0;
	font-weight: 600;
	font-size: 0.95rem;
  }

  .listing-agent-name a {
	color: inherit;
	text-decoration: none;
  }

  .listing-agent-name a:hover {
	color: var(--accent);
	text-decoration: underline;
  }
  
  .listing-agent-links {
	margin: 0.2rem 0 0;
	font-size: 0.8rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.2rem 0.35rem;
  }

  .listing-agent-links a {
	color: var(--accent);
	font-weight: 600;
	text-decoration: none;
  }

  .listing-agent-links a:hover {
	text-decoration: underline;
  }

  .listing-agent-links-sep {
	color: var(--text-muted);
  }

  .listing-agent-call,
  .listing-show-phone-btn.listing-agent-call,
  .listing-agent .listing-phone-revealed,
  .listing-show-phone-wrap--agent {
	grid-column: 1 / -1;
	justify-self: start;
	margin-top: 0.15rem;
  }

  .listing-show-phone-wrap {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.65rem;
  }

  .listing-show-phone-btn,
  .listing-phone-revealed {
	border: 1.5px dashed color-mix(in srgb, var(--accent) 32%, var(--border-subtle));
  }

  .listing-show-phone-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
  }

  .listing-show-phone-btn--has-count {
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.1rem;
	white-space: normal;
	text-align: center;
	box-sizing: border-box;
	min-height: 48px;
	height: 48px;
	padding: 0.3rem 1rem;
  }

  .listing-show-phone-btn__inner {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	line-height: 1.1;
  }

  .listing-show-phone-btn:hover,
  a.listing-phone-revealed:hover {
	border-color: var(--accent);
  }

  .listing-show-phone-btn__icon {
	flex-shrink: 0;
	line-height: 0;
  }

  .listing-show-phone-count {
	font-size: 0.62rem;
	font-weight: 500;
	line-height: 1.1;
	color: var(--text-muted);
	white-space: nowrap;
  }

  .listing-show-phone-wrap > .listing-phone-revealed {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	height: 48px;
	padding: 0.3rem 1rem;
	line-height: 1.2;
  }

  .listing-agent-call,
  .listing-show-phone-btn.listing-agent-call:not(.listing-show-phone-btn--has-count) {
	padding: 0.5rem 0.9rem;
	font-size: 0.85rem;
	white-space: nowrap;
  }

  .listing-show-phone-btn.listing-agent-call.listing-show-phone-btn--has-count,
  .listing-show-phone-wrap > .listing-phone-revealed.listing-agent-call {
	font-size: 0.85rem;
  }

  .listing-phone-revealed {
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
  }

  a.listing-phone-revealed:hover {
	color: inherit;
	opacity: 0.88;
  }

  .listing-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
	gap: 1rem;
	padding: 1.25rem 1rem;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	margin-bottom: 2rem;
  }
  
  .listing-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.35rem;
  }
  
  .listing-stat-icon {
	color: var(--accent);
	display: flex;
  }
  
  .listing-stat-label {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-muted);
  }
  
  .listing-stat-value {
	font-weight: 600;
	font-size: 0.95rem;
  }
  
  .listing-specs-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem 2.5rem;
	margin-bottom: 1.5rem;
  }
  
  .listing-spec-heading {
	margin: 0 0 1rem;
	font-size: 1.05rem;
	font-weight: 700;
  }
  
  .listing-dl {
	margin: 0;
  }
  
  .listing-dl-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1rem;
	padding: 0.55rem 0;
	border-bottom: 1px solid var(--border-subtle);
	font-size: 0.9rem;
  }
  
  .listing-dl-row dt {
	margin: 0;
	color: var(--text-secondary);
	font-weight: 500;
  }
  
  .listing-dl-row dd {
	margin: 0;
	text-align: right;
	font-weight: 500;
  }
  
  .listing-media-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2rem;
  }
  
  .listing-media-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 1.1rem;
	font-weight: 600;
	font-size: 0.9rem;
	border-radius: var(--radius-sm);
	border: 2px solid var(--accent);
	background: transparent;
	color: var(--accent);
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
  }
  
  .listing-media-btn:hover {
	background: var(--accent-muted);
	color: var(--accent);
  }
  
  .listing-mortgage {
	background: var(--listing-mortgage-bg);
	border: 1px solid color-mix(in srgb, var(--accent) 15%, var(--border-subtle));
	border-radius: var(--radius-lg);
	padding: 1.5rem 1.5rem 1.65rem;
	margin-bottom: 2rem;
  }
  
  .listing-mortgage-title {
	margin: 0 0 1.25rem;
	font-size: 1.2rem;
	font-weight: 700;
  }
  
  .listing-mortgage-form {
	display: grid;
	grid-template-columns: repeat(3, 1fr) auto;
	gap: 1rem;
	align-items: end;
  }
  
  .listing-mortgage-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	min-width: 0;
  }
  
  .listing-mortgage-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.03em;
  }
  
  .listing-mortgage-input {
	width: 100%;
	padding: 0.65rem 0.85rem;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text-primary);
	background: var(--bg-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	transition: border-color 0.2s, box-shadow 0.2s;
  }
  
  .listing-mortgage-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-muted);
  }
  
  .listing-mortgage-submit {
	padding: 0.65rem 1.35rem;
	background: var(--listing-mortgage-cta);
	color: #fff;
	border: none;
	font-weight: 600;
	white-space: nowrap;
  }
  
  .listing-mortgage-submit:hover {
	background: var(--listing-mortgage-cta-hover);
	color: #fff;
  }
  
  .listing-description {
	margin-bottom: 2rem;
  }
  
  .listing-desc-heading {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	font-weight: 700;
  }
  
  .listing-desc-text {
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.65;
  }
  
  .listing-desc-text p {
	margin: 0 0 1rem;
  }
  
  .listing-desc-text p:last-child {
	margin-bottom: 0;
  }
  
  .listing-map-section {
	margin-bottom: 2.5rem;
  }
  
  .listing-map-heading {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	font-weight: 700;
  }
  
  .listing-map-wrap {
	border-radius: var(--radius-md);
	overflow: hidden;
	border: 1px solid var(--border-subtle);
	min-height: 360px;
	background: var(--bg-input);
  }
  
  .listing-map-frame {
	width: 100%;
	height: 380px;
	border: 0;
	display: block;
  }
  
  .listing-similar {
	padding-top: 0.5rem;
  }
  
  .listing-similar-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
  }
  
  .listing-similar-card .property-card-title a {
	color: inherit;
  }
  
  .listing-similar-card .property-card-title a:hover {
	color: var(--accent);
  }
  
  .listing-sticky-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 200;
	background: var(--bg-elevated);
	border-top: 1px solid var(--border-subtle);
	box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);
	padding: 0.65rem 0;
	transform: translateY(100%);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s;
  }

  .listing-sticky-bar.is-visible {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
  }
  
  body:not(.light-theme) .listing-sticky-bar {
	box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
  }
  
  .listing-sticky-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	max-width: var(--container);
	margin-inline: auto;
  }
  
  .listing-sticky-price {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--accent);
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
  }

  .listing-sticky-price-value .price-display-main {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.4rem;
  }

  .listing-sticky-price-value .price-display-old {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--price-old-color);
	text-decoration: line-through;
  }

  .listing-sticky-price-value .price-display-old span {
	color: var(--price-old-color);
  }

  .listing-sticky-price-value .price-display-current {
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--accent);
  }
  
  .listing-sticky-label {
	display: block;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-muted);
  }
  
  .listing-sticky-actions {
	display: flex;
	gap: 0.75rem;
	flex: 1;
	justify-content: flex-end;
	min-width: 0;
	margin-bottom: 0;
  }

  .listing-sticky-actions.listing-sidebar-actions {
	align-items: flex-end;
  }

  .listing-sticky-actions .listing-sidebar-action--message {
	flex: 1;
	min-width: 0;
	max-width: 20rem;
  }

  .listing-sticky-actions .listing-sidebar-action--phone {
	flex-shrink: 0;
  }

  .listing-sticky-bar .listing-show-phone-wrap--agent,
  .listing-sticky-bar .listing-show-phone-btn.listing-agent-call,
  .listing-sticky-bar .listing-agent-call,
  .listing-sticky-bar .listing-phone-revealed.listing-agent-call {
	margin-top: 0;
	grid-column: auto;
	justify-self: auto;
  }
  
  .listing-sticky-msg {
	min-width: 0;
	width: 100%;
  }
  
  .listing-sticky-call {
	min-width: 0;
  }
  
  @media (max-width: 1100px) {
	.listing-similar-grid {
	  grid-template-columns: repeat(3, 1fr);
	}
  
	.listing-mortgage-form {
	  grid-template-columns: 1fr 1fr;
	}
  
	.listing-mortgage-submit {
	  grid-column: 1 / -1;
	}
  }
  
  @media (max-width: 900px) {
	.listing-hero {
	  grid-template-columns: 1fr;
	}
  
	.listing-sidebar {
	  position: static;
	}
  
	.listing-stats {
	  grid-template-columns: repeat(3, 1fr);
	}
  
	.listing-mortgage-form {
	  grid-template-columns: 1fr;
	}
  }
  
  @media (max-width: 640px) {
	.listing-gallery {
	  flex-direction: column-reverse;
	}
  
	.listing-thumbs {
	  flex-direction: row;
	  flex-wrap: wrap;
	}
  
	.listing-thumb img {
	  width: 64px;
	  height: 64px;
	}
  
	.listing-stats {
	  grid-template-columns: repeat(2, 1fr);
	}
  
	.listing-specs-grid {
	  grid-template-columns: 1fr;
	}
  
	.listing-similar-grid {
	  grid-template-columns: repeat(2, 1fr);
	}
  
	.listing-sticky-inner {
	  flex-direction: column;
	  align-items: stretch;
	}
  
	.listing-sticky-actions {
	  width: 100%;
	}

	.listing-sticky-actions .listing-sidebar-action--message {
	  max-width: none;
	}

	.listing-sticky-actions .listing-btn-write,
	.listing-sticky-actions .listing-show-phone-btn,
	.listing-sticky-actions .listing-phone-revealed {
	  width: 100%;
	}

	.listing-photo-actions {
	  top: 0.5rem;
	  right: 0.5rem;
	  gap: 0.25rem;
	  max-width: calc(100% - 1rem);
	}

	.listing-photo-actions .listing-icon-btn {
	  width: 36px;
	  height: 36px;
	}

	.listing-icon-btn--pdf {
	  width: 36px;
	  height: 36px;
	  padding: 0;
	  gap: 0;
	}

	.listing-icon-btn--pdf span {
	  position: absolute;
	  width: 1px;
	  height: 1px;
	  padding: 0;
	  margin: -1px;
	  overflow: hidden;
	  clip: rect(0, 0, 0, 0);
	  white-space: nowrap;
	  border: 0;
	}

	.listing-share-menu {
	  min-width: 9.25rem;
	  max-width: min(12rem, calc(100vw - 2rem));
	}
  }

  @media (max-width: 400px) {
	.header-actions {
	  gap: 0.25rem;
	}

	.btn-header {
	  padding: 0.4rem 0.45rem;
	}
  }
  
  /* === Catalog page (list + Leaflet map) === */
  .catalog-page .catalog-main {
	padding-bottom: 3rem;
  }
  
  .catalog-filters-top .catalog-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem 1rem;
  }

  .catalog-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.75rem 1rem;
  }
  
  .catalog-filter-field {
	flex: 0 1 auto;
	min-width: 0;
  }
  
  .catalog-filter-field--grow {
	flex: 1 1 180px;
	min-width: 160px;
  }
  
  .catalog-filter-field--narrow {
	flex: 0 1 120px;
	min-width: 100px;
  }
  
  .catalog-filter-text.search-input {
	background-image: none;
	padding: 0.7rem 0.875rem;
	cursor: text;
	appearance: textfield;
	-webkit-appearance: textfield;
  }
  
  .catalog-filter-text.search-input::-webkit-search-decoration,
  .catalog-filter-text.search-input::-webkit-search-cancel-button {
	appearance: none;
  }
  
  .catalog-filter-submit {
	flex-shrink: 0;
	padding: 0.75rem 1.5rem;
  }

  .catalog-filters .catalog-filter-actions {
	margin-left: auto;
  }
  
  .catalog-main-inner {
	padding-top: 1rem;
  }
  
  .catalog-breadcrumbs {
	margin-bottom: 1.25rem;
  }
  
  .catalog-layout {
	position: relative;
	display: block;
  }

  .catalog-layout--map-hidden .catalog-map-aside {
	display: none;
  }
  
  .catalog-list-col {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
	min-width: 0;
  }
  
  .catalog-results {
	display: flex;
	flex-direction: column;
	gap: 1rem;
  }
  
  .catalog-card {
	display: flex;
	gap: 1rem;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-card);
	transition: border-color 0.2s, box-shadow 0.2s;
  }
  
  .catalog-card--highlight {
	border-color: var(--accent);
	box-shadow: 0 0 0 2px var(--accent-muted);
  }
  
  .catalog-card-media {
	position: relative;
	flex: 0 0 min(40%, 260px);
	max-width: 280px;
	min-height: 180px;
	background: var(--bg-input);
	cursor: pointer;
  }

  .catalog-card-media-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	color: inherit;
	text-decoration: none;
  }

  .catalog-card-media-link:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
  }

  .catalog-card-media-link .catalog-card-placeholder {
	height: 100%;
	min-height: 100%;
  }
  
  .catalog-card-media .property-card-slider {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
  }
  
  .catalog-card-media .property-card-slider .swiper-slide img {
	width: 100%;
	height: 100%;
	min-height: 180px;
	object-fit: cover;
	display: block;
  }
  
  .catalog-card-placeholder {
	min-height: 180px;
	width: 100%;
	background: linear-gradient(135deg, var(--bg-input) 0%, rgba(0, 0, 0, 0.06) 100%);
  }
  
  .catalog-no-results {
	margin: 1.5rem 0;
	padding: 1.25rem;
	border-radius: 12px;
	background: var(--bg-input);
	color: var(--text-muted);
  }
  
  .listing-price-badge,
  .catalog-card-badge {
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.55rem;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	background: #16a34a;
	border-radius: var(--radius-sm);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	pointer-events: none;
  }

  .listing-price-badge--drop,
  .catalog-card-badge--price-drop {
	background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
  }

  .catalog-card-fav {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	z-index: 4;
	width: 40px;
	height: 40px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid var(--border-subtle);
	color: var(--text-primary);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
  }
  
  body:not(.light-theme) .catalog-card-fav {
	background: rgba(28, 28, 32, 0.92);
  }
  
  .catalog-card-fav:hover {
	background: var(--accent-muted);
	color: var(--accent);
  }
  
  body.light-theme .catalog-card-fav iconify-icon {
	color: var(--accent);
  }
  
  body.light-theme .catalog-card-fav:hover iconify-icon {
	color: var(--accent-hover);
  }
  
  body.light-theme .catalog-card-fav.is-favorite iconify-icon {
	color: #f43f5e;
  }
  
  body.light-theme .catalog-card-fav.is-favorite:hover iconify-icon {
	color: #be123c;
  }
  
  .catalog-card-body {
	position: relative;
	flex: 1;
	padding: 1rem 1rem 1.85rem 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
  }
  
  .catalog-card-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
  }
  
  .catalog-card-title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.3;
  }
  
  .catalog-card-title a {
	color: inherit;
	text-decoration: none;
  }
  
  .catalog-card-title a:hover {
	color: var(--accent);
  }
  
  .catalog-card-price {
	margin: 0;
	flex-shrink: 0;
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--accent);
	text-align: right;
  }
  
  .catalog-card-price .price-display-single > span,
  .catalog-card-price .price-display-current > span,
  .price-display-single > span {
	font-weight: 500;
	font-size: 0.8rem;
	color: var(--text-muted);
  }

  .catalog-card-price .price-display-old,
  .catalog-card-price .price-display-old > span {
	font-weight: 500;
	font-size: 0.8rem;
	color: var(--price-old-color);
  }

  .catalog-card-price .price-display-current {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--accent);
  }

  .catalog-card-price .price-display-old > span {
	font-size: 0.68rem;
  }
  .catalog-card-price .price-display-single,
  .account-listing-price .price-display-single {
	display: inline;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	letter-spacing: normal;
  }

  .price-display-main {
	display: inline-flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0.35rem;
  }

  .catalog-card-price.price-display--reduced {
	justify-content: flex-end;
  }

  .property-card-price.price-display--reduced,
  .account-listing-price.price-display--reduced {
	justify-content: flex-start;
  }

  .price-display-old,
  .catalog-card-price-old {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--price-old-color);
	text-decoration: line-through;
  }

  .price-display-old span,
  .catalog-card-price-old span {
	font-size: 0.68rem;
	color: var(--price-old-color);
  }

  .price-display-current,
  .catalog-card-price-current {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	letter-spacing: inherit;
  }

  .price-display-current span,
  .catalog-card-price-current span {
	font-weight: 500;
	font-size: 0.8rem;
	color: var(--text-muted);
  }
  
  .catalog-card-address {
	margin: 0;
	font-size: 0.85rem;
	color: var(--text-secondary);
  }

  .catalog-card-date-row {
	position: absolute;
	right: 10px;
	bottom: 10px;
	margin: 0;
	z-index: 1;
	pointer-events: none;
	max-width: calc(100% - 1rem);
	text-align: right;
  }

  .listing-card-dates {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.15rem 0.3rem;
  }

  .listing-card-date-sep {
	color: var(--text-muted);
	font-size: 0.75rem;
	line-height: 1;
  }

  .catalog-card-date {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--text-muted);
	white-space: nowrap;
  }

  .catalog-card-date.listing-card-date--updated {
	font-size: 0.7rem;
	margin-top: -2px;
  }

  .property-card-date-row {
	margin: 0.2rem 0 0;
  }

  .property-card-date,
  .listing-card-date {
	font-size: 0.78rem;
	color: var(--text-muted);
  }

  .listing-sidebar-meta {
	position: absolute;
	top: 1.25rem;
	right: 1.35rem;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.15rem;
	max-width: 5.5rem;
	text-align: right;
	pointer-events: none;
  }

  .listing-sidebar-id {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-secondary);
	letter-spacing: 0.03em;
	white-space: nowrap;
  }

  .listing-sidebar .listing-published-date {
	position: static;
	margin: 0;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--text-muted);
	text-align: right;
	max-width: none;
  }

  .listing-sidebar .listing-published-date .listing-card-dates {
	flex-direction: column;
	align-items: flex-end;
	gap: 0.1rem;
  }

  .listing-sidebar .listing-published-date .listing-card-date-sep {
	display: none;
  }

  .listing-published-date__time,
  .listing-card-date--updated {
	color: inherit;
  }

  .listing-sidebar .listing-published-date .listing-card-date--updated {
	font-size: 0.68rem;
  }
  
  .catalog-card-specs {
	margin: 0.25rem 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	font-size: 0.85rem;
	color: var(--text-secondary);
  }
  
  .catalog-card-specs li {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
  }
  
  .catalog-card-desc {
	margin: 0.5rem 0 0;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--text-secondary);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
  }
  
  .catalog-map-aside {
	width: 100%;
  }
  
  .catalog-map {
	width: 100%;
	height: min(72vh, 620px);
	min-height: 320px;
	border-radius: var(--radius-md);
	border: 1px solid var(--border-subtle);
	overflow: hidden;
	background: var(--bg-input);
  }
  
  .catalog-page .leaflet-container {
	font-family: var(--font);
  }

  /* Десктоп: карта поверх карточек, по центру по вертикали справа */
  @media (min-width: 1025px) {
	.catalog-layout:not(.catalog-layout--map-hidden) .catalog-map-aside {
	  position: fixed;
	  top: 50%;
	  right: 0;
	  width: clamp(300px, 38vw, 480px);
	  border-radius: var(--radius-md) 0 0 var(--radius-md);
	  height: min(620px, calc(100dvh - 8rem));
	  max-height: calc(100dvh - 8rem);
	  transform: translateY(-50%);
	  z-index: 40;
	  display: flex;
	  flex-direction: column;
	  border: 1px solid var(--border-subtle);
	  border-right: none;
	  background: var(--bg-card);
	  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
	  overflow: hidden;
	  pointer-events: auto;
	}

	.catalog-layout:not(.catalog-layout--map-hidden) .catalog-map {
	  flex: 1 1 auto;
	  min-height: 0;
	  height: 100%;
	  max-height: none;
	  border: none;
	  border-radius: 0;
	}
  }

  .catalog-map-toggle {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 10050;
	box-shadow: var(--shadow-card);
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	justify-content: center;
  }

  .catalog-map-toggle__show,
  .catalog-map-toggle__hide {
	align-items: center;
	gap: 0.5rem;
  }

  .catalog-map-toggle__show:not([hidden]),
  .catalog-map-toggle__hide:not([hidden]) {
	display: inline-flex;
  }

  .catalog-map-toggle__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	flex-shrink: 0;
  }

  .catalog-map-toggle__label {
	line-height: 1.2;
  }

  body:not(.light-theme) .catalog-map-toggle {
	background: var(--bg-card);
	border-color: var(--border-subtle);
	color: var(--text-primary);
  }

  /* Infinite scroll + Material-style loading */
  .catalog-infinite-sentinel {
	height: 1px;
	width: 100%;
	pointer-events: none;
  }

  .catalog-infinite-loader {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 0.5rem;
  }

  .catalog-infinite-loader[hidden] {
	display: none !important;
  }

  .catalog-infinite-progress {
	display: flex;
	justify-content: center;
	padding: 0.25rem 0 0.5rem;
  }

  .catalog-infinite-progress__spinner {
	width: 2.25rem;
	height: 2.25rem;
	border: 3px solid var(--border-subtle);
	border-top-color: var(--accent);
	border-radius: 50%;
	animation: catalog-md-spin 0.75s linear infinite;
  }

  @keyframes catalog-md-spin {
	to {
	  transform: rotate(360deg);
	}
  }

  .catalog-infinite-end {
	margin: 1.25rem 0 0;
	text-align: center;
	font-size: 0.9rem;
	color: var(--text-muted);
  }

  .catalog-infinite-end[hidden] {
	display: none !important;
  }

  .catalog-search-subscribe-wrap {
	margin: 1.25rem 0 0;
	display: flex;
	justify-content: center;
  }

  .catalog-search-subscribe-wrap[hidden] {
	display: none !important;
  }

  .catalog-search-subscribe-btn {
	gap: 0.45rem;
  }

  .catalog-search-unsub-notice {
	margin-bottom: 1rem;
  }

  .search-subscribe-modal__panel {
	max-width: 28rem;
  }

  .search-subscribe-modal__filters {
	margin: 0 0 1.1rem;
	padding: 0.85rem 1rem;
	border-radius: var(--radius-md);
	background: var(--bg-elevated);
	border: 1px solid var(--border-subtle);
  }

  .search-subscribe-modal__filters-title {
	margin: 0 0 0.55rem;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.04em;
  }

  .search-subscribe-modal__filters-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.45rem;
  }

  .search-subscribe-modal__filters-item {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.5rem;
	font-size: 0.92rem;
	line-height: 1.45;
  }

  .search-subscribe-modal__filters-item.is-empty {
	color: var(--text-muted);
  }

  .search-subscribe-modal__filters-label {
	color: var(--text-secondary);
	font-weight: 500;
  }

  .search-subscribe-modal__filters-value {
	color: var(--text-primary);
	font-weight: 600;
  }

  .catalog-card--reveal-pending {
	opacity: 0;
	transform: translateY(18px);
  }

  .catalog-card.is-revealed {
	opacity: 1;
	transform: none;
	transition:
	  opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
	  transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .catalog-card-img-lazy {
	background: var(--bg-input);
	opacity: 0.35;
	transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .catalog-card-img-lazy.is-loaded {
	opacity: 1;
  }

  .catalog-card--skeleton {
	pointer-events: none;
	overflow: hidden;
  }

  .catalog-skeleton-block {
	position: relative;
	overflow: hidden;
	background: var(--bg-input);
	border-radius: var(--radius-sm);
  }

  .catalog-card--skeleton .catalog-card-media {
	min-height: 180px;
	flex: 0 0 min(40%, 260px);
	max-width: 280px;
  }

  .catalog-skeleton-line {
	height: 0.85rem;
	margin-bottom: 0.55rem;
	border-radius: 6px;
  }

  .catalog-skeleton-line--title {
	width: 72%;
	height: 1.1rem;
  }

  .catalog-skeleton-line--short {
	width: 45%;
  }

  .catalog-skeleton-line--medium {
	width: 88%;
	margin-bottom: 0;
  }

  .catalog-skeleton-shimmer {
	position: absolute;
	inset: 0;
	background: linear-gradient(
	  90deg,
	  transparent 0%,
	  rgba(255, 255, 255, 0.07) 45%,
	  rgba(255, 255, 255, 0.14) 50%,
	  rgba(255, 255, 255, 0.07) 55%,
	  transparent 100%
	);
	animation: catalog-md-shimmer 1.4s ease-in-out infinite;
	transform: translateX(-100%);
  }

  body.light-theme .catalog-skeleton-shimmer {
	background: linear-gradient(
	  90deg,
	  transparent 0%,
	  rgba(0, 0, 0, 0.04) 45%,
	  rgba(0, 0, 0, 0.08) 50%,
	  rgba(0, 0, 0, 0.04) 55%,
	  transparent 100%
	);
  }

  @keyframes catalog-md-shimmer {
	100% {
	  transform: translateX(100%);
	}
  }
  
  .catalog-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	padding: 0.5rem 0 0;
  }
  
  .catalog-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.65rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--text-secondary);
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
  }
  
  .catalog-page-link:hover {
	border-color: var(--accent);
	color: var(--accent);
  }
  
  .catalog-page-link.is-active {
	background: var(--accent-muted);
	border-color: var(--accent);
	color: var(--accent);
  }
  
  .catalog-page-link--nav {
	min-width: 2.5rem;
  }
  
  .catalog-page-ellipsis {
	padding: 0 0.35rem;
	color: var(--text-muted);
	user-select: none;
  }
  
  @media (max-width: 1024px) {
	.catalog-layout:not(.catalog-layout--map-hidden) .catalog-map-aside {
	  position: static;
	  width: 100%;
	  height: auto;
	  max-height: none;
	  margin-top: 1.5rem;
	  box-shadow: var(--shadow-card);
	  border: 1px solid var(--border-subtle);
	  background: var(--bg-card);
	}

	.catalog-layout:not(.catalog-layout--map-hidden) .catalog-map {
	  height: 340px;
	  min-height: 280px;
	  border: none;
	  border-radius: var(--radius-md);
	}
  }
  
  @media (max-width: 640px) {
	.catalog-card {
	  flex-direction: column;
	}
  
	.catalog-card-media {
	  flex: none;
	  max-width: none;
	  width: 100%;
	  min-height: 200px;
	}
  
	.catalog-card-body {
	  padding: 0 1rem 1.85rem;
	}
  
	.catalog-card-top {
	  flex-direction: column-reverse;
	  align-items: flex-start;
	}
  
	.catalog-card-price {
	  text-align: left;
	}
  
	.catalog-filters {
	  flex-direction: column;
	  align-items: stretch;
	}
  
	.catalog-filter-submit {
	  width: 100%;
	}
  }
  
  /* === Fullscreen listing modal === */
  body.listing-modal-open,
  body.auth-modal-open,
  body.search-subscribe-modal-open {
	overflow: hidden;
  }
  
  .listing-modal[hidden] {
	display: none !important;
  }
  
  .listing-modal {
	position: fixed;
	inset: 0;
	z-index: 500;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: stretch;
	padding: 0;
	margin: 0;
	border: none;
	background: transparent;
	box-sizing: border-box;
  }
  
  .listing-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
  }
  
  .listing-modal-panel {
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	top: 10%;
	bottom: 10%;
	display: flex;
	flex-direction: column;
	min-height: 0;
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	border: none;
	box-shadow: none;
	pointer-events: none;
	box-sizing: border-box;
  }
  
  .listing-modal-close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	pointer-events: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--bg-input);
	color: var(--text-secondary);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
  }
  
  .listing-modal-close:hover {
	background: var(--accent-muted);
	color: var(--accent);
  }
  
  .listing-modal-scroll {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 3.25rem 1.25rem 2rem;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	background: var(--bg-elevated);
	pointer-events: auto;
	border-top-left-radius: var(--radius-lg);
	border-bottom-left-radius: var(--radius-lg);
	border: 1px solid var(--border-subtle);
	box-shadow: var(--shadow-card);
  }
  
  @media (min-width: 768px) {
	.listing-modal-scroll {
	  padding: 3.5rem 2rem 2.5rem;
	}
  }
  
  .listing-modal-title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
  }
  
  .listing-modal-lead {
	margin: 0 0 1.75rem;
	font-size: 0.95rem;
	color: var(--text-secondary);
	line-height: 1.55;
  }
  
  .listing-modal-form {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
  }
  
  .listing-modal-fieldset {
	display: flex;
	flex-direction: column;
	gap: 1.125rem;
	margin: 0;
	padding: 0;
	border: none;
	min-inline-size: 0;
  }
  
  .listing-modal-legend {
	display: block;
	width: 100%;
	margin: 0 0 0.25rem;
	padding: 0;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--text-muted);
  }
  
  .listing-modal-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem 1.25rem;
	row-gap: 1.125rem;
	width: 100%;
  }
  
  .listing-modal-row--3 {
	grid-template-columns: 1fr 1fr 1fr;
  }
  
  .listing-modal-row--4 {
	grid-template-columns: repeat(2, 1fr);
  }
  
  @media (min-width: 640px) {
	.listing-modal-row--4 {
	  grid-template-columns: repeat(4, 1fr);
	}
  }
  
  .listing-modal-field {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	min-width: 0;
  }
  
  .listing-modal-field--full {
	grid-column: 1 / -1;
	width: 100%;
  }
  
  .listing-modal-label {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text-secondary);
  }
  
  .listing-modal-req {
	color: var(--accent);
  }
  
  .listing-modal-input,
  .listing-modal-textarea {
	width: 100%;
	padding: 0.65rem 0.85rem;
	font-family: inherit;
	font-size: 0.95rem;
	color: var(--text-primary);
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	transition: border-color 0.2s, box-shadow 0.2s;
  }
  
  .listing-modal-input:focus,
  .listing-modal-textarea:focus,
  .listing-modal-select:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-muted);
  }
  
  .listing-modal-textarea {
	resize: vertical;
	min-height: 120px;
	line-height: 1.5;
  }
  
  .listing-modal-select {
	padding: 0.65rem 2.5rem 0.65rem 0.85rem;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text-primary);
	background-color: var(--bg-input);
	background-image: var(--select-chevron);
	background-repeat: no-repeat;
	background-position: right 0.65rem center;
	background-size: 1.125rem 1.125rem;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
  }
  
  .listing-modal-hint-inline {
	font-weight: 500;
	color: var(--text-muted);
  }

  .listing-modal-hint {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: var(--text-muted);
  }
  
  .listing-modal-upload {
	width: 100%;
  }
  
  .listing-modal-upload-zone {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 148px;
	padding: 1.35rem 1.25rem;
	border: 2px dashed color-mix(in srgb, var(--accent) 28%, var(--border-subtle));
	border-radius: var(--radius-lg);
	background: linear-gradient(
	  145deg,
	  var(--accent-muted) 0%,
	  var(--bg-input) 48%,
	  var(--bg-elevated) 100%
	);
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.15s ease;
	overflow: hidden;
  }
  
  .listing-modal-upload-zone::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0;
	background: radial-gradient(
	  circle at 50% 30%,
	  color-mix(in srgb, var(--accent) 22%, transparent),
	  transparent 62%
	);
	transition: opacity 0.25s ease;
	pointer-events: none;
  }
  
  .listing-modal-upload-zone:hover {
	border-color: color-mix(in srgb, var(--accent) 55%, var(--border-subtle));
	box-shadow: 0 0 0 3px var(--accent-muted);
  }
  
  .listing-modal-upload-zone:hover::before {
	opacity: 1;
  }
  
  .listing-modal-upload-zone.is-drag {
	border-color: var(--accent);
	border-style: solid;
	box-shadow: 0 0 0 4px var(--accent-muted);
	transform: scale(1.01);
  }
  
  .listing-modal-upload-zone.is-drag::before {
	opacity: 1;
  }
  
  .listing-modal-file-input {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
	z-index: 2;
  }
  
  .listing-modal-upload-inner {
	position: relative;
	z-index: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.45rem;
	pointer-events: none;
  }
  
  .listing-modal-upload-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--bg-elevated);
	color: var(--accent);
	border: 1px solid var(--border-subtle);
	box-shadow: var(--shadow-card);
  }
  
  .listing-modal-upload-title {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-primary);
	letter-spacing: -0.02em;
  }
  
  .listing-modal-upload-meta {
	font-size: 0.82rem;
	color: var(--text-muted);
	max-width: 280px;
	line-height: 1.45;
  }
  
  .listing-modal-upload-list {
	margin: 0.85rem 0 0;
	padding: 0.65rem 0.85rem;
	list-style: none;
	border-radius: var(--radius-md);
	border: 1px solid var(--border-subtle);
	background: var(--bg-input);
	font-size: 0.85rem;
	color: var(--text-secondary);
  }
  
  .listing-modal-upload-list:not([hidden]) {
	display: block;
  }
  
  .listing-modal-upload-list li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0;
	border-bottom: 1px solid var(--border-subtle);
  }
  
  .listing-modal-upload-list li:last-child {
	border-bottom: none;
  }
  
  .listing-modal-upload-list li::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
	flex-shrink: 0;
  }
  
  .listing-modal-checkgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.85rem 1.15rem;
  }
  
  .listing-modal-check {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.9rem;
	color: var(--text-secondary);
	cursor: pointer;
  }
  
  .listing-modal-check input {
	margin-top: 0.2rem;
	accent-color: var(--accent);
  }
  
  .listing-modal-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: flex-end;
	margin-top: 0.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border-subtle);
  }
  
  .listing-modal-submit {
	min-width: 10rem;
  }
  
  @media (max-width: 639px) {
	.listing-modal-row,
	.listing-modal-row--3,
	.listing-modal-row--4 {
	  grid-template-columns: 1fr;
	}
  }
  
  /* === Auth modal (log in / register) === */
  .auth-modal[hidden] {
	display: none !important;
  }
  
  .auth-modal {
	position: fixed;
	inset: 0;
	z-index: 510;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	margin: 0;
	border: none;
	background: transparent;
	box-sizing: border-box;
  }
  
  .auth-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
  }
  
  .auth-modal-panel {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	padding: 2rem 1.5rem 1.5rem;
	background: var(--bg-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	box-sizing: border-box;
  }
  
  .auth-modal-close {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: var(--bg-input);
	color: var(--text-secondary);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
  }
  
  .auth-modal-close:hover {
	background: var(--accent-muted);
	color: var(--accent);
  }
  
  .auth-modal-title {
	margin: 0 0 0.4rem;
	padding-right: 2.5rem;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
  }
  
  .auth-modal-lead {
	margin: 0 0 1.25rem;
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.5;
  }
  
  .auth-tabs {
	display: flex;
	gap: 0.2rem;
	margin-bottom: 1.1rem;
	padding: 0.2rem;
	border-radius: var(--radius-md);
	background: var(--bg-input);
  }
  
  .auth-tab {
	flex: 1;
	padding: 0.45rem 0.5rem;
	border: none;
	border-radius: calc(var(--radius-md) - 2px);
	background: transparent;
	font: inherit;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-secondary);
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
  }
  
  .auth-tab.is-active {
	background: var(--bg-elevated);
	color: var(--text-primary);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }
  
  body:not(.light-theme) .auth-tab.is-active {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  }
  
  .auth-panel[hidden] {
	display: none;
  }
  
  .auth-form {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
  }
  
  .auth-field {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
  }
  
  .auth-label {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text-primary);
  }
  
  .auth-req {
	color: var(--accent);
  }
  
  .auth-input {
	width: 100%;
	padding: 0.55rem 0.7rem;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	background: var(--bg-input);
	color: var(--text-primary);
	font: inherit;
	font-size: 0.9rem;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s;
  }
  
  .auth-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 2px var(--accent-muted);
  }
  
  .auth-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	font-size: 0.85rem;
  }
  
  .auth-check {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--text-secondary);
	cursor: pointer;
  }
  
  .auth-check--block {
	align-items: flex-start;
	line-height: 1.4;
  }
  
  .auth-check input {
	margin-top: 0.1rem;
	accent-color: var(--accent);
  }

  .auth-field--roles {
	border: 0;
	margin: 0;
	padding: 0;
  }

  .auth-field--roles .auth-label {
	margin-bottom: 0.15rem;
  }

  .auth-role-options {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
  }

  .auth-role-option {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	background: var(--bg-input);
	cursor: pointer;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  }

  .auth-role-option:has(.auth-role-input:checked) {
	border-color: var(--accent);
	box-shadow: 0 0 0 2px var(--accent-muted);
	background: var(--bg-card);
  }

  .auth-role-option:has(.auth-role-input:focus-visible) {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
  }

  .auth-role-input {
	margin-top: 0.15rem;
	flex-shrink: 0;
	accent-color: var(--accent);
  }

  .auth-role-label {
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--text-primary);
	line-height: 1.35;
  }
  
  .auth-link,
  .auth-inline-link {
	color: var(--accent);
	font-weight: 600;
	text-decoration: none;
  }
  
  .auth-link:hover,
  .auth-inline-link:hover {
	text-decoration: underline;
  }
  
  .auth-submit {
	width: 100%;
	margin-top: 0.2rem;
  }

  .auth-form-message,
  .account-form-message {
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	border-radius: var(--radius-sm, 8px);
	font-size: 0.9rem;
	line-height: 1.4;
  }

  .auth-form-message[hidden],
  .account-form-message[hidden] {
	display: none;
  }

  .auth-form-message.is-success,
  .account-form-message.is-success {
	background: rgba(34, 197, 94, 0.12);
	color: #15803d;
  }

  .auth-form-message.is-error,
  .account-form-message.is-error {
	background: rgba(239, 68, 68, 0.1);
	color: #b91c1c;
  }

  .account-form-message--page {
	max-width: 42rem;
  }

  .account-hero-actions {
	margin-top: 1rem;
  }

  .account-logout-btn {
	gap: 0.4rem;
  }

  .account-empty {
	margin: 0;
	padding: 1.25rem 0;
	color: var(--text-muted, #64748b);
  }

  .listing-modal-login-hint {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	color: var(--text-muted, #64748b);
  }

  .auth-link--btn {
	appearance: none;
	border: 0;
	background: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	text-decoration: underline;
	color: var(--accent, #2563eb);
  }

  .listing-form-message {
	margin-bottom: 1rem;
  }
  
  /* === Saved listings (favorites) page === */
  .favorites-main {
	padding: 1.5rem 0 4rem;
	min-height: 50vh;
  }

  .favorites-inner {
	max-width: var(--container);
	margin-inline: auto;
  }

  .favorites-breadcrumbs {
	margin-bottom: 1.5rem;
  }

  .favorites-hero {
	margin-bottom: 1.5rem;
  }

  .favorites-title {
	margin: 0 0 0.4rem;
	font-size: clamp(1.5rem, 4vw, 1.85rem);
	font-weight: 700;
	letter-spacing: -0.02em;
  }

  .favorites-lead {
	margin: 0;
	max-width: 48ch;
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.5;
  }

  .favorites-status {
	margin: 0 0 1rem;
	color: var(--text-muted);
	font-size: 0.9rem;
  }

  .favorites-results {
	margin-bottom: 1.5rem;
  }

  .favorites-empty {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.25rem 1.15rem;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	background: var(--bg-card);
	box-shadow: var(--shadow-card);
  }

  .favorites-empty[hidden] {
	display: none !important;
  }

  .favorites-empty-text {
	margin: 0;
	max-width: 52ch;
	color: var(--text-secondary);
	line-height: 1.55;
  }

  /* === Account (dashboard) page === */
  .account-page .account-main {
	padding: 1.5rem 0 4rem;
	min-height: 50vh;
  }
  
  .account-inner {
	max-width: var(--container);
	margin-inline: auto;
  }
  
  .account-breadcrumbs {
	margin-bottom: 1.5rem;
  }
  
  .account-hero {
	margin-bottom: 2rem;
  }
  
  .account-title {
	margin: 0 0 0.4rem;
	font-size: clamp(1.5rem, 4vw, 1.85rem);
	font-weight: 700;
	letter-spacing: -0.02em;
  }

  .account-user-name {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text-primary);
	line-height: 1.3;
  }
  
  .account-lead {
	margin: 0;
	max-width: 48ch;
	color: var(--text-secondary);
	font-size: 0.95rem;
	line-height: 1.5;
  }
  
  .account-layout {
	display: grid;
	gap: 1.5rem;
	align-items: start;
  }

  .account-shell {
	display: grid;
	gap: 1.25rem;
	align-items: start;
  }

  @media (min-width: 900px) {
	.account-shell {
	  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
	  gap: 1.75rem;
	}
  }

  .account-tabs {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.35rem;
	padding: 0.35rem;
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
  }

  @media (min-width: 900px) {
	.account-tabs {
	  flex-direction: column;
	  flex-wrap: nowrap;
	  position: sticky;
	  top: 5rem;
	  padding: 0.5rem;
	}
  }

  .account-tab {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	width: 100%;
	padding: 0.72rem 0.9rem;
	border: 1px solid transparent;
	border-radius: var(--radius-md);
	background: transparent;
	color: var(--text-secondary);
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: left;
	cursor: pointer;
	transition: background 0.2s, border-color 0.2s, color 0.2s;
  }

  .account-tab:hover {
	color: var(--text-primary);
	background: color-mix(in srgb, var(--bg-elevated) 70%, transparent);
  }

  .account-tab.is-active {
	color: var(--text-primary);
	background: var(--bg-elevated);
	border-color: var(--border-subtle);
	box-shadow: var(--shadow-card);
  }

  .account-tab.is-active .account-tab-icon {
	color: var(--accent);
  }

  .account-tab-icon {
	flex-shrink: 0;
	color: var(--text-muted);
	line-height: 0;
	transition: color 0.2s;
  }

  .account-tab-label {
	flex: 1;
	min-width: 0;
  }

  .account-tab-badge {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.4rem;
	height: 1.4rem;
	padding: 0 0.35rem;
	margin-left: auto;
	border-radius: 999px;
	background: color-mix(in srgb, var(--accent) 14%, var(--bg-input));
	color: var(--accent);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
  }

  .account-tab.is-active .account-tab-badge {
	background: color-mix(in srgb, var(--accent) 22%, var(--bg-elevated));
	color: var(--accent);
  }

  .account-panels {
	min-width: 0;
  }

  .account-panel[hidden] {
	display: none !important;
  }
  
  @media (min-width: 1000px) {
	.account-layout {
	  grid-template-columns: minmax(300px, 400px) 1fr;
	}
  }
  
  .account-card {
	background: var(--bg-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	padding: 1.4rem 1.15rem 1.5rem;
  }
  
  @media (min-width: 640px) {
	.account-card {
	  padding: 1.65rem 1.45rem 1.65rem;
	}
  }
  
  .account-card-title {
	margin: 0 0 0.2rem;
	font-size: 1.15rem;
	font-weight: 700;
  }
  
  .account-card-hint {
	margin: 0 0 1.2rem;
	font-size: 0.86rem;
	color: var(--text-secondary);
	line-height: 1.5;
  }
  
  .account-card-hint--tight {
	margin-bottom: 0.35rem;
  }

  .account-role-type {
	font-size: 1.2em;
	font-weight: 600;
	color: var(--accent);
  }
  
  .account-form .account-form-row,
  .account-form .listing-modal-row {
	margin-bottom: 0;
  }
  
  .account-form .account-field--full,
  .account-form .listing-modal-field--full {
	margin-bottom: 0;
  }
  
  .account-form .account-field,
  .account-form .listing-modal-field {
	margin-bottom: 0;
  }

  #account-panel-profile .account-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
  }

  #account-panel-profile .account-form > .account-form-row,
  #account-panel-profile .account-form > .listing-modal-row,
  #account-panel-profile .account-form > .listing-modal-field,
  #account-panel-profile .account-form > .account-field {
	margin-top: 0;
	margin-bottom: 0;
  }

  #account-panel-profile .account-form .listing-modal-row {
	row-gap: 1rem;
  }

  #account-panel-profile .account-field.account-field--full {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
  }

  #account-panel-profile .account-card-hint--tight {
	margin: 0;
  }

  #account-panel-profile .account-agency-logo-field,
  #account-panel-profile .account-agency-banner-field {
	margin-top: 0;
  }

  #account-panel-profile .account-agency-logo-shell,
  #account-panel-profile .account-agency-banner-shell {
	margin-top: 0;
  }

  #account-panel-profile .account-form-actions--profile-footer {
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border-subtle);
  }

  .account-delete-btn {
	color: #dc2626;
	border-color: color-mix(in srgb, #dc2626 35%, var(--border-subtle));
  }

  .account-delete-btn:hover {
	color: #fff;
	background: #dc2626;
	border-color: #dc2626;
  }
  
  .account-agency-logo-field {
	margin-top: 0;
  }

  .account-agency-logo-shell {
	position: relative;
	width: 100%;
	max-width: 14rem;
	margin-top: 0.5rem;
  }

  .account-agency-logo-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 5.5rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	background: var(--bg-input);
	box-sizing: border-box;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
  }

  .account-agency-logo-preview:hover,
  .account-agency-logo-preview:focus-within {
	border-color: color-mix(in srgb, var(--accent) 40%, var(--border-subtle));
	background: color-mix(in srgb, var(--accent-muted) 35%, var(--bg-input));
  }

  .account-agency-logo-preview.is-empty {
	border-style: dashed;
  }

  .account-agency-logo-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
  }

  .account-agency-logo-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	font-size: 0.72rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--text-muted);
	text-align: center;
	padding: 0 0.5rem;
  }

  .account-agency-logo-preview img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	pointer-events: none;
  }

  .account-agency-logo-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
  }

  .account-agency-logo-delete {
	position: absolute;
	top: 0.35rem;
	right: 0.35rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: background 0.2s, transform 0.15s;
  }

  .account-agency-logo-delete:hover {
	background: rgba(0, 0, 0, 0.72);
	transform: scale(1.04);
  }

  body.light-theme .account-agency-logo-delete {
	background: rgba(255, 255, 255, 0.92);
	color: var(--text-primary);
  }

  body.light-theme .account-agency-logo-delete:hover {
	background: #fff;
  }

  .account-agency-banner-field {
	margin-top: 0;
  }

  .account-agency-banner-shell {
	position: relative;
	width: 100%;
	max-width: 28rem;
	margin-top: 0.5rem;
  }

  .account-agency-banner-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 7rem;
	padding: 0.35rem;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	background: var(--bg-input);
	box-sizing: border-box;
	overflow: hidden;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
  }

  .account-agency-banner-preview:hover,
  .account-agency-banner-preview:focus-within {
	border-color: color-mix(in srgb, var(--accent) 40%, var(--border-subtle));
	background: color-mix(in srgb, var(--accent-muted) 35%, var(--bg-input));
  }

  .account-agency-banner-preview.is-empty {
	border-style: dashed;
  }

  .account-agency-banner-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--text-muted);
	text-align: center;
	padding: 0 0.75rem;
  }

  .account-agency-banner-media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
  }

  .account-agency-banner-preview img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: calc(var(--radius-md) - 2px);
	pointer-events: none;
  }

  .account-agency-banner-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
  }

  .account-agency-banner-delete {
	position: absolute;
	top: 0.45rem;
	right: 0.45rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	transition: background 0.2s, transform 0.15s;
  }

  .account-agency-banner-delete:hover {
	background: rgba(0, 0, 0, 0.72);
	transform: scale(1.04);
  }

  body.light-theme .account-agency-banner-delete {
	background: rgba(255, 255, 255, 0.92);
	color: var(--text-primary);
  }

  body.light-theme .account-agency-banner-delete:hover {
	background: #fff;
  }

  .account-form-actions {
	margin-top: 1.15rem;
	padding-top: 1rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.6rem;
  }
  
  .account-listings-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.9rem;
	margin-bottom: 0.2rem;
  }

  .account-listings-toolbar {
	margin-bottom: 0.85rem;
  }

  .account-listings-toolbar.catalog-results-toolbar {
	position: sticky;
	top: calc(var(--header-height, 4rem) + 1rem);
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding: 0.85rem 1.15rem;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-card);
  }

  .account-listings-toolbar .catalog-results-count {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-secondary);
  }

  .account-listings-toolbar .catalog-sort-field {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	min-width: 0;
	margin-left: auto;
  }

  .account-listings-toolbar .catalog-sort-label {
	font-size: 0.8125rem;
	font-weight: 500;
	color: var(--text-muted);
	white-space: nowrap;
  }

  .account-listings-toolbar .catalog-sort-select {
	width: auto;
	min-width: 6.75rem;
	max-width: 100%;
	padding-left: 0.65rem;
	padding-right: 1.75rem;
	font-size: 0.8125rem;
  }
  
  .account-add-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
  }
  
  .account-listings {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
  }
  
  .account-listing {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 1.1rem 0;
	border-top: 1px solid var(--border-subtle);
  }
  
  .account-listing:first-child {
	border-top: none;
	padding-top: 0;
  }
  
  .account-listing-img-wrap {
	display: block;
	position: relative;
	flex: 0 0 auto;
	width: 128px;
	border-radius: var(--radius-md);
	overflow: hidden;
	line-height: 0;
	border: 1px solid var(--border-subtle);
	align-self: flex-start;
  }

  .account-listing-img-wrap .listing-price-badge {
	top: 0.35rem;
	left: 0.35rem;
	padding: 0.2rem 0.4rem;
	font-size: 0.58rem;
	max-width: calc(100% - 0.5rem);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
  }
  
  .account-listing-img-wrap--draft {
	opacity: 0.92;
	cursor: default;
	pointer-events: none;
  }
  
  .account-listing-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
  }
  
  .account-listing-body {
	flex: 1 1 200px;
	min-width: 0;
  }
  
  .account-listing-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 0.75rem;
  }
  
  .account-listing-title {
	margin: 0;
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.3;
	flex: 1 1 12rem;
	color: var(--text-primary);
  }
  
  .account-listing-title a {
	color: inherit;
	text-decoration: none;
  }
  
  .account-listing-title a:hover {
	color: var(--accent);
  }
  
  .account-status {
	display: inline-flex;
	align-items: center;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	flex-shrink: 0;
  }
  
  .account-status--live {
	background: var(--accent-muted);
	color: var(--accent);
  }
  
  .account-status--review {
	background: color-mix(in srgb, #eab308 18%, var(--bg-input));
	color: #a16207;
  }
  
  body:not(.light-theme) .account-status--review {
	color: #facc15;
  }
  
  .account-status--draft {
	background: var(--bg-input);
	color: var(--text-muted);
  }
  
  .account-listing-price {
	margin: 0.35rem 0 0;
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--text-primary);
  }
  
  .account-listing-price .price-display-single > span,
  .account-listing-price .price-display-current > span {
	font-size: 0.85em;
	font-weight: 500;
	color: var(--text-secondary);
  }

  .account-listing-price .price-display-old,
  .account-listing-price .price-display-old > span {
	font-size: 0.85em;
	font-weight: 500;
	color: var(--price-old-color);
  }

  .account-listing-price .price-display-current {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--text-primary);
  }
  
  .account-listing-addr {
	margin: 0.25rem 0 0.35rem;
	font-size: 0.875rem;
	color: var(--text-secondary);
	line-height: 1.4;
  }
  
  .account-listing-meta {
	margin: 0;
	font-size: 0.8rem;
	color: var(--text-muted);
  }
  
  .account-listing-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.7rem;
  }
  
  .account-listing-btn {
	font-size: 0.86rem;
	padding: 0.45rem 0.9rem;
  }
  
  @media (max-width: 480px) {
	.account-listing {
	  flex-direction: column;
	}
  
	.account-listing-img-wrap {
	  width: 100%;
	  max-width: 100%;
	}
  }
  
  /* === Blog index === */
  .nav-main a[aria-current="page"],
  .nav-main a.is-active {
	color: var(--accent);
	font-weight: 600;
  }
  
  .blog-page .blog-main {
	padding: 1.5rem 0 4rem;
	min-height: 50vh;
  }
  
  .blog-inner {
	max-width: var(--container);
	margin-inline: auto;
  }
  
  .blog-breadcrumbs {
	margin-bottom: 1.5rem;
  }
  
  .blog-hero {
	text-align: center;
	max-width: 40rem;
	margin: 0 auto 2.5rem;
  }
  
  .blog-hero-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--accent);
  }
  
  .blog-hero-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 4vw, 2.1rem);
	font-weight: 700;
	letter-spacing: -0.02em;
  }
  
  .blog-hero-lead {
	margin: 0;
	color: var(--text-secondary);
	font-size: 0.98rem;
	line-height: 1.55;
  }
  
  .blog-filters {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
	margin-bottom: 2rem;
  }
  
  @media (min-width: 600px) {
	.blog-filters {
	  flex-direction: row;
	  align-items: center;
	}
  }
  
  .blog-filters-label {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text-secondary);
	flex-shrink: 0;
  }
  
  .blog-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
  }
  
  .blog-tag {
	display: inline-block;
	padding: 0.35rem 0.7rem;
	font-size: 0.86rem;
	font-weight: 500;
	color: var(--text-secondary);
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: 999px;
	transition: color 0.2s, border-color 0.2s, background 0.2s;
  }
  
  .blog-tag:hover {
	color: var(--accent);
	border-color: var(--accent);
  }
  
  .blog-tag.is-active,
  .blog-tag[aria-current="true"] {
	color: var(--accent);
	background: var(--accent-muted);
	border-color: var(--accent);
	font-weight: 600;
  }
  
  .blog-grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 1.5rem;
	margin: 0 0 2.5rem;
	padding: 0;
  }
  
  .blog-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--bg-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	transition: box-shadow 0.2s, border-color 0.2s;
  }
  
  .blog-card:hover {
	border-color: color-mix(in srgb, var(--accent) 28%, var(--border-subtle));
  }
  
  .blog-card-image-link {
	display: block;
	line-height: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
  }
  
  .blog-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.35s ease;
  }
  
  .blog-card:hover .blog-card-image {
	transform: scale(1.03);
  }
  
  .blog-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.1rem 1.15rem 1.2rem;
  }
  
  .blog-card-meta {
	margin: 0 0 0.4rem;
	font-size: 0.8rem;
	color: var(--text-muted);
  }
  
  .blog-card-meta-sep {
	margin: 0 0.2rem;
  }
  
  .blog-card-cat {
	color: var(--text-secondary);
  }
  
  .blog-card-title {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
  }
  
  .blog-card-title a {
	color: var(--text-primary);
	text-decoration: none;
  }
  
  .blog-card-title a:hover {
	color: var(--accent);
  }
  
  .blog-card-excerpt {
	margin: 0 0 1rem;
	flex: 1;
	font-size: 0.9rem;
	color: var(--text-secondary);
	line-height: 1.5;
  }
  
  .blog-card-more {
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--accent);
	text-decoration: none;
	align-self: flex-start;
  }
  
  .blog-card-more:hover {
	text-decoration: underline;
  }
  
  .blog-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 0.5rem;
  }
  
  .blog-page-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.65rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-secondary);
	text-decoration: none;
	background: var(--bg-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-sm);
	transition: color 0.2s, border-color 0.2s, background 0.2s;
  }
  
  .blog-page-link:hover {
	color: var(--accent);
	border-color: var(--accent);
  }
  
  .blog-page-link.is-active,
  .blog-page-link[aria-current="page"] {
	color: #fff;
	background: var(--accent);
	border-color: var(--accent);
	cursor: default;
	pointer-events: none;
  }
  
  body.light-theme .blog-page-link.is-active,
  body.light-theme .blog-page-link[aria-current="page"] {
	color: #fff;
  }
  
  .blog-page-link--next {
	min-width: auto;
	padding: 0 0.9rem;
  }
  
  /* === Single article === */
  .article-page .article-main {
	padding: 1.5rem 0 4.5rem;
	min-height: 50vh;
  }
  
  .article-inner {
	max-width: min(48rem, 100%);
	margin-inline: auto;
  }
  
  @media (min-width: 900px) {
	.article-inner {
	  max-width: min(44rem, 100%);
	}
  }
  
  .article-breadcrumbs {
	margin-bottom: 0.75rem;
  }
  
  .article-back {
	margin: 0 0 1.5rem;
  }
  
  .article-back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-secondary);
	text-decoration: none;
  }
  
  .article-back-link:hover {
	color: var(--accent);
  }
  
  .article {
	margin-bottom: 3rem;
  }
  
  .article-header {
	margin-bottom: 1.5rem;
  }
  
  .article-kicker {
	margin: 0 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--accent);
  }
  
  .article-title {
	margin: 0 0 0.65rem;
	font-size: clamp(1.6rem, 4.5vw, 2.15rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
  }
  
  .article-deck {
	margin: 0 0 1.25rem;
	font-size: 1.05rem;
	color: var(--text-secondary);
	line-height: 1.5;
  }
  
  .article-byline {
	display: flex;
	align-items: center;
	gap: 0.75rem;
  }
  
  .article-byline-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--accent-muted);
	color: var(--accent);
	font-size: 1.1rem;
	font-weight: 700;
  }
  
  .article-byline-text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
  }
  
  .article-byline-name {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--text-primary);
  }
  
  .article-byline-meta {
	font-size: 0.84rem;
	color: var(--text-muted);
  }
  
  .article-meta-sep {
	margin: 0 0.25rem;
  }
  
  .article-figure {
	margin: 0 0 2rem;
	border-radius: var(--radius-lg);
	overflow: hidden;
	border: 1px solid var(--border-subtle);
	line-height: 0;
	box-shadow: var(--shadow-card);
  }
  
  .article-figure-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 21 / 9;
	object-fit: cover;
  }
  
  @media (max-width: 640px) {
	.article-figure-img {
	  aspect-ratio: 16 / 9;
	}
  }
  
  .article-prose {
	color: var(--text-primary);
	font-size: 1rem;
	line-height: 1.65;
  }
  
  .article-prose > *:first-child {
	margin-top: 0;
  }
  
  .article-lead,
  .article-prose p {
	margin: 0 0 1.1rem;
  }
  
  .article-lead {
	font-size: 1.08rem;
	color: var(--text-secondary);
  }
  
  .article-prose h2 {
	margin: 2rem 0 0.6rem;
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.01em;
  }
  
  .article-prose h2:first-of-type,
  .article-prose h3:first-of-type {
	margin-top: 0.5rem;
  }
  
  .article-prose h3 {
	margin: 1.5rem 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
  }
  
  .article-prose ul,
  .article-prose ol {
	margin: 0 0 1.1rem;
	padding-left: 1.25rem;
  }
  
  .article-prose li {
	margin-bottom: 0.4rem;
  }
  
  .article-prose a {
	color: var(--accent);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
  }
  
  .article-prose a:hover {
	color: var(--accent-hover);
  }
  
  .article-prose strong {
	color: var(--text-primary);
	font-weight: 600;
  }
  
  .article-prose em {
	font-style: italic;
  }
  
  .article-quote {
	margin: 1.5rem 0;
	padding: 1rem 1.15rem 1.05rem;
	border-left: 3px solid var(--accent);
	background: var(--bg-input);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
  }
  
  .article-quote p {
	margin: 0;
	font-size: 1.02rem;
	font-style: italic;
	color: var(--text-secondary);
  }
  
  .article-table-wrap {
	margin: 1.25rem 0 1.5rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	background: var(--bg-elevated);
  }
  
  .article-table {
	width: 100%;
	min-width: 28rem;
	border-collapse: collapse;
	font-size: 0.9rem;
  }
  
  .article-table th,
  .article-table td {
	padding: 0.6rem 0.85rem;
	text-align: left;
	border-bottom: 1px solid var(--border-subtle);
  }
  
  .article-table th {
	font-weight: 600;
	color: var(--text-secondary);
	background: var(--bg-input);
  }
  
  .article-table tr:last-child td {
	border-bottom: none;
  }
  
  .article-foot {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border-subtle);
  }
  
  .article-tags {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.5rem;
	font-size: 0.88rem;
	color: var(--text-secondary);
  }
  
  .article-tags-label {
	font-weight: 600;
	margin-right: 0.15rem;
  }
  
  a.article-tag {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	background: var(--bg-input);
	border-radius: var(--radius-sm);
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
  }
  
  a.article-tag:hover {
	color: var(--accent);
	background: var(--accent-muted);
  }
  
  .article-related {
	margin-top: 0.5rem;
	padding-top: 0.5rem;
  }
  
  .article-related-title {
	margin: 0 0 1rem;
	font-size: 1.2rem;
	font-weight: 700;
  }
  
  .article-related-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.9rem;
  }
  
  @media (min-width: 640px) {
	.article-related-list {
	  grid-template-columns: repeat(3, 1fr);
	}
  }
  
  .article-related-card {
	display: flex;
	flex-direction: row;
	gap: 0.9rem;
	padding: 0.65rem 0.75rem 0.65rem 0.65rem;
	background: var(--bg-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
	align-items: center;
  }
  
  .article-related-card:hover {
	border-color: color-mix(in srgb, var(--accent) 35%, var(--border-subtle));
  }
  
  .article-related-img {
	width: 88px;
	height: 72px;
	object-fit: cover;
	border-radius: var(--radius-sm);
	flex-shrink: 0;
  }

  .article-related-img.article-related-img--empty {
	display: block;
	background: color-mix(in srgb, var(--text-muted) 18%, transparent);
  }
  
  .article-related-body {
	min-width: 0;
  }
  
  .article-related-meta {
	margin: 0 0 0.2rem;
	font-size: 0.75rem;
	color: var(--text-muted);
  }
  
  .article-related-hed {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--text-primary);
  }
  
  .article-related-card:hover .article-related-hed {
	color: var(--accent);
  }
  
  /* === FAQ page === */
  .faq-page .faq-main {
	padding: 1.5rem 0 4.5rem;
	min-height: 50vh;
  }
  
  .faq-inner {
	max-width: min(40rem, 100%);
	margin-inline: auto;
  }
  
  .faq-breadcrumbs {
	margin-bottom: 1.5rem;
  }
  
  .faq-hero {
	margin-bottom: 1.5rem;
  }
  
  .faq-title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.6rem, 4vw, 2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
  }
  
  .faq-lead {
	margin: 0;
	max-width: 46ch;
	color: var(--text-secondary);
	font-size: 0.98rem;
	line-height: 1.55;
  }
  
  .faq-cta {
	margin: 0 0 2.25rem;
	padding: 0.9rem 1rem;
	font-size: 0.9rem;
	color: var(--text-secondary);
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	line-height: 1.45;
  }
  
  .faq-cta-link {
	color: var(--accent);
	font-weight: 600;
	text-decoration: none;
  }
  
  .faq-cta-link:hover {
	text-decoration: underline;
  }
  
  .faq-section {
	margin-bottom: 2.5rem;
  }
  
  .faq-section:last-of-type {
	margin-bottom: 0;
  }
  
  .faq-section-title {
	margin: 0 0 0.9rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--accent);
  }
  
  .faq-list {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
  }
  
  .faq-item {
	display: block;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	background: var(--bg-elevated);
	box-shadow: var(--shadow-card);
	overflow: hidden;
  }
  
  .faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	list-style: none;
	padding: 1rem 1.1rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text-primary);
	cursor: pointer;
	transition: background 0.2s;
  }
  
  .faq-question::-webkit-details-marker,
  .faq-question::marker {
	display: none;
  }
  
  .faq-item .faq-question {
	list-style: none;
  }
  
  .faq-question:hover {
	background: var(--bg-input);
  }
  
  .faq-question-text {
	flex: 1;
	min-width: 0;
	line-height: 1.4;
	text-align: left;
  }
  
  .faq-chevron {
	display: flex;
	flex-shrink: 0;
	color: var(--text-secondary);
	line-height: 0;
	transition: transform 0.25s ease, color 0.2s;
  }
  
  .faq-item[open] .faq-chevron {
	transform: rotate(180deg);
	color: var(--accent);
  }
  
  .faq-answer {
	padding: 0 1.1rem 1.1rem 1.1rem;
	border-top: 1px solid var(--border-subtle);
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--text-secondary);
	background: color-mix(in srgb, var(--bg-input) 45%, var(--bg-elevated));
  }
  
  .faq-answer p {
	margin: 0.75rem 0 0;
  }
  
  .faq-answer p:first-child {
	margin-top: 0.85rem;
  }
  
  .faq-answer a {
	color: var(--accent);
	font-weight: 600;
	text-decoration: none;
  }
  
  .faq-answer a:hover {
	text-decoration: underline;
  }
  
  .faq-answer strong {
	color: var(--text-primary);
	font-weight: 600;
  }
  
  .faq-answer em {
	font-style: italic;
  }

  /* === Seller / agency profile (author archive) === */
  .seller-main {
	padding: 1.5rem 0 4rem;
	min-height: 50vh;
  }

  .seller-banner {
	width: 100%;
	max-height: 220px;
	overflow: hidden;
	margin-bottom: 0;
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
	border-bottom: none;
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .seller-banner + .seller-hero {
	border-top: none;
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .seller-banner__img {
	display: block;
	width: 100%;
	height: 220px;
	max-height: 220px;
	object-fit: cover;
	object-position: center;
	border-radius: inherit;
  }

  @media (min-width: 768px) {
	.seller-banner {
	  max-height: 260px;
	}

	.seller-banner__img {
	  height: 260px;
	  max-height: 260px;
	}
  }

  .seller-inner {
	max-width: var(--container);
	margin-inline: auto;
  }

  .seller-breadcrumbs {
	margin-bottom: 1.5rem;
  }

  .seller-hero {
	display: grid;
	gap: 1.25rem 1.5rem;
	align-items: start;
	margin-bottom: 2rem;
	padding: 1.4rem 1.15rem;
	background: var(--bg-elevated);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
  }

  @media (min-width: 640px) {
	.seller-hero {
	  padding: 1.65rem 1.45rem;
	  grid-template-columns: auto 1fr auto;
	}
  }

  .seller-hero-brand {
	display: flex;
	align-items: center;
	justify-content: center;
  }

  .seller-logo {
	display: block;
	width: 5.5rem;
	height: 5.5rem;
	object-fit: contain;
	border-radius: var(--radius-md);
	background: var(--bg-input);
	border: 1px solid var(--border-subtle);
  }

  .seller-logo--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
  }

  .seller-title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.35rem, 3.5vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
  }

  .seller-location {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0 0 0.85rem;
	color: var(--text-secondary);
	font-size: 0.9rem;
  }

  .seller-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
  }

  .seller-meta-item {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	min-width: 5.5rem;
  }

  .seller-meta-label {
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--text-muted);
  }

  .seller-meta-value {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-primary);
  }

  .seller-hero-contact,
  .seller-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: flex-end;
  }

  @media (min-width: 640px) {
	.seller-hero-contact,
	.seller-hero-actions {
	  flex-direction: column;
	  justify-self: end;
	  align-items: stretch;
	  min-width: 11.5rem;
	}
  }

  .seller-hero-contact .listing-show-phone-wrap,
  .seller-hero-contact .listing-show-phone-btn,
  .seller-hero-contact .listing-btn-write,
  .seller-hero-contact .seller-message-btn {
	width: 100%;
  }

  .seller-edit-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	white-space: nowrap;
  }

  @media (min-width: 640px) {
	.seller-hero-actions {
	  align-items: stretch;
	}

	.seller-edit-btn {
	  justify-content: center;
	}
  }

  .seller-notes {
	margin-bottom: 2rem;
	padding: 1.25rem 1.15rem;
	background: var(--bg-card);
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
  }

  @media (min-width: 640px) {
	.seller-notes {
	  padding: 1.35rem 1.45rem;
	}
  }

  .seller-section-title {
	margin: 0 0 0.75rem;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: -0.01em;
  }

  .seller-notes-body {
	color: var(--text-secondary);
	font-size: 0.92rem;
	line-height: 1.6;
  }

  .seller-notes-body p {
	margin: 0 0 0.65rem;
  }

  .seller-notes-body p:last-child {
	margin-bottom: 0;
  }

  .seller-listings-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.35rem 1rem;
	margin-bottom: 1rem;
  }

  .seller-listings-count {
	margin: 0;
	font-size: 0.85rem;
	color: var(--text-muted);
  }

  .seller-results {
	margin-bottom: 1.5rem;
  }

  .seller-no-results {
	margin: 0;
  }

  .seller-pagination {
	margin-top: 1rem;
  }

  .seller-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: center;
  }

  .seller-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	height: 2.25rem;
	padding: 0 0.5rem;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-subtle);
	background: var(--bg-card);
	color: var(--text-primary);
	font-size: 0.85rem;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s;
  }

  .seller-pagination .page-numbers:hover,
  .seller-pagination .page-numbers.current {
	border-color: var(--accent);
	color: var(--accent);
  }

  @media (max-width: 639px) {
	.seller-hero-contact,
	.seller-hero-actions {
	  grid-column: 1 / -1;
	}
  }

  /* === Listing messages (user ↔ agency) === */
  body.listing-message-modal-open {
	overflow: hidden;
  }

  .listing-message-modal {
	align-items: center;
	justify-content: center;
	padding: 1rem;
  }

  .listing-message-modal-panel {
	position: relative;
	inset: auto;
	top: auto;
	right: auto;
	bottom: auto;
	left: auto;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 520px;
	max-height: min(88vh, 640px);
	min-height: 0;
	margin: 0 auto;
	pointer-events: auto;
  }

  .listing-message-modal .listing-modal-scroll {
	flex: 0 1 auto;
	overflow: hidden;
	border-radius: var(--radius-lg);
	padding: 1.35rem 1.35rem 1rem;
	box-shadow: var(--shadow-card);
  }

  .listing-message-modal .listing-modal-form {
	gap: 1rem;
  }

  .listing-message-modal .listing-modal-actions {
	margin-top: 0;
	padding-top: 0.85rem;
	justify-content: flex-end;
  }

  .listing-message-modal-actions {
	align-items: center;
	gap: 0.5rem;
  }

  .listing-message-account-link {
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
  }

  .listing-message-modal-context {
	margin: 0 0 1rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--text-primary);
  }

  .listing-message-success {
	margin: 0 0 0.75rem;
	padding: 0;
	font-size: 0.92rem;
	color: var(--accent);
	font-weight: 600;
  }

  .account-card--full {
	margin-top: 0;
  }

  .account-messages-group + .account-messages-group {
	margin-top: 1.75rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--border-subtle);
  }

  .account-messages-subtitle {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-primary);
  }

  .account-message-threads {
	display: grid;
	gap: 1.25rem;
  }

  .account-message-thread {
	padding: 1rem 1rem 1.1rem;
	border: 1px solid var(--border-subtle);
	border-radius: var(--radius-md);
	background: var(--bg-input);
  }

  .account-message-thread-head {
	margin-bottom: 0.85rem;
  }

  .account-message-thread-listing {
	margin: 0 0 0.2rem;
	font-size: 0.95rem;
	font-weight: 700;
  }

  .account-message-thread-listing a {
	color: inherit;
	text-decoration: none;
  }

  .account-message-thread-listing a:hover {
	color: var(--accent);
  }

  .account-message-thread-party {
	margin: 0;
	font-size: 0.82rem;
	color: var(--text-muted);
  }

  .account-message-list {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
  }

  .account-message-item {
	display: flex;
  }

  .account-message-item.is-mine {
	justify-content: flex-end;
  }

  .account-message-item.is-theirs {
	justify-content: flex-start;
  }

  .account-message-bubble {
	max-width: min(100%, 36rem);
	padding: 0.65rem 0.8rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--border-subtle);
	background: var(--bg-card);
  }

  .account-message-item.is-mine .account-message-bubble {
	border-color: color-mix(in srgb, var(--accent) 35%, var(--border-subtle));
	background: color-mix(in srgb, var(--accent-muted) 45%, var(--bg-card));
  }

  .account-message-quote {
	margin: 0 0 0.5rem;
	padding: 0.45rem 0.55rem;
	border-left: 3px solid var(--border-subtle);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	background: color-mix(in srgb, var(--bg-elevated) 80%, transparent);
  }

  .account-message-quote-label {
	display: block;
	margin-bottom: 0.15rem;
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text-muted);
  }

  .account-message-quote p {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.4;
	color: var(--text-secondary);
  }

  .account-message-body {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--text-primary);
	white-space: pre-wrap;
  }

  .account-message-body a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
	word-break: break-word;
  }

  .account-message-body a:hover {
	color: var(--accent-hover);
  }

  .account-message-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin-top: 0.45rem;
	font-size: 0.72rem;
	color: var(--text-muted);
  }

  .account-message-author {
	font-weight: 600;
  }

  .account-message-reply-status {
	margin: 0.35rem 0 0;
	font-size: 0.82rem;
	position: absolute;
  }

  .account-message-reply-status.is-success {
	color: var(--accent);
  }

  .account-message-reply-status.is-error {
	color: var(--danger, #c0392b);
  }

  /* Messages — read/unread, accordion, badges */
  .header-messages-badge {
	position: absolute;
	top: -0.35rem;
	right: -0.35rem;
	display: grid;
	place-items: center;
	min-width: 1.15rem;
	height: 1.15rem;
	padding: 0 0.2rem;
	border-radius: 999px;
	background: var(--danger, #e53935);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
  }

  .account-tab-badge--new {
	min-width: auto;
	height: auto;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: var(--danger, #e53935);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	white-space: nowrap;
  }

  .account-tab.is-active .account-tab-badge--new {
	background: var(--danger, #e53935);
	color: #fff;
  }

  .account-message-thread {
	padding: 0;
	overflow: hidden;
  }

  .account-message-thread.is-unread {
	border-color: color-mix(in srgb, var(--accent) 40%, var(--border-subtle));
  }

  .account-message-thread-toggle {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	width: 100%;
	padding: 0.9rem 1rem;
	border: 0;
	background: transparent;
	color: inherit;
	text-align: left;
	cursor: pointer;
	font: inherit;
  }

  .account-message-thread-thumb {
	flex-shrink: 0;
	width: 4.5rem;
	height: 4.5rem;
	border-radius: var(--radius-sm);
	overflow: hidden;
	background: color-mix(in srgb, var(--text-muted) 12%, var(--bg-card));
	border: 1px solid var(--border-subtle);
	text-decoration: none;
	color: inherit;
  }

  .account-message-thread-thumb:hover {
	border-color: color-mix(in srgb, var(--accent) 35%, var(--border-subtle));
  }

  .account-message-thread-thumb-img--logo {
	object-fit: contain;
	padding: 0.25rem;
	background: var(--bg-card);
  }

  .account-message-thread-link {
	text-decoration: none;
	color: inherit;
  }

  .account-message-thread-link:hover {
	color: var(--accent);
  }

  a.account-message-thread-party-name {
	display: inline-block;
	max-width: 100%;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-primary);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
  }

  a.account-message-thread-party-name:hover {
	color: var(--accent);
	text-decoration: underline;
  }

  a.account-message-thread-listing-title {
	display: inline-block;
	align-self: flex-start;
	max-width: 100%;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-secondary);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
  }

  a.account-message-thread-listing-title:hover {
	color: var(--accent);
	text-decoration: underline;
  }

  .account-message-thread-listing-title--agency {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-muted);
  }

  .account-message-thread-thumb-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
  }

  .account-message-thread-thumb-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: var(--text-muted);
  }

  .account-message-thread-toggle:hover {
	background: color-mix(in srgb, var(--accent-muted) 35%, transparent);
  }

  .account-message-thread-toggle-main {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	flex: 1;
	min-width: 0;
  }

  .account-message-thread-toggle-top {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
	width: 100%;
  }

  .account-message-thread-party-name {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--text-primary);
  }

  .account-message-thread-listing-title {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-secondary);
  }

  .account-message-thread-counts {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-left: auto;
	flex-shrink: 0;
	margin-top: -6px;
  }

  .account-message-thread-count-total {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--text-muted) 18%, var(--bg-input));
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--text-secondary);
	white-space: nowrap;
	line-height: 1.2;
  }

  .account-message-thread-count-new {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--danger, #e53935);
	white-space: nowrap;
  }

  .account-message-thread-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
  }

  .account-message-thread-listing-title {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--text-secondary);
  }

  .account-message-thread-preview {
	font-size: 0.82rem;
	color: var(--text-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
  }

  .account-message-thread.is-unread .account-message-thread-preview {
	color: var(--text-secondary);
	font-weight: 500;
  }

  .account-message-thread-time {
	flex-shrink: 0;
	font-size: 0.72rem;
	color: var(--text-muted);
	white-space: nowrap;
  }

  .account-message-thread-chevron {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	color: var(--text-muted);
	transition: transform 0.2s ease;
  }

  .account-message-thread.is-open .account-message-thread-chevron {
	transform: rotate(180deg);
  }

  .account-message-thread-body {
	display: flex;
	flex-direction: column;
	padding: 0;
	border-top: 1px solid var(--border-subtle);
  }

  .account-message-thread-body[hidden] {
	display: none;
  }

  .account-message-thread-scroll {
	max-height: 500px;
	overflow-y: auto;
	padding: 0.85rem 1rem;
	overscroll-behavior: contain;
  }

  .account-message-thread-scroll .account-message-list {
	margin-bottom: 0;
  }

  .account-message-thread-body .account-message-reply {
	flex-shrink: 0;
	margin: 0;
	padding: 0.85rem 1rem 1.1rem;
	border-top: 1px solid var(--border-subtle);
	background: var(--bg-input);
  }

  .account-message-item.is-unread .account-message-bubble {
	border-color: color-mix(in srgb, var(--accent) 45%, var(--border-subtle));
	box-shadow: inset 3px 0 0 var(--accent);
  }
