/**
* CUSTOM BOOTSTRAP HELPERS
*/

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
    filter: alpha(opacity=50);
    user-drag: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.unselectable {
    pointer-events: none;
    user-drag: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.text-wrap {
    text-overflow: ellipsis;
    white-space: nowrap;
}

.transition {
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}

.icon {
    transition: margin, position 0.2s ease-in-out;
    -moz-transition: margin, position 0.2s ease-in-out;
    -webkit-transition: margin, position 0.2s ease-in-out;
}

input, textarea, header, footer, nav,
.smooth {
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
}

.smooth-slow {
    transition: all 0.65s ease-in-out;
    -moz-transition: all 0.65s ease-in-out;
    -webkit-transition: all 0.65s ease-in-out;
}

.hide,
.hidden {
    display: none;
    opacity: 0;
    visibility: hidden;

    /*width: 0;*/
    /*height: 0;*/

    pointer-events: none;
    user-drag: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/**
* ACTUAL DESIGN
*/

body {
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#e5e5e5+0,ffffff+50,ffffff+51,e5e5e5+100 */
    /* background: #e5e5e5; */   /* Old browsers */
    background: -moz-linear-gradient(left, #e5e5e5 0%, #ffffff 50%, #ffffff 51%, #e5e5e5 100%); /* FF3.6-15 */
    /* background: -webkit-linear-gradient(left, #e5e5e5 0%, #ffffff 50%, #ffffff 51%, #e5e5e5 100%); */   /* Chrome10-25,Safari5.1-6 */
    /* background: linear-gradient(to right, #e5e5e5 0%, #ffffff 50%, #ffffff 51%, #e5e5e5 100%); */   /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e5e5e5', endColorstr='#e5e5e5', GradientType=1); /* IE6-9 */
}

.btn {
    text-transform: uppercase;
    font-weight: 600;
}

.btn:focus,
button:focus {
    outline: none;
}

.btn-primary {
    background-color: #0d4483;
    border: 2px solid #0d4483;
}

.btn-primary:hover {
    background-color: #fff;    border-color: #0d4483;    color: #0d4483;
}

.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):active,
.show>.btn-outline-primary.dropdown-toggle,
.btn-outline-primary:hover {
    background-color: #0d4483;
    border-color: #0d4483;
}

.btn-outline-primary:not(:disabled) {
    border-color: #0d4483;
    color: #0d4483;
    background: #fff;
}

.btn-outline-primary:not(:disabled):hover,
.btn-outline-primary:not(:disabled):active,
.btn-outline-primary:not(:disabled):focus:hover {
    color: #fff;
    background-color: #0D4483;
}

.btn-outline-primary:not(:disabled):focus {
    color: #0d4483;
}

.btn-sm {
    font-size: 12px;
}

.btn-danger {
    color: #fff;
    background-color: #bc2430;
    border-color: #bc2430;
}

.text-danger {
    color: #bc2430 !important;
}

/* DISCRETE SHADOW */
body > header,
.card,
.m-modal,
.m-product-item-content,
.m-product-item-img,
.debug-window {
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

.m-product-item:hover .m-product-item-content,
.m-product-item:hover .m-product-item-img,
.m-product-item:focus .m-product-item-content,
.m-product-item:focus .m-product-item-img,
.m-product-item:active .m-product-item-content,
.m-product-item:active .m-product-item-img,
.debug-window:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.cc_banner {
    box-shadow: 0 -3px 6px rgba(0,0,0,0.05);
}

.card,
.card-body,
.m-modal,
.m-product-item-content, .m-product-item-img {
    border-radius: 5px;
}

body > header,
.m-add-to-cart-btn-msg,
.card-body {
    transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -webkit-transition: all 0.15s ease-in-out;
}

.m-product-item-content,
.m-product-item-img {
    transition: border-radius, box-shadow 0.4s ease-in-out;
    -moz-transition: border-radius, box-shadow 0.4s ease-in-out;
    -webkit-transition: border-radius, box-shadow 0.4s ease-in-out;
}

.card-body {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.card-footer {
    background: none;
}

.card-footer:last-child {
    border: none;
}

.m-modal .modal-content {
    box-shadow: 0 0 6px rgba(0,0,0,0.5);
}

body > header:active,
body > headerr:hover,
body > header:focus,
.card:active,
.card:hover,
.card:focus {
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* NAVIGATON MENU */

.dropdown-toggle::after {
    margin-left: 10px;
}

.m-cart-top {
    position: relative;
}

.m-reset-btn {
    text-transform: uppercase;
    background-color: transparent;
}

/* CART */

.m-header-utils .m-cart-qty {
    background: #bc2430;
    border-radius: 50%;
    color: #fff;
    display: inline-block;
    font-size: 8px;
    font-weight: bold;
    margin: 0 auto;
    padding: 4px 8px;
    position: absolute;
    right: -2px;
    text-align: center;
    top: -2px;
}

.m-header-utils > a > img {
    /*width: 38px;*/
    /*height: 38px;*/
}

.cos-cumparaturi {
    padding-bottom: 20px;
}

.checkout-content .card .list-group {
    margin-bottom: 20px;
}

.checkout-content .input-qty {
    align-self: center;
    width: 80px;
}

.checkout-content .quantity-select {
    position: relative;
}

.checkout-content .quantity-updated {
    bottom: -5px;
    color: #B51C1A;
    display: block;
    font-size: 10px;
    font-weight: 600;
    left: 0;
    margin: 0 auto;
    position: absolute;
    right: 0;
    text-transform: uppercase;
}

/* BREADCRUMB */

ul.breadcrumb-list {
    margin: 0;
    padding: 0;
}

ul.breadcrumb-list li {
    list-style-type: none;
    vertical-align: middle;
}

ul.breadcrumb-list li:first-child {
    line-height: 0;
}

ul.breadcrumb-list li a {
    text-decoration: none;
}

/* MOBILE BREADCRUMBS */

.m-selected-elements .m-brand-logo {
    display: inline-block;
    width: 32px;
    height: 32px;
}

.m-selected-elements .m-filter-info a {
    color: #808EB2;
}

.m-selected-elements .m-filter-info span:last-child a{
    color: #0D4483;
}

.m-selected-elements .m-brand-logo a > svg {
    width: 24px;
    height: 24px;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    display: inline-block;
    margin: 3px auto 0;
}

.m-filter,
.m-filter-reset {
    max-width: 300px;
}

.m-results-sidebar-body {
    padding-bottom: 60px;
}

.m-results-sidebar:not(.active) .m-btn-filter-submit {
    opacity: 0;
}

.m-results-sidebar.active {
    z-index: 99999;
}

.m-results-sidebar.active .m-btn-filter-submit {
    position: fixed;
    bottom: 16px;
    margin: 0 auto;
    text-align: center;
    width: 200px;
    left: 0;
    right: 0;
    opacity: 1;

    transition: all 0.45s ease-in-out;
    -moz-transition: all 0.45s ease-in-out;
    -webkit-transition: all 0.45s ease-in-out;
    /*transition-delay: 0.45s;*/
}

.m-filter .m-filter-body a {
    display: block;
    position: relative;
    vertical-align: middle;
}

.m-filter .m-filter-body a:not(:last-child) {
    margin-bottom: 4px;
}

.m-filter .m-filter-body a:before {
    background: #fff;
    border-radius: 2px;
    border: 1px solid #b7c7da;
    content: '';
    display: block;
    height: 16px;
    left: 0;
    margin-right: 10px;
    position: absolute;
    top: 2px;
    line-height: 14px;
    width: 16px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    color: #fff;
    font-size: 10px;
    padding-left: 2px;
}


.m-filter .m-filter-body a.active-filter:before {
    content: "\f00c";
    background-color: #0D4483;
    border-color: #0D4483;
}

.m-filter .m-filter-body a.active-filter:hover:before {
    content: "\f00d";
    background-color: #bc2430;
    border-color: #bc2430;
    padding-left: 3px;
}

.m-filter .js-filter-images {
    overflow-y: hidden;
}

.m-results-container {
    /* flex-direction: column; */
}

/**
* SEARCH
*/

#search {
    font-size: 13px;
    padding: 8px 48px 8px 8px;
}

#search:hover,
#search:focus,
#search:active {
    background: #F1F4F8;
}

#search:focus,
#search:active {
    border-color: #0d4483;
}

#search::-webkit-input-placeholder {
    opacity: 1 !important;
    color: #898F9C !important;
}

#search::-moz-placeholder {
    opacity: 1 !important;
    color: #898F9C !important;
}

#search:-ms-input-placeholder {
    opacity: 1 !important;
    color: #898F9C !important; /* IE11 needs the !important flag */
}

/*
.m-search-i-wrap.m-input-submittable #search,
.m-search-i-wrap.m-input-submittable:before{
    border: 2px solid #bc2430;
    transition: border 0.25s ease-in-out;
    -moz-transition: border 0.25s ease-in-out;
    -webkit-transition: border 0.25s ease-in-out;
}*/

.m-search-i-wrap.m-input-submittable #search {
    border-right: none;
    border-left: none;
}

.m-search-bar {
    position: relative;
    bottom: unset;
    top: initial;
    background-color: #FFF;
    left: initial;
    border-bottom: none;
    padding: 6px 0;
}

.m-search-bar.move-top {
    /*height: 54px;
    top: 58px;
    width: 100%;*/
}

.m-search-bar .m-submit-btn {
    position: absolute;
    width: 44px;
    height: 44px;
    color: #fff;
    font-size: 16px;
    text-align: center;
    line-height: 44px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: #0D4483;
    border-radius: 0 6px 6px 0;
}

.m-search-bar .m-search-btn {
    display: none;
}

.m-search-bar .m-search-i-wrap {
    flex: 1 0 auto;
    border-radius: 8px;
}

.m-search-bar .m-search-i-wrap::before {
    /*left: -8px;*/
}

.m-search-bar.move-top .m-search-i-wrap::before {
    /*left: -17px;*/
}

.m-search-bar .m-submit-btn i {
    /*-moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);*/
    width: 21px;
    height: 21px;
    margin: 0 auto;
    font-weight: 600 !important;
}

.m-search-bar .m-submit-btn .m-submit-btn-text {
    display: none;
    line-height: 1;
}

.m-search-bar .m-submit-btn i.m-submit-arrow {
    display: none;
}

span#overlay {
    position: fixed;
    opacity: 0;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1020;
    background-color: rgba(0, 0, 0, 0.20);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    overflow-y: hidden;
    visibility: hidden;
}

span#overlay.show-overlay {
    opacity: 1;
    visibility: visible;
}

/* HOME PAGE SECTIONS */

.m-home-elements {
    background-color: #FFF;
}

.m-offercontent header {
    margin-bottom: 1rem;
}

.slick-active > div > section {
    opacity: 1;
}

.m-home-elements .m-cta {
    height: 170px;
    overflow: hidden;
}

.m-cta-slider {
    margin: 0 auto;
}

.m-cta-slider-item {
    display: inline-block;
    max-width: 275px;
    margin: 0 auto;
    padding: 0 10px;
}

.m-cta-slider-item img {
    height: 74px;
    width: 275px;
}

.m-noutati {
    background-color: #fff;
}

.m-noutati-slider {

}

.m-noutati-article-img {
    width: 100%;
}

/* FOOTER */

.m-home-elements,
.footer {
    /*top: unset;*/
}

.footer {
    /*top: 300px;*/
    position: relative;
    padding-bottom: 0;
}

.footer-links.border-right {
    border: none !important;
}

.copyright {
    margin-top: 60px;
}

.copyright a {
    color: #FFF;
    font-weight: 700;
}

/* HOME PAGE ELEMENTS */

.m-car-selector {
    position: relative;
    top: auto;
    margin-top: 40px;
    left: unset;
    max-height: unset;
    z-index: auto;
    margin-top: 100px;
}

.m-car-selector .m-brand-select li {
    flex: 0 0 72px;
    width: 64px;
    margin: 0;
}

.m-car-selector li a {
    text-decoration: none;
    outline: none;
}
.m-car-selector li[class^="ln-"],
.m-car-selector li a,
.m-car-selector li a span {
    line-height: 18px;
    font-size: 13px;
    display: inline-block;
}

.m-car-selector .m-see-all {
    border: 2px solid #fff;
    overflow: hidden;
}

.m-products-view h2 {
    margin-bottom: 35px;
}

.m-products-view h2:before,
.m-products-view h2:after {
    content: '';
    display: block;
    width: 70%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    margin-left: 15%;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#0d4483+30,0d4483+70&0+0,1+30,1+70,0+100 */
    background: -moz-linear-gradient(left,  rgba(13,68,131,0) 0%, rgba(13,68,131,1) 30%, rgba(13,68,131,1) 70%, rgba(13,68,131,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  rgba(13,68,131,0) 0%,rgba(13,68,131,1) 30%,rgba(13,68,131,1) 70%,rgba(13,68,131,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  rgba(13,68,131,0) 0%,rgba(13,68,131,1) 30%,rgba(13,68,131,1) 70%,rgba(13,68,131,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000d4483', endColorstr='#000d4483',GradientType=1 ); /* IE6-9 */
}

.m-box-view {
    padding-bottom: 30px;
}

/* CAR LIST */

.m-car-selector ul.m-car-list {
    /*max-height: 160px;*/
}

.m-car-list {
    width: 100%;
}

.m-car-list img {
    margin: 0;
    width: 38px;
}

.m-car-list.full-size,
.m-car-selector ul.full-size {
    max-height: 860px;
    overflow: hidden;
    /* max-height: max-content; */
    /* max-height: none; */
}

.m-car-list li > a,
.m-car-list li h2.m-car-maker-selector a span {
    color: #0D4483;
    font-size: 7px;
    font-weight: 700;
}

.m-car-list li > a,
.m-car-list li h2.m-car-maker-selector {
    align-items: center;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.m-car-list li h2.m-car-maker-selector {
    margin: 0 0 8px;
    padding: 0;
}

.m-car-list li h2.m-car-maker-selector::after {
    background: none;
}

.m-car-list li:hover {
    opacity: 1;
}

.m-car-list li:hover h2.m-car-maker-selector a span {
    /*color: #bc2430;*/
    opacity: 0.65;
}

.m-car-maker-selector .m-cars-label {
    height: 84px;
    overflow: hidden;
}

.m-car-maker-selector .m-cars-label:after {
    background: #fff;
    border-radius: 13px;
    width: 48px;
    height: 48px;
    display: block;
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    margin: 0 auto;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 10;
}

.m-car-alfa-romeo .m-cars-label svg,
.m-car-bmw .m-cars-label svg,
.m-car-mercedes-benz .m-cars-label svg,
.m-car-vw .m-cars-label svg,
.m-car-lada .m-cars-label svg,
.m-car-skoda .m-cars-label svg,
.m-car-lancia .m-cars-label svg,
.m-car-volvo .m-cars-label svg,
.m-car-dacia .m-cars-label svg {
     width: 32px;
}

.m-car-renault .m-cars-label svg,
.m-car-dodge .m-cars-label svg,
.m-car-daihatsu .m-cars-label svg,
.m-car-toyota .m-cars-label svg,
.m-car-rover .m-cars-label svg {
    width: 34px;
}

.m-car-maker-selector .m-cars-label svg {
    position: relative;
    z-index: 1020;
    margin: 2px 0 8px;
    padding-top: 8px;
}

/* YEARS */

.m-year-select ul[class^="group-"] {
    flex-flow: column wrap;
}

.m-year-select .m-years-list ul[class^="group-"] > li {
    flex: 0 0 100%;
    max-width: 100%;
}

.m-years-list.m-columnized-list > li {
    margin-bottom: 0;
}

.m-year-select li > a {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0;
    margin: 0 auto;
}

/* CAR MODELS */

.m-box-view.m-model-select {
    padding-left: 30px;
    padding-right: 30px;
    /*position: relative;*/

    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;

    transition-delay: 640ms;
}

.m-model-select ul.m-models > li {
    margin-bottom: 5px;
}

.m-model-select ul.m-models > li span {
    display: block;
}

.m-model-select ul,
.m-products-view ul {
    border: none;
    padding-top: 0;
}

.m-model-select ul.m-columnized-list,
.m-products-view ul.m-columnized-list {
    -webkit-justify-content: flex-start;
    -webkit-align-items: flex-start;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.m-model-select ul.m-columnized-list > li,
.m-products-view ul.m-columnized-list > li {
    flex: none;
    margin-bottom: 5px;
    max-width: unset;
    width: 19.25%;
    float: left;
}

.m-model-select > ul:not(.m-alphabet):not(.m-columnized-list) > li {
    flex: 0 0 47%;
}

.m-products-view > ul:not(.m-alphabet):not(.m-columnized-list) > li {
    flex: 0 0 100%;
}

.m-model-select > ul:not(.m-alphabet):not(.m-columnized-list) > li:last-of-type,
.m-products-view > ul:not(.m-alphabet):not(.m-columnized-list) > li:last-of-type {
    /* flex: 0 0 100%; */
}

.m-model-select > ul:not(.m-alphabet):not(.m-columnized-list) > li:nth-child(2n+1),
.m-model-select ul.m-columnized-list > li:not(:last-child) {
    margin-right: 15px;
}

.m-model-select ul.m-split-1 > li,
.m-products-view ul.m-split-1 > li {
    min-height: 54px;
    width: 100%;
}

.m-model-select ul.m-split-2 > li,
.m-products-view ul.m-split-2 > li {
    width: 45%;
}

.m-model-select ul.m-split-3 > li,
.m-products-view ul.m-split-3 > li {
    width: 31%;
}

.m-model-select ul.m-split-4 > li,
.m-products-view ul.m-split-4 > li {
    width: 24%;
}

.m-model-select ul.m-split-5 > li,
.m-products-view ul.m-split-5 > li {
    width: 19.25%;
}

.m-model-select ul[class^="group-"],
.m-products-view ul[class^="group-"] {
    display: inline-block;
    width: 100%;
}

.m-model-select ul[class^="group-"] > li,
.m-products-view ul[class^="group-"] > li {
    display: inline-block;
    flex: none;
    max-width: 100%;
    width: 100%;
    padding: 3px 0;
}

.m-model-select > ul.m-models:not(.m-columnized-list) > li,
.m-products-view > ul.m-models:not(.m-columnized-list) > li {
    padding: 3px 0;
}

.m-model-select > ul.filtered-hidden-elements,
.m-products-view > ul.filtered-hidden-elements {
    display: none !important;
}

.m-model-select > ul[class^="group-"] > li,
.m-products-view > ul[class^="group-"] > li {
    display: inline-block;
}

.m-model-select > ul.m-models:not(.m-columnized-list) > li:not(:last-child),
.m-model-select ul.m-columnized-list li ul[class^="group-"] > li:not(:last-child) {
    border-bottom: 1px solid #E6EBF1;
}

.m-model-select > ul.m-models.m-anchor-in-2-rows > li,
.m-model-select ul.m-anchor-in-2-rows > li ul[class^="group-"] > li,
.m-model-select ul.m-anchor-in-2-rows .slick-slide > div > li ul[class^="group-"] > li {
    min-height: 62px;
}

.m-model-select > ul.m-models.m-anchor-in-3-rows > li,
.m-model-select ul.m-anchor-in-3-rows > li ul[class^="group-"] > li,
.m-model-select ul.m-anchor-in-3-rows .slick-slide > div > li ul[class^="group-"] > li {
    min-height: 85px;
}

.m-model-select ul.m-models li span.m-car-model-name {
    font-weight: bold;
}

.m-model-select ul.m-models li span.m-car-make-years-range,
.m-model-select > ul.m-models > li:hover span.m-car-make-years-range {
    color: #a5b9d1;
}

.m-model-select ul.m-models li span.m-car-model-name,
.m-model-select ul.m-models li span.m-car-make-years-range {
    clear: both;
    width: 100%;
    text-align: left;
}

.m-model-select ul.m-models li:hover span.m-car-model-name {
    color: #0D4483;
}

.m-model-select ul.m-models li:hover span.m-car-make-years-range {
    font-weight: 500;
}

.m-model-select ul.m-models li ul[class^="group-"] li:hover a span.m-car-model-name,
.m-model-select ul.m-models li ul[class^="group-"] li:hover a span.m-car-make-years-range {
    color: #B50D1A;
    opacity: 1;
    font-weight: 700;
}

/* ABC NAVIGATION */

.m-model-select.mobile-filters-opened.add-padding {
    padding-top: 67px;
}

.m-products-view.mobile-filters-opened.add-padding {
    /* padding-top: 32px; */
    padding-top: 10px;
}

.m-car-selector .m-products-view span.m-alphabet-switcher,
.m-car-selector .m-model-select span.m-alphabet-switcher {
    background-color: #0d4483;
    border-radius: 13px 13px 0 0;
    border: 2px solid #FFF;
    color: #FFF;
    font-size: 12px;
    height: 34px;
    padding: 10px;
    position: fixed;
    right: -38px;
    text-align: center;
    text-transform: capitalize;
    top: 138px;
    width: 100px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    z-index: 900;
}

.m-car-selector .m-products-view.mobile-filters-opened span.m-alphabet-switcher,
.m-car-selector .m-model-select.mobile-filters-opened span.m-alphabet-switcher {
    /*opacity: 0.5;*/
}

.m-car-selector span.m-alphabet-switcher i {
    display: inline-block;
    float: left;
    margin-right: 10px;
    width: 11px;
    transition-delay: 640ms;
}

.m-products-view.mobile-filters-opened span.m-alphabet-switcher i,
.m-model-select.mobile-filters-opened span.m-alphabet-switcher i {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.m-car-selector span.m-alphabet-switcher-text {
    color: #FFF;
    display: inline-block;
    float: left;
    font-size: 10px;
    font-weight: 500;
    width: auto;
    line-height: 10px;
}

ul.m-alphabet {
    border: 2px;
    position: fixed;
    right: -700px;
    top: 105px;
    height: 100px;
    max-height: 70%;
    background: #FFF;
    z-index: 899;
    padding: 6px 15px;
    opacity: 0.6;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    align-content: center;
    justify-content: flex-start;
    transition: all 800ms ease-in-out;
    width: 100%;
}

.m-car-selector .mobile-filters-opened ul.m-alphabet {
    right: 0;
    opacity: 1;
    padding-right: 30px;
}

.m-car-selector ul.m-alphabet.collapsed {
    display: none;
}

.m-car-selector ul.m-alphabet.collapsed li {
    display: none;
}

.m-car-selector ul.m-alphabet.expanded {

}

.m-car-selector ul.m-alphabet.horizontal {
    background: #fff;
    bottom: 0;
    height: auto;
    margin: 0;
    max-height: unset;
    max-width: 100%;
    padding: 10px 102px 10px 16px;
    right: unset;
    top: unset;
    width: 100%;
    z-index: 9999;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
}

.m-car-selector ul.m-alphabet li {
    display: inline-block;
    flex: none;
    margin: 0 4px 0 0;
    max-width: 100%;
}

.m-car-selector ul.m-alphabet.horizontal li {
    width: 42px;
    max-width: 38px;
}

.m-car-selector ul.m-alphabet li.disabled {
    /* display: none; */
}

.m-products-view ul.m-alphabet {
    display: flex;
}

.m-products-view ul.m-alphabet button,
.m-car-selector ul.m-alphabet li button {
    background: white;
    border-radius: 2px;
    border: 1px solid #e6ebf1;
    color: #0d4483;
    font-size: 9px;
    font-weight: 700;
    height: 22px;
    line-height: inherit;
    outline: none;
    padding: 0 6px;
    text-transform: unset;
}

.m-car-selector ul.m-alphabet li button.active-filter {
    background-color: #0d4483;
    color: #FFF;
}

.m-products-view {
    transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;

    transition-delay: 640ms;
}

.m-products-view > ul.m-products {
    width: 100%;
    order: 2;
}

.m-products-view ul.m-products li.filter-hide,
.m-model-select ul.m-models li.filter-hide {
    display: none;
}

.m-model-select ul.m-models li.filter-show {
    /* display: inherit; */
}

ul.m-alphabet li button.active,
ul.m-alphabet li button.active:hover,
ul.m-alphabet li button.active:active,
ul.m-alphabet li button.active:focus {
    background-color: #0d4483;
    border: 1px solid #0d4483;
    color: #fff;
}

ul.m-alphabet li button:not(.active-filter):hover,
ul.m-alphabet li button:not(.active-filter):active,
ul.m-alphabet li button:not(.active-filter):focus {
    font-weight: 700;
    background-color: #F1F4F8;
}

ul.m-alphabet.slick-slider .slick-arrow {
    color: #0D4483;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    display: inline-block;
    flex: none;
}

ul.m-alphabet.slick-slider .slick-arrow.slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

ul.m-alphabet.slick-slider .slick-arrow.slick-prev {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

ul.m-alphabet.slick-slider .slick-arrow.slick-next {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

/* FILTER INFO */
.m-filter-info {
    display: block;
    clear: both;
}

/* PRODUCTS */
.m-products-view {
    margin-top: 110px;
    margin-bottom: 20px;
}

.m-products-view ul.m-products li a {
    display: block;
    height: 16px;
    margin-bottom: 10px;
    width: 100%;
    font-size: 14px;
}

.m-car-selector .m-products-view ul.m-products li a,
.m-car-selector .m-products-view ul.m-products li a > span {
    text-align: left;
}

.m-car-selector .m-products-view ul.m-products li a > span:first-child {
    width: 90%;
}


/* SLICK SLIDER */

.m-model-select ul.m-models.slick-slider {
    display: block;
    position: relative;
    overflow: unset;
}

.m-model-select ul.m-models.slick-slider .slick-list {
    max-width: 1036px;
    overflow: hidden;
}

.m-model-select ul.m-models.slick-slider .slick-slide > div > li {
    max-width: 100%;
    /* margin-right: 15px; */
    width: 100%;
}

.m-model-select ul.m-models.slick-slider .slick-slide {
    opacity: 0.3;
    margin-right: 30px;
}

.m-model-select ul.m-models.slick-slider .slick-slide.slick-active {
    opacity: 1;
}

.m-model-select ul.m-models.slick-slider .slick-arrow {
    position: absolute;
    top: 50%;
    margin-top: -12px;
    left: -40px;
    z-index: 2000;
    border: 0;
    background: transparent;
    color: #0D4483;
    height: 24px;
    line-height: 24px;
    font-size: 24px;
    width: 30px;
    outline: none;
}

.m-model-select ul.m-models.slick-slider .slick-arrow.slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.m-model-select ul.m-models.slick-slider .slick-arrow.slick-next {
    left: inherit;
    right: -45px;
}

/* FUEL */

.m-fuel-select ul,
.m-engine-select ul,
.m-enginepower-select ul {
    flex-flow: row wrap;
    height: inherit;
}

.m-fuel-select ul li a,
.m-engine-select ul li a,
.m-enginepower-select ul li a {
    color: #0d4483;
    display: block;
    font-size: 13px;
    line-height: 12px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    font-weight: 600;
}

.m-fuel-select ul li,
.m-engine-select ul li {
    min-height: 32px;
}

.m-enginepower-select ul li {
    min-height: 16px;
}

.m-engine-select ul li,
.m-enginepower-select ul li {
    margin-bottom: 16px;
}

.m-fuel-select ul li a:hover,
.m-fuel-select ul li a:focus,
.m-fuel-select ul li a:active,
.m-engine-select ul li a:hover,
.m-engine-select ul li a:focus,
.m-engine-select ul li a:active,
.m-enginepower-select ul li a:hover,
.m-enginepower-select ul li a:focus,
.m-enginepower-select ul li a:active {
    color: #bc2430;
}

.m-fuel-select.m-half-part li {
    align-items: center;
    align-content: center;
    justify-content: flex-start;
}

/* ─── E-COMMERCE RESULTS PAGE ─── */

.ec-results {
    padding: 12px 0 330px;
}

.ec-year-switcher {
    margin: 0 0 18px;
    padding: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafd 100%);
    border: 1px solid #E3EBF4;
    border-radius: 12px;
}

.ec-year-switcher-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
}

.ec-year-switcher-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6E7F99;
}

.ec-year-switcher-current {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #EEF4FA;
    border: 1px solid #DCE6F1;
    font-size: 12px;
    font-weight: 700;
    color: #0D4483;
}

.ec-year-switcher-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ec-year-switcher-grid::-webkit-scrollbar {
    display: none;
}

.ec-year-switcher-grid::after {
    content: "";
    flex: 0 0 4px;
}

.ec-year-switcher-grid .cs-option-btn {
    flex: 0 0 auto;
    gap: 8px;
    scroll-snap-align: start;
}

.ec-year-switcher-option {
    min-width: 110px;
    min-height: 42px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    cursor: pointer;
}

.ec-year-switcher-option.is-active {
    background: #0D4483;
    border-color: #0D4483;
    color: #fff;
    pointer-events: none;
    box-shadow: 0 10px 24px rgba(13, 68, 131, 0.18);
}

.ec-results-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 8px;
}

.ec-results-header h1 {
    font-size: 16px;
    font-weight: 600;
    color: #0D4483;
    margin: 0;
    line-height: 1.4;
}

.ec-results-header h1::before,
.ec-results-header h1::after {
    display: none !important;
}

.ec-sort {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #808EB2;
}

.ec-sort-select {
    border: 1px solid #E6ECF2;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
    color: #0D4483;
    background: #fff;
    outline: none;
}

/* Layout: filters + grid */
.ec-results-layout {
    display: flex;
    gap: 20px;
    position: relative;
    align-items: flex-start;
}

/* Product grid */
.ec-product-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Product card */
.ec-card {
    background: #fff;
    border: 1px solid #f0f2f5;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.15s, border-color 0.15s;
    display: flex;
    flex-direction: column;
}

.ec-card:hover {
    border-color: #0D4483;
    box-shadow: 0 4px 16px rgba(13, 68, 131, 0.08);
}

.ec-card-img {
    display: flex;
    background: #f9fafb;
    padding: 6px;
    aspect-ratio: 5/4;
    align-items: center;
    justify-content: center;
}

.ec-card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.ec-card-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ec-card-title {
    color: #0D4483;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.ec-card-title:hover {
    color: #0a3668;
    text-decoration: none;
}

.ec-card-oe-primary {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
    padding: 7px 9px;
    border-radius: 8px;
    background: #F7FAFD;
    border: 1px solid #D7E3F1;
}

.ec-card-oe-primary-label {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6E7F99;
}

.ec-card-oe-primary-value {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    color: #0D4483;
    word-break: break-word;
}

.ec-card-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 8px;
    flex: 1;
}

.ec-card-car {
    font-size: 11px;
    color: #0D4483;
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ec-card-car i {
    font-size: 9px;
    margin-right: 4px;
    opacity: 0.6;
}

.ec-card-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ec-card-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #F4F7FB;
    color: #5F6F8D;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
}

.ec-card-year i {
    font-size: 10px;
    opacity: 0.72;
}

.ec-card-sku {
    letter-spacing: 0.04em;
    color: #7A879F;
}

.ec-card-detail {
    font-size: 11px;
    color: #808EB2;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ec-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f5f5f5;
}

.ec-card-price {
    color: #B50D1A;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.ec-card-price small {
    font-size: 12px;
    font-weight: 500;
}

.ec-card-cart {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid #D6E0EA;
    background: #fff;
    color: #0D4483;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, box-shadow 0.15s, transform 0.15s, border-color 0.15s;
    flex-shrink: 0;
    float: none;
    box-shadow: none;
}

.ec-card-cart:hover {
    background: #f4f8fc;
    border-color: #0D4483;
    color: #0D4483;
}

.ec-card-cart:focus,
.ec-card-cart:active {
    outline: none;
    color: #0D4483;
}

.ec-card-cart:focus {
    box-shadow: 0 0 0 3px rgba(19, 96, 184, 0.12);
}

.ec-card-cart i {
    margin-left: 0;
    font-size: 15px;
    position: static;
    top: auto;
}

/* Compatibility borders */
.ec-card--compatible {
    border-color: #28a745;
}

.ec-card--compatible:hover {
    border-color: #218838;
    box-shadow: 0 4px 16px rgba(40, 167, 69, 0.12);
}

.ec-card--maybe {
    border-color: #dc3545;
}

.ec-card--maybe:hover {
    border-color: #c82333;
    box-shadow: 0 4px 16px rgba(220, 53, 69, 0.12);
}

.ec-card-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 4px;
    width: fit-content;
}

.ec-card-badge--maybe {
    background: #fff5f5;
    color: #dc3545;
}

/* Filters sidebar */
.ec-filters {
    position: fixed;
    top: 0;
    left: 0;
    width: min(92vw, 380px);
    height: 100%;
    background: #ffffff;
    z-index: 99999;
    overflow-y: auto;
    padding: 14px 12px 18px;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    box-shadow: 10px 0 28px rgba(15, 23, 42, 0.12);
}

.ec-filters.open {
    transform: translateX(0);
}

.ec-filters-backdrop {
    position: fixed;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.38);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 99998;
}

body.ec-filters-lock .ec-filters-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.ec-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 18px;
    color: #0D4483;
}

.ec-filters-subtitle {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.ec-filters-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #808EB2;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.ec-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 6px;
    border: 1px solid #d6dee8;
    background: #fff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.ec-filter-reset:hover {
    color: #0D4483;
    border-color: #b9c8da;
    text-decoration: none;
}

.ec-filters-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.ec-filters-count,
.ec-filters-active-note {
    font-size: 12px;
    color: #64748b;
}

.ec-filters-active-note {
    margin-bottom: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0D4483;
    font-weight: 600;
}

.ec-filter-group {
    margin-bottom: 0;
    border: 0;
    border-bottom: 1px solid #e5ebf2;
    border-radius: 0;
    background: transparent;
    overflow: hidden;
    box-shadow: none;
}

.ec-filter-group.has-active {
    border-bottom-color: #c9d5e3;
}

.ec-filter-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 0;
    border: 0;
    background: transparent;
    text-align: left;
    color: #0f172a;
}

.ec-filter-trigger-copy {
    flex: 1;
    min-width: 0;
}

.ec-filter-title {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #0D4483;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ec-filter-meta {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #64748b;
}

.ec-filter-trigger-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}

.ec-filter-trigger-icon {
    color: #0D4483;
    font-size: 12px;
    transition: transform 0.18s ease;
}

.ec-filter-group.is-open .ec-filter-trigger-icon {
    transform: rotate(180deg);
}

.ec-filter-body {
    display: none;
    padding: 0 0 10px;
}

.ec-filter-group.is-open .ec-filter-body {
    display: block;
}

.ec-filter-search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid #d7e0ea;
    border-radius: 4px;
    background: #fff;
    color: #64748b;
}

.ec-filter-search:focus-within {
    border-color: rgba(13, 68, 131, 0.4);
    box-shadow: 0 0 0 3px rgba(13, 68, 131, 0.1);
}

.ec-filter-search-input {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    color: #0f172a;
    font-size: 13px;
    outline: none;
}

.ec-filter-search-input::placeholder {
    color: #94a3b8;
}

.ec-filter-options {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 8px;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 2px;
}

.ec-filter-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    border-radius: 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ec-filter-option:hover {
    background: transparent;
    color: #0D4483;
    text-decoration: none;
}

.ec-filter-option[hidden] {
    display: none;
}

.ec-filter-option-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 3px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: transparent;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 1px;
}

.ec-filter-option.active {
    background: transparent;
    color: #0D4483;
    font-weight: 700;
}

.ec-filter-option.active .ec-filter-option-check {
    border-color: #0D4483;
    background: #0D4483;
    color: #fff;
}

.ec-filter-option-label {
    display: block;
}

.ec-filter-empty {
    margin-top: 8px;
    padding: 8px 0 2px;
    border-radius: 0;
    background: transparent;
    color: #64748b;
    font-size: 12px;
}

.ec-filters-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: #0D4483;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    z-index: 100;
}

.ec-filters-toggle-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

body.ec-filters-lock {
    overflow: hidden;
}

/* Pagination */
.ec-pagination {
    text-align: center;
    padding: 24px 0;
}

.ec-pagination-info {
    font-size: 13px;
    color: #808EB2;
    margin-bottom: 8px;
}

.ec-pagination ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.ec-pagination li a,
.ec-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #0D4483;
    border: 1px solid #E6ECF2;
    padding: 0 8px;
}

.ec-pagination li.active span {
    background: #0D4483;
    color: #fff;
    border-color: #0D4483;
}

.ec-pagination li a:hover {
    background: #f5f7fb;
}

.ec-pagination li.dots {
    display: flex;
    align-items: center;
    color: #808EB2;
    padding: 0 4px;
}

/* No results */
.ec-no-results {
    text-align: center;
    padding: 48px 20px;
}

.ec-no-results h2 {
    color: #0D4483;
    font-size: 20px;
    margin-bottom: 8px;
}

.ec-no-results p {
    color: #808EB2;
    font-size: 14px;
}

/* Desktop */
@media (min-width: 992px) {
    .ec-results {
        padding-bottom: 24px;
    }

    .ec-results-header h1 {
        font-size: 20px;
    }

    .ec-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ec-card-title {
        font-size: 14px;
    }

    .ec-card-price {
        font-size: 20px;
    }

    /* Desktop: sidebar always visible */
    .ec-filters {
        position: sticky;
        top: 88px;
        left: auto;
        width: 290px;
        flex-shrink: 0;
        height: calc(100vh - 108px);
        overflow-y: auto;
        padding: 14px;
        background: #fff;
        z-index: auto;
        transform: none;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .ec-filters-backdrop {
        display: none;
    }

    .ec-filters-header {
        display: flex;
    }

    .ec-filters-close {
        display: none;
    }

    .ec-filters-toggle {
        display: none;
    }
}

@media (min-width: 1200px) {
    .ec-product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* LEGACY RESULTS PAGE (kept for backward compat) */

.m-results-wrapper {
    margin-top: 0;
    position: relative;
}

.m-results-content {
    margin-top: 0;
    margin-bottom: 20px;
    width: 100%;
}

.m-results-content.search-results {
    margin-top: 20px;
}

.m-results-content.missing-results h1 {
    margin-bottom: 40px;
}

.m-results-content.missing-results h2,
.m-results-content.missing-results {
    font-size: 14px;
}

.m-results-content.missing-results h2{
    font-weight: bold;
}

.m-results-wrapper .m-selected-elements span {
    color: #808EB2;
    cursor: pointer;
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
    margin-right: 3px;
    text-align: center;
    text-transform: uppercase;
    width: auto;
}

.m-sort-bar {
    display: none;
}

.m-sort-bar > .container {
    padding: 0;
    margin-bottom: 10px;
}

.m-sort-bar h1 {
    color: #0d4483;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.m-sort-bar h1 > span {
    font-weight: 400;
}

.m-sort-bar .m-filters-count {
    clear: both;
    width: 100%;
}

.m-sort-view a {
    align-items: center;
    background: #FFF;
    border-radius: 5px;
    display: flex;
    height: 28px;
    justify-content: center;
    margin-left: 10px;
    text-decoration: none;
    width: 28px;
    /* padding: 4px; */
}

.m-sort-view a:first-of-type {
    margin-left: 0;
}

.m-sort-view a:hover i,
.m-sort-view a:focus i {
    color: #bc2430;
    opacity: 1;
}

.m-sort-view a.active i {
    opacity: 1;
    color: #0D4483;
}

.m-sort-view a i {
    opacity: 0.3;
    color: #808EB2;
}

.m-site-header > .container {
    padding: 0;
}

.m-site-header .navbar-brand {

}

.m-site-header .navbar-brand > svg {
    display: inline-block;
}

.m-site-header .navbar-collapse {
    animation: none;
}

.navbar-nav .dropdown-menu {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.m-sort-list {
    margin: 0 0 0 2px;
    padding: 0;
}

.m-sort-view > span,
.m-sort-list li.btn-group label {
    color: #808EB2;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 0;
    margin-right: 10px;
    outline: 0;
    vertical-align: middle;
    display: inline-block;
}

.m-sort-view {
    align-content: flex-start;
    justify-content: flex-end;
}

.m-results-sidebar-body {
    border-bottom: none;
}

.m-filter-item {
    font-size: 12px;
}

.m-sort-view:hover > span,
.m-sort-list li.btn-group:hover label,
.m-sort-list li.btn-group:focus label {
    color: #0D4483;
}

.m-sort-list li.btn-group > button {
    background: #fff;
    border-radius: 3px;
    border: 1px solid #E6ECF2;
    box-shadow: none;
    color: #0D4483;
    font-size: 11px;
    font-weight: 600;
    outline: none;
}

.m-sort-list li.btn-group > .btn-group:not(:first-child) > .btn,
.m-sort-list li.btn-group > .btn:not(:first-child) {
    border-radius: 3px;
}

.m-sort-list li.btn-group .dropdown-menu {
    color: #0D4483;
    font-size: 11px;
}

.m-sort-list li.btn-group .dropdown-menu > a.active {
    background-color: #f5f6f7;
    color: #c4d2e2;
    pointer-events: none;
    user-drag: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.m-sort-list li.btn-group .dropdown-menu > a:not(.active):hover {
    background-color: #0D4483;
    color: #f8f9fa;
}

.m-sort-list li a i.fa {
    margin-left: 5px;
}

.m-noutati {
    margin: 0;
    padding: 50px 0;
}

.m-results-sidebar {
    z-index: 9000;
    overflow-y: hidden;
    height: 30px;
}

.m-results-sidebar.active {
    overflow-y: scroll;
    height: 100%;
    top: 0;
}

/* PRODUCT RESULTS PAGE */

.m-product-img {
    /* height: 172px; */
    /* width: 200px; */
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    margin-bottom: 0;
    /* border-bottom: 1px solid red; */
}

.m-product-img.no-srcset,
.m-product-img.no-product-photo {
    width: 100%;
}


.m-product-item-img {
    background: #fff;
}

.m-product-item-img a img {
    width: 100%;
    height: auto;
    display: block;
}

.m-list-view .m-product-img {
    border-bottom-left-radius: 5px;
    border-top-right-radius: unset;
}

.m-product-item p {
    padding-right: 0;
}

/* ─── PRODUCT DETAIL PAGE (PDP) ─── */

.pdp {
    margin-top: 10px;
    padding-bottom: 20px;
}

.pdp-header {
    padding: 12px 0 8px;
}

.pdp-header h1 {
    color: #0D4483;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin: 0 0 4px;
}

.pdp-sku {
    color: #808EB2;
    font-size: 12px;
    display: block;
    margin-bottom: 12px;
}

/* Gallery */
.pdp-gallery {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.pdp-gallery .m-product-img,
.pdp-gallery-mobile .m-product-img {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: block;
    border-radius: 8px;
}

.pdp-gallery-mobile .m-product-img-slider {
    height: auto !important;
    min-height: 0 !important;
}

.pdp-gallery-mobile .m-product-img-slider > div {
    display: none;
}

.pdp-gallery-mobile .m-product-img-slider > div:first-child {
    display: block;
}

.pdp-gallery-mobile .m-product-img-slider.slick-initialized > div {
    display: block;
}

.pdp-gallery-col {
    position: relative;
}

.pdp-thumbs-mobile {
    padding: 8px;
}

.pdp-photo-disclaimer {
    color: #a82525;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    margin: 8px 0;
}

.pdp-no-image {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    background: #f9f9fb;
    border-radius: 8px;
}

.pdp-no-image img {
    max-width: 100%;
    height: auto;
}

.pdp-discount-badge {
    position: absolute;
    top: 12px;
    right: 24px;
    background: #bc2430;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    z-index: 10;
}

/* Info card */
.pdp-info-card {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 16px;
}

/* Specs table */
.pdp-specs {
    margin-bottom: 16px;
}

.pdp-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 8px 0;
    border-bottom: 1px solid #f0f2f5;
    font-size: 14px;
    line-height: 20px;
}

.pdp-spec-row:last-child {
    border-bottom: none;
}

.pdp-spec-label {
    color: #808EB2;
    font-weight: 500;
    flex-shrink: 0;
    margin-right: 12px;
}

.pdp-spec-value {
    color: #262626;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

.pdp-spec-value.pdp-available {
    color: #28a745;
    font-weight: 700;
}

/* Details text */
.pdp-details-text {
    padding: 12px 0;
    border-top: 1px solid #f0f2f5;
    font-size: 13px;
    line-height: 20px;
    color: #444;
}

.pdp-details-text .pdp-spec-label {
    font-size: 12px;
    display: block;
    margin-bottom: 4px;
}

.pdp-details-text p {
    margin: 0;
}

.pdp-faulty {
    color: #bc2430;
    font-weight: 600;
    border: 1px solid #bc2430;
    border-radius: 4px;
    padding: 8px;
}

/* Purchase block */
.pdp-purchase {
    background: #f5f7fb;
    border-radius: 8px;
    padding: 16px;
    margin-top: 12px;
}

.pdp-price-block {
    margin-bottom: 12px;
}

.pdp-price {
    color: #B50D1A;
    font-size: 28px;
    font-weight: 800;
    line-height: 34px;
    display: block;
}

.pdp-price small {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.pdp-price-old {
    color: #808EB2;
    font-size: 16px;
    display: block;
    margin-bottom: 2px;
}

.pdp-price-savings {
    color: #28a745;
    font-size: 13px;
    font-weight: 600;
    display: block;
    margin-top: 4px;
}

.pdp-cart-form {
    display: block;
}

.pdp-cart-row {
    margin-bottom: 12px;
}

.pdp-qty-select {
    border: 1px solid #E6ECF2;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 14px;
    color: #0D4483;
    background: #fff;
    height: 48px;
    min-width: 80px;
}

button.pdp-add-to-cart,
.pdp-purchase .pdp-add-to-cart {
    background-color: #0D4483 !important;
    color: #fff !important;
    border: 2px solid #0D4483 !important;
    border-radius: 8px;
    height: 52px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block !important;
    width: 100% !important;
    float: none !important;
    line-height: 48px;
    text-align: center;
    padding: 0 16px;
}

button.pdp-add-to-cart:hover,
.pdp-purchase .pdp-add-to-cart:hover {
    background-color: #fff !important;
    color: #0D4483 !important;
}

button.pdp-add-to-cart i,
.pdp-purchase .pdp-add-to-cart i {
    font-size: 16px;
    position: static !important;
    margin: 0 8px 0 0 !important;
    top: auto !important;
}

/* Unavailable state */
.pdp-unavailable {
    text-align: center;
    padding: 20px 0;
}

/* Description section */
.pdp-description {
    padding: 24px 0;
    border-top: 1px solid #f0f2f5;
    margin-top: 16px;
}

.pdp-description h2 {
    color: #0D4483;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pdp-description h3 {
    color: #0D4483;
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 8px;
}

.pdp-description p {
    color: #444;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 12px;
}

/* Codes sections */
.pdp-codes-section,
.pdp-compatible-section {
    padding: 16px 0;
    border-top: 1px solid #f0f2f5;
}

.pdp-codes-section h3,
.pdp-compatible-section h3 {
    color: #0D4483;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.pdp-codes-list,
.pdp-compatible-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pdp-codes-list li {
    background: #f5f7fb;
    border-radius: 4px;
    padding: 4px 10px;
}

.pdp-codes-list li a {
    color: #0D4483;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.pdp-codes-list li a:hover {
    text-decoration: underline;
}

.pdp-compatible-list {
    flex-direction: column;
    gap: 4px;
}

.pdp-compatible-list li a {
    color: #0D4483;
    font-size: 13px;
    text-decoration: none;
    display: block;
    padding: 6px 0;
    border-bottom: 1px solid #f5f7fb;
}

.pdp-compatible-list li a:hover {
    color: #bc2430;
}

/* Desktop overrides */
@media (min-width: 992px) {
    .pdp {
        margin-top: 0;
    }

    .pdp-header h1 {
        font-size: 26px;
        line-height: 34px;
    }

    .pdp-info-card {
        position: sticky;
        top: 180px;
    }

    .pdp-price {
        font-size: 32px;
        line-height: 40px;
    }

    button.pdp-add-to-cart,
    .pdp-purchase .pdp-add-to-cart {
        width: auto !important;
        min-width: 220px;
        flex: none;
    }

    .pdp-cart-form {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .pdp-cart-row {
        margin-bottom: 0;
    }

    button.pdp-add-to-cart,
    .pdp-purchase .pdp-add-to-cart {
        width: auto !important;
        display: inline-block !important;
        min-width: 220px;
    }

    .pdp-description h2 {
        font-size: 22px;
    }
}


/* LEGACY SINGLE PRODUCT PAGE (kept for backward compat) */

.m-product-mobile {
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
}

.m-product-mobile h1 {
    margin-top: 0;
}

.m-product-mobile h1,
.m-product-mobile h5 {
    width: 100%;
}

.m-product-gallery .m-product-img-slider {
    height: auto;
    overflow: hidden;
    margin: 0;
    width: 100%;
    min-height: 180px;
}

.m-product-gallery .m-product-img-slider .slick-initialized .slick-slide > div {
    height: 100%;
    margin: 0;
}

.m-product-gallery .m-product-img-slider,
.m-product-gallery .m-product-img-slider .slick-initialized .slick-slide > div,
.m-product-gallery .m-product-img-slider .m-product-img {
    border-radius: 5px;
}

.m-product-img-slider img {
    /* height: auto; */
    width: 100%;
    height: 100%;
    min-height: 180px;
}

.m-product-gallery .m-product-without-images {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    height: 265px;
    overflow: hidden;
    margin-bottom: 10px;
    background-color: #fff;
    width: calc(100% + 30px);
    margin-left: -15px;
}

.m-product-gallery .m-product-without-images > div {
    color: #bc2430;
    font-size: 13px;
    align-self: center;
    /* Optional for center alignment */
}

.m-product-gallery-container {
    position: relative;
    overflow: hidden;
}

.m-product-gallery-container .m-ribbon {
    right: -74px;
    top: 18px;
    width: 200px;
}

.m-product-gallery-container .m-ribbon.ribbon-red {
    background: #bc2430;
    color: #fff;
}

.m-product-gallery-container .m-triangle {
    color: #000;
    position: absolute;
    left: -21px;
    top: -11px;
    display: block;
    font-size: 10px;
    font-weight: 700;
    line-height: 11px;
    padding: 4px;
    text-align: center;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.m-product-gallery-container .m-triangle:after {
    display: block;
    content: '';
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 50px solid rgba(188, 36, 48, 0.85);
}

.m-product-gallery-container .m-triangle span {
    color: #fff;
    left: 0;
    position: absolute;
    text-align: center;
    top: 30px;
    width: 100%;
}

.m-prod-slider.card,
.m-prod-slider-nav.card {
    margin-bottom: 10px;
    padding-bottom: 0;
    padding-top: 0;
}

.m-prod-slider-nav.card {
    overflow: hidden;
}

#m-product-img-thumbnails button.slick-arrow {
    border-radius: 5px;
    border: 1px solid #E6ECF2;
    color: gray;
}

#m-product-img-thumbnails button.slick-arrow:hover {
    color: red;
}

.m-prod-slider-nav > .card-body {
    display: flex;
    padding-bottom: 8px;
    padding-top: 8px;
    max-width: inherit;
    flex: 0 0 auto;
}

.m-prod-slider-nav,
.m-prod-slider-nav > .card-body {
    /* display: block; */
}

.m-prod-slider-nav > .card-body div.m-slider-thumb,
.m-prod-slider-nav > .card-body div.m-slider-thumb > img {
    width: 52px;
    height: 42px;
}

.m-prod-slider-nav > .card-body div.m-slider-thumb {
    /*-webkit-box-flex: 0;
    -ms-flex: 0 0 17%;
    flex: 0 0 17%;
    max-width: 17%;
    min-height: 44px;*/
    margin: 0 5px 5px 0;
    display: inline-block;
}

.m-prod-slider-nav > .card-body #m-product-img-thumbnails div.slick-slide {
    /*max-width: 60px;*/
}

.m-prod-slider-nav > .card-body > div:last-child {
    /*margin-right: 0;*/
}

.m-prod-slider-nav > .card-body > div img {
    border-radius: 2px;
    margin: 0;
}

.m-prod-unavailable .card-title {
    color: #bc2430 !important;
    font-weight: bold;
}

.m-prod-unavailable .m-details-btn {
    font-size: 12px;
}

.ekko-lightbox .modal-dialog {
    flex: 100% !important;
    margin: 0;
}

.ekko-lightbox-nav-overlay a {
    color: #fff;
    background: rgba(13, 68, 131, 0.5);

    background: -moz-linear-gradient(90deg, rgba(0,0,0,0) 50%, rgba(13,68,131,0.5) 100%);
    background: -webkit-linear-gradient(90deg, rgba(0,0,0,0) 50%, rgba(13,68,131,0.5) 100%);
    background: linear-gradient(90deg, rgba(0,0,0,0) 50%, rgba(13,68,131,0.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#0d4483",GradientType=1);
}

.ekko-lightbox-nav-overlay a:first-child {
    background: -moz-linear-gradient(-90deg, rgba(0,0,0,0) 50%, rgba(13,68,131,0.5) 100%);
    background: -webkit-linear-gradient(-90deg, rgba(0,0,0,0) 50%, rgba(13,68,131,0.5) 100%);
    background: linear-gradient(-90deg, rgba(0,0,0,0) 50%, rgba(13,68,131,0.5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#0d4483",GradientType=1);
}

.modal-backdrop {
    background-color: #052448;
}

.modal-backdrop.show {
    opacity: 0.7;
}

.modal-open {
    /* Padding resolves */
    padding-right: 0 !important;
    overflow-y: auto;
}

.m-modal {
    top: 6%;
}
.m-modal .modal-dialog {
    max-width: 300px;
    margin: 0 auto;
}
.m-modal .modal-content {
    background-color: transparent;
    border: 0;
    border-radius: 5px;
}
.m-modal .modal-header {
    background-color: #0D4483;
    height: 62px;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}
.m-modal h2 {
    font-size: 14px;
    color: #FFF;
    line-height: 24px;
}
.m-modal h4 span {
    font-size: 14px;
    opacity: 0.5;
    color: #F5F6F7;
    text-transform: uppercase;
    position: relative;
    top: -5px;
    font-weight: 700;
    display: inline-block;
    margin-right: 3px;
}
.m-modal h4 {
    font-size: 14px;
    color: #FFF;
    opacity: 1;
}
.m-modal img {
    max-width: 160px;
}
.m-modal .modal-body {
    background-color: #fff;
    padding: 0.8rem;
}
.m-modal .modal-body .close {
    width: 26px;
    height: 26px;
    text-align: center;
    line-height: 26px;
    background-color: #E5EBF1;
    float: none;
    margin: 0 auto 3px;
    border-radius: 14px;
    display: block;
    opacity: 1;
    outline: none;
}
.m-modal .modal-body .close:hover {
    opacity: 1;
}
.m-modal .modal-body .close span {
    color: #0D4483;
}
.m-modal .modal-body .close:hover span {
    color: #bc2430;
}
.m-modal .m-product-image img {
    display: block;
    margin: 0 auto;
    box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.m-modal .m-small-details {
    width: 155px;
    margin: 8px auto 0;
}

.m-modal .m-small-details h5 {
    font-size: 10px;
    color: #0D4483;
    line-height: 14px;
    margin: 0 0 10px;
}

.m-modal .m-small-details p {
    color: #808EB2;
    font-size: 10px;
    line-height: 14px;
}

.m-modal .m-small-details span {
    position: relative;
    top: 2px;
}

.m-modal .m-small-details strong {
    font-size: 12px;
    line-height: 18px;
    color: #B50D1A;
    font-weight: 700;
    float: right;
}

.m-modal .m-small-details .m-qty {
    text-align: center;
    font-size: 17px;
    line-height: 24px;
    color: #808EB2;
}
.m-modal .modal-footer {
    background-color: #fff;
    padding: 20px 0 10px;
    border: 0;
    border-radius: 0;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    justify-content: center;
    flex-direction: column;
}

.m-modal .modal-footer button {
    display: block;
    margin: 5px 0;
    text-transform: uppercase;
    width: 182px;
    height: 40px;
    line-height: 28px;
    font-size: 13px;
    font-weight: 700;
    background-color: #0D4483;
    color: #FFF;
    padding: 0;
    border: 1px solid #0D4483;
}

.m-modal .modal-footer button:hover {
    background-color: #fff;
    color: #0D4483;
}

.m-modal .modal-footer button.btn-default {
    background-color: #F5F6F7;
    color: #808EB2;
    border-color: #F5F6F7;
}

.m-modal .modal-footer button.btn-default:hover {
    background-color: #fff;
    border-color: #0D4483;
}

.m-modal .modal-header {
    height: unset;
}

.m-modal .modal-body label,
.m-modal .modal-body small {
    color: #3d699c;
    font-size: 12px;
    width: 100%;
}

.m-modal .modal-body small {
    margin: 0;
}

.m-modal .modal-body input,
.m-modal .modal-body textarea {
    font-size: 13px;
}

.m-modal .modal-body .close,
.m-modal .modal-body .text {
    display: inline-block;
    float: right;
    margin-bottom: 10px;
}

.m-modal .modal-body .close {
    position: absolute;
    top: -14px;
    right: 12px;
}

.m-modal.m-ask-details-modal {
    top: 20%;
}

.m-modal.m-ask-details-modal .modal-dialog,
.m-modal.m-family-codes-modal .modal-dialog {
    max-width: 90%;
    width: 90%;
}

.m-ask-details-modal .modal-body .text {
    font-size: 8px;
    text-align: right;
}

.m-ask-details-modal .modal-body .alert {
    font-size: 12px;
}

.modal-body .validation-messages.hidden,
.modal-body .success-message.hidden,
.modal-body .additional-api-info.hidden {
    display: none !important;
}

.modal-body .validation-messages {
    list-style: none;
}

.m-family-codes-modal .card-header {
    padding: 0;
    border-bottom: none;
}

.m-family-codes-modal .card-header button {
    color: #0d4483;
    font-size: 12px;
    overflow: hidden;
    text-align: left;
    text-decoration: none;
    white-space: normal;
    width: 100%;
}

.m-family-codes-modal .card-header.bg-info button,
.m-family-codes-modal .card-header.bg-success button {
    color: #fff;
}

.m-family-codes-modal .card-header button span {
    display: inline-block;
    overflow-wrap: break-word;
}

.m-family-codes-modal .card-body label,
.m-family-codes-modal .card-body small,
.m-family-codes-modal .card-body span {
    color: #000;
    font-size: 12px;
}

.m-family-codes-modal .card-body label,
.m-family-codes-modal .card-body small {
    font-weight: 800;
    width: auto;
}

.m-family-codes-modal .card-body span {
    font-weight: 600;
}

.m-family-codes-modal .card-body h4 {
    color: #0d4483;
    font-weight: 600;
    font-size: 11px;
}

.card-body .dataTables_wrapper {
    border-top: 1px solid #dfdfdf;
    margin-top: 10px;
    padding-top: 20px;
}

.card-body .dataTables_wrapper .table {
    width: 100% !important;
}

.m-family-codes-modal .table,
.card-body .dataTables_wrapper .dataTables_info,
.card-body .dataTables_wrapper .dataTables_paginate {
    font-size: 12px;
}

.card-body .dataTables_wrapper .dataTables_filter,
.card-body .dataTables_wrapper .dataTables_info,
.card-body .dataTables_wrapper .dataTables_paginate {
    text-align: left;
}

.card-body .dataTables_wrapper .dataTables_paginate ul.pagination {
    justify-content: flex-start;
    font-size: 10px;
}

.modal-accordion {
    margin-top: 20px;
}

.m-product-img-disclaimer {
    font-size: 9px;
    color: #bc2430;
    padding-top: 0;
    margin-bottom: 20px;
}

.m-product-img-disclaimer p {
    margin: 0;
}

.m-description h3,
.m-description-counselors {
    font-size: 12px;
}

.m-description h3,
.m-description-counselors .m-info-title,
.m-price-value,
.m-price-value small {
    font-weight: bold;
}

.m-price-value small {
    /* font-style: italic; */
}

.m-discount-value {
    color: #0d4483;
}

.m-product-price-details .badge-primary {
    color: #fff;
    background-color: #0d4483;
}

.m-product-price-details .badge-promo {
    color: #fff;
    background-color: #bc2430;
}

.m-product-price-details {

}

.m-product-price-details .m-price-container {
    color: #dfdfdf;
    font-size: 14px;
    /* border-bottom: 1px solid #f3f3f3; */
    margin-bottom: 20px;
}

.badge-unavailable {
    color: #fff;
    background-color: #bc2430;
    padding: 8px;
    font-size: 12px;
}

.m-addtocart {
    margin-bottom: 0;
}

.m-addtocart .select2 {
    width: unset !important;
}

.m-addtocart .select2 .select2-selection {
    border: 1px solid #f3f3f3;
}

.m-addtocart .select2 .select2-selection span {
    font-size: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    line-height: 26px;
}

.m-addtocart .m-add-to-cart-btn {
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    height: 36px;
    float: none;
}

.m-product-item .m-add-to-cart {
    background-color: transparent;
    border: none;
    margin: 0;
    padding: 0;
}

.m-results.m-grid-view .m-product-item .m-add-to-cart {
    width: 36px;
    height: 36px;
}

.m-results.m-detailed-view .m-product-item .m-product-title {
    font-size: 15px;
}

.m-results.m-list-view .m-product-item .m-add-to-cart {
    right: 0;
    width: 48px;
    height: 48px;
}

.m-results.m-grid-view .m-product-item .m-product-sku {
    margin-bottom: 8px;
}

.m-results.m-detailed-view .m-product-item {
    flex: 0 0 50%;
    max-width: 50%;
}

.m-results.m-detailed-view .m-product-item-img,
.m-results.m-detailed-view .m-product-item-content {
    flex: 0 0 100%;
    max-width: 100%;
}

.m-results.m-detailed-view .m-product-item-img {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.m-results.m-detailed-view .m-product-item-content {
    padding: 4px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.m-results.m-detailed-view .m-product-item-img a img {
    width: 100%;
    height: auto;
}

.m-results.m-detailed-view .m-product-item .m-product-extra {
    display: block;
    margin: 8px 0 20px;
}

.m-results .m-product-item .m-product-extra li span {
    color: #7C7C7C;
}

.m-results .m-product-item .m-product-extra li {
    color: #000;
    font-size: 11px;
    line-height: 14px;

    font-weight: 600;
    overflow-wrap: break-word;
    word-wrap: break-word;
    text-overflow: ellipsis;
}

.m-results.m-detailed-view .m-product-item .m-add-to-cart {
    width: 42px;
    height: 42px;
    bottom: 3px;
}

.m-product-item .m-add-to-cart:hover {
    opacity: 0.8;
}

.m-add-to-cart-btn-msg {
    clear: both;
    display: block;
    float: none;
    font-size: 12px;
    margin: 10px 0 0;
}

.m-description-counselors .card {
    margin-bottom: 10px;
}

.m-prod-details .m-brand-info {
    padding: 4px 0;
}

.m-prod-details .m-brand-info:not(:last-child) {
    border-bottom: 1px solid #f3f3f3;
}

.m-prod-details .m-product-img-disclaimer.m-brand-info {
    padding-top: 7px;
}

.m-prod-details .m-description .m-info-value {
    margin: 0;
}

.m-prod-details .m-info-value.green-text {
    color: #7ac000;
    font-weight: bold;
}

.m-product-details-btn-cont {
    margin-top: 20px;
}

.m-description.m-brand-info {
    padding-bottom: 10px;
}

.m-price-container p {
    font-style: normal;
    margin: 4px 0 0 0;
    text-align: left;
}

.m-price-container .select2-container {
    margin: 0;
}

.m-price-value {
    font-size: 16px;
}
.m-price-container .m-code-info {

}

.m-product-unavailable-details {
    text-align: center;
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
}

.m-product-unavailable-details span,
.m-product-unavailable-details button {
    clear: both;
    flex: 0 0 100%;
    max-width: 52%;
}

.m-product-unavailable-details span {
    margin-bottom: 10px;
}

.m-modal .modal-header {
    height: auto;
    flex-wrap: wrap;
    border-bottom: 2px solid #B51C1A;
}

.m-modal .modal-header .modal-title,
.m-modal .modal-header .m-total {
    flex: 0 0 100%;
    clear: both;
}

.m-modal .modal-header .modal-title {
    margin: 0;
}

.m-modal .modal-header .m-total {
    margin: 10px 0 0;
}

.m-modal .modal-footer a {
    display: block;
    margin: 5px 0;
    text-transform: uppercase;
    width: 182px;
    height: 40px;
    line-height: 36px;
    font-size: 13px;
    font-weight: 700;
    background-color: #0D4483;
    color: #FFF;
    padding: 0;
    border: 1px solid #0D4483;
}

.m-modal .modal-footer a:hover {
    background-color: #fff;
    color: #0D4483;
}

.m-modal .modal-footer a.btn-default {
    background-color: #F5F6F7;
    color: #808EB2;
    border-color: #F5F6F7;
}

.m-modal .modal-footer a.btn-default:hover {
    background-color: #fff;
    border-color: #0D4483;
}

.m-counselor-wrap {
    padding-top: 60px;
    background-color: #fff;
    position: relative;
}

.m-counselor-list li a {
    font-size: 14px;
    text-align: left;
}

.m-product-gallery-container .m-ribbon,
.m-counselor-list .m-cta-text {
    border-radius: 4px;
    display: block;
    font-size: 10px;
    font-weight: 700;
    line-height: 11px;
    padding: 4px;
    position: absolute;
    text-align: center;
}

.m-product-gallery-container .m-ribbon {
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.m-counselor-list .m-cta-text {
    right: 13px;
    top: -13px;
    height: 20px;
}

.m-counselor-list .m-cta-text.b2c {
    background: #0d4483;
    color: #fff;
}

.m-counselor-list .m-cta-text.b2b {
    background: #bc2430;
    color: #fff;
}

.m-counselor-list .m-cta-text.produse-noi {
    background: #e6e6e6;
    color: #0d4483;
    right: 0px;
    top: -21px;
    font-size: 9px;
    height: 29px;
}

.m-counselor-list .m-cta-text.b2c.multi {
    right: 0px;
    top: -13px;
}

.m-counselor-list .m-cta-text.b2b.multi {
    right: 29px;
    top: -13px;
}

.m-counselor-list .m-cta-text.produse-noi.multi {
    right: 12px;
    top: -4px;
}

.m-counselor-list .m-cta-text.produse-noi.multi-large {
    right: 49px;
    top: 40px;
    font-size: 8px;
}

.m-counselor-list span.m-name {
    font-size: 11px;
    padding: 0 10px;
}

/* INVOICING */

.invoice-company,
.invoice-personal,
.invoice-type-selection {
    display: none;
}

.m-product-card {
    margin: 10px;
    width: 50px;
}

.modal-open .modal {
    z-index: 99998;
}

.modal-backdrop.show {
    z-index: 99997;
}

.modal {
    /*text-align: center;*/
}

#sales-sidebar > div > a {
    font-size: 14px;
    padding: 10px;
}

.list-group-item.active {
    background-color: #0D4483;
    border-color: #0D4483;
}

.newsletter-success-container {
    display: none;
}

.login-container {
    margin-top: 10%;
    margin-bottom: 20px;
}

.vue-selector {
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.10);
    color: #0D4483;
}

.invoice-company, .invoice-personal, .invoice-type-selection {
    display: none;
}

.login-form {
    padding: 5%;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 9px 26px 0 rgba(0, 0, 0, 0.19);
}

.login-form h3 {
    text-align: center;
    color: #333;
}

.login-container form {
    padding: 10%;
}

.btnSubmit {
    width: 70%;
    border-radius: 1rem;
    padding: 1.5%;
    border: none;
    cursor: pointer;
}

.login-form .btnSubmit {
    font-weight: 600;
    color: #fff;
    background-color: #0D4483;
}

.login-form .ForgetPwd {
    color: #0D4483;
    font-weight: 600;
    text-decoration: none;
}

.login-container > .row {
    margin-bottom: 20px;
}

body > main >  div > div > div > form > div.form-group.has-error > input {
    border: 1px solid red;
}

.no-account {
    color: #0D4483;
}

.product-card {
    margin: 10px;
    width: 200px;
}

.sales-btn {
    margin-top: 10px;
}

img.sales-cart-image {
    max-width: 76px;
}

#sales-sidebar {
    font-size: 14px;
}

#quick-order-customer-details {
    margin-top: 50px;
}

.cc_banner {
    background: #fff;
    border-top: 2px solid #bc2430;
    bottom: 0;
    left: 0;
    padding: 20px;
    position: fixed;
    width: 100%;
    z-index: 1020;
}

.cc_message {
    font-size: 13px;
    color: #0D4483;
}

.cc_message .cc_message_link {
    margin-left: 30px;
}

.cc_banner .btn i.fas {
    font-size: 12px;
    vertical-align: middle;
}

.m-car-maker-selector .m-cars-label svg,
.monochrome-filtered {
    /*filter: url(filters.svg#grayscale);*/
    /*filter: gray; !* IE5+ *!*/
    -webkit-filter: grayscale(1); /* Webkit Nightlies & Chrome Canary */
    -webkit-transition: all .1s ease-in-out;
}

.m-car-maker-selector .m-cars-label:hover svg,
.monochrome-filtered:hover {
    filter: none;
    -webkit-filter: grayscale(0);
    -webkit-transform: scale(1.05);
}

.voucher {
    position: relative;
    margin-bottom: 10px;
    width: 100%;
}

.voucher input.form-control.red-border {
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    height: 38px;
    max-height: 38px;
    padding-right: 50px;
    text-align: left;
}

.voucher button {
    position: absolute;
    right: 0;
    top: 0;
}

.m-site-header .navbar-nav .dropdown-divider {
    border-top: 1px solid #396598;
}

.account-invoice-details {
    font-size: 12px;
}

.dropdown-menu a {
    text-align: left;
}

#app .alerts-container {
    margin-top: 50px;
}

.m-counselor-list ul img {
    max-width: 70px;
}

.debug-window {
    display: block;
    font-size: 13px;
    position: fixed;
    z-index: 9999;
    top: 104px;
    left: 10px;
    opacity: 0.98;
    max-height: 480px;
    width: 376px;
}

.debug-window.minimized {
    height: 50px;
    overflow: hidden;
}

.debug-window .debug-window__title {
    font-variant: all-small-caps;
    width: 100%;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: inline-block;
}

#missing-breadcrumb-warning {
    /*left: 50px;
    right: 0;
    top: 22px;
    width: 40%;*/
}

#missing-breadcrumb-warning > span {
    font-weight: 900;
}

#extracted-debug pre {
    max-height: 400px;
    overflow: scroll;
    background: #FFF;
    margin: 14px 0 0;
    border: 1px solid #FFF;
    border-radius: .25rem;
}

/* Fix transitions by removing unnecessary animations */

nav,
#search,
.smooth-slow,
.m-search-bar .m-search-btn,
.m-search-bar button,
.m-search-bar button i,
.m-product-item button,
.m-product-item a {
    transition-property: background, color, opacity;
}

.order-details .goback {
    flex-grow: 2;
    text-align: center;
    display: block;
    margin-bottom: 20px;
}

.btn.gray-btn {
    background: #F5F6F7;
    color: #808EB2;
    background: #F5F6F7;
    color: #808EB2;
}

.blog-card .description h1 {
    font-size: 22px;
    font-weight: 600;
}
.blog-card .description p.summary {
    font-size: 15px;
}

/* Determine device orientation using the CSS media query method */

.portrait,
.landscape {
    background-color: transparent;
    bottom: -10px;
    color: transparent;
    /*display: block;*/
    height: 1px;
    position: fixed;
    right: -10px;
    width: 1px;
}

@media (orientation: portrait) {
    .portrait {
        display: block;
    }

    .landscape {
        display: none;
    }
}

@media (orientation: landscape) {
    .portrait {
        display: none;
    }

    .landscape {
        display: block;
    }
}

/* ─── MOBILE SEARCH RESULTS IMPROVEMENTS ─── */

/* Pagination: bigger touch targets on mobile */
.m-pagination .page-link {
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    margin: 0 2px;
    color: #0D4483;
    border-color: #E6ECF2;
}

.m-pagination .page-item.active .page-link {
    background-color: #0D4483;
    border-color: #0D4483;
    color: #fff;
}

.m-pagination .page-item.disabled .page-link {
    color: #C4D2E2;
}

/* Filter sidebar overlay: smoother mobile experience */
.m-results-sidebar-head {
    padding: 8px 12px;
}


/* Missing results card */
.m-results-content.missing-results .card {
    border: none;
    text-align: center;
    padding: 40px 20px;
}

.m-results-content.missing-results .card-title {
    font-size: 20px;
    color: #0D4483;
}

/* Sort controls: inline on mobile */
.m-sort-list {
    display: flex;
    align-items: center;
}

.m-sort-list li.btn-group > button {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
}

/* ─── CAR SELECTOR REDESIGN ─── */

/* Override: remove position:fixed on mobile */
.m-car-selector {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    top: auto !important;
    z-index: auto !important;
}

/* Section wrapper */
.cs-section {
    padding: 16px 0 24px;
    background: #fff;
}

.cs-section-title {
    color: #0D4483;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px;
}

.cs-section-title::before,
.cs-section-title::after {
    display: none !important;
}

/* Breadcrumb navigation (compact, SEO-friendly <nav><ol>) */
.cs-breadcrumb {
    padding: 6px 0;
    margin-bottom: 4px;
    border-bottom: 1px solid #f0f2f5;
}

.cs-breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 18px;
}

.cs-breadcrumb ol li {
    display: flex;
    align-items: center;
    color: #808EB2;
}

.cs-breadcrumb ol li:not(:last-child)::after {
    content: '\203A';
    margin: 0 5px;
    color: #C4D2E2;
    font-size: 13px;
}

.cs-breadcrumb ol li a {
    color: #0D4483;
    text-decoration: none;
    font-weight: 500;
}

.cs-breadcrumb ol li a:hover {
    text-decoration: underline;
}

.cs-breadcrumb ol li span.active {
    color: #262626;
    font-weight: 600;
}

/* Popular brands row */
.cs-popular-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin-bottom: 28px;
}

.cs-popular-card {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid #E6ECF2;
    border-radius: 12px;
    padding: 12px;
    text-decoration: none;
    transition: all 0.15s ease;
    overflow: hidden;
}

.cs-popular-card:hover {
    border-color: #0D4483;
    box-shadow: 0 2px 12px rgba(13, 68, 131, 0.12);
    transform: translateY(-1px);
}

.cs-popular-card svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 48px;
    max-height: 48px;
}

.cs-popular-card.cs-popular-all {
    aspect-ratio: auto;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 700;
    color: #808EB2;
    text-align: center;
    line-height: 1.3;
}

.cs-popular-card.cs-popular-all:hover {
    color: #0D4483;
}

/* Alphabetical directory */
.cs-alpha-directory {
    column-count: 2;
    column-gap: 32px;
    padding: 24px 0 0;
    border-top: 1px solid #E6ECF2;
}

.cs-dir-group {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 12px;
}

.cs-dir-letter {
    font-size: 28px;
    font-weight: 900;
    color: #0D4483;
    line-height: 1.2;
    margin-bottom: 2px;
}

.cs-dir-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    max-height: none !important;
}

.cs-dir-list li {
    display: block !important;
    flex: none !important;
    max-width: none !important;
    margin-bottom: 0 !important;
}

.cs-dir-list li a {
    color: #333;
    font-size: 14px;
    line-height: 1.1;
    text-decoration: none;
    display: block !important;
    padding: 4px 0;
    transition: color 0.1s;
    text-align: left !important;
    width: auto !important;
    flex-wrap: nowrap !important;
}

.cs-dir-list li a:hover {
    color: #0D4483;
}

/* Letter jump navigation */
.cs-letter-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E6ECF2;
}

.cs-letter-jump a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #f5f7fb;
    color: #0D4483;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s;
}

.cs-letter-jump a:hover {
    background: #0D4483;
    color: #fff;
}

/* Manufacturers page: wider directory */
.cs-alpha-directory-wide {
    column-count: 2;
}

/* Logo next to name in directory */
.cs-dir-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
    flex-shrink: 0;
}

.cs-dir-logo svg {
    width: 20px !important;
    height: 20px !important;
}

/* Manufacturers page list items with logo */
.cs-alpha-directory-wide .cs-dir-list li a {
    display: flex;
    align-items: center;
    padding: 6px 0;
    font-size: 15px;
}

.cs-manufacturers-page {
    padding-top: 20px;
}

@media (min-width: 768px) {
    .cs-alpha-directory-wide {
        column-count: 3;
    }
}

@media (min-width: 992px) {
    .cs-alpha-directory-wide {
        column-count: 4;
        column-gap: 40px;
    }

    .cs-alpha-directory-wide .cs-dir-list li a {
        font-size: 14px;
    }
}

@media (min-width: 1200px) {
    .cs-alpha-directory-wide {
        column-count: 5;
    }
}

/* ─── E-COMMERCE HEADER ─── */

.ec-header {
    background: #0D4483;
    position: relative;
    z-index: 1030;
}

.ec-header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 6px 8px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 12px;
}

.ec-logo { grid-column: 1; grid-row: 1; }
.ec-actions { grid-column: 2; grid-row: 1; }
.ec-search { grid-column: 1 / -1; grid-row: 2; }

.ec-logo {
    display: flex;
    align-items: center;
}

.ec-logo img {
    height: 36px;
    width: auto;
}

.ec-search {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 40px;
}

.ec-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: 14px;
    color: #333;
    height: 100%;
    min-width: 0;
    background: transparent;
}

.ec-search input#search,
.ec-search input#search:hover,
.ec-search input#search:focus,
.ec-search input#search:active {
    border: none;
    box-shadow: none;
    background: transparent;
}

.ec-search input::placeholder {
    color: #9CA3AF;
}

.ec-search button {
    flex-shrink: 0;
    width: 44px;
    height: 40px;
    background: #B50D1A;
    border: none;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.ec-search button:hover {
    background: #9a0b16;
}

.ec-actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

.ec-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 16px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    min-width: 36px;
    transition: background 0.15s;
}

.ec-action-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
}

.ec-action-btn span {
    font-size: 9px;
    font-weight: 600;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ec-cart-badge {
    position: absolute;
    top: 0;
    right: 2px;
    background: #B50D1A;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    line-height: 1;
}

.ec-hide-mobile {
    display: none;
}

/* Menu wrapper (relative anchor for dropdown) */
.ec-menu-wrap {
    position: relative;
}

.ec-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 99999;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    min-width: 220px;
    padding: 8px 0;
    margin-top: 6px;
}

.ec-menu-wrap.open .ec-menu {
    display: block;
}

.ec-menu a {
    display: block;
    padding: 10px 20px;
    color: #0D4483;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.1s;
}

.ec-menu a:hover {
    background: #f0f4f8;
    text-decoration: none;
    color: #0D4483;
}

/* Hide old header/navbar */
.m-site-header,
.navbar {
    display: none !important;
}

@media (min-width: 992px) {
    .ec-header {
        position: sticky;
        top: 0;
    }

    .ec-header-inner {
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto;
        gap: 16px;
        padding: 12px 20px;
    }

    .ec-logo { grid-column: 1; grid-row: 1; }
    .ec-search { grid-column: 2; grid-row: 1; }
    .ec-actions { grid-column: 3; grid-row: 1; }

    .ec-logo img {
        height: 44px;
    }

    .ec-search {
        height: 44px;
        max-width: 600px;
    }

    .ec-search input {
        font-size: 15px;
        padding: 0 16px;
    }

    .ec-search button {
        width: 50px;
        height: 44px;
    }

    .ec-hide-mobile {
        display: flex;
    }

    .ec-action-btn {
        padding: 6px 10px;
    }

    /* Desktop: hover to open menu */
    .ec-menu-wrap:hover .ec-menu {
        display: block;
    }
}


/* Override old fixed header — make it static, remove all fixed-offset margins/padding */
.m-site-header {
    position: static !important;
    height: auto !important;
    z-index: 100;
}

html.mtr-layout body {
    padding-top: 0 !important;
}

.m-results-wrapper,
.m-product-top,
.m-wrapper {
    margin-top: 0 !important;
}

/* Hide old searchbar elements */
.m-search-bar,
.m-search-form-list,
.m-hidden-reset {
    display: none !important;
}

/* Hide old navbar elements that are replaced */
.navbar-collapse,
.navbar-toggler,
.m-header-utils {
    display: none !important;
}

/* Page layout */
.cs-page {
    padding: 12px 0 24px;
    background: #fff;
}

.cs-page-header {
    text-align: center;
    padding: 8px 0 16px;
}

.cs-page-header h1 {
    color: #0D4483;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
}

.cs-page-header h1::before,
.cs-page-header h1::after {
    display: none !important;
}

.cs-page-subtitle {
    color: #808EB2;
    font-size: 13px;
    margin: 0;
}

/* Years grid */
.cs-years-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 700px;
    margin: 0 auto;
}

.cs-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background: #fff;
    border: 2px solid #E6ECF2;
    border-radius: 8px;
    color: #0D4483;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.15s ease;
}

.cs-option-btn:hover {
    border-color: #0D4483;
    background: #0D4483;
    color: #fff;
    text-decoration: none;
}

/* Choice cards (fuel, engine, hp) */
.cs-choice-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.cs-choice-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: #fff;
    border: 2px solid #E6ECF2;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.15s ease;
    min-height: 90px;
}

.cs-choice-card:hover {
    border-color: #0D4483;
    background: #f5f7fb;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 68, 131, 0.1);
}

.cs-choice-icon {
    font-size: 24px;
    color: #0D4483;
    margin-bottom: 8px;
    opacity: 0.6;
}

.cs-choice-card:hover .cs-choice-icon {
    opacity: 1;
}

.cs-choice-label {
    color: #0D4483;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

/* Filter box */
.cs-filter-box {
    margin-bottom: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cs-filter-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E6ECF2;
    border-radius: 8px;
    font-size: 15px;
    color: #0D4483;
    outline: none;
    transition: border-color 0.2s;
}

.cs-filter-input:focus {
    border-color: #0D4483;
}

.cs-filter-input::placeholder {
    color: #B0BDD0;
}

/* Model cards */
.cs-model-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.cs-model-card {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #f0f2f5;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.12s ease;
    gap: 8px;
}

.cs-model-card:hover {
    border-color: #0D4483;
    background: #f5f7fb;
    text-decoration: none;
}

.cs-model-card-name {
    color: #0D4483;
    font-size: 14px;
    font-weight: 600;
    flex: 1;
    line-height: 1.3;
}

.cs-model-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.cs-model-card-code {
    color: #A0AEC0;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 1px;
}

.cs-model-card-years {
    color: #808EB2;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
}

.cs-model-card-arrow {
    color: #C4D2E2;
    font-size: 12px;
    flex-shrink: 0;
}

.cs-model-card:hover .cs-model-card-arrow {
    color: #0D4483;
}

.cs-no-results {
    text-align: center;
    color: #808EB2;
    font-size: 14px;
    padding: 24px 0;
}

/* Keyboard navigation highlight */
.cs-kb-active,
.cs-model-card.cs-kb-active,
.cs-choice-card.cs-kb-active,
.cs-option-btn.cs-kb-active {
    border-color: #0D4483 !important;
    background: #D6E4F5 !important;
    box-shadow: 0 0 0 3px rgba(13, 68, 131, 0.3) !important;
}

.cs-model-card.cs-kb-active .cs-model-card-name,
.cs-model-card.cs-kb-active .cs-model-card-arrow {
    color: #0D4483 !important;
}

@media (min-width: 768px) {
    .cs-model-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (min-width: 992px) {
    .cs-model-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .cs-filter-box {
        max-width: 600px;
    }
}

/* Meta text (year ranges, badges) */
.cs-meta {
    color: #808EB2;
    font-size: 11px;
    font-weight: 400;
    margin-left: 6px;
}

.cs-badge {
    background: #f0f2f5;
    padding: 1px 8px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 11px;
}

/* Model list */
.cs-model-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.cs-model-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #f0f2f5;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.cs-model-list li a:hover {
    border-color: #0D4483;
    background: #f5f7fb;
}

.cs-model-name {
    color: #0D4483;
    font-size: 14px;
    font-weight: 600;
}

.cs-model-years {
    color: #808EB2;
    font-size: 12px;
}

/* Product list (with result count) */
.cs-product-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.cs-product-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #f0f2f5;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.cs-product-list li a:hover {
    border-color: #0D4483;
    background: #f5f7fb;
}

.cs-product-name {
    color: #0D4483;
    font-size: 14px;
    font-weight: 600;
}

.cs-product-count {
    background: #f5f7fb;
    color: #808EB2;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    min-width: 28px;
    text-align: center;
}

/* ABC filter */
.cs-abc-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 16px;
    list-style: none;
    padding: 0;
}

.cs-abc-filter button {
    background: #f5f7fb;
    border: 1px solid #E6ECF2;
    border-radius: 4px;
    color: #0D4483;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    cursor: pointer;
    min-width: 28px;
    text-align: center;
}

.cs-abc-filter button.active-filter {
    background: #0D4483;
    color: #fff;
    border-color: #0D4483;
}

.cs-abc-filter button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Alphabetical groups */
.cs-alpha-groups {
    margin-top: 8px;
}

.cs-alpha-group {
    margin-bottom: 16px;
}

.cs-alpha-letter {
    background: #0D4483;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

/* Vue search engine restyle */
.cs-search-widget {
    background: #fff;
    border: 1px solid #E6ECF2;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.cs-search-widget-title {
    color: #0D4483;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0D4483;
}

.cs-search-widget .cs-search-row {
    margin-bottom: 8px;
}

.cs-search-widget .cs-search-btn {
    display: block;
    width: 100%;
    background: #0D4483;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    margin-top: 12px;
}

.cs-search-widget .cs-search-btn:hover {
    background: #0a3668;
}

/* Home elements fix - remove fixed position offset */
.m-home-elements {
    top: 0 !important;
    position: relative !important;
}

/* Desktop overrides */
@media (min-width: 768px) {
    .ec-year-switcher {
        padding: 14px;
    }

    .ec-year-switcher-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 10px;
    }

    .ec-year-switcher-current {
        min-height: auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: 13px;
    }

    .ec-year-switcher-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }

    .ec-year-switcher-grid::after {
        display: none;
    }

    .ec-year-switcher-grid .cs-option-btn {
        width: 100%;
    }

    .cs-popular-grid {
        grid-template-columns: repeat(8, 1fr);
    }

    .cs-alpha-directory {
        column-count: 3;
    }

    .cs-years-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .cs-choice-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .ec-year-switcher-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .cs-section-title {
        font-size: 24px;
    }

    .cs-popular-grid {
        grid-template-columns: repeat(11, 1fr);
        gap: 12px;
    }

    .cs-popular-card {
        padding: 14px;
    }

    .cs-popular-card svg {
        max-width: 56px;
        max-height: 56px;
    }

    .cs-alpha-directory {
        column-count: 5;
        column-gap: 40px;
    }


    .cs-page-header h1 {
        font-size: 22px;
    }


    .cs-years-grid {
        grid-template-columns: repeat(8, 1fr);
    }

    .cs-choice-cards {
        grid-template-columns: repeat(4, 1fr);
        max-width: 800px;
    }

    .cs-breadcrumb ol {
        font-size: 13px;
    }
}


/* offer two */
.m-bg-rabla-right {
    background: url("../img/offer2_car.jpg");
    background-repeat: no-repeat;
    background-position: 100%;
    background-size: cover;
    height: 210px;
}

.m-offerdesc-contact {
    font-size: 12px;
}

.asigurari-img{
    width: 140px;
    height: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: 10px;
}

.btn-reprezentant{
    font-size: 9px;
    line-height: 13px;
    padding: 8px 16px;
    border-radius: 5px;
    letter-spacing: 0.5px;
    margin-left: 8px
}
.reprezentant-image{
    display: none;
}

.red-headline {
    line-height: normal !important;
    margin: 10px 0 10px 0;
}

.text-xs { font-size: .75rem; }
.text-sm { font-size: .875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

.cart-red-details {
    border: 1px solid #B50D1A;
    border-radius: 5px;
    color: black !important;
    font-weight: bold !important;
}
