@font-face {
    font-family: 'MySegoeUI';
    src: url('../fonts/segoeui.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #e60000;
    --secondary-color: #333333;
    --background-dark: #1a1a1a;
    --background-light: #f5f5f5;
    --background-post: #ffffff;
    --border-color: #e0e0e0;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --header-height: 150px;
    --header-overlap: 110px;
    --hero-offset: 280px;
}

.dealership-hero {
    margin-top: calc(var(--header-overlap, 110px) * -1);
}

.dealership-hero .at-hero-slider-wrapper,
.dealership-hero .swiper-slide {
    height: 550px !important;
}

.dealership-hero .dl-hero-single {
    height: 550px !important;
    padding: 60px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.dealership-hero .dl-hero-single>.container {
    width: 100%;
}

.garage-form .form-check-input[type="checkbox"],
.garage-form .form-check-input[type="radio"] {
    width: 3.5rem;
    height: 1.8rem;
    cursor: pointer;
    border-width: 0;
    background-color: #dfe3ea;
}

.garage-form .form-check-input:checked {
    background-color: #A81700;
}

.garage-form .form-check-input:focus {
    box-shadow: 0 0 0 0.15rem rgba(220, 71, 39, 0.25);
}

@media (max-width: 1199.98px) {
    .dealership-hero {
        margin-top: 0;
    }

    .dealership-hero .at-hero-slider-wrapper,
    .dealership-hero .swiper-slide {
        height: 420px !important;
    }

    .dealership-hero .dl-hero-single {
        height: 420px !important;
        padding: 28px 0 56px;
        display: block;
        overflow: hidden;
    }
}

@media (max-width: 991.98px) {
    .dealership-hero {
        margin-top: 0;
    }

    .dealership-hero .at-hero-slider-wrapper,
    .dealership-hero .swiper-slide {
        height: 380px !important;
    }

    .dealership-hero .dl-hero-single {
        height: 380px !important;
        padding: 24px 0 48px;
        display: block;
        overflow: hidden;
    }

    .dealership-hero .swiper-pagination {
        display: none !important;
    }
}

.at_header_nav>div.container {
    margin-bottom: -1px;
}

/* Keep desktop header dropdowns above hero/filter content stacks. */
.header-style-one {
    z-index: 1200;
}

.header-style-one.header-sticky.sticky-on {
    z-index: 1210;
}

.header-style-one .desktop-user-menu.dropdown-menu {
    z-index: 1220;
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    overscroll-behavior: contain;
    width: min(92vw, 360px);
    min-width: 280px;
}

/* Keep header stack below Bootstrap modal/backdrop while modal is open. */
body.modal-open .header-style-one,
body.modal-open .header-style-one.header-sticky.sticky-on,
body.modal-open .header-style-one .desktop-user-menu.dropdown-menu {
    z-index: 1040;
}

@media (min-width: 992px) {
    .header-style-one .at_topbar .eq-header-right {
        flex-wrap: nowrap;
        gap: 12px;
    }

    .header-style-one .at_topbar .eq-header-right > * {
        flex: 0 0 auto;
        min-width: 0;
    }

    .header-style-one .at_topbar .lang-switcher .dropdown > button,
    .header-style-one .at_topbar .eq-header-right .register-btn {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
    }

    .header-style-one .at_topbar .eq-header-right .register-btn {
        max-width: min(34vw, 280px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .at_header_right {
        gap: 16px;
        flex-wrap: nowrap;
    }

    .at_header_right .at_nav_menu {
        flex: 1 1 auto;
        min-width: 0;
    }

    .at_header_right .at_nav_menu > ul {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
    }

    .at_header_right .at_nav_menu > ul > li {
        display: flex;
    }

    .at_header_right .at_nav_menu > ul > li > a {
        white-space: nowrap;
    }

    .at_header_right .at_nav_menu > ul > li.has-submenu > a {
        padding-right: 24px;
    }

    .at_header_right .at_nav_menu > ul > li.has-submenu::after {
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
    }

    .at_header_right .listing-btn {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        flex: 0 0 auto;
    }
}

@media (max-width: 1399.98px) {
    .header-style-one .at_topbar .eq-header-right {
        gap: 10px;
    }

    .header-style-one .at_topbar .eq-header-right .me-4 {
        margin-right: 0.9rem !important;
    }

    .header-style-one .at_topbar .eq-header-right .me-3 {
        margin-right: 0.75rem !important;
    }

    .at_header_right .at_nav_menu > ul > li > a {
        padding: 22px 10px;
        font-size: 15px;
    }

    .at_header_right .at_nav_menu > ul > li.has-submenu > a {
        padding-right: 22px;
    }

    .at_header_right .listing-btn {
        margin-left: 12px !important;
    }

    .at_header_right .header-toggle-btn {
        margin-left: 12px !important;
    }
}

@media (max-width: 1199.98px) {
    .header-style-one .at_topbar .eq-header-right {
        gap: 8px;
    }

    .header-style-one .at_topbar .eq-header-right .register-btn {
        max-width: min(37vw, 230px);
    }

    .header-style-one .at_topbar .eq-header-right .me-4 {
        margin-right: 0.75rem !important;
    }

    .at_header_right .at_nav_menu > ul {
        gap: 6px;
    }

    .at_header_right .at_nav_menu > ul > li > a {
        padding: 20px 8px;
        font-size: 14px;
    }

    .at_header_right .at_nav_menu > ul > li.has-submenu > a {
        padding-right: 20px;
    }

    .at_header_right .at_nav_menu > ul > li.has-submenu::after {
        right: 6px;
    }
}

.d2-page-hero {
    position: relative;
    overflow: hidden;
    background-image: url("/assets/img/shapes/texture-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.d2-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17, 16, 16, 0.9) 0%, rgba(17, 16, 16, 0.76) 100%);
    pointer-events: none;
    z-index: 1;
}

.d2-page-hero > .container {
    position: relative;
    z-index: 2;
}

.d2-page-hero h1,
.d2-page-hero p {
    color: #fff !important;
    text-shadow:
        -1px -1px 2px rgba(0, 0, 0, 0.95),
        1px -1px 2px rgba(0, 0, 0, 0.95),
        -1px 1px 2px rgba(0, 0, 0, 0.95),
        1px 1px 2px rgba(0, 0, 0, 0.95),
        0 0 8px rgba(0, 0, 0, 1);
}

.d2-page-hero h2,
.d2-page-hero h3,
.d2-page-hero .text-white-50 {
    color: #fff !important;
}

.d2-page-hero .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.btn-black {
    background-color: #111111;
    border-color: #111111;
    color: #ffffff;
}

.btn-black:hover,
.btn-black:focus {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

.parts-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    white-space: nowrap;
}

.parts-status--active {
    color: #0f5132;
    background: #d1e7dd;
    border-color: #badbcc;
}

.parts-status--hidden {
    color: #664d03;
    background: #fff3cd;
    border-color: #ffecb5;
}

.parts-status--blocked {
    color: #ffffff;
    background: #A81700;
    border-color: #A81700;
}

.parts-status--default {
    color: #1f2937;
    background: #e5e7eb;
    border-color: #d1d5db;
}

.parts-offer-actions-head {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
}

.parts-offer-actions-label {
    display: inline-flex;
    justify-content: flex-end;
}

.parts-offer-actions-head-grid {
    display: grid;
    grid-template-columns: 190px 100px;
    gap: 8px;
    justify-content: start;
    align-items: center;
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
}

.parts-offer-actions-label {
    justify-content: flex-start;
    text-align: left;
}

.parts-offer-actions-wrap {
    width: 298px;
    margin-left: auto;
}

.parts-offer-actions-form {
    display: grid;
    grid-template-columns: 190px 100px;
    gap: 8px;
    justify-content: end;
}

.parts-offer-actions-form .form-control,
.parts-offer-actions-form .form-select {
    width: 100%;
}

.parts-offer-actions-form .form-control {
    text-align: right;
}

.parts-offer-actions-buttons {
    margin-top: 4.5rem;
}

.parts-offer-actions-buttons .btn {
    min-width: 0;
}

.parts-offers-table {
    table-layout: fixed;
    min-width: 1260px;
}

.parts-offers-table__col-title {
    width: 310px;
}

.parts-offers-table__col-code {
    width: 120px;
}

.parts-offers-table__col-status {
    width: 130px;
}

.parts-offers-table__col-updated {
    width: 150px;
}

.parts-offers-table__col-images {
    width: 230px;
}

.parts-offers-table__col-actions {
    width: 320px;
}

.parts-offer-title {
    max-width: 100%;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
}

.parts-offer-images {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
}

.parts-offer-image {
    width: 110px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    cursor: grab;
    user-select: none;
}

.parts-offer-image.is-dragging {
    opacity: 0.6;
    cursor: grabbing;
}

.parts-offer-image__thumb {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

.parts-offer-image__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.parts-offer-image__handle {
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 12px;
}

.parts-offer-image__actions {
    display: flex;
    gap: 6px;
}

.parts-offer-image__btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.parts-offer-image__btn:hover {
    background: #f3f4f6;
}

.parts-offer-image__btn--delete {
    color: #b91c1c;
    border-color: rgba(185, 28, 28, 0.35);
}

.parts-offer-image__btn--delete:hover {
    background: rgba(185, 28, 28, 0.08);
}

.parts-offer-images__hint {
    margin-top: 8px;
}

@media (max-width: 767.98px) {
    .parts-offers-table {
        table-layout: auto;
    }

    .parts-offers-table td,
    .parts-offers-table th {
        vertical-align: top;
        white-space: normal;
    }
}

.parts-file-input {
    line-height: 1.35;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.parts-file-input::file-selector-button {
    line-height: 1.25;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-top: -0.5rem;
    margin-bottom: -0.5rem;
}

.parts-file-input::-webkit-file-upload-button {
    line-height: 1.25;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    margin-top: -0.5rem;
    margin-bottom: -0.5rem;
}

.parts-file-input.form-control-sm {
    line-height: 1.25;
    padding-top: 0.425rem;
    padding-bottom: 0.425rem;
}

.parts-file-input.form-control-sm::file-selector-button {
    line-height: 1.2;
    padding-top: 0.425rem;
    padding-bottom: 0.425rem;
    margin-top: -0.425rem;
    margin-bottom: -0.425rem;
}

.parts-file-input.form-control-sm::-webkit-file-upload-button {
    line-height: 1.2;
    padding-top: 0.425rem;
    padding-bottom: 0.425rem;
    margin-top: -0.425rem;
    margin-bottom: -0.425rem;
}

.parts-offer-upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.parts-offer-upload-preview__item {
    width: 56px;
    height: 56px;
    position: relative;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    background: #ffffff;
}

.parts-offer-upload-preview__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.parts-offer-upload-preview__remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 999px;
    background: #b91c1c;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
}

.parts-offer-upload-preview__remove:hover {
    background: #991b1b;
}

.d2-pill-tabs .nav-link {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #A81700;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.d2-pill-tabs .nav-link:hover {
    border-color: #A81700;
    color: #A81700;
}

.d2-pill-tabs .nav-link.active {
    background: #A81700;
    border-color: #A81700;
    color: #fff;
}

.d2-pill-tabs .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.d2-pill-tabs .nav-link.active .badge {
    border-color: transparent;
}

.at_offcanvus_menu .offcanvus-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.at_offcanvus_menu .offcanvus-header .logo-wrapper {
    margin-bottom: 0;
    line-height: 0;
}

.at_offcanvus_menu .offcanvus-header .at-offcanvus-close {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.at_offcanvus_menu {
    padding: 28px 24px 32px;
    z-index: 1230;
}

.at_offcanvus_menu .offcanvus-header .logo-wrapper img {
    height: 48px;
}

.mobile-menu {
    padding-top: 24px;
    z-index: 1230;
}

.mobile-menu .logo-wrapper {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    margin-bottom: 16px;
}

.mobile-menu .logo-wrapper img {
    height: 36px;
}

.mobile-menu .close-menu {
    top: 22px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (max-width: 576px) {
    .d2-pill-tabs .nav-link {
        white-space: normal;
    }
}

.file_upload_box .file_upload input[type=file] {
    position: absolute;
    left: 5000px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    display: inline-block;
    width: 220px;
    opacity: 0;
}
.file_upload .file_upload_field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* form field reset */
.checkout-form .input-field {
    margin-bottom: 20px;
}

.checkout-form .input-field-100 {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
}

.checkout-form .input-field-100>label {
    width: 100%;
    text-align: left;
}

.hide {
    display: none !important;
}

.btn {
    display: flex;
    min-width: 110px;
    justify-content: center;
    align-items: center;
    border: none;
    height: 40px;
}

option:hover {
    background-color: #FC0012 !important;
}

.cropper-container {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#cropperModal .modal-dialog {
    max-width: 620px;
}

#cropperModal #crop-modal-body {
    padding: 14px;
}

#cropperModal .cropper-square-stage {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 8px;
    overflow: visible;
    background: #ffffff;
}

#cropperModal #cropping-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
}

#cropperModal .cropper-container {
    width: 100% !important;
    height: 100% !important;
}

#cropperModal .cropper-bg {
    background: #ffffff !important;
}

#cropperModal .cropper-view-box,
#cropperModal .cropper-face {
    border-radius: 0;
}

#cropperModal .modal-footer {
    justify-content: flex-end;
}

@media (max-width: 576px) {
    #cropperModal .modal-dialog {
        max-width: 96vw;
    }

    #cropperModal #crop-modal-body {
        padding: 12px;
    }

    #cropperModal .cropper-square-stage {
        max-width: 280px;
    }
}

.subtitle {
    color: #FFFFFF;
    font-size: 20px;
    padding-left: 0;
}

.page-title>span,
.subtitle>span {
    display: inline-block;
    padding-bottom: 1rem;
    border-bottom: 2px solid #FC0012;
}

.padding-none {
    padding: 0 !important;
}

.margin-none {
    margin: 0 !important;
}

.block-description {
    font-weight: bold;
    font-size: 14px;
    line-height: 24px;
    max-width: 768px;
}

.cross {
    display: inline-block;
    width: 16px;
    height: 20px;
    position: absolute;
    /*transform: rotate(45deg);*/
    right: 20px;
    top: 2px;
}

.cross:before,
.cross:after {
    content: '';
    position: absolute;
    background-color: #FC0012;
}

/*.cross:before {*/
/*    width: 2px;*/
/*    height: 100%;*/
/*    left: 46%;*/
/*    top: 0;*/
/*}*/

.cross:after {
    height: 2px;
    width: 100%;
    top: 46%;
    left: 0;
}

#toast-container>div {
    box-shadow: none !important;
}

.btn-show-more {
    display: inline-block;
    width: auto;
    line-height: 12px;
}

.pagination {
    justify-content: center;
}

.page-item {
    margin: 0 5px;
}

.page-item.disabled,
span.page-link {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #7A7A7A;
    font-weight: 600;
    border-radius: 3px;
    background: rgba(194, 194, 194, 0.5);
}

.back-page {
    display: inline-block;
    width: 44px;
    height: 44px;
    background-image: url("../img/arrow-back.png");
    background-repeat: no-repeat;
    background-position: 0 0;
}

.back-page:hover {
    background-position: -49px 0;
}

.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

/* Slider Arrow Style */
#imageSliderModal .prev,
#imageSliderModal .next,
.d2-slider-modal-content .prev,
.d2-slider-modal-content .next {
    position: fixed;
    top: calc(50% + 29px);
    transform: translateY(-50%);
    font-size: 60px;
    /* Увеличение размера кнопок */
    color: #A81700;
    cursor: pointer;
    z-index: 10000;
    transition: 0.6s ease;
    user-select: none;
}

#imageSliderModal .prev,
.d2-slider-modal-content .prev {
    left: 20px;
}

#imageSliderModal .next,
.d2-slider-modal-content .next {
    right: 20px;
}

.pointer {
    cursor: pointer;
}

.upload-image-btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url("../img/upload-image.svg");
    background-repeat: no-repeat;
    cursor: pointer;
}

.desktop-user-menu.dropdown-menu.show {
    white-space: normal;
}

.desktop-user-menu.dropdown-menu li a {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    column-gap: 10px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding: 10px 14px;
}

.desktop-user-menu.dropdown-menu li a i {
    width: 18px;
    text-align: center;
    line-height: 1.2;
    margin-top: 2px;
}

.desktop-user-menu.dropdown-menu .dropdown-item-text {
    white-space: normal;
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
    padding: 10px 14px 6px;
}

.eq-header-right .register-cta {
    color: #A81700;
}

.eq-header-right .register-cta:hover,
.eq-header-right .register-cta:focus {
    color: #A81700;
}

.desktop-user-menu.register-menu {
    padding: 10px 0;
    min-width: 210px;
}

.desktop-user-menu.register-menu li + li {
    margin-top: 6px;
}

.desktop-user-menu.register-menu li a {
    padding: 10px 16px;
    gap: 8px;
}

.check-mark {
    color: #A81700;
    font-size: 24px;
}

.form-select {
    padding-top: 0;
    padding-bottom: 0;
}

.checkout-form .input-field .inline-field {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.checkout-form .input-field .inline-field__primary {
    flex: 0 0 75%;
    min-width: 0;
    width: 75%;
}

.checkout-form .input-field .inline-field__addon {
    flex: 0 0 25%;
    min-width: 100px;
}

.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.08);
}

.invalid-feedback {
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
}

.d-switcher .dropdown-menu li+li {
    position: relative;
}

.d-switcher .dropdown-menu li+li::before {
    content: "";
    position: absolute;
    left: 0;
    top: -5px;
    width: 100%;
    height: 1px;
    background: rgba(11, 22, 63, 0.07);
}

.d-switcher .dropdown-menu li a {
    padding: 0 10px;
    color: #111010;
    font-weight: 500;
    font-size: 15px;
    -webkit-transition: 0.3s ease-in;
    transition: 0.3s ease-in;
}

.d-switcher .dropdown-menu li a:hover {
    color: #FC0012;
}

.notification-switcher .fa-bell {
    font-size: 18px;
}

.lang-switcher .flag {
    width: 20px;
}

.back-button {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.dealership-hero .at-hero-banner img {
    max-width: 600px;
    max-height: 275px;
}

@media(max-width: 767px) {
    .dealership-hero .at-hero-banner img {
        max-width: 406px
    }
}

/* Car details */
.car-details-section {
    padding-top: 32px;
}

.car-details-layout {
    display: grid;
    gap: 24px;
}

@media (min-width: 1200px) {
    .car-details-layout {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
        align-items: start;
    }
}

.car-details-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 16px 40px rgba(11, 22, 63, 0.06);
}

.car-details-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.car-details-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(252, 0, 18, 0.12);
    color: #A81700;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.car-details-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #111010;
}

.car-details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #7A7A7A;
    font-size: 14px;
}

.car-details-meta span {
    display: inline-flex;
    align-items: center;
}

.car-details-heading .btn {
    white-space: nowrap;
    flex-shrink: 0;
}

.car-details-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.car-details-gallery {
    position: relative;
}

.car-details-gallery .swiper-slide {
    border-radius: 18px;
    overflow: hidden;
}

.car-details-gallery-main {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.car-details-gallery-thumb {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.iv_thumb_control_slider .swiper-slide-thumb-active .car-details-gallery-thumb {
    border-color: var(--primary-color);
}

.car-details-gallery--empty {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 260px;
    border-radius: 18px;
    background: #f4f6f8;
}

.car-details-gallery-placeholder {
    text-align: center;
    color: #7A7A7A;
}

.car-details-gallery-placeholder i {
    font-size: 32px;
    margin-bottom: 8px;
}

.car-details-subtitle {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.car-details-key-grid {
    display: grid;
    gap: 20px;
}

@media (min-width: 576px) {
    .car-details-key-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .car-details-key-grid {
        gap: 24px;
    }
}


.car-details-key-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: var(--bs-border-radius);
    background: #f7f8fb;
}

.car-details-key-icon {
    width: 42px;
    height: 42px;
    border-radius: var(--bs-border-radius);
    background: rgba(252, 0, 18, 0.12);
    color: #A81700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.car-details-key-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.car-details-key-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7A7A7A;
}

.car-details-key-value {
    font-size: 16px;
    font-weight: 600;
    color: #111010;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.car-details-key-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.car-details-overview {
    color: #4A4A4A;
    line-height: 1.7;
    white-space: pre-line;
}

.car-details-spec-grid {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .car-details-spec-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.car-details-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.car-details-spec-icon {
    margin-right: 8px;
    color: var(--primary-color);
}

.car-details-spec-text {
    display: inline-flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.4;
}

.car-details-spec-label {
    font-weight: 600;
    color: #111010;
}

.car-details-spec-value {
    color: #4A4A4A;
}

.car-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.car-details-owner {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.car-details-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.car-details-owner-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.car-details-owner-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(252, 0, 18, 0.08);
    color: #A81700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.car-details-owner-name {
    font-weight: 600;
    color: #111010;
}

.car-details-owner-registered {
    font-size: 13px;
    color: #7A7A7A;
}

.car-details-other-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.car-details-other-card {
    display: flex;
    gap: 16px;
    text-decoration: none;
    padding: 16px;
    border-radius: 14px;
    background: #f7f8fb;
    color: inherit;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.car-details-other-card:hover {
    box-shadow: 0 12px 24px rgba(11, 22, 63, 0.08);
    transform: translateY(-2px);
}

.car-details-other-thumb {
    width: 88px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e7eaef;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.car-details-other-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-details-other-placeholder {
    color: #7A7A7A;
    font-size: 24px;
}

.car-details-other-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.car-details-other-title {
    font-weight: 600;
    color: #111010;
}

.car-details-other-meta {
    font-size: 13px;
    color: #7A7A7A;
}

@media (max-width: 991.98px) {
    .car-details-card {
        padding: 24px;
    }

    .car-details-gallery-main {
        height: 320px;
    }

    .car-details-gallery-thumb {
        height: 80px;
    }
}

@media (max-width: 767.98px) {
    .car-details-heading {
        align-items: stretch !important;
    }

    .car-details-heading .post-title {
        flex: 1 0 100%;
    }

    .car-details-actions {
        width: 100%;
        justify-content: center;
        gap: 10px;
        padding-inline: 4px;
    }

    .car-details-actions .btn {
        width: 100%;
        max-width: 360px;
        justify-content: center;
    }
}

/* ================================================
   FOOTER IMPROVEMENTS
   ================================================ */

/* Footer wrapper improvements */
.footer-section .footer-wrapper {
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    padding-top: 60px;
    padding-bottom: 20px;
}

/* Footer logo styling */
.footer-logo-img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* Footer social improvements */
.footer-social-wrapper {
    max-width: 100%;
}

.footer-social-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.footer-social-title::after {
    content: "";
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, rgba(168, 23, 0, 0.8) 0%, rgba(168, 23, 0, 0) 100%);
    position: absolute;
    left: calc(100% + 12px);
    bottom: 4px;
}

.footer-social-list {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social-list li a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #A81700 0%, #e60000 100%);
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.footer-social-list li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(168, 23, 0, 0.3);
}

.footer-social-list li a:hover::before {
    width: 100%;
    height: 100%;
}

/* Footer bottom section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    margin-top: 30px;
}

.footer-bottom .copyright-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Footer links improvements */
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    justify-content: flex-end;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding: 4px 0;
}

.footer-links a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #A81700 0%, #e60000 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-links a:hover::after {
    width: 100%;
}

/* Mobile responsive improvements */
@media (max-width: 767.98px) {
    .footer-section .footer-wrapper {
        padding-top: 40px;
    }

    .footer-bottom {
        padding-top: 24px;
        margin-top: 24px;
    }

    .footer-social-title::after {
        display: none;
    }

    .footer-social-list {
        gap: 16px;
    }

    .footer-social-list li a {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .footer-links {
        justify-content: flex-start;
        gap: 6px 16px;
    }

    .footer-links a {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .footer-section .footer-wrapper {
        padding-top: 32px;
    }

    .footer-social-wrapper {
        margin-top: 24px;
    }
}

.about-business {
    background: linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
}

.about-business .about-steps {
    display: grid;
    gap: 14px;
}

.about-business .about-step {
    font-size: 16px;
    color: #0b163f;
}

.about-business .step-icon {
    width: 38px;
    height: 38px;
    background: #fff2f3;
    color: #a81700;
    font-size: 18px;
    flex-shrink: 0;
}

.about-business .about-icon-box {
    border: 1px solid rgba(11, 22, 63, 0.06);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

@media (max-width: 991.98px) {
    .about-business .about-left {
        text-align: center;
    }

    .about-business .about-steps {
        justify-items: center;
    }

    .about-business .about-step {
        max-width: 420px;
        text-align: left;
    }
}

@media (max-width: 576px) {
    .about-business .about-icon-box .icon-wrapper {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        flex: 0 0 48px;
    }
}
/* Custom overrides for home footer business banners */
.footer-banner.banner-primary {
    background-color: #A81700;
}

.footer-banner.business-banner-link {
    display: block;
}

.footer-banner.business-banner-link:hover {
    color: inherit;
}

.footer-banner .footer-banner-right {
    display: flex;
    justify-content: flex-end;
}

.footer-banner .footer-banner-media {
    width: 100%;
    height: 180px;
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.footer-banner .footer-banner-media--empty {
    background-color: #f2f4f7;
}

.footer-banner .footer-banner-media--empty i {
    font-size: 56px;
    opacity: 0.2;
}

/* Breadcrumb adjustments for mobile */
@media (max-width: 767.98px) {
    .header-style-one {
        border-bottom: none;
    }

    .breadcrumb-section {
        padding: 30px 0;
    }

    .breadcrumb-section.mt--75,
    .breadcrumb-section.mt--50 {
        margin-top: 0;
    }

    .breadcrumb-section::before {
        background: linear-gradient(180deg, rgba(17, 16, 16, 0.85) 0%, rgba(17, 16, 16, 0.55) 100%);
    }

    .breadcrumb-section .breadcrumb-content-wrapper p {
        color: #ffffff !important;
    }

    .breadcrumb-section .tire-print {
        bottom: 10px;
        opacity: 0.25;
    }
}

.at-header-social {
    gap: 12px;
}

.at-header-social .social-list {
    margin-left: 0;
    padding-left: 0;
}

.at-header-social .social-list li a {
    font-size: 18px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-social-list li a {
    width: 46px;
    height: 46px;
    font-size: 20px;
}

.mobile-menu .social-contact a {
    font-size: 18px;
}

.at_canvus_social .social-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
}

.at-header-social .social-list li a i,
.footer-social-list li a i,
.mobile-menu .social-contact a i,
.at_canvus_social .social-btn i {
    line-height: 1;
}

.main-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-wrapper .footer-section {
    margin-top: auto;
}

/* Impersonation Banner */
.impersonate-banner {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #1a1a1a;
    padding: 10px 20px;
}

.impersonate-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.impersonate-banner-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
}

.impersonate-banner-text {
    font-size: 14px;
    font-weight: 500;
}

.impersonate-banner-text strong {
    font-weight: 700;
}

.impersonate-banner-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.impersonate-banner-btn:hover {
    background: #333;
    color: #fff;
}

.impersonate-banner-btn i {
    font-size: 14px;
}

@media (max-width: 576px) {
    .impersonate-banner {
        padding: 8px 12px;
    }

    .impersonate-banner-content {
        gap: 10px;
    }

    .impersonate-banner-icon {
        display: none;
    }

    .impersonate-banner-text {
        font-size: 12px;
        text-align: center;
    }

    .impersonate-banner-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 767.98px) {
    /* Avoid horizontal overflow from decorative sidebar line on mobile cards */
    .sidebar-widget .widget-top {
        gap: 0;
    }

    .sidebar-widget .widget-top .spacer {
        display: none;
    }
}

.partner-media-index__actions {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.partner-media-index__action-btn {
    white-space: nowrap;
}

.header-style-one .desktop-user-menu.dropdown-menu.d2-create-entry-dropdown__menu {
    width: min(90vw, 252px);
    min-width: 208px;
    padding: 8px 0;
    overflow-x: hidden;
}

.d2-create-entry-dropdown__menu li a,
.d2-create-entry-dropdown__menu li a i {
    color: #111111;
}

.d2-create-entry-dropdown__menu li {
    padding: 0;
}

.d2-create-entry-dropdown__menu li a {
    border-radius: 0;
    border: 0;
    transition: transform 0.18s ease, color 0.18s ease;
}

.d2-create-entry-dropdown__menu li a:hover,
.d2-create-entry-dropdown__menu li a:focus,
.d2-create-entry-dropdown__menu li a:hover i,
.d2-create-entry-dropdown__menu li a:focus i {
    color: #111111;
}

.d2-create-entry-dropdown__menu li a:hover,
.d2-create-entry-dropdown__menu li a:focus,
.d2-create-entry-dropdown__menu li a:active {
    transform: translateX(4px);
}

.at_header_right .listing-btn .d2-create-entry-btn__icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    padding: 0;
    border-radius: 9999px;
}

.at_header_right .listing-btn .d2-create-entry-btn__plus {
    width: 14px;
    height: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 575.98px) {
    .d2-create-entry-dropdown__menu {
        min-width: 220px;
    }
}

@media (max-width: 767.98px) {
    .partner-media-index__head {
        align-items: stretch !important;
    }

    .partner-media-index__actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        justify-content: stretch;
    }

    .partner-media-index__action-btn {
        width: 100%;
        white-space: normal;
        line-height: 1.25;
        text-align: center;
        justify-content: center;
        min-height: 42px;
        padding: 10px 12px;
    }
}
