@import 'jquery.fancybox.css';
@import 'jquery.fancybox-thumbs.css';
:root {
    --_grey: #c3c3c3;
    --_grey-dark: #8c8d8d;
    --_red: #f60025;
    --_red-hover: #af031d;
}
html,
body {
    scrollbar-gutter: stable;
    padding: 0 !important;
}
.modal {
    --bs-modal-zindex: 99999;
}
.modal-backdrop {
    --bs-backdrop-zindex: 9999;
}
.h1, h1 {
	font-weight: 500;
}
.h2, .h3, .h4, .h5, .h6, h2, h3, h4, h5, h6 {
	margin-top: 0;
	margin-bottom: .5rem;
	font-weight: 300;
	line-height: 1.2;
}
li::marker {
    color: var(--_red);
}
.breadcrumb .float-start {
    display: none;
}
.breadcrumb {
    padding: 0;
    background-color: transparent;
}
.breadcrumb-item {
    font-size: .9em;
}
.pathway {
    font-weight: 500;
}
a.pathway {
    color: #252525;
}
a.pathway:hover {
    color: var(--_red);
}
.breadcrumb-item.active {
    font-weight: 500;
    color: var(--_grey-dark);
}
/* Начало для избранного*/
.favorite {
	display: block;
	width: 50px;
	height: 50px;
	background: url("/media/com_sellcar/images/favorite1.png");
	background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
	border-radius: 5px;
	border: 1px solid #c3c3c3;
	cursor: pointer;
}

.added .favorite {
	display: block;
	width: 50px;
	height: 50px;
	background: url("/media/com_sellcar/images/favorite2.png");
	background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
	border: 2px solid #ec1c24;
}
/* Конец для избранного*/

#fancybox-lock {
    z-index: 99999;
}
.fancybox-overlay {
    z-index: 9999;
}

#fancybox-thumbs {
    z-index: 99999;
}
.red {
    color: var(--_red);
}

.red-footnote{
    color: var(--_red);
  	font-style: italic;
  	font-size: 12px;
}


.custom-tooltip {
    --bs-tooltip-bg: var(--_red);
    --bs-tooltip-border-radius: 4px;
}

#sp-top-section .container {
    height: 70px;
    display: flex;
    justify-content: end;
    align-items: center;
    padding-inline: 27px;
    background-color: #fff;
    border-bottom: 2px solid var(--_grey);
}
.top-info {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 50px;
}
.top-info__text {
    text-transform: uppercase;
}
.top-info__item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.top-info__text.__link {
    color: #252525;
    font-weight: 500;
}
.top-info__text.__link:hover {
    color: var(--_red);
}
.btn.phm-btn-red.__top {
    height: 40px;
}
#sp-header {
    animation: none !important;
    box-shadow: none;
}
#sp-header.header-sticky {
    background-color: #fff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
}
#sp-header.header-sticky + section {
    padding-top: 75px;
}
.sp-megamenu-parent {
    margin: 0;
}
.sp-megamenu-parent>li>a,
.sp-megamenu-parent>li>span {
    text-transform: uppercase;
    padding: 0 15px !important;
}
.sp-module.cars-menu-box {
    background-color: #fff;
    margin-inline: -15px;
    padding-inline: 15px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--_grey);
    margin-bottom: 20px;
}
.catalog-icon {
    position: relative;
}
.catalog-icon::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 -14px;
    margin-block: auto;
    width: 24px;
    height: 24px;
    background-image: url(/images/catalog.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.phm-tab, .phm-tabs .sppb-nav-pills {
    display: flex;
    gap: 25px;
}
.phm-tabs .sppb-nav-pills::before,
.phm-tabs .sppb-nav-pills::after {
    display: none;
}
.phm-nav-link, .phm-tabs .sppb-nav-pills a {
    color: var(--_grey-dark);
    position: relative;
    font-size: 1.25em;
    padding-left: 0;
}
.phm-tabs .sppb-nav-pills a {
    position: relative;
    background-color: transparent !important;
    text-transform: uppercase;
}
.phm-nav-link:hover, .phm-tabs .sppb-nav-pills a:hover {
    color: var(--_red);
}
.phm-nav-link::before,
.phm-tabs .sppb-nav-pills a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--_red);
    transition: width .3s;
}
.phm-nav-link.active::before,
.phm-tabs .sppb-nav-pills li.active a::before {
    width: 100%;
}
.phm-nav-link.active,
.phm-tabs .sppb-nav-pills li.active a {
    color: #252525 !important;
    background-color: transparent !important;
}
.news-product-items .info-bottom-wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.mod-articlesnews__item .newsflash-image {
    margin-bottom: 0;
}
.view-article .hidden-field {
    display: none;
}
#mod_menu_wrap .container {
    padding: 0;
}
.menu.unstyled,
.menu.top-new-cars {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
}
.menu.unstyled li a,
.menu.top-new-cars li a {
    display: flex;
    justify-content: space-around;
    align-items: center;
    border: 1px solid var(--_grey);
    border-radius: 6px;
    padding-block: 3px;
}
.menu.unstyled li a img,
.menu.top-new-cars li a img {
    flex: 0 0 32px;
    width: 32px;
}
.menu.unstyled .mark-cnt,
.menu.top-new-cars .mark-cnt {
    font-weight: 500;
    color: var(--_red);
}
.menu.unstyled li a:hover,
.menu.top-new-cars li a:hover {
    background-color: var(--_red);
    border-color: var(--_red);
    color: #fff;
}
.menu.unstyled li a:hover .mark-cnt,
.menu.top-new-cars li a:hover .mark-cnt {
    color: #fff;
}
.menu.unstyled li a:hover img,
.menu.top-new-cars li a:hover img {
    filter: drop-shadow(0 0 3px #fff);
}
.menu.top-new-cars {
    list-style: none;
}
.menu.top-new-cars li {
    line-height: 32px;
}






#sp-user3 {
    background-color: #fff;
    border-bottom: 2px solid var(--_grey);
    padding: 30px 50px;
}
#sp-user3 .sp-module-title {
    margin-bottom: 40px;
}
.wrap.well {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 25px;
}
.select {
    position: relative;
}
select:not(.form-select):not(.form-control) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-color: var(--_grey);
    height: 43px;
    font-weight: 500;
    color: var(--_grey-dark);
    border-radius: 7px;
}
.select::after {
    content: "";
    display: block;
    border-style: solid;
    border-width: 6px 5px 0 5px;
    border-color: #000 transparent transparent transparent;
    pointer-events: none;
    position: absolute;
    top: 50%;
    right: 1rem;
    z-index: 1;
    margin-top: -3px;
}
.score-wrapper fieldset {
    display: flex;
    flex-direction: column;
}
.range-slider .clear,
dif.span3.text-center {
    display: none;
}
.range-slider {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.nstSlider {
    position: relative;
    grid-column: 1/-1;
    background: none !important;
    box-shadow: none !important;
}
.leftLabel,
.rightLabel {
    font-weight: 600 !important;
    color: var(--_grey-dark) !important;
}
.rightLabel.pull-right.text-right {
    justify-self: end;
}
.legend legend {
    font-size: 1rem;
    font-weight: 500;
    color: var(--_grey-dark);
    padding-bottom: 0;
    margin-bottom: 0;
}
.nstSlider .leftGrip,
.nstSlider .rightGrip {
    box-shadow: none !important;
    background: linear-gradient(to bottom, var(--_red) 4%, var(--_red-hover) 100%) !important;
    border: 2px solid var(--_grey-dark) !important;
}
.nstSlider::before {
    content: '';
    position: absolute;
    inset: 0;
    height: 8px;
    margin: auto;
    border-radius: 8px;
    box-shadow: inset 0 3px 3px rgba(0, 0, 0, 0.329);
}
.row-fluid.__mark {
    grid-column: 1/4;
}
.row-fluid.__score {
    grid-row: 2/3;
    grid-column: 1/3;
    margin-top: 35px;
}
.submit-wrapper {
    grid-row: 1/3;
    grid-column: 4/5;
}
.row-fluid.__mark {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.row-fluid.__price {
    display: none;
}
.ttlCount {
    font-size: 1.5em !important;
    line-height: 1;
    color: var(--_grey-dark);
    text-transform: uppercase;
    font-weight: 300 !important;
}
.ttlCount span {
    font-size: 24px !important;
    color: var(--_red) !important;
    font-weight: 500 !important;
}
.mod-cellcar button[type="submit"] {
    text-shadow: none !important;
    background-image: none !important;
    background-color: var(--_red) !important;
    padding: 0 10px;
    margin: 0 auto;
    width: 100%;
    max-width: 250px;
}
.mod-cellcar button[type="submit"]:hover {
    background-color: var(--_red-hover) !important;
    border-color: var(--_red-hover) !important;
}
#sp-main-body {
    padding: 20px 0 70px;
}
.score-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}
.phm-tab-content.home-cars {
    margin-bottom: 20px;
}
.quontity .red {
    font-weight: 500;
}
.item-info__tooltip {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    color: #fff;
    background-color: var(--_grey-dark);
    border-radius: 100%;
    cursor: default;
}
.home-cars {
    background-color: #fff;
    border-bottom: 2px solid var(--_grey);
    padding: 40px;
    margin-inline: -15px;
}
.phm-tabs .sppb-tab-pills-content {
    margin-inline: -15px;
    padding: 40px;
    background-color: #fff;
    border-bottom: 2px solid var(--_grey);
    margin-bottom: 20px;
}

.home-cars__heading {
    text-transform: uppercase;
    text-align: center;
	margin-top: 10px;
}
.filter-buttons-wrap {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.btn.filter-button {
    border: 1px solid var(--_red);
    color: var(--_red);
}
.filter-button:hover {
    background-color: var(--_red);
    border-color: var(--_red);
    color: #fff;
}
.filter-button.active {
    background-color: var(--_red-hover);
    border-color: var(--_red-hover);
    color: #fff;
}
.itemlist {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 37px;
}

.itemlist2 {
    display: grid;
    /*grid-template-columns: repeat(4, 1fr);
    gap: 37px;*/
}


.product-item {
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
    padding: 8px;
}
.mark {
    padding: 0;
    background-color: transparent;
}
.product-item__wrap-img {
    display: flex;
    aspect-ratio: 1.3;
}
.product-item__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-list .article {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px 8px 8px;
    position: relative;
    background-color: #fff;
}
.product-item-wrap {
    padding: 0;
}
.article-intro-image a {
    display: flex;
}
.article-list .article .article-intro-image {
    margin: 0;
    border-radius: 0;
    border-bottom: 0;
}
.article-list .article .article-intro-image img {
    border-radius: 0;
    width: 100%;
}
.article-body .quontity {
    position: absolute;
    top: 8px;
    left: 8px;
}
.article-body .item-info.__price {
    grid-column: 1/-1;
    justify-self: center;
}
.product-item__title a,
.article-list .article-header a {
    font-size: 1.25rem;
    display: block;
    text-align: center;
    margin-block: .5em;
    color: #2b2b2b;
}
.product-item__title a:hover {
    color: var(--_red);
}
.info-top-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
}
.item-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.875em;
    line-height: 1;
}
.item-info.__engine span {
    display: block;
    width: 50px;
    margin: 0 auto;
}
.item-info img {
    flex: 0 0 28px;
    height: 28px;
    margin-bottom: 13px;
}
.info-top-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    padding-bottom: 13px;
    margin-bottom: 13px;
    border-bottom: 1px solid #252525;
}
.item-info.__mileage {
    flex-direction: row;
    gap: 3px;
}
.item-info.__mileage img {
    margin-bottom: 0;
}
.item-info.__mileage span {
    font-size: 1.25rem;
}
.info-bottom-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.item-info.__credit {
    grid-column: 1/-1;
}
.item-info.__credit {
    display: block;
    grid-column: 1/-1;
    color: var(--_red);
    font-size: 1rem;
    font-weight: 500;
}
.item-info.__price {
    flex-direction: row;
    font-size: 1.25rem;
    font-weight: 500;
}
.phm-tab-pane .info-top-wrap {
    padding-bottom: 0;
    margin-bottom: 15px;
    border-bottom: none;
}
.phm-tab-pane .info-bottom-wrap {
    margin-bottom: 15px;
}
.phm-tab-pane .item-info.__price {
    grid-column: 1/-1;
    justify-self: center;
}
.buttons-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.phm-btn-red,
.phm-btn-red-outline {
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    border: 1px solid;
    padding-block: 0;

}
.phm-btn-red {
    background-color: var(--_red);
    color: #fff !important;
    border-color: var(--_red);
}
.phm-btn-red:hover,
.phm-btn-red-outline:hover,
.mod-cellcar button[type="submit"]:hover {
    background-color: var(--_red-hover);
    color: #fff !important;
    border-color: var(--_red-hover);
}
.phm-btn-red-outline {
	width: 100%;
    border-color: var(--_grey);
}
.form-box {
    display: grid;
    grid-template-columns: 1fr .5fr;
    gap: 30px;
    margin: 70px -15px 0;
    padding: 20px 30px;
    background-color: #fff;
    border-bottom: 2px solid var(--_grey);
}
/* Convert Forms */
.order-form .convertforms .cf-form-wrap {
    padding: 0 !important;
}
.cf-content-text h3 {
    color: #252525;
    font-weight: 500;
}
.product-name-value {
    font-size: 1.2em;
    color: var(--_red);
    margin: 0 auto;
    text-align: center;
}
.convertforms .cf-input {
    border-radius: 0 !important;
}
.convertforms .cf-content-wrap {
    padding: 20px 0 0 !important;
}
.quantity-input-wrap {
    max-width: 100px !important;
}
.convertforms.cf-success .cf-response {
    background-color: transparent !important;
    color: var(--_red) !important;
    font-size: 1.2em !important;
}
.phm-field-wrap .cf-input {
    border-radius: 4px !important;
    border-color: var(--_grey) !important;
    height: 50px;
}
.phm-submit-btn {
    border-radius: 7px !important;
}
.phm-submit-btn .cf-btn-text {
    font-weight: 500;
}
.phm-submit-btn:hover {
    opacity: 1 !important;
    background-color: var(--_red-hover) !important;
}
.eb-dialog > a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10000;
    width: 46px;
    height: 36px;
    color: rgba(136, 136, 136, 1);
    font-size: 30px;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
    border: none;
    line-height: 1;
}
.policy-wrap .cf-control-input {
    flex-direction: row !important;
    align-items: baseline;
}
.policy-wrap .cf-label {
    font-size: 0 !important;
}
.policy-wrap .cf-list {
    position: relative;
    flex: 0 0 20px;
}
.policy-wrap .cf-checkbox-group {
    padding: 0 !important;
}
.policy-wrap .cf-label {
    font-size: 0 !important;
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex: 0 0 20px;
    height: 20px;
    border: 1px solid var(--_red);
    border-radius: 3px;
}
.policy-wrap .cf-label::before {
    content: "\f00c";
    font-size: 12px !important;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #fff;
    opacity: 0;
}
.policy-chekbox {
    position: absolute !important;
    visibility: hidden;
}
.policy-chekbox:checked + .cf-label {
    background-color: var(--_red);
}
.policy-chekbox:checked + .cf-label::before {
    opacity: 1;
}
input[type="text"]:not(.form-control):focus,
input[type="email"]:not(.form-control):focus,
input[type="url"]:not(.form-control):focus,
input[type="date"]:not(.form-control):focus,
input[type="password"]:not(.form-control):focus,
input[type="search"]:not(.form-control):focus,
input[type="tel"]:not(.form-control):focus,
input[type="number"]:not(.form-control):focus,
select:not(.form-select):not(.form-control):focus {
    border-color: var(--_red) !important;
}
/*  */
.sp-module.footer-block-box {
    margin: 0 !important;
}
.footer-block__contacts,
.footer-block__requisites {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-block__contacts {
    font-weight: 500;
    margin-bottom: 30px;
}
.footer-block__adress {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-block__phone-email {
    display: grid;
    grid-template-columns: 22px 1fr;
    align-items: center;
    gap: 0 10px;
}
.footer-block__email {
    grid-column: 2/3;
}
.footer-block__icon {
    grid-row: 1/3;
}
.footer-block__phone,
.footer-block__email {
    display: flex;
    gap: 5px;
}
.footer-block__requisites {
    margin-bottom: 30px;
    text-transform: uppercase;
}
.footer-block__text {
    color: var(--_grey-dark);
}
#sp-footer .container-inner {
    padding: 30px 0;
    border-top: 1px solid var(--_grey);
}
#sp-footer1 {
    text-align: center;
}
.form-product-name {
    font-size: 20px;
    text-align: center;
}
.form-product-price {
    color: var(--_red);
    font-weight: 500;
    text-align: center;
}
.form-product-year {
    text-align: center;
}
.cars>.pagination {
    flex-direction: column;
    align-items: center;
    margin-top: 37px;
}
.cars>.pagination>div {
    margin-bottom: 15px;
}
.product-owner {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}
.product-owner span {
    display: block;
    background-color: rgb(11, 182, 11);
    color: #fff;
    padding: 5px;
    line-height: 1;
    font-size: 14px;
}
/* Product full */
.view-car #sp-main-body {
    padding: 0 0 70px;
}
.product-full {
    background-color: #fff;
    padding: 30px;
    margin-inline: -15px;
    border-bottom: 2px solid var(--_grey);
}
.product-full-wrap {
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-template-columns: 1fr .63fr;
    gap: 18px;
}
#big-car img {
    border-radius: 5px;
}
.small-cars-wrap .image_item {
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
}
.img-car {
    margin-bottom: 10px;
}
.small-cars-wrap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.info-car-wrap {
    grid-row: 1/3;
    grid-column: 2/3;
}
.box-wrapper {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
}
.phm-tab-2 {
    border: 1px solid var(--_grey);
    border-radius: 9px;
    padding: 2px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.122);
    overflow: hidden;
}
.nav-item.phm-nav-item-2 {
    flex: 0 0 50%;
}
.nav-pills .phm-nav-link-2 {
    color: var(--_grey-dark);
    font-weight: 500;
    width: 100%;
}
.nav-pills .phm-nav-link-2:not(.active):hover {
    color: var(--_red);
}
.nav-pills .phm-nav-link-2.active {
    background-color: var(--_red);
    box-shadow: 0 0 5px rgba(106, 3, 19, 0.62);
}
.car-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
}
.car-features__item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 0 .625em;
    align-items: center;
    font-weight: 500;
    line-height: 1;
}
.car-features__item img {
    grid-row: 1/3;
    justify-self: center;
}
.car-features__name {
    font-size: .75em;
    color: var(--_grey-dark);
}
.car-features__value {
    font-size: 1.25em;
}
.autoteka-popup-btn {
    border-color: var(--_grey);
}
.autoteka-popup-btn:hover {
    border-color: var(--_red-hover);
    background-color: var(--_red-hover);
    color: #fff;
}
.autoteka-popup-btn img {
    grid-row: 1/2;
}
.autoteka__item-title {
    font-size: 1.5em;
    font-weight: 700;
}
.autoteka-date {
    font-weight: 700;
    color: #0bb60b;
}
.autoteka__item-table {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 3px 5px;
}
.autoteka__item-table:nth-child(2n+1) {
    background-color: #eee;
}

.autoteka__info-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
}
.autoteka__info-item {
    border: 1px solid #eee;
    padding: 20px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.051);
    border-radius: 10px;
}
.autoteka__info-item-title {
    position: relative;
    display: flex;
    gap: 0 10px;
    font-weight: 700;
    font-size: 1.2em;
}
.autoteka__info-item-title::before {
    content: '';
    display: block;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: rgb(11, 182, 11);
    position: relative;
    top: 4px;
}
.options-block {
    font-size: 14px;
    font-weight: 500;
    color: var(--_grey-dark);
}
.options-block {
    font-size: 14px;
    font-weight: 500;
    color: var(--_grey-dark);
    max-height: 325px;
    overflow-y: auto;
}
.spin-off__caption {
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1.25em;
}
.spin-off__checkbox-fieldset {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}
.spin-off__name {
    position: relative;
    display: flex;
    align-items: center;
}
.label-checkbox {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}
.label-checkbox::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: transparent;
    width: 20px;
    height: 20px;
    border: 1px solid var(--_red);
    border-radius: 3px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    padding: 0;
}
.spin-off__name input {
    position: absolute;
    visibility: hidden;
}
.spin-off__name input:checked + .label-checkbox::before {
    background-color: var(--_red);
    color: #fff;
}
.spin-off__val {
    color: var(--_red);
}
.spin-off__price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    font-weight: 500;
}
.spin-off__price-value {
    font-size: 1.87em;
}
.spin-off__price.__1.line-through {
    text-decoration: line-through;
    color: var(--_grey-dark);
}
.spin-off__price.__1.line-through .spin-off__price-value {
    font-size: 1em;
}
.main-feature {
    display: grid;
    gap: 18px;
}
.main-feature__wrap {
    display: grid;
}
.main-feature__wrap.__first-item {
    grid-template-columns: 1fr .15fr  .5fr;
    align-items: center;
}
.main-feature__wrap.__second-item {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 0 25px;
}
.main-feature__caption {
    font-weight: 500;
}
.main-feature__item {
    display: grid;
    grid-template-columns: .25fr 1fr;
    align-items: center;
    gap: 18px;
}
.hidden-cost {
    display: none;
}
/*  */
/* Calculator */
.calc-box {
    margin-top: 30px;
}
.calc-box__caption {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.calc-box__caption-bold {
    font-weight: 500;
}
.calc-box__image {
    width: 20px;
    flex: 0 0 20px;
    height: auto;
}

input[type="text"]:not(.form-control), input[type="tel"]:not(.form-control) {
    border-radius: 7px !important;
    border-color: var(--_grey);
    height: 43px;
}
.phm-range-slider .nrf-slider-wrapper {
    flex-direction: column;
}
.phm-range-slider .nrf-slider-range {
    order: 1;
    width: 97%;
    position: relative;
    top: -2px;
}
.phm-range-slider .nrf-slider-value {
    margin: 0;
    border-radius: 7px !important;
    border-color: var(--_grey);
    height: 43px;
}
.nrf-slider-wrapper {
    --slider-height: 2px;
    --slider-bar-radius: 4px;
    --slider-thumb-size: 12px;
    --base-color: rgba(246, 0, 37, 0.2);
    --progress-color: rgb(246, 0, 37);
    --thumb-shadow-color: rgba(246, 0, 37, 0.16);
    --input-bg-color: transparent;
    --input-border-color: #bdbdbd;
}
.calc-result {
    font-size: 1.25em;
    font-weight: 500;
}
/*  */
/* New Car MAIN Category */
.categories-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.cat-list-item {
    position: relative;
    background-color: #fff;
    outline: 1px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    transition: outline .3s;
}
.cat-list-item__title-wrap {
    padding: 10px 20px 7px;
}
.cat-list-item__title-wrap>* {
    display: inline-block;
}
.cat-list-item__title a {
    color: #252525;
}
.cat-list-item__title a::before {
    content: '';
    position: absolute;
    inset: 0;
}
.cat-list-item__badge {
    font-weight: 500;
}
.cat-list-item:hover {
    outline: 1px solid var(--_red);
}
/*  */
/* New Car Item*/
.view-article #sp-main-body {
    padding: 0 0 70px;
}
.article-details #sp-page-builder {
    margin-inline: -15px;
}
.article-details .article-can-edit {
    position: absolute;
    margin-bottom: 0;
    right: 10px;
    top: 150px;
    z-index: 999;
    display: grid !important;
    gap: 5px;
}
.article-details .article-can-edit a {
    font-size: .7em;
}
.phm-carousel .sppb-carousel-extended-dots ul {
    position: relative;
    text-align: left;
}
.phm-carousel .sppb-carousel-extended-dots ul li {
    position: relative;
    overflow: visible;
}
.phm-carousel .sppb-carousel-extended-dots ul li::before {
    position: absolute;
    display: block;
    top: -29px;
    left: 0;
    font-size: .8em;
    font-weight: 500;
    color: var(--_grey-dark);
    white-space: nowrap;
}
.phm-carousel .sppb-carousel-extended-dots ul li:not(.active)::before {
    display: none;
}
.phm-carousel .sppb-carousel-extended-dots ul li {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.18);
}
.phm-carousel .sppb-carousel-extended-dot-indicator,
.phm-carousel .sppb-carousel-extended-dots ul li {
    background-color: transparent !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li.active {
    border-color: transparent !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(1) {
    background-color: var(--color-1) !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(1)::before {
    content: 'Цвет: ' var(--color-1-name);
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(2) {
    background-color: var(--color-2) !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(2)::before {
    content: 'Цвет: ' var(--color-2-name);
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(3) {
    background-color: var(--color-3) !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(3)::before {
    content: 'Цвет: ' var(--color-3-name);
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(4) {
    background-color: var(--color-4) !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(4)::before {
    content: 'Цвет: ' var(--color-4-name);
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(5) {
    background-color: var(--color-5) !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(5)::before {
    content: 'Цвет: ' var(--color-5-name);
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(6) {
    background-color: var(--color-6) !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(6)::before {
    content: 'Цвет: ' var(--color-6-name);
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(7) {
    background-color: var(--color-7) !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(7)::before {
    content: 'Цвет: ' var(--color-7-name);
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(8) {
    background-color: var(--color-8) !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(8)::before {
    content: 'Цвет: ' var(--color-8-name);
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(9) {
    background-color: var(--color-9) !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(9)::before {
    content: 'Цвет: ' var(--color-9-name);
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(10) {
    background-color: var(--color-10) !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(10)::before {
    content: 'Цвет: ' var(--color-10-name);
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(10) {
    background-color: var(--color-11) !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(10)::before {
    content: 'Цвет: ' var(--color-11-name);
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(10) {
    background-color: var(--color-12) !important;
}
.phm-carousel .sppb-carousel-extended-dots ul li:nth-child(10)::before {
    content: 'Цвет: ' var(--color-12-name);
}
.fields-container {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
}
.phm-custom-field {
    display: grid;
    grid-template-columns: 32px 1fr;
    grid-template-rows: 18px auto;
    gap: 0 10px;
}
.phm-custom-field::before {
    content: '';
    display: block;
    width: 32px;
    aspect-ratio: 1;
    grid-row: 1/3;
    grid-column: 1/2;
    margin-top: 4px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.dvigatel.phm-custom-field::before {
    background-image: url(/images/engine-red.png);
}
.moshchnost.phm-custom-field::before {
    background-image: url(/images/power.png);
}
.korobka-peredach.phm-custom-field::before {
    background-image: url(/images/kpp-red.png);
}
.privod.phm-custom-field::before {
    background-image: url(/images/privod-red.png);
}
.raskhod.phm-custom-field::before {
    background-image: url(/images/rashod.png);
}
.garantiya.phm-custom-field::before {
    background-image: url(/images/product-card/car-guard.png);
}
.phm-custom-field__name {
    font-size: 12px;
}
.phm-custom-field__value {
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
}
.sppb-carousel-extended-item img {
	object-fit: contain;
}
.sp-module.breadcrumbs-box.__new-cars .breadcrumb {
    margin: 0 -15px 40px;
    padding: 10px 20px;
    background-color: #fff;
}
.view-article .sp-module.breadcrumbs-box.__new-cars .breadcrumb {
    margin: 0 -15px 20px;
}
.article-details .article-header {
    background-color: #fff;
    margin: 0 -15px;
    padding: 20px 50px;
}
.article-details .article-header * {
    margin: 0;
}
.white-bg .sppb-row-container {
    background-color: #fff;
    border-bottom: 2px solid var(--_grey);
    padding: 0 50px 50px;
}
.form-box.__new-cars {
    margin-top: 0;
}
.phm-gallery .gallery-item-left::before,
.phm-gallery .gallery-item-left::after {
    display: none;
}
.phm-gallery .gallery-item-left {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}
.phm-gallery .sppb-gallery-btn .sppb-img-responsive {
    width: 100% !important;
    height: 100px !important;
    object-fit: contain;
}
.phm-gallery .gallery-item-left li {
    margin: 0 !important;
}
.phm-gallery .sppb-gallery-btn {
    position: relative;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    filter: grayscale(100%);
    transition: filter .3s;
}
.phm-gallery .sppb-gallery-btn:hover {
    filter: grayscale(0%);
}
.phm-gallery .sppb-gallery-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 1;
    background-image: radial-gradient(rgba(0, 0, 0, 0), #000);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: opacity .3s;
}
.phm-gallery .sppb-gallery-btn:hover::before {
    opacity: 0;
}
body #compare h2 {
    font-size: 1.2em;
    font-weight: 500;
    padding: .3em .5em;
    text-transform: inherit;
    margin-bottom: 30px;
}
.table-equip {
    max-width: 100%;
    min-width: 860px;
}
#compare tr.equip td,
#compare tr.tech td {
    background-color: #fafafa;
    padding: .625em;
    line-height: 1;
    vertical-align: middle;
    font-size: 1em;
    font-weight: 500;
    height: 80px;
}
#compare tr.equip:hover td,
#compare tr.tech:hover td,
#compare tr.techParam:hover td {
    background-color: #dfdfdf;
}
#compare li.equip_param span.value {
    width: 30%;
}
#compare thead {
    font-size: 1.1em;
}
#compare th,
#compare tfoot td {
    padding: 5px 3px 15px;
}
#compare .empty {
    height: 20px;
}
.btn.phm-btn-red.btn-sm {
    height: 40px;
}
.btn.phm-btn-red.__outline {
    background-color: #fff;
    color: var(--_red) !important;
}
.btn.phm-btn-red.__outline:hover {
    background-color: var(--_red);
    color: #fff !important;
}
.equip-name, a[class*="arrow"] {
    display: flex;
    align-items: center;
    gap: 1em;
}
.equip-chevron {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 2em;
    width: 2em;
    height: 2em;
    font-size: .9em;
    background-color: #fff;
    color: var(--_grey);
    border-radius: 100%;
    transition: background-color .3s, color .3s;
}
.equip-name:hover .equip-chevron, a[class*="arrow"]:hover .equip-chevron {
    background-color: var(--_red);
    color: #fff;
}
#compare tr.equip+[id*="equip"] td {
    font-weight: 30;
    line-height: 1.8;
}
/*  */
.sp-module.call-mobile-box {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-block: 8px;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-top: 2px solid var(--_grey);
    z-index: 9;
}
.sp-module.call-mobile-box .sp-module-content {
    width: 100%;
    padding-inline: 20px;
}
.call-mobile {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 0 1em;
    text-align: left;
}
.call-mobile__link {
    width: 70px;
    height: 70px;
    display: flex;
    border-radius: 100%;
    color: #fff !important;
    background-color: var(--_red);
    justify-content: center;
    align-items: center;
    margin-top: -20px;
    border: 10px solid;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.212);
    grid-column: 2/3;
    grid-row: 1/3;
}
.call-mobile__caption,
.call-mobile__text {
    grid-column: 1/2;
    text-transform: uppercase;

}
.call-mobile__caption {
    grid-row: 1/2;
    color: var(--_red);
    font-weight: 500;
    text-align: left;
    align-self: end;
}
.call-mobile__text {
    grid-row: 2/3;
    font-size: .8em;
}
.sp-scroll-up {
    bottom: 90px;
}
/*Breackpoints*/
/* Desktop First */
@media (max-width: 1399.98px) {
    .form-box__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
@media (max-width: 1199.98px) {
    .product-item {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);
    }
    .top-info {
        font-size: .8em;
        white-space: nowrap;
    }
    .info-top-wrap {
        font-size: .8em;
    }
    .itemlist {
        gap: 20px;
    }
    .item-info.__mileage span,
    .item-info.__price span {
        font-size: 1rem;
    }
    .phm-btn-red,
    .phm-btn-red-outline {
        height: 40px;
    }
    .footer-block__contacts,
    .footer-block__requisites {
        flex-wrap: wrap;
        gap: 20px;
    }
    .sp-module.breadcrumbs-box.__new-cars .breadcrumb {
        padding: 20px 30px 0;
    }
    .article-details .article-header {
        padding: 20px 30px;
    }
    .white-bg .sppb-row-container {
        padding: 30px;
    }
    .table-equip {
        font-size: .9em;
    }
}
@media (max-width: 1199.98px) and (min-width: 992px) {
    .new-car-card :is(.sppb-col-md-7, .sppb-col-md-5) {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .phm-carousel .sppb-carousel-extended-outer-stage {
        height: 300px !important;
    }
}
@media (max-width: 991.98px) {
    #sp-top-section .container {
        height: auto;
    }
    .article-details .article-can-edit {
        display: none !important;
    }
    .top-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 50px;
        padding-block: 20px;
    }
    .phm-btn-red,
    .phm-btn-red-outline {
        font-size: .8rem;
    }
    .catalog-icon::before {
        display: none;
    }
    .offcanvas-active .burger-icon>span,
    .burger-icon>span {
        background-color: var(--_red);
    }
    .wrap.well {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    .submit-wrapper {
        grid-row: 3/4;
        grid-column: 1/-1;
    }
    .submit-wrapper {
        grid-row: 3/4;
        grid-column: 1/-1;
        display: flex;
        flex-direction: column;
    }
    .ttlCount {
        order: 1;
        margin: 10px 0 0;
        font-size: 1rem !important;
    }
    .ttlCount span {
        font-size: 1rem !important;
    }
    .itemlist {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-block__contacts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-block__link {
        order: -1;
    }
    .form-box {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .product-full-wrap {
        display: flex;
        flex-direction: column;
    }
    .content-car-wrap {
        margin-bottom: 20px;
    }
    #compareForm>.table-wrap {
        overflow-x: auto;
        padding-bottom: 20px;
    }
    .article-details .article-header {
        padding: 20px 30px 0;
    }
    .new-car-card .sppb-col-md-7 {
        margin-bottom: 30px;
    }
    .autoteka__info-items {
        display: flex;
        flex-direction: column;
    }
    .categories-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767.98px) {
    #sp-header {
        height: 60px !important;
        background-color: #fff;
    }
    #sp-header.header-sticky + section {
        padding-top: 60px;
    }  
    .row-fluid.__score {
        grid-column: 1/-1;
        margin-top: 10px;
    }
    .score-wrapper, .row-fluid.__mark {
        gap: 15px;
    }
    .itemlist {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-block__requisites {
        flex-direction: column;
        gap: 5px;
    }
    .form-box {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .main-feature__wrap.__second-item {
        display: none;
    }
}
@media (max-width: 575.98px) {
    #sp-user2 {
        border-block-start: 1px solid var(--_red);
    }
    .top-info._mobile {
        padding-block: 8px;
    }
    .top-info._mobile .top-info__phone {
        display: grid;
        grid-template-columns: 1fr 22px;
        width: 100%;
        align-items: center;
        gap: 0 10px;
    }
    .top-info._mobile .top-info__phone img {
        grid-row: 1/3;
        grid-column: 2/3;
    }
    .top-info__text.__link {
        font-size: 16px;
    }
    .wrap.well, .row-fluid.__mark, .score-wrapper {
        display: flex;
        flex-direction: column;
    }
    .row-fluid.__score {
        grid-column: 1/-1;
        margin-top: 0;
    }
    .itemlist {
        padding-inline: 15px;
        gap: 10px;
    }
    .product-item {
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.18);
    }
    ul.pagination {
        display: flex;
        flex-wrap: wrap;
        gap: 10px 0;
    }
    .footer-block__contacts {
        display: flex;
    }
    .footer-block__requisites {
        align-items: start;
    }
    .filter-buttons-wrap {
        gap: 5px;
    }
    .btn.filter-button {
        font-size: .9rem;
    }
    .calc-box__caption {
        flex-direction: column;
    }
    .phm-carousel .sppb-carousel-extended-outer-stage {
        height: 70vmin !important;
    }
    .new-car-col {
        padding: 20px !important;
    }
    .new-car-col.__equip {
        padding: 0 !important;
    }
    .fields-container {
        grid-template-columns: 1fr;
    }
    .phm-gallery .gallery-item-left {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 5px;
    }
    .white-bg .sppb-row-container {
        padding: 15px;
    }
    .categories-list {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-inline: auto;
    }
}
@media (max-width: 479.98px) {
    .itemlist {
        grid-template-columns: 1fr;
    }
    .product-item {
        max-width: 300px;
        margin-inline: auto;
    }
    .item-info.__price {
        justify-content: end;
    }
    .product-full {
        padding: 15px;
    }
    .h1,
    h1 {
        font-weight: 300;
    }
    .small-cars-wrap {
        grid-template-columns: repeat(4, 1fr);
    }
    .nav-pills .phm-nav-link-2 {
        font-size: .8em;
        white-space: nowrap;
        padding-inline: 5px;
    }
    .car-features__value {
        font-size: 1em;
    }
    .spin-off__price {
        flex-direction: column;
        gap: 0;
    }
    .main-feature__wrap.__first-item,
    .phm-tabs .mod-articlesnews {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .car-features {
        gap: 20px 10px;
    }
    .box-wrapper {
        padding: 10px;
    }
    .spin-off__checkbox-fieldset {
        font-size: .9em;
    }
    .menu.unstyled .mark-cnt,
    .menu.top-new-cars .mark-cnt {
        font-weight: 400;
    } 
  	.fields-container {
        gap: 10px 60px;
    }
  .sp-module.cars-menu-box {
  	border-block-start: 1px solid var(--_red);
	}
  .favorite {
  		border-radius: 20px;
    }
}
/* Mobile First */

/* Начало для избранного*/
@media (min-width: 300px) {
	#sp-logo {
		order: 1;
	}
	#sp-menu {
		order: 3;
	}
	#sp-user4 {
		order: 2;
	}
	.no-mobile {
		position: fixed;
		right: 6px;
		bottom: 21%;
		z-index: 99999;
	}
	.favorite {
		width: 40px;
		height: 40px;
	}

	.added .favorite {
		width: 40px;
		height: 40px;
	}
}
@media (min-width: 768px) {
	
	.no-mobile {
		position: unset;
	}
}
/* Конец для избранного*/

@media (min-width: 992px) {
	#sp-logo {
		order: 1;
	}
	#sp-menu {
		order: 2;
	}
	#sp-user4 {
		order: 3;
	}
    .fancybox__carousel {
        max-width: calc(100% - 200px);
    }
    .fancybox__footer {
        flex: 0 0 200px;
    }
}
/* Начало для избранного*/
@media (min-width: 1200px) {
	.favorite {
		width: 40px;
		height: 40px;
}
	}

	.added .favorite {
		width: 40px;
		height: 40px;
	}
}
/* Конец для избранного*/
@media (min-width: 1400px) {
    .container {
        max-width: 1280px;
    }
}
