/* =====================================================================
   Oglasi Classic — main.css
   ---------------------------------------------------------------------
   Design notes:
   - Information-first, scan-friendly. No hero images, no marketing fluff.
   - Compact spacing, small but legible type, table-like density.
   - One accent color (red by default, customizable) used sparingly for
     price + primary CTAs. Everything else lives in a neutral grey palette.
   - Listing cards are the key element: thumb left, title + spec list +
     price + meta on the right, all visible without scrolling.
   ===================================================================== */

/* ---------- 1. CSS variables ---------- */
:root {
	/* Colors — overridable via Customizer (see inc/customizer.php). */
	--og-accent:       #c8102e;   /* price, primary buttons */
	--og-featured:     #f9c74f;   /* "PLAĆEN OGLAS" / featured badges */

	--og-text:         #1a1a1a;
	--og-text-muted:   #6b7280;
	--og-text-faint:   #9ca3af;
	--og-link:         #1d4ed8;
	--og-link-hover:   #1e3a8a;

	--og-bg:           #f4f5f7;
	--og-surface:      #ffffff;
	--og-surface-alt:  #fafbfc;
	--og-border:       #e1e4e8;
	--og-border-strong:#cdd2d8;

	--og-success:      #16a34a;
	--og-warning:      #d97706;
	--og-danger:       #dc2626;

	/* Type scale — kept tight; this is a data UI, not a magazine. */
	--og-font-sans:    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--og-fs-xs:        12px;
	--og-fs-sm:        13px;
	--og-fs-base:      14px;
	--og-fs-md:        16px;
	--og-fs-lg:        18px;
	--og-fs-xl:        22px;
	--og-fs-2xl:       28px;

	/* Spacing — 4px grid. */
	--og-s1:  4px;
	--og-s2:  8px;
	--og-s3:  12px;
	--og-s4:  16px;
	--og-s5:  20px;
	--og-s6:  24px;
	--og-s8:  32px;
	--og-s10: 40px;
	--og-s12: 48px;

	--og-radius:    3px;
	--og-radius-lg: 6px;
	--og-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
	--og-shadow:    0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--og-font-sans);
	font-size: var(--og-fs-base);
	line-height: 1.5;
	color: var(--og-text);
	background: var(--og-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--og-link); text-decoration: none; }
a:hover { color: var(--og-link-hover); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 var(--og-s3); line-height: 1.25; font-weight: 600; }
h1 { font-size: var(--og-fs-2xl); }
h2 { font-size: var(--og-fs-xl); }
h3 { font-size: var(--og-fs-lg); }

p { margin: 0 0 var(--og-s3); }

ul, ol { margin: 0 0 var(--og-s3); padding-left: var(--og-s5); }
ul.unstyled, ol.unstyled { list-style: none; padding: 0; margin: 0; }

button { font: inherit; cursor: pointer; }

/* Skip link */
.skip-link {
	position: absolute; left: -9999px; top: -9999px;
	background: var(--og-accent); color: #fff; padding: var(--og-s2) var(--og-s4);
	z-index: 9999;
}
.skip-link:focus { left: var(--og-s2); top: var(--og-s2); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute; width: 1px; word-wrap: normal !important;
}

/* ---------- 3. Layout primitives ---------- */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--og-s4);
}

/* Two-column listing layout (sidebar + grid). */
.layout {
	display: grid;
	gap: var(--og-s5);
	margin: var(--og-s5) 0 var(--og-s8);
}
.layout--with-sidebar {
	grid-template-columns: 240px 1fr;
}
.layout--full {
	grid-template-columns: 1fr;
}
@media (max-width: 900px) {
	.layout--with-sidebar { grid-template-columns: 1fr; }
}

.layout__sidebar {
	background: var(--og-surface);
	border: 1px solid var(--og-border);
	border-radius: var(--og-radius);
	padding: var(--og-s4);
	align-self: start;
	position: sticky;
	top: var(--og-s4);
	max-height: calc(100vh - var(--og-s8));
	overflow-y: auto;
}
.layout__sidebar .widget + .widget {
	margin-top: var(--og-s5);
	padding-top: var(--og-s5);
	border-top: 1px solid var(--og-border);
}
.layout__sidebar .widget-title {
	font-size: var(--og-fs-sm);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--og-text-muted);
	margin-bottom: var(--og-s3);
}

.layout__main {
	min-width: 0; /* prevent grid blowout */
}

/* ---------- 4. Site header ---------- */
.site-header {
	background: var(--og-surface);
	border-bottom: 1px solid var(--og-border);
}

.site-header__utility {
	background: var(--og-surface-alt);
	border-bottom: 1px solid var(--og-border);
	font-size: var(--og-fs-xs);
	color: var(--og-text-muted);
}
.site-header__utility .utility-menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: var(--og-s4);
	height: 32px; align-items: center;
}
.site-header__utility a {
	color: var(--og-text-muted);
	text-decoration: none;
}
.site-header__utility a:hover { color: var(--og-accent); text-decoration: none; }

.site-header__main { padding: var(--og-s4) 0; }
.site-header__inner {
	display: flex; align-items: center;
	gap: var(--og-s5);
}

.site-logo { flex: 0 0 auto; }
.site-logo img { max-height: 44px; width: auto; }
.site-logo__text {
	font-size: var(--og-fs-xl);
	font-weight: 700;
	color: var(--og-accent);
	letter-spacing: -0.01em;
}

.site-header__search { flex: 1; max-width: 480px; }
.site-header__search .search-form {
	display: flex; gap: 0;
	border: 1px solid var(--og-border-strong);
	border-radius: var(--og-radius);
	overflow: hidden;
	background: var(--og-surface);
}
.site-header__search input[type="search"] {
	flex: 1; border: 0; padding: var(--og-s2) var(--og-s3);
	font-size: var(--og-fs-base);
	background: transparent;
	min-width: 0;
}
.site-header__search input[type="search"]:focus { outline: none; }
.site-header__search button {
	border: 0; background: var(--og-accent); color: #fff;
	padding: 0 var(--og-s4); font-size: var(--og-fs-sm);
	font-weight: 600; cursor: pointer;
}
.site-header__search button:hover { filter: brightness(1.1); }

.site-header__actions {
	display: flex; gap: var(--og-s2); flex: 0 0 auto;
}

.site-header__nav {
	border-top: 1px solid var(--og-border);
	background: var(--og-surface);
}
.primary-menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap;
}
.primary-menu li { position: relative; }
.primary-menu a {
	display: block;
	padding: var(--og-s3) var(--og-s4);
	color: var(--og-text);
	font-size: var(--og-fs-sm);
	font-weight: 500;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	color: var(--og-accent);
	border-bottom-color: var(--og-accent);
}

/* Category strip — horizontal scroller of all top-level RTCL categories. */
.category-strip {
	background: #2c3e50;
	color: #fff;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
}
.category-strip__inner {
	display: flex;
	gap: 0;
	white-space: nowrap;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--og-s4);
}
.category-strip__link {
	color: #d8dee5;
	font-size: var(--og-fs-sm);
	padding: var(--og-s3) var(--og-s4);
	text-decoration: none;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	transition: background-color 0.12s ease;
}
.category-strip__link:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	text-decoration: none;
}

/* ---------- 5. Buttons ---------- */
.btn {
	display: inline-block;
	padding: var(--og-s2) var(--og-s4);
	font-size: var(--og-fs-sm);
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: var(--og-radius);
	cursor: pointer;
	white-space: nowrap;
	transition: all 0.12s ease;
}
.btn:hover { text-decoration: none; }

.btn--primary {
	background: var(--og-accent);
	color: #fff;
	border-color: var(--og-accent);
}
.btn--primary:hover {
	background: #a30c25;
	border-color: #a30c25;
	color: #fff;
}

.btn--ghost {
	background: transparent;
	color: var(--og-text);
	border-color: var(--og-border-strong);
}
.btn--ghost:hover {
	background: var(--og-surface-alt);
	color: var(--og-accent);
	border-color: var(--og-accent);
}

.btn--large { padding: var(--og-s3) var(--og-s5); font-size: var(--og-fs-md); }
.btn--block { display: block; width: 100%; text-align: center; }

/* ---------- 6. Breadcrumbs ---------- */
.breadcrumbs {
	font-size: var(--og-fs-xs);
	color: var(--og-text-muted);
	padding: var(--og-s3) 0;
	margin: 0 0 var(--og-s2);
	display: flex; flex-wrap: wrap; align-items: center;
	gap: var(--og-s1);
}
.breadcrumbs .crumb { color: var(--og-link); text-decoration: none; }
.breadcrumbs .crumb:hover { text-decoration: underline; }
.breadcrumbs .crumb--current { color: var(--og-text-muted); }
.breadcrumbs .crumb-sep { color: var(--og-text-faint); margin: 0 var(--og-s1); }

/* ---------- 7. Archive header (sort + view toggle) ---------- */
.archive-header {
	display: flex; flex-wrap: wrap;
	justify-content: space-between; align-items: flex-end;
	gap: var(--og-s3);
	margin-bottom: var(--og-s4);
	padding-bottom: var(--og-s3);
	border-bottom: 1px solid var(--og-border);
}
.archive-title { margin: 0; font-size: var(--og-fs-xl); }
.archive-description { color: var(--og-text-muted); font-size: var(--og-fs-sm); margin-top: var(--og-s1); }

.archive-toolbar {
	display: flex; gap: var(--og-s3);
	align-items: center;
	margin-left: auto;
}

.view-toggle {
	display: inline-flex;
	border: 1px solid var(--og-border-strong);
	border-radius: var(--og-radius);
	overflow: hidden;
}
.view-toggle__btn {
	padding: var(--og-s2) var(--og-s3);
	font-size: var(--og-fs-xs);
	color: var(--og-text);
	text-decoration: none;
	background: var(--og-surface);
	border: none;
	border-right: 1px solid var(--og-border);
}
.view-toggle__btn:last-child { border-right: 0; }
.view-toggle__btn:hover { background: var(--og-surface-alt); text-decoration: none; }
.view-toggle__btn.is-active {
	background: var(--og-accent);
	color: #fff;
}

.sort-form select {
	padding: var(--og-s2) var(--og-s3);
	font-size: var(--og-fs-xs);
	border: 1px solid var(--og-border-strong);
	border-radius: var(--og-radius);
	background: var(--og-surface);
}

/* ---------- 8. Listings grid ---------- */
.listings-grid {
	display: grid;
	gap: var(--og-s3);
	grid-template-columns: 1fr;
}
@media (min-width: 700px) {
	.listings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
	.listings-grid { grid-template-columns: repeat(3, 1fr); }
}
.listings-grid--compact {
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* TABLE VIEW — single column, full-width horizontal cards.
   Triggered when body has class `view-table`. */
body.view-table .listings-grid {
	grid-template-columns: 1fr;
}

/* ---------- 9. Listing card ----------
   The signature element. Two layouts:
   - Grid view (default): vertical card, image on top, info below.
   - Table view: horizontal card, image left, info right. */

.listing-card {
	background: var(--og-surface);
	border: 1px solid var(--og-border);
	border-radius: var(--og-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.12s ease, box-shadow 0.12s ease;
	position: relative;
}
.listing-card:hover {
	border-color: var(--og-border-strong);
	box-shadow: var(--og-shadow);
}

.listing-card.is-featured {
	border-color: var(--og-featured);
	box-shadow: 0 0 0 1px var(--og-featured) inset;
}

.listing-card__thumb {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--og-surface-alt);
	overflow: hidden;
}
.listing-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s ease;
}
.listing-card:hover .listing-card__thumb img { transform: scale(1.03); }

.listing-card__no-image {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	color: var(--og-text-faint);
	font-size: var(--og-fs-xs);
	background: repeating-linear-gradient(
		45deg,
		var(--og-surface-alt),
		var(--og-surface-alt) 8px,
		#eef0f3 8px,
		#eef0f3 16px
	);
}

.listing-card__badges {
	position: absolute;
	top: var(--og-s2); left: var(--og-s2);
	display: flex; flex-wrap: wrap; gap: var(--og-s1);
	z-index: 2;
}

.badge {
	display: inline-block;
	padding: 2px 6px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 2px;
	color: #fff;
	background: #555;
	line-height: 1.4;
}
.badge--featured { background: var(--og-featured); color: #1a1a1a; }
.badge--new      { background: var(--og-success); }
.badge--sale     { background: var(--og-accent); }
.badge--urgent   { background: var(--og-danger); }
.badge--exchange { background: #6366f1; }

.listing-card__body {
	padding: var(--og-s3);
	display: flex;
	flex-direction: column;
	flex: 1;
	min-width: 0;
}

.listing-card__title {
	font-size: var(--og-fs-base);
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 var(--og-s2);
	/* Two-line clamp — keeps cards same height. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.6em;
}
.listing-card__title a {
	color: var(--og-text);
	text-decoration: none;
}
.listing-card__title a:hover {
	color: var(--og-accent);
	text-decoration: none;
}

/* The spec list — the most important visual idea of this theme. */
.listing-card__specs {
	list-style: none;
	margin: 0 0 var(--og-s3);
	padding: 0;
	font-size: var(--og-fs-xs);
	color: var(--og-text-muted);
}
.listing-card__specs li {
	display: flex;
	gap: var(--og-s1);
	padding: 1px 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.listing-card__specs .spec-label {
	font-weight: 600;
	color: var(--og-text);
}
.listing-card__specs .spec-value {
	color: var(--og-text-muted);
	overflow: hidden;
	text-overflow: ellipsis;
}

.listing-card__footer {
	margin-top: auto;
	padding-top: var(--og-s2);
	border-top: 1px dashed var(--og-border);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--og-s2);
}

.listing-card__price {
	font-size: var(--og-fs-md);
	font-weight: 700;
	color: var(--og-accent);
	line-height: 1.2;
}
.listing-card__price .price--on-call,
.listing-card__price .price--negotiable,
.listing-card__price .price--unset {
	color: var(--og-text-muted);
	font-weight: 500;
	font-size: var(--og-fs-sm);
	font-style: italic;
}
.listing-card__price .price-period {
	font-size: var(--og-fs-xs);
	color: var(--og-text-muted);
	font-weight: 500;
}

.listing-card__meta {
	display: flex; flex-direction: column;
	align-items: flex-end;
	font-size: 11px;
	color: var(--og-text-muted);
	text-align: right;
	line-height: 1.3;
}
.listing-card__location {
	font-weight: 600;
	color: var(--og-text);
}

/* TABLE VIEW — horizontal cards. */
body.view-table .listing-card {
	flex-direction: row;
}
body.view-table .listing-card__thumb {
	flex: 0 0 180px;
	aspect-ratio: 4 / 3;
	height: auto;
}
body.view-table .listing-card__body {
	padding: var(--og-s4);
}
body.view-table .listing-card__title {
	font-size: var(--og-fs-md);
	min-height: 0;
	-webkit-line-clamp: 1;
}
body.view-table .listing-card__specs {
	display: flex; flex-wrap: wrap;
	gap: var(--og-s4);
	font-size: var(--og-fs-sm);
}
body.view-table .listing-card__specs li { padding: 0; }
body.view-table .listing-card__price {
	font-size: var(--og-fs-lg);
}

/* ---------- 10. Pagination ---------- */
.pagination {
	margin: var(--og-s6) 0 var(--og-s4);
	display: flex; justify-content: center;
}
.pagination ul {
	list-style: none; margin: 0; padding: 0;
	display: flex; gap: var(--og-s1);
	flex-wrap: wrap;
}
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 32px; height: 32px;
	padding: 0 var(--og-s2);
	font-size: var(--og-fs-sm);
	color: var(--og-text);
	background: var(--og-surface);
	border: 1px solid var(--og-border);
	border-radius: var(--og-radius);
	text-decoration: none;
}
.pagination .page-numbers:hover { background: var(--og-surface-alt); text-decoration: none; }
.pagination .page-numbers.current {
	background: var(--og-accent); color: #fff; border-color: var(--og-accent);
}
.pagination .page-numbers.dots { border-color: transparent; background: transparent; }

/* ---------- 11. Single listing detail page ---------- */
.listing-detail {
	margin: var(--og-s5) 0 var(--og-s8);
}

.listing-detail__head {
	background: var(--og-surface);
	border: 1px solid var(--og-border);
	border-radius: var(--og-radius);
	padding: var(--og-s5);
	margin-bottom: var(--og-s4);
}

.listing-detail__head-meta {
	display: flex; flex-wrap: wrap; gap: var(--og-s3);
	font-size: var(--og-fs-xs);
	color: var(--og-text-muted);
	margin-bottom: var(--og-s2);
}
.listing-detail__category {
	color: var(--og-accent);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.listing-detail__id {
	margin-left: auto;
	font-family: ui-monospace, "SF Mono", Consolas, monospace;
	font-size: 11px;
}

.listing-detail__title {
	font-size: var(--og-fs-2xl);
	margin: 0 0 var(--og-s3);
	line-height: 1.2;
}

.listing-detail__badges {
	display: flex; flex-wrap: wrap; gap: var(--og-s1);
	margin-bottom: var(--og-s3);
}

.listing-detail__price-block {
	display: flex; align-items: baseline; gap: var(--og-s3);
	flex-wrap: wrap;
}
.listing-detail__price {
	font-size: var(--og-fs-2xl);
	font-weight: 700;
	color: var(--og-accent);
}
.listing-detail__price .price-period {
	font-size: var(--og-fs-md);
	color: var(--og-text-muted);
	font-weight: 500;
}
.listing-detail__negotiable {
	font-size: var(--og-fs-sm);
	color: var(--og-text-muted);
	font-style: italic;
}

/* Detail body — main column + aside. */
.listing-detail__body {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: var(--og-s5);
}
@media (max-width: 900px) {
	.listing-detail__body { grid-template-columns: 1fr; }
}

.listing-detail__main { min-width: 0; }

.listing-section-title {
	font-size: var(--og-fs-md);
	margin: 0 0 var(--og-s3);
	padding-bottom: var(--og-s2);
	border-bottom: 2px solid var(--og-border);
	color: var(--og-text);
}

/* Gallery */
.listing-gallery {
	background: var(--og-surface);
	border: 1px solid var(--og-border);
	border-radius: var(--og-radius);
	padding: var(--og-s4);
	margin-bottom: var(--og-s4);
}
.listing-gallery__primary {
	background: #000;
	border-radius: var(--og-radius);
	overflow: hidden;
	margin-bottom: var(--og-s3);
}
.listing-gallery__primary-img {
	width: 100%; height: auto;
	max-height: 480px;
	object-fit: contain;
	background: #000;
	display: block;
	margin: 0 auto;
}
.listing-gallery__thumbs {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
	gap: var(--og-s2);
}
.listing-gallery__thumb {
	display: block; width: 100%; padding: 0;
	background: none; border: 2px solid transparent;
	border-radius: var(--og-radius);
	overflow: hidden;
	cursor: pointer;
	aspect-ratio: 4 / 3;
}
.listing-gallery__thumb img {
	width: 100%; height: 100%; object-fit: cover;
}
.listing-gallery__thumb:hover { border-color: var(--og-border-strong); }
.listing-gallery__thumb.is-active { border-color: var(--og-accent); }

/* Spec table — definition list, two columns on wide screens. */
.listing-specs {
	background: var(--og-surface);
	border: 1px solid var(--og-border);
	border-radius: var(--og-radius);
	padding: var(--og-s4);
	margin-bottom: var(--og-s4);
}
.listing-specs__list {
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}
@media (min-width: 600px) {
	.listing-specs__list { grid-template-columns: 1fr 1fr; gap: 0 var(--og-s5); }
}
.listing-specs__row {
	display: grid;
	grid-template-columns: 45% 55%;
	padding: var(--og-s2) 0;
	border-bottom: 1px solid var(--og-border);
	font-size: var(--og-fs-sm);
	gap: var(--og-s2);
}
.listing-specs__row dt {
	color: var(--og-text-muted);
	font-weight: 400;
}
.listing-specs__row dd {
	margin: 0;
	color: var(--og-text);
	font-weight: 600;
}

/* Description */
.listing-description {
	background: var(--og-surface);
	border: 1px solid var(--og-border);
	border-radius: var(--og-radius);
	padding: var(--og-s4);
	margin-bottom: var(--og-s4);
}
.listing-description__body {
	font-size: var(--og-fs-base);
	line-height: 1.6;
	color: var(--og-text);
}
.listing-description__body p:last-child { margin-bottom: 0; }

/* Location */
.listing-location {
	background: var(--og-surface);
	border: 1px solid var(--og-border);
	border-radius: var(--og-radius);
	padding: var(--og-s4);
	margin-bottom: var(--og-s4);
}
.listing-location__coords {
	margin-top: var(--og-s2);
	font-size: var(--og-fs-sm);
}

/* Similar listings — overrides grid spacing for this context. */
.similar-listings { margin-top: var(--og-s6); }
.similar-listings .listings-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ---------- 12. Seller card (sticky aside) ---------- */
.listing-detail__aside { min-width: 0; }
@media (min-width: 901px) {
	.listing-detail__aside .seller-card { position: sticky; top: var(--og-s4); }
}

.seller-card {
	background: var(--og-surface);
	border: 1px solid var(--og-border);
	border-radius: var(--og-radius);
	padding: var(--og-s4);
	margin-bottom: var(--og-s4);
}

.seller-card__head {
	display: flex; gap: var(--og-s3); align-items: center;
	margin-bottom: var(--og-s3);
}
.seller-card__avatar img,
.seller-card__avatar-placeholder {
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--og-surface-alt);
	display: block;
}

.seller-card__name {
	font-size: var(--og-fs-md);
	font-weight: 600;
}
.seller-card__name a { color: var(--og-text); text-decoration: none; }
.seller-card__name a:hover { color: var(--og-accent); }
.seller-card__count {
	font-size: var(--og-fs-xs);
	color: var(--og-text-muted);
	margin-top: 2px;
}

.seller-card__verifications {
	list-style: none; margin: 0 0 var(--og-s3); padding: 0;
	display: flex; flex-wrap: wrap; gap: var(--og-s1);
}
.seller-card__verifications li {
	font-size: var(--og-fs-xs);
	padding: 2px var(--og-s2);
	border-radius: 2px;
	background: rgba(22, 163, 74, 0.1);
	color: var(--og-success);
	font-weight: 600;
}

.seller-card__contact { margin-bottom: var(--og-s2); }
.seller-card__phone {
	display: block;
	margin-top: var(--og-s2);
	padding: var(--og-s2) var(--og-s4);
	font-size: var(--og-fs-md);
	font-weight: 700;
	font-family: ui-monospace, "SF Mono", Consolas, monospace;
	text-align: center;
	background: var(--og-surface-alt);
	border-radius: var(--og-radius);
	color: var(--og-text);
	border: 1px dashed var(--og-border-strong);
	text-decoration: none;
}

.seller-card__all {
	display: block;
	text-align: center;
	font-size: var(--og-fs-sm);
	margin-top: var(--og-s3);
	padding-top: var(--og-s3);
	border-top: 1px solid var(--og-border);
}

.seller-card__actions {
	display: flex; gap: var(--og-s2);
	margin-top: var(--og-s3);
	padding-top: var(--og-s3);
	border-top: 1px solid var(--og-border);
}
.seller-card__action {
	flex: 1;
	background: transparent;
	border: 1px solid var(--og-border-strong);
	color: var(--og-text-muted);
	padding: var(--og-s2);
	border-radius: var(--og-radius);
	font-size: var(--og-fs-xs);
	font-weight: 500;
	transition: all 0.12s ease;
}
.seller-card__action:hover {
	color: var(--og-accent);
	border-color: var(--og-accent);
	background: rgba(200, 16, 46, 0.04);
}

/* ---------- 13. Seller profile (author archive) ---------- */
.seller-profile {
	margin: var(--og-s5) 0;
}
.seller-profile__head {
	background: var(--og-surface);
	border: 1px solid var(--og-border);
	border-radius: var(--og-radius);
	padding: var(--og-s5);
	margin-bottom: var(--og-s4);
	display: flex; gap: var(--og-s5);
	align-items: flex-start;
}
@media (max-width: 600px) {
	.seller-profile__head { flex-direction: column; align-items: flex-start; }
}
.seller-profile__avatar img {
	width: 96px; height: 96px;
	border-radius: 50%;
}
.seller-profile__name { margin: 0 0 var(--og-s2); }
.seller-profile__stats {
	display: flex; flex-wrap: wrap; gap: var(--og-s4);
	font-size: var(--og-fs-sm); color: var(--og-text-muted);
	margin-bottom: var(--og-s3);
}
.seller-profile__stats .is-verified { color: var(--og-success); font-weight: 600; }
.seller-profile__bio { color: var(--og-text); margin: 0; }

/* ---------- 14. No-results / 404 / notices ---------- */
.no-results {
	background: var(--og-surface);
	border: 1px dashed var(--og-border-strong);
	border-radius: var(--og-radius);
	padding: var(--og-s8);
	text-align: center;
	color: var(--og-text-muted);
}
.no-results h2 { color: var(--og-text); }

.notice {
	padding: var(--og-s3) var(--og-s4);
	border-radius: var(--og-radius);
	margin: var(--og-s3) 0;
	font-size: var(--og-fs-sm);
	background: #fef9c3;
	border: 1px solid #fde047;
	color: #713f12;
	text-align: left;
}
.notice--info {
	background: #dbeafe;
	border-color: #93c5fd;
	color: #1e3a8a;
}

/* ---------- 15. Footer ---------- */
.site-footer {
	margin-top: var(--og-s8);
	background: #1f2937;
	color: #d1d5db;
}

.site-footer__cta {
	background: #111827;
	padding: var(--og-s6) 0;
	border-bottom: 1px solid #374151;
}
.site-footer__cta-inner {
	display: flex; flex-wrap: wrap;
	justify-content: space-between; align-items: center;
	gap: var(--og-s4);
}
.site-footer__cta-title {
	color: #fff; margin: 0 0 var(--og-s1);
	font-size: var(--og-fs-xl);
}
.site-footer__cta-sub { color: #9ca3af; margin: 0; }

.site-footer__main { padding: var(--og-s8) 0; }
.site-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--og-s6);
}
.site-footer__col h3 {
	color: #fff;
	font-size: var(--og-fs-md);
	margin-bottom: var(--og-s3);
}
.footer-list {
	list-style: none; margin: 0; padding: 0;
	font-size: var(--og-fs-sm);
}
.footer-list li { padding: 2px 0; }
.footer-list a { color: #9ca3af; text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }

.site-footer__about { color: #9ca3af; font-size: var(--og-fs-sm); }

.site-footer__bottom {
	background: #111827;
	padding: var(--og-s4) 0;
	font-size: var(--og-fs-xs);
	color: #9ca3af;
	text-align: center;
}

/* ---------- 15.5 Static pages (Contact, RTCL dashboard, etc.) ---------- */
.page-content {
	background: var(--og-surface);
	border: 1px solid var(--og-border);
	border-radius: var(--og-radius);
	padding: var(--og-s6);
	margin: var(--og-s5) 0 var(--og-s8);
}
.page-content .page-header {
	margin-bottom: var(--og-s5);
	padding-bottom: var(--og-s4);
	border-bottom: 2px solid var(--og-border);
}
.page-content .page-title { margin: 0; }
.page-content .page-body p { font-size: var(--og-fs-md); line-height: 1.6; }

/* ---------- 16. Mobile tweaks ---------- */
@media (max-width: 600px) {
	.site-header__inner { flex-wrap: wrap; }
	.site-header__search { order: 3; flex: 1 1 100%; max-width: none; margin-top: var(--og-s3); }
	.site-header__actions { margin-left: auto; }

	.archive-toolbar { flex-wrap: wrap; }
	.archive-toolbar > * { flex: 1; }

	.listing-detail__head { padding: var(--og-s4); }
	.listing-detail__title { font-size: var(--og-fs-xl); }
	.listing-detail__price { font-size: var(--og-fs-xl); }
	.listing-detail__id { margin-left: 0; flex-basis: 100%; }
}
