@font-face {
  font-family: Inter;
  src: url("assets/fonts/inter.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("assets/fonts/poppins.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --blue: #0066d9;
  --blue-dark: #0058bd;
  --background: #f6f7f9;
  --surface: #fff;
  --text: #292929;
  --muted: #687891;
  --line: #e1e5ec;
  --soft: #f2f4f7;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
img { max-width: 100%; }

.container { width: min(1232px, calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 76px; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo img { display: block; width: 211px; height: auto; }
.top-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; }
.top-nav a:not(.button) { white-space: nowrap; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 8px; padding: 10px 16px; font-size: 14px; font-weight: 600; text-align: center; line-height: 1.4; transition: background .15s, border-color .15s, box-shadow .15s; }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #9ac7ff; outline-offset: 2px; }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { color: #fff; background: var(--blue-dark); }
.button-outline { color: var(--blue); background: #fff; border-color: var(--blue); }
.button-outline:hover { background: #eef6ff; }
.button-quiet { color: var(--blue); background: transparent; padding-inline: 4px; }
.button-block { width: 100%; }
.button:disabled { background: #8dbcf3; border-color: transparent; color: #fff; cursor: not-allowed; }
.link { color: var(--blue); font-weight: 500; }
.muted { color: var(--muted); }
.page-heading, h1, h2, h3 { font-family: Poppins, system-ui, sans-serif; font-weight: 600; }
h1, h2, h3, p { margin-top: 0; }

.site-footer { margin-top: 72px; background: var(--surface); border-top: 1px solid var(--line); }
.footer-inner { min-height: 132px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand img { width: 210px; display: block; }
.footer-brand p { color: var(--muted); font-size: 13px; margin: 13px 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; font-weight: 500; }

.home-hero { padding-top: 76px; }
.home-hero h1 { font-size: 36px; line-height: 1.38; margin-bottom: 26px; letter-spacing: -.45px; }
.home-hero h1 span { display: block; }
.filter-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field-label, .field > label { font-size: 14px; font-weight: 500; }
.field input:not(.input), .field select:not(.select), .field textarea:not(.textarea) { width: 100%; min-height: 44px; padding: 10px 16px; color: var(--text); background: #fff; border: 1px solid var(--line); border-radius: 8px; outline: none; }
.field input:not(.input):focus, .field select:not(.select):focus, .field textarea:not(.textarea):focus { border-color: var(--blue); box-shadow: 0 0 0 3px #e7f2ff; }
.field input:not(.input)::placeholder, .field textarea:not(.textarea)::placeholder { color: #9aa5b7; }
.field select:not(.select) { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23292929' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field select:not(.select):disabled { color: #9aa5b7; background-color: #f7f8fa; }
.input-with-unit { position: relative; }
.input-with-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 12px; pointer-events: none; }
.input-with-unit input { padding-right: 52px; }
.filter-submit { grid-column: 1 / -1; }
.filter-submit .button { width: 100%; }
.search-panel--side .filter-grid { grid-template-columns: 1fr; }
.search-panel--side .filter-submit { grid-column: auto; }

.home-section { margin-top: 78px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-heading h2 { font-size: 24px; line-height: 1.3; margin: 0; }
.section-heading a { color: var(--blue); font-size: 14px; white-space: nowrap; }
.vehicle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; }
.vehicle-grid--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vehicle-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; transition: box-shadow .15s, transform .15s; }
.vehicle-card:hover { color: var(--text); box-shadow: 0 8px 24px #26314a14; transform: translateY(-2px); }
.vehicle-card-photo { height: 210px; width: 100%; object-fit: cover; object-position: center; display: block; background: var(--soft); }
.vehicle-card-photo--empty { display: flex; align-items: center; justify-content: center; color: #93a0b5; font-size: 13px; }
.vehicle-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 16px; }
.vehicle-card-title { font-family: Poppins, system-ui, sans-serif; font-size: 15px; line-height: 1.45; font-weight: 600; min-height: 44px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vehicle-card-price { font-size: 16px; font-weight: 700; }
.vehicle-card-detail { color: var(--muted); font-size: 13px; line-height: 1.45; min-height: 18px; }
.vehicle-card-city { color: var(--muted); font-size: 13px; }
.vehicle-card-seller { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; }
.vehicle-card-seller img { width: 27px; height: 27px; object-fit: contain; border-radius: 4px; border: 1px solid var(--line); }
.vehicle-card-badge { align-self: flex-start; margin-top: auto; padding: 5px 10px; border-radius: 18px; background: #f3f5f7; color: #76849a; font-size: 12px; font-weight: 600; }

.brand-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.brand-card { min-height: 145px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-align: center; transition: box-shadow .15s, transform .15s; }
.brand-card:hover { color: var(--text); box-shadow: 0 8px 24px #26314a14; transform: translateY(-2px); }
.brand-card img { width: 54px; height: 42px; object-fit: contain; }
.brand-card strong { font-family: Poppins, system-ui, sans-serif; font-size: 14px; font-weight: 600; }
.brand-card small { color: var(--muted); font-size: 13px; }
.sell-callout { margin-top: 50px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.sell-callout h2 { font-size: 23px; margin-bottom: 12px; }
.sell-callout p { color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 440px; margin-bottom: 16px; }

.catalog-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); align-items: start; gap: 28px; padding-top: 34px; }
.catalog-content h1 { font-size: 36px; line-height: 1.25; margin: 0 0 18px; }
.result-count { color: var(--muted); margin-bottom: 24px; font-size: 16px; }
.catalog-empty { padding: 48px; border-radius: 12px; background: white; border: 1px solid var(--line); color: var(--muted); text-align: center; }
.pagination:not(nav) { display: flex; align-items: center; gap: 18px; margin-top: 28px; font-size: 14px; }
.pagination button { border: 0; background: none; padding: 0; color: var(--blue); font: inherit; }
.pagination button:disabled { color: #555; cursor: default; }

.brands-page { padding-top: 78px; }
.brands-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; margin-bottom: 26px; }
.brands-intro h1 { font-size: 24px; margin: 0; }
.brands-intro p { color: var(--muted); font-size: 16px; line-height: 1.5; margin: 0; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 30px 0 20px; color: #8b98aa; font-size: 13px; }
.breadcrumbs a { color: #77849b; }
.detail-top { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(320px, .9fr); gap: 32px; align-items: start; }
.detail-gallery-main { position: relative; height: 510px; border-radius: 10px; overflow: hidden; background: var(--soft); }
.detail-gallery-main img { width: 100%; height: 100%; object-fit: contain; background: #e9edf3; }
.gallery-control { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; background: #fff9; border: 0; border-radius: 50%; color: #333; font-size: 25px; line-height: 1; }
.gallery-control--prev { left: 12px; }.gallery-control--next { right: 12px; }
.gallery-count { position: absolute; right: 12px; bottom: 12px; background: #292929ad; color: #fff; border-radius: 20px; padding: 5px 10px; font-size: 12px; }
.gallery-thumbs { display: flex; gap: 6px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs button { width: 68px; height: 49px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--soft); flex: 0 0 auto; }
.gallery-thumbs button.active { border-color: var(--blue); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-summary { padding: 24px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.detail-category { display: inline-block; border-radius: 15px; padding: 5px 9px; background: var(--soft); color: var(--muted); font-size: 11px; }
.detail-summary h1 { font-size: 31px; line-height: 1.28; margin: 16px 0; }
.detail-price { font-size: 26px; font-weight: 700; margin-bottom: 3px; }
.detail-currency { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
.detail-location { color: var(--muted); font-size: 13px; margin-bottom: 26px; }
.detail-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 10px; margin-bottom: 28px; }
.detail-facts span { display: block; color: var(--muted); font-size: 11px; margin-bottom: 5px; }
.detail-facts strong { display: block; font-size: 12px; }
.detail-actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 10px; }
.detail-summary .button-block { margin-top: 6px; }
.detail-published { margin: 25px 0 0; color: var(--muted); font-size: 12px; }
.detail-section { margin-top: 42px; }
.detail-section h2 { font-size: 23px; margin-bottom: 20px; }
.detail-section p { font-size: 14px; line-height: 1.6; }
.spec-group { margin-bottom: 26px; }
.spec-group h3 { font-size: 16px; margin-bottom: 12px; }
.spec-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-row dt { color: var(--muted); }.spec-row dd { margin: 0; font-weight: 500; }
.seller-card { width: 370px; max-width: 100%; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.seller-card-head { display: flex; gap: 12px; align-items: center; }
.seller-card-head img { width: 45px; height: 45px; border: 1px solid var(--line); border-radius: 6px; object-fit: contain; }
.seller-card-head strong, .seller-card-head span { display: block; font-size: 13px; }
.seller-card-head span, .seller-card p { color: var(--muted); }
.seller-card p { margin: 14px 0; font-size: 12px; }
.seller-card .button { width: 100%; margin-top: 8px; }
.similar-grid { max-width: 900px; }

.auth-page { min-height: 100vh; background: var(--background); }
.auth-header { height: 76px; display: flex; align-items: center; }
.auth-card { width: 440px; max-width: calc(100% - 32px); margin: 46px auto 32px; padding: 32px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.auth-card h1 { font-size: 32px; margin: 0 0 8px; }
.auth-card > p { color: var(--muted); font-size: 16px; line-height: 1.5; margin-bottom: 30px; }
.auth-tabs { display: flex; gap: 12px; margin-bottom: 24px; }
.auth-tabs .button { flex: 1; }
.auth-form { display: grid; gap: 24px; }
.auth-form .field { gap: 10px; }
.auth-form .field input { height: 44px; }
.field-note { color: var(--muted); font-size: 13px; margin: 0; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); margin: 26px 0 18px; font-size: 13px; white-space: nowrap; }
.auth-divider::before, .auth-divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.auth-social { display: grid; gap: 14px; }
.auth-footer { text-align: center; color: var(--muted); font-size: 14px; margin: 32px 0 0; }
.auth-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.auth-check input { margin-top: 3px; }
.auth-check a { color: var(--blue); }
.form-notice { padding: 12px 14px; border-radius: 8px; background: #eef6ff; color: #125493; border: 1px solid #cfe5ff; font-size: 13px; line-height: 1.45; }
.form-notice.error { background: #fff2f2; border-color: #ffd5d5; color: #a12b2b; }

.publish-page .site-header { margin-bottom: 0; }
.publish-head { padding: 28px 0 0; }
.publish-head h1 { font-size: 26px; margin-bottom: 6px; }
.publish-head p { margin-bottom: 6px; font-size: 14px; color: var(--muted); }
.publish-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin: 28px 0 24px; }
.publish-tabs button { border: 0; border-bottom: 2px solid transparent; background: none; padding: 12px 0; color: var(--muted); font-size: 13px; }
.publish-tabs button.active { color: var(--blue); border-color: var(--blue); }
.publish-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, .8fr); align-items: start; gap: 24px; }
.publish-form { display: grid; gap: 20px; }
.publish-card, .publish-aside { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.publish-card h2 { font-size: 22px; margin-bottom: 8px; }
.publish-card > p { color: var(--muted); font-size: 14px; line-height: 1.5; margin-bottom: 22px; }
.publish-card h3 { font-size: 16px; margin: 22px 0 14px; }
.publish-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.publish-fields .field.full { grid-column: 1 / -1; }
.publish-fields .field textarea { min-height: 132px; resize: vertical; }
.option-group { display: flex; flex-wrap: wrap; gap: 6px; }
.option-group label { position: relative; }
.option-group input { position: absolute; opacity: 0; }
.option-group span { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; font-size: 12px; }
.option-group input:checked + span { border-color: var(--blue); color: var(--blue); background: #eef6ff; }
.photo-drop { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 32px; border: 2px dashed var(--line); border-radius: 10px; background: var(--soft); color: var(--muted); font-size: 13px; text-align: center; }
.photo-drop.dragover { border-color: var(--blue); background: #eef6ff; }
.photo-drop .button { min-height: 40px; }
.photo-preview { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 14px; }
.photo-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.tip-list { color: var(--muted); font-size: 13px; padding-left: 18px; line-height: 1.6; }
.review-card { display: flex; gap: 14px; align-items: center; margin: 20px 0; }
.review-card img, .review-placeholder { width: 88px; height: 74px; object-fit: cover; border-radius: 7px; background: var(--soft); }
.review-card strong, .review-card span { display: block; font-size: 13px; }
.review-card span { color: var(--muted); margin-top: 4px; }
.review-list { display: grid; gap: 10px; color: var(--muted); font-size: 13px; }
.review-list .complete { color: #23804d; }
.publish-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 25px; }
.publish-aside { position: sticky; top: 22px; }
.publish-aside h3 { font-size: 16px; margin-bottom: 10px; }
.publish-aside p { font-size: 13px; margin-bottom: 12px; }
.publish-aside .button { width: 100%; margin-top: 15px; }
.aside-progress { color: var(--muted); font-size: 12px; margin-top: 14px; }

.legal-page { max-width: 900px; padding-top: 62px; }
.legal-page h1 { font-size: 32px; }.legal-page h2 { font-size: 20px; margin-top: 30px; }
.legal-page p, .legal-page li { color: #4c5667; font-size: 15px; line-height: 1.7; }
.seller-page { padding-top: 54px; }
.seller-hero { display: flex; gap: 20px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.seller-hero img { width: 88px; height: 88px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }
.seller-hero h1 { font-size: 28px; margin-bottom: 6px; }
.seller-hero p { color: var(--muted); margin-bottom: 0; }
.modal-backdrop { position: fixed; inset: 0; display: grid; place-items: center; z-index: 30; padding: 20px; background: #11182788; }
.modal { width: min(420px, 100%); padding: 24px; background: white; border-radius: 12px; box-shadow: 0 20px 70px #11182730; }
.modal h2 { font-size: 21px; margin-bottom: 10px; }.modal p { color: var(--muted); font-size: 14px; line-height: 1.5; }.modal .button { margin-top: 12px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.account-header-user { position: relative; }
.account-header-button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0; border: 0; background: transparent; color: var(--text); font-size: 14px; }
.account-header-button svg:not(.icon) { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--soft); }
.account-header-menu { position: absolute; top: calc(100% + 10px); right: 0; z-index: 20; width: 274px; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 36px #26314a20; }
.account-header-menu[hidden], .account-more-menu[hidden] { display: none; }
.account-header-identity { display: flex; align-items: center; gap: 10px; padding: 9px 8px 13px; border-bottom: 1px solid var(--line); }
.account-header-identity strong, .account-header-identity small { display: block; }
.account-header-identity small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.account-header-menu > a, .account-header-menu > button { display: block; width: 100%; padding: 11px 8px; border: 0; background: transparent; color: var(--text); font-size: 14px; text-align: left; }
.account-header-menu > a:hover, .account-header-menu > button:hover { background: var(--soft); }
.account-page { padding-top: 33px; }
.account-heading { margin-bottom: 32px; }
.account-heading h1 { margin-bottom: 8px; font-size: 32px; line-height: 1.25; }
.account-heading p { margin: 0; color: var(--muted); font-size: 16px; }
.account-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 32px; }
.account-sidebar { padding: 12px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.account-identity { display: flex; align-items: center; gap: 12px; padding: 16px 8px 42px; }
.account-avatar { display: inline-grid; flex: 0 0 auto; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: #333; font-size: 13px; font-weight: 600; }
.account-identity strong, .account-identity span:not(.account-avatar) { display: block; }
.account-identity strong { font-size: 15px; font-weight: 500; }
.account-identity span:not(.account-avatar) { margin-top: 8px; color: var(--muted); font-size: 12px; }
.account-nav-label { margin: 0 8px 12px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.account-sidebar nav { display: grid; gap: 4px; }
.account-nav-link { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.account-nav-link svg { width: 17px; height: 17px; }
.account-nav-link.active { color: var(--blue); background: #e7f0fb; font-weight: 600; }
.account-sidebar-divider { height: 1px; margin: 16px 0 34px; background: var(--line); }
.account-logout { width: 100%; margin-top: 13px; padding: 11px 12px; border: 0; background: transparent; font-size: 14px; text-align: left; }
.account-logout:hover { color: var(--blue); }
.account-mobile-nav { display: none; }
.account-main { min-width: 0; }
.account-section-head { display: flex; align-items: start; justify-content: space-between; gap: 16px; min-height: 62px; margin-bottom: 32px; }
.account-section-head h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.3; }
.account-section-head p { margin: 0; color: var(--muted); font-size: 16px; }
.account-card, .account-listing { background: white; border: 1px solid var(--line); border-radius: 12px; }
.account-card { padding: 24px; }
.account-card h3, .account-publications > h3 { margin: 0 0 12px; font-size: 17px; }
.account-public-page p { margin: 0 0 15px; color: var(--muted); font-size: 16px; }
.account-public-page p a, .account-info-item a { color: var(--blue); }
.account-public-page .button { min-width: 155px; }
.account-publications { margin-top: 32px; }
.account-publications > h3 { margin-bottom: 16px; }
.account-stat { display: flex; flex-direction: column; justify-content: center; gap: 8px; width: 140px; min-height: 113px; margin-bottom: 24px; padding: 20px 24px; background: white; border: 1px solid var(--line); border-radius: 12px; }
.account-stat strong { font-size: 30px; line-height: 1; }
.account-stat span { color: var(--muted); font-size: 14px; }
.account-listings { display: grid; gap: 16px; }
.account-listing { display: flex; gap: 16px; min-width: 0; padding: 16px; }
.account-listing-photo { flex: 0 0 168px; width: 168px; height: 126px; overflow: hidden; border-radius: 8px; background: var(--soft); }
.account-listing-photo img { width: 100%; height: 100%; object-fit: cover; }
.account-listing-empty { display: grid; place-items: center; height: 100%; color: var(--muted); font-size: 13px; }
.account-listing-content { min-width: 0; flex: 1; }
.account-listing-content h3 { margin: 0 0 8px; font-family: Inter, system-ui, sans-serif; font-size: 16px; font-weight: 700; }
.account-listing-content > strong { display: block; margin-bottom: 10px; font-size: 16px; }
.account-listing-content > p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.account-status { display: flex; align-items: center; gap: 9px; min-height: 28px; padding: 4px 12px; border-radius: 18px; background: var(--soft); font-size: 13px; }
.account-status > span { width: 8px; height: 8px; border-radius: 50%; background: #21a65b; }
.account-status--inactive > span, .account-status--incomplete > span { background: #d89a18; }
.account-status--sold > span { background: var(--muted); }
.account-listing-actions { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.account-listing-actions .button { min-height: 44px; padding-inline: 24px; }
.account-more-wrap { position: relative; margin-left: auto; }
.account-more { min-width: 38px; min-height: 38px; border: 0; background: transparent; color: #262626; font-size: 19px; font-weight: 700; letter-spacing: 1px; }
.account-more-menu { position: absolute; right: 0; top: 100%; z-index: 10; width: 195px; padding: 6px; background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 30px #26314a20; }
.account-more-menu button { display: block; width: 100%; padding: 10px 9px; border: 0; border-radius: 5px; background: transparent; font-size: 13px; text-align: left; }
.account-more-menu button:hover { background: var(--soft); }
.account-more-menu .danger { color: #ba3030; }
.account-all-link { display: inline-block; margin-top: 22px; color: var(--blue); font-size: 14px; font-weight: 600; }
.account-info-card + .account-info-card { margin-top: 24px; }
.account-info-card h3, .account-security-card h3 { margin-bottom: 20px; }
.account-avatar-note { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: var(--muted); font-size: 13px; }
.account-info-item { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 7px; min-height: 63px; padding: 7px 0; font-size: 14px; }
.account-info-item > span { color: var(--muted); font-size: 13px; }
.account-info-item strong { font-size: 16px; font-weight: 400; }
.account-profile-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.account-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.account-tabs button { display: flex; gap: 7px; align-items: center; padding: 12px 16px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 14px; }
.account-tabs button.active { border-bottom-color: var(--blue); color: var(--blue); font-weight: 600; }
.account-tabs button span { min-width: 20px; padding: 2px 6px; border-radius: 10px; background: var(--soft); color: var(--text); font-size: 12px; }
.account-empty { padding: 45px 24px; color: var(--muted); text-align: center; }
.account-favorites-empty { display: flex; flex-direction: column; align-items: center; padding: 65px 20px; text-align: center; }
.account-empty-heart { margin-bottom: 13px; color: var(--muted); font-size: 54px; line-height: 1; }
.account-favorites-empty p { color: var(--muted); font-size: 14px; }
.account-favorites-empty .button { margin-top: 10px; }
.account-verification { display: flex; flex-wrap: wrap; gap: 8px; }
.account-verification span { padding: 5px 9px; border-radius: 14px; background: var(--soft); font-size: 12px; }
.account-security-card > .button { margin-top: 24px; }
.account-confirm-actions { display: flex; justify-content: end; gap: 10px; margin-top: 14px; }
.button-danger { background: #c73434; color: white; }
.button-danger:hover { background: #a52525; color: white; }

@media (max-width: 1050px) {
  .vehicle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .catalog-layout { grid-template-columns: 250px minmax(0, 1fr); }
  .vehicle-grid--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-top { grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 32px); }
  .site-header { height: 128px; }
  .header-inner { align-items: center; }
  .site-logo img { width: 210px; }
  .top-nav { display: grid; grid-template-columns: auto 34px; grid-template-rows: 34px 44px; align-items: center; justify-items: end; gap: 6px 12px; padding: 10px 0; }
  .top-nav .button { grid-column: 1 / -1; width: 130px; white-space: normal; }
  .home-hero { padding-top: 64px; }
  .home-hero h1 { font-size: 23px; line-height: 1.3; margin-bottom: 26px; }
  .filter-panel { padding: 24px; }
  .filter-grid { grid-template-columns: 1fr; gap: 18px; }
  .filter-submit { grid-column: auto; }
  .home-section { margin-top: 62px; }
  .section-heading h2 { font-size: 21px; }
  .section-heading a { font-size: 12px; }
  .vehicle-grid, .vehicle-grid--catalog { grid-template-columns: 1fr; }
  .vehicle-card-photo { height: 230px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-card { min-height: 135px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 34px; }
  .catalog-content h1 { font-size: 30px; }
  .brands-page { padding-top: 50px; }
  .brands-intro { grid-template-columns: 1fr; gap: 14px; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding: 26px 0; }
  .detail-top { grid-template-columns: 1fr; }
  .detail-gallery-main { height: 300px; }
  .detail-summary h1 { font-size: 26px; }
  .spec-row { grid-template-columns: 45% 1fr; }
  .auth-header { height: 88px; }
  .auth-card { margin-top: 26px; padding: 24px; }
  .publish-layout { grid-template-columns: 1fr; }
  .publish-aside { position: static; }
  .publish-fields { grid-template-columns: 1fr; }
  .publish-fields .field.full { grid-column: auto; }
  .publish-tabs { gap: 12px; overflow-x: auto; }
  .publish-tabs button { flex: 0 0 auto; }
  .photo-preview { grid-template-columns: repeat(3, 1fr); }
  .seller-hero { align-items: flex-start; }
  .account-page { padding-top: 26px; }
  .account-heading { margin-bottom: 23px; }
  .account-heading h1 { font-size: 28px; }
  .account-heading p { font-size: 14px; }
  .account-mobile-nav { display: block; margin-bottom: 30px; }
  .account-mobile-nav select { width: 100%; min-height: 45px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: white; }
  .account-layout { display: block; }
  .account-sidebar { display: none; }
  .account-section-head { flex-direction: column; align-items: stretch; gap: 18px; margin-bottom: 24px; }
  .account-section-head h2 { font-size: 22px; }
  .account-section-head p { font-size: 14px; }
  .account-section-head > .button { align-self: flex-start; }
  .account-listing { flex-direction: column; }
  .account-listing-photo { flex-basis: auto; width: 100%; height: 190px; }
  .account-listing-actions { flex-wrap: wrap; }
  .account-listing-actions .button { padding-inline: 14px; }
  .account-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .account-tabs button { flex: 0 0 auto; }
  .account-info-item { gap: 5px; padding: 10px 0; }
  .account-header-button span:not(.topbar__avatar) { display: none; }
}

@media (max-width: 420px) {
  .site-logo img { width: 205px; }
  .top-nav { font-size: 13px; }
  .top-nav .button { width: 130px; }
  .auth-tabs { gap: 8px; }
  .auth-tabs .button { padding-inline: 8px; }
}
