/*
Theme Name: Cruiser Classifieds
Theme URI: https://example.com/cruiser-classifieds
Author: Exmotech
Description: A members-only classifieds theme for Land Cruiser vehicles, parts and gear. Searchable thumbnail grid, filters by series/year/price/mileage, front-end "Post an ad" with photo uploads, seller dashboard, saved listings, private seller messaging and public Q&A on every listing.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cruiser-classifieds
Tags: classifieds, marketplace, grid-layout, custom-colors, custom-logo, custom-menu
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--bg: #f4f1ea;
	--surface: #ffffff;
	--sunken: #ebe6da;
	--ink: #1d211e;
	--ink-2: #3c423d;
	--muted: #6e716a;
	--line: #e0dacc;
	--line-strong: #cfc7b5;
	--accent: #b8432f;
	--accent-ink: #ffffff;
	--olive: #48573f;
	--sand: #e8dcc0;
	--ok: #2f6b3a;
	--warn: #8a5a00;
	--danger: #a32a1c;

	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(29, 33, 30, .06), 0 2px 8px rgba(29, 33, 30, .04);
	--shadow-lg: 0 8px 30px rgba(29, 33, 30, .12);
	--container: 1320px;

	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display: "Archivo", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 16px/1.5 var(--font);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; }
h2 { font-size: 1.25rem; font-weight: 750; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 12px; top: 12px; z-index: 1000; padding: 10px 16px;
	background: var(--ink); color: #fff; border-radius: var(--radius-sm);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.icon { flex: none; vertical-align: middle; }

/* ==========================================================================
   Buttons & form controls
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 16px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 650; font-size: .95rem; line-height: 1.2; text-decoration: none;
	cursor: pointer; white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s, transform .05s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 86%, #000); color: var(--accent-ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-danger:hover { border-color: var(--danger); color: var(--danger); }
.btn-lg { padding: 13px 22px; font-size: 1rem; }
.btn-sm { padding: 6px 12px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.icon-btn { background: none; border: 0; padding: 6px; cursor: pointer; border-radius: 50%; }
.icon-btn:hover { background: var(--sunken); }

.link-muted { color: var(--muted); font-size: .9rem; }
.link-arrow { font-weight: 650; text-decoration: none; color: var(--accent); }

input[type="text"], input[type="search"], input[type="email"], input[type="password"],
input[type="tel"], input[type="number"], input[type="url"], input:not([type]), select, textarea {
	width: 100%; padding: 10px 12px;
	background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
	transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
	outline: none; border-color: var(--ink);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent);
}
select {
	appearance: none; -webkit-appearance: none; padding-right: 34px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236e716a' stroke-width='1.8'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center;
}
textarea { resize: vertical; min-height: 90px; }
.field { margin-bottom: 14px; min-width: 0; }
.field > label, .field > legend, fieldset.field legend { display: block; font-weight: 650; font-size: .88rem; margin-bottom: 6px; color: var(--ink-2); padding: 0; }
fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.req { color: var(--accent); }
.hint { color: var(--muted); font-size: .85rem; margin: 6px 0 0; }
.hint-inline { color: var(--muted); font-weight: 400; }
.check { display: flex; align-items: center; gap: 8px; font-size: .92rem; cursor: pointer; margin: 4px 0 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.field-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 16px; }
.field-grid.two { grid-template-columns: 1fr 1fr; }
.field-grid [hidden], [data-group][hidden] { display: none !important; }

.input-prefix { display: flex; align-items: stretch; }
.input-prefix span {
	display: flex; align-items: center; padding: 0 12px; background: var(--sunken);
	border: 1px solid var(--line-strong); border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
	color: var(--muted); font-weight: 650;
}
.input-prefix input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

/* Notices */
.notice { padding: 12px 16px; border-radius: var(--radius-sm); margin: 0 0 16px; border: 1px solid; font-size: .95rem; }
.notice ul { margin: 0; padding-left: 18px; }
.notice-success { background: #edf5ec; border-color: #c4dcc1; color: #1f4d27; }
.notice-info { background: #f3efe4; border-color: var(--line-strong); color: var(--ink-2); }
.notice-error { background: #fbeeeb; border-color: #efc5bd; color: #7a1f14; }
.flash:empty { display: none; }
.flash { padding-top: 16px; }
.flash .notice { margin: 0; }

/* Badges & chips */
.badge {
	display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 6px;
	font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
	background: var(--ink); color: #fff;
}
.badge-sold { background: var(--ink); }
.badge-wanted { background: var(--olive); }
.badge-seller { background: var(--sand); color: var(--ink); }
.badge-lg { font-size: .9rem; padding: 6px 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--surface) 92%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { flex: none; }
.brand img { max-height: 44px; width: auto; }
.brand-text { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-text:hover { color: var(--ink); }
.brand-mark {
	width: 32px; height: 32px; border-radius: 8px; background: var(--accent); position: relative; flex: none;
	box-shadow: inset 0 -6px 0 rgba(0,0,0,.18);
}
.brand-mark::before { /* little boxy windshield */
	content: ""; position: absolute; left: 7px; right: 7px; top: 7px; height: 9px;
	border: 2px solid #fff; border-bottom-width: 0; border-radius: 3px 3px 0 0;
}
.brand-mark::after {
	content: ""; position: absolute; left: 5px; right: 5px; top: 18px; height: 2px; background: #fff; border-radius: 2px;
}
.brand-name { font-family: var(--font-display); font-weight: 850; font-size: 1.15rem; letter-spacing: -.01em; }

.header-search {
	flex: 1; max-width: 560px; position: relative; display: flex; align-items: center;
}
.header-search .icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.header-search input {
	border-radius: 999px; padding: 11px 16px 11px 42px; background: var(--sunken); border-color: transparent;
}
.header-search input:focus { background: var(--surface); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.header-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.header-menu a, .header-link {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .94rem;
}
.header-menu a:hover, .header-link:hover { background: var(--sunken); color: var(--ink); }
.header-account img { border-radius: 50%; }

/* ==========================================================================
   Home
   ========================================================================== */
.hero {
	background:
		radial-gradient(1200px 400px at 85% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
		linear-gradient(180deg, #23291f 0%, #2d3527 100%);
	color: #f4efe3;
	padding: 64px 0 56px;
	position: relative; overflow: hidden;
}
.hero::after { /* topo-line texture */
	content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
	background-image: repeating-radial-gradient(circle at 20% 120%, transparent 0 22px, #fff 22px 23px);
}
.hero-inner { position: relative; z-index: 1; }
.hero-title { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -.02em; max-width: 14ch; margin-bottom: 12px; }
.hero-text { font-size: 1.1rem; max-width: 52ch; color: #d9d2c0; margin-bottom: 28px; }
.hero-search {
	display: grid; grid-template-columns: 2fr 1.2fr 1.2fr auto; gap: 0; align-items: stretch;
	background: var(--surface); color: var(--ink); border-radius: 16px; padding: 6px; box-shadow: var(--shadow-lg);
	max-width: 980px;
}
.hs-field { padding: 8px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.hs-field label { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hs-field input, .hs-field select { border: 0; padding: 2px 0; background-color: transparent; box-shadow: none; font-weight: 600; }
.hs-field select { background-position: right 0 center; padding-right: 20px; }
.hs-field:nth-last-child(2) { border-right: 0; }
.hero-search .btn { border-radius: 12px; }
.hero-stats { margin: 18px 0 0; color: #cfc7b3; font-size: .95rem; display: flex; gap: 10px; flex-wrap: wrap; }
.hero-stats a { color: #fff; font-weight: 650; }

.section { padding: 40px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.section-head h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 850; margin: 0; }

.series-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.series-tile {
	display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; text-decoration: none;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	transition: border-color .15s, transform .15s, box-shadow .15s;
}
.series-tile:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.series-name { font-weight: 800; }
.series-count { font-size: .85rem; color: var(--muted); }

.cta-band {
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	background: var(--accent); color: #fff; border-radius: 20px; padding: 32px 36px; margin: 24px 0 48px;
}
.cta-band h2 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 900; margin-bottom: 4px; }
.cta-band p { margin: 0; opacity: .9; }

/* ==========================================================================
   Listing grid & cards
   ========================================================================== */
.listing-grid {
	display: grid; gap: 22px 16px;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.card { position: relative; min-width: 0; }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.card-media {
	position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
	background: var(--sunken);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-link:hover .card-media img { transform: scale(1.035); }
.card-badges { position: absolute; left: 10px; top: 10px; display: flex; gap: 6px; }
.card-count {
	position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px;
	padding: 3px 8px; border-radius: 999px; background: rgba(20, 22, 20, .62); color: #fff; font-size: .75rem; font-weight: 650;
}
.card-count .icon { width: 14px; height: 14px; }
.card.is-sold .card-media img { filter: grayscale(.85) brightness(.9); }
.card-body { padding: 10px 2px 0; }
.card-price { font-weight: 850; font-size: 1.12rem; letter-spacing: -.01em; }
.price-note { font-size: .78em; font-weight: 650; color: var(--muted); }
.card-title {
	font-size: .97rem; font-weight: 550; margin: 2px 0 2px; line-height: 1.3;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-facts { font-size: .85rem; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; font-size: .8rem; color: var(--muted); }
.card-loc { display: inline-flex; align-items: center; gap: 3px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-loc .icon { width: 14px; height: 14px; }
.card-foot time { flex: none; }

.fav-btn {
	cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
	color: var(--ink);
}
.fav-btn .icon { transition: transform .15s, fill .15s; }
.fav-btn.is-saved .icon { fill: var(--accent); stroke: var(--accent); }
.fav-btn:active .icon { transform: scale(.85); }
.card-fav {
	position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%;
	border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow);
}
.card-fav:hover { background: #fff; }

/* ==========================================================================
   Archive layout
   ========================================================================== */
.chip-row { display: flex; gap: 8px; padding: 18px 0 6px; overflow-x: auto; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-link {
	flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
	text-decoration: none; font-weight: 600; font-size: .9rem; background: var(--surface);
}
.chip-link:hover { border-color: var(--ink); color: var(--ink); }
.chip-link.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.archive-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; padding: 14px 0 48px; align-items: start; }
.filters {
	position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px;
}
.filters-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.filters-head h2 { font-size: 1.05rem; margin: 0; }
.filters-close { display: none; }
.range-inputs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; align-items: center; color: var(--muted); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--sunken); border-radius: var(--radius-sm); padding: 3px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: 6px 4px; border-radius: 6px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.seg input:checked + span { background: var(--surface); box-shadow: var(--shadow); color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); }
.filters-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 6px; }
.filters-backdrop { display: none; }

.results { min-width: 0; }
.results-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.results-title { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 850; margin: 0; }
.results-count { margin: 2px 0 0; color: var(--muted); }
.results-tools { display: flex; gap: 8px; align-items: center; }
.sort-form select { border-radius: 999px; padding-top: 9px; padding-bottom: 9px; min-width: 190px; font-weight: 600; }
.filters-toggle { display: none; }

.pagination, .nav-links { display: flex; justify-content: center; gap: 6px; margin: 36px 0 0; flex-wrap: wrap; }
.page-numbers {
	min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px;
	border-radius: 999px; text-decoration: none; font-weight: 650; border: 1px solid var(--line-strong); background: var(--surface);
}
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-numbers.dots { border: 0; background: none; }

.empty-state {
	text-align: center; padding: 56px 24px; background: var(--surface); border: 1px dashed var(--line-strong);
	border-radius: var(--radius);
}
.empty-state > .icon { width: 44px; height: 44px; color: var(--muted); margin: 0 auto 10px; display: block; }
.empty-state p { color: var(--muted); }
.empty-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Single listing
   ========================================================================== */
.breadcrumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .88rem; color: var(--muted); padding: 18px 0 14px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

.single-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.side-sticky { position: sticky; top: 84px; display: grid; gap: 14px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.side-sticky .panel { margin-bottom: 0; }
.panel-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 14px; }

.gallery { margin-bottom: 16px; }
.gallery-stage {
	position: relative; background: #141714; border-radius: var(--radius); overflow: hidden;
	aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
}
.gallery-main { width: 100%; height: 100%; object-fit: contain; }
.gallery-main.is-placeholder { object-fit: cover; }
.gallery.is-sold .gallery-main { filter: grayscale(.7); }
.gallery-stage .badge-sold { position: absolute; left: 14px; top: 14px; }
.gallery-nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
	border: 0; background: rgba(255,255,255,.9); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center;
	box-shadow: var(--shadow); opacity: .85; transition: opacity .15s;
}
.gallery-nav:hover { opacity: 1; }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-counter {
	position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px;
	background: rgba(0,0,0,.6); color: #fff; font-size: .8rem; font-weight: 650;
}
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.gallery-thumb {
	flex: none; width: 92px; aspect-ratio: 4/3; padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm);
	overflow: hidden; cursor: pointer; background: var(--sunken); opacity: .7; transition: opacity .15s, border-color .15s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-thumb.is-active { border-color: var(--ink); opacity: 1; }

.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0; margin: 0; }
.spec-grid > div { padding: 10px 0; border-bottom: 1px solid var(--line); padding-right: 12px; }
.spec-grid dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.spec-grid dd { margin: 2px 0 0; font-weight: 600; }
.prose { font-size: 1rem; line-height: 1.65; overflow-wrap: anywhere; }
.prose p:last-child { margin-bottom: 0; }

.buy-price { font-size: 2rem; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.buy-title { font-size: 1.25rem; font-weight: 700; margin: 6px 0 12px; font-family: var(--font); letter-spacing: 0; }
.fact-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.fact-chips li { padding: 4px 10px; border-radius: 999px; background: var(--sunken); font-size: .85rem; font-weight: 650; }
.buy-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--muted); margin: 0 0 14px; }
.buy-meta span { display: inline-flex; align-items: center; gap: 4px; }
.buy-meta .icon { width: 16px; height: 16px; }
.buy-actions, .owner-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.owner-actions { margin-bottom: 8px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-strong); }

.seller { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.seller img { border-radius: 50%; }
.seller > div { display: flex; flex-direction: column; line-height: 1.35; }
.seller .muted { font-size: .85rem; }
.seller-more { font-size: .85rem; font-weight: 650; color: var(--accent); text-decoration: none; }
.seller-box .btn-block + .btn-block, .seller-box .btn-block + form, .seller-box > .btn + .contact-form { margin-top: 10px; }
.contact-form { margin-top: 12px; }
.contact-form label { font-weight: 700; font-size: .9rem; display: block; margin-bottom: 6px; }
.contact-form textarea { margin-bottom: 10px; min-height: 96px; }
.safety h2 { display: flex; align-items: center; gap: 8px; font-size: .95rem; margin-bottom: 8px; }
.safety ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .88rem; }
.safety li + li { margin-top: 4px; }

/* Q&A */
.qa-list, .qa-list .children { list-style: none; margin: 0; padding: 0; }
.qa-list .children { margin-left: 52px; border-left: 2px solid var(--line); padding-left: 14px; }
.qa-item { padding: 12px 0; }
.qa-item + .qa-item { border-top: 1px solid var(--line); }
.qa-list .children .qa-item { border-top: 0; padding-bottom: 4px; }
.qa-body { display: flex; gap: 12px; }
.qa-avatar img { border-radius: 50%; }
.qa-content { flex: 1; min-width: 0; }
.qa-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; }
.qa-meta time { color: var(--muted); font-size: .82rem; }
.qa-text p { margin: 4px 0 6px; }
.qa-pending { color: var(--warn); font-size: .85rem; margin: 4px 0; }
.comment-reply-link { font-size: .82rem; font-weight: 650; color: var(--muted); text-decoration: none; }
.comment-reply-link:hover { color: var(--accent); }
.qa-item.is-seller > .qa-body .qa-content { background: #f7f3e9; border-radius: var(--radius-sm); padding: 8px 12px; }
.comment-respond { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.qa-form-title { font-size: 1rem; margin-bottom: 8px; }
.qa-form-title small { margin-left: 8px; font-weight: 500; }
.comment-form p { margin: 0 0 10px; }
.qa-login { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 16px 0 0; }

.related { padding-top: 40px; padding-bottom: 32px; }

/* ==========================================================================
   Post-ad form
   ========================================================================== */
.page-head { padding: 28px 0 12px; }
.page-head h1 { font-family: var(--font-display); font-weight: 900; margin-bottom: 4px; }
.listing-form { padding-bottom: 56px; }
.form-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 14px; }
.form-section h2 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 14px; }
.step {
	width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .82rem;
	display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.type-option { position: relative; cursor: pointer; }
.type-option input { position: absolute; opacity: 0; inset: 0; }
.type-card {
	display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px; text-align: center;
	border: 1.5px solid var(--line-strong); border-radius: var(--radius); font-weight: 700; transition: border-color .15s, background-color .15s;
}
.type-icon .icon { width: 30px; height: 30px; }
.type-option:hover .type-card { border-color: var(--ink); }
.type-option input:checked + .type-card { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, #fff); color: var(--accent); }
.type-option input:focus-visible + .type-card { outline: 3px solid color-mix(in srgb, var(--accent) 50%, transparent); }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .88rem; font-weight: 600; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.dropzone {
	position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	padding: 30px 20px; border: 2px dashed var(--line-strong); border-radius: var(--radius); text-align: center;
	cursor: pointer; background: var(--bg); transition: border-color .15s, background-color .15s; margin-top: 12px;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, #fff); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone .icon { width: 32px; height: 32px; color: var(--accent); }
.dropzone span { color: var(--muted); font-size: .88rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.photo-grid:empty { display: none; }
.photo-preview { margin-top: 12px; }
.photo-tile { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: var(--sunken); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; }
.photo-tile.is-removed img { opacity: .3; filter: grayscale(1); }
.photo-cover, .photo-remove {
	position: absolute; left: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px;
	background: rgba(255,255,255,.92); font-size: .75rem; font-weight: 650; cursor: pointer;
}
.photo-cover { top: 6px; }
.photo-remove { bottom: 6px; }
.photo-x {
	position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0;
	background: rgba(0,0,0,.65); color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.photo-preview .photo-tile:first-child::after {
	content: "Cover"; position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 999px;
	background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700;
}
.existing-photos ~ .photo-preview .photo-tile:first-child::after { content: none; }
.form-submit { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 6px 2px; }
.form-submit .hint { margin: 0; }

/* ==========================================================================
   Auth & account
   ========================================================================== */
.auth-wrap { display: flex; justify-content: center; padding: 48px 20px 72px; }
.auth-card { width: 100%; max-width: 460px; padding: 32px; }
.auth-card h1 { font-family: var(--font-display); font-weight: 900; margin-bottom: 4px; }
.auth-form { margin-top: 18px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; }
.auth-row .check { margin: 0; }
.auth-switch { text-align: center; margin: 18px 0 0; color: var(--muted); }
.auth-switch a { font-weight: 700; color: var(--accent); }

.account-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 0 18px; flex-wrap: wrap; }
.account-user { display: flex; align-items: center; gap: 14px; }
.account-user img { border-radius: 50%; }
.account-user h1 { font-family: var(--font-display); font-weight: 900; margin: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-strong); margin-bottom: 22px; overflow-x: auto; }
.tab { padding: 10px 14px; text-decoration: none; font-weight: 650; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--ink); border-bottom-color: var(--accent); }

.my-listings { list-style: none; margin: 0 0 48px; padding: 0; display: grid; gap: 10px; }
.my-listing {
	display: grid; grid-template-columns: 112px 1fr auto; gap: 16px; align-items: center;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px;
}
.my-thumb { display: block; aspect-ratio: 4/3; border-radius: var(--radius-sm); overflow: hidden; background: var(--sunken); }
.my-thumb img { width: 100%; height: 100%; object-fit: cover; }
.my-title { font-weight: 700; text-decoration: none; display: block; margin-bottom: 4px; }
.my-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .88rem; }
.my-meta span { display: inline-flex; align-items: center; gap: 4px; }
.my-meta .icon { width: 16px; height: 16px; color: var(--muted); }
.my-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.status { padding: 2px 8px; border-radius: 6px; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.status-publish { background: #e3f0e2; color: var(--ok); }
.status-pending { background: #f7ecd4; color: var(--warn); }
.status-ccl_expired, .status-draft { background: var(--sunken); color: var(--muted); }
.status-sold { background: var(--ink); color: #fff; }
.narrow-form { max-width: 560px; margin-bottom: 48px; }

.page-content { padding: 32px; margin-top: 28px; }
.page-content h1 { font-family: var(--font-display); font-weight: 900; }
.post-list { display: grid; gap: 12px; padding-bottom: 40px; }
.post-hero { margin: 0 0 20px; border-radius: var(--radius); overflow: hidden; }
.search-form { display: flex; gap: 8px; }

/* ==========================================================================
   Banner spaces
   ========================================================================== */
.ccx-strip-header { padding: 16px 0; }
.ccx-strip-header + .site-main .flash { padding-top: 0; }
.ccx-strip-home { padding: 36px 0 0; }
.ccx-strip-inner { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; overflow: hidden; }
.ccx-strip-link, .ccx-strip-inner picture { display: block; }
.ccx-strip-img { width: auto; max-width: 100%; height: auto; margin: 0 auto; border-radius: var(--radius); }
.ccx-strip-link { width: auto; max-width: 100%; }
.ccx-strip-link:hover .ccx-strip-img { opacity: .94; }
.ccx-strip-note { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ccx-kind-code .ccx-strip-inner > *, .ccx-kind-widgets .ccx-strip-inner > * { max-width: 100%; }
.ccx-kind-code ins.adsbygoogle { display: block; width: 100%; }
.ccx-strip-widget { width: 100%; }
.ccx-strip-widget + .ccx-strip-widget { margin-top: 12px; }
.ccx-strip-widget img { margin: 0 auto; border-radius: var(--radius); }
.ccx-strip-widget-title { font-size: .9rem; color: var(--muted); }
.ccx-strip-hint { width: 100%; padding: 22px; border: 2px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); font-size: .9rem; }
.ccx-strip-empty { min-height: 1px; }
@media (max-width: 760px) {
	.ccx-on-desktop { display: none; }
	.ccx-strip-header { padding: 10px 0; }
	.ccx-strip-home { padding-top: 24px; }
}
@media (min-width: 761px) {
	.ccx-on-mobile { display: none; }
}

/* ==========================================================================
   WooCommerce shop
   ========================================================================== */
.header-cart { position: relative; padding-right: 10px; }
.cart-count {
	position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
	background: var(--accent); color: #fff; font-size: .7rem; font-weight: 800; line-height: 18px; text-align: center;
}
.cart-count.is-empty { display: none; }
.header-cart .icon { width: 22px; height: 22px; }

.shop-wrap { padding: 0 20px 56px; }
.shop-wrap .woocommerce-breadcrumb { padding: 18px 0 6px; margin: 0; }
.woocommerce-products-header { padding: 6px 0 4px; }
.woocommerce-products-header__title { font-family: var(--font-display); font-weight: 900; margin: 0; }
.term-description { color: var(--muted); }
.woocommerce .woocommerce-result-count { color: var(--muted); margin: 10px 0 18px; }
.woocommerce .woocommerce-ordering { margin: 0 0 18px; }
.woocommerce .woocommerce-ordering select { border-radius: 999px; min-width: 210px; font-weight: 600; }

/* Product grid — same feel as the listing cards */
.woocommerce ul.products, .woocommerce-page ul.products {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 16px;
	margin: 0 0 8px; padding: 0; clear: both;
}
.woocommerce ul.products::before, .woocommerce ul.products::after,
.woocommerce-page ul.products::before, .woocommerce-page ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	float: none !important; width: auto !important; margin: 0 !important; padding: 0;
	display: flex; flex-direction: column; position: relative; min-width: 0;
}
.woocommerce ul.products li.product a.woocommerce-loop-product__link { display: block; text-decoration: none; color: inherit; flex: 1; }
.woocommerce ul.products li.product a img {
	width: 100%; aspect-ratio: 1 / 1; object-fit: cover; margin: 0 0 10px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--line); transition: transform .35s ease;
}
.woocommerce ul.products li.product a:hover img { transform: scale(1.02); }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: .97rem !important; font-weight: 550; line-height: 1.3; padding: 0 2px !important; margin: 0 0 4px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.woocommerce ul.products li.product .price {
	display: block; color: var(--ink) !important; font-weight: 850; font-size: 1.08rem !important; padding: 0 2px; margin: 0 0 10px;
}
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 500; font-size: .85em; opacity: 1; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: var(--accent); }
.woocommerce ul.products li.product .star-rating { margin: 0 2px 6px; font-size: .8rem; }
.woocommerce ul.products li.product .button { margin-top: auto; align-self: flex-start; }
.woocommerce ul.products li.product .added_to_cart { font-size: .85rem; font-weight: 650; margin-top: 6px; padding: 0 2px; color: var(--accent); }

.woocommerce span.onsale {
	min-width: 0; min-height: 0; line-height: 1.2; padding: 4px 9px; border-radius: 6px;
	background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
	top: 10px !important; left: 10px !important; right: auto !important; margin: 0 !important; z-index: 2;
}

/* Buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
	background: var(--ink); color: #fff; font-weight: 650; font-size: .92rem; line-height: 1.2; text-decoration: none;
	transition: background-color .15s;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: #000; color: #fff; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce .single_add_to_cart_button, .woocommerce #place_order, .wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
	background: var(--accent) !important; color: var(--accent-ink) !important;
}
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce .single_add_to_cart_button:hover {
	background: color-mix(in srgb, var(--accent) 86%, #000) !important;
}
.woocommerce ul.products li.product .button { padding: 8px 14px; font-size: .85rem; background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.woocommerce ul.products li.product .button:hover { border-color: var(--ink); background: var(--surface); color: var(--ink); }
.woocommerce a.button.loading { opacity: .6; }

/* Single product */
.woocommerce div.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-top: 8px; }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: var(--radius-sm); }
.woocommerce div.product .product_title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 1.7rem; font-weight: 900; }
.woocommerce div.product p.price ins { text-decoration: none; color: var(--accent); }
.woocommerce div.product form.cart { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 18px 0; }
.woocommerce div.product form.cart div.quantity { margin: 0; float: none; }
.woocommerce .quantity .qty { width: 72px; padding: 10px 8px; border-radius: 999px; text-align: center; }
.woocommerce div.product .product_meta { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 24px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 18px; border-bottom: 1px solid var(--line-strong); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 14px; font-weight: 650; color: var(--muted); border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--accent); }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-family: var(--font-display); font-weight: 850; margin: 32px 0 16px; }
.woocommerce .star-rating span::before, .woocommerce p.stars a { color: var(--accent); }

/* Notices, cart, checkout, account */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top: 0; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-strong);
	border-left: 4px solid var(--olive); padding: 14px 18px 14px 48px; margin: 0 0 18px;
}
.woocommerce-error { border-left-color: var(--danger); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--olive); top: 14px; left: 18px; }
.woocommerce-message .button { float: right; }
.container.shop-page { max-width: 1200px; }
.shop-page .page-content { padding: 28px; }
.woocommerce table.shop_table { border-radius: var(--radius); border-color: var(--line); background: var(--surface); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { border-radius: var(--radius-sm); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 2px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); text-decoration: none; font-weight: 600; }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background: var(--sunken); color: var(--ink); }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }

.home-shop .woocommerce { margin: 0; }

@media (max-width: 760px) {
	.woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	.woocommerce div.product { padding: 16px; }
	.woocommerce .woocommerce-ordering, .woocommerce .woocommerce-result-count { float: none; }
	.header-shop { display: none; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #1d211e; color: #cfcabe; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding: 44px 20px 28px; }
.footer-about .brand-text { color: #fff; margin-bottom: 12px; }
.footer-about p { max-width: 40ch; font-size: .92rem; }
.footer-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #8e8a7f; margin-bottom: 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .94rem; }
.footer-links a { text-decoration: none; color: #e9e4d8; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid #343a35; padding: 16px 20px; font-size: .85rem; color: #8e8a7f; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.single-layout { grid-template-columns: minmax(0, 1fr) 340px; }
}

@media (max-width: 960px) {
	.archive-layout { grid-template-columns: minmax(0, 1fr); }
	.filters {
		position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; width: min(360px, 88vw); max-height: none;
		border-radius: 0 var(--radius) var(--radius) 0; transform: translateX(-102%); transition: transform .25s ease;
		box-shadow: var(--shadow-lg);
	}
	.filters-open .filters { transform: none; }
	.filters-close { display: inline-flex; }
	.filters-toggle { display: inline-flex; }
	.filters-backdrop { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.4); }
	.filters-backdrop[hidden] { display: none; }
	.filters-open { overflow: hidden; }

	.single-layout { grid-template-columns: minmax(0, 1fr); }
	.single-side, .single-main { min-width: 0; }
	.side-sticky { position: static; }
	.single-side { order: -1; }
	.single-main .gallery { margin-bottom: 0; }
	.single-layout { gap: 16px; }

	.hero-search { grid-template-columns: 1fr 1fr; }
	.hs-q { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); }
	.hs-field:nth-child(3) { border-right: 1px solid var(--line); }
	.hero-search .btn { grid-column: 1 / -1; margin-top: 6px; }

	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
	.header-inner { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
	.header-search { order: 3; flex-basis: 100%; max-width: none; }
	.header-link span:not(.cart-count), .header-menu, .header-browse { display: none; }
	.header-actions { gap: 2px; }
	.header-link:not(.header-account) { font-size: .9rem; }
	.btn-post span { display: none; }
	.btn-post { padding: 10px; }
	.admin-bar .site-header { top: 0; position: relative; }

	.listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
	.card-price { font-size: 1rem; }
	.card-title { font-size: .9rem; }
	.type-grid { grid-template-columns: repeat(2, 1fr); }
	.field-grid.two { grid-template-columns: 1fr; }
	.my-listing { grid-template-columns: 84px 1fr; }
	.my-actions { grid-column: 1 / -1; justify-content: flex-start; }
	.results-tools { width: 100%; }
	.sort-form { flex: 1; }
	.sort-form select { min-width: 0; }
	.panel, .form-section { padding: 16px; }
	.auth-card { padding: 22px; }
	.cta-band { padding: 24px; }
	.hero { padding: 40px 0 36px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
