:root{--accent:#c82333;--ink:#1e1e1e;--line:#e2e8f0;--paper:#fff;--soft:#f5f7fa;--bd:var(--line);--bg:var(--paper);--t:var(--ink);--r:var(--accent);--control-height:50px;--page-gutter:clamp(16px,1.5vw,28px)}
body{background:var(--paper);color:var(--ink);font:16px/1.45 system-ui,-apple-system,sans-serif}
header{gap:16px;padding:8px var(--page-gutter);border-bottom:1px solid var(--line);min-height:62px}
header .hdr-r{gap:5px;margin-left:auto}header .brand-logo{width:128px;height:42px}
.wrap{width:100%;margin:0 auto;padding:16px var(--page-gutter)}
.search-results-layout,.search-results-layout.results-mode{display:block}
.search-results-layout>.box,.results-mode>.box{position:static;max-height:none;overflow:visible;background:var(--soft);border:1px solid var(--line);border-radius:18px;padding:18px;margin-bottom:18px}
.search-heading{font-size:clamp(23px,3vw,34px);line-height:1.13;margin:0 0 12px}
.market-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-inline:contain;margin:0 0 12px}
.market-tab{width:auto;flex:0 0 auto;min-height:44px;padding:8px 16px;border-radius:999px;white-space:nowrap}
.market-tab.active{background:#1e1e1e;color:white}
.box>.tabs{display:none!important}
.box .primary-grid,.results-mode .primary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;overflow:visible}
.marketplace-control{width:100%;min-height:var(--control-height);border:1px solid var(--line);border-radius:12px;background:white;color:var(--ink);font:inherit;text-align:start;padding:8px 12px;display:flex;justify-content:space-between;align-items:center;gap:6px;cursor:pointer}
.marketplace-control span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.marketplace-native{display:none!important}
.search-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.search-actions #btnFind,.search-actions .marketplace-control{width:auto;min-width:190px;height:50px;border-radius:999px;text-align:center;justify-content:center}
.b-fnd,.btn-g{background:var(--accent);color:white;border-color:var(--accent);border-radius:999px}
.search-actions>button[onclick^=subscribeSearch]{margin-left:auto}
.marketplace-results-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.marketplace-results-bar #fSort{width:auto;max-width:100%;min-height:44px;border-radius:12px}
#cardsList,.results-mode #cardsList{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#cardsList .card{min-width:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:none}
#cardsList .c-img{height:clamp(150px,17vw,227px);min-height:0}
#cardsList .c-body{padding:10px}.c-tit a{color:var(--ink)}.vehicle-category{color:#576475}.c-pr{color:#a5162a}
.marketplace-filter-tags{display:flex;gap:8px;overflow-x:auto;padding:5px 0;overscroll-behavior-inline:contain}
.marketplace-filter-tags button,.marketplace-choices button{flex:none;padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:white;font:inherit;min-height:40px}
.marketplace-choices button[aria-pressed=true]{background:var(--ink);color:white}
.marketplace-dialog{width:min(650px,calc(100vw - 26px));max-height:88dvh;border:0;border-radius:16px;padding:0;box-sizing:border-box;color:var(--ink);overflow:hidden}
.marketplace-dialog[open]{display:flex;flex-direction:column}.marketplace-dialog::backdrop{background:#10182085}
.marketplace-dialog h2{margin:0;font-size:21px;padding:14px 0}
.marketplace-dialog-head,.marketplace-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 14px;background:white;flex:none}
.marketplace-dialog-head{border-bottom:1px solid var(--line)}.marketplace-dialog-foot{flex-wrap:wrap;border-top:1px solid var(--line);padding:10px 14px max(10px,env(safe-area-inset-bottom))}
.marketplace-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:14px}
.marketplace-choices{display:flex;flex-wrap:wrap;gap:8px}.marketplace-dialog-search{width:100%;margin-bottom:10px}
.marketplace-dialog input,.marketplace-dialog select{font-size:16px;max-width:100%;min-width:0}
.marketplace-range{display:grid;grid-template-columns:1fr 1fr;gap:8px}.marketplace-range input{width:100%}
.marketplace-advanced{width:min(800px,calc(100vw - 26px))}
.marketplace-advanced .advanced-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin:0}
.marketplace-mobile-nav{display:none}
.marketplace-top-links{display:flex;gap:12px;align-items:center}
.marketplace-top-links a{color:var(--ink);font-size:14px;text-decoration:none}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid #295d93;outline-offset:2px}
@media(min-width:1024px) and (max-width:1190px){#cardsList,.results-mode #cardsList{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1023px){.marketplace-top-links{display:none}.box .primary-grid,.results-mode .primary-grid,#cardsList,.results-mode #cardsList{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){
 .wrap{padding:9px}.search-results-layout>.box,.results-mode>.box{padding:12px;border-radius:14px}
 header{flex-wrap:nowrap;gap:5px;padding:6px 9px}header .brand-logo{width:112px}header .hdr-r{flex:1;justify-content:flex-end;flex-wrap:nowrap}
 header .hdr-r>button:not(#favOnlyBtn):not(#accountBtn):not(#headerSearchToggle):not(#marketplaceMenu){display:none!important}
 #accountBtn{max-width:90px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .marketplace-primary[data-row=wide]{grid-column:1/-1}
 .box .primary-grid,.results-mode .primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .search-actions{display:grid;grid-template-columns:minmax(0,1fr)}
 .search-actions #btnFind,.search-actions .marketplace-control{width:100%;min-width:0}
 .search-actions>button[onclick^=subscribeSearch]{margin-left:0}
 #cardsList,.results-mode #cardsList{grid-template-columns:minmax(0,1fr)}#cardsList .c-img{height:clamp(165px,54vw,242px)}
 .marketplace-dialog{width:100%;max-width:100%;max-height:85dvh;margin:auto 0 0;border-radius:16px 16px 0 0}
 .marketplace-dialog[open]{animation:marketplace-rise .18s ease-out}
 .marketplace-advanced{height:100dvh;max-height:100dvh;margin:0;border-radius:0}
 .marketplace-advanced .advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .marketplace-mobile-nav{position:fixed;inset:auto 0 0;z-index:39;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));
  background:white;border-top:1px solid var(--line);padding:4px 2px max(4px,env(safe-area-inset-bottom));box-shadow:0 -4px 20px #14263c12}
 .marketplace-mobile-nav :is(button,a){display:grid;place-items:center;align-content:center;padding:3px 1px;min-height:49px;min-width:0;text-align:center;
  font:700 11px/1.15 system-ui;color:var(--ink);border:0;background:white;overflow-wrap:anywhere;text-decoration:none}
 .marketplace-mobile-nav b{font-size:20px;line-height:1}
 .marketplace-mobile-nav .mobile-sell b{background:#187b50;color:white;border-radius:50%;width:30px;height:30px;display:grid;place-items:center}
 body{padding-bottom:calc(58px + env(safe-area-inset-bottom))}footer{margin-bottom:10px}
}
@keyframes marketplace-rise{from{transform:translateY(25px);opacity:.5}to{transform:none;opacity:1}}
@media(prefers-reduced-motion:reduce){.marketplace-dialog[open]{animation:none}}
.marketplace-control-text{display:grid;line-height:1.2}
.marketplace-control-text small{color:#535d68;font-size:.73rem}
.marketplace-control-text strong{font-weight:620;overflow:hidden;text-overflow:ellipsis}
.marketplace-control-arrow{font-size:1.3rem}
.marketplace-dialog-head{min-height:0;border-bottom:1px solid var(--line);position:static}
.marketplace-price-currency{margin-top:9px}
.marketplace-models h3{margin:14px 0 6px}
.marketplace-filter-group{border-bottom:1px solid var(--line);padding:10px 0}
.marketplace-filter-group summary{cursor:pointer;font-weight:650;padding:8px 0}
.marketplace-filter-group .advanced-grid{padding:9px 0}
.marketplace-dialog-foot .b-fnd{flex:1}
.marketplace-filter-tags[hidden]{display:none}
.marketplace-shared-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin-bottom:12px}
.marketplace-dialog :is(button,summary),.marketplace-mobile-nav :is(button,a){user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
@media(max-width:767px){
  #cardsList .card:not(.empty){display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);align-items:stretch}
  #cardsList .c-img{height:100%;min-height:145px}
  #cardsList .c-img img{object-fit:cover}
  #cardsList .c-body{min-width:0}
  .marketplace-shared-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  .marketplace-filter-group summary{min-height:44px}
}
.marketplace-dialog-foot .marketplace-filter-tags{flex-basis:100%}
.marketplace-photo-count{position:absolute;inset:auto auto 8px 8px;background:#151515ba;color:white;padding:2px 7px;border-radius:7px;line-height:1.4;font-size:12px;pointer-events:none}
.marketplace-feature-choices .chk{border:1px solid var(--line);border-radius:999px;padding:8px 12px;cursor:pointer}
.marketplace-feature-choices .chk:has(:checked){background:var(--ink);color:#fff}
#marketplaceMenu{display:none}
.marketplace-menu .marketplace-dialog-body{display:grid;gap:8px}
.marketplace-menu .marketplace-dialog-foot:empty{display:none}
@media(max-width:767px){
  header .hdr-r>#marketplaceMenu{display:inline-grid!important;place-items:center;min-height:44px;min-width:40px;padding:4px;font-size:20px}
  header .hdr-r>#accountBtn{display:none!important}
  header .hdr-r>:is(#languagePicker,#favOnlyBtn,#headerSearchToggle){min-height:44px}
}
:root{--accent:#d0131c;--soft:#f7f7f8;--line:#e4e4e6}
.marketplace-logo{display:flex;gap:7px;align-items:center;color:#161616;text-decoration:none;white-space:nowrap;font-size:clamp(14px,1.9vw,24px);font-style:italic;line-height:1}
.marketplace-logo em{padding:.06em .21em;background:var(--accent);color:white;border-radius:4px}
.marketplace-logo strong>span{color:#353535}
.marketplace-emblem{display:grid;place-items:center;line-height:.75;font-size:22px}
.marketplace-emblem svg{width:37px;margin-top:-3px}
.marketplace-hero{background:linear-gradient(90deg,#0d1828ec,#1019274d 49%,transparent 78%),#1d2b37 url('/catalogue-hero.webp') center 53%/cover no-repeat;color:#fff}
.marketplace-hero-inner{width:100%;padding:35px var(--page-gutter) 70px;min-height:258px}
.marketplace-hero h1{max-width:470px;font-size:clamp(29px,4.4vw,60px);letter-spacing:-.03em}
.marketplace-hero p{border-inline-start:4px solid var(--accent);padding-inline-start:12px;max-width:410px;font-size:clamp(15px,2vw,25px);margin:0}
body>.wrap{position:relative;margin-top:-39px}
.search-results-layout>.box,.results-mode>.box{background:#fff;box-shadow:0 6px 24px #12121213}
.market-tab.active{background:var(--accent);border-color:var(--accent)}
.marketplace-control{box-shadow:0 2px 6px #1616160d}
.marketplace-search-error{color:#a5162a}
@media(min-width:1024px){
  .box .primary-grid,.results-mode .primary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .marketplace-top-links a:hover{color:var(--accent)}
}
@media(max-width:767px){
  body>header{flex-wrap:nowrap;gap:4px}
  .marketplace-logo{font-size:clamp(12px,3.8vw,16px);gap:4px}
  .marketplace-emblem{font-size:18px}.marketplace-emblem svg{width:28px}
  .marketplace-hero{background:linear-gradient(180deg,#121f31ea,transparent 71%,#111b29c7),#1d2b37 url('/catalogue-hero.webp') 66% 56%/cover no-repeat}
  .marketplace-hero-inner{min-height:247px;padding:17px 15px 68px}
  .marketplace-hero p{font-size:14px}
  .market-tab{padding:7px 12px;min-height:40px}
  #cardsList,.results-mode #cardsList{grid-template-columns:repeat(2,minmax(0,1fr))}
  #cardsList .card:not(.empty){display:flex;flex-direction:column}
  #cardsList .c-img{height:clamp(98px,31vw,210px);min-height:0}
  #cardsList .c-body{padding:7px}
  #cardsList .c-tit{overflow-wrap:anywhere}
  #cardsList .c-pr small{display:block}
  #cardsList .c-fav{bottom:auto;top:6px;right:6px}
  .marketplace-mobile-nav a:first-child{color:var(--accent)}
  .marketplace-mobile-nav .mobile-sell b{background:var(--accent)}
}
.box .marketplace-extra{display:none}
@media(min-width:1024px){
  .box .primary-grid,.results-mode .primary-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:767px){
  .marketplace-hero-inner{min-height:222px}
  .marketplace-control{min-height:45px;padding:5px 9px}
  .marketplace-control-text strong{font-size:.92rem}
  .marketplace-control-text small{font-size:.69rem}
  .marketplace-filter-tags{padding-block:3px}
  .marketplace-photo-count{font-size:10px}
  .search-actions #btnFind,.search-actions .marketplace-control{height:44px}
}
/* approved logo (27.11.2026): image without the tagline + the tagline as localized text in its place */
.ad-logo{position:relative;display:inline-block;container-type:inline-size;line-height:0;flex:0 0 auto;text-decoration:none}
.ad-logo picture,.ad-logo img{display:block;width:100%;height:auto}
.ad-logo-tag{position:absolute;left:27.6%;right:.8%;top:70.6%;height:15.4%;display:flex;align-items:center;gap:1.3cqw;color:#111;white-space:nowrap;
  font:italic 800 8px/1 "Arial Black","Segoe UI",Arial,Helvetica,sans-serif;font-size:3.9cqw;letter-spacing:-.01em;pointer-events:none}
.ad-logo-tag::before,.ad-logo-tag::after{content:"";flex:1 1 0;min-width:1.2cqw;height:.75cqw;border-radius:.4cqw;background:#d6262b}
html[lang="ro"] .ad-logo-tag{font-size:3.5cqw}html[lang="ru"] .ad-logo-tag{font-size:4.15cqw}html[lang="en"] .ad-logo-tag{font-size:3.85cqw}
/* phones: the tagline is a readable line right under the logo (inside the logo it would be about 5 px at 320 px) */
@media(max-width:767px){html[lang] .ad-logo-tag,html .ad-logo-tag{top:calc(100% + 1px);left:0;right:auto;height:auto;gap:5px;font-size:10.5px}
  .ad-logo-tag::before,.ad-logo-tag::after{flex:0 0 12px;min-width:0;height:2px;border-radius:1px}
  .ad-logo{margin-bottom:17px}}
.marketplace-logo.ad-logo{display:inline-block;width:206px;font-size:0;gap:0}
@media(max-width:340px){body>header>.marketplace-logo.ad-logo{width:124px;margin-bottom:28px}body>header>.ad-logo .ad-logo-tag{top:calc(100% + 12px)}}
@media(max-width:767px){body>header:has(>.ad-logo){align-items:flex-start}}
header:has(>.ad-logo){padding-top:3px;padding-bottom:2px}
.marketplace-sidebar{display:none}
.marketplace-desktop-year{display:none}
.marketplace-inline-price{display:grid;grid-template-columns:1fr auto;align-content:center;min-width:0;border:1px solid var(--line);border-radius:11px;padding:4px 8px;line-height:1.04;background:white}
.marketplace-inline-price label{grid-column:1/-1;color:#535d68;font-size:.73rem}
.marketplace-inline-price input,.marketplace-inline-price select{width:100%;min-width:0;min-height:27px;border:0;background:white;padding:2px;color:var(--ink);font:inherit}
.marketplace-inline-price :focus-visible{outline:2px solid #295d93}
.marketplace-inline-price input{font-size:16px}
.marketplace-inline-price select{font-size:12px}
@media(min-width:1024px){
 .marketplace-results-layout:has(>.marketplace-sidebar:not([hidden])){display:grid;grid-template-columns:minmax(155px,17%) minmax(0,1fr);gap:16px}
 .marketplace-sidebar:not([hidden]){display:grid;align-content:start;gap:14px}
 .marketplace-sidebar section{min-width:0;border:1px solid var(--line);border-radius:11px;padding:9px}
 .marketplace-sidebar h3{margin:0 0 7px;font-size:15px}
 .marketplace-side-makes{max-height:292px;overflow:auto}
 .marketplace-side-option{display:block;text-align:start;width:100%;padding:6px;border:0;background:white;border-radius:6px;cursor:pointer}
 .marketplace-side-option[aria-pressed=true]{background:#fff0f1;color:#a50c16;font-weight:bold}
 .marketplace-primary[data-year-control]>button{display:none}
 .marketplace-desktop-year{display:block;width:100%;min-height:50px;border:1px solid var(--line);border-radius:11px;background:white;padding:4px 8px;font:inherit}
 #cardsList,.results-mode #cardsList{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:767px){
 .marketplace-logo.ad-logo{width:clamp(132px,45vw,182px)}
 .marketplace-results-bar h2{font-size:16px;line-height:1.2}
 .marketplace-results-bar #fSort{max-width:49%;min-height:36px;font-size:12px}
}
@media(min-width:768px){.marketplace-dialog{margin:auto}}
.box .primary-grid{align-items:stretch}
.box .primary-grid>:is(.marketplace-primary,.marketplace-inline-price){min-width:0;min-height:50px}
.box .marketplace-primary>.marketplace-control,.box .marketplace-desktop-year{height:100%}
.box .marketplace-inline-price{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr);height:50px}
.box .marketplace-inline-price :is(input,select){min-height:0;height:25px;padding:0 2px}
@media(min-width:1024px) and (max-width:1280px){#cardsList{grid-template-columns:repeat(3,minmax(0,1fr))}}
.marketplace-quick{height:min(380px,75dvh)}
.marketplace-quick .marketplace-dialog-foot:empty{display:none}
.marketplace-quick .marketplace-dialog-body{flex:1}
.marketplace-inline-price .marketplace-price-presets{grid-column:2;grid-row:1;min-height:18px;height:18px;min-width:28px;padding:0 6px;line-height:1;border:0}
.marketplace-inline-price label{grid-column:1;grid-row:1}
.marketplace-inline-price input{grid-column:1;grid-row:2}
.marketplace-inline-price select{grid-column:2;grid-row:2}
.search-results-layout{overflow-anchor:none}
@media(max-width:767px){.marketplace-quick{height:min(400px,65dvh)}}
.box .marketplace-inline-price{grid-template-rows:18px minmax(0,1fr)}
.box .marketplace-inline-price :is(#fPriceFrom,#fPriceTo,#displayCurrency){
  appearance:none;-webkit-appearance:none;box-sizing:border-box;min-height:0;
  height:100%;margin:0;padding:0 2px;background:transparent
}
.box .marketplace-inline-price :is(#fPriceFrom,#fPriceTo){font-size:16px}
.box .marketplace-inline-price :is(#fPriceFrom,#fPriceTo):focus{outline:none}
.box .marketplace-inline-price:focus-within{box-shadow:inset 0 0 0 2px #295d93}
.box .marketplace-inline-price #displayCurrency{padding-inline-end:14px;background:linear-gradient(45deg,transparent 50%,currentColor 50%) right 6px center/4px 4px no-repeat,linear-gradient(135deg,currentColor 50%,transparent 50%) right 2px center/4px 4px no-repeat}
@media(max-width:768px){
  .box .primary-grid>:is(.marketplace-primary,.marketplace-inline-price){min-height:56px}
  .box .marketplace-inline-price{height:56px;padding-block:5px}
}
.marketplace-numeric-field{display:grid;min-width:0;gap:4px;font-size:13px;font-weight:650}
.marketplace-numeric-field input{width:100%;min-height:44px;font-weight:400}
.marketplace-dialog-foot .marketplace-search-error{flex-basis:100%;margin:0}
#newFilters .marketplace-control{height:100%;min-height:44px}
.box .marketplace-inline-price input::placeholder{opacity:1;color:#626e7b}

body:has(#sellModal.open) { overflow: hidden; }
#sellModal .modal {
  max-width: 700px !important;
  padding: 0 20px 20px !important;
  overscroll-behavior: contain;
  scroll-padding: 70px 0 76px;
}
.sell-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  background: #fff;
  border-bottom: 1px solid var(--bd);
}
#sellClose { min-width: 44px; min-height: 44px; font-size: 24px; }
#sellModal .sell-stepper {
  display: flex;
  overflow-x: auto;
  scroll-padding: 8px;
  padding: 4px 2px;
  margin: 4px 0;
}
#sellModal .sell-stepper button { flex: 0 0 auto; padding: 9px 12px; font-size: 12px; }
#sellModal .sell-step { min-width: 0; }
#sellModal .sell-step > b { font-size: 18px; }
#sellModal .fld, #accountModal .phone-picker .fld { width: 100%; min-width: 0; font-size: 16px; }
#sellModal .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#sellModal .sell-price-grid { grid-template-columns: minmax(0, 1fr) minmax(96px, 30%); }
#sPrice { grid-column: 1; grid-row: 1; }
#sPriceCurrency { grid-column: 2; grid-row: 1; }
#sellModal .sell-step-nav {
  position: sticky;
  bottom: 0;
  z-index: 3;
  background: #fff;
  margin-top: 0;
  padding: 8px 0 max(8px, env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--bd);
  /* 02.12: the modal's own bottom padding left a strip under the bar where scrolled text showed through */
  box-shadow: 0 32px 0 0 #fff;
}
#sellFormError { color: #a51422; font-size: 14px; margin: 2px 0; }
#sellModal [aria-invalid="true"] { border-color: #bf1728 !important; }
[data-sell-help] { color: var(--m); line-height: 1.4; }
/* Phone: one field = [flag +code ▾][local number]; the country list opens in place. */
.phone-picker { position: relative; display: block; min-width: 0; width: 100%; }
#accountModal [data-sell-help] { grid-column: 1; grid-row: auto; text-align: left; }
.phone-picker .phone-field {
  display: flex; align-items: stretch; width: 100%; min-width: 0; padding: 0; overflow: hidden;
  height: 46px; border: 1px solid var(--bd, #e1e5ea); border-radius: 8px; background: #fff;
}
.phone-picker .phone-field:focus-within { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.phone-picker .phone-field.complete { border-color: #1b7a3a; }
.phone-picker .phone-prefix {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; width: auto; min-width: 0;
  margin: 0; padding: 0 8px 0 10px; border: 0; border-right: 1px solid var(--bd, #e1e5ea);
  border-radius: 0; background: #f5f7fa; color: #192334; font: inherit; font-size: 16px; white-space: nowrap; cursor: pointer;
}
.phone-picker .phone-prefix b { font-weight: 700; font-variant-numeric: tabular-nums; }
.phone-picker .phone-prefix-arrow { font-size: 12px; color: var(--m, #64748b); }
.phone-picker .phone-country-flag { font-size: 18px; line-height: 1; }
.phone-picker input.phone-local {
  flex: 1 1 auto; width: 100%; min-width: 0; height: auto; margin: 0; padding: 0 12px; border: 0; outline: 0;
  background: transparent; color: var(--t, #111); font-size: 16px; font-weight: 500;
  font-variant-numeric: tabular-nums; letter-spacing: .02em; text-overflow: clip;
}
.phone-picker .phone-country-list {
  position: absolute; z-index: 60; left: 0; right: 0; top: 50px; max-height: min(280px, 50vh); overflow-y: auto;
  overscroll-behavior: contain; background: #fff; border: 1px solid var(--bd, #e1e5ea); border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15,23,42,.18); padding: 4px;
}
.phone-picker .phone-country-list[hidden] { display: none; }
.phone-picker .phone-country-option {
  display: flex; align-items: center; gap: 10px; width: 100%; margin: 0; min-height: 40px; padding: 6px 10px;
  border: 0; border-radius: 8px; background: transparent; color: #192334; font: inherit; font-size: 15px; text-align: left; cursor: pointer;
}
.phone-picker .phone-country-option .phone-country-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-picker .phone-country-option b { font-variant-numeric: tabular-nums; color: var(--m, #64748b); }
.phone-picker .phone-country-option:hover, .phone-picker .phone-country-option:focus-visible { background: #eef3fb; outline: 0; }
.phone-picker .phone-country-option[aria-selected="true"] { background: #fdebed; color: #9d1220; }
/* .auth-provider small would otherwise place the hint in a second grid column and squeeze the field. */
.phone-picker small.phone-hint, .auth-provider .phone-picker small.phone-hint {
  display: block; grid-column: auto; grid-row: auto; margin-top: 4px; text-align: left;
  color: var(--m, #64748b); font-size: 12px; line-height: 1.35;
}
.phone-picker small.phone-hint.ok { color: #1b7a3a; }
#requestTelegramPhone:disabled, #sellPublish:disabled { opacity: .55; cursor: not-allowed; }
#sFeatures details { border: 1px solid var(--bd); border-radius: 10px; padding: 10px; }
#sFeatures summary { cursor: pointer; font-weight: 700; }
.sell-feature-options { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(150px,100%),1fr)); gap: 8px; margin-top: 10px; }
.sell-feature-options label { display: flex; align-items: baseline; gap: 5px; }
@media (max-width: 767px) {
  #sellModal.open { padding: 0; align-items: flex-start; }
  #sellModal .modal {
    width: 100% !important;
    max-width: none !important;
    max-height: 100vh;
    max-height: 100dvh;
    height: 100%;
    border-radius: 0;
    padding: 0 max(14px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)) !important;
  }
}

@media(min-width:1024px) {
  .vehicle-picker-trigger { grid-column: span 2; }
}
.marketplace-vehicle-picker { height:min(660px,88dvh); }
.marketplace-vehicle-picker .marketplace-dialog-body {
  display:flex;
  flex-direction:column;
  gap:10px;
  overflow:hidden;
}
.vehicle-picker-controls { display:grid;gap:8px; }
.vehicle-picker-controls input { width:100%;font-size:16px; }
.vehicle-picker-back {
  justify-self:start;
  padding:7px 12px;
  min-height:42px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#f6f7fa;
  color:var(--ink);
  font:inherit;
  font-weight:700;
}
.vehicle-picker-list { flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain; }
.vehicle-picker-group { margin:13px 10px 6px;font-size:13px;color:var(--m); }
.vehicle-picker-option {
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-height:48px;
  padding:7px 10px;
  text-align:start;
  font:inherit;
  color:var(--ink);
  background:white;
  border:0;
  border-bottom:1px solid var(--line);
}
.vehicle-picker-option:hover,.vehicle-picker-option[aria-pressed=true] { background:#fff1f2; }
.vehicle-picker-option img { width:24px;height:24px;object-fit:contain; }
.vehicle-picker-mark {
  flex:0 0 20px;height:20px;border-radius:6px;border:1px solid var(--line);
  display:grid;place-items:center;
}
.vehicle-picker-option[aria-pressed=true] .vehicle-picker-mark { background:#b61529;color:white;border-color:#b61529; }
.vehicle-picker-name { flex:1;overflow-wrap:anywhere; }
.vehicle-picker-count { color:var(--m);font-size:12px; }
@media(max-width:767px) {
  .marketplace-vehicle-picker { height:88dvh;max-height:88dvh; }
}

.vehicle-picker-header-back { font-size:24px;min-width:42px;min-height:42px; }
.marketplace-vehicle-picker .marketplace-dialog-head h2 { flex:1; }
.vehicle-picker-option img,.vehicle-picker-logo-fallback {
  flex:0 0 24px;width:24px;height:24px;object-fit:contain;
  filter:grayscale(100%) contrast(1.15) opacity(.82);
}
.vehicle-picker-logo-fallback {
  display:grid;place-items:center;
  border:1px solid #d5dae1;border-radius:6px;color:#374151;
  background:#f7f8fa;font-size:10px;font-weight:700;
}
@media(max-width:767px) {
  .marketplace-vehicle-picker { height:100dvh;max-height:100dvh;border-radius:0; }
}

/* In-place pickers: the choice opens right at the clicked control and does not add rows to the layout. */
.inline-host{position:relative}
.inline-host-open{z-index:30}
.inline-picker{position:absolute;inset-inline:0;top:calc(100% + 4px);z-index:40;min-width:min(260px,calc(100vw - 32px));max-height:min(320px,55dvh);overflow:auto;overscroll-behavior:contain;background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px rgba(15,23,42,.16);padding:8px;box-sizing:border-box}
.inline-picker-list .marketplace-choices{flex-direction:column;flex-wrap:nowrap;gap:2px}
.inline-picker-list .marketplace-choices button{width:100%;text-align:start;border:0;border-radius:8px;min-height:40px}
.inline-picker-list .marketplace-dialog-search,.inline-picker-input{width:100%;box-sizing:border-box;margin:0 0 8px;font-size:16px}
.inline-picker-strip{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity;padding-bottom:2px}
.inline-picker-strip button{scroll-snap-align:center;white-space:nowrap}
.inline-picker-years .inline-picker-strip,.inline-picker-price .inline-picker-strip{flex-wrap:wrap;overflow:visible}

/* Range rows ("Объём двигателя", "Батарея"): label and both cells in one line. */
.range-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(64px,max-content) minmax(0,1fr);align-items:center;gap:6px 10px;min-width:0}
.range-row-label{font-size:13px;font-weight:650;line-height:1.2;max-width:38vw;overflow-wrap:anywhere}
.range-row-cells{display:grid;grid-template-columns:1fr 1fr;gap:6px;min-width:0}
.range-cell{position:relative;display:flex;align-items:baseline;gap:6px;min-width:0;min-height:44px;padding:4px 26px 4px 10px;border:1px solid var(--line);border-radius:10px;background:white;cursor:pointer;box-sizing:border-box}
.range-cell small{flex:none;color:#535d68;font-size:12px}
.range-cell-input{flex:1;min-width:0;width:100%;border:0;padding:0;background:transparent;font:inherit;font-size:16px;color:var(--ink);cursor:pointer}
.range-cell-input:focus{outline:none}
.range-cell:focus-within,.range-cell:has(.range-cell-input[aria-expanded=true]){box-shadow:inset 0 0 0 2px #295d93;border-color:#295d93}
.range-cell-arrow{position:absolute;inset-inline-end:9px;top:50%;transform:translateY(-50%);color:#535d68;pointer-events:none}
.range-row>.inline-picker-range{position:static;grid-column:1/-1;max-height:none;overflow:visible;box-shadow:none;padding:6px;min-width:0}
.range-cell-host>.inline-picker-range{min-width:0}
@media(max-width:480px){
  .range-cell{padding-inline:8px 20px;gap:4px}
  .range-cell-arrow{inset-inline-end:6px}
}
/* Inside the scrolling filter dialog a floating panel would be clipped: open it in place, within its own block. */
.marketplace-dialog .inline-picker:not(.inline-picker-range){position:static;min-width:0;margin-top:6px;box-shadow:none;max-height:240px}
.marketplace-dialog .inline-host-open{grid-column:1/-1}

/* "Show cars" + "Reset" share one row; Reset appears only when something differs from the default. */
.search-submit{display:flex;align-items:center;gap:8px;min-width:0}
.marketplace-reset{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;height:50px;padding:0 18px;border:1.5px solid #c82333;border-radius:999px;background:white;color:#a5162a;font:inherit;font-weight:700;white-space:nowrap;cursor:pointer}
.marketplace-reset::before{content:"✕";font-size:.9em;line-height:1}
.marketplace-reset:hover{background:#fff1f2}
.marketplace-reset:focus-visible{outline:2px solid #295d93;outline-offset:2px}
.marketplace-reset[hidden]{display:none}
@media(max-width:767px){
  .search-submit #btnFind{flex:1 1 auto;width:auto}
  .marketplace-reset{height:44px;padding:0 14px}
}
@media(max-width:360px){
  .marketplace-reset{padding:0 12px;font-size:0;gap:0}
  .marketplace-reset::before{font-size:18px}
}

/* Sign-in through the @autodeals_md_auth_bot deep link */
#telegramLoginWidget .tg-deeplink{width:100%;min-height:46px;border-radius:12px;background:#229ED9;color:#fff;border:0;font-weight:700;cursor:pointer}
#telegramAuthStatus .tg-open-link,.phone-verify .tg-open-link{display:inline-flex;align-items:center;min-height:40px;font-weight:700;color:#1a7fb5}
.phone-verify{width:min(440px,calc(100vw - 32px));border:0;border-radius:16px;padding:22px 20px 18px;box-shadow:0 18px 50px rgba(15,23,42,.25)}
.phone-verify::backdrop{background:rgba(15,23,42,.45)}
.phone-verify h3{margin:0 32px 8px 0;font-size:19px}
.phone-verify p{color:#475569;margin:0 0 14px}
.phone-verify .pv-go{width:100%;min-height:48px;border-radius:12px;background:#229ED9;color:#fff;border:0;font-weight:700}
.phone-verify .pv-status{margin:12px 0 0;font-size:14px}
.phone-verify .pv-close{position:absolute;top:10px;right:10px;min-width:40px;min-height:40px}
/* The deep-link hint (with its "Open Telegram" link) runs full width under the button, not in the side column. */
#telegramAuthProvider #telegramAuthStatus{grid-column:1/-1;grid-row:auto;text-align:left;font-size:13px;line-height:1.4}
#telegramAuthProvider #telegramAuthStatus:empty{display:none}

/* ---------- listing form: wider window, required marks, VIN note, field errors ---------- */
#sellModal .modal{max-width:min(880px,calc(100vw - 24px))!important;width:100%}
@media(min-width:900px){#sellModal .sell-step.active{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;align-items:start}
  #sellModal .sell-step.active>b,#sellModal .sell-step.active>p,#sellModal .sell-step.active>.vin-motivation,#sellModal .sell-step.active>.sell-verify,
  #sellModal .sell-step.active>textarea,#sellModal .sell-step.active>.field-error,#sellModal .sell-step.active>#sFeatures,
  #sellModal .sell-step.active>#sPhotoPreview,#sellModal .sell-step.active>button,#sellModal .sell-step.active>.listing-photo-picker{grid-column:1/-1}}
#sellModal .sell-step small,#sellModal .sell-step label{color:#334155}
#sellModal .req-field{position:relative}
#sellModal .req-field::after{content:"*";position:absolute;top:-7px;right:-3px;color:#d11a2a;font-weight:900;font-size:20px;line-height:1;pointer-events:none}
#sellModal [aria-invalid="true"]{border-color:#d11a2a!important;box-shadow:0 0 0 2px rgba(209,26,42,.15)}
#sellModal .field-error{grid-column:1/-1;margin:-4px 0 6px;color:#b4121f;font-size:14px;line-height:1.35}
.vin-motivation{margin:6px 0 4px;color:#0f172a;font-size:16px;font-weight:700;line-height:1.4}
#sellModal .sell-field{display:grid;gap:4px;font-size:13px;font-weight:650;color:#334155}
#sellModal .sell-field select{width:100%;min-height:44px}
.sell-verify{grid-column:1/-1;margin:8px 0;padding:12px 14px;border-radius:12px;border:1px solid #f3c4c4;background:#fff6f6}
.sell-verify[data-state="ok"]{border-color:#bfe3cc;background:#f3fbf6}
.sell-verify p{margin:0 0 8px;color:#1f2937;font-size:15px}
.sell-verify .b-fnd{width:100%;min-height:46px;background:#229ED9;border-color:#229ED9}
#sellPublish{min-height:52px;font-size:17px;position:relative;z-index:2}
.phone-country-list{max-height:220px;overflow:auto}
/* Telegram confirmation (QR on desktop) */
.tg-flow{display:grid;gap:8px;justify-items:start;margin-top:8px;text-align:left}
.tg-flow .tg-state{margin:0;font-size:14px;line-height:1.4;color:#334155}
.tg-flow .tg-state[data-kind="ok"]{color:#15803d;font-weight:700}
.tg-flow .tg-state[data-kind="error"]{color:#b4121f}
.tg-flow .tg-qr{width:196px;height:196px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:6px}
.tg-flow .tg-open-link{font-weight:700;color:#1a7fb5}
#telegramAuthProvider #telegramAuthStatus .tg-flow{font-size:13px}
/* Preview close to the final card */
#listingReviewDialog{max-width:min(900px,95vw)!important;width:100%;max-height:92dvh;overflow:auto}
#listingReviewDialog .review-photos{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}
#listingReviewDialog .review-photos img{flex:none;width:min(260px,70vw);height:180px;object-fit:cover;border-radius:10px}
#listingReviewDialog .review-photos img:first-child{width:min(360px,80vw);height:240px}
#listingReviewDialog .review-specs{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:6px 16px;margin:10px 0}
#listingReviewDialog .review-specs dt{color:#64748b;font-size:12px}
#listingReviewDialog .review-specs dd{margin:0 0 6px;font-weight:650}
#listingReviewDialog .review-description{white-space:pre-wrap;color:#1f2937}
#listingReviewDialog .review-features{color:#334155;font-size:14px}
/* Advanced search: small "clear all" at the top right */
.marketplace-dialog-head .marketplace-clear-all{margin-left:auto;margin-right:8px;min-height:36px;padding:4px 12px;font-size:14px;border-radius:999px}
/* Autocomplete: current value and keyboard focus are visible; the list scrolls */
.ad-ac-menu{max-height:min(320px,50vh);overflow-y:auto}
.ad-ac-option[aria-selected=true]{background:#eaf2fa;font-weight:700}
.ad-ac-option.active{background:#dbeafe;outline:2px solid #2563eb;outline-offset:-2px}
.listing-result{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);z-index:1200;max-width:min(560px,calc(100vw - 32px));
  background:#fff;border:1px solid #cbd5e1;border-left:5px solid #16834b;border-radius:12px;box-shadow:0 10px 30px #0f172a33;
  padding:12px 40px 12px 14px;font-size:15px;line-height:1.45;color:#172033}
.listing-result.is-moderation,.listing-result.is-hidden{border-left-color:#d97706}
.listing-result.is-error{border-left-color:#c1121f}
.listing-result a{font-weight:700;white-space:nowrap}
.listing-result>button{position:absolute;top:6px;right:8px;border:0;background:none;font-size:22px;line-height:1;cursor:pointer;color:#475569}
.listing-result[hidden]{display:none}
/* editing an own listing: current photos */
.sell-edit-photos{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 8px}
.sell-edit-photos[hidden]{display:none}
.sell-edit-photos-title{flex-basis:100%;margin:0;color:var(--m);font-size:13.5px}
.sell-edit-photos figure{position:relative;margin:0;width:118px}
.sell-edit-photos img{width:118px;height:88px;object-fit:cover;border-radius:8px;display:block;border:1px solid var(--bd)}
.sell-edit-photos figure>button:first-of-type{position:absolute;top:4px;right:4px;width:24px;height:24px;border:0;border-radius:50%;background:#000a;color:#fff;cursor:pointer;line-height:1}
.sell-edit-cover{width:100%;margin-top:4px;border:1px solid var(--bd);border-radius:999px;background:#fff;font-size:12px;padding:3px;cursor:pointer}
.sell-edit-cover:disabled{background:#14181f;color:#fff;border-color:#14181f;cursor:default}
/* ТЗ 27.11 stage 2: SMS code for a contact number other than the Telegram one */
.sell-sms-flow{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px}
.sell-sms-flow input{flex:1 1 160px;min-width:0;min-height:44px;font-size:16px;padding:8px 10px;border:1px solid var(--line,#cfd6e0);border-radius:8px}
.sell-sms-flow p,.sell-verify-note{flex-basis:100%;margin:4px 0 0;font-size:13px;opacity:.85}
.sell-verify .sell-sms-flow .b-fnd{width:auto;flex:0 0 auto;min-height:44px}
/* ТЗ 27.11 stage 4: the submission form is a full page on the computer too (no dimmed overlay, no narrow window) */
@media(min-width:768px){
  #sellModal.open{background:#eef1f5;align-items:flex-start;padding:0;overflow-y:auto;overscroll-behavior:contain}
  #sellModal .modal{max-height:none!important;min-height:100vh;border-radius:0;margin:0 auto;box-shadow:0 0 0 1px #d5dbe3;overflow:visible}
}
.sell-autosave{margin:6px 0 10px;font-size:13px;color:#5f6b7a;display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:18px}
.sell-autosave::before{content:"";width:8px;height:8px;border-radius:50%;background:#9aa6b4;flex:none}
.sell-autosave:empty{display:none}
.sell-autosave[data-state="saved"]::before{background:#18794e}.sell-autosave[data-state="offline"]::before{background:#b54708}
.sell-autosave[data-state="waiting"]::before,.sell-autosave[data-state="saving"]::before{background:#f0b429}
.sell-autosave[data-state="restored"]::before{background:#229ED9}
/* AutoDeals 60 block in the submission form (ТЗ 27.11 stage 5) */
.ad60-box{grid-column:1/-1;margin:12px 0;padding:16px;border-radius:14px;border:1px solid #f3c4c4;background:#fff;display:grid;gap:12px;min-width:0}
.ad60-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.ad60-head>svg{flex:none;width:64px;height:48px}
.ad60-box h4{margin:0 0 4px;font-size:22px;line-height:1.1;color:#1a1a1a;font-style:italic;font-weight:800}
/* brand wordmark on light backgrounds: Auto / 60 black, Deals red (owner 02.12) */
.ad-wordmark{color:#1a1a1a}.ad-wordmark .ad-red{color:#d6262b}
.ad60-title{margin:0;font-size:20px;line-height:1.25;font-weight:800;color:#14181f;text-wrap:balance}
.ad60-pitch{margin:0;font-size:15px;line-height:1.45;color:#14181f}
.ad60-platforms{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;text-align:center;max-width:440px}
.ad60-platforms li{display:grid;justify-items:center;gap:4px;font-size:12px;color:#14181f;min-width:0}.ad60-platforms svg{width:40px;height:40px}
.ad60-cta{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:12px 16px;border:0;border-radius:14px;
  background:#d6262b;color:#fff;font-family:inherit;font-size:17px;font-weight:700;line-height:1.2;cursor:pointer;box-shadow:0 4px 12px rgba(214,38,43,.25)}
.ad60-cta:hover{background:#bf1f24}.ad60-cta:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.ad60-hint{margin:-4px 0 0;text-align:center;font-size:13px;color:#5f6b7a}
.ad60-howto{border:1px solid #f1d6d6;border-radius:12px;overflow:hidden}
.ad60-howto summary{cursor:pointer;font-weight:700;padding:12px 14px;background:#fdeeee;list-style-position:inside}
.ad60-howto ol{margin:0;padding:10px 14px 4px;display:grid;gap:8px;font-size:14px}
.ad60-howto ol{list-style:none;counter-reset:ad60}.ad60-howto li{counter-increment:ad60;display:grid;grid-template-columns:1.4em 4.4em minmax(0,1fr);align-items:start;gap:6px}.ad60-howto li::before{content:counter(ad60) ".";font-weight:600}.ad60-step-time{display:block;text-align:center;padding:1px 4px;border-radius:6px;background:#d6262b;color:#fff;font-size:13px;white-space:nowrap}
.ad60-howto .ad60-note{padding:0 14px 12px}
.ad60-note{margin:0;font-size:13px;color:#5f6b7a}
.ad60-info{margin:0;padding-top:10px;border-top:1px solid #eee;font-size:13px;color:#5f6b7a}
.ad60-preview{display:block;width:100%;max-width:320px;max-height:420px;border-radius:10px;background:#000;margin:6px 0}
.ad60-box progress{width:100%}.ad60-error{color:#b54708}.ad60-status{font-size:14px;margin:6px 0}
.ad60-box .btn-s{min-height:44px;margin:4px 6px 0 0}
.ad60-current:empty{display:none}
/* placement options before publishing (ТЗ 27.11 stage 6): side by side on the computer, one after another on phones */
.placement-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 14px}
.placement-option{border:1px solid #d5dbe3;border-radius:12px;padding:12px;background:#fff}
.placement-option.selected{border-color:#18794e;box-shadow:0 0 0 2px #18794e33}
.placement-option h5{margin:0 0 8px;font-size:16px}.placement-option ul{margin:8px 0;padding-left:18px;font-size:14px}
.placement-mini{display:grid;grid-template-columns:72px 1fr;gap:2px 8px;align-items:center;font-size:13px}
.placement-mini img{grid-row:span 2;width:72px;height:54px;object-fit:cover;border-radius:6px}
.placement-note{grid-column:1/-1;margin:0;font-size:13px;color:#5f6b7a}
@media(max-width:767px){.placement-choice{grid-template-columns:1fr}}
/* next steps after a submission (ТЗ 27.11 stage 7) */
.listing-result-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.listing-result-actions a,.listing-result-actions button{display:inline-flex;align-items:center;min-height:40px;padding:8px 12px;border-radius:9px;text-decoration:none;white-space:normal;font-size:14px}
.listing-result-follow{margin:10px 28px 0 0;font-size:13px;color:#475569}

/* R46: mandatory acceptance after sign-in */
.terms-gate{position:fixed;inset:0;z-index:200;background:rgba(16,24,40,.55);display:grid;place-items:center;padding:16px}
.terms-card{background:#fff;border-radius:14px;max-width:460px;width:100%;padding:20px;display:grid;gap:12px;color:#1a1a1a}
.terms-card h2{margin:0;font-size:20px}.terms-tick{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.45}
.terms-tick input{flex:none;width:20px;height:20px;margin-top:2px}.terms-tick a{color:#c62f2b}.terms-error{margin:0;color:#b42318;min-height:1em}
.terms-actions{display:flex;justify-content:space-between;gap:10px}

/* R57.7 (02.12) catalogue card: one per row on a phone, large photo, bold title, green price, real reductions only */
#cardsList.cards{gap:14px}
.card.ad-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e2e6ec;border-radius:14px;overflow:hidden;box-shadow:none;min-width:0}
.ad-card .c-img{position:relative;height:auto;aspect-ratio:4/3;min-height:0;background:#e9edf2}
.ad-card .marketplace-photo-count{position:absolute;right:10px;bottom:10px;left:auto;top:auto;background:rgba(17,24,39,.72);color:#fff;font-size:12px;font-weight:700;border-radius:999px;padding:2px 9px}
.ad-card-actions{position:absolute;top:10px;right:10px;display:flex;gap:6px;z-index:2}
.ad-card-actions button{position:static;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.94);color:#1a1a1a;font-size:18px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.15)}
.ad-card-actions .c-fav[aria-pressed="true"]{color:#d6262b}
.ad-card-actions .c-cmp[aria-pressed="true"]{background:#1a1a1a;color:#fff}
.ad-card .c-body{padding:12px 14px 14px;display:grid;gap:6px;align-content:start}
.ad-card .c-tit{margin:0;font-size:18px;line-height:1.25;font-weight:800}
.ad-card .c-tit a{color:#1a1a1a;text-decoration:none}
.ad-card .c-pr{margin:0;color:#16803c;font-size:22px;font-weight:900;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.ad-card .c-old{color:#64748b;font-size:14px;font-weight:600}
.ad-card .c-drop{color:#16803c;font-size:13px;font-weight:700}
.ad-card .c-sp{color:#3f4a5a;font-size:14px;line-height:1.45}
.ad-card .c-where{display:flex;flex-wrap:wrap;gap:4px 10px;color:#64748b;font-size:13px}
.ad-card .c-where .verified{color:#16803c;font-weight:700}
.ad-card .trust-badges{margin-top:2px}
.ad-card .trust-badges span{font-size:11px;font-weight:700;background:#e8f4ed;color:#17633b;padding:3px 8px;border-radius:6px}
@media(max-width:767px){#cardsList,.results-mode #cardsList{grid-template-columns:1fr !important}.ad-card .c-img{height:auto;aspect-ratio:4/3}}

/* 02.12: the sort control is never cut («Рекомендуемый порядо…») */
@media(max-width:767px){.marketplace-results-bar{flex-wrap:wrap}.marketplace-results-bar #fSort{max-width:100%;width:auto;font-size:15px;padding-right:34px}}
/* R55.20: «not interested in calls from car dealers» — a tick on one line; the note on the car page */
#sellModal .sell-field.sell-check{display:flex;align-items:center;gap:8px;font-weight:600}
#sellModal .sell-field.sell-check input{width:20px;height:20px;flex:none}
.no-dealer-calls{margin:8px 0 0;font-size:14px;color:#64748b}
/* 02.12 (owner, AUTO.RIA sample): the home card photo is 4:3 (an id rule used to squeeze it to a strip), the car is
   never cut (a picture far from 4:3 is shown whole on a light ground); characteristics in two columns with icons */
#cardsList .ad-card .c-img,#recommendedList .ad-card .c-img{height:auto;aspect-ratio:4/3;min-height:0;max-height:none}
#cardsList .ad-card .c-img img.fit-whole,#recommendedList .ad-card .c-img img.fit-whole,.ad-card .c-img .photo-frame img.fit-whole,.ads-card-photo img.fit-whole{object-fit:contain;background:#eef1f5}
.ad-card .c-specs{list-style:none;margin:2px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;color:#334155;font-size:14.5px}
.ad-card .c-specs li{display:flex;align-items:center;gap:7px;min-width:0}
.ad-card .c-specs li span{overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.3}
.ad-card .c-specs svg{flex:none;color:#64748b}
@media(max-width:767px){
  .ad-card .c-tit{font-size:19px}
  .ad-card .c-pr{font-size:24px}
}
/* 02.12 (owner, AUTO.RIA sample): informative card — engine line, price with the MDL equivalent, compact terms,
   seller and age; favourite / compare at the bottom of the photo (the watermark at the top stays free) */
.ad-card .c-engine{color:#475569;font-size:14px;line-height:1.35}
.ad-card .c-pr .c-alt{color:#64748b;font-size:14px;font-weight:600}
.ad-card .trust-badges{display:flex;flex-wrap:wrap;gap:6px}
.ad-card .trust-badges span{font-size:12px;font-weight:700;border-radius:999px;padding:4px 10px}
.ad-card .trust-badges span.term{background:#eaf1fb;color:#1f3a5f}
.ad-card .c-where{justify-content:space-between;align-items:center}
.ad-card .c-where time{margin-left:auto;color:#94a3b8;font-size:12.5px}
.ad-card .ad-card-actions{top:auto;bottom:10px;right:10px}
.ad-card .marketplace-photo-count{top:auto;left:10px;right:auto;bottom:10px}
.ad-card .c-body{gap:7px;padding:12px 14px 13px}
/* 03.12: favourites in the header — one style: a red heart icon and the count in the brand ink, side by side */
header #favOnlyBtn{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#1a1a1a}
header #favOnlyBtn .hdr-heart{fill:#d6262b;stroke:none;flex:none}
header #favOnlyBtn #favCnt{color:#1a1a1a;font-weight:800;font-size:15px;line-height:1}
/* 03.12 (owner, AUTO.RIA sample): one ribbon on the photo, «Verified dealer» on the border of the photo and the text,
   a horizontally scrolling row of terms, higher-contrast characteristics and icons, narrower side margins */
.ad-card .c-img{overflow:visible}
.ad-card .c-img .photo-strip{border-radius:14px 14px 0 0;overflow:hidden}
.ad-card .c-ribbon{position:absolute;top:10px;left:10px;z-index:2;font-size:12.5px;font-weight:800;padding:5px 10px;border-radius:999px;color:#fff;background:#1a1a1a;box-shadow:0 1px 4px rgba(0,0,0,.2)}
.ad-card .c-ribbon-day{background:#d6262b}.ad-card .c-ribbon-top{background:#f59e0b;color:#172033}.ad-card .c-ribbon-drop{background:#16803c}.ad-card .c-ribbon-new{background:#1f3a5f}
#recommendationCards .ad-card .c-ribbon{left:48px}
.ad-card .c-dealer-pill{position:absolute;left:12px;bottom:-14px;z-index:3;display:inline-flex;align-items:center;gap:6px;background:#1a1a1a;color:#fff;font-size:12.5px;font-weight:800;padding:5px 12px 5px 8px;border-radius:999px;box-shadow:0 2px 6px rgba(0,0,0,.25)}
.ad-card .c-dealer-pill svg{color:#fff}
.ad-card .c-img:has(.c-dealer-pill)+.c-body{padding-top:22px}
.ad-card .c-img:has(.c-dealer-pill) .marketplace-photo-count{bottom:22px}
.ad-card .trust-badges{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:0 -14px;padding:0 14px}
.ad-card .trust-badges::-webkit-scrollbar{display:none}
.ad-card .trust-badges span{flex:none;white-space:nowrap}
.ad-card .c-specs{color:#111827;font-size:15px;font-weight:500}
.ad-card .c-specs svg{color:#111827;width:19px;height:19px;stroke-width:2.1}
.ad-card .c-engine{color:#334155}
@media(max-width:767px){#cardsList{margin-left:-4px;margin-right:-4px}}
.promoted-offers{margin:4px 0 18px}.promoted-offers h2{font-size:20px;margin:0 0 10px}
.promoted-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(280px,86%);overflow-x:auto;gap:12px;scroll-snap-type:x mandatory;padding-bottom:6px}
.promoted-row>.ad-card{scroll-snap-align:start}
@media(min-width:768px){.promoted-row{grid-auto-columns:minmax(300px,32%)}}
