/*
Theme Name: Mein Kfz-Berater
Text Domain: mein-kfz-berater 
*/

/* Inter 300 (cyrillic-ext) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./assets/fonts/inter-cyrillic-ext-300.woff2') format('woff2');
}

/* Inter 300 (cyrillic) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./assets/fonts/inter-cyrillic-300.woff2') format('woff2');
}

/* Inter 300 (latin-ext) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./assets/fonts/inter-latin-ext-300.woff2') format('woff2');
}

/* Inter 300 (latin) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./assets/fonts/inter-latin-300.woff2') format('woff2');
}

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

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

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

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

/* Inter 600 (cyrillic-ext) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/inter-cyrillic-ext-600.woff2') format('woff2');
}

/* Inter 600 (cyrillic) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/inter-cyrillic-600.woff2') format('woff2');
}

/* Inter 600 (latin-ext) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/inter-latin-ext-600.woff2') format('woff2');
}

/* Inter 600 (latin) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/inter-latin-600.woff2') format('woff2');
}

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

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

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

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

/* Montserrat 500 (cyrillic-ext) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/montserrat-cyrillic-ext-500.woff2') format('woff2');
}

/* Montserrat 500 (cyrillic) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/montserrat-cyrillic-500.woff2') format('woff2');
}

/* Montserrat 500 (latin-ext) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/montserrat-latin-ext-500.woff2') format('woff2');
}

/* Montserrat 500 (latin) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./assets/fonts/montserrat-latin-500.woff2') format('woff2');
}

/* Montserrat 600 (cyrillic-ext) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/montserrat-cyrillic-ext-600.woff2') format('woff2');
}

/* Montserrat 600 (cyrillic) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/montserrat-cyrillic-600.woff2') format('woff2');
}

/* Montserrat 600 (latin-ext) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/montserrat-latin-ext-600.woff2') format('woff2');
}

/* Montserrat 600 (latin) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./assets/fonts/montserrat-latin-600.woff2') format('woff2');
}

/* Montserrat 700 (cyrillic-ext) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/montserrat-cyrillic-ext-700.woff2') format('woff2');
}

/* Montserrat 700 (cyrillic) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/montserrat-cyrillic-700.woff2') format('woff2');
}

/* Montserrat 700 (latin-ext) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/montserrat-latin-ext-700.woff2') format('woff2');
}

/* Montserrat 700 (latin) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./assets/fonts/montserrat-latin-700.woff2') format('woff2');
}

/* Montserrat 800 (cyrillic-ext) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('./assets/fonts/montserrat-cyrillic-ext-800.woff2') format('woff2');
}

/* Montserrat 800 (cyrillic) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('./assets/fonts/montserrat-cyrillic-800.woff2') format('woff2');
}

/* Montserrat 800 (latin-ext) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('./assets/fonts/montserrat-latin-ext-800.woff2') format('woff2');
}

/* Montserrat 800 (latin) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('./assets/fonts/montserrat-latin-800.woff2') format('woff2');
}

*,
*::after,
*::before {
    word-wrap: break-word;
    hyphens: auto;
}

:root {
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --color-main-orange: #F27B1C;
    --color-second-orange: #FF9900;
    --color-footer-black: #222222;
    --color-background-black: #333333;
    --color-title-bg-grey: #B4B4B4;
    --color-highlight-text-grey: #D9D9D9;
    --color-lightgrey: #EFEFEF;
}


/*----------------general rules------------------*/

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
    font-family: var(--font-body);
    line-height: 1.7rem;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-main-orange);
    font-weight: 700;
    font-size: 26px;
}

.wrapper {
    min-height: 100%;
}

main {
    margin-top: 50px;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

a {
    text-decoration: none;
}

.btn,
.contact-form .callback-btn {
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(150, 150, 150, 1) 0%, rgba(10, 10, 10, 1) 100%);
    border: none;
    padding: 10px 50px;
    display: block;
    margin: 0 auto;
    letter-spacing: 0.05rem;
    box-shadow: 0px 3px 7px 3px rgba(0, 0, 0, 0.25);
    margin-top: 30px;
    font-size: 18px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.3s ease;
}

.btn:hover,
.contact-form .callback-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 22px rgba(0, 0, 0, 0.4);
}

.btn:active,
.contact-form .callback-btn:active {
    transform: translateY(-1px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

.btn a {
    color: #fff;
    transition: color 0.3s ease;
}

.btn a:hover {
    color: var(--color-second-orange);
}

section {
    margin-top: 130px;
}

.section-title {
    font-family: var(--font-heading);
    margin-bottom: 50px;
}


p>a,
li>a {
    color: #666;
}

p>a:hover,
li>a:hover {
    color: var(--color-title-bg-grey);
    transition: all .3s;
}

/*------------------------------main Page------------------------------*/

/*--------------header--------------------*/

.header {
    background-color: var(--color-main-orange);
    min-height: 80px;
    z-index: 99;
    position: fixed;
    top: 0;
}

body.admin-bar .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px;
    }
}

.logo {
    width: 280px;
}

.offcanvas {
    background-color: rgba(0, 0, 0, .7);
}

.navbar-toggler:focus {
    border-radius: 2px;
}

.nav-item a {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.nav-item a:hover {
    color: var(--color-footer-black);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: #000;
    font-weight: 700;
}

.dropdown-toggle {
    position: relative;
}

/*-----------------------main-------------------------*/

/* Keyframe Animations */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*------------first-screen---------*/
.first-screen {
    background-image: url("assets/img/picture-2600a.jpg");
    height: 700px;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.55);
    background-blend-mode: darken;
}

.offer h1 {
    font-family: var(--font-heading);
    color: white;
    text-transform: uppercase;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.offer h2 {
    font-family: var(--font-heading);
    color: var(--color-main-orange);
    font-size: 26px;
    font-weight: 600;
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
    opacity: 0;
}

.offer h2:nth-of-type(2) {
    animation-delay: 0.45s;
}

/*-------------presentation------------*/
.presentation {
    text-align: justify;
    font-size: 18px;
}


/*------------advantages--------------*/
.advantages {
    background-color: var(--color-second-orange);
}

.advantages .col-lg-3 {
    transition: transform 0.35s ease;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 8px;
}

.advantages .col-lg-3:hover {
    transform: translateY(-5px);
}

.advantages img {
    width: 70px;
    display: block;
    margin: 10px auto;
    transition: transform 0.35s ease;
}

.advantages .col-lg-3:hover img {
    transform: scale(1.12);
}

.advantages p {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.3s ease;
}

.advantages .text-black p:hover {
    color: #333333;
}

/*---------------steps--------------*/

.steps {
    overflow-x: hidden;
}

html.js-ready .steps .section-title,
html.js-ready .steps .row:nth-of-type(1),
html.js-ready .steps .row:nth-of-type(2) {
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Initial Off-screen Positions */
html.js-ready .steps .section-title {
    transform: translateY(-70px);
}

html.js-ready .steps .row:nth-of-type(1) {
    transform: translateX(-100vw);
}

html.js-ready .steps .row:nth-of-type(2) {
    transform: translateX(100vw);
}

/* Staggered Entrance when .steps becomes visible */
.steps.is-visible .section-title,
.steps.is-visible .row:nth-of-type(1),
.steps.is-visible .row:nth-of-type(2) {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

.steps.is-visible .section-title {
    transition-delay: 0s;
}

.steps.is-visible .row:nth-of-type(1) {
    transition-delay: 0.15s;
}

.steps.is-visible .row:nth-of-type(2) {
    transition-delay: 0.3s;
}

.steps .row {
    max-width: 1000px;
}

.steps img {
    width: 80%;
    display: block;
    background: transparent;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.steps img:hover {
    transform: scale(1.03);
    background: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.step-image1 img {
    float: right;
}

.steps h3 {
    color: var(--color-background-black);
    font-size: 20px;
}

.step-content1 ol,
.step-content2 ol {
    counter-reset: item;
}

.step-content1 ol li,
.step-content2 ol li {
    display: block;
    padding: 3px 0;
}

.step-content1 ol li:before,
.step-content2 ol li:before {
    content: counter(item) ". ";
    counter-increment: item;
    font-weight: bold;
}

/*------------main-page-products-----------*/

.main-page-products .container-fluid {
    background-color: var(--color-background-black);
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
}

.product-card-image {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.product-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.06);
}

.product-card table {
    width: 100%;
}

.product-card td {
    font-size: 16px;
}

.product-card-table td {
    line-height: 1.3rem;
}

.product-card table tr>td:last-child {
    text-align: right;
}

.product-card h5 a {
    color: var(--color-background-black);
    font-size: 18px;
    font-weight: 600;
    height: 45px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card h5 a:hover {
    color: #666666;
    transition: all .3s;
}

.product-card-price {
    font-weight: 700;
    font-size: 18px;
}

.product-card-price p:first-child {
    color: var(--color-main-orange);
}

.owl-carousel-catalog-link {
    text-align: center;
    margin-top: -15px;
}

.owl-carousel-catalog-link a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.owl-carousel-catalog-link a:hover {
    color: var(--color-main-orange);
}


/*------------main-page-map---------------*/

.address span {
    font-weight: 600;
}

.address p {
    margin-bottom: 0;
}

.address a {
    color: black;
}

.address a:hover {
    color: #666666;
    transition: all .3s;
}


/*---------------footer-------------------*/
.footer {
    background-color: var(--color-footer-black);
}

.footer img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.footer p,
.footer p a {
    color: white;
    font-size: 12px;
    line-height: 1.2rem;
    padding: 0;
    margin: 0;
    font-weight: 300;
}

.footer-content-right p {
    text-align: right;
}


/*------------------------------------------About Page-----------------------------*/

.about-images a>img {
    margin-top: 15px;
}

.about-content {
    margin-bottom: 80px;
    font-size: 18px;
    text-align: justify;
}

.callback-btn {
    color: white;
    margin-top: 5px;
    padding: 10px 40px;
    margin-bottom: 50px;
    border-radius: 10px !important;
}

.callback-btn:hover {
    color: var(--color-title-bg-grey);
    transition: all .3s;
}


/*---------------------------Services Page----------------------*/

.services {
    margin-bottom: 100px;

}

.services p,
.services li {
    text-align: justify;
    font-size: 18px;
}

.services h3 {
    color: var(--color-second-orange);
    font-size: 22px;
    font-weight: 600;
}

.grey {
    color: var(--color-background-black);
}

.find-car img {
    height: 100%;
    object-fit: contain;
}

.sell-car img {
    height: 100%;
    object-fit: contain;
}

.services ol {
    counter-reset: item;
    list-style-position: outside;
}

.services ol li {
    display: block;
    margin-bottom: 10px;
}

.services ol li:before {
    content: counter(item) ". ";
    counter-increment: item;
    font-weight: bold;
}

.services-btn {
    margin-top: 0;
}


/*----------------------------catalog Page------------------------*/

.btn-collapse-filters {
    background-color: var(--color-highlight-text-grey);
    border: 1px solid var(--color-title-bg-grey);
    margin: 0px auto;
}

.btn-collapse-filters:hover {
    box-shadow: 0px 0px 7px 3px rgba(0, 0, 0, .25);
}

.brand {
    background-color: var(--color-highlight-text-grey);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px;
    font-size: 18px;
    margin-bottom: 10px;
    height: 50px;
}

.brand:hover {
    box-shadow: 0px 0px 7px 3px rgba(0, 0, 0, .25);
}

.brand p {
    margin: auto 0;
}

.brands-check .active {
    background-color: var(--color-background-black);
    color: #fff;
}

.brand img {
    width: 40px;
    height: 35px;
    object-fit: contain;
}

.brand input[type="radio"] {
    display: none;
}

.category-link {
    position: relative;
}

.category-link::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 45px;
    top: -10px;
    left: -5px;
    display: block;
    background: rgba(255, 0, 0, 0.06);
}


.filter-form label {
    margin-bottom: 10px;
    margin-top: 20px;
}

.product-preview {
    background-color: var(--color-lightgrey);
    padding: 15px 25px 15px 10px;
    width: 98%;
}

.product-preview:hover {
    box-shadow: 0px 0px 7px 3px rgba(0, 0, 0, .25);
}

.product-preview-images {
    height: 180px;
    overflow: hidden;
}

.product-preview-images a {
    display: block;
    width: 100%;
    height: 100%;
}

.big-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.second-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.third-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-preview a {
    color: var(--color-background-black);
}

.product-preview a:hover {
    color: #666666;
    transition: all .3s;
}


.order-nummer {
    line-height: 1rem;
    color: var(--color-background-black);
}

.product-preview-details-table {
    width: 48%;
}

.price-name {
    font-size: 20px;
    color: var(--color-main-orange);
}

.price-amount {
    font-size: 20px;
}

.product-preview table tr>td:last-child {
    text-align: right;
}

.product-preview-price-mobile {
    display: none;
}


/*---------------------Product Page----------------------*/

.back-link {
    display: block;
    margin-top: 120px;
    color: var(--color-background-black);
}

.back-link img {
    width: 30px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.back-link:hover {
    color: #666666;
    transition: all .3s;
}

/*product-main-images*/

#gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#gallery a {
    display: block;

}

#gallery a:hover {
    box-shadow: 0px 0px 7px 3px rgba(0, 0, 0, 0.25);
}

.main-product-pic {
    width: 100%;

}

.main-product-pic img {
    height: 100%;
    width: 100%;
}

.product-thumb {
    width: 25%;
    margin-top: 5px;

}

a.product-thumb:not(:last-child) {
    padding-right: 5px;
}

.product-thumb img {
    height: 100%;
}

/*product-content*/

.product-content h1 {
    color: var(--color-background-black);
}

#pdf-btn {
    border: none;
    font-size: 14px;
}

.product-content table {
    width: 100%;
}

.product-content table tr:nth-child(odd) {
    background-color: var(--color-lightgrey);
}

.product-content table tr>td:first-child {
    font-weight: bold;
}

.product-content table tr>td:last-child {
    width: 50%;

}

.product-price div {
    width: 50%;
    line-height: 1rem;
}

/*product-furnishing-section*/

.product-furnishing,
.product-description {
    background-color: var(--color-lightgrey);
    min-height: 300px;
}

.furnishing-content {
    flex-grow: 2;
}

.special-furnishing {
    margin-top: 32px;
}

/*product-details-images*/

.details-images h3,
.product-defects h3 {
    color: var(--color-background-black);

}

#gallery2 a {
    display: block;
}

#gallery2 img {
    height: 90%;
    width: 100%;
}

/*product defects*/
.product-defects {
    line-height: 1.3rem;
}

.product-defects-header p {
    text-align: right;
    padding-top: 8px;
}

.wheels h4,
.car-shell h4,
.car-cabin h4 {
    background-color: var(--color-title-bg-grey);
}

.wheels img {
    max-height: 120px;
}

.car-shell a {
    display: block;
    width: 100%;
}

.car-shell img,
.car-cabin img {
    height: 120px;
    width: 100%;
}


/*product-description*/

.product-description-line {
    background-color: var(--color-main-orange);
    height: 1px;
    width: 100%;
}



/*---------------------------Contact Page------------------*/

.contact-map-mobile {
    display: none;
}


/*----------------------Privacy Policy Page-------------------*/

.privacy-main {
    margin-top: 150px;
}

.privacy {
    margin-top: 30px;
    font-weight: 400;
}


.privacy h3 {
    color: var(--color-main-orange);
    font-size: 18px;
    font-weight: 600;
}



/*-----------------------------404 Page--------------------*/


.content-404 h1 {
    color: var(--color-main-orange);
    font-weight: 800;
    font-size: 46px;
    margin-top: 60px;
}

.content-404 p {
    font-size: 18px;
}


/*-------------Modal----------*/

.modal-defect {
    background-color: #000;
    height: 100%;
}

.modal-defect .modal-content {
    border: none;
    background-color: #000;
}

.modal-defect .modal-header {
    background-color: rgba(0, 0, 0, 0.7);
    border-bottom: none;
    z-index: 3;
}

.modal-defect .modal-body {
    padding: 0;
    z-index: 2;
    margin-top: -60px;
}

.modal-defect .modal-header .btn-close,
.modal-defect .modal-header .btn-close img {
    display: block;
    width: 35px;
    height: 35px;
}

.modal-defect .modal-body img {
    max-height: 100%;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.modal-content {
    border-radius: 0;
}

.callback-modal {
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
}

.modal-body img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: auto;
}

.callback-modal input,
.callback-modal select,
.callback-modal textarea,
.contact-form input,
.contact-form textarea,
.filter-form select {
    border-radius: 0;
    background-color: var(--color-lightgrey);
    border-color: var(--color-highlight-text-grey);
}

.callback-modal label {
    margin-right: 10px;
}

.form-control::placeholder {
    color: var(--color-title-bg-grey);
}

.firstname label,
.surname div label,
.phone label,
.mail label,
.date-picker label {
    padding-top: 5px;
}

.callback-modal .surname span,
.callback-message span {
    width: 70%;
}


.callback-modal .phone span,
.callback-modal .mail span {
    width: 75%;
    min-width: 80px;

}

.contact .row>div:last-of-type {
    padding-left: 40px;
}

.contact-form p,
.callback-form p {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.contact-form .form-label {
    width: 30%;
}

.contact-form .wpcf7-form-control-wrap {
    width: 70%;
}


.contact-form input,
.contact-form textarea {
    width: 100%;
}

.contact-form .form-check-input {
    width: 16px;
}

.privacy {
    padding-left: 0;
}

.privacy>p:first-child {
    margin-bottom: 0;
}

.privacy>p:last-child {
    padding-left: 25px;
}

.privacy .callback-remark {
    display: block;
}

.contact-form .wpcf7-form-control-wrap:last-child {
    width: 100%;
}

.contact-form .callback-btn {
    width: auto;
    margin-top: 10px;
    margin-bottom: 20px;
}

.date-picker input {
    border: none;
    padding: 10px;
    border-radius: 0;
    min-width: 150px;
}

.date-picker input:focus-visible {
    border: 1px solid #666 !important;
}




textarea {
    resize: none;

}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: rgba(210, 210, 210, 1);
    outline: 0;
    box-shadow: none;
}

.callback-time-from select:first-of-type,
.callback-time-to select:first-of-type {
    margin-right: 5px;
}

.callback-time-from span,
.callback-time-to span {
    width: 50%;
}



.firstname label::after,
.surname label::after,
.surname div label::after,
.phone label::after,
.mail label::after,
.callback-message label::after,
.callback-remark::after {
    content: "*";
    color: var(--color-main-orange);
    width: 3px;
}

.privacy .form-check-input:checked {
    background-color: var(--color-background-black);
    border-color: var(--color-background-black);
}




/*-------button to top-------*/
#top img {
    width: 45px;
}

#top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--color-background-black);
    opacity: 0.5;
    border-radius: 50%;
    padding: 5px;
    border: none;
    transition: all .5s;
    z-index: 99;
}

#top:hover {
    opacity: 1;
}


/*--------------------------------media queries---------------------*/

@media (max-width: 1200px) {
    .logo {
        width: 250px;
    }


}

@media (max-width: 992px) {
    .nav-item a {
        font-size: 16px;
    }

    .about-content {
        margin-bottom: 30px;
    }

    .product-preview h5 {
        margin-top: 15px;
    }

    .product-price div:first-child {
        display: none;
    }

    .product-price div:last-child {
        width: 100%;
    }

    .price-amount {
        width: 50%;
    }
}

@media (min-width: 768px) {
    .btn-collapse-filters {
        display: none;
    }

    #collapseFilters {
        display: block;
    }
}

@media (max-width: 768px) {
    .steps img {
        width: 90%;
        margin-bottom: 20px;

    }

    .step-image1 img {
        float: left;
    }

    .step-image2 img {
        float: right;
    }

    .about-images {
        display: flex;
        align-items: center;
    }

    .about-images>img {
        width: 55%;
        margin-right: 5px;
    }

    .about-images a>img {
        margin-top: 0;
        margin-left: 5px;
    }

    .about-content {
        margin-top: 20px;
    }


    .contact .row>div:last-of-type {
        padding-left: 0;
    }

    .contact-map-desktop {
        display: none;
    }

    .contact-map-mobile {
        display: block;
    }

    .product-content h1 {
        margin-top: 20px;
    }

    .product-defects-header p {
        text-align: left;
    }
}


@media (max-width: 576px) {
    .offer {
        width: 90%;
    }

    .offer h1 {
        font-size: 30px;
    }

    .offer h2 {
        font-size: 20px;
        margin-bottom: 15px;
        font-weight: 500;
    }

    .advantages p {
        font-size: 18px;
    }

    .footer-logo {
        display: none;
    }

    .footer-content-right {
        margin-top: 20px;
    }

    .footer p,
    .footer p a {
        font-size: 10px;
    }

    .footer-content-right p,
    .footer-content-left p {
        text-align: center;
    }

    .about-images {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-images>img {
        width: 50%;
        margin: 10px;
    }

    .find-car img,
    .sell-car img {
        height: 250px;
        display: block;
        margin: 10px auto;
    }

    .brand {
        font-size: 15px;
        height: 100px;
    }

    .product-details {
        flex-direction: column;
    }

    .product-preview-details-table {
        width: 100%;
    }

    .price-name-desktop,
    .price-amount-desktop {
        display: none;
    }

    .product-preview-price-mobile {
        display: flex;
        justify-content: space-between;
    }

    .price-amount-mobile {
        text-align: right;
    }

    .car-shell a {
        display: block;
    }

    .car-shell a>img {

        height: 200px;
    }

    .car-shell p {
        margin-top: 10px;
    }
}

body.printview header,
body.printview footer,
body.printview .details-images {
    display: none !important;
}

/* Accessibility: Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Swiper Slider Custom Pagination */
.swiper-pagination-bullet {
    background: #666666;
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: #B4B4B4 !important;
    opacity: 1 !important;
}