@charset "utf-8";
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/vazirmatn.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
* {
    font-size: 14px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 170%;
    border: none;
    color: #000;
}
body {
    font-weight: 400;
    margin: 0;
    padding: 0;
    background: #fff;
}
#outer {
    margin: 60px auto 0 auto;
    width: 1250px;
    background: #fff;
    
}
a {
    color: #00a;
    font-weight: 400;
    text-decoration: none;
}
h1,
h1 *,
h2,
h2 *,
h3,
h3 *,
a.marki_blok strong {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}
h1 span,
h1 span * {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}
h1 {
    float: right;
    width: 1250px;
    box-sizing: border-box;
    font-size: 32px;
    display: block;
    font-weight: 700;
    padding: 20px 24px;
    color: #000;
    text-align: right;
}
h1.long {
    font-size: 30px;
}
h1 img {
    vertical-align: middle;
    margin-left: 12px;
}
h1 span {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #404040;
}
h1.h1 {
    padding: 2px 0;
}

h2 {
    font-size: 14px;
}
h2 a {
    text-decoration: underline;
    font-size: 16px;
    display: block;
    font-weight: 400;
    color: #800;
}
h2.intitle {
    display: inline;
}
h2.l {
    float: right;
    width: 100%;
}
h3 {
    font-size: 14px;
    display: block;
    padding: 10px 0 1px 0;
    font-weight: 700;

}
h3 a {
    text-decoration: underline;
    font-size: 14px;
    display: block;
    font-weight: 700;
    color: #00a;
}
h3.intitle {
    display: inline;
}
sub,
sup {
    font-size: 0.8em !important;
    line-height: 1;
}
a sub,
a sup {
    font-size: 0.8em !important;
    font-weight: 700;
    color: #00a;
}
hr {
    border-width: 1px;
    border-style: inset;
}
img.intext {
    float: right;
    margin: 5px;
}
strong,
strong * {
    font-weight: 700;
}
#header {
    width: 100%;
    background: #fff;
    position: fixed;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid #E5E7EB;
    transition: transform 240ms ease;
}

body.header-hidden #header {
    transform: translateY(-62px);
}


#header .header {
    width: 1250px;
    padding: 8px 0;
    height: 42px;
    margin: 0 auto;
}
#header .header-brand {
    float: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 214px;
    margin-left: 30px;
    text-align: center;
}

#header .header-brand img {
    display: block;
    width: auto;
    height: 30px;
    margin: 0 auto;
}
#header img.user {
    float: left;
    margin: 9px 20px 0 0;
}
#header .header-brand .wiki {
    display: block;
    font-size: 12px;
    line-height: 10px;
    font-weight: 400;
    color: #6B7280;
}
#footer { width: 100%; float: right; clear: both; margin-top: 40px; border-top: 1px solid #E5E7EB; background: #F9FAFB; }
#footer .footer { box-sizing: border-box; max-width: 1250px; margin: 0 auto; padding: 40px 24px 20px; }
#footer a { color: #374151; font-size: 14px; line-height: 24px; text-decoration: none; }
#footer a:hover { color: #FF6A00; }
#footer .footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 32px; }
#footer .footer-brand > a img { display: block; width: 200px; height: auto; margin-bottom: 12px; }
#footer .footer-brand p { max-width: 420px; margin: 0; font-size: 14px; line-height: 24px; color: #6B7280; text-align: right; }
#footer .footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
#footer .footer-head { margin-bottom: 6px; font-size: 15px; font-weight: 700; color: #111827; }
#footer .footer-social { display: flex; flex-wrap: wrap; gap: 8px; }
#footer .footer-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid #E5E7EB; border-radius: 50%; background: #fff; }
#footer .footer-social a:hover { border-color: #FF6A00; background: #FF6A00; }
#footer .footer-social img { width: 18px; height: 18px; opacity: .7; }
#footer .footer-social a:hover img { opacity: 1; filter: brightness(0) invert(1); }
#footer .footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 32px; padding-top: 16px; border-top: 1px solid #E5E7EB; }
#footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
#footer .footer-copy { color: #6B7280; font-size: 14px; }
/* времето за генериране: скрито с цвета на фона */
#footer small { color: #F9FAFB; font-size: 13px; }
.sameGener {
    float: right;
    width: 970px;
    margin: 10px 10px 0 10px;
    border-top: 5px solid #eee;
}
#activeModif {
    background: #eee;
}
a.car2 {
    float: right;
    display: block;
    background: #fff;
    border: 1px solid #d4d4d4;
    margin: 5px 0 0 10px;
    padding: 2px 4px;
    text-shadow: -1px 0.5px #ddf;
    color: #00a;
}
/* Catalogue navigation */
.car-nav {
    position: relative;
    float: right;
    clear: both;
    width: calc(100% - 48px);
    margin: 10px 24px;
}
.car-nav > summary {
    box-sizing: border-box;
    min-height: 42px;
    padding: 9px 12px;
    border: 1px solid #d5d9df;
    border-radius: 6px;
    background: #fff;
    color: #28313d;
    font-size: 16px;
    cursor: pointer;
}
.car-nav > summary:hover {
    border-color: #9299a3;
}
.car-nav[open] > summary {
    border-color: #e10000;
}
.car-nav-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 20;
    box-sizing: border-box;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #d5d9df;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.car-nav-panel input {
    box-sizing: border-box;
    width: 100%;
    height: 36px;
    margin-bottom: 8px;
    padding: 0 10px;
    border: 1px solid #d5d9df;
    border-radius: 4px;
    font-size: 14px;
}
.car-nav ul {
    list-style: none;
}
.car-nav ul ul {
    padding-right: 12px;
}
.car-nav li > a,
.car-nav li > span {
    display: block;
    position: relative;
    padding: 9px 32px 9px 12px;
    border-radius: 4px;
    color: #28313d;
    font-size: 14px;
    overflow-wrap: anywhere;
}
.car-nav a span {
    font: inherit;
    color: inherit;
}
.car-nav a:hover {
    background: #f0f2f4;
}
.car-nav li > span {
    color: #e10000;
    background: #fde7e9;
}
.car-nav li > span::before {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    width: 6px;
    height: 11px;
    border: solid currentColor;
    border-width: 0 0 3px 3px;
    transform: translateY(-65%) rotate(-45deg);
}
.video{
    width: 1250px;
    float: right;
    margin: 15px 0 0 0;	
}
.video img, .video iframe{
	width: 302.5px;
	height: 180px;
	float: right;
	margin: 8px 8px 0 0;
}

.video img{
	cursor: pointer;
}
.video span {
    width: 100%;
    float: right;
    box-sizing: border-box;
    padding: 0 8px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: #e10000;
}
div.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; float: right; clear: both; width: calc(100% - 48px); margin: 32px 24px; }
div.pagination .pg { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 20px; color: #374151; font-size: 15px; font-weight: 600; line-height: 1; text-decoration: none; }
div.pagination a.pg:hover { background: #F3F4F6; color: #111827; }
div.pagination .pg.on { background: #1F2937; color: #fff; }
div.pagination .pg-arrow { border: 1px solid #E5E7EB; background: #fff; }
div.pagination a.pg-arrow:hover { border-color: #FF6A00; background: #fff; color: #FF6A00; }
div.pagination .pg-arrow.off { opacity: .35; }
div.pagination .pg-gap { min-width: 20px; color: #9CA3AF; text-align: center; }
div.pagination .pg-info { padding: 0 16px; color: #374151; font-size: 15px; font-weight: 600; }




#lngselector .dropbtn {
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    height: 100%;
    padding: 0 16px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: #F3F4F6;
    color: #111827;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

#lngselector .dropbtn > * {
    pointer-events: none;
}

#lngselector .dropbtn span {
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}

#lngselector .dropbtn svg {
    display: block;
    flex-shrink: 0;
}

#lngselector .dropbtn .menu-icon {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
}

#lngselector .dropbtn .menu-divider {
    width: 1px;
    height: 24px;
    margin: 0 4px;
    background: #D1D5DB;
}

#lngselector .dropbtn:hover {
    background: #E5E7EB;
}

#lngselector .dropbtn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
#lngselector img {
    width: 18px;
    height: 12px;
    margin: 0 0 -1px 3px;
}


#lngselector {
    position: relative;
    float: left;
    height: 42px;
    margin: 0 20px 0 0;
}

#lngselector .dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    box-sizing: border-box;
    width: 720px;
    max-width: calc(100vw - 32px);
    padding: 24px 30px;
    max-height: calc(100vh - 76px);
    margin: 0;
    overflow: auto;
    background: #fff;
    border-radius: 6px;
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.25),
        0 0 0 100vmax rgba(0, 0, 0, 0.35);
    z-index: 92;
}

#lngselector:has(.dropdown-content.show) .menu-icon::after {
    content: "";
    position: absolute;
    top: calc(100% + 1px);
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 0;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    border-bottom: 12px solid #fff;
    z-index: 93;
    pointer-events: none;
}

#lngselector .dropdown-content a,
#lngselector .menu-languages > span {
    display: block;
    padding: 10px 12px;
    border: none;
    border-radius: 4px;
    color: #28313d;
    font-size: 16px;
    line-height: 22px;
    text-decoration: none;
}

#lngselector .menu-columns {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    gap: 30px;
}

#lngselector .menu-links {
    padding-left: 24px;
    border-left: 1px solid #d5d9df;
}

#lngselector .menu-links a {
    display: flex;
    align-items: center;
    gap: 16px;
}

#lngselector .menu-links a > svg {
    display: block;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

#lngselector .menu-profile {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #d5d9df;
}

#lngselector .menu-languages {
    column-count: 2;
    column-gap: 20px;
}

#lngselector .menu-languages a,
#lngselector .menu-languages > span {
    break-inside: avoid;
    padding-right: 34px;
}

#lngselector .menu-languages > span {
    position: relative;
    color: #ff0000;
    background-color: #fde7e9;
}

#lngselector .menu-languages > span::before {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    width: 6px;
    height: 11px;
    border: solid currentColor;
    border-width: 0 0 3px 3px;
    transform: translateY(-65%) rotate(-45deg);
}

#lngselector .menu-social {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #d5d9df;
}

#lngselector .menu-social a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    line-height: 24px;
}

#lngselector .menu-social img {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0;
}

#lngselector a:hover {background-color: #ddd;}

#lngselector .show {display: block;}




#position {
    float: right;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 24px;
    background: #fff;
    border-bottom: 1px solid #F3F4F6;
    font-size: 14px;
    line-height: 24px;
    color: #9299a3;
    letter-spacing: normal;
}

#position a,
#position span {
    padding: 0 3px;
    font-size: inherit;
    font-style: normal;
    line-height: inherit;
    letter-spacing: normal;
}

#position a {
    color: #6B7280;
    text-decoration: none;
}

#position a:hover {
    color: #FF6A00;
    text-decoration: underline;
}

#position span {
    color: #111827;
}
div.position h2 a {
    line-height: 22px;
    background: 100% 0;
    color: #000;
    font-weight: 700;
    height: auto;
    font-size: 18px;
    margin: 0 0 8px 0;
    width: auto;
    display: block;
}
ul.modifdata {
    overflow: hidden;
    padding: 0;
    float: right;
    display: block;
    width: 100%;
}


div.allfrombrand {
    width: 100%;
    float: right;
}
div.allfrombrand a,
div.allfrombrand h2 a,
div.allfrombrand h3 a {
    padding: 0 10px;
    float: right;
    margin: 0;
    width: 100%;
    line-height: 24px;
    box-sizing: border-box;
}
div.allfrombrand h2 a {
    font-size: 18px;
    color: #000;
    line-height: 38px;
    font-weight: 700;
}
div.allfrombrand h3 a {
    font-size: 16px;
    color: #000;
    line-height: 34px;
}
#ad468 {
    float: left;
    width: 468px;
    padding: 20px 10px 20px 130px;
}
div.frontnews {
    background: #f5f5f5;
    border-top: 1px solid #c3c3c3;
    border-bottom: 1px solid #c3c3c3;
    float: right;
    width: 980px;
    padding: 8px 5px;
}
div.frontnews a {
    display: block;
    float: right;
    width: 134px;
    margin: 0 7px 0 0;
}
div.frontnews a:first-child {
    margin-right: 0;
}
div.frontnews img {
    width: 134px;
    margin: 0 0 5px 0;
    float: right;
}
div.frontnews h2 {
    font-size: 14px;
    color: #000;
    float: right;
}
div.markite,
div.brands {
    display: grid;
    gap: 10px;
    float: right;
    width: 1202px;
    margin: 16px 24px 24px;
}
div.markite {
    grid-template-columns: repeat(8, minmax(0, 1fr));
}
div.brands {
    grid-template-columns: 80px repeat(7, minmax(0, 1fr));
}
div.brands > a.marki_blok:nth-child(7n + 2) {
    grid-column: 2;
}
div.brands + div.brands {
    margin-top: 0;
}
div.brands div.letter {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 104px;
    font-size: 45px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
}
div.textinsite {
    float: right;
    box-sizing: border-box;
    width: 100%;
    margin-top: 12px;
    padding: 0 24px;
    font-size: 14px;
    line-height: 24px;
    color: #404040;
}

div.textinsite strong {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}
div.letters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    float: right;
    box-sizing: border-box;
    width: fit-content;
    max-width: calc(100% - 48px);
    margin: 16px 24px;
    padding: 8px;
    border: 1px solid #d5d9df;
    border-radius: 6px;
    background: #fff;
}

div.letters a {
    flex: 0 0 36px;
    width: 36px;
    font-size: 16px;
    line-height: 36px;
    text-align: center;
    color: #28313d;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 4px;
}

div.letters a:hover,
div.letters a:focus-visible {
    color: #e10000;
    background: #fde7e9;
}
a.marki_blok {
    box-sizing: border-box;
    border: 1px solid #d5d9df;
    border-radius: 6px;
    background: #fff;
}
a.marki_blok {
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: auto;
    min-height: 104px;
    margin: 0;
    padding: 10px 10px 16px;
}
a.marki_blok img {
    object-fit: contain;
    margin: 0;
}
a.marki_blok img {
    width: 57px;
    height: 57px;
    padding: 10px;
}
a.marki_blok strong {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-weight: 700;
    padding: 0;
    font-size: 14px;
    line-height: 24px;
    color: #000;
}
a.marki_blok strong {
    box-sizing: border-box;
    width: 100%;
    padding-top: 11px;
    border-top: 1px solid #e0e0e0;
    font-size: 19px;
    line-height: 24px;
}
a.marki_blok:hover {
    border-color: #e10000;
    background: #fff5f5;
}
div.carcompare {
    float: right;
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}
div.cardetails {
    padding: 0;
    margin: 16px 0 0 0;
    border: 1px solid #d5d9df;
    background: #fff;
    
    float: right;
    width: 100%;
    box-sizing: border-box;
    
    border-radius: 6px;
}
div.cardetails div.cardetails {
    width: calc(100% - 20px);
    margin: 10px;
    background: #f5f5f5;
    border-right: 3px solid #e10000;
}
div.cardetails div.row {

	float: right;
    width: calc(100% - 20px);
    margin: 0 10px;
    box-sizing: border-box;
    border: 0;
    border-top: 1px solid #e0e0e0;
   
    padding: 14px 6px;
    border-radius: 0;
}
div.cardetails > h2 + div.row,
div.cardetails > h3 + div.row {
    border-top: 0;
}
div.cardetails div.row:hover {
    background: #f5feff;
}
div.cardetails div.par {
    width: 300px;
    float: right;
    font-size: 14px;
    font-weight: 400;
    color: #000;
}
div.cardetails div.val {
    width: calc(100% - 300px);
    float: right;
    font-size: 14px;
    font-weight: 700;
    color: #000;
}
div.cardetails div.par *,
div.cardetails div.val * {
    font-size: inherit;
    font-weight: inherit;
}
div.cardetails .par :not(a),
div.cardetails .val :not(a, .a, .b, .c) {
    color: inherit;
}

div.cardetailsout {
    width: 842px;
    float: left;  
    margin-left: 0;
}
div.cardetailsout div.par {
	width:50%;
	
} 

div.cardetailsout div.val { 
	width: 50%;
}
div.cardetails h2,
div.cardetails h3 {
    width: 100%;
    float: right;
    padding: 0;
    margin: 0 ;
    border: none;
    background: 100% 0;
    line-height: 24px;
    font-size: 20px;
    font-weight: 700;
    color: #e10000;
    height: auto;
}
div.cardetails div.cardetails h2,
div.cardetails div.cardetails h3 {
    font-size: 18px;
}
div.cardetails > h2,
div.cardetails > h3 {
    box-sizing: border-box;
    padding: 10px;
    background: #e9edf1;
    border-bottom: 1px solid #b8c0ca;
    border-radius: 5px 5px 0 0;
}



img.datalock{
	vertical-align: bottom;
	margin-left: 5px;
	
}
.rightlinks {
    display: flex;
    gap: 8px;
    float: left;
    width: 842px;
    margin: 10px 0 0;
}
.rightlinks a {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 36px;
    padding: 4px 44px 4px 12px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #d5d9df;
    border-radius: 6px;
    background: #fff no-repeat 8px center;
    background-size: 28px auto;
}
.rightlinks a.edit {
    background-image: url(img/editcar.png);
}
.rightlinks a:hover {
    border-color: #e10000;
    background-color: #fff5f5;
}
.colorbl a {
    color: #00a;
    text-shadow: -1px 0.5px #ddf;
    display: block;
    margin: 1px 0;
}
.rdata {
    width: 285px;
    height: 175px;
    padding: 5px 0;
    float: right;
    background: #f2f2f2;
}
.rdata td {
    font-weight: 700;
    font-size: 14px;
}
.rdata span {
    font-size: 11px;
    font-weight: 400;
}
.rdata a {
    font-weight: 700;
    font-size: 13px;
    text-decoration: underline;
    color: #222;
}
#texts {
    float: right;
    width: 100%;
    max-height: 100px;
    overflow: hidden;
}
#texts.texts {
    height: auto;
}
#gradient {
    float: right;
    width: 100%;
    height: 100px;
    z-index: 10;
    margin: 0 0 -100px 0;
    position: relative;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.5) 75%, #fff 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.5) 75%, #fff 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.5) 75%, #fff 100%);
}
#gradient.gradient {
    display: none;
}
#hide,
#showmore {
    float: right;
    width: 100%;
    font-size: 14px;
    line-height: 25px;
    height: 25px;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    color: #a00;
}
#hide {
    max-height: 0;
    overflow: hidden;
    font-size: 16px;
}
img.gallery {
    margin: 0 0 2px 10px;
    float: right;
}
div.imagewrap {
    width: 100%;
    float: right;
    text-align: center;
}
div.imagewrap span {
    display: block;
}
img.inCarDetail {
    padding: 2px;
    border: 1px solid #aaa;
    width: 120px;
    height: 90px;
    border-radius: 4px;
    margin: 1px 12px 9px 2px;
    float: right;
    cursor: pointer;
}
img.selectedImage {
    border: 2px solid #e00;
    margin: 0 11px 8px 1px;
}
input.txtinput {
    border: 1px solid #999;
    padding: 1px;
    width: 150px;
}
input.chckbx {
	height:19px;
	width:19px;
}
.select_input,
select.select_input {
    border: 1px solid #999;
    padding: 1px;
    width: 300px;
    background: #fff;
}
.lw1, select.lw1,
input.lw1 {
    width: 60px;
}
.lw6, select.lw6, 
input.lw6 {
    width: 120px;
}
.lw4,
input.lw4,
select.lw4 {
    width: 190px;
}
.lw5,
input.lw5,
select.lw5 {
    width: 296px;
}
.lw2,
select.lw2 {
    width: 160px;
}
.lw3, input.lw3,
select.lw3 {
    width: 50px;
}
.imgrowchrg{
	width:25px;
	cursor: pointer;
}
input.bg {
    background: #ffedd9;
    border: 1px solid #d0ac85;
}
textarea.tarea {
    border: 1px solid #999;
    padding: 1px;
    width: 300px;
    height: 70px;
}
.readonly {
    background: #ddd;
    color: #666;
}
.button_small {
    line-height: 100%;
    height: 18px;
    display: block;
    font-size: 13px;
    border: 1px solid #966;
    color: #900;
    padding: 0 10px;
    width: auto;
    margin: 0;
    text-align: center;
    background-image: url(img/btn_i.gif);
    cursor: pointer;
}
.button_small:hover {
    background-image: url(img/btn_o.gif);
}
span.error {
    color: red;
    padding-right: 10px;
}
div.error {
    color: red;
    background: #fcc;
    border: 1px solid #900;
    padding: 0 10px;
}
div.done {
    color: #0c0;
    background: #cfc;
    border: 1px solid #090;
    padding: 0 10px;
}
.edit_icon {
    height: 16px;
    width: 16px;
    float: left;
    margin-left: 10px;
}
.galleryline {
    width: 100%;
    overflow: auto;
    margin: 0 0 20px 0;
}
.galleryline::-webkit-scrollbar {
    height: 8px;
    background-color: #eee;
}
.galleryline::-webkit-scrollbar-thumb {
    background: #999;
}
.galleryline div {
    white-space: nowrap;
    float: right;
    margin: 0 0 4px 0;
}
.galleryblock {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin: 0 0 12px 0;
    float: right;
}
.galleryblock img {
    flex: 0 0 155px;
    margin: 0;
    border: 1px solid #888;
    padding: 1px;
    box-sizing: border-box;
    width: 155px;
    float: none;
}
div.liblist {
    float: right;
    width: 100%;
}
div.liblist div.lib {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-sizing: border-box;
    float: right;
    width: calc(100% - 48px);
    margin: 16px 24px 0;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #d5d9df;
    border-radius: 6px;
}
div.liblist .lib-image {
    flex: 0 0 170px;
    display: block;
}
div.liblist .lib-image img {
    display: block;
    float: none;
    max-width: 100%;
    height: auto;
    margin: 0;
    border-radius: 5px;
}
div.liblist .lib-content {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}
div.liblist h2 {
    margin: 0;
    font-size: 24px;
    line-height: 28px;
}
div.liblist h2 a {
    text-decoration: none;
    font-size: inherit;
    line-height: inherit;
    font-weight: 700;
    color: #000;
}
div.liblist h2 a:hover,
div.liblist h2 a:focus-visible {
    color: #e10000;
}
div.liblist .lib-date {
    display: block;
    margin: 6px 0 10px;
    font-size: 14px;
    line-height: 24px;
    color: #404040;
}
div.liblist a.a,
div.liblist a.a * {
    font-size: 14px;
    line-height: 24px;
    color: #404040;
}
div.liblist a.a {
    display: block;
}
div.libcontent.faq-block {
    width: calc(100% - 48px);
    margin: 16px 24px;
    padding: 16px;
    background: #fff;
    border: 1px solid #d5d9df;
    border-radius: 6px;
}
@supports (interpolate-size: allow-keywords) {
    .faq-block > details::details-content {
        interpolate-size: allow-keywords;
        height: 0;
        overflow: hidden;
        transition: height 0.25s ease, content-visibility 0.25s allow-discrete;
    }
    .faq-block > details[open]::details-content {
        height: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    .faq-block > details::details-content {
        transition: none;
    }
}

div.libcontent.faq-block > details > summary {
    cursor: pointer;
    font-size: 19px;
    line-height: 22px;
    font-weight: 700;
    color: #28313d;
}
div.libcontent.faq-block .faq-content {
    display: flow-root;
    margin-top: 16px;
}
div.libcontent.faq-block .faq-content > div:last-child p {
    margin-bottom: 0 !important;
}

div.libcontent {
    float: right;
    width: 100%;
    box-sizing: border-box;
    padding: 0 24px;
}
div.libcontent,
div.libcontent * {
    font-size: 14px;
    line-height: 24px;
}
div.libcontent span {
    line-height: 130%;
    display: inline-block;
    padding: 3px 0 0 0;
    color: #666;
}
div.libcontent img {
    height: auto;
    max-width: 100%;
    
}
div.libcontent iframe {
    height: 450px;
    
    width: 100%;
}
div.libcontent h2,
div.libcontent h3 {
    background: 100% 0;
    color: #28313d;
    padding: 0;
    font-weight: 700;
    height: auto;
    margin: 0 0 8px;
}
div.libcontent h2 {
    font-size: 21px;
    line-height: 24px;
}
div.libcontent h3 {
    font-size: 18px;
}
div.libcontent p {
    margin: 0 0 24px 0 !important;
    float: right;
    display: block;
    width: 100%;
}
div.libcontent table {
    margin: 0 auto 20px auto !important;
    display: block;
    width: fit-content;
    clear:both;
 	border: 1px solid #999;
  	border-collapse: collapse;
  	overflow-x: auto;
  	max-width: 100%;
  	-webkit-overflow-scrolling: touch;
}

div.libcontent table td,
div.libcontent table th {
  border: 1px solid #bfbfbf;
  padding: 1px 3px;
}

div.libcontent table tr:first-child td,
div.libcontent table tr:first-child th {
  border-top: none;
}

div.libcontent table tr:last-child td {
  border-bottom: none;
}

div.libcontent table td:first-child,
div.libcontent table th:first-child {
  border-right: none;
}

div.libcontent table td:last-child,
div.libcontent table th:last-child {
  border-left: none;
}
div.libcontent a,
div.libcontent a * {
    color: #00a;
}
div.libcontent .sub_subtitle {
    font-size: 14px;
    margin: 0 0 10px 0;
    display: block;
    color: #ef8800;
    font-weight: 700;
}
div.libcontent ol,
div.libcontent ul {
    margin: 0 0 20px 0;
    padding: 0 25px 0 0;
    box-sizing: border-box;
    float: right;
    display: block;
    width: 100%;
}
div.libcontent ol li,
div.libcontent ul li {
    line-height: 170%;
}
div.libcontent blockquote {
    background: #f9f9f9;
    border-right: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
}
div.libcontent .galleryline img {
    border: 1px solid #888;
    padding: 1px;
    float: none;
    margin: 0 0 0 5px;
    width: auto;
}
h1.article-title {
    padding-bottom: 8px;
}
.article-date {
    display: block;
    float: right;
    width: calc(100% - 48px);
    margin: 0 24px 16px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    font-style: normal;
    color: #404040;
}
div.libcontent.blog-article {
    width: calc(100% - 48px);
    margin: 16px 24px 24px;
    padding: 16px;
    background: #fff;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px #d5d9df;
    font-size: 16px;
    line-height: 26px;
    color: #000;
}
div.libcontent.blog-article :is(p, li, blockquote, dt, dd) {
    font-size: 16px;
    line-height: 26px;
}
div.libcontent.blog-article :is(p, li, blockquote, dt, dd, td, th) :is(a, strong, b, em, i, u, s, span) {
    font-size: inherit;
    line-height: inherit;
}
div.libcontent.blog-article h2 {
    font-size: 24px;
    line-height: 30px;
    color: #000;
}
div.libcontent.blog-article h3 {
    font-size: 21px;
    line-height: 27px;
    color: #000;
}
div.libcontent.blog-article h2 *,
div.libcontent.blog-article h3 * {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

/* Article elements: keep prose in normal flow, including paragraphs pasted into lists. */
div.libcontent.blog-article p {
    float: none;
    width: auto;
}
div.libcontent.blog-article > :is(p, ul, ol, blockquote, h2, h3, h4, table, figure, hr) {
    clear: both;
}
div.libcontent.blog-article :is(ul, ol) {
    float: none;
    width: auto;
    margin: 0 0 24px;
    padding: 0 26px 0 0;
    font-size: 16px;
    line-height: 26px;
    list-style-position: outside;
}
div.libcontent.blog-article li {
    margin: 0 0 6px;
}
div.libcontent.blog-article li:last-child {
    margin-bottom: 0;
}
div.libcontent.blog-article li :is(ul, ol) {
    margin: 8px 0 0;
}
div.libcontent.blog-article :is(li, td, th, blockquote, figcaption) p {
    margin: 0 0 8px !important;
}
div.libcontent.blog-article :is(li, td, th, blockquote, figcaption) p:last-child {
    margin-bottom: 0 !important;
}
div.libcontent.blog-article :is(p, li, td, th) span {
    display: inline;
    padding: 0;
    color: inherit;
}
div.libcontent.blog-article table {
    margin: 0 auto 24px !important;
    background: #fff;
    border: 1px solid #d5d9df;
    border-radius: 6px;
    font-size: 14px;
    line-height: 24px;
}
div.libcontent.blog-article table :is(td, th) {
    border: 0;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 14px;
    vertical-align: top;
    font-size: 14px;
    line-height: 24px;
    color: #000;
}
div.libcontent.blog-article table th,
div.libcontent.blog-article table thead td {
    background: #e9edf1;
    border-bottom-color: #b8c0ca;
    font-weight: 700;
    text-align: right;
}
div.libcontent.blog-article table :is(td, th) :is(p, li, blockquote) {
    font-size: inherit;
    line-height: inherit;
}
div.libcontent.blog-article table :is(ul, ol) {
    margin-bottom: 0;
    font-size: inherit;
    line-height: inherit;
}
div.libcontent.blog-article table caption {
    padding: 0 0 10px;
    font-size: 14px;
    line-height: 24px;
    text-align: right;
    color: #404040;
}
div.libcontent.blog-article blockquote {
    display: flow-root;
    margin: 0 0 24px;
    padding: 14px 16px;
    border-right: 3px solid #b8c0ca;
    background: #f5f5f5;
    font-style: normal;
}
div.libcontent.blog-article :is(blockquote, td, th) > :is(ul, ol):last-child {
    margin-bottom: 0;
}
div.libcontent.blog-article h4 {
    margin: 0 0 8px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 700;
    color: #000;
}
div.libcontent.blog-article figure {
    margin: 0 0 24px;
    max-width: 100%;
}
div.libcontent.blog-article figcaption,
div.libcontent.blog-article figcaption p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 24px;
    color: #404040;
}
div.libcontent.blog-article hr {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid #d5d9df;
}
div.libcontent.blog-article dl {
    margin: 0 0 24px;
}
div.libcontent.blog-article dt {
    font-weight: 700;
}
div.libcontent.blog-article dd {
    margin: 0 26px 12px 0;
}
div.libcontent.blog-article a:hover,
div.libcontent.blog-article a:focus-visible {
    text-decoration: underline;
}

.galleryline img:last-child {
    margin: 0;
}
a.back {
    font-size: 14px;
    font-weight: 700;
    display: block;
    float: right;
    color: #f5f5f5;
    background: #666;
    width: 232px;
    clear: both;
    margin: 10px 0;
    line-height: 200%;
    text-align: center;
}
@font-face {
    font-family: icon;
    src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SAVEAAAC8AAAAYGNtYXAaVcyKAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZlkvF/sAAAF4AAABEGhlYWQEs/tdAAACiAAAADZoaGVhBcIDxwAAAsAAAAAkaG10eApwAHMAAALkAAAAGGxvY2EAsABmAAAC/AAAAA5tYXhwAAgAIgAAAwwAAAAgbmFtZZlKCfsAAAMsAAABhnBvc3QAAwAAAAAEtAAAACAAAwIlAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADmAgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg5gL//f//AAAAAAAg5gH//f//AAH/4xoDAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABADcAGAH7A6AAHwAANwkBLgE1NDYzMhYXMQEeARUUBgcVAQ4BIyImNTQ2NzE8AZn+ZwIDCgYEBgIBpAICAgL+XAIGBAYKAwIzAakBqAMFBAYKAwL+TAIGAwQFAgH+TQMCCQcDBgIAAAEAPAAYAgADoAAfAAAlCQE+ATU0JiMiBgcxAQ4BFRQWFwcBHgEzMjY1NCYnMQH7/mgBmAMCCQcEBgL+XQMCAgMBAaQCBgQHCQIDMwGpAagDBQQGCgMC/kwCBgMEBQIB/k0DAgkHAwYCAAAAAAEAAAABAADbMjrFXw889QALBAAAAAAA0crbYAAAAADRyttgAAAAAAIAA6AAAAAIAAIAAAAAAAAAAQAAA8D/wAAABAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAAAAYEAAAAAAAAAAAAAAACAAAAAjgANwI4ADwAAAAAAAoAFAAeAFIAiAAAAAEAAAAGACAAAQAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA)
        format("truetype");
    font-weight: 400;
    font-style: normal;
}
.blockBrands {
    background: #fff;
    box-sizing: border-box;
    border: 1px solid #d5d9df;
    border-radius: 6px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 8px;
    width: 336px;
    float: right;
}
.blockBrandsfull {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    width: calc(100% - 48px);
    margin: 16px 24px;
    padding: 16px 0;
}
.blockBrands a {
    display: block;
    padding: 6px 8px;
    border-radius: 4px;
    color: #28313d;
    font-size: 14px;
    line-height: 24px;
    overflow-wrap: anywhere;
}
.blockBrands a:hover,
.blockBrands a.sel {
    color: #e10000;
    background: #fde7e9;
}
.blockBrands > div {
    grid-column: 1 / -1;
    margin-top: 12px;
}
.blockBrands > div a {
    display: inline-block;
    color: #e10000;
    font-weight: 700;
}

.search-car-choice {
    clear: both;
    margin-bottom: 16px;
}
.search-car-choice .search-choice-menu,
.search-filters .search-choice-menu {
    float: none;
    clear: none;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.search-choice-menu summary {
    overflow-wrap: anywhere;
}
.search-choice-selected {
    font: inherit;
    color: inherit;
}
.search-choice-menu .car-nav-panel {
    max-height: none;
    overflow: visible;
}
.search-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 4px 10px;
    max-height: 250px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.search-filters .search-options {
    grid-template-columns: minmax(0, 1fr);
}
.search-options label {
    padding: 9px 6px;
    border-radius: 4px;
    color: #000;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.search-options label span {
    font-size: 14px;
    font-weight: inherit;
    color: inherit;
}

.search-options label:hover {
    background: #f0f2f4;
}
.search-options label:has(input:checked) {
    color: #e10000;
    background: #fde7e9;
}
.search-model-group {
    min-width: 0;
}
.search-model-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    line-height: 24px;
}
.search-model-heading > span {
    font: inherit;
    color: inherit;
}
.search-brand-remove {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 8px;
    border: 0;
    background: transparent;
    color: #404040;
    font: inherit;
    font-size: 26px;
    cursor: pointer;
}
.search-model-groups {
    display: grid;
    gap: 20px;
    margin-top: 16px;
}
.search-model-groups:empty {
    display: none;
}
.search-brand-options {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.search-model-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.search-range-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.search-range {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.search-range-stepped input {
    appearance: textfield;
    -moz-appearance: textfield;
}
.search-range-stepped input::-webkit-inner-spin-button,
.search-range-stepped input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.search-range-arrows {
    display: flex;
    flex-direction: column;
    flex: 0 0 26px;
    margin-left: 4px;
}
.search-range-arrows button {
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: #404040;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}
.search-range-arrows button:hover {
    background: #f0f2f4;
}
.search-range-unit {
    display: inline-block;
    white-space: nowrap;
    font-size: 14px;
}
.search-range-unit,
.search-range-unit * {
    color: #e10000;
    font-weight: 700;
}

.search-form-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 20px;
}

div.searchfield {
    width: 475px;
    margin: 10px 10px 0 0;
    padding: 0 0 5px 0;
    float: right;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid #ddd;
}
div.searchfield div {
    font-weight: 400;
}
div.searchfield div input {
    margin: 0 0 0 5px;
}

.searchdiv {
    float: left;
    padding: 3px;
    background: #F3F4F6;
    border-radius: 10px;
}

.searchdiv:focus-within,
body:has(#ajaxSearchDiv[style*="display: block"]) .searchdiv {
    position: relative;
    z-index: 101;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.35);
}

.searchdiv input {
    font-size: 14px;
	width:350px;
    height: 36px;
    margin: 0;
    padding: 0 5px;
    background: #F3F4F6;
    color: #111827;
    float: right;
}
#header .advanced-search {
    float: left;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-sizing: border-box;
    height: 42px;
    margin: 0 20px 0 0;
    padding: 0 16px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

#header .advanced-search svg {
    display: block;
    flex-shrink: 0;
    color: inherit;
}

#header .advanced-search:hover {
    background: #F3F4F6;
}

#header .advanced-search:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.searchdiv span {
    display: inline-block;
    line-height: 36px;
    height: 36px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    float: right;
    width: 58px;
    border-radius: 8px;
    color: #fff;
    background: #FF6A00;
    text-transform: uppercase;
    margin: 0 4px 0 0;
    cursor: pointer;
}

.searchdiv ::placeholder {
    color: #6B7280;
}
.searchdiv :-ms-input-placeholder {
    color: #6B7280;
}
.searchdiv ::-ms-input-placeholder {
    color: #6B7280;
}

#hide,
#texts,
a.position img.n,
a.position span.r::after,
div.position img.s,
div.position span.p::after,
ul.modifdata {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.exp {
    height: 50px;
    overflow-y: scroll;
}
.expimg {
    cursor: pointer;
    vertical-align: middle;
}
.exp,
.exp2 {
    height: 50px;
    overflow-y: scroll;
}
.exp2 {
    overflow: hidden;
}
.expimg {
    cursor: pointer;
    vertical-align: middle;
}
a.affiliate {
    font-weight: 700;
    text-decoration: underline;
}
div.adsense, div.adsense2{
	float:right;
	height:280px;
	width:100%;
}
div.adsense>div, div.adsense2>div{
	height:280px;
	float:right;
	text-align:center
}

div.adsense>div{
	width:33.3333%;
}

div.adsense2>div{
	width:50%;
}


.adin {
    width: 842px;
    float: left;
    height: 280px ;
    overflow:hidden;
    text-align: center;
    z-index: 100;
	padding: 16px 0;
}
.ad300_600 {
    width: 300px ;
    float: right;
    min-height: 600px ;
    text-align: center;
	padding:10px 0;
}
.ad300 {
    width: 336px ;
    float: right;
    min-height: 600px ;
    text-align: center;
	padding:10px 0;
}



.ad970 {
    width: 1200px ;
    float: right;
    min-height: 115px ;
    overflow:hidden;
    padding: 16px 25px;
    text-align: center;
    border: none ;
    box-shadow: 0 !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-sizing: content-box !important;
}
.ad970nm {
    width: 1200px ;
    float: right;
    min-height: 115px ;
    overflow:hidden;
    text-align: center;
	padding: 16px 25px;
}
.ad970natur {
    width: 1200px ;
    float: right;
    text-align: center;
	padding:10px 0;
}
.ad970_250 {
    width: 1200px ;
    float: right;
    height: 280px ;
    overflow:hidden;
    padding: 16px 25px;
    text-align: center;
}
.ad970_280 {
	width: 1200px;
    float: right;
    height: 280px;
    overflow: hidden;
    padding: 10px 25px;
    text-align: center;
}

.float {
    float: right;
}
.left {
    margin-right: 10px !important;
}
.right {
    margin-left: 10px !important;
}
/* Ad padding owns the spacing at the boundary with content. */
:is(div, span, details):is(.markite, .brands, .libcontent, .blockBrands, .article-date, .car-nav, .links):has(+ :is(.ad970, .ad970nm, .ad970_250, .adin)) {
    margin-bottom: 0;
}
:is(.ad970, .ad970nm, .ad970_250, .adin) + :is(div, a):is(.markite, .brands, .textinsite, .letters, .libcontent, .blockBrands, .cardetails, .lib, .pagination, .rightlinks) {
    margin-top: 0;
}
div.liblist > :is(.ad970, .ad970nm, .ad970_250) + div.lib {
    margin-top: 0;
}
h1:has(+ :is(.ad970, .ad970nm, .ad970_250, .adin)),
h1:has(+ .liblist > :is(.ad970, .ad970nm, .ad970_250, .adin):first-child) {
    padding-bottom: 0;
}
:is(.ad970, .ad970nm, .ad970_250, .adin) + :is(div.cardetailsout) > div.cardetails:first-child {
    margin-top: 0;
}
.ad970_250 + form > div.searchfield:nth-child(-n + 2) {
    margin-top: 0;
}
div.libcontent .article-ad {
    padding: 16px 0;
}
div.libcontent > :is(p, ul, ol, blockquote, h2, h3, h4, table, figure, hr):has(+ .article-ad) {
    margin-bottom: 0;
}
div.libcontent > :is(p, table):has(+ .article-ad) {
    margin-bottom: 0 !important;
}

.high {
    width: 100%;
    float: right;
    height: 10px;
}
.clear {
    clear: both;
}
.clearl {
    clear: right;
}
#ajax_listOfOptions {
    position: absolute;
    width: 300px;
    max-height: 330px;
    overflow-y: scroll;
    border: 1px solid #c3c3c3;
    background-color: #fff;
    text-align: right;
    font-size: 14px;
    z-index: 100;
}
#ajaxSearchDiv {
    position: fixed;
    box-sizing: border-box;
    width: 428px;
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    border: 1px solid #d5d9df;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    background-color: #fff;
    text-align: right;
    font-size: 14px;
    z-index: 100;
}
#ajaxSearchDiv div,
#ajax_listOfOptions div {
    display: flex;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 24px;
    color: #28313d;
    border-right: 3px solid transparent;
    border-bottom: 1px solid #eef0f3;
}
#ajaxSearchDiv .optionDivSelected,
#ajax_listOfOptions .optionDivSelected {
    background-color: #fde7e9;
    border-right-color: #ff0000;
}
#ajaxSearchDiv div img,
#ajax_listOfOptions div img {
    flex-shrink: 0;
    box-sizing: content-box;
    width: 75px;
    height: 56.25px;
    object-fit: scale-down;
    margin: 0;
    padding: 2px;
    border: 1px solid #e2e5e9;
    border-radius: 4px;
    background: #fff;
}
#ajaxSearchDiv_iframe,
#ajax_listOfOptions_iframe {
    background-color: red;
    position: absolute;
    z-index: 5;
}


.userform{
	width: 700px;
	float: right;
	margin: 0 275px;
}
.userform a{
	font-weight: bold;
	text-decoration: underline;
}
.userform .urow{
	float: right;
	margin: 0 0 15px 0;
	width: 100%;
}
.userform .upar{
	font-weight:bold;
	float: right;
}
.userform .uerror{
	float: right;
	margin-right: 30px;
	color: #f00;
}
.userform .txtinput{
	box-sizing: border-box;
	width: 100%;
	border-radius:4px;
	padding: 4px;
	line-height: 100%;
	border:1px solid #ccc;
	font-size: 14px;
	background: #eee;
}
.userform .dis{
	background: #999;
	border:1px solid #666;
}
.userform .txtinput:focus{
	outline:none;
	background: #fff;
	color:#f00;
}
.userform .ufiles{
	width: 100%;
}

.userform div.hr{
	float:right;
	width:calc(100% + 300px);
	border-top:3px dashed #ad8282;
	margin:20px -150px;
}


.userform .tarea{
	box-sizing: border-box;
	width: 100%;
	border-radius:4px;
	padding: 4px;
	line-height: 100%;
	border:1px solid #ccc;
	font-size: 14px;
	background: #eee;
	float: right;
	height: 132px;
}
.userform .tarea:focus{
	outline:none;
	background:#fff;
	color:#f00;
}

.userform input[type="checkbox"]{
	width: 21px;
	height: 21px;
	float: right;
	margin: -2px 0 4px 8px;
}
.userform .button{
	box-sizing: border-box;
	border-radius:12px;
	padding: 10px;
	min-width:220px;
	line-height: 100%;
	font-size: 16px;
	background: #e00;
	float: left;
	color: #fff;
	font-weight: bold;
	cursor: pointer;
}

div.uddone, div.uderror{
	float: right;
	box-sizing: border-box;
	width: 100%;
	text-align: center;
	padding: 25px 20px;
	font-size: 20px;
	color: #090;
	font-weight: bold;
}



div.uderror{

	color: #900;
}

div.usercenter{
	float:right;
	width: 100%;
	text-align: center;
	padding: 15px 0 30px 0;
	font-size: 20px;
}
div.usercenter a{
	font-size: 20px;
}




/* Shared form panel; enabled on each page as its layout is updated. */
.userform.form-panel {
    box-sizing: border-box;
    float: none;
    clear: both;
    display: flow-root;
    width: 760px;
    max-width: calc(100% - 48px);
    margin: 16px auto 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid #d5d9df;
    border-radius: 6px;
}
.form-panel .urow {
    float: none;
    display: flow-root;
    margin: 0 0 16px;
}
.form-panel .urow:last-child {
    margin-bottom: 0;
}
.form-panel .upar {
    display: block;
    float: none;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 24px;
}
.form-panel .upar:empty {
    display: none;
}
.form-panel .uerror {
    float: none;
    margin: 0 0 8px;
    color: #b00000;
    font-size: 14px;
    font-style: normal;
    line-height: 24px;
}
.form-panel .uval + .uval {
    margin-top: 8px;
}
.form-panel .txtinput,
.form-panel .tarea,
.form-panel .search-choice-menu > summary,
.form-panel .search-choice-filter,
.form-panel .search-range-input,
.form-panel .search-range input {
    float: none;
    display: block;
    padding: 10px 12px;
    border: 1px solid #b8bec6;
    border-radius: 5px;
    background: #f8f8f8;
    color: #000;
    font-size: 14px;
    line-height: 24px;
}
.form-panel .tarea {
    min-height: 200px;
    height: 200px;
    resize: vertical;
}
.form-panel .txtinput:focus,
.form-panel .tarea:focus,
.form-panel .search-choice-menu > summary:focus-visible,
.form-panel .search-choice-filter:focus,
.form-panel .search-range-input:focus-within {
    border-color: #404040;
    background: #fff;
    outline: 2px solid #d5d9df;
    outline-offset: 2px;
    color: #000;
}
.form-panel .ufiles {
    display: block;
    font-size: 14px;
    line-height: 24px;
    color: #404040;
}
.form-panel .ufiles::file-selector-button {
    margin-left: 12px;
    padding: 8px 12px;
    border: 1px solid #d5d9df;
    border-radius: 5px;
    background: #fff;
    color: #000;
    font: inherit;
    cursor: pointer;
}
.form-panel .ufiles::file-selector-button:hover {
    border-color: #e10000;
    background: #fff5f5;
}
.form-panel .ucaptcha {
    display: flex;
    align-items: center;
    gap: 16px;
}
.form-panel .ucaptcha img {
    display: block;
    flex: none;
}
.form-panel .ucaptcha .txtinput {
    width: 180px;
}
.form-panel .button {
    float: right;
    min-width: 180px;
    padding: 11px 24px;
    border: 1px solid #e10000;
    border-radius: 5px;
    background: #e10000;
    color: #fff;
    font-size: 15px;
    line-height: 22px;
}
.form-panel .button:hover {
    border-color: #bd0000;
    background: #bd0000;
    color: #fff;
}
.form-panel .button.button-secondary {
    border-color: #b8bec6;
    background: #fff;
    color: #404040;
    cursor: pointer;
}
.form-panel .button.button-secondary:hover {
    border-color: #404040;
    background: #f8f8f8;
    color: #000;
}
.form-panel .button:focus-visible,
.form-panel .ufiles:focus-visible {
    outline: 2px solid #404040;
    outline-offset: 3px;
}
div.form-notice {
    float: none;
    clear: both;
    width: 760px;
    max-width: calc(100% - 48px);
    margin: 16px auto 24px;
    padding: 20px 24px;
    border: 1px solid #b7d5bb;
    border-radius: 6px;
    background: #f2faf3;
    color: #176426;
    font-size: 16px;
    line-height: 24px;
}
div.uderror.form-notice {
    border-color: #e5bcbc;
    background: #fff5f5;
    color: #b00000;
}

.userform.form-wide,
.userform.form-columns {
    width: calc(100% - 48px);
    margin: 16px 24px 24px;
    padding: 16px;
}
.userform.form-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 20px;
}
.form-columns .form-main,
.form-columns .form-side {
    min-width: 0;
}
.form-panel .form-actions {
    grid-column: 1 / -1;
}
.form-panel .form-actions .button {
    float: left;
}
.form-columns .tarea {
    min-height: 240px;
    height: 240px;
}

.form-panel .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.form-grid > .urow,
.form-grid > .form-checks {
    min-width: 0;
    margin: 0;
}
.form-panel .form-check,
.form-panel .search-options label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
}
.form-panel .form-check span,
.form-panel .form-check a,
.form-panel .search-options label span {
    font-size: inherit;
    line-height: inherit;
}
.form-panel .form-check input[type="checkbox"],
.form-panel .search-options input[type="checkbox"] {
    float: none;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 1px 0 0;
    accent-color: #e10000;
}
.form-panel .form-checks .upar {
    margin-bottom: 0;
}
.form-panel .usercenter {
    box-sizing: border-box;
    float: none;
    clear: both;
    margin-top: 16px;
    padding: 16px 0 0;
    border-top: 1px solid #e0e0e0;
    text-align: right;
    font-size: 14px;
    line-height: 24px;
    color: #404040;
}
.form-panel .usercenter a {
    font-size: inherit;
    color: #e10000;
}

.form-panel .form-full {
    grid-column: 1 / -1;
}
.userform.form-profile {
    padding: 0;
    border: 0;
    background: transparent;
}
.form-profile .form-section,
.form-panel .search-model-group {
    box-sizing: border-box;
    padding: 16px;
    border: 1px solid #d5d9df;
    border-radius: 6px;
    background: #fff;
}
.form-profile .form-section + .form-section {
    margin-top: 16px;
}
.form-profile .form-summary {
    width: calc((100% - 24px) / 2);
}
.form-profile .form-notice {
    width: 100%;
    max-width: 100%;
    margin: 0 0 16px;
}
.form-profile .form-danger {
    border-color: #e5bcbc;
}
.form-panel .form-danger .button {
    background: #fff;
    color: #b00000;
    border-color: #e5bcbc;
}
.form-panel .form-danger .button:hover {
    background: #fff5f5;
    border-color: #e10000;
    color: #e10000;
}

.form-panel .form-value {
    padding: 10px 0;
    font-size: 15px;
    line-height: 22px;
    overflow-wrap: anywhere;
}

/* Search uses the shared form styles. */
.form-panel .search-range-field .upar {
    flex-grow: 1;
}
.form-panel .search-choice-filter {
    height: auto;
}
.form-panel .search-choice-menu > summary {
    display: list-item;
}
.form-panel .search-choice-menu[open] > summary {
    border-color: #404040;
    background: #fff;
}
.form-panel .search-range-input {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 0;
}
.form-panel .search-range input {
    box-sizing: border-box;
    flex: 1 1 0;
    width: 100%;
    min-width: 0;
    min-height: 0;
    border: 0;
    background: transparent;
}
.form-panel .search-range input:focus {
    outline: none;
}
.form-panel .search-range-invalid .search-range-input {
    border-color: #e10000;
    background: #fff0f0;
}

.search-sort-field {
    min-width: 0;
}
.form-panel .search-sort-field select {
    font-family: inherit;
}
.form-panel .search-sort-field option {
    font: inherit;
}
.userform.search-sort-results {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 20px;
}
.search-result-actions {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: 0;
}

.search-active-filters {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 8px;
    min-width: 0;
}
.form-panel a.search-filter-chip {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 0 5px;
    border: 1px solid #d5d9df;
    border-radius: 11px;
    background: #f5f5f5;
    color: #000000;
    font-size: 13px;
    font-weight: 400;
    line-height: 11px;
    text-decoration: none;
}
.search-filter-text {
    min-width: 0;
    overflow-wrap: anywhere;
    font: inherit;
    color: inherit;
}
.search-filter-remove {
    flex: none;
    color: #e10000;
    font-size: 14px;
    line-height: 24px;
    font-weight: bolder;
}
.form-panel a.search-filter-chip:hover {
    border-color: #e10000;
    color: #e10000;
    background: #fff5f5;
}
.form-panel a.search-refine {
    display: inline-block;
    margin-top: 12px;
    color: #e10000;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
}
.form-panel a.search-refine:hover {
    text-decoration: underline;
}
.form-panel a.search-filter-chip:focus-visible,
.form-panel a.search-refine:focus-visible {
    outline: 2px solid #404040;
    outline-offset: 3px;
}

/* празни рекламни места, докато няма рекламен код: само разстояние */
.ad, .ad970, .ad970_250, .ad970_280, .ad970nm, .adin, .adsense, .adsense2 {
    height: 16px !important; min-height: 0 !important; padding: 0 !important; overflow: hidden;
}

/* стойностите: посоката се определя от първата буква в тях */
div.val, div.val > div.a, div.val > div.b, div.val > div.c { unicode-bidi: plaintext; text-align: right; }

/* цифри според маркера languages.digits (клас на <html>) */
@font-face { font-family: 'Vazirmatn FD'; src: url('fonts/vazirmatn-fd.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Vazirmatn FD'; src: url('fonts/vazirmatn-fd-bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
html.digits-persian * { font-family: 'Vazirmatn FD', Tahoma, sans-serif !important; }

/* breadcrumb: всяка част се подрежда отделно, по първата си буква */
#position a, #position span { unicode-bidi: plaintext; }

/* начална страница: голяма търсачка и типове каросерия */
.hero-search { position: relative; float: right; width: calc(100% - 48px); margin: 4px 24px 8px; display: flex; align-items: center; background: #F3F4F6; border-radius: 14px; box-sizing: border-box; }
.hero-search:focus-within { box-shadow: 0 0 0 2px #FF6A00; }
.hero-search input { flex: 1; min-width: 0; height: 56px; padding: 0 20px; font-size: 18px; border: 0; background: transparent; color: #111827; outline: none; text-align: right; }
.hero-search input::placeholder { color: #6B7280; }
.hero-search button { flex: 0 0 auto; width: 56px; height: 44px; margin: 6px; border: 0; border-radius: 10px; background: #FF6A00; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hero-advanced { float: right; clear: both; margin: 0 24px 16px; font-size: 14px; color: #111827; text-decoration: underline; }
.body-types { float: right; clear: both; width: calc(100% - 48px); margin: 0 24px 24px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; box-sizing: border-box; }
.body-types a { flex: 0 0 176px; scroll-snap-align: start; text-align: center; padding: 12px 8px 10px; background: #F6F7F9; border-radius: 14px; color: #111827; text-decoration: none; box-sizing: border-box; }
.body-types a:hover { box-shadow: inset 0 0 0 2px #FF6A00; }
.body-types img { width: 160px; height: auto; display: block; margin: 0 auto 6px; }
.body-types span { font-size: 14px; }
.front-title { float: right; clear: both; width: calc(100% - 48px); margin: 36px 24px 14px; font-size: 22px; font-weight: 700; color: #111827; text-align: right; }

/* плочки с марки: бели, тънка рамка, сиви лога (цветни при посочване) */
div.markite { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 0; }
a.marki_blok { border: 1px solid #E5E7EB; border-radius: 12px; background: #fff; min-height: 0; padding: 22px 8px 16px; }
a.marki_blok:hover { border-color: #E5E7EB; background: #F3F4F6; box-shadow: none; }
a.marki_blok img { width: 44px; height: 44px; padding: 0; margin-bottom: 10px; }
a.marki_blok strong { border-top: 0; padding-top: 0; font-size: 15px; font-weight: 400; color: #374151; }

.brand-letters { float: right; clear: both; width: calc(100% - 48px); margin: 0 24px 14px; display: flex; flex-wrap: wrap; gap: 4px; }
.brand-letters button { min-width: 32px; height: 32px; padding: 0 6px; border: 0; border-radius: 8px; background: transparent; color: #374151; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.brand-letters button:hover { background: #F3F4F6; }
.brand-letters button.on { background: #1F2937; color: #fff; }

/* типове каросерия: без плочки, колите направо на белия фон */
.types-wrap { position: relative; float: right; clear: both; width: 100%; }
.body-types { gap: 28px; scrollbar-width: none; }
.body-types::-webkit-scrollbar { display: none; }
.body-types a { flex: 0 0 200px; background: transparent; border: 0; border-radius: 0; padding: 4px 0 6px; box-shadow: none; }
.body-types a:hover { box-shadow: none; color: #FF6A00; }
.body-types img { width: 200px; filter: drop-shadow(0 10px 8px rgba(17, 24, 39, .10)); transition: transform .15s; }
.body-types a:hover img { transform: translateY(-3px); }
.body-types span { font-size: 15px; }
.types-arrow { position: absolute; top: 30%; z-index: 2; width: 40px; height: 40px; padding: 0; border: 1px solid #E5E7EB; border-radius: 50%; background: #fff; color: #111827; font-size: 24px; line-height: 36px; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.types-arrow:hover { border-color: #FF6A00; color: #FF6A00; }
.types-prev { right: 8px; }
.types-next { left: 8px; }

.front-head { float: right; clear: both; width: calc(100% - 48px); margin: 36px 24px 14px; display: flex; align-items: baseline; justify-content: space-between; }
.front-head .front-title { float: none; clear: none; width: auto; margin: 0; }
.front-all { font-size: 14px; font-weight: 600; color: #111827; text-decoration: underline; }
.car-card { flex: 0 0 236px; scroll-snap-align: start; display: block; color: #111827; text-decoration: none; }
.car-card, .car-card * { text-align: right; }
.cc-img { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #F3F4F6; }
.cc-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.car-card:hover .cc-img img { transform: scale(1.04); }
.cc-title { display: block; margin-top: 10px; font-size: 15px; font-weight: 700; line-height: 22px; }
.car-card:hover .cc-title { color: #FF6A00; }
.cc-sub { display: block; font-size: 13px; line-height: 20px; color: #6B7280; unicode-bidi: plaintext; }
.cc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cc-chips span { padding: 1px 8px; border-radius: 999px; background: #F3F4F6; font-size: 12px; line-height: 20px; color: #374151; }
.cc-chips .cc-years { unicode-bidi: plaintext; }
.cc-chips .cc-years.on::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 5px; border-radius: 50%; background: #16A34A; vertical-align: middle; }

/* началната: нови модели, класации, подбрани, сравнения */
.front-sec { float: right; clear: both; width: 100%; }
.car-grid, .rank-grid, .pick-grid, .cmp-grid { float: right; width: calc(100% - 48px); margin: 0 24px 8px; display: grid; gap: 16px; }
.car-grid { grid-template-columns: repeat(4, 1fr); row-gap: 24px; }
.rank-grid { grid-template-columns: repeat(2, 1fr); }
.pick-grid, .cmp-grid { grid-template-columns: repeat(3, 1fr); }
.car-grid .car-card { min-width: 0; }
.rank-tile, .pick-col, .cmp-card { min-width: 0; padding: 16px; border: 1px solid #E5E7EB; border-radius: 12px; background: #fff; }
.tile-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tile-head h3 { margin: 0; font-size: 16px; font-weight: 700; line-height: 24px; color: #111827; text-align: right; }
.tile-head a { font-size: 13px; font-weight: 600; color: #111827; text-decoration: underline; white-space: nowrap; }
.pick-col .car-card { margin-bottom: 4px; }
.rank-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid #F3F4F6; color: #111827; text-decoration: none; }
.tile-head + .rank-row { border-top: 0; }
.rank-n { flex: 0 0 24px; height: 24px; border-radius: 50%; background: #F3F4F6; font-size: 13px; font-weight: 700; line-height: 24px; text-align: center; }
.rank-tile a.rank-row:first-of-type .rank-n { background: #FF6A00; color: #fff; }
.rank-img { flex: 0 0 72px; height: 54px; border-radius: 8px; overflow: hidden; background: #F3F4F6; }
.rank-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rank-name { flex: 1 1 auto; min-width: 0; }
.rank-name b, .rank-name small, .cmp-name b, .cmp-name small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: right; }
.rank-name b, .cmp-name b { font-size: 14px; line-height: 20px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rank-name small, .cmp-name small { font-size: 12px; line-height: 18px; color: #6B7280; unicode-bidi: plaintext; }
.rank-row:hover b { color: #FF6A00; }
.rank-val { flex: 0 0 auto; font-size: 18px; font-weight: 800; color: #FF6A00; white-space: nowrap; }
.rank-val small { font-size: 12px; font-weight: 600; color: #6B7280; }
.cmp-card { display: block; color: #111827; text-decoration: none; }
.cmp-card:hover { border-color: #FF6A00; }
.cmp-imgs { display: flex; gap: 8px; position: relative; }
.cmp-imgs .cc-img { flex: 1 1 0; min-width: 0; }
.cmp-vs { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); min-width: 20px; padding: 0 8px; border-radius: 18px; background: #FF6A00; color: #fff; font-size: 12px; font-weight: 700; line-height: 32px; text-align: center; box-shadow: 0 0 0 3px #fff; }
.cmp-names { display: flex; gap: 8px; margin: 10px 0 6px; }
.cmp-name { flex: 1 1 0; min-width: 0; }
.cmp-name + .cmp-name b, .cmp-name + .cmp-name small { text-align: left; }
.cmp-spec { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid #F3F4F6; font-size: 14px; }
.cmp-spec b { flex: 1 1 0; font-weight: 700; text-align: right; white-space: nowrap; }
.cmp-spec b:last-child { text-align: left; }
.cmp-spec b small { font-size: 11px; font-weight: 600; color: #6B7280; }
.cmp-spec em { flex: 0 1 auto; max-width: 50%; font-style: normal; font-size: 12px; line-height: 16px; color: #6B7280; text-align: center; }
.cmp-btn { display: block; margin-top: 10px; padding: 8px; border-radius: 8px; background: #F3F4F6; font-size: 14px; font-weight: 700; text-align: center; }
.cmp-card:hover .cmp-btn { background: #FF6A00; color: #fff; }

/* марките (началната и всички марки): списък лого + име */
div.markite.brand-list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 20px; }
:is(.markite, .brands) > a.marki_blok { flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 0; padding: 12px; border: 0; border-radius: 10px; background: transparent; }
:is(.markite, .brands) > a.marki_blok:hover { border-color: transparent; background: #F3F4F6; }
:is(.markite, .brands) > a.marki_blok img { flex: 0 0 36px; width: 36px; height: 36px; margin: 0; padding: 0; }
:is(.markite, .brands) > a.marki_blok strong { display: block; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; font-size: 17px; font-weight: 500; line-height: 24px; color: #1F2937; text-align: right; unicode-bidi: plaintext; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
:is(.markite, .brands) > a.marki_blok:hover strong { color: #111827; }
:is(.markite, .brands) > a.marki_all strong { font-weight: 700; color: #FF6A00; white-space: normal; }
.cc-chips .cc-val { background: #FFF1E6; color: #FF6A00; font-weight: 700; }

/* страница на марка: филтър всички / в производство / спрени */
.brand-letters.model-filter button { padding: 0 14px; }

/* страница на модел: две групи филтри (застъпват се) */
.card-filter { float: right; clear: both; width: 100%; }
.card-filter .brand-letters { margin-bottom: 8px; }
.card-filter + .car-grid { margin-top: 8px; }

/* страница на поколение: галерия, плочки, най-доброто, таблица, другите поколения */
.gx { float: right; clear: both; width: 100%; box-sizing: border-box; padding: 0 24px; color: #111827; }
.gx * { box-sizing: border-box; }
.gx-gallery { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 8px; height: 440px; margin-top: 16px; }
.gx-gallery.gx-one { grid-template-columns: minmax(0, 1fr); }
.gx-main, .gx-tile { position: relative; display: block; overflow: hidden; min-width: 0; min-height: 0; border-radius: 14px; background: #F3F4F6; cursor: pointer; }
.gx-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.gx-main:hover img, .gx-tile:hover img { transform: scale(1.03); }
.gx-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; min-width: 0; min-height: 0; }
.gx-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(17, 24, 39, .55); color: #fff; font-size: 18px; font-weight: 700; }
.gx-play { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(17, 24, 39, .7); }
.gx-play::after { content: ''; position: absolute; top: 18px; left: 22px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent #fff; }
.gx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 4px; }
.gx-fact { padding: 12px 14px; border: 1px solid #E5E7EB; border-radius: 12px; }
.gx-fact small { display: block; font-size: 12px; color: #6B7280; text-align: right; }
.gx-fact b { display: block; margin-top: 2px; font-size: 16px; text-align: right; }
.gx-y.on::after { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #16A34A; vertical-align: middle; }
.gx-best { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.gx-bcard { display: block; padding: 14px 16px; border: 1px solid #FFE1CC; border-radius: 12px; background: #FFF7F0; color: #111827; text-decoration: none; }
.gx-bcard:hover { border-color: #FF6A00; }
.gx-bcard small { display: block; font-size: 13px; color: #6B7280; text-align: right; }
.gx-bcard b { display: block; margin: 2px 0; font-size: 22px; color: #FF6A00; text-align: right; }
.gx-bcard span { display: block; font-size: 13px; color: #374151; unicode-bidi: plaintext; text-align: right; }
.gx .card-filter { margin-top: 24px; }
.gx .card-filter .brand-letters { width: 100%; margin: 0 0 8px; }
.gx-table { margin-top: 8px; }
.gx-tr { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.3fr); gap: 12px; align-items: center; padding: 12px 10px; border-bottom: 1px solid #F3F4F6; color: #111827; font-size: 14px; text-decoration: none; }
.gx-tr > span { text-align: right; }
a.gx-tr:hover { background: #F9FAFB; }
a.gx-tr:hover .c-name { color: #FF6A00; }
.gx-th { padding: 8px 10px; border-bottom: 1px solid #E5E7EB; color: #6B7280; font-size: 12px; font-weight: 600; }
.gx-tr .c-name { font-weight: 700; unicode-bidi: plaintext; }
.gx-tr .c-y { color: #6B7280; unicode-bidi: plaintext; }
.gx-tr .c-y.on::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 5px; border-radius: 50%; background: #16A34A; vertical-align: middle; }
.gx-tr b { font-size: 15px; }
.gx-tr .e { color: #D1D5DB; }
.gx-group { margin-top: 18px; padding: 6px 10px; border-bottom: 2px solid #FF6A00; color: #FF6A00; font-size: 13px; font-weight: 700; text-align: right; }
.gx-group small { color: #9CA3AF; font-weight: 600; }
.gx-head { display: flex; align-items: baseline; justify-content: space-between; margin: 36px 0 12px; }
.gx-head h2 { margin: 0; font-size: 20px; font-weight: 800; color: #111827; }
.gx-head a { font-size: 14px; font-weight: 600; color: #111827; text-decoration: underline; }
.gx-line { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.gx-gen { flex: 0 0 170px; color: #111827; text-decoration: none; }
.gx-gimg { display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: #F3F4F6; }
.gx-gen.cur .gx-gimg { border-color: #FF6A00; }
.gx-gen:hover b { color: #FF6A00; }
.gx-gimg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gx-gen b { display: block; margin-top: 6px; font-size: 13px; unicode-bidi: plaintext; text-align: right; }
.gx-gen small { display: block; font-size: 12px; color: #6B7280; unicode-bidi: plaintext; text-align: right; }

/* lightbox (js/lbox.js): снимки и видеа, миниатюри, мрежа с всички */
html.lb-lock, html.lb-lock body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 10000; display: none; flex-direction: column; background: #0B0F19; color: #fff; }
.lb.on { display: flex; }
.lb-top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; }
.lb-title { flex: 1 1 auto; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; font-weight: 700; color: #fff; text-align: right; unicode-bidi: plaintext; }
.lb-count { flex: 0 0 auto; direction: ltr; font-size: 14px; color: #D1D5DB; }
.lb-btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-stage { position: relative; flex: 1 1 auto; min-height: 0; }
.lb-track { display: flex; height: 100%; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { position: relative; display: flex; flex: 0 0 100%; align-items: center; justify-content: center; min-width: 0; height: 100%; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-vslide { background: #000 center / contain no-repeat; }
.lb-vslide iframe { width: min(100%, 1100px); max-height: 100%; aspect-ratio: 16 / 9; border: 0; }
.lb-play { position: relative; width: 76px; height: 76px; border: 0; border-radius: 50%; background: rgba(255, 106, 0, .92); cursor: pointer; }
.lb-play::after { content: ''; position: absolute; top: 24px; left: 30px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }
.lb-arrow { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; }
.lb-prev { right: 16px; }
.lb-next { left: 16px; }
.lb-arrow:disabled { opacity: .25; cursor: default; }
.img-credit { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; box-sizing: border-box; padding: 18px 12px 6px; background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .65)); color: #E5E7EB; font-size: 11px; line-height: 1.4; text-align: start; unicode-bidi: plaintext; overflow-wrap: anywhere; cursor: default; }
.img-credit a { font-size: inherit; line-height: inherit; color: #fff; text-decoration: underline; }
.lb-thumbs { display: flex; gap: 6px; padding: 10px 16px 14px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #374151 transparent; }
.lb-th { position: relative; flex: 0 0 auto; width: 88px; height: 62px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 8px; background: #1F2937; opacity: .55; cursor: pointer; }
.lb-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lb-th:hover, .lb-th.on { opacity: 1; }
.lb-th.on { border-color: #FF6A00; }
.lb-thv::after { content: '▶'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .35); color: #fff; font-size: 18px; }
.lb-grid { position: absolute; inset: 0; z-index: 3; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); align-content: start; gap: 8px; padding: 14px 16px; overflow-y: auto; background: #0B0F19; }
.lb-grid[hidden] { display: none; }
.lb-grid .lb-th { width: auto; height: auto; aspect-ratio: 4 / 3; opacity: 1; }
.lb.lb-gridon .lb-ad, .lb.lb-gridon .lb-thumbs, .lb.lb-gridon .lb-arrow { display: none; }
.lb-top .lb-x, .lb-top .lb-gbtn { width: 44px; height: 44px; background: #fff; color: #111827; box-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.lb-top .lb-x:hover, .lb-top .lb-gbtn:hover, .lb.lb-gridon .lb-gbtn { background: #FF6A00; color: #fff; }

/* страница на кола: чипове, ключови числа, бутони, раздели, характеристики в 2 колони */
.cx { float: right; clear: both; width: 100%; box-sizing: border-box; padding: 0 24px; color: #111827; }
.cx * { box-sizing: border-box; }
.cx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cx-chips span { padding: 3px 12px; border-radius: 999px; background: #F3F4F6; color: #374151; font-size: 13px; font-weight: 600; unicode-bidi: plaintext; }
.cx-y.on::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #16A34A; vertical-align: middle; }
.cx-keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.cx-key { padding: 14px 10px; border: 1px solid #E5E7EB; border-radius: 12px; text-align: center; }
.cx-key b { display: block; font-size: 22px; font-weight: 800; color: #111827; text-align: center; }
.cx-key b i { font-size: 13px; font-style: normal; font-weight: 600; color: #374151; }
.cx-key small { display: block; margin-top: 2px; font-size: 12px; color: #6B7280; text-align: center; }
.cx-actions { display: flex; gap: 10px; margin-top: 16px; }
.cx-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border: 1px solid #E5E7EB; border-radius: 10px; background: #fff; color: #111827; font-size: 15px; font-weight: 700; text-decoration: none; }
.cx-btn:hover { border-color: #FF6A00; color: #FF6A00; }
.cx-btn.cx-main { border-color: #FF6A00; background: #FF6A00; color: #fff; }
.cx-btn.cx-main:hover { background: #E85F00; color: #fff; }
.cx-tabs { position: sticky; top: 0; z-index: 5; display: flex; gap: 4px; padding: 10px 0; overflow-x: auto; background: #fff; border-bottom: 1px solid #E5E7EB; scrollbar-width: none; }
.cx-tabs::-webkit-scrollbar { display: none; }
.cx-tabs a { flex: 0 0 auto; padding: 6px 14px; border-radius: 8px; color: #374151; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.cx-tabs a:hover { background: #F3F4F6; }
.cx-tabs a.on { background: #1F2937; color: #fff; }
.cx div.cardetailsout { float: none; width: auto; margin: 0; }
.cx div.cardetails { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; float: none; width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; scroll-margin-top: 70px; }
.cx div.cardetails div.cardetails { grid-column: 1 / -1; width: auto; margin: 0; border: 0; background: none; }
.cx div.cardetails > h2, .cx div.cardetails > h3 { grid-column: 1 / -1; float: none; width: auto; height: auto; margin: 26px 0 6px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 18px; font-weight: 800; line-height: 26px; color: #111827; text-align: right; }
.cx div.cardetails > h3 { margin-top: 14px; font-size: 15px; color: #374151; }
.cx div.cardetails div.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px; align-items: baseline; float: none; width: auto; margin: 0; padding: 10px 2px; border: 0; border-bottom: 1px solid #F3F4F6; border-radius: 0; }
.cx div.cardetails div.row:hover { background: #F9FAFB; }
.cx div.cardetails div.par, .cx div.cardetailsout div.par { float: none; width: auto; font-size: 13px; font-weight: 400; color: #6B7280; text-align: right; }
.cx div.cardetails div.val, .cx div.cardetailsout div.val { float: none; width: auto; font-size: 14px; font-weight: 700; color: #111827; text-align: right; }
.cx div.cardetails div.val a { color: #111827; text-decoration: underline; }

/* сравнение: карти на колите, закачена лента с имената, таблица по колони, най-добрата стойност */
.cmx-cars { float: right; clear: both; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: calc(100% - 48px); margin: 8px 24px 0; }
.cmx-car { position: relative; min-width: 0; padding: 10px; border: 1px solid #E5E7EB; border-radius: 12px; background: #fff; }
.cmx-link { display: block; color: #111827; text-decoration: none; }
.cmx-link .cc-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: #F3F4F6; }
.cmx-link img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cmx-link b { display: block; margin-top: 8px; font-size: 15px; line-height: 22px; text-align: right; unicode-bidi: plaintext; }
.cmx-link small { display: block; font-size: 13px; color: #6B7280; text-align: right; unicode-bidi: plaintext; }
.cmx-link:hover b { color: #FF6A00; }
.cmx-x { position: absolute; top: 16px; left: 16px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #111827; box-shadow: 0 1px 6px rgba(0, 0, 0, .25); }
.cmx-x:hover { background: #FF6A00; color: #fff; }
.cmx-add { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 200px; border: 2px dashed #D1D5DB; background: #F9FAFB; }
.cmx-plus { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: #FF6A00; color: #fff; font-size: 28px; font-weight: 700; line-height: 1; }
.cmx-add input { box-sizing: border-box; width: 100%; height: 44px; padding: 0 14px; border: 1px solid #E5E7EB; border-radius: 10px; background: #fff; font: inherit; font-size: 15px; }
.cmx { float: right; clear: both; box-sizing: border-box; width: calc(100% - 48px); margin: 16px 24px 0; color: #111827; }
.cmx-head { position: sticky; top: 0; z-index: 6; background: #fff; border-bottom: 1px solid #E5E7EB; }
.cmx .cmx-head .cx-tabs { position: static; align-items: center; padding: 4px 0 8px; border: 0; }
.cmx-diff { flex: 0 0 auto; height: 32px; margin-right: auto; padding: 0 12px; border: 1px solid #E5E7EB; border-radius: 8px; background: #fff; color: #374151; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.cmx-diff.on { border-color: #FF6A00; background: #FF6A00; color: #fff; }
.cmx div.carcompare { float: none; width: auto; margin: 0; padding: 0; border: 0; background: none; }
.cmx div.cardetails { float: none; width: auto; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; scroll-margin-top: 110px; }
.cmx div.cardetails div.cardetails { width: auto; margin: 0; border: 0; background: none; }
.cmx div.cardetails > h2, .cmx div.cardetails > h3 { float: none; width: auto; height: auto; margin: 26px 0 6px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 18px; font-weight: 800; line-height: 26px; color: #111827; text-align: right; }
.cmx div.cardetails > h3 { margin-top: 14px; font-size: 15px; color: #374151; }
.cmx div.cardetails div.row, .cmx-names { display: grid; gap: 12px; align-items: baseline; }
.cmx.n1 :is(div.row, .cmx-names) { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.cmx.n2 :is(div.row, .cmx-names) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.5fr); }
.cmx.n3 :is(div.row, .cmx-names) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cmx div.cardetails div.row { float: none; width: auto; margin: 0; padding: 10px 2px; border: 0; border-bottom: 1px solid #F3F4F6; border-radius: 0; }
.cmx div.cardetails div.row:hover { background: #F9FAFB; }
.cmx div.cardetails div.val { display: contents; }
.cmx div.carcompare div.cardetails div.par { float: none; width: auto; font-size: 13px; font-weight: 400; color: #6B7280; text-align: right; }
.cmx div.carcompare div.val > div { float: none; width: auto; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 700; color: #111827; text-align: right; }
.cmx div.carcompare div.val > div.best { color: #FF6A00; }
.cmx:not(.has1) :is(.cmx-names, .val) > .a, .cmx:not(.has2) :is(.cmx-names, .val) > .b, .cmx:not(.has3) :is(.cmx-names, .val) > .c { display: none; }
.cmx-names { padding: 8px 2px 4px; font-size: 13px; font-weight: 800; }
.cmx-names span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: right; unicode-bidi: plaintext; }
.cmx.diff div.row.same { display: none; }

/* закачените ленти (кола, сравнение) стоят под хедъра, докато той се вижда */
.cx-tabs, .cmx-head { top: 59px; transition: top 240ms ease; }
body.header-hidden .cx-tabs, body.header-hidden .cmx-head { top: 0; }
.cx div.cardetails { scroll-margin-top: 130px; }
.cmx div.cardetails { scroll-margin-top: 160px; }

/* форми (контакт, разширено търсене, панелът над резултатите): оранжев акцент, светли полета */
.userform.form-panel { border-color: #E5E7EB; border-radius: 14px; }
.form-panel .upar { font-weight: 700; color: #374151; }
.form-panel .txtinput, .form-panel .tarea, .form-panel .search-choice-menu > summary, .form-panel .search-choice-filter, .form-panel .search-range-input, .form-panel .search-range input { border-color: #E5E7EB; border-radius: 10px; background: #F9FAFB; color: #111827; }
.form-panel .txtinput:focus, .form-panel .tarea:focus, .form-panel .search-choice-menu > summary:focus-visible, .form-panel .search-choice-filter:focus, .form-panel .search-range-input:focus-within { border-color: #FF6A00; background: #fff; outline: 3px solid rgba(255, 106, 0, .15); outline-offset: 0; color: #111827; }
.form-panel .button { border-color: #FF6A00; border-radius: 10px; background: #FF6A00; color: #fff; font-weight: 700; }
.form-panel .button:hover { border-color: #E85F00; background: #E85F00; color: #fff; }
.form-panel .button.button-secondary { border-color: #E5E7EB; background: #fff; color: #111827; }
.form-panel .button.button-secondary:hover { border-color: #FF6A00; background: #fff; color: #FF6A00; }
.form-panel .button:focus-visible, .form-panel .ufiles:focus-visible { outline-color: #FF6A00; }
.form-panel .ufiles::file-selector-button { border-color: #E5E7EB; border-radius: 8px; background: #F9FAFB; color: #111827; font-weight: 600; }
.form-panel .ufiles::file-selector-button:hover { border-color: #FF6A00; background: #fff; color: #FF6A00; }
.form-panel .search-options input[type="checkbox"] { accent-color: #FF6A00; }
.search-options label:has(input:checked) { background: #FFF1E6; color: #C2410C; }
.search-range-unit, .search-range-unit * { color: #6B7280; }
.form-panel input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.form-panel input[type="number"]::-webkit-inner-spin-button, .form-panel input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.form-panel a.search-filter-chip { border-color: #E5E7EB; background: #F3F4F6; color: #111827; }
.form-panel a.search-filter-chip:hover { border-color: #FF6A00; color: #FF6A00; }
.search-filter-remove { color: #6B7280; }
.form-panel a.search-refine { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; border: 1px solid #E5E7EB; border-radius: 10px; background: #fff; color: #111827; font-weight: 700; text-decoration: none; }
.form-panel a.search-refine:hover { border-color: #FF6A00; color: #FF6A00; }
.userform.search-sort-results { padding: 0; border: 0; background: none; }
.userform.search-sort-results { width: calc(100% - 48px); max-width: none; margin: 8px 24px 16px; align-items: flex-end; }
.search-result-actions { display: flex; align-items: flex-end; gap: 10px; }
.search-result-actions .search-sort-field { flex: 1 1 auto; }

/* страница 404 */
.nf { float: right; clear: both; box-sizing: border-box; width: 100%; padding: 48px 24px 64px; text-align: center; }
.nf-code { font-size: 120px; font-weight: 900; line-height: 1; color: #FF6A00; }
.nf h1 { float: none; width: auto; margin: 12px 0 8px; padding: 0; font-size: 28px; text-align: center; }
.nf p { max-width: 560px; margin: 0 auto 24px; font-size: 15px; line-height: 26px; color: #6B7280; text-align: center; }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.form-panel a.search-refine { white-space: nowrap; }
