:root {
  --brand: #4f46e5;
  --brand-strong: #3730a3;
  --brand-soft: #eef2ff;
  --accent: #c2410c;
  --accent-strong: #9a3412;
  --ink: #172033;
  --muted: #667085;
  --muted-2: #98a2b3;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --surface: #ffffff;
  --surface-2: #f7f8fc;
  --surface-3: #f2f4f7;
  --success: #059669;
  --danger: #dc2626;
  --warning: #d97706;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 20px 48px rgba(16, 24, 40, .12);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --container: 1240px;
  --transition: 180ms ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.berater {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface-2);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.berater.menu-open { overflow: hidden; }
body.berater img { max-width: 100%; height: auto; }
body.berater a { color: inherit; text-decoration: none; }
body.berater button, body.berater input, body.berater select, body.berater textarea { font: inherit; }
body.berater button, body.berater select { cursor: pointer; }
body.berater svg { display: block; width: 1.25em; height: 1.25em; fill: currentColor; }
body.berater :focus-visible { outline: 3px solid rgba(79, 70, 229, .28); outline-offset: 2px; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only, .title_hide { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 10000; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 14px; border-radius: 8px; color: #fff !important; background: var(--ink); }
.skip-link:focus { transform: translateY(0); }

.button, .btn, .btn-border {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  line-height: 1.15;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition), color var(--transition);
}
.button:hover, .btn:hover, .btn-border:hover { transform: translateY(-1px); }
.button--primary, .btn { color: #fff !important; background: var(--brand); box-shadow: 0 8px 18px rgba(79, 70, 229, .18); }
.button--primary:hover, .btn:hover { background: var(--brand-strong); box-shadow: 0 10px 24px rgba(79, 70, 229, .26); }
.button--accent { color: #fff !important; background: var(--accent); box-shadow: 0 9px 20px rgba(194, 65, 12, .24); }
.button--accent:hover { background: var(--accent-strong); }
.button--soft, .btn-border { color: var(--ink) !important; border-color: var(--line); background: var(--surface); box-shadow: var(--shadow-sm); }
.button--soft:hover, .btn-border:hover { color: var(--brand) !important; border-color: #c7d2fe; background: var(--brand-soft); }
.button--block { width: 100%; }
.icon-button { display: inline-grid; width: 44px; height: 44px; place-items: center; padding: 0; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand) !important; font-weight: 750; }
.text-link:hover { color: var(--brand-strong) !important; }

.site-header { position: sticky; z-index: 1000; top: 0; border-bottom: 1px solid rgba(228, 231, 236, .85); background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px); }
.topbar { min-height: 34px; color: #d7dcff; background: #202044; }
.topbar__inner { display: flex; min-height: 34px; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__tagline { margin: 0; font-size: 12px; font-weight: 650; letter-spacing: .01em; }
.language-switch { display: inline-flex; align-items: center; padding: 2px; border-radius: 9px; background: rgba(255, 255, 255, .1); }
.language-switch button { min-width: 35px; height: 26px; padding: 0 7px; color: #d9ddff; border: 0; border-radius: 7px; background: transparent; font-size: 11px; font-weight: 850; }
.language-switch button:hover, .language-switch button.is-active { color: #1f2247; background: #fff; }
.header-main { display: flex; min-height: 78px; align-items: center; gap: 34px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 11px; }
.brand__mark { display: grid; width: 42px; height: 42px; place-items: center; overflow: hidden; color: #fff; border-radius: 13px; background: linear-gradient(145deg, #6d5dfc, #3730a3); box-shadow: 0 10px 24px rgba(79, 70, 229, .25); }
.brand__mark svg { width: 27px; height: 27px; }
.brand__copy { display: grid; line-height: 1; }
.brand__copy b { font-size: 21px; letter-spacing: -.03em; }
.brand__copy small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 6px; }
.desktop-nav a { padding: 10px 12px; border-radius: 10px; color: #475467; font-size: 14px; font-weight: 700; }
.desktop-nav a:hover { color: var(--brand); background: var(--brand-soft); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.button--post svg { width: 18px; height: 18px; }
.mobile-menu-toggle { display: none; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; }
.mobile-menu__inner { display: grid; gap: 5px; padding-block: 12px 18px; }
.mobile-menu__inner a { padding: 12px; border-radius: 10px; font-weight: 720; }
.mobile-menu__inner a:hover { background: var(--brand-soft); color: var(--brand); }

#login_pane { margin: 0; padding: 0; list-style: none; }
#login_pane > li { position: relative; }
#login_pane .btn-border { min-height: 42px; padding: 8px 13px; }
#login_pane .pm_num { display: inline-grid; min-width: 19px; height: 19px; place-items: center; margin-left: 6px; color: #fff; border-radius: 20px; background: var(--accent); font-size: 10px; }
.dropdown-form { position: absolute; z-index: 1200; top: calc(100% + 12px); right: 0; display: none; width: min(360px, calc(100vw - 32px)); padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); }
.dropdown.open .dropdown-form, .dropdown:hover .dropdown-form, .dropdown-form:focus-within { display: block; }
.login_form, .login_pane__menu { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.login_form li { position: relative; }
.login_form label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 12px; font-weight: 700; }
.login_form input { width: 100%; height: 44px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; }
.login_input-btn button { width: 100%; margin-top: 10px; }
.login_form__foot, .login_pane__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; }
.login_pane__info { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.login_pane__info .avatar .cover { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background-position: center; background-size: cover; font-size: 0; }
.login_pane__menu a { display: flex; padding: 9px 10px; justify-content: space-between; border-radius: 9px; background: var(--surface-2); }

.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 12% 10%, rgba(165, 180, 252, .45), transparent 31%), radial-gradient(circle at 88% 20%, rgba(249, 115, 22, .3), transparent 28%), linear-gradient(135deg, #302d76 0%, #4f46e5 54%, #6158de 100%); }
.hero::before, .hero::after { position: absolute; content: ""; border: 1px solid rgba(255, 255, 255, .11); border-radius: 50%; }
.hero::before { width: 480px; height: 480px; right: -160px; bottom: -300px; }
.hero::after { width: 260px; height: 260px; left: -130px; top: -100px; }
.hero__inner { position: relative; z-index: 1; display: grid; min-height: 430px; align-content: center; padding-block: 68px 58px; }
.hero__copy { max-width: 820px; }
.eyebrow { display: inline-block; margin-bottom: 10px; color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: #f8bd8e; }
.hero h1 { max-width: 780px; margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.02; letter-spacing: -.055em; }
.hero__copy > p { max-width: 750px; margin: 20px 0 0; color: #e8e9ff; font-size: clamp(16px, 2vw, 20px); }
.hero-search { display: grid; grid-template-columns: minmax(220px, 1.6fr) minmax(170px, .8fr) minmax(170px, .8fr) auto; gap: 8px; margin-top: 34px; padding: 8px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 18px; background: rgba(255, 255, 255, .97); box-shadow: 0 24px 54px rgba(18, 20, 61, .25); }
.search-field { display: flex; min-width: 0; align-items: center; gap: 10px; padding-inline: 13px; color: var(--muted); border-right: 1px solid var(--line); }
.search-field svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--brand); }
.search-field input, .search-field select { width: 100%; min-width: 0; height: 48px; padding: 0; color: var(--ink); border: 0; outline: 0; background: transparent; }
.hero-search .button { min-width: 132px; border-radius: 12px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 17px; color: #e8e9ff; font-size: 12px; font-weight: 700; }

.section { padding-block: 64px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.section-heading h2, .market-toolbar h2, .trust-card h2 { margin: 0; font-size: clamp(25px, 3vw, 34px); line-height: 1.15; letter-spacing: -.035em; }
.categories-section { background: var(--surface); }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-card { display: grid; min-height: 114px; grid-template-columns: 48px 1fr auto; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.category-card:hover { transform: translateY(-3px); border-color: #c7d2fe; box-shadow: var(--shadow-md); }
.category-card__icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 14px; }
.category-card__icon svg { width: 25px; height: 25px; }
.category-card span:nth-child(2) { display: grid; min-width: 0; }
.category-card b { overflow: hidden; font-size: 15px; line-height: 1.25; text-overflow: ellipsis; }
.category-card small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.category-card i { color: var(--muted-2); font-style: normal; font-weight: 900; }
.category-card--violet .category-card__icon { color: #6d28d9; background: #f3e8ff; }
.category-card--blue .category-card__icon { color: #2563eb; background: #dbeafe; }
.category-card--emerald .category-card__icon { color: #047857; background: #d1fae5; }
.category-card--orange .category-card__icon { color: #c2410c; background: #ffedd5; }
.category-card--pink .category-card__icon { color: #be185d; background: #fce7f3; }
.category-card--teal .category-card__icon { color: #0f766e; background: #ccfbf1; }
.category-card--indigo .category-card__icon { color: #4338ca; background: #e0e7ff; }
.category-card--amber .category-card__icon { color: #b45309; background: #fef3c7; }

.main-content { min-height: 460px; padding-block: 54px 72px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.page-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -.045em; }
.page-heading p { max-width: 760px; color: var(--muted); }
.market-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.market-toolbar h2 { font-size: clamp(26px, 3vw, 36px); }
.market-toolbar p { margin: 7px 0 0; color: var(--muted); }
.toolbar-actions { display: flex; align-items: center; gap: 10px; }
.toolbar-actions svg { width: 18px; height: 18px; }
.filter-toggle { display: none; }
.sort-select select { min-height: 44px; padding: 9px 34px 9px 12px; color: var(--ink); border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.market-layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); align-items: start; gap: 24px; }
.market-filters { position: sticky; top: 132px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.filter-head h3 { margin: 0; font-size: 18px; }
.filter-head button { padding: 0; color: var(--brand); border: 0; background: transparent; font-size: 12px; font-weight: 800; }
.market-filters form { display: grid; gap: 16px; }
.market-filters label { display: grid; gap: 7px; color: #344054; font-size: 12px; font-weight: 750; }
.market-filters input, .market-filters select { width: 100%; min-height: 43px; padding: 9px 11px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; transition: border-color var(--transition), box-shadow var(--transition); }
.market-filters input:focus, .market-filters select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79, 70, 229, .1); outline: 0; }
.filter-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.listing-area { min-width: 0; }
.listing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.ad-card { position: relative; display: flex; min-width: 0; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.ad-card:hover { transform: translateY(-4px); border-color: #c7d2fe; box-shadow: var(--shadow-md); }
.ad-card__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(145deg, #eef2ff, #f2f4f7); }
.ad-card__media img, .ad-card__media .xfimagethumb { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.ad-card:hover .ad-card__media img { transform: scale(1.035); }
.ad-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: #98a2b3; }
.ad-card__placeholder svg { width: 44px; height: 44px; }
.ad-card__badge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 6px 9px; color: #fff; border-radius: 8px; background: rgba(23, 32, 51, .84); backdrop-filter: blur(8px); font-size: 10px; font-weight: 850; letter-spacing: .03em; }
.ad-card__favorite { position: absolute; z-index: 3; top: 11px; right: 11px; display: grid; width: 38px; height: 38px; place-items: center; color: var(--ink); border: 0; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-sm); }
.ad-card__favorite span { display: grid; place-items: center; }
.ad-card__favorite svg { width: 20px; height: 20px; }
.ad-card__favorite:hover { color: var(--danger); }
.ad-card__body { display: flex; flex: 1; flex-direction: column; padding: 15px; }
.ad-card__category { margin-bottom: 7px; color: var(--brand); font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ad-card__title { display: -webkit-box; min-height: 44px; margin: 0; overflow: hidden; font-size: 16px; line-height: 1.35; letter-spacing: -.015em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ad-card__title a:hover { color: var(--brand); }
.ad-card__price { margin-top: 10px; color: var(--ink); font-size: 20px; font-weight: 900; letter-spacing: -.025em; }
.ad-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 13px; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; }
.ad-card__location { display: inline-flex; min-width: 0; align-items: center; gap: 5px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ad-card__location svg { flex: 0 0 auto; width: 14px; height: 14px; }
.ad-card__date { white-space: nowrap; }
.ad-card__summary { display: none; }
.ad-card__admin { position: absolute; z-index: 4; right: 12px; bottom: 12px; }
.ad-card__admin a { display: inline-flex; padding: 5px 8px; color: #fff; border-radius: 7px; background: var(--ink); font-size: 11px; }

.content-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.content-card--page { padding: clamp(20px, 4vw, 42px); }
.content-card--page .box, .content-card--page .box_in { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.info, .berrors, .information { margin-bottom: 20px; padding: 14px 16px; border: 1px solid #fed7aa; border-radius: 12px; color: #9a3412; background: #fff7ed; }
.navigation { grid-column: 1 / -1; display: flex; justify-content: center; margin-top: 26px; }
.navigation a, .navigation span { display: inline-grid; min-width: 40px; height: 40px; place-items: center; margin: 3px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.navigation span { color: #fff; border-color: var(--brand); background: var(--brand); }

.trust-section { padding-top: 0; }
.trust-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 28px; color: #dfe2ff; border-radius: var(--radius-lg); background: linear-gradient(135deg, #202044, #302d76); box-shadow: var(--shadow-lg); }
.trust-card__icon { display: grid; width: 58px; height: 58px; place-items: center; color: #fff; border-radius: 18px; background: rgba(255, 255, 255, .12); }
.trust-card__icon svg { width: 32px; height: 32px; }
.trust-card h2 { color: #fff; font-size: 23px; }
.trust-card p { margin: 7px 0 0; font-size: 14px; }

.site-footer { color: #d0d5dd; background: #111827; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 46px; padding-block: 58px 42px; }
.brand--footer { color: #fff !important; }
.brand--footer .brand__copy small { color: #98a2b3; }
.footer-brand > p { max-width: 330px; margin: 18px 0 0; color: #98a2b3; font-size: 14px; }
.footer-grid h3 { margin: 5px 0 16px; color: #fff; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a, .footer-link-button { width: fit-content; padding: 0; color: #98a2b3; border: 0; background: transparent; font-size: 13px; text-align: left; }
.footer-grid a:hover, .footer-link-button:hover { color: #fff; }
.footer-bottom { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #344054; color: #98a2b3; font-size: 12px; }
.language-switch--footer { background: #202938; }
.mobile-bottom-nav { display: none; }
.cookie-banner { position: fixed; z-index: 3000; right: 20px; bottom: 20px; display: flex; width: min(590px, calc(100% - 40px)); align-items: center; justify-content: space-between; gap: 20px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); }
.cookie-banner[hidden] { display: none; }
.cookie-banner b { display: block; margin-bottom: 4px; }
.cookie-banner p { margin: 0; color: var(--muted); font-size: 12px; }
.cookie-banner > div:last-child { display: flex; flex: 0 0 auto; gap: 8px; }

/* Страница объявления */
.ad-detail { display: grid; grid-template-columns: minmax(0, 1fr) 350px; align-items: start; gap: 24px; }
.ad-detail__main { min-width: 0; }
.ad-detail__gallery, .ad-detail__content, .seller-card, .safety-card, .related-section { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.ad-detail__gallery { overflow: hidden; }
.ad-gallery__stage { display: grid; min-height: 460px; place-items: center; overflow: hidden; background: #eef0f5; }
.ad-gallery__stage img { width: 100%; height: 100%; max-height: 640px; object-fit: contain; }
.ad-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px; }
.ad-gallery__thumbs img { width: 82px; height: 64px; object-fit: cover; border: 2px solid transparent; border-radius: 9px; }
.ad-gallery__thumbs img:hover, .ad-gallery__thumbs img.is-active { border-color: var(--brand); }
.ad-detail__content { margin-top: 18px; padding: clamp(20px, 4vw, 34px); }
.ad-detail__breadcrumb { margin-bottom: 14px; color: var(--muted); font-size: 12px; }
.ad-detail__title { margin: 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; letter-spacing: -.04em; }
.ad-detail__price { margin-top: 16px; font-size: clamp(28px, 4vw, 40px); font-weight: 900; letter-spacing: -.04em; }
.ad-detail__meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.ad-detail__meta span { display: inline-flex; align-items: center; gap: 5px; }
.ad-detail__meta svg { width: 15px; height: 15px; }
.ad-detail__section { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.ad-detail__section h2 { margin: 0 0 16px; font-size: 21px; }
.ad-detail__description { color: #344054; line-height: 1.75; overflow-wrap: anywhere; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--line); }
.spec-item { display: grid; grid-template-columns: minmax(110px, .8fr) 1fr; gap: 10px; padding: 13px 14px; background: #fff; }
.spec-item dt { color: var(--muted); font-size: 12px; }
.spec-item dd { margin: 0; font-size: 13px; font-weight: 750; text-align: right; overflow-wrap: anywhere; }
.ad-detail__sidebar { position: sticky; top: 132px; display: grid; gap: 16px; }
.seller-card { padding: 22px; }
.seller-card__head { display: flex; align-items: center; gap: 13px; }
.seller-card__avatar { display: grid; width: 54px; height: 54px; place-items: center; overflow: hidden; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 900; }
.seller-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.seller-card__head b { display: block; font-size: 16px; }
.seller-card__head small { color: var(--muted); }
.seller-card__actions { display: grid; gap: 9px; margin-top: 18px; }
.seller-card__actions .button { width: 100%; }
.safety-card { padding: 18px; color: #92400e; border-color: #fed7aa; background: #fff7ed; }
.safety-card h3 { margin: 0; font-size: 15px; }
.safety-card p { margin: 8px 0 0; font-size: 12px; }
.ad-detail__tools { display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.ad-detail__tools a, .ad-detail__tools span { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.comments { margin-top: 24px; }
.comments .box { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

/* Подача объявления */
.add-ad-shell { max-width: 940px; margin-inline: auto; }
.add-ad-head { margin-bottom: 24px; text-align: center; }
.add-ad-head h1 { margin: 0; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.045em; }
.add-ad-head p { margin: 8px 0 0; color: var(--muted); }
.add-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 24px; }
.add-progress__item { position: relative; display: grid; justify-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 750; text-align: center; }
.add-progress__item::before { position: absolute; z-index: 0; top: 17px; right: 50%; left: -50%; height: 2px; content: ""; background: var(--line); }
.add-progress__item:first-child::before { display: none; }
.add-progress__num { position: relative; z-index: 1; display: grid; width: 36px; height: 36px; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: #fff; }
.add-progress__item.is-active, .add-progress__item.is-done { color: var(--brand); }
.add-progress__item.is-active .add-progress__num, .add-progress__item.is-done .add-progress__num { color: #fff; border-color: var(--brand); background: var(--brand); }
.add-progress__item.is-done::before, .add-progress__item.is-active::before { background: var(--brand); }
.add-ad-form { display: grid; gap: 18px; }
.form-section { padding: clamp(20px, 4vw, 32px); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.form-section__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.form-section__icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; color: var(--brand); border-radius: 12px; background: var(--brand-soft); }
.form-section__icon svg { width: 22px; height: 22px; }
.form-section h2 { margin: 0; font-size: 20px; }
.form-section__head p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-field, .form-group, .xfield-row { min-width: 0; }
.form-field--full { grid-column: 1 / -1; }
.form-field > label, .form-group > label, .xfield-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; color: #344054; font-size: 13px; font-weight: 780; }
.form-field input, .form-field select, .form-field textarea, .add-ad-form .wide, .add-ad-form input[type="text"], .add-ad-form input[type="url"], .add-ad-form input[type="number"], .add-ad-form input[type="tel"], .add-ad-form select, .add-ad-form textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; transition: border-color var(--transition), box-shadow var(--transition);
}
.add-ad-form textarea { min-height: 140px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus, .add-ad-form input:focus, .add-ad-form select:focus, .add-ad-form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .1); outline: 0; }
.form-hint, .xfieldsnote { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.form-required { color: var(--danger); }
.xfields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.xfields > div, .xfields > li, .xfields > tr { min-width: 0; }
.xfields .xfield-row[data-wide="true"], .xfields .xfield-gallery { grid-column: 1 / -1; }
.xfield-gallery, .xfieldimagegallery { min-height: 170px; padding: 18px; border: 2px dashed #c7d2fe; border-radius: 13px; background: var(--brand-soft); }
.add-form-actions { position: sticky; z-index: 20; bottom: 12px; display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-lg); backdrop-filter: blur(15px); }
.add-form-actions .button, .add-form-actions button { min-width: 160px; }
.editor-panel, .bb-editor, .wysibb { border-radius: 11px !important; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12px; }
.form-consent input { flex: 0 0 auto; margin-top: 3px; }

/* Кабинет и системные формы */
.ui-form, .addform .ui-form { margin: 0; padding: 0; list-style: none; }
.ui-form > li { margin-bottom: 16px; }
.ui-form input, .ui-form select, .ui-form textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 10px; }
.form_submit { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.form_submit button { min-height: 46px; }
.avatar { overflow: hidden; border-radius: 50%; }
.userinfo, .profile, .pm-box { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }

@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-search { grid-template-columns: 1fr 1fr; }
  .search-field { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-search .button { min-height: 52px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 860px) {
  .topbar__tagline { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .header-main { min-height: 68px; }
  .header-actions #login_pane { display: none; }
  .button--post { padding-inline: 13px; }
  .mobile-menu-toggle { display: inline-grid; }
  .hero__inner { min-height: auto; padding-block: 52px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .market-toolbar { align-items: center; }
  .filter-toggle { display: inline-flex; }
  .market-layout { grid-template-columns: 1fr; }
  .market-filters { position: fixed; z-index: 2000; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); overflow-y: auto; transform: translateX(110%); border: 0; border-radius: 0; box-shadow: var(--shadow-lg); transition: transform 230ms ease; }
  .market-filters.is-open { transform: translateX(0); }
  .ad-detail { grid-template-columns: 1fr; }
  .ad-detail__sidebar { position: static; grid-template-columns: 1fr 1fr; }
  .ad-gallery__stage { min-height: 390px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 680px) {
  body.berater { padding-bottom: 72px; }
  .container { width: min(calc(100% - 28px), var(--container)); }
  .topbar__tagline { font-size: 10px; }
  .language-switch button { min-width: 31px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__copy b { font-size: 19px; }
  .header-main { gap: 10px; }
  .button--post { width: 44px; height: 44px; padding: 0; overflow: hidden; font-size: 0; }
  .button--post svg { width: 22px; height: 22px; }
  .hero h1 { font-size: clamp(36px, 11vw, 49px); }
  .hero__copy > p { font-size: 15px; }
  .hero-search { grid-template-columns: 1fr; margin-top: 25px; }
  .search-field { min-height: 54px; }
  .hero__trust { gap: 10px; }
  .section { padding-block: 45px; }
  .section-heading { align-items: center; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 88px; }
  .main-content { padding-block: 36px 50px; }
  .market-toolbar { align-items: flex-start; }
  .market-toolbar p { display: none; }
  .toolbar-actions .sort-select { display: none; }
  .listing-grid { grid-template-columns: 1fr; }
  .ad-card { display: grid; min-height: 132px; grid-template-columns: 132px minmax(0, 1fr); }
  .ad-card__media { height: 100%; min-height: 132px; aspect-ratio: auto; }
  .ad-card__body { padding: 13px; }
  .ad-card__title { min-height: auto; font-size: 14px; }
  .ad-card__price { margin-top: 7px; font-size: 18px; }
  .ad-card__category { display: none; }
  .ad-card__meta { padding-top: 9px; }
  .ad-card__date { display: none; }
  .ad-card__badge { top: 8px; left: 8px; }
  .ad-card__favorite { top: 7px; right: auto; left: 88px; width: 34px; height: 34px; }
  .trust-card { grid-template-columns: auto 1fr; padding: 22px; }
  .trust-card .button { grid-column: 1 / -1; width: 100%; }
  .trust-card h2 { font-size: 19px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding-block: 42px 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { padding-block: 18px; }
  .mobile-bottom-nav { position: fixed; z-index: 1800; right: 0; bottom: 0; left: 0; display: grid; min-height: 67px; grid-template-columns: repeat(5, 1fr); align-items: end; padding: 6px max(6px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .97); box-shadow: 0 -8px 24px rgba(16, 24, 40, .08); backdrop-filter: blur(16px); }
  .mobile-bottom-nav a { display: grid; justify-items: center; gap: 3px; color: var(--muted); font-size: 9px; font-weight: 730; }
  .mobile-bottom-nav svg { width: 21px; height: 21px; }
  .mobile-bottom-nav__post { align-self: center; transform: translateY(-14px); }
  .mobile-bottom-nav__post svg { width: 44px; height: 44px; padding: 11px; color: #fff; border-radius: 15px; background: var(--brand); box-shadow: 0 10px 25px rgba(79, 70, 229, .32); }
  .cookie-banner { right: 12px; bottom: 82px; width: calc(100% - 24px); align-items: stretch; flex-direction: column; }
  .cookie-banner > div:last-child { display: grid; grid-template-columns: 1fr auto; }
  .ad-detail__sidebar { grid-template-columns: 1fr; }
  .ad-gallery__stage { min-height: 280px; }
  .ad-detail__content { padding: 20px; }
  .spec-grid { grid-template-columns: 1fr; }
  .form-grid, .xfields { grid-template-columns: 1fr; }
  .form-field--full, .xfields .xfield-row[data-wide="true"], .xfields .xfield-gallery { grid-column: auto; }
  .add-progress__item span:last-child { display: none; }
  .add-form-actions { bottom: 80px; }
  .add-form-actions .button, .add-form-actions button { min-width: 0; flex: 1; }
}

@media (max-width: 430px) {
  .topbar__tagline { max-width: 190px; }
  .brand__copy small { display: none; }
  .section-heading .text-link { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .filter-range { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Интеграционные стили для реальной разметки DLE */
.account-trigger { gap: 8px; }
.account-trigger__avatar { width: 27px; height: 27px; flex: 0 0 auto; border-radius: 50%; background-color: var(--brand-soft); background-position: center; background-size: cover; }
.login-form-title { display: grid; margin-bottom: 16px; }
.login-form-title b { font-size: 20px; }
.login-form-title small, .login_pane__info small { display: block; color: var(--muted); font-size: 11px; }
.login_pane__admin { margin-left: auto; }
.login_pane__admin a { padding: 5px 7px; color: var(--brand); border-radius: 7px; background: var(--brand-soft); font-size: 10px; font-weight: 800; }
.xfieldsrow { display: grid; min-width: 0; grid-template-columns: 1fr; align-content: start; }
.xfieldsrow .xfieldscolleft { margin-bottom: 7px; color: #344054; font-size: 13px; font-weight: 780; }
.xfieldsrow .xfieldscolright { min-width: 0; }
.xfieldsrow .xfieldscolright > input[type="text"], .xfieldsrow .xfieldscolright > select, .xfieldsrow .xfieldscolright > textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 11px; background: #fff; }
.xfieldsrow .form-check-label { display: flex; min-height: 48px; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-2); }
.xfieldsrow .form-check-input { width: 18px; height: 18px; flex: 0 0 auto; }
.xfieldsrow .xfieldsnote { margin-top: 6px; color: var(--muted); font-size: 11px; }
.xfield-gallery .xfieldscolright { min-height: 170px; padding: 18px; border: 2px dashed #c7d2fe; border-radius: 13px; background: var(--brand-soft); }
.xfield-gallery .qq-upload-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 14px; color: #fff; border-radius: 10px; background: var(--brand); }
.ad-gallery__thumbs button { flex: 0 0 auto; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: transparent; }
.ad-gallery__thumbs button.is-active { border-color: var(--brand); }
.ad-gallery__thumbs button img { display: block; width: 82px; height: 64px; object-fit: cover; }
.ad-card__badge--second { top: 45px; }
.advanced-fields { margin-top: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.advanced-fields summary { padding: 13px 15px; font-size: 13px; font-weight: 780; }
.advanced-fields > div { padding: 0 15px 15px; }
.cookie-dialog { width: min(620px, calc(100% - 28px)); padding: 0; border: 0; border-radius: var(--radius-lg); background: transparent; }
.cookie-dialog::backdrop { background: rgba(17, 24, 39, .62); backdrop-filter: blur(3px); }
.cookie-dialog__card { padding: 24px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.cookie-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.cookie-dialog__head b { font-size: 22px; }
.cookie-dialog__head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.cookie-option { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.cookie-option span { display: grid; }
.cookie-option small { margin-top: 3px; color: var(--muted); }
.cookie-option input { width: 20px; height: 20px; }
.cookie-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
@media (max-width: 860px) {
  body.filters-open::after { position: fixed; z-index: 1900; inset: 0; content: ""; background: rgba(17, 24, 39, .46); }
}
@media (max-width: 680px) {
  .cookie-dialog__card { padding: 18px; }
  .cookie-dialog__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-dialog__actions .button { width: 100%; }
}

/* Личный кабинет */
.account-page { display: grid; gap: 20px; }
.account-hero { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(135deg, #fff 0%, #f4f3ff 100%); box-shadow: var(--shadow-sm); }
.account-avatar { width: 82px; height: 82px; overflow: hidden; border: 4px solid #fff; border-radius: 24px; background: var(--brand-soft); box-shadow: var(--shadow-md); }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-identity h1 { margin: 0; font-size: clamp(27px, 4vw, 39px); letter-spacing: -.04em; }
.account-identity p { display: flex; align-items: center; gap: 6px; margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); }
.status-dot--online { background: var(--success); box-shadow: 0 0 0 4px rgba(5, 150, 105, .12); }
.account-actions { display: flex; align-items: center; gap: 9px; }
.account-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 5px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.account-tabs a { flex: 0 0 auto; padding: 10px 14px; color: var(--muted); border-radius: 9px; font-size: 13px; font-weight: 750; }
.account-tabs a:hover, .account-tabs a.is-active { color: var(--brand); background: var(--brand-soft); }
.account-panel { display: grid; gap: 18px; }
.account-panel[hidden] { display: none; }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.account-stats > div { display: grid; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.account-stats strong { font-size: 30px; letter-spacing: -.04em; }
.account-stats span { margin-top: 3px; color: var(--muted); font-size: 12px; }
.account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.account-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.account-card h2 { margin: 0 0 17px; font-size: 20px; }
.account-card dl { display: grid; gap: 12px; margin: 0; }
.account-card dl > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.account-card dt { color: var(--muted); font-size: 12px; }
.account-card dd { margin: 0; font-size: 13px; font-weight: 720; text-align: right; }
.account-about { color: #344054; line-height: 1.7; }
.account-signature { margin-top: 18px; padding-top: 15px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.account-settings { display: grid; gap: 18px; }
.muted { color: var(--muted); }
@media (max-width: 760px) {
  .account-hero { grid-template-columns: auto 1fr; }
  .account-actions { grid-column: 1 / -1; }
  .account-actions .button { flex: 1; }
  .account-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .account-hero { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .account-identity p { justify-content: center; }
  .account-avatar { width: 74px; height: 74px; }
  .account-stats { grid-template-columns: 1fr; }
}

/* Стандартная сортировка DLE */
.sort-select form { margin: 0; }
ul.sort { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; margin: 0; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: #fff; list-style: none; }
ul.sort li { margin: 0; }
ul.sort a { display: block; padding: 7px 9px; color: var(--muted); border-radius: 8px; font-size: 10px; font-weight: 760; white-space: nowrap; }
ul.sort a:hover, ul.sort li.asc a, ul.sort li.desc a { color: var(--brand); background: var(--brand-soft); }
@media (max-width: 860px) {
  .sort-select { display: none; }
}

/* Phase 7: listing facets, live filters and privacy-aware map */
.listing-facet[hidden] { display: none !important; }
.filter-status { min-height: 1.4em; margin: 10px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.4; }
.map-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.map-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.map-card__head small { display: block; margin-bottom: 3px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.map-card__head h3 { margin: 0; font-size: 1.05rem; }
.map-card__head > svg { width: 36px; height: 36px; padding: 8px; border-radius: 11px; fill: var(--brand); background: var(--brand-soft); }
.map-card__privacy { margin: 0 0 14px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.map-card__actions { display: grid; gap: 10px; }
.map-card__actions .text-link { justify-self: center; font-size: .82rem; }
.map-card__canvas { overflow: hidden; min-height: 260px; margin-bottom: 14px; border-radius: var(--radius); background: var(--surface-2); }
.map-card__canvas iframe { display: block; width: 100%; height: 300px; border: 0; }
.map-card__canvas[hidden] { display: none; }
@media (max-width: 720px) {
  .map-card { padding: 16px; }
  .map-card__canvas, .map-card__canvas iframe { min-height: 240px; height: 240px; }
}

body.berater [hidden] { display: none !important; }

.account-tabs > .account-news-link { display: contents; }
.account-tabs > .account-news-link > a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; color: var(--muted); border-radius: 10px; font-weight: 750; }
.account-tabs > .account-news-link > a:hover { color: var(--brand); background: var(--brand-soft); }

.account-settings, .account-settings .form-grid, .account-settings .form-field { min-width: 0; }
.account-settings select, .account-settings .timezoneselect { width: 100%; max-width: 100%; min-width: 0; text-overflow: ellipsis; }
.account-settings { overflow: hidden; }

/* Legal and trust pages */
.legal-page { width: min(100% - 32px, 980px); margin: 32px auto 64px; }
.legal-page > article { display: grid; gap: 18px; }
.legal-page > article > section, .legal-hero, .legal-callout { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow-sm); }
.legal-hero { background: linear-gradient(135deg, #eef2ff 0%, #ffffff 58%, #ecfeff 100%); }
.legal-hero h1 { margin: 8px 0 14px; font-size: clamp(30px, 5vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.legal-page h2 { margin: 0 0 10px; font-size: clamp(20px, 3vw, 26px); line-height: 1.25; }
.legal-page p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal-page p + p { margin-top: 12px; }
.legal-page strong { color: var(--text); }
.legal-page a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legal-callout { margin-bottom: 18px; border-left: 5px solid var(--brand); }
.legal-callout > strong { display: block; margin-bottom: 6px; font-size: 18px; }
.legal-callout--warning { border-color: #d97706; background: #fffbeb; }
@media (max-width: 640px) {
  .legal-page { width: min(100% - 20px, 980px); margin-top: 18px; }
  .legal-page > article > section, .legal-hero, .legal-callout { padding: 20px; border-radius: 18px; }
}

/* Empty marketplace categories */
.listing-empty-state {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 10px;
  min-height: 260px;
  padding: clamp(32px, 6vw, 64px) 24px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--surface), var(--brand-soft));
}
.listing-empty-state h3 { margin: 0; color: var(--ink); font-size: clamp(1.25rem, 3vw, 1.6rem); }
.listing-empty-state p { max-width: 520px; margin: 0 0 8px; color: var(--muted); line-height: 1.65; }
